.tvdetest-mock {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 22px 80px rgba(0,0,0,.28);
}
.tvdetest-mock-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.tvdetest-mock-kicker {
  margin: 0 0 12px;
  color: #f7c948;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tvdetest-mock h3 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.18;
  font-weight: 950;
}
.tvdetest-progress {
  width: min(190px, 100%);
  height: 9px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}
.tvdetest-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f7c948;
}
.tvdetest-answers {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.tvdetest-answer {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  color: #e2e8f0;
  padding: 15px 16px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.tvdetest-answer.is-selected {
  border-color: #f7c948;
  background: rgba(247,201,72,.16);
  color: white;
}
.tvdetest-warning {
  margin: 14px 0 0;
  color: #fca5a5;
  font-weight: 800;
}
.tvdetest-mock-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}
.tvdetest-result-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.tvdetest-note {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  padding: 16px;
  color: #cbd5e1;
}
.tvdetest-result-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tvdetest-result-score strong {
  display: block;
  font-size: clamp(42px, 8vw, 66px);
  line-height: 1;
}
.tvdetest-status {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 950;
}
.tvdetest-status.pass { background: rgba(52,211,153,.13); color: #6ee7b7; }
.tvdetest-status.fail { background: rgba(248,113,113,.13); color: #fca5a5; }
.tvdetest-explanations {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.tvdetest-explanations article {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  padding: 15px;
}
.tvdetest-explanations h4 {
  margin: 0;
  font-size: 15px;
}
.tvdetest-explanations p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}
.tvdetest-paid-offer {
  border: 1px solid rgba(247,201,72,.25);
  border-radius: 8px;
  background: rgba(247,201,72,.1);
  padding: 22px;
}

.tvdetest-free-exam {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17,24,39,.95), rgba(3,7,18,.98));
  padding: clamp(18px, 4vw, 28px);
  color: #f8fafc;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.tvdetest-free-exam-top,
.tvdetest-free-exam-lang,
.tvdetest-free-exam-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tvdetest-free-exam-top p {
  color: #cbd5e1;
  line-height: 1.65;
}
.tvdetest-free-exam-timer {
  min-width: 106px;
  border: 1px solid rgba(247,201,72,.35);
  border-radius: 12px;
  background: rgba(247,201,72,.08);
  color: #f7c948;
  padding: 11px 14px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 950;
}
.tvdetest-free-exam-timer.danger {
  border-color: #ef4444;
  background: rgba(239,68,68,.18);
  color: #fecaca;
}
.tvdetest-free-exam-lang {
  margin: 18px 0;
  justify-content: flex-start;
}
.tvdetest-free-exam-lang span,
.tvdetest-free-exam-lang button {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  background: rgba(255,255,255,.055);
  color: #f8fafc;
  padding: 10px 13px;
  font-weight: 900;
}
.tvdetest-free-exam-lang span {
  border-color: rgba(247,201,72,.3);
  color: #f7c948;
}
.tvdetest-free-exam-lang button {
  cursor: pointer;
}
.tvdetest-free-exam-lang button.active {
  background: #f7c948;
  border-color: #f7c948;
  color: #05070c;
}
.tvdetest-free-exam-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
}
.tvdetest-free-exam-nav,
.tvdetest-free-exam-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  padding: 18px;
}
.tvdetest-free-exam-nav {
  align-self: start;
}
.tvdetest-free-exam-nav span {
  display: block;
  margin-top: 6px;
  color: #cbd5e1;
  font-size: .9rem;
}
.tvdetest-free-exam-nav [data-free-nav] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 14px;
}
.tvdetest-free-exam-nav button {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-weight: 900;
}
.tvdetest-free-exam-nav button.active {
  border-color: #f7c948;
  background: #f7c948;
  color: #05070c;
}
.tvdetest-free-exam-nav button.answered:not(.active) {
  border-color: #22c55e;
  background: rgba(34,197,94,.14);
}
.tvdetest-nav-arrow {
  display: none;
}
.tvdetest-free-exam-image {
  margin: 8px 0 18px;
}
.tvdetest-free-exam-image img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #05070c;
}
.tvdetest-free-exam-card h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 4.5vw, 42px);
  line-height: 1.12;
}
.tvdetest-free-exam-card .tvdetest-mock-kicker {
  color: #f7c948;
  opacity: 1;
}
.tvdetest-free-exam-card,
.tvdetest-free-exam-card p,
.tvdetest-free-exam-nav,
.tvdetest-free-exam-nav strong {
  color: #f8fafc;
}
.tvdetest-free-exam-answers {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.tvdetest-free-exam-answers button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  color: #f8fafc;
  padding: 15px;
  text-align: left;
  font-weight: 850;
}
.tvdetest-free-exam-answers button.selected {
  border-color: #f7c948;
  background: rgba(247,201,72,.16);
}
.tvdetest-free-exam-loading {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  padding: 18px;
  color: #cbd5e1;
}

body:has(.tvdetest-free-exam) .whatsapp-float,
body:has(.tvdetest-qbank) .whatsapp-float {
  display: none !important;
}
.tvdetest-paid-offer .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.tvdetest-form-message {
  min-height: 20px;
  margin: 4px 0 0;
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 800px) {
  .tvdetest-mock-top,
  .tvdetest-result-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .tvdetest-progress {
    width: 100%;
  }
  .tvdetest-mock-actions,
  .tvdetest-paid-offer .actions {
    display: grid;
  }
  html,
  body {
    overflow-x: hidden;
  }
  .tvdetest-free-exam {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow: hidden;
    border-radius: 0;
    background: #f5f7fa;
    padding: 0;
  }
  .tvdetest-free-exam-top {
    position: sticky;
    top: 0;
    z-index: 35;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: #738292;
    padding: 6px 10px;
  }
  .tvdetest-free-exam-top > div:first-child {
    display: none;
  }
  .tvdetest-free-exam-timer {
    min-width: auto;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
    font-size: 18px;
    line-height: 1;
  }
  .tvdetest-free-exam-timer::before {
    content: "⏱ ";
    font-size: 14px;
  }
  .tvdetest-free-exam-lang {
    position: sticky;
    top: 40px;
    z-index: 34;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-bottom: 1px solid #d6dbe1;
    background: #fff;
    padding: 0;
  }
  .tvdetest-free-exam-lang span,
  .tvdetest-free-exam-lang button {
    min-height: 40px;
    border: 0;
    border-left: 1px solid #e2e8f0;
    border-radius: 0;
    background: #fff;
    color: #64748b;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
  }
  .tvdetest-free-exam-lang span {
    border-left: 0;
    color: #111827;
  }
  .tvdetest-free-exam-lang button.active {
    background: #738292;
    color: #fff;
  }
  .tvdetest-free-exam-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    gap: 0;
  }
  .tvdetest-free-exam-nav {
    position: relative;
    top: auto;
    z-index: 1;
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 0;
    box-shadow: 0 1px 0 #d6dbe1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tvdetest-free-exam-nav::-webkit-scrollbar {
    display: none;
  }
  .tvdetest-free-exam-nav strong,
  .tvdetest-free-exam-nav span {
    display: none;
  }
  .tvdetest-free-exam-nav [data-free-nav] {
    display: flex;
    width: auto;
    min-width: max-content;
    max-width: none;
    gap: 0;
    margin: 0;
    padding-inline: 42px;
  }
  .tvdetest-free-exam-nav .tvdetest-nav-arrow {
    position: sticky;
    z-index: 2;
    display: grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: #738292;
    color: #fff;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
  }
  .tvdetest-free-exam-nav .tvdetest-nav-arrow-left {
    left: 0;
    float: left;
    margin-right: -42px;
  }
  .tvdetest-free-exam-nav .tvdetest-nav-arrow-right {
    right: 0;
    float: right;
    margin-left: -42px;
  }
  .tvdetest-free-exam-nav .tvdetest-nav-arrow:disabled {
    background: #cbd5e1;
    color: #64748b;
  }
  .tvdetest-free-exam-nav button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    aspect-ratio: auto;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    color: #8a8f98;
    font-size: 14px;
  }
  .tvdetest-free-exam-nav button.active {
    background: #738292;
    color: #fff;
  }
  .tvdetest-free-exam-nav button.answered:not(.active) {
    background: #ecfdf5;
    color: #047857;
  }
  .tvdetest-free-exam-card {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 14px 16px 28px;
    color: #1f2937;
  }
  .tvdetest-free-exam-card .tvdetest-mock-kicker {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 13px;
    letter-spacing: .02em;
  }
  .tvdetest-free-exam-image {
    margin: 0 auto 10px;
  }
  .tvdetest-free-exam-image img {
    max-height: none;
    border: 0;
    border-radius: 4px;
    background: #fff;
  }
  .tvdetest-free-exam-card h2 {
    margin: 0 0 12px;
    color: #252a31 !important;
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.16;
  }
  .tvdetest-free-exam-answers {
    gap: 0;
    margin: 0 0 16px;
  }
  .tvdetest-free-exam-answers button {
    min-height: 64px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    color: #252a31;
    padding: 14px 12px;
    font-size: 17px;
    font-weight: 700;
  }
  .tvdetest-free-exam-answers button::first-letter {
    color: #6b7280;
  }
  .tvdetest-free-exam-answers button.selected {
    background: #fff7d6;
    color: #111827;
  }
  .tvdetest-free-exam-top {
    flex-direction: row;
  }
  .tvdetest-free-exam-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255,255,255,.96);
    padding: 10px 0 0;
  }
  .tvdetest-free-exam-actions [data-free-finish] {
    grid-column: 1 / -1;
  }
  .tvdetest-free-exam-loading,
  .tvdetest-free-exam-result {
    margin: 12px;
  }
}
