* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f7f4ee;
  background:
    radial-gradient(circle at top left, rgba(20, 190, 160, 0.18), transparent 34rem),
    linear-gradient(135deg, #0d1114 0%, #15100d 48%, #0b0b0c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
nav a,
.button-primary,
.button-secondary {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand[aria-current="page"] {
  color: #4de0c2;
  text-shadow: 0 0 24px rgba(77, 224, 194, 0.26);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #ddd6c9;
  font-size: 0.92rem;
  font-weight: 800;
}

nav a[aria-current="page"] {
  color: #4de0c2;
  box-shadow: inset 0 -2px 0 #4de0c2;
}

.primary-nav {
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: calc(100% - 160px);
}

.nav-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.54);
}

.nav-group--primary {
  border-color: rgba(77, 224, 194, 0.28);
  background: rgba(77, 224, 194, 0.075);
}

.nav-group--active {
  border-color: rgba(244, 201, 93, 0.48);
  box-shadow: inset 0 0 0 1px rgba(244, 201, 93, 0.08), 0 16px 38px rgba(0, 0, 0, 0.2);
}

.nav-group--active > span {
  color: #f7f4ee;
}

.nav-group span {
  color: #f4c95d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-group a {
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
}

.nav-group a[aria-current="page"] {
  border-color: rgba(77, 224, 194, 0.42);
  background: rgba(77, 224, 194, 0.12);
  box-shadow: inset 0 -3px 0 #4de0c2, 0 0 0 1px rgba(77, 224, 194, 0.08);
}

.nav-group a:hover,
.nav-group a:focus-visible {
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

#learning-order,
#quick-links,
#training-path {
  scroll-margin-top: 142px;
}

.hero {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d9d2c6;
  font-size: 1.15rem;
  line-height: 1.7;
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 860px;
  margin-top: 22px;
}

.method-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  color: #ece6db;
  background: rgba(77, 224, 194, 0.07);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-features {
  display: grid;
  max-width: 860px;
  margin: 24px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.hero-features li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(77, 224, 194, 0.28);
  border-radius: 8px;
  color: #ece6db;
  background: rgba(255, 255, 255, 0.055);
  line-height: 1.55;
}

.hero-features li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #4de0c2;
  box-shadow: 0 0 18px rgba(77, 224, 194, 0.58);
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions--path {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  max-width: 860px;
}

.hero-actions .button-primary,
.hero-actions .button-secondary {
  flex: 0 1 auto;
  text-align: center;
}

.hero-actions .button-primary {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-actions .button-secondary {
  min-height: 50px;
}

.hero-actions--path .button-primary,
.hero-actions--path .button-secondary {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  min-height: 74px;
  padding: 12px 14px;
  text-align: left;
}

.hero-actions--path span {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-actions--path strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.hero-actions--path .button-secondary {
  background: rgba(255, 255, 255, 0.055);
}

.hero-actions--path .button-secondary:hover,
.hero-actions--path .button-secondary:focus-visible {
  border-color: rgba(77, 224, 194, 0.62);
  background: rgba(77, 224, 194, 0.1);
  outline: 0;
}

.home-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 420px;
  margin-top: 26px;
}

.home-hero-actions .button-primary,
.home-hero-actions .button-secondary {
  width: 100%;
  min-height: 54px;
  padding-inline: 22px;
}

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

.home-pathway a {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(8, 10, 11, 0.58);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-pathway a:hover,
.home-pathway a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  background: rgba(77, 224, 194, 0.09);
  outline: 0;
  transform: translateY(-2px);
}

.home-pathway span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(77, 224, 194, 0.4);
  border-radius: 8px;
  color: #07100f;
  background: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
}

.home-pathway strong {
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.18;
}

.home-pathway small {
  color: #d4cdc1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-trust-note {
  margin: 16px 0 0;
  color: #e5ddd2;
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero-actions--path {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .home-pathway {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.28);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.08);
}

.course-next-step span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-next-step strong {
  color: #f7f4ee;
  line-height: 1.35;
}

.course-next-step a {
  grid-column: 2;
  justify-self: start;
  color: #f4c95d;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.course-next-step p {
  grid-column: 1 / -1;
  margin: 0;
  color: #ece6db;
  line-height: 1.55;
}

.course-next-step a:hover,
.course-next-step a:focus-visible {
  color: #4de0c2;
  outline: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.07), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.052);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: #f4c95d;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip span {
  color: #d9d2c6;
  font-size: 0.92rem;
  line-height: 1.45;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.button-small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.button-primary {
  color: #07100f;
  background: #4de0c2;
  box-shadow: 0 14px 34px rgba(77, 224, 194, 0.16);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f7f4ee;
}

.start-here-card {
  padding: 22px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.74);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.start-here-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.path-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.path-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(77, 224, 194, 0.26);
  border-radius: 999px;
  color: #d9d2c6;
  background: rgba(77, 224, 194, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.start-here-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: start-step;
}

.start-here-card li {
  counter-increment: start-step;
}

.start-here-card a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 48px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.start-here-card a small {
  flex: 0 0 auto;
  color: #f4c95d;
  font-size: 0.75rem;
  font-weight: 900;
}

.start-here-card a::before {
  position: absolute;
  left: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #07100f;
  background: #f4c95d;
  font-size: 0.8rem;
  content: counter(start-step);
}

.start-here-card a:hover,
.start-here-card a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  background: rgba(77, 224, 194, 0.1);
  outline: 0;
}

.start-here-card a[aria-current="step"] {
  border-color: rgba(77, 224, 194, 0.62);
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow: inset 3px 0 0 #4de0c2;
}

.start-here-card a[aria-current="step"]::before {
  background: #4de0c2;
}

#learning-order:target,
#quick-links:target,
#training-path:target {
  outline: 2px solid rgba(244, 201, 93, 0.45);
  outline-offset: 8px;
}

.quick-links {
  padding: 32px 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.section-heading h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.quick-link-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  border-color: rgba(77, 224, 194, 0.62);
  background: rgba(77, 224, 194, 0.09);
  transform: translateY(-2px);
  outline: none;
}

.quick-link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.quick-link-card small {
  display: block;
  color: #d4cdc1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.quick-link-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #07100f;
  font-size: 0.92rem;
  font-weight: 900;
}

.quick-link-icon--strategy {
  background: #4de0c2;
}

.quick-link-icon--compare {
  background: #f4c95d;
}

.quick-link-icon--odds {
  background: #f7f4ee;
}

.quick-link-icon--calc {
  background: #f08f63;
}

.quick-link-icon--drills {
  background: #b6f08f;
}

.quick-link-icon--coach {
  background: #d6b6ff;
}

.training-path {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0 2px;
}

.training-path h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

.training-path ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path-step;
}

.training-path li {
  position: relative;
  min-height: 64px;
  padding: 15px 18px 15px 56px;
  border: 1px solid rgba(244, 201, 93, 0.26);
  border-radius: 8px;
  color: #ece6db;
  background: rgba(255, 255, 255, 0.052);
  line-height: 1.5;
  counter-increment: path-step;
}

.training-path li::before {
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #07100f;
  background: #f4c95d;
  font-size: 0.82rem;
  font-weight: 900;
  content: counter(path-step);
}

.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 32px 0 0;
}

article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

h2 {
  margin: 0 0 12px;
}

article p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.strategy-hero,
.content-band,
.analysis-section,
.case-section,
.testimonial-band,
.playbook,
.tool-hero,
.course-hero,
.path-summary,
.community-hero,
.tool-toolbar,
.course-roadmap,
.forum-shell,
.calculator-shell,
.calculator-method {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.content-band,
.analysis-section,
.playbook,
.course-roadmap,
.beginner-start,
.course-levels,
.course-completion,
.path-summary {
  scroll-margin-top: 168px;
}

.strategy-hero,
.tool-hero,
.course-hero,
.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  min-height: clamp(520px, 64vh, 760px);
  padding: 56px 0 40px;
}

.strategy-hero h1 {
  max-width: 880px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.tool-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.course-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.community-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.drills-hero h1 {
  max-width: 980px;
}

.odds-panel,
.course-snapshot,
.forum-snapshot,
.glossary-snapshot {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.76);
}

.odds-panel div,
.course-snapshot div,
.forum-snapshot div,
.glossary-snapshot div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.odds-panel div:last-child,
.course-snapshot div:last-child,
.forum-snapshot div:last-child,
.glossary-snapshot div:last-child {
  border-bottom: 0;
}

.odds-panel span,
.course-snapshot span,
.forum-snapshot span,
.glossary-snapshot span {
  color: #cabfaf;
}

.odds-panel strong,
.course-snapshot strong,
.forum-snapshot strong,
.glossary-snapshot strong {
  color: #f4c95d;
  font-size: 1.2rem;
  text-align: right;
}

.content-band,
.analysis-section,
.case-section,
.testimonial-band,
.playbook,
.forum-guidelines,
.calculator-method {
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2,
.playbook h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow) {
  color: #d4cdc1;
  font-size: 1.05rem;
  line-height: 1.65;
}

.strategy-grid,
.case-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checklist-grid,
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.strategy-card,
.case-grid article,
.testimonial-grid figure,
.checklist-card,
.link-card {
  min-height: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.strategy-card h3,
.case-grid h3,
.checklist-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.checklist-card span,
.link-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checklist-card p,
.link-card small {
  color: #d4cdc1;
  line-height: 1.6;
}

.link-card {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(77, 224, 194, 0.55);
  background: rgba(77, 224, 194, 0.08);
  outline: 0;
  transform: translateY(-2px);
}

.link-card strong {
  display: block;
  margin-bottom: 10px;
  color: #f7f4ee;
  font-size: 1.2rem;
}

.strategy-drills {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.strategy-drill,
.quiz-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.strategy-drill[open] {
  border-color: rgba(77, 224, 194, 0.45);
  background: linear-gradient(135deg, rgba(77, 224, 194, 0.11), rgba(255, 255, 255, 0.05));
}

.strategy-drill summary,
.quiz-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 18px 20px;
  color: #f7f4ee;
  cursor: pointer;
  list-style: none;
}

.strategy-drill summary::-webkit-details-marker,
.quiz-card summary::-webkit-details-marker {
  display: none;
}

.strategy-drill summary::after,
.quiz-card summary::after {
  content: "+";
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(77, 224, 194, 0.5);
  border-radius: 50%;
  color: #4de0c2;
  font-weight: 900;
  line-height: 1;
}

.strategy-drill[open] > summary::after,
.quiz-card[open] > summary::after {
  content: "-";
}

.strategy-drill summary span {
  font-size: 1.12rem;
  font-weight: 900;
}

.strategy-drill summary small {
  margin-left: auto;
  color: #a99f91;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drill-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

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

.example-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 12, 11, 0.45);
}

.example-grid h4 {
  margin: 0 0 10px;
  color: #f4c95d;
  font-size: 1rem;
}

.example-grid p,
.quiz-card p {
  margin: 0;
}

.quiz-card {
  background: rgba(3, 12, 11, 0.4);
}

.quiz-card summary {
  min-height: 52px;
  padding: 14px 16px;
  font-weight: 900;
}

.quiz-card p {
  padding: 0 16px 16px;
}

.quiz-card p + p {
  padding-top: 0;
}

.tag {
  display: inline-flex;
  margin: 0 0 16px;
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

ul,
ol {
  color: #d7d0c5;
  line-height: 1.7;
}

.curriculum-track {
  display: grid;
  gap: 14px;
}

.course-levels,
.course-self-test {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 26px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.58);
}

.level-grid,
.self-test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.self-test-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.level-grid article,
.self-test-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
}

.level-grid span,
.self-test-grid span {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.level-grid h3,
.self-test-grid h3 {
  margin: 0;
  color: #f7f4ee;
  font-size: 1.08rem;
  line-height: 1.25;
}

.level-grid p,
.self-test-grid p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.level-grid a,
.self-test-grid a {
  align-self: end;
  color: #4de0c2;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.level-grid a:hover,
.level-grid a:focus-visible,
.self-test-grid a:hover,
.self-test-grid a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.module-summary {
  margin: 0 0 12px !important;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.module-summary strong {
  color: #f4c95d;
}

.module-outcomes {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.05);
}

.module-outcomes__label {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.module-outcomes__items span {
  flex: 1 1 210px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.48);
  color: #ece6db;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.module-outcomes__items strong {
  color: #f4c95d;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-outcomes__items a {
  color: #4de0c2;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.module-outcomes__items a:hover,
.module-outcomes__items a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.module-checkpoint {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.module-checkpoint strong {
  color: #f4c95d;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.module-checkpoint p {
  margin: 0;
  color: #ece6db;
  line-height: 1.55;
}

.session-checklist {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.075), rgba(8, 10, 11, 0.72)),
    rgba(8, 10, 11, 0.7);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

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

.session-checklist__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.session-checklist__item input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: #4de0c2;
}

.session-checklist__item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.session-checklist__item strong {
  color: #f7f4ee;
  font-size: 0.92rem;
  line-height: 1.2;
}

.session-checklist__item small {
  color: #cabfaf;
  font-size: 0.88rem;
  line-height: 1.45;
}

.session-checklist__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.session-checklist__status {
  margin: 0;
  color: #4de0c2;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pathway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-pathway article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.58);
}

.hero-pathway span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-pathway strong {
  color: #f7f4ee;
  font-size: 1.02rem;
}

.hero-pathway p {
  margin: 0;
  color: #d4cdc1;
  font-size: 0.94rem;
  line-height: 1.48;
}

.hero-pathway a {
  justify-self: start;
}

.next-step-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.next-step-panel strong {
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-step-panel p {
  margin: 6px 0 0;
  color: #ece6db;
  line-height: 1.55;
}

.course-fast-start,
.checkpoint-answer-key {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.26);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.07);
}

.course-fast-start strong,
.checkpoint-answer-key strong {
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-fast-start p,
.checkpoint-answer-key ol {
  margin: 0;
  color: #ece6db;
  line-height: 1.6;
}

.course-fast-start__actions {
  margin-top: 2px;
}

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

.course-curriculum-map article {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 16px;
  border-color: rgba(77, 224, 194, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.course-curriculum-map span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-curriculum-map strong {
  display: block;
  margin-bottom: 8px;
  color: #f7f4ee;
  font-size: 1.05rem;
}

.course-curriculum-map p {
  margin: 0;
  color: #d4cdc1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.course-curriculum-map a {
  color: #4de0c2;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.course-curriculum-map a:hover,
.course-curriculum-map a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.beginner-start {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(244, 201, 93, 0.055)),
    rgba(8, 10, 11, 0.68);
}

.beginner-start h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.beginner-start p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.6;
}

.beginner-start__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beginner-start__steps li {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
}

.beginner-start__steps span {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(77, 224, 194, 0.4);
  border-radius: 8px;
  color: #07100f;
  background: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
}

.beginner-start__steps strong {
  color: #f7f4ee;
  line-height: 1.2;
}

.beginner-start__steps a {
  align-self: end;
  color: #f4c95d;
  font-weight: 900;
  text-decoration: none;
}

.beginner-start__steps a:hover,
.beginner-start__steps a:focus-visible {
  color: #4de0c2;
  outline: 0;
}

.course-completion {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.09), rgba(77, 224, 194, 0.06)),
    rgba(8, 10, 11, 0.68);
}

.course-completion h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.02;
}

.course-completion p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.6;
}

.completion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.completion-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.completion-list span {
  display: grid;
  width: 42px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(77, 224, 194, 0.4);
  border-radius: 8px;
  color: #07100f;
  background: #4de0c2;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.completion-list a:hover,
.completion-list a:focus-visible {
  border-color: rgba(244, 201, 93, 0.54);
  color: #07100f;
  background: #f4c95d;
  outline: 0;
}

.module-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  scroll-margin-top: 220px;
  min-height: 0;
  padding: 24px;
  border-color: rgba(77, 224, 194, 0.18);
  background: rgba(8, 10, 11, 0.6);
}

.module-card:hover {
  border-color: rgba(77, 224, 194, 0.38);
}

.module-number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(77, 224, 194, 0.34);
  border-radius: 8px;
  color: #07100f;
  background: #4de0c2;
  font-size: 1.15rem;
  font-weight: 900;
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.module-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #cabfaf;
  background: rgba(255, 255, 255, 0.052);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-meta .module-status {
  border-color: rgba(244, 201, 93, 0.34);
  color: #f4c95d;
  background: rgba(244, 201, 93, 0.08);
}

.module-meta .module-status--active {
  border-color: rgba(77, 224, 194, 0.45);
  color: #07100f;
  background: #4de0c2;
}

.module-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.lesson-outcome {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(77, 224, 194, 0.28);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.075);
}

.lesson-outcome strong,
.lesson-prereq strong {
  color: #4de0c2;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-prereq {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid rgba(244, 201, 93, 0.72);
}

.module-links {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.module-links strong {
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-links a {
  white-space: nowrap;
}

.module-links a + a {
  margin-left: 4px;
}

.module-card p:not(.tag) {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.6;
}

.module-card ul {
  margin-bottom: 0;
}

.lesson-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 14px;
  margin-top: 18px;
}

.lesson-grid h4 {
  margin: 0 0 8px;
  color: #f7f4ee;
  font-size: 1rem;
}

.lesson-grid ul {
  margin-top: 0;
  padding-left: 20px;
}

.lesson-resource {
  margin-top: 12px !important;
  padding: 12px 14px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.065);
}

.lesson-callouts {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.lesson-check {
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.lesson-check--mistake {
  border-color: rgba(240, 143, 99, 0.28);
  background: rgba(240, 143, 99, 0.08);
}

.lesson-check strong {
  display: block;
  margin-bottom: 8px;
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-check--mistake strong {
  color: #f08f63;
}

.lesson-check p {
  color: #ece6db;
}

.before-move-on {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(8, 10, 11, 0.56);
}

.before-move-on strong {
  color: #4de0c2;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-move-on p {
  margin: 0;
  color: #ece6db;
  line-height: 1.55;
}

.after-module {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.after-module strong {
  color: #f4c95d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.after-module p {
  margin: 0;
  color: #ece6db;
  line-height: 1.55;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.module-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(77, 224, 194, 0.42);
  border-radius: 8px;
  color: #4de0c2;
  background: rgba(77, 224, 194, 0.08);
  font-weight: 900;
  text-decoration: none;
}

.module-action--primary {
  border-color: rgba(244, 201, 93, 0.62);
  color: #07100f;
  background: #f4c95d;
}

.module-action:hover,
.module-action:focus-visible {
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

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

.decision-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  border-color: rgba(244, 201, 93, 0.2);
}

.decision-grid h3 {
  margin: 0;
  font-size: 1.35rem;
}

.decision-grid .lesson-check {
  margin-top: 4px;
}

.course-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.course-roadmap h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

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

.roadmap-grid article {
  min-height: 0;
  border-color: rgba(244, 201, 93, 0.22);
}

.roadmap-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-grid h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.drill-routine-grid article {
  border-color: rgba(77, 224, 194, 0.22);
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.07), rgba(255, 255, 255, 0.05)),
    rgba(8, 10, 11, 0.62);
}

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

.practice-mode-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  border-color: rgba(244, 201, 93, 0.22);
  background:
    linear-gradient(160deg, rgba(244, 201, 93, 0.08), rgba(77, 224, 194, 0.055)),
    rgba(8, 10, 11, 0.64);
}

.practice-mode-grid span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-mode-grid h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.12;
}

.practice-mode-grid strong {
  align-self: end;
  color: #f4c95d;
  line-height: 1.45;
}

.guided-trainer {
  scroll-margin-top: 110px;
}

.trainer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.trainer-card,
.trainer-summary,
.printable-checklist {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.trainer-card {
  overflow: hidden;
}

.trainer-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(77, 224, 194, 0.08);
}

.trainer-progress span {
  color: #f7f4ee;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trainer-progress span:last-child {
  color: #f4c95d;
}

.trainer-card__body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.trainer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trainer-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 999px;
  color: #e7dfd4;
  background: rgba(77, 224, 194, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trainer-kicker {
  margin: 0;
  color: #4de0c2;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trainer-card h3,
.trainer-summary h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.trainer-card p,
.trainer-summary p,
.trainer-summary li,
.next-lesson {
  color: #d4cdc1;
  line-height: 1.6;
}

.trainer-task,
.trainer-answer,
.trainer-feedback,
.next-lesson {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trainer-task strong,
.trainer-answer strong,
.trainer-grade strong,
.mistake-panel h4,
.mode-scorecard h4 {
  display: block;
  margin-bottom: 8px;
  color: #f4c95d;
}

.trainer-reveal {
  justify-self: start;
  min-height: 52px;
}

.trainer-grade {
  display: grid;
  gap: 10px;
}

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

.trainer-grade__buttons button,
.checklist-actions button {
  min-height: 56px;
}

.trainer-grade__buttons button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 900;
  line-height: 1.25;
  padding: 12px 14px;
  cursor: pointer;
}

.trainer-grade__buttons button:hover,
.trainer-grade__buttons button:focus-visible,
.trainer-grade__buttons button[aria-pressed="true"] {
  border-color: rgba(77, 224, 194, 0.66);
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.trainer-feedback {
  font-weight: 800;
}

.trainer-feedback--correct {
  border-color: rgba(77, 224, 194, 0.42);
  color: #bdf8e9;
  background: rgba(77, 224, 194, 0.11);
}

.trainer-feedback--incorrect {
  border-color: rgba(240, 143, 99, 0.5);
  color: #ffd5c5;
  background: rgba(240, 143, 99, 0.1);
}

.trainer-feedback--unsure {
  border-color: rgba(244, 201, 93, 0.48);
  color: #ffe6a5;
  background: rgba(244, 201, 93, 0.1);
}

.trainer-actions,
.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 24px;
}

.trainer-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trainer-actions .button-primary,
.trainer-actions .button-secondary {
  min-width: 138px;
}

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

.trainer-summary {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

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

.score-grid div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.score-grid span,
.mistake-panel li span {
  display: block;
  color: #cabfaf;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.score-grid strong {
  display: block;
  margin-top: 10px;
  color: #4de0c2;
  font-size: 2rem;
  line-height: 1;
}

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

.streak-panel div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.streak-panel span {
  display: block;
  color: #cabfaf;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.streak-panel strong {
  display: block;
  margin-top: 10px;
  color: #f4c95d;
  font-size: 2rem;
  line-height: 1;
}

.scenario-breakdown {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.05);
}

.scenario-breakdown h4 {
  margin: 0;
}

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

.scenario-breakdown__card {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.scenario-breakdown__card span:first-child {
  color: #cabfaf;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scenario-breakdown__card strong {
  color: #f7f4ee;
  font-size: 1.35rem;
  line-height: 1.1;
}

.scenario-breakdown__card small {
  color: #d4cdc1;
  line-height: 1.45;
}

.scenario-breakdown__bar {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.scenario-breakdown__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4de0c2, #f4c95d);
  transition: width 180ms ease;
}

.mistake-panel {
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.mistake-links {
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.06);
}

.mistake-links strong {
  display: block;
  margin-bottom: 8px;
  color: #4de0c2;
}

.mistake-links p {
  margin: 0;
}

.mistake-links a {
  color: #f4c95d;
  font-weight: 900;
}

.completion-meter,
.mode-scorecard {
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.07);
}

.completion-meter div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.completion-meter span:first-child,
.mode-scorecard li span {
  color: #cabfaf;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.completion-meter strong {
  color: #4de0c2;
  font-size: 1.4rem;
  line-height: 1;
}

.completion-meter__track {
  display: block;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.completion-meter__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4de0c2, #f4c95d);
  transition: width 180ms ease;
}

.mistake-panel h4,
.mode-scorecard h4 {
  margin-top: 0;
}

.mistake-panel ul,
.mode-scorecard ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mistake-panel li,
.mode-scorecard li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mistake-panel li strong {
  color: #f4c95d;
  font-size: 1.2rem;
}

.mode-scorecard li strong {
  color: #4de0c2;
  font-size: 1.08rem;
}

.coach-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.09), rgba(77, 224, 194, 0.05));
}

.coach-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.coach-panel__header h4 {
  margin: 6px 0 0;
  color: #f7f4ee;
  font-size: 1.1rem;
  line-height: 1.25;
}

.coach-panel__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(244, 201, 93, 0.26);
  border-radius: 999px;
  color: #f4c95d;
  background: rgba(244, 201, 93, 0.08);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-panel__summary,
.coach-memory-note {
  margin: 0;
  color: #eadfd2;
  line-height: 1.55;
}

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

.coach-panel__grid article {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.coach-panel__grid span,
.coach-next-drill span {
  color: #cabfaf;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.coach-panel__grid strong {
  color: #4de0c2;
  font-size: 1.45rem;
  line-height: 1.05;
}

.coach-panel__grid small {
  color: #d4cdc1;
  line-height: 1.4;
}

.coach-next-drill {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.07);
}

.coach-next-drill strong {
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.35;
}

.coach-next-drill p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.5;
}

.coach-next-drill .button-secondary {
  justify-self: start;
  min-height: 46px;
  padding-inline: 16px;
}

.coach-priority,
.coach-history,
.coach-session-plan {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
}

.coach-priority {
  border: 1px solid rgba(244, 201, 93, 0.18);
  background: rgba(244, 201, 93, 0.07);
}

.coach-priority__label,
.coach-history__header span,
.coach-session-plan > span {
  color: #cabfaf;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.coach-priority strong {
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.35;
}

.coach-priority p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.5;
}

.coach-history {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.coach-history__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.coach-history__header small {
  color: #cabfaf;
  font-size: 0.78rem;
  line-height: 1.35;
}

.coach-history ul,
.coach-session-plan ol {
  margin: 0;
  padding: 0;
}

.coach-history ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.coach-history li {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.coach-history li strong {
  color: #f7f4ee;
  font-size: 0.96rem;
  line-height: 1.3;
}

.coach-history li span {
  color: #f4c95d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.coach-history li p,
.coach-history li small {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.45;
}

.coach-session-plan {
  border: 1px solid rgba(77, 224, 194, 0.2);
  background: rgba(77, 224, 194, 0.07);
}

.coach-session-plan ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: #d4cdc1;
}

.coach-session-plan li {
  padding-left: 4px;
  line-height: 1.5;
}

.next-lesson a {
  color: #4de0c2;
  font-weight: 900;
}

.printable-checklist {
  padding: 18px;
}

.printable-checklist textarea {
  width: 100%;
  min-height: 430px;
  resize: vertical;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(3, 12, 11, 0.72);
  font: 0.96rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.checklist-actions {
  align-items: center;
  padding: 14px 0 0;
}

.checklist-actions span {
  color: #4de0c2;
  font-weight: 900;
}

.course-playbook {
  padding-bottom: 84px;
}

.analysis-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.analysis-row {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.15fr 0.9fr;
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.analysis-row span {
  padding: 16px;
  color: #d7d0c5;
  background: rgba(255, 255, 255, 0.05);
}

.analysis-row--head span {
  color: #07100f;
  font-weight: 900;
  background: #4de0c2;
}

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

.case-grid strong {
  display: block;
  margin-top: 18px;
  color: #f4c95d;
  line-height: 1.45;
}

.testimonial-grid figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

blockquote {
  margin: 0;
  color: #f2eee8;
  font-size: 1.08rem;
  line-height: 1.6;
}

figcaption {
  color: #4de0c2;
  font-weight: 800;
}

.playbook {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  padding-bottom: 84px;
}

.playbook ol {
  margin: 0;
  padding-left: 22px;
}

.tool-note,
.calculator-panel,
.results-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.tool-note {
  padding: 22px;
}

.tool-note strong {
  color: #f4c95d;
  font-size: 1.2rem;
}

.tool-note p {
  margin: 12px 0 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.tool-note a {
  color: #4de0c2;
  font-weight: 900;
}

.comparator-note {
  border-color: rgba(244, 201, 93, 0.3);
}

.tool-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: start;
  padding: 28px;
  margin-top: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.tool-toolbar h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

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

.tool-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-options legend {
  padding: 0 8px;
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd6c9;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.tool-options label > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tool-options label strong {
  color: #f7f4ee;
  font-size: 0.92rem;
  line-height: 1.2;
}

.tool-options label small {
  color: #cabfaf;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
}

.tool-options input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: #4de0c2;
}

.tool-status,
.dynamic-guide {
  min-height: 52px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.45;
}

.tool-status {
  color: #07100f;
  background: #4de0c2;
  font-weight: 900;
}

.dynamic-guide {
  color: #f2eee8;
  border: 1px solid rgba(244, 201, 93, 0.24);
  background: rgba(244, 201, 93, 0.08);
}

.tool-workflow {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.comparison-reader {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  padding: 22px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.08), rgba(77, 224, 194, 0.055)),
    rgba(8, 10, 11, 0.64);
}

.comparison-reader h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

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

.reader-grid article {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
}

.reader-grid span {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reader-grid strong {
  color: #f7f4ee;
  line-height: 1.25;
}

.reader-grid p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.5;
}

.tool-workflow .section-heading {
  margin-bottom: 18px;
  padding: 0;
}

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

.workflow-steps--coach {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 12px;
  min-height: 156px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.workflow-step:hover,
.workflow-step:focus-visible {
  border-color: rgba(77, 224, 194, 0.42);
  outline: 0;
}

.workflow-step > span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #07100f;
  background: #f4c95d;
  font-weight: 900;
}

.workflow-step strong {
  color: #f7f4ee;
  font-size: 1.05rem;
  line-height: 1.25;
}

.workflow-step p {
  grid-column: 2;
  margin: 0;
  color: #d4cdc1;
  font-size: 0.94rem;
  line-height: 1.5;
}

.workflow-step--active {
  border-color: rgba(77, 224, 194, 0.42);
  background: rgba(77, 224, 194, 0.08);
}

.workflow-step--active > span {
  background: #4de0c2;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: start;
  padding: 0 0 58px;
}

.simulator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: start;
  padding: 0 0 58px;
}

.comparator-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.coach-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.calculator-panel,
.results-panel,
.simulator-panel,
.simulator-board {
  padding: 24px;
}

.simulator-panel,
.simulator-board {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.simulator-board {
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.simulator-control-grid .field {
  margin-top: 0;
}

.simulator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.simulator-rail article,
.simulator-display-card,
.simulator-ledger article {
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.simulator-rail span,
.simulator-display-card span,
.simulator-ledger span {
  color: #cabfaf;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.simulator-rail strong,
.simulator-display-card strong,
.simulator-ledger strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  line-height: 1.12;
}

.simulator-rail strong,
.simulator-ledger strong {
  font-size: 1.15rem;
}

.simulator-rail p,
.simulator-display-card small,
.simulator-ledger small {
  display: block;
  margin: 8px 0 0;
  color: #d4cdc1;
  line-height: 1.45;
}

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

.simulator-display-card {
  display: grid;
  gap: 0;
  min-height: 128px;
  background: rgba(255, 255, 255, 0.05);
}

.simulator-display-card strong {
  font-size: clamp(1.25rem, 3vw, 1.95rem);
}

.simulator-display-card--winner {
  border-color: rgba(77, 224, 194, 0.36);
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.09), rgba(244, 201, 93, 0.05)),
    rgba(255, 255, 255, 0.045);
}

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

.simulator-ledger article {
  display: grid;
  gap: 0;
}

.simulator-ledger strong {
  font-size: 1.08rem;
}

.simulator-history {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.baccarat-road {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44px;
  grid-template-rows: repeat(6, 44px);
  gap: 0;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(244, 201, 93, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 201, 93, 0.18) 1px, transparent 1px),
    rgba(6, 9, 9, 0.88);
  background-size: 44px 44px;
  list-style: none;
}

.road-cell {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.road-cell span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.road-cell small {
  position: absolute;
  right: 4px;
  bottom: 2px;
  color: #cabfaf;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
}

.road-cell--banker span {
  color: #ff5f64;
  box-shadow: 0 0 14px rgba(255, 95, 100, 0.18);
}

.road-cell--player span {
  color: #5a8cff;
  box-shadow: 0 0 14px rgba(90, 140, 255, 0.18);
}

.road-cell--tie span {
  color: #4de0c2;
  box-shadow: 0 0 14px rgba(77, 224, 194, 0.2);
}

.road-cell--tie::after {
  position: absolute;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: #4de0c2;
  box-shadow: 0 0 10px rgba(77, 224, 194, 0.34);
  content: "";
  transform: rotate(-42deg);
}

.baccarat-road-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  color: #d4cdc1;
  background: rgba(77, 224, 194, 0.055);
  line-height: 1.45;
}

.baccarat-road-detail div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.baccarat-road-detail span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baccarat-road-detail strong {
  color: #f7f4ee;
  font-size: 1.05rem;
  line-height: 1.2;
}

.baccarat-road-detail small {
  color: #cabfaf;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .baccarat-road {
    grid-auto-columns: 38px;
    grid-template-rows: repeat(6, 38px);
    padding: 8px;
    background-size: 38px 38px;
  }

  .road-cell {
    width: 38px;
    height: 38px;
  }

  .road-cell span {
    width: 27px;
    height: 27px;
    font-size: 0.76rem;
  }

  .road-cell small {
    right: 3px;
    bottom: 1px;
  }

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

.panel-heading {
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.field,
.field-block {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.field span,
.field-title {
  color: #f2eee8;
  font-weight: 900;
}

.field-block p {
  margin: 4px 0 0;
  color: #bfb6a7;
  line-height: 1.5;
}

.field small {
  color: #bfb6a7;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.progression-warning {
  padding: 12px 14px;
  border: 1px solid rgba(240, 143, 99, 0.34);
  border-radius: 8px;
  color: #f2eee8;
  background: rgba(240, 143, 99, 0.09);
}

.progression-warning strong {
  color: #f08f63;
}

.preset-panel {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.07);
}

.preset-panel legend {
  padding: 0 8px;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preset-panel p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.45;
}

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

.comparator-preset-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preset-actions .button-secondary {
  min-height: 48px;
  padding: 0 12px;
  background: rgba(8, 10, 11, 0.44);
}

.preset-button {
  align-items: start;
  flex-direction: column;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
  text-align: left;
}

.preset-button span,
.preset-button small {
  display: block;
}

.preset-button span {
  color: #f7f4ee;
  line-height: 1.2;
}

.preset-button small {
  color: #cabfaf;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .preset-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-actions .button-secondary {
    padding: 10px;
  }

  .preset-button span,
  .preset-button small {
    overflow-wrap: anywhere;
  }
}

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

.scenario-strip article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.scenario-strip span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-strip strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: 1.1rem;
  line-height: 1.15;
}

.scenario-strip p {
  margin: 8px 0 0;
  color: #d4cdc1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.quick-start-strip,
.result-compare-strip,
.history-compare,
.simulator-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quick-start-strip,
.result-compare-strip,
.history-compare {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simulator-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-start-strip article,
.result-compare-strip article,
.history-compare article,
.simulator-steps article,
.preset-intro {
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.quick-start-strip span,
.result-compare-strip span,
.history-compare span,
.simulator-steps span,
.preset-intro strong {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-start-strip strong,
.result-compare-strip strong,
.history-compare strong,
.simulator-steps strong,
.preset-intro p {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  line-height: 1.25;
}

.quick-start-strip p,
.result-compare-strip small,
.history-compare small,
.simulator-steps p,
.preset-intro p {
  margin: 8px 0 0;
  color: #cabfaf;
  font-size: 0.88rem;
  line-height: 1.45;
}

.history-compare article {
  border-color: rgba(244, 201, 93, 0.16);
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.05), rgba(77, 224, 194, 0.04));
}

.history-compare strong {
  color: #f4c95d;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.history-meta span {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 999px;
  color: #ece6db;
  background: rgba(77, 224, 194, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 32px;
  text-transform: uppercase;
}

.comparator-preset-actions .button-secondary[aria-pressed="true"] {
  border-color: rgba(77, 224, 194, 0.58);
  color: #07100f;
  background: #4de0c2;
}

.comparator-preset-actions .button-secondary[aria-pressed="true"] span,
.comparator-preset-actions .button-secondary[aria-pressed="true"] small {
  color: #07100f;
}

.coach-note {
  border-color: rgba(240, 143, 99, 0.34);
}

.coach-disclaimer {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  padding: 22px;
  border: 1px solid rgba(240, 143, 99, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 143, 99, 0.09), rgba(77, 224, 194, 0.055)),
    rgba(8, 10, 11, 0.68);
}

.coach-disclaimer h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.coach-disclaimer p:not(.eyebrow) {
  margin: 0;
  color: #e5ded2;
  font-size: 1.02rem;
  line-height: 1.65;
}

.coach-category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.coach-category-strip article {
  padding: 14px;
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  background: rgba(14, 23, 23, 0.76);
}

.coach-category-strip span {
  display: block;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-category-strip p {
  margin: 8px 0 0;
  color: #cabfaf;
  font-size: 0.92rem;
  line-height: 1.55;
}

.coach-examples {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

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

.coach-example-grid article {
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.5);
}

.coach-example-grid span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-example-grid p {
  margin: 10px 0 0;
  color: #e5ded2;
  line-height: 1.55;
}

.coach-prompt-structure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.07), rgba(77, 224, 194, 0.055)),
    rgba(8, 10, 11, 0.5);
}

.coach-prompt-structure article {
  min-height: 132px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.coach-prompt-structure span {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-prompt-structure p {
  margin: 8px 0 0;
  color: #d8d0c3;
  font-size: 0.88rem;
  line-height: 1.45;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

select {
  padding: 0 12px;
}

input {
  padding: 0 10px;
}

textarea {
  min-height: 120px;
  padding: 12px 10px;
  resize: vertical;
}

.rank-grid,
.hand-grid {
  display: grid;
  gap: 10px;
}

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

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

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

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

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

.coach-helper-panel {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.065);
}

.coach-helper-panel legend {
  padding: 0 8px;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-helper-panel p {
  margin: 0;
  color: #cabfaf;
  font-size: 0.92rem;
  line-height: 1.45;
}

.coach-chip-grid,
.coach-leak-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-chip,
.coach-leak-tags label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.46);
  font-size: 0.84rem;
  font-weight: 900;
}

.coach-chip {
  padding: 0 12px;
}

.coach-chip:hover,
.coach-chip:focus-visible,
.coach-leak-tags label:has(input:checked) {
  border-color: rgba(244, 201, 93, 0.58);
  color: #07100f;
  background: #f4c95d;
  outline: 0;
}

.coach-leak-tags label {
  gap: 7px;
  padding: 0 12px 0 10px;
}

.coach-leak-tags input {
  width: 16px;
  min-height: 16px;
  accent-color: #07100f;
}

.rank-input {
  display: grid;
  gap: 6px;
}

.rank-input span,
.compact span {
  color: #cabfaf;
  font-size: 0.86rem;
  font-weight: 800;
}

.rank-stepper {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 6px;
  align-items: center;
}

.rank-stepper button {
  min-height: 44px;
  border: 1px solid rgba(77, 224, 194, 0.22);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.58);
  font-size: 1.05rem;
  font-weight: 900;
}

.rank-stepper button:hover,
.rank-stepper button:focus-visible {
  color: #07100f;
  background: #4de0c2;
}

.rank-stepper input {
  text-align: center;
}

.shoe-state-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.24);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.shoe-state-panel span {
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shoe-state-panel strong {
  display: block;
  margin-top: 5px;
  color: #f7f4ee;
  font-size: 1.12rem;
  line-height: 1.2;
}

.shoe-state-panel p {
  margin: 7px 0 0;
  color: #d4cdc1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  outline: 3px solid rgba(244, 201, 93, 0.86);
  outline-offset: 3px;
}

.button-secondary {
  background: transparent;
}

.input-error {
  min-height: 24px;
  margin: 14px 0 0;
  color: #ffb4a8;
  font-weight: 800;
  line-height: 1.4;
}

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

.result-card {
  min-height: 142px;
  padding: 18px;
}

.result-card span,
.results-summary span,
.draw-detail span {
  color: #cabfaf;
  font-size: 0.86rem;
  font-weight: 900;
}

.result-card strong {
  display: block;
  margin-top: 10px;
  color: #f7f4ee;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1;
}

.result-card small {
  display: block;
  margin-top: 12px;
  color: #f4c95d;
  font-weight: 900;
}

.result-card--banker {
  border-color: rgba(77, 224, 194, 0.34);
}

.result-card--player {
  border-color: rgba(244, 201, 93, 0.32);
}

.result-card--tie {
  border-color: rgba(255, 255, 255, 0.2);
}

.smart-highlight .result-card.is-best {
  border-color: rgba(244, 201, 93, 0.72);
  box-shadow: inset 0 0 0 1px rgba(244, 201, 93, 0.32), 0 14px 32px rgba(244, 201, 93, 0.08);
}

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

.probability-guide p {
  min-height: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #d4cdc1;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.92rem;
  line-height: 1.45;
}

.probability-guide strong {
  color: #f7f4ee;
}

.recommendation-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.26);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.08);
}

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

.recommendation-lead span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #07100f;
  background: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.recommendation-lead strong {
  color: #f7f4ee;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  line-height: 1.05;
}

.recommendation-box p {
  margin: 0;
  color: #e5ded2;
  line-height: 1.55;
}

.coach-output-guardrail {
  padding-top: 12px;
  border-top: 1px solid rgba(240, 143, 99, 0.24);
  color: #ffd2c9;
  font-weight: 800;
}

.coach-empty-state {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.075);
}

.coach-empty-state[hidden] {
  display: none;
}

.coach-empty-state span {
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-empty-state p {
  margin: 0;
  color: #e5ded2;
  line-height: 1.5;
}

.coach-copy-button {
  justify-self: start;
  min-height: 40px;
}

.coach-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.coach-copy-status {
  min-height: 20px;
  color: #cabfaf;
  font-size: 0.88rem;
  font-weight: 800;
}

.recommendation-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cabfaf;
  font-size: 0.94rem;
}

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

.decision-read article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.decision-read span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-read p {
  margin: 8px 0 0;
  color: #e5ded2;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.scenario-summary {
  display: grid;
  gap: 10px;
  min-height: 0;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.28);
  border-radius: 8px;
  color: #f2eee8;
  background: rgba(77, 224, 194, 0.07);
  line-height: 1.55;
}

.scenario-summary__tag {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-summary strong {
  color: #f7f4ee;
  font-size: 1.08rem;
  line-height: 1.35;
}

.scenario-summary p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.55;
}

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

.comparator-summary__wide {
  grid-column: span 2;
}

.comparison-assessment {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.comparison-assessment article {
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.comparison-assessment span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-assessment strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: 1.04rem;
  line-height: 1.25;
}

.comparison-assessment p {
  margin: 8px 0 0;
  color: #d4cdc1;
  line-height: 1.45;
}

.results-summary div,
.comparator-summary div {
  padding: 14px;
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.results-summary strong,
.comparator-summary strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: 1.1rem;
  line-height: 1.2;
}

.comparator-summary span {
  color: #cabfaf;
  font-size: 0.86rem;
  font-weight: 900;
}

.comparator-summary small {
  display: block;
  margin-top: 8px;
  color: #d4cdc1;
  font-size: 0.82rem;
  line-height: 1.35;
}

.coach-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

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

.coach-results-main {
  display: grid;
  gap: 16px;
}

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

.coach-summary-grid article {
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.06);
}

.coach-summary-grid span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: 1.08rem;
  line-height: 1.2;
}

.coach-summary-grid p {
  margin: 8px 0 0;
  color: #e5ded2;
  line-height: 1.5;
}

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

.coach-risk-panel {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.06);
}

.coach-risk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-risk-flags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(244, 201, 93, 0.34);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.44);
  font-size: 0.8rem;
  font-weight: 800;
}

.coach-save-button {
  min-height: 40px;
}

.coach-scoreboard article {
  min-height: 122px;
  padding: 16px;
  border-color: rgba(244, 201, 93, 0.2);
  background: rgba(244, 201, 93, 0.07);
}

.coach-scoreboard span,
.coach-feedback-grid h3 {
  margin: 0;
  color: #cabfaf;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-scoreboard strong {
  display: block;
  margin-top: 10px;
  color: #f7f4ee;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

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

.coach-feedback-grid article {
  min-height: 0;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.coach-feedback-grid p {
  margin: 10px 0 0;
  color: #e5ded2;
  line-height: 1.55;
}

.coach-journal-sidebar {
  position: relative;
}

.coach-progress-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(8, 10, 11, 0.74)),
    rgba(8, 10, 11, 0.74);
}

.coach-progress-card .panel-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.08;
}

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

.coach-progress-grid div {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.coach-progress-grid span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-progress-grid strong {
  color: #f7f4ee;
  font-size: 1.12rem;
  line-height: 1.15;
}

.coach-progress-grid small {
  color: #d8d0c3;
  line-height: 1.45;
}

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

.coach-journal-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.74);
  position: sticky;
  top: 92px;
}

.coach-journal-card .panel-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.06;
}

.coach-journal-copy,
.coach-privacy-note {
  margin: 0;
  color: #d8d0c3;
  font-size: 0.94rem;
  line-height: 1.5;
}

.coach-journal-filters {
  display: grid;
  gap: 10px;
}

.coach-journal-filters .field {
  margin-top: 0;
}

.coach-journal-actions {
  margin-top: 0;
}

.coach-privacy-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.coach-journal-status {
  min-height: 20px;
  color: #cabfaf;
  font-size: 0.88rem;
  font-weight: 800;
}

.coach-journal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coach-journal-entry {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.coach-journal-entry__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.coach-journal-entry__head time {
  display: block;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-journal-entry__head strong {
  display: block;
  margin-top: 5px;
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.35;
}

.coach-journal-entry__head span {
  color: #f4c95d;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.coach-journal-entry p,
.coach-journal-entry small {
  margin: 0;
  color: #e5ded2;
  line-height: 1.45;
}

.coach-journal-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-journal-entry__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(77, 224, 194, 0.18);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(77, 224, 194, 0.06);
  font-size: 0.8rem;
  font-weight: 800;
}

.coach-journal-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-journal-empty {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px dashed rgba(244, 201, 93, 0.28);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.05);
}

.coach-journal-empty[hidden] {
  display: none;
}

.coach-journal-empty span {
  color: #f4c95d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-journal-empty p {
  margin: 0;
  color: #e5ded2;
  line-height: 1.5;
}

.coach-action-plan {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.09), rgba(244, 201, 93, 0.055)),
    rgba(8, 10, 11, 0.54);
}

.coach-action-plan > span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-action-plan ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #f7f4ee;
  line-height: 1.45;
}

.coach-action-plan li::marker {
  color: #f4c95d;
  font-weight: 900;
}

.coach-action-plan p {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cabfaf;
  font-size: 0.94rem;
  line-height: 1.45;
}

.coach-method {
  padding-bottom: 84px;
}

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

.draw-detail div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.draw-detail strong {
  display: block;
  margin-top: 8px;
  color: #4de0c2;
  font-size: 1.15rem;
}

.draw-explainer {
  margin: 12px 0 0;
  color: #cabfaf;
  font-size: 0.94rem;
  line-height: 1.5;
}

.calculation-history {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.history-heading small {
  display: block;
  margin-top: 4px;
  color: #cabfaf;
  font-weight: 800;
}

.calculation-history ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.calculation-history li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.calculation-history time {
  display: block;
  color: #4de0c2;
  font-size: 0.82rem;
  font-weight: 900;
}

.calculation-history span {
  display: block;
  margin-top: 4px;
  color: #d4cdc1;
  font-size: 0.9rem;
  line-height: 1.35;
}

.calculation-history strong {
  color: #f4c95d;
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}

.calculation-history small {
  grid-column: 1 / -1;
  color: #f2eee8;
  font-weight: 800;
}

.calculation-history .baccarat-road {
  display: grid;
  gap: 0;
  padding: 10px;
  list-style: none;
}

.calculation-history .baccarat-road .road-cell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.calculation-history .baccarat-road .road-cell span {
  display: grid;
  margin-top: 0;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1;
}

.calculation-history .baccarat-road .road-cell small {
  grid-column: auto;
  color: #cabfaf;
  font-size: 0.56rem;
  line-height: 1;
}

.calculation-history .baccarat-road .road-cell--banker span {
  color: #ff5f64;
}

.calculation-history .baccarat-road .road-cell--player span {
  color: #5a8cff;
}

.calculation-history .baccarat-road .road-cell--tie span {
  color: #4de0c2;
}

.history-use {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 38px;
}

.history-empty {
  display: block;
  color: #cabfaf;
}

.compact-results .results-panel {
  padding: 18px;
}

.compact-results .result-card {
  min-height: 118px;
  padding: 14px;
}

.hide-draw-detail .draw-detail,
.hide-history-detail .history-detail {
  display: none;
}

.next-step-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(77, 224, 194, 0.12), rgba(244, 201, 93, 0.08));
}

.next-step-panel > span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-step-panel strong {
  color: #f7f4ee;
  font-size: 1.22rem;
  line-height: 1.25;
}

.next-step-panel p {
  margin: 0;
  color: #ddd6c9;
  line-height: 1.5;
}

.next-step-panel .button-primary {
  justify-self: start;
}

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

.next-step-actions .button-primary,
.next-step-actions .button-secondary {
  flex: 0 1 auto;
}

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

.tool-link-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
}

.tool-link-card:hover,
.tool-link-card:focus-visible {
  border-color: rgba(77, 224, 194, 0.42);
  outline: 0;
}

.tool-link-card span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-link-card strong {
  color: #f7f4ee;
  font-size: 1.1rem;
  line-height: 1.45;
}

.odds-hero {
  align-items: center;
}

.odds-summary,
.odds-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.odds-summary {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.odds-summary__header {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.odds-summary span {
  min-width: 0;
}

.odds-summary__header span {
  color: #cabfaf;
  font-weight: 900;
}

.odds-summary__header strong {
  color: #f4c95d;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.04;
}

.odds-summary-table {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.odds-summary-row {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.78fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.odds-summary-row span {
  padding: 11px 12px;
  color: #ddd6c9;
  font-size: 0.9rem;
  line-height: 1.3;
}

.odds-summary-row strong {
  color: #f7f4ee;
}

.odds-summary-row--head span {
  color: #07100f;
  background: #4de0c2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.odds-summary-row--best {
  box-shadow: inset 4px 0 0 #4de0c2;
  background: rgba(77, 224, 194, 0.08);
}

.odds-summary-row--warning {
  box-shadow: inset 4px 0 0 #f4c95d;
  background: rgba(244, 201, 93, 0.07);
}

.odds-summary p {
  margin: 0;
  padding: 14px 16px 16px;
  color: #cabfaf;
  font-size: 0.9rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.035);
}

.odds-summary p strong {
  color: #f7f4ee;
}

.odds-summary-links {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.odds-summary-links a {
  width: 100%;
  justify-content: space-between;
}

.odds-summary-links a::after {
  flex: 0 0 auto;
  color: #4de0c2;
  content: "->";
}

.hero-quick-read {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.hero-quick-read div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.58);
}

.hero-quick-read span,
.hero-quick-read small {
  display: block;
  color: #cabfaf;
  font-weight: 900;
  line-height: 1.3;
}

.hero-quick-read span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-quick-read strong {
  display: block;
  margin-top: 7px;
  color: #f7f4ee;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.05;
}

.hero-quick-read small {
  margin-top: 7px;
  color: #d4cdc1;
  font-size: 0.82rem;
}

.hero-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-inline-links a,
.odds-summary-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.hero-inline-links a:hover,
.hero-inline-links a:focus-visible,
.odds-summary-links a:hover,
.odds-summary-links a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.odds-rules {
  gap: 16px;
}

.odds-rules-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(244, 201, 93, 0.045)),
    rgba(8, 10, 11, 0.68);
}

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

.odds-rule-control {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.odds-rule-control span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odds-rule-control select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.8);
  font: inherit;
  font-weight: 700;
}

.odds-rule-control select:focus-visible {
  outline: 2px solid #4de0c2;
  outline-offset: 2px;
}

.odds-rule-control select:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.odds-rule-control small {
  color: #cabfaf;
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.odds-rule-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.odds-rule-card--best {
  border-color: rgba(77, 224, 194, 0.34);
  background: rgba(77, 224, 194, 0.08);
}

.odds-rule-card--warning {
  border-color: rgba(244, 201, 93, 0.34);
  background: rgba(244, 201, 93, 0.07);
}

.odds-rule-card span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.odds-rule-card--warning span {
  color: #f4c95d;
}

.odds-rule-card strong {
  color: #f7f4ee;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.odds-rule-card p {
  margin: 0;
  color: #d4cdc1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.odds-rules-note,
.odds-variant-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #d4cdc1;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.55;
}

.odds-variant-compare {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

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

.variant-compare-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.6);
}

.variant-compare-card--active {
  border-color: rgba(77, 224, 194, 0.42);
  background: rgba(77, 224, 194, 0.08);
}

.variant-compare-card span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.variant-compare-card strong {
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.35;
}

.variant-compare-card p {
  margin: 0;
  color: #d4cdc1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.odds-decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.odds-decision {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.68);
}

.odds-decision--side {
  border-color: rgba(244, 201, 93, 0.28);
  background: rgba(244, 201, 93, 0.06);
}

.odds-decision--best {
  border-color: rgba(77, 224, 194, 0.42);
  background: rgba(77, 224, 194, 0.08);
}

.odds-decision--avoid {
  border-color: rgba(244, 201, 93, 0.42);
  background: rgba(244, 201, 93, 0.08);
}

.odds-decision span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.odds-decision--avoid span {
  color: #f4c95d;
}

.odds-decision strong {
  color: #f7f4ee;
  font-size: clamp(1.25rem, 2.7vw, 1.8rem);
  line-height: 1.05;
}

.odds-decision p {
  margin: 0;
  color: #ddd6c9;
  line-height: 1.5;
}

.odds-decision-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.odds-decision-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.odds-decision-links a::after {
  flex: 0 0 auto;
  color: #4de0c2;
  content: "->";
}

.odds-decision-links a:hover,
.odds-decision-links a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.odds-decision b {
  color: #f7f4ee;
}

.odds-decision a,
.section-action a,
.odds-routine a {
  color: #4de0c2;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.odds-decision a:hover,
.odds-decision a:focus-visible,
.section-action a:hover,
.section-action a:focus-visible,
.odds-routine a:hover,
.odds-routine a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.odds-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.11), rgba(244, 201, 93, 0.06)),
    rgba(8, 10, 11, 0.7);
}

.odds-action-panel--beginner {
  align-items: start;
}

.odds-action-panel h3 {
  margin: 0;
  color: #f7f4ee;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.odds-action-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #d4cdc1;
  line-height: 1.6;
}

.odds-action-links {
  display: grid;
  gap: 10px;
}

.odds-action-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.odds-action-links a::after {
  flex: 0 0 auto;
  color: #4de0c2;
  content: "->";
}

.odds-action-links a:hover,
.odds-action-links a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  background: rgba(77, 224, 194, 0.1);
  outline: 0;
}

.odds-beginner-list {
  display: grid;
  gap: 10px;
}

.odds-beginner-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.odds-beginner-card span {
  color: #cabfaf;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.odds-beginner-card strong {
  color: #f7f4ee;
  font-size: 1.02rem;
  line-height: 1.2;
}

.odds-beginner-card p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.45;
}

.odds-beginner-card:hover,
.odds-beginner-card:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.odds-beginner-card:hover span,
.odds-beginner-card:hover strong,
.odds-beginner-card:hover p,
.odds-beginner-card:focus-visible span,
.odds-beginner-card:focus-visible strong,
.odds-beginner-card:focus-visible p {
  color: #07100f;
}

.tool-jumpbar {
  position: sticky;
  top: 66px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: -26px auto 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.88);
  backdrop-filter: blur(16px);
}

.tool-jumpbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.tool-jumpbar a:hover,
.tool-jumpbar a:focus-visible {
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.tool-jumpbar a[aria-current="page"],
.tool-jumpbar a[aria-current="step"] {
  color: #07100f;
  background: #f4c95d;
  box-shadow: 0 0 0 1px rgba(244, 201, 93, 0.32), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.home-jumpbar {
  margin-top: 14px;
}

.lesson-progress {
  position: sticky;
  top: 130px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 8px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.82);
  backdrop-filter: blur(16px);
}

.lesson-progress a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.lesson-progress span {
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid rgba(244, 201, 93, 0.82);
  border-radius: 5px;
  background: rgba(244, 201, 93, 0.08);
}

.lesson-progress span::after {
  width: 8px;
  height: 5px;
  border: solid #07100f;
  border-width: 0 0 2px 2px;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.lesson-progress strong {
  color: #f4c95d;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.lesson-progress a:hover,
.lesson-progress a:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  color: #07100f;
  background: #4de0c2;
  outline: 0;
}

.lesson-progress a[aria-current="page"],
.lesson-progress a[aria-current="step"] {
  border-color: rgba(77, 224, 194, 0.62);
  color: #07100f;
  background: #4de0c2;
}

.lesson-progress a:hover span,
.lesson-progress a:focus-visible span,
.lesson-progress a[aria-current="page"] span,
.lesson-progress a[aria-current="step"] span {
  border-color: #07100f;
  background: #f4c95d;
}

.lesson-progress a:hover span::after,
.lesson-progress a:focus-visible span::after,
.lesson-progress a[aria-current="page"] span::after,
.lesson-progress a[aria-current="step"] span::after {
  opacity: 1;
}

.lesson-progress a:hover strong,
.lesson-progress a:focus-visible strong,
.lesson-progress a[aria-current="page"] strong,
.lesson-progress a[aria-current="step"] strong {
  color: #07100f;
}

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

.path-summary article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 0;
  padding: 18px;
  border-color: rgba(77, 224, 194, 0.22);
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(255, 255, 255, 0.045)),
    rgba(8, 10, 11, 0.62);
}

.path-summary span {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-summary strong {
  color: #f7f4ee;
  font-size: 1.08rem;
  line-height: 1.2;
}

.path-summary p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.path-summary a,
.analysis-row a {
  color: #4de0c2;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.path-summary a:hover,
.path-summary a:focus-visible,
.analysis-row a:hover,
.analysis-row a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.odds-tool {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.odds-snapshot {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(77, 224, 194, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.1), rgba(244, 201, 93, 0.055)),
    rgba(8, 10, 11, 0.78);
}

.odds-snapshot__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.odds-snapshot__head h3 {
  margin: 0;
  color: #f7f4ee;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.odds-snapshot-table,
.odds-table,
.side-bet-table {
  width: 100%;
  border-collapse: collapse;
}

.odds-snapshot-table caption,
.odds-table caption,
.side-bet-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.odds-snapshot-table thead,
.odds-snapshot-table tbody,
.odds-table thead,
.odds-table tbody,
.side-bet-table thead,
.side-bet-table tbody {
  display: contents;
}

.odds-snapshot-row {
  display: grid;
  grid-template-columns: 0.75fr 0.72fr 0.82fr 1.8fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.odds-snapshot-row th,
.odds-snapshot-row td {
  min-width: 0;
  padding: 13px 16px;
  color: #ddd6c9;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.odds-snapshot-row strong {
  color: #f7f4ee;
}

.odds-snapshot-row--head th {
  color: #07100f;
  background: #4de0c2;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.odds-snapshot-row--best {
  box-shadow: inset 4px 0 0 #4de0c2;
  background: rgba(77, 224, 194, 0.08);
}

.odds-snapshot-row--warning {
  box-shadow: inset 4px 0 0 #f4c95d;
  background: rgba(244, 201, 93, 0.07);
}

.odds-snapshot-row--side {
  background: rgba(255, 255, 255, 0.035);
}

.odds-snapshot-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.odds-snapshot-note strong {
  flex: 0 0 auto;
  color: #f4c95d;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odds-snapshot-note span {
  color: #ddd6c9;
  line-height: 1.5;
}

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

.odds-guide__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.62);
}

.odds-guide__item > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #07100f;
  background: #f4c95d;
  font-weight: 900;
}

.odds-guide__item strong {
  display: block;
  color: #f7f4ee;
  font-size: 1rem;
}

.odds-guide__item p {
  margin: 7px 0 0;
  color: #d4cdc1;
  font-size: 0.94rem;
  line-height: 1.5;
}

.odds-guide__item--best {
  border-color: rgba(77, 224, 194, 0.34);
  background: rgba(77, 224, 194, 0.08);
}

.odds-guide__item--best > span {
  background: #4de0c2;
}

.odds-guide__item--warning {
  border-color: rgba(244, 201, 93, 0.34);
  background: rgba(244, 201, 93, 0.07);
  box-shadow: inset 4px 0 0 #f4c95d;
}

.odds-guide__item--warning > span {
  background: #f4c95d;
}

.odds-guide__item--avoid {
  border-color: rgba(244, 201, 93, 0.34);
}

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

.metric-card {
  min-height: 0;
  padding: 18px;
  border-color: rgba(77, 224, 194, 0.22);
  background: rgba(77, 224, 194, 0.065);
}

.metric-card span {
  display: block;
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: 1.08rem;
}

.metric-card p {
  margin-top: 10px;
  font-size: 0.94rem;
}

.odds-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 16px;
  align-items: start;
}

.odds-card {
  padding: 22px;
}

.odds-card--featured {
  padding: 0;
  overflow: hidden;
}

.odds-card__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.odds-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(77, 224, 194, 0.32);
  border-radius: 999px;
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.odds-row {
  display: grid;
  grid-template-columns: 0.75fr 0.65fr 0.75fr 0.85fr 1.35fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.odds-row th,
.odds-row td {
  min-width: 0;
  padding: 16px;
  color: #ddd6c9;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.odds-row th:first-child,
.side-bet-row th:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.odds-row strong {
  color: #f7f4ee;
}

.odds-row--head th {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #07100f;
  font-size: 0.84rem;
  font-weight: 900;
  background: #4de0c2;
}

.odds-row--best {
  background: rgba(77, 224, 194, 0.08);
}

.odds-row--warning {
  background: rgba(244, 201, 93, 0.07);
}

.bet-meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 12, 11, 0.32);
}

.bet-meaning-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.bet-meaning-card--best {
  border-color: rgba(77, 224, 194, 0.34);
  background: rgba(77, 224, 194, 0.075);
}

.bet-meaning-card--warning {
  border-color: rgba(244, 201, 93, 0.34);
  background: rgba(244, 201, 93, 0.065);
}

.bet-meaning-card span {
  color: #4de0c2;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bet-meaning-card--warning span {
  color: #f4c95d;
}

.bet-meaning-card strong {
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.2;
}

.bet-meaning-card p {
  margin: 0;
  color: #d4cdc1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(7, 16, 15, 0.3);
  border-radius: 999px;
  color: #07100f;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 900;
}

.tip::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(280px, 72vw);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f4ee;
  background: #111618;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  content: attr(data-tip);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.tip--dark {
  border-color: rgba(77, 224, 194, 0.35);
  color: #4de0c2;
  background: rgba(77, 224, 194, 0.12);
}

.odds-glossary dl {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.odds-glossary div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.odds-glossary dt {
  color: #f4c95d;
  font-weight: 900;
}

.odds-glossary dd {
  margin: 7px 0 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.glossary-hero {
  align-items: center;
}

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

.glossary-card {
  min-height: 0;
  border-color: rgba(77, 224, 194, 0.2);
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(255, 255, 255, 0.05)),
    rgba(8, 10, 11, 0.62);
}

.glossary-card:target {
  border-color: rgba(244, 201, 93, 0.62);
  box-shadow: 0 0 0 2px rgba(244, 201, 93, 0.12);
}

.glossary-card h3,
.mistake-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.glossary-card strong {
  display: block;
  margin-top: 18px;
  color: #f4c95d;
  line-height: 1.45;
}

.glossary-table .analysis-row {
  grid-template-columns: 0.75fr 1.2fr 1fr 1.15fr;
}

.mistake-grid article {
  min-height: 0;
  border-color: rgba(244, 201, 93, 0.2);
}

.glossary-playbook {
  padding-bottom: 84px;
}

.module-card a,
.strategy-card a,
.strategy-comparison a,
.checklist-card a,
.strategy-drill a {
  color: #4de0c2;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.module-card a:hover,
.module-card a:focus-visible,
.strategy-card a:hover,
.strategy-card a:focus-visible,
.strategy-comparison a:hover,
.strategy-comparison a:focus-visible,
.checklist-card a:hover,
.checklist-card a:focus-visible,
.strategy-drill a:hover,
.strategy-drill a:focus-visible {
  color: #f4c95d;
  outline: 0;
}

.side-bet-table {
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.side-bet-row {
  display: grid;
  grid-template-columns: 0.9fr 0.75fr 0.75fr 1.1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.side-bet-row:first-child {
  border-top: 0;
}

.side-bet-row th,
.side-bet-row td {
  min-width: 0;
  padding: 16px;
  color: #ddd6c9;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.side-bet-row strong {
  color: #f7f4ee;
}

.side-bet-row--head th {
  color: #07100f;
  font-size: 0.84rem;
  font-weight: 900;
  background: #f4c95d;
}

.section-action {
  margin: 14px 0 0;
  color: #ddd6c9;
  line-height: 1.55;
}

.side-bet-meaning {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.side-bet-meaning strong {
  color: #f4c95d;
  line-height: 1.35;
}

.side-bet-meaning span {
  color: #ddd6c9;
  line-height: 1.55;
}

.odds-routine {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding-bottom: 84px;
}

.odds-routine h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.odds-routine ol {
  margin: 0;
  padding-left: 22px;
}

.odds-routine > div p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #d4cdc1;
  line-height: 1.6;
}

.table-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.table-checklist li {
  position: relative;
  min-height: 0;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.62);
  color: #d7d0c5;
  line-height: 1.55;
}

.table-checklist li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #4de0c2;
  box-shadow: 0 0 18px rgba(77, 224, 194, 0.42);
  content: "";
}

.table-checklist strong {
  color: #f7f4ee;
}

.odds-faq {
  padding-bottom: 90px;
}

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

.faq-grid--cards {
  align-items: stretch;
}

.faq-card {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.68);
}

.faq-card h3 {
  margin: 0;
  padding: 17px 18px 10px;
  color: #f7f4ee;
  font-size: 1.08rem;
  line-height: 1.35;
}

.faq-card p {
  margin: 0;
  padding: 0 18px 18px;
  color: #d4cdc1;
  line-height: 1.58;
}

.faq-grid details {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.68);
}

.faq-grid details[open] {
  border-color: rgba(77, 224, 194, 0.34);
  background: rgba(77, 224, 194, 0.075);
}

.faq-grid summary {
  position: relative;
  min-height: 58px;
  padding: 17px 48px 17px 18px;
  color: #f7f4ee;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.3;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  position: absolute;
  top: 17px;
  right: 18px;
  color: #4de0c2;
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 0;
  padding: 0 18px 18px;
  color: #d4cdc1;
  line-height: 1.58;
}

.strategy-comparison {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.strategy-comparison__row {
  display: grid;
  grid-template-columns: 1fr 0.65fr 0.75fr 1.35fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.strategy-comparison__row:first-child,
#strategyRows .strategy-comparison__row:first-child {
  border-top: 0;
}

.strategy-comparison__row span {
  min-width: 0;
  padding: 16px;
  color: #ddd6c9;
  line-height: 1.45;
}

.strategy-comparison__row strong {
  color: #f7f4ee;
}

.strategy-comparison__row small {
  display: block;
  margin-top: 6px;
  color: #cabfaf;
  font-size: 0.78rem;
  line-height: 1.35;
}

.strategy-comparison__row--head span {
  color: #07100f;
  font-size: 0.84rem;
  font-weight: 900;
  background: #4de0c2;
}

.strategy-comparison__row--best {
  background: rgba(77, 224, 194, 0.08);
}

.strategy-comparison__row--lowest-risk {
  box-shadow: inset 4px 0 0 #f4c95d;
  background:
    linear-gradient(90deg, rgba(244, 201, 93, 0.12), rgba(255, 255, 255, 0.04));
}

.strategy-comparison__row--baseline {
  position: relative;
}

.strategy-comparison__row--best.strategy-comparison__row--lowest-risk {
  background:
    linear-gradient(90deg, rgba(244, 201, 93, 0.12), rgba(77, 224, 194, 0.1));
}

.baseline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 8px;
  border: 1px solid rgba(244, 201, 93, 0.42);
  border-radius: 999px;
  color: #f4c95d;
  background: rgba(244, 201, 93, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.strategy-decision-card {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.052);
}

.strategy-decision-card--best {
  border-color: rgba(77, 224, 194, 0.42);
  background: rgba(77, 224, 194, 0.08);
}

.strategy-decision-card--lowest-risk {
  border-color: rgba(244, 201, 93, 0.48);
  box-shadow: inset 0 0 0 1px rgba(244, 201, 93, 0.12);
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.12), rgba(255, 255, 255, 0.05));
}

.strategy-decision-card--baseline {
  border-color: rgba(244, 201, 93, 0.5);
}

.strategy-decision-card > span {
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.strategy-decision-card--lowest-risk > span {
  color: #f4c95d;
}

.strategy-decision-card h3 {
  margin: 0;
  color: #f7f4ee;
  font-size: 1.22rem;
  line-height: 1.15;
}

.strategy-decision-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.strategy-decision-card div {
  display: grid;
  gap: 4px;
}

.strategy-decision-card dt {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strategy-decision-card dd {
  margin: 0;
  color: #ddd6c9;
  line-height: 1.45;
}

.comparison-history-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.48);
}

.comparison-history-panel .history-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.comparison-history-panel p {
  margin: 6px 0 0;
  color: #cabfaf;
  line-height: 1.45;
}

.comparison-history {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-history li {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(140px, 0.9fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #d4cdc1;
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.35;
}

.comparison-history span {
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-history strong {
  color: #f7f4ee;
  line-height: 1.3;
}

.comparison-history small {
  color: #cabfaf;
  line-height: 1.4;
}

.comparator-note-grid article {
  min-height: 128px;
}

.forum-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: start;
  padding: 0 0 58px;
}

.forum-panel,
.forum-board {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 11, 0.72);
}

.forum-panel {
  position: sticky;
  top: 84px;
  padding: 24px;
}

.forum-form {
  display: grid;
  gap: 16px;
}

.post-quality-note {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.07);
}

.post-quality-note strong {
  color: #f7f4ee;
  line-height: 1.45;
}

.post-quality-note p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.55;
}

.template-picker {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(77, 224, 194, 0.24);
  border-radius: 8px;
  background: rgba(77, 224, 194, 0.07);
}

.template-picker legend {
  padding: 0 8px;
  color: #4de0c2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.template-actions {
  display: grid;
  gap: 10px;
}

.form-guidance {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.06);
}

.form-guidance strong {
  color: #f7f4ee;
  font-size: 0.98rem;
  line-height: 1.35;
}

.form-guidance ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.form-guidance li {
  color: #d4cdc1;
  line-height: 1.45;
}

.template-button,
.featured-thread {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f7f4ee;
  background: rgba(8, 10, 11, 0.5);
  text-align: left;
}

.template-button {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 12px;
}

.template-button span,
.featured-thread span {
  color: #f4c95d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.template-button small,
.featured-thread small {
  color: #cabfaf;
  line-height: 1.4;
}

.template-button:hover,
.template-button:focus-visible,
.template-button[aria-pressed="true"],
.featured-thread:hover,
.featured-thread:focus-visible {
  border-color: rgba(77, 224, 194, 0.58);
  background: rgba(77, 224, 194, 0.1);
  outline: 0;
}

.forum-board {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.forum-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: end;
}

.forum-toolbar h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.forum-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, 0.45fr) minmax(144px, 0.5fr);
  gap: 10px;
}

.forum-controls label,
.comment-form label {
  display: grid;
  gap: 8px;
}

.forum-controls span,
.comment-form span {
  color: #cabfaf;
  font-size: 0.84rem;
  font-weight: 900;
}

.discovery-helper {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #d4cdc1;
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.5;
}

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

.forum-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #cabfaf;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.forum-tab:hover,
.forum-tab:focus-visible,
.forum-tab[aria-pressed="true"] {
  border-color: rgba(77, 224, 194, 0.58);
  color: #f7f4ee;
  background: rgba(77, 224, 194, 0.11);
  outline: 0;
}

.community-standards {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(8, 10, 11, 0.64);
}

.community-standards__heading h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.1;
}

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

.forum-lane-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.community-standards__grid article {
  min-height: 0;
  padding: 16px;
  border-color: rgba(244, 201, 93, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.community-standards__grid strong {
  display: block;
  margin-bottom: 8px;
  color: #f4c95d;
  font-size: 0.88rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.community-standards__grid p {
  margin: 0;
  color: #d4cdc1;
  line-height: 1.5;
}

.featured-threads {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(77, 224, 194, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 224, 194, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(8, 10, 11, 0.62);
}

.featured-threads__heading h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.1;
}

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

.featured-thread {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 154px;
  padding: 14px;
}

.featured-thread strong {
  color: #f7f4ee;
  line-height: 1.25;
}

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

.forum-stats article {
  min-height: 0;
  padding: 16px;
  border-color: rgba(77, 224, 194, 0.22);
  background: rgba(77, 224, 194, 0.065);
}

.forum-stats span {
  display: block;
  color: #4de0c2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.forum-stats strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
}

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

.thread-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.thread-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.24fr);
  gap: 18px;
  padding: 22px;
}

.thread-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.1;
}

.thread-card p {
  white-space: pre-wrap;
}

.thread-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  text-align: right;
}

.thread-meta strong {
  color: #f7f4ee;
}

.thread-meta time,
.thread-meta span,
.comment time {
  color: #cabfaf;
  font-size: 0.84rem;
  font-weight: 800;
}

.comment-list {
  display: grid;
  gap: 10px;
  padding: 0 22px 18px;
}

.comment {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 12, 11, 0.44);
}

.comment strong {
  color: #4de0c2;
}

.comment p {
  margin-top: 8px;
}

.comment-form {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.comment-form textarea {
  min-height: 82px;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    width: 100%;
    padding: 12px;
    background: rgba(8, 10, 11, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav,
  .primary-nav {
    width: 100%;
    gap: 8px;
  }

  .primary-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .topbar > nav:not(.primary-nav) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  nav a {
    min-height: 44px;
  }

  .topbar > nav:not(.primary-nav) a {
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    text-align: center;
  }

  .topbar > nav:not(.primary-nav) a[aria-current="page"] {
    border-color: rgba(77, 224, 194, 0.5);
    background: rgba(77, 224, 194, 0.12);
    box-shadow: inset 3px 0 0 #4de0c2;
  }

  .nav-group {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px 8px;
    width: auto;
    min-height: 0;
    min-width: 164px;
    padding: 8px;
    scroll-snap-align: start;
  }

  .nav-group--primary {
    flex: 0 0 auto;
    min-width: 198px;
  }

  .nav-group span {
    display: inline-flex;
    width: 100%;
    margin-bottom: 2px;
    font-size: 0.64rem;
    line-height: 1;
  }

  .nav-group a {
    justify-content: center;
    min-height: 38px;
    padding: 0 9px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
  }

  .nav-group[aria-label="Community"] {
    display: inline-flex;
  }

  .tool-jumpbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tool-jumpbar::-webkit-scrollbar {
    display: none;
  }

  .tool-jumpbar a {
    flex: 0 0 auto;
    min-width: max-content;
    scroll-snap-align: start;
  }

  .lesson-progress {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lesson-progress::-webkit-scrollbar {
    display: none;
  }

  .lesson-progress a {
    flex: 0 0 auto;
    min-width: 116px;
    scroll-snap-align: start;
  }

  .site-shell {
    width: min(100% - 24px, 1120px);
    padding: 28px 0 56px;
  }

  .hero {
    padding: 32px 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4.4rem);
  }

  .lede {
    margin-top: 20px;
    font-size: 1.02rem;
  }

  .method-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .method-strip span {
    min-height: 42px;
    font-size: 0.76rem;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    min-height: 50px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions--path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .hero-actions .button-primary {
    min-height: 54px;
  }

  .hero-actions .button-secondary {
    min-height: 48px;
  }

  .hero-inline-links,
  .odds-summary-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-inline-links a,
  .odds-summary-links a {
    width: 100%;
  }

  .hero-actions--path .button-primary,
  .hero-actions--path .button-secondary {
    width: 100%;
    min-height: 68px;
    padding: 12px;
  }

  .hero-actions--path strong {
    font-size: 0.92rem;
  }

  .home-hero-actions {
    max-width: none;
  }

  .home-pathway {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .home-pathway a {
    min-height: 104px;
    padding: 12px;
  }

  .home-pathway strong {
    font-size: 0.94rem;
  }

  .home-pathway small {
    font-size: 0.8rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .trust-strip li {
    min-height: 0;
    padding: 14px;
  }

  .path-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .start-here-card a {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .start-here-card a small {
    padding-left: 0;
  }

  .quick-links {
    padding-top: 26px;
  }

  .quick-link-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 106px;
    padding: 16px;
  }

  .quick-link-icon {
    width: 44px;
    height: 44px;
  }

  .training-path,
  .section-heading,
    .quick-link-grid,
    .starter-grid,
    .quick-start-strip,
    .result-compare-strip,
    .history-compare,
    .simulator-steps,
    .checklist-grid,
    .link-card-grid,
    .rank-grid,
    .hand-grid,
    .scenario-strip,
    .preset-actions,
    .result-grid,
    .probability-guide,
    .results-summary,
    .draw-detail,
    .simulator-display,
    .simulator-ledger,
    .simulator-rail,
    .simulator-control-grid,
    .workflow-steps,
    .reader-grid,
    .odds-decision-strip,
    .odds-action-panel,
    .odds-action-links,
    .odds-guide,
    .odds-rules-controls,
    .odds-rules-summary,
    .variant-compare-grid,
    .faq-grid,
    .metric-strip,
    .bet-meaning-grid,
    .comparator-input-grid,
    .coach-input-grid,
    .coach-select-grid,
    .coach-prompt-structure,
    .coach-category-strip,
    .coach-example-grid,
    .coach-progress-grid,
    .coach-scoreboard,
    .coach-summary-grid,
    .coach-results-layout,
    .coach-feedback-grid,
    .coach-journal-entry__head,
    .comparator-summary,
    .hero-pathway,
    .session-checklist__grid,
    .module-outcomes__items,
    .beginner-start,
    .beginner-start__steps,
    .level-grid,
    .self-test-grid {
    grid-template-columns: 1fr;
  }

  .strategy-hero,
  .tool-hero,
  .course-hero,
  .comparison-reader,
  .coach-disclaimer,
  .coach-examples,
    .tool-toolbar,
    .calculator-shell,
    .simulator-shell,
    .comparator-shell,
    .coach-shell,
    .odds-layout,
  .forum-shell,
  .forum-toolbar,
  .forum-controls,
  .community-standards__grid,
  .forum-stats,
  .featured-thread-strip,
  .thread-card__head,
  .comment-form,
  .strategy-grid,
  .glossary-grid,
  .mistake-grid,
    .example-grid,
  .trainer-shell,
  .path-summary,
  .course-completion,
  .completion-list,
  .session-checklist__footer,
  .lesson-grid,
  .decision-grid,
  .practice-mode-grid,
  .case-grid,
  .testimonial-grid,
  .playbook,
  .odds-routine,
  .course-roadmap,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .strategy-card p a,
  .strategy-card li a {
    display: inline;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    text-align: inherit;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .strategy-hero,
  .course-hero,
  .community-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .tool-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .quick-start-strip,
  .result-compare-strip,
  .history-compare,
  .simulator-steps {
    gap: 8px;
  }

  .coach-disclaimer,
  .coach-examples,
  .coach-helper-panel,
  .coach-progress-card,
  .coach-risk-panel,
  .coach-feedback-grid article,
  .coach-action-plan,
  .recommendation-box {
    padding: 14px;
  }

  .coach-category-strip,
  .coach-example-grid,
  .coach-scoreboard,
  .coach-summary-grid,
  .coach-feedback-grid {
    gap: 10px;
  }

  .coach-results-layout {
    gap: 12px;
  }

  .coach-scoreboard article {
    min-height: 94px;
    padding: 14px;
  }

  .coach-journal-card {
    position: static;
  }

  .coach-scoreboard strong {
    font-size: 1.35rem;
  }

  .coach-journal-entry__head {
    align-items: start;
  }

  .recommendation-lead {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recommendation-lead span {
    justify-self: start;
  }

  .odds-hero {
    gap: 16px;
    width: min(calc(100vw - 24px), 1180px);
    padding-bottom: 30px;
    overflow: hidden;
  }

  .odds-hero > div,
  .odds-summary,
  .odds-tool {
    max-width: calc(100vw - 24px);
  }

  .odds-hero > div,
  .odds-summary {
    width: min(100%, 366px);
  }

  .odds-hero h1 {
    max-width: 340px;
    font-size: clamp(1.55rem, 5.4vw, 2rem);
    overflow-wrap: break-word;
  }

  .odds-hero .lede {
    max-width: 340px;
    margin-top: 14px;
  }

  .hero-quick-read {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-quick-read div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
    padding: 10px 12px;
    overflow: hidden;
  }

  .hero-quick-read strong,
  .hero-quick-read small {
    margin-top: 0;
  }

  .hero-quick-read small {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .course-curriculum-map {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .odds-summary__header {
    gap: 5px;
    padding: 12px;
  }

  .odds-summary__header span {
    font-size: 0.72rem;
  }

  .odds-summary__header strong {
    font-size: clamp(1.12rem, 5vw, 1.45rem);
  }

  .odds-summary-row {
    grid-template-columns: minmax(72px, 1fr) minmax(58px, 0.72fr) minmax(70px, 0.8fr);
  }

  .odds-summary-row span {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .odds-summary p {
    padding: 11px 12px 12px;
    font-size: 0.82rem;
  }

  .tool-jumpbar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100% - 24px, 366px);
    max-width: calc(100vw - 24px);
    margin-top: 0;
    gap: 8px;
  }

  .tool-jumpbar a {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .lesson-progress {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 1180px);
    margin-top: 10px;
  }

  .lesson-progress a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 12px;
  }

  .tool-toolbar {
    padding: 18px;
  }

  .tool-workflow {
    margin-top: 14px;
    padding: 18px;
  }

  .odds-rules-panel {
    padding: 18px;
  }

  .comparison-reader {
    margin-top: 14px;
    padding: 18px;
  }

  .workflow-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 0;
    padding: 14px;
  }

  .workflow-step > span {
    width: 36px;
    height: 36px;
  }

  .workflow-step strong {
    font-size: 1rem;
  }

  .workflow-step p {
    font-size: 0.9rem;
  }

  .forum-panel {
    position: static;
  }

  .thread-meta {
    text-align: left;
  }

  .community-standards__grid {
    gap: 8px;
  }

  .toolbar-actions {
    justify-content: stretch;
  }

  .toolbar-actions .button-primary,
  .toolbar-actions .button-secondary {
    flex: 1 1 160px;
  }

  .tool-options,
  .comparator-preset-actions,
  .strategy-decision-cards,
  .comparison-assessment,
  .tool-link-grid {
    grid-template-columns: 1fr;
  }

  .odds-rules-controls,
  .odds-rules-summary,
  .variant-compare-grid {
    gap: 8px;
  }

  .tool-options label,
  .field,
  .rank-input,
  .shoe-state-panel,
  .next-step-panel {
    min-width: 0;
  }

  .odds-rule-control,
  .odds-rule-card,
  .variant-compare-card {
    padding: 14px;
  }

  .shoe-state-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shoe-state-panel .button-secondary {
    width: 100%;
  }

  .course-levels,
  .course-self-test {
    width: min(100% - 24px, 1180px);
    padding: 18px;
  }

  .next-step-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-options label {
    min-height: 58px;
    padding: 10px 12px;
  }

  .trainer-summary {
    position: static;
  }

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

  .score-grid,
  .streak-panel,
  .scenario-breakdown__grid,
  .coach-panel__grid {
    grid-template-columns: 1fr;
  }

  .trainer-card__body,
  .trainer-actions,
  .trainer-summary,
  .printable-checklist {
    padding: 18px;
  }

  .trainer-actions,
  .checklist-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trainer-actions .button-primary,
  .trainer-actions .button-secondary,
  .checklist-actions .button-primary,
  .checklist-actions .button-secondary,
  .trainer-reveal {
    width: 100%;
  }

  .trainer-meta {
    gap: 8px;
  }

  .trainer-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .scenario-breakdown {
    padding: 14px;
  }

  .scenario-breakdown__card {
    padding: 12px;
  }

  .coach-panel {
    padding: 14px;
  }

  .coach-priority,
  .coach-history,
  .coach-session-plan {
    padding: 12px;
  }

  .coach-history__header {
    align-items: flex-start;
  }

  .coach-next-drill .button-secondary {
    width: 100%;
  }

  .printable-checklist textarea {
    min-height: 520px;
    font-size: 0.88rem;
  }

  .tool-options label small {
    font-size: 0.74rem;
  }

  .next-step-panel .button-primary {
    justify-self: stretch;
  }

  .next-step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .next-step-actions .button-primary,
  .next-step-actions .button-secondary {
    width: 100%;
  }

  .analysis-table {
    border: 0;
  }

  .analysis-row,
  .analysis-row--head {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
  }

  .analysis-row--head {
    display: none;
  }

  .strategy-drill summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-right: 64px;
    position: relative;
  }

  .strategy-drill summary::after,
  .quiz-card summary::after {
    position: absolute;
    top: 14px;
    right: 16px;
  }

  .strategy-drill summary small {
    margin-left: 0;
  }

  .quiz-card summary {
    padding-right: 58px;
    position: relative;
  }

  .odds-card__heading {
    flex-direction: column;
  }

  .odds-snapshot__head {
    flex-direction: column;
    padding: 16px;
  }

  .odds-snapshot-row {
    grid-template-columns: 1fr;
    margin: 10px 0;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
  }

  .odds-snapshot-row--head {
    display: none;
  }

  .odds-snapshot-row th,
  .odds-snapshot-row td {
    display: grid;
    grid-template-columns: minmax(82px, 0.28fr) minmax(0, 1fr);
    gap: 12px;
    padding: 8px 14px;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .odds-snapshot-row th::before,
  .odds-snapshot-row td::before {
    color: #cabfaf;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .history-heading,
  .calculation-history li {
    grid-template-columns: 1fr;
  }

  .history-heading {
    display: grid;
  }

  .history-heading .button-secondary,
  .preset-actions .button-secondary {
    width: 100%;
  }

  .simulator-actions .button-primary,
  .simulator-actions .button-secondary {
    width: 100%;
  }

  .preset-button {
    min-height: 68px;
  }

  .comparator-summary div {
    padding: 12px;
  }

  .comparator-summary__wide {
    grid-column: auto;
  }

  .comparator-summary strong {
    font-size: 1rem;
  }

  .comparator-summary small {
    font-size: 0.8rem;
  }

  .comparison-history-panel {
    padding: 14px;
  }

  .comparison-history-panel .history-heading,
  .comparison-history li {
    grid-template-columns: 1fr;
  }

  .comparison-history-panel .history-heading {
    display: grid;
    align-items: start;
  }

  .comparison-history li {
    align-items: start;
    min-height: 0;
  }

  .comparator-shell {
    display: flex;
    flex-direction: column;
  }

  .comparator-panel {
    order: 2;
  }

  .comparator-results {
    order: 1;
  }

  .recommendation-lead {
    grid-template-columns: 1fr;
  }

  .recommendation-lead span {
    justify-self: start;
  }

  .decision-read {
    grid-template-columns: 1fr;
  }

  .calculation-history strong {
    text-align: left;
    white-space: normal;
  }

  .odds-row,
  .side-bet-row,
  .strategy-comparison__row {
    grid-template-columns: 1fr;
    margin: 10px 0;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
  }

  .odds-row--head,
  .side-bet-row--head,
  .strategy-comparison__row--head {
    display: none;
  }

  .odds-row th,
  .odds-row td,
  .side-bet-row th,
  .side-bet-row td,
  .strategy-comparison__row span {
    display: grid;
    grid-template-columns: minmax(92px, 0.32fr) minmax(0, 1fr);
    gap: 12px;
    padding: 8px 14px;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .strategy-comparison__row span {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .odds-row th::before,
  .odds-row td::before,
  .side-bet-row th::before,
  .side-bet-row td::before,
  .strategy-comparison__row span::before {
    color: #cabfaf;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .odds-row th:first-child,
  .side-bet-row th:first-child,
  .strategy-comparison__row span:first-child {
    display: grid;
    align-items: start;
  }

  .odds-row th:first-child .tip,
  .side-bet-row th:first-child .tip {
    justify-self: start;
  }

  .odds-action-panel {
    padding: 16px;
  }

  .odds-action-links a {
    align-items: flex-start;
  }

  .odds-snapshot-note {
    flex-direction: column;
  }

  .odds-card {
    padding: 18px;
  }

  .odds-card--featured {
    padding: 0;
  }

  .bet-meaning-grid {
    padding: 12px;
  }

  .side-bet-table {
    overflow: hidden;
  }

  .side-bet-meaning {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .module-card {
    grid-template-columns: 1fr;
    scroll-margin-top: 18px;
    padding: 18px;
  }

  .content-band,
  .analysis-section,
  .playbook,
  .course-roadmap,
  .beginner-start,
  .course-levels,
  .course-completion,
  .path-summary {
    scroll-margin-top: 18px;
  }

  .module-number {
    width: 48px;
    height: 48px;
  }

  .module-links {
    padding: 11px 12px;
  }

  .module-links a {
    white-space: normal;
  }

  .course-next-step {
    grid-template-columns: 1fr;
  }

  .course-next-step a {
    grid-column: auto;
  }

  .course-fast-start__actions {
    margin-top: 4px;
  }

  .lesson-grid {
    gap: 12px;
  }

  .lesson-check {
    padding: 14px;
  }

  .community-standards__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .topbar > nav:not(.primary-nav) {
    grid-template-columns: 1fr;
  }

  .nav-group,
  .nav-group[aria-label="Community"] {
    display: inline-flex;
  }

  .nav-group span {
    display: none;
  }

  .nav-group a {
    min-height: 40px;
    padding: 0 9px;
  }

  .method-strip {
    grid-template-columns: 1fr;
  }

  .home-hero-actions {
    gap: 10px;
  }

  .home-hero-actions .button-primary,
  .home-hero-actions .button-secondary {
    min-height: 50px;
    padding-inline: 14px;
  }

  .home-pathway {
    gap: 7px;
  }

  .home-pathway a {
    min-height: 98px;
    padding: 11px;
  }

  .hero-actions .button-primary,
  .hero-actions .button-secondary,
  .tool-jumpbar a,
  .quick-link-card {
    overflow-wrap: anywhere;
  }

  .odds-hero h1 {
    font-size: clamp(1.78rem, 8.4vw, 2.25rem);
  }

  .odds-hero .lede {
    font-size: 0.96rem;
    overflow-wrap: break-word;
  }

  .hero-quick-read div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

  .tool-jumpbar a {
    flex: initial;
    min-width: 0;
  }

  #learning-order,
  #quick-links,
  #training-path {
    scroll-margin-top: 18px;
  }
}
