:root {
  --chance-green: #007b55;
  --chance-green-dark: #064b3d;
  --chance-orange: #f49a19;
  --chance-navy: #10243e;
  --chance-soft: #edf8f5;
  --chance-line: #cfe0dc;
}

.chance-odds-page {
  --odds-yellow: var(--chance-orange);
  --odds-yellow-dark: #ce7900;
  --odds-ink: var(--chance-navy);
  --odds-panel: #092f32;
  --odds-panel-soft: #17484a;
  --odds-green: var(--chance-green);
  --odds-line: var(--chance-line);
  --odds-soft: var(--chance-soft);
  background: #f4f8fb;
}

.chance-odds-page .article-actions .button-primary,
.chance-odds-page .fortuna-registration-bar .button-primary,
.chance-odds-page .odds-final-cta .button-primary {
  border-color: var(--chance-orange);
  background: var(--chance-orange);
  color: #13243b;
  box-shadow: 0 9px 22px rgb(244 154 25 / 23%);
}

.chance-odds-page .article-actions .button-primary:hover,
.chance-odds-page .fortuna-registration-bar .button-primary:hover,
.chance-odds-page .odds-final-cta .button-primary:hover {
  border-color: #db8509;
  background: #db8509;
  color: #10243e;
}

.chance-odds-page .odds-hero-card {
  border-top-color: var(--chance-green);
}

.chance-odds-page .odds-hero-card figure {
  background: #031a27;
}

.chance-odds-page .odds-hero-card figure img {
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.chance-odds-page .odds-hero-verdict,
.chance-odds-page .odds-intent-card {
  border-color: #b8d8ce;
  background: #eff9f6;
}

.chance-odds-page .odds-hero-verdict span,
.chance-odds-page .odds-intent-card > span,
.chance-odds-page .odds-answer-grid article > span,
.chance-odds-page .odds-audit-notes article > span,
.chance-odds-page .odds-builder-grid article > span,
.chance-odds-page .odds-ticket-grid article > span,
.chance-odds-page .odds-limit-grid article > span,
.chance-odds-page .odds-method-grid article > span,
.chance-odds-page .author-review-grid span {
  color: #00694a;
}

.chance-odds-page .odds-intent-card a + a {
  border-top-color: #cae1d9;
}

.chance-answer-box {
  overflow: hidden;
  border-top: 5px solid var(--chance-green);
}

.chance-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.chance-snapshot-grid article {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--chance-line);
  border-radius: 10px;
  background: #fff;
}

.chance-snapshot-grid span,
.chance-proof-card span,
.chance-term-card span {
  display: block;
  color: var(--chance-green);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.chance-snapshot-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--chance-navy);
  font-size: 1.02rem;
}

.chance-snapshot-grid p {
  margin: 7px 0 0;
  color: #586571;
  font-size: .84rem;
  line-height: 1.5;
}

.chance-market-strip {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid #233b42;
  border-radius: 10px;
  background: #171b1d;
  scrollbar-width: thin;
}

.chance-market-strip span {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 7px;
  background: #24302c;
  color: #a5eb69;
  font-size: .78rem;
  font-weight: 850;
}

.chance-market-strip span:first-child {
  background: var(--chance-green);
  color: #fff;
}

.chance-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: start;
  margin: 22px 0;
}

.chance-proof-card {
  padding: 18px;
  border: 1px solid var(--chance-line);
  border-radius: 11px;
  background: #fff;
}

.chance-proof-card h3 {
  margin: 6px 0 9px;
}

.chance-proof-card p,
.chance-proof-card li {
  color: #536370;
  font-size: .87rem;
  line-height: 1.56;
}

.chance-proof-card ul {
  margin: 10px 0 0;
  padding-left: 19px;
}

.chance-evidence-figure {
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid #263536;
  border-radius: 11px;
  background: #111;
}

.chance-evidence-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.chance-evidence-figure.is-sidebar img {
  max-width: 202px;
  margin: 0 auto;
}

.chance-evidence-figure figcaption {
  padding: 11px 14px;
  color: #d7e0dd;
  background: #182220;
  font-size: .75rem;
  line-height: 1.5;
}

.chance-audit-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--chance-line);
  border-radius: 11px;
  background: #fff;
}

.chance-audit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 690px;
  font-size: .86rem;
}

.chance-audit-table th,
.chance-audit-table td {
  padding: 12px 11px;
  border-bottom: 1px solid #e0e8e5;
  text-align: left;
}

.chance-audit-table th {
  background: #0b332f;
  color: #fff;
  font-size: .74rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.chance-audit-table td:not(:first-child) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.chance-audit-table tbody tr:last-child td {
  border-bottom: 0;
}

.chance-audit-table .is-lower {
  color: #007452;
  font-weight: 900;
}

.chance-audit-note,
.chance-route-note,
.chance-method-note {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--chance-green);
  background: #edf8f5;
  color: #365460;
  line-height: 1.6;
}

.chance-route-note {
  border-left-color: var(--chance-orange);
  background: #fff6e8;
}

.chance-odds-page .odds-calculator {
  border-color: #9dcbbd;
  background: linear-gradient(145deg, #fbfffe 0%, #e7f6f1 100%);
}

.chance-odds-page .odds-calculator-head span {
  color: #00694a;
}

.chance-odds-page .odds-calculator-head > strong {
  background: #0a3735;
  color: #9bf1ca;
}

.chance-odds-page .odds-input-grid input:focus {
  border-color: var(--chance-green);
  box-shadow: 0 0 0 3px rgb(0 123 85 / 15%);
}

.chance-odds-page .odds-meter span {
  background: linear-gradient(90deg, var(--chance-green), #4abf8c);
}

.chance-value-calculator {
  border-color: #b4c5d8;
  background: linear-gradient(145deg, #fbfdff 0%, #eaf2fa 100%);
}

.chance-value-calculator .odds-input-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.chance-value-result > div {
  min-width: 0;
  padding: 15px;
  border: 1px solid #cad7e3;
  border-radius: 9px;
  background: #fff;
}

.chance-value-result span {
  display: block;
  min-height: 34px;
  color: #5f7182;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.chance-value-result strong {
  display: block;
  margin-top: 5px;
  color: var(--chance-navy);
  font-size: 1.15rem;
}

.chance-value-status {
  margin: 13px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.chance-value-status.is-positive { background: #dff6eb; color: #00643f; }
.chance-value-status.is-negative { background: #fff0ee; color: #9a2f25; }
.chance-value-status.is-neutral { background: #eef3f8; color: #3d5268; }

.chance-term-grid,
.chance-live-grid,
.chance-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 20px 0;
}

.chance-term-card,
.chance-live-grid article,
.chance-source-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--chance-line);
  border-radius: 10px;
  background: #fff;
}

.chance-term-card h3,
.chance-live-grid h3,
.chance-source-grid h3 {
  margin: 6px 0 8px;
  color: var(--chance-navy);
  font-size: 1rem;
}

.chance-term-card p,
.chance-live-grid p,
.chance-source-grid p {
  margin: 0;
  color: #586571;
  font-size: .86rem;
  line-height: 1.55;
}

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

.chance-compare-checklist li {
  position: relative;
  min-width: 0;
  padding: 15px 15px 15px 44px;
  border: 1px solid var(--chance-line);
  border-radius: 9px;
  background: #fff;
  color: #425765;
  line-height: 1.48;
}

.chance-compare-checklist li::before {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--chance-green);
  color: #fff;
  content: "✓";
  font-size: .72rem;
  font-weight: 950;
}

.chance-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.chance-faq-list details {
  min-width: 0;
  height: 100%;
  border: 1px solid #cbdcd7;
  border-radius: 10px;
  background: #fff;
}

.chance-faq-list summary {
  box-sizing: border-box;
  min-height: 70px;
  padding: 18px;
  color: var(--chance-navy);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.45;
}

.chance-faq-list details[open] summary {
  border-bottom: 1px solid #d7e4e0;
  background: #eff8f5;
}

.chance-faq-list details p {
  margin: 0;
  padding: 17px 18px 20px;
  color: #4c6070;
  line-height: 1.62;
}

.chance-odds-page .author-review-grid article {
  border-top-color: var(--chance-green);
}

.chance-odds-page .odds-final-cta {
  grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(circle at 100% 0, rgb(244 154 25 / 24%), transparent 32%),
    linear-gradient(135deg, #063c35, #10243e);
}

.chance-odds-page .odds-final-cta > div {
  min-width: 0;
}

.chance-odds-page .odds-final-cta > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.chance-odds-page .odds-final-cta .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  white-space: normal;
  text-align: center;
}

.chance-odds-page .odds-final-cta span {
  color: #ffbd5c;
}

@media (max-width: 980px) {
  .chance-snapshot-grid,
  .chance-value-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chance-term-grid,
  .chance-live-grid,
  .chance-source-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .chance-proof-layout,
  .chance-compare-checklist,
  .chance-faq-list {
    grid-template-columns: 1fr;
  }

  .chance-value-calculator .odds-input-grid {
    grid-template-columns: 1fr;
  }

  .chance-audit-table-wrap {
    border: 0;
    overflow: visible;
    background: transparent;
  }

  .chance-audit-table,
  .chance-audit-table tbody,
  .chance-audit-table tr,
  .chance-audit-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .chance-audit-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .chance-audit-table tr {
    margin-bottom: 12px;
    padding: 13px;
    border: 1px solid var(--chance-line);
    border-radius: 10px;
    background: #fff;
  }

  .chance-audit-table td {
    display: grid;
    grid-template-columns: minmax(130px, .9fr) 1.1fr;
    gap: 12px;
    padding: 7px 0;
    border: 0;
    white-space: normal;
  }

  .chance-audit-table td::before {
    color: #607183;
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .chance-audit-table td:first-child {
    display: block;
    padding-bottom: 11px;
    border-bottom: 1px solid #dce6e2;
    font-weight: 900;
  }

  .chance-audit-table td:first-child::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .chance-snapshot-grid,
  .chance-value-result {
    grid-template-columns: 1fr;
  }

  .chance-market-strip {
    margin-right: 0;
    margin-left: 0;
    border-radius: 10px;
  }

  .chance-odds-page .odds-final-cta > div:last-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .chance-evidence-figure figcaption {
    font-size: 11px;
  }

  .chance-faq-list summary {
    min-height: 56px;
  }

  .chance-odds-page input,
  .chance-odds-page button,
  .chance-odds-page .button {
    min-height: 48px;
  }
}
