.chance-brand-panel {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 32px;
  place-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 187, 36, .26), transparent 32%),
    linear-gradient(145deg, #006b49 0%, #00855b 100%);
  color: #fff;
  text-align: center;
}

.chance-brand-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: #ffb31a;
  content: "";
}

.chance-brand-panel strong {
  color: #ffb31a;
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .95;
}

.chance-brand-panel span {
  margin-top: 14px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chance-proof {
  margin: 22px 0;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #c9ded8;
  background: linear-gradient(180deg, #f4faf8 0%, #fff 100%);
}

.chance-proof__intro h2 {
  margin-top: 0;
}

.chance-proof__intro p:last-child {
  margin-bottom: 0;
}

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

.chance-proof-grid article {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d4e4df;
  background: #fff;
}

.chance-proof-grid h3 {
  margin: 10px 0 6px;
  font-size: 1.02rem;
}

.chance-proof-grid p {
  margin: 0;
  color: #40556c;
  font-size: .92rem;
}

.chance-proof-grid a {
  display: inline-flex;
  margin-top: 11px;
  color: #096b5d;
  font-size: .82rem;
  font-weight: 800;
}

.chance-proof__note,
.chance-score-formula {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-left: 3px solid #0b806d;
  background: #edf7f4;
  color: #344d63;
  font-size: .9rem;
  line-height: 1.6;
}

.chance-intent-hub {
  border-color: #c7dce8;
  background: linear-gradient(145deg, #f4f9fc 0%, #fff 64%);
}

.chance-intent-hub > h2 {
  max-width: 760px;
}

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

.chance-intent-grid a {
  display: flex;
  min-width: 0;
  min-height: 138px;
  padding: 17px;
  border: 1px solid #cbdde8;
  background: #fff;
  color: #071f3d;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.chance-intent-grid a:hover {
  border-color: #168670;
  box-shadow: 0 10px 24px rgba(7, 31, 61, .09);
  transform: translateY(-2px);
}

.chance-intent-grid a:focus-visible {
  outline: 3px solid rgba(15, 122, 234, .28);
  outline-offset: 2px;
}

.chance-intent-grid span,
.chance-intent-grid strong,
.chance-intent-grid small {
  display: block;
}

.chance-intent-grid span {
  margin-bottom: 8px;
  color: #087c6c;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chance-intent-grid strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.chance-intent-grid small {
  margin-top: auto;
  padding-top: 12px;
  color: #52667e;
  font-size: .82rem;
  line-height: 1.45;
}

.chance-change-log {
  display: grid;
  grid-template-columns: minmax(180px, .52fr) minmax(0, 1.48fr);
  gap: 22px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #d2e2de;
  background: #fff;
}

.chance-change-log h3 {
  margin: 0;
}

.chance-change-log ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chance-change-log li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.chance-change-log time {
  display: inline-flex;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 999px;
  background: #e7f5f2;
  color: #087c6c;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}

.chance-change-log span {
  color: #40556c;
  font-size: .9rem;
  line-height: 1.55;
}

.chance-change-log strong {
  color: #071f3d;
}

.chance-odds-tool {
  margin: 24px 0;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid #bfd8d1;
  background: #f2faf7;
}

.chance-odds-tool__heading h3 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.chance-odds-tool__heading p:last-child {
  margin-bottom: 0;
}

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

.chance-odds-tool__inputs label {
  min-width: 0;
  color: #173a4d;
  font-size: .82rem;
  font-weight: 800;
}

.chance-odds-tool__inputs input {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #9bbeb5;
  border-radius: 0;
  background: #fff;
  color: #071f3d;
  font: inherit;
  font-size: 1rem;
}

.chance-odds-tool__inputs input:focus-visible {
  outline: 3px solid rgba(15, 122, 234, .28);
  outline-offset: 2px;
  border-color: #0f7aea;
}

.chance-input-wrap {
  position: relative;
  display: block;
}

.chance-input-wrap input {
  padding-right: 42px;
}

.chance-input-wrap span {
  position: absolute;
  right: 12px;
  bottom: 13px;
  color: #5b6e7c;
  font-size: .85rem;
  pointer-events: none;
}

.chance-odds-tool__results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.chance-odds-tool__results div {
  min-width: 0;
  padding: 13px;
  border: 1px solid #d4e3df;
  background: #fff;
}

.chance-odds-tool__results .is-highlight {
  border-color: #84c2b1;
  background: #e6f5f0;
}

.chance-odds-tool__results span,
.chance-odds-tool__results strong {
  display: block;
}

.chance-odds-tool__results span {
  min-height: 2.5em;
  color: #5b6c7c;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.25;
}

.chance-odds-tool__results strong {
  margin-top: 6px;
  color: #07233a;
  font-size: 1rem;
}

.chance-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: 22px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #d6e1ea;
  background: #f8fafc;
}

.chance-experience h3 {
  margin-top: 0;
}

.chance-experience p:last-child,
.chance-experience .chance-checklist {
  margin-bottom: 0;
}

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

.chance-support-grid article {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d6e1ea;
  background: #f8fafc;
}

.chance-support-grid span {
  color: #087c6c;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chance-support-grid h3 {
  margin: 8px 0;
  font-size: 1.02rem;
}

.chance-support-grid p {
  margin: 0;
  color: #40556c;
  font-size: .9rem;
}

.chance-author-box {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #d4e3df;
  border-radius: 8px;
  background: #f2faf7;
}

.chance-author-box img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}

.chance-author-box span {
  display: block;
  margin-bottom: 4px;
  color: #087c6c;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chance-author-box h3 {
  margin: 0 0 5px;
  color: #071f3d;
}

.chance-author-box p {
  margin: 0;
  color: #40556c;
  line-height: 1.58;
}

#overeno,
#rozcestnik,
#zkusenosti,
#autori,
#autor-pavel-stich,
#kontrola-vlastimil-stich {
  scroll-margin-top: 96px;
}

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

  .chance-change-log {
    grid-template-columns: 1fr;
  }

  .chance-odds-tool__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chance-odds-tool__results .is-highlight {
    grid-column: 1 / -1;
  }

  .chance-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .chance-brand-panel {
    min-height: 170px;
    padding: 24px 18px;
  }

  .chance-proof-grid,
  .chance-intent-grid,
  .chance-experience,
  .chance-odds-tool__inputs,
  .chance-author-box {
    grid-template-columns: 1fr;
  }

  .chance-intent-grid a {
    min-height: 122px;
  }

  .chance-change-log {
    padding: 17px;
  }

  .chance-odds-tool__results span {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .chance-proof,
  .chance-odds-tool,
  .chance-experience {
    margin-right: -8px;
    margin-left: -8px;
    padding: 17px;
  }

  .chance-odds-tool__results {
    grid-template-columns: 1fr;
  }

  .chance-odds-tool__results .is-highlight {
    grid-column: auto;
  }
}
