.daily-challenge-section {
  margin-top: 38px;
}

.dc-heading {
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 0 20px;
  text-align: center;
}

.dc-heading .lab {
  margin-bottom: 9px;
}

.dc-heading h2 {
  font-size: clamp(1.65rem, 1.1rem + 2.4vw, 2.35rem);
}

.dc-heading h2 span {
  color: #98aebe;
}

.dc-heading p:last-child {
  max-width: 580px;
  margin: 0 auto;
  color: #b7c4ce;
  font-size: 14.5px;
}

.daily-challenge {
  --dc-bg: #07111d;
  --dc-panel: #0c1b2a;
  --dc-gold: #f3c84b;
  --dc-text: #f5f3ec;
  --dc-muted: #a3b1be;
  --dc-line: rgba(255, 255, 255, .08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1020px;
  min-height: 480px;
  margin: 0 auto;
  overflow: clip;
  color: var(--dc-text);
  background: var(--dc-panel);
  border: 1px solid rgba(139, 172, 195, .2);
  border-radius: 24px;
  box-shadow: 0 30px 95px rgba(0, 0, 0, .38);
}

.daily-challenge button,
.daily-challenge a,
.daily-challenge input,
.daily-challenge summary {
  -webkit-tap-highlight-color: transparent;
}

.daily-challenge button,
.daily-challenge a {
  font: inherit;
}

.daily-challenge button {
  cursor: pointer;
}

.daily-challenge button:focus-visible,
.daily-challenge a:focus-visible,
.daily-challenge summary:focus-visible,
.daily-challenge input:focus-visible {
  outline: 3px solid var(--dc-gold);
  outline-offset: 4px;
}

.dc-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 28px;
}

.dc-cover > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.dc-cover-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(3, 16, 29, .2) 0%, rgba(3, 16, 29, .08) 20%, rgba(3, 16, 29, .61) 58%, rgba(3, 16, 29, .96) 100%);
}

.dc-cover-top,
.dc-console-top,
.dc-question-meta,
.dc-free,
.dc-time,
.dc-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dc-cover-top {
  gap: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.3px;
}

.dc-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: rgba(6, 16, 30, .57);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.dc-tag i {
  width: 5px;
  height: 5px;
  background: var(--dc-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px #ffda69;
}

.dc-edition {
  color: #deded5;
  white-space: nowrap;
}

.dc-cover-title {
  margin-top: 45px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}

.dc-subject,
.dc-eyebrow {
  color: #f5d574;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.dc-cover-title h3 {
  margin: 12px 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.dc-cover-title p {
  margin: 0;
  color: #d3d9dd;
  font-size: 12px;
}

.dc-audio-console {
  margin-top: auto;
  padding-top: 28px;
}

.dc-console-top {
  gap: 10px;
  color: #b8c8d3;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.2px;
}

.dc-console-top span:first-child {
  color: #e2cd91;
}

.dc-transport {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.dc-play {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #182532;
  background: linear-gradient(145deg, #ffe9a3, #e7b52c);
  border: 1px solid #ffe9a5;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(243, 200, 75, .05), 0 7px 35px rgba(243, 200, 75, .15);
  transition: transform .2s, box-shadow .2s;
}

.dc-play:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 10px rgba(243, 200, 75, .07), 0 7px 35px rgba(243, 200, 75, .22);
}

.dc-play svg {
  width: 26px;
  fill: currentColor;
}

.dc-sound {
  position: relative;
  flex: 1;
  min-width: 0;
}

.dc-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 42px;
  overflow: hidden;
}

.dc-wave i {
  flex: 1;
  min-width: 2px;
  height: var(--h);
  background: rgba(120, 144, 156, .46);
  border-radius: 3px;
  transition: background .2s;
}

.dc-wave i.is-heard {
  background: #f2ce6e;
}

.is-playing .dc-wave i {
  animation: dc-breathe .8s ease-in-out infinite alternate;
  animation-delay: var(--d);
}

@keyframes dc-breathe {
  to { transform: scaleY(.45); }
}

.dc-seek {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.dc-sound:focus-within {
  outline: 2px solid var(--dc-gold);
  outline-offset: 5px;
  border-radius: 4px;
}

.dc-time {
  margin-top: 6px;
  color: #a5b8c3;
  font-family: var(--mono);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.dc-speed {
  padding: 8px 6px;
  color: #d6dfe4;
  font-size: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
}

.dc-player-caption {
  display: block;
  margin-top: 20px;
  color: #91a6b5;
  font-size: 9px;
}

.dc-interaction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.dc-steps {
  display: flex;
  gap: 20px;
  margin: 0 0 34px;
  padding: 0;
  color: #6d8495;
  font-size: 10px;
  list-style: none;
}

.dc-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dc-steps b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 9px;
  font-weight: 500;
  border: 1px solid #496070;
  border-radius: 50%;
}

.dc-steps .is-active {
  color: #f5d578;
}

.dc-steps .is-active b {
  color: #122435;
  background: #f5d578;
  border-color: #f5d578;
}

.dc-question-meta {
  gap: 12px;
  color: #94a9b9;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1px;
}

.dc-question-meta span:first-child {
  color: #e5c77a;
}

.dc-question-state h3,
.dc-result-state h3 {
  margin: 20px 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.5px;
}

.dc-hint {
  margin: 0 0 25px;
  color: var(--dc-muted);
  font-size: 10px;
  line-height: 1.5;
}

.dc-answers {
  display: flex;
  gap: 12px;
}

.dc-answers button {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 17px 12px;
  color: var(--dc-text);
  font-size: 14px;
  font-weight: 700;
  background: #172c3d;
  border: 1px solid #476075;
  border-radius: 12px;
  transition: background .2s, transform .2s, border-color .2s;
}

.dc-answers button:hover {
  background: #254355;
  border-color: #e5c66c;
  transform: translateY(-2px);
}

.dc-answers span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #e4c770;
  font-size: 10px;
  border: 1px solid rgba(228, 199, 112, .25);
  border-radius: 5px;
}

.dc-answers b {
  margin-left: auto;
  color: #91aabb;
  font-weight: 400;
}

.dc-free {
  gap: 10px;
  margin-top: 22px;
  color: #829bae;
  font-size: 8px;
}

.dc-free span:first-child {
  color: #afc0bc;
}

.dc-result-state {
  animation: dc-reveal .35s ease;
}

.dc-result-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-result-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #79dcaf;
  background: rgba(102, 212, 167, .1);
  border-radius: 50%;
}

.dc-result-heading .dc-eyebrow {
  color: #84dcb7;
}

.dc-result-heading h3 {
  margin: 5px 0 0;
  line-height: 1.2;
}

.dc-reason {
  margin: 18px 0;
  color: #afc0cd;
  font-size: 13px;
  line-height: 1.6;
}

.dc-reason strong {
  color: #eee;
  font-weight: 600;
}

.dc-explain {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  color: #f0d48c;
  text-align: left;
  background: rgba(243, 200, 75, .04);
  border: 1px solid rgba(229, 196, 109, .4);
  border-radius: 12px;
}

.dc-explain > span {
  font-size: 14px;
}

.dc-explain div {
  flex: 1;
}

.dc-explain strong {
  font-size: 12px;
}

.dc-explain small {
  display: block;
  margin-top: 5px;
  color: #a6b7c3;
  font-size: 9px;
}

.dc-explain > b {
  font-weight: 400;
}

.dc-details {
  margin: 14px 0 20px;
  color: #98adbc;
  font-size: 10px;
}

.dc-details summary {
  cursor: pointer;
}

.dc-details p {
  line-height: 1.6;
}

.dc-continue {
  padding-top: 19px;
  border-top: 1px solid var(--dc-line);
}

.dc-continue .dc-eyebrow {
  color: #c4ae77;
  font-size: 7px;
}

.dc-continue h4 {
  margin: 9px 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 16px;
}

.dc-continue p {
  margin: 8px 0 15px;
  color: #98afbf;
  font-size: 11px;
  line-height: 1.6;
}

.dc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px;
  color: #152332;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  background: #f1cb65;
  border-radius: 9px;
}

.dc-cta:hover {
  color: #152332;
  background: #ffe2a0;
}

.dc-secondary {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.historical-question .dc-question-state h3 {
  font-size: 19px;
}

.dc-secondary button {
  padding: 0;
  color: #9db1c0;
  font-size: 9px;
  background: none;
  border: 0;
}

.dc-secondary .dc-next {
  color: #f0d48c;
  font-weight: 700;
}

.dc-secondary .dc-next:disabled {
  cursor: wait;
  opacity: .55;
}

.dc-share-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: #9bcbb3;
  font-size: 9px;
}

.daily-challenge.is-result .dc-steps {
  margin-bottom: 22px;
}

.daily-challenge.is-result .dc-cover {
  min-height: 600px;
}

.daily-challenge.is-result .dc-cover-title {
  margin-top: 65px;
}

.daily-challenge.is-result .dc-cover-title h3 {
  font-size: 36px;
}

.dc-below {
  margin: 18px 0 0;
  color: #829bad;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
}

.daily-challenge [hidden] {
  display: none !important;
}

@keyframes dc-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .daily-challenge-section {
    padding: 0 16px;
  }

  .dc-heading {
    padding: 0 4px;
  }

  .daily-challenge {
    display: block;
    max-width: 470px;
    border-radius: 20px;
  }

  .dc-cover,
  .daily-challenge.is-result .dc-cover {
    min-height: 325px;
    padding: 20px;
  }

  .dc-cover > img {
    object-position: center 47%;
  }

  .dc-cover-title,
  .daily-challenge.is-result .dc-cover-title {
    margin-top: 25px;
  }

  .dc-cover-title h3,
  .daily-challenge.is-result .dc-cover-title h3 {
    font-size: 30px;
  }

  .dc-cover-title p,
  .dc-player-caption {
    display: none;
  }

  .dc-audio-console {
    padding-top: 23px;
  }

  .dc-transport {
    gap: 14px;
    margin-top: 14px;
  }

  .dc-play {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .dc-interaction {
    padding: 24px;
  }

  .dc-steps {
    margin-bottom: 24px;
  }

  .dc-question-state h3,
  .dc-result-state h3 {
    margin: 16px 0;
    font-size: 20px;
  }

  .historical-question .dc-question-state h3 {
    font-size: 18px;
  }

  .dc-hint {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .dc-answers button {
    padding: 13px 10px;
  }

  .dc-free {
    margin-top: 18px;
    font-size: 7px;
  }

  .dc-cover-top {
    font-size: 7px;
  }

  .dc-edition {
    font-size: 7px;
  }
}

@media (max-width: 370px) {
  .dc-interaction {
    padding: 21px 18px 23px;
  }

  .dc-steps {
    gap: 12px;
  }

  .dc-question-meta {
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .daily-challenge *,
  .daily-challenge *::before,
  .daily-challenge *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
