.spanish-days-app {
  --dg-bg: #071c14;
  --dg-panel: #0d291e;
  --dg-ink: #f7f1e4;
  --dg-muted: #a5b8ac;
  --dg-line: rgba(178, 211, 191, .18);
  --dg-gold: #f4bd55;
  --dg-mint: #78d6aa;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 62px);
  color: var(--dg-ink);
  background: radial-gradient(800px 440px at 94% 0, rgba(58, 151, 109, .19), transparent 65%), radial-gradient(rgba(244, 189, 85, .055) 1px, transparent 1.5px), var(--dg-bg);
  background-size: auto, 20px 20px, auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.spanish-days-app *, .spanish-days-app *::before, .spanish-days-app *::after { box-sizing: border-box; }
.spanish-days-app [hidden] { display: none !important; }
.spanish-days-app button, .spanish-days-app input { font: inherit; }
.days-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(28px, 6vw, 88px); align-items: end; max-width: 1440px; margin: 0 auto clamp(32px, 5vw, 58px); }
.days-eyebrow { margin: 0 0 15px; color: var(--dg-gold); font-size: .74rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.days-intro h1 { margin: 0; color: var(--dg-ink); font: 600 clamp(2.8rem, 5.8vw, 6.1rem)/.96 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.days-intro h1 em { color: var(--dg-gold); font-weight: 500; }
.days-intro-side > p { margin: 0 0 24px; color: #c1cec6; font-size: clamp(.96rem, 1.35vw, 1.13rem); line-height: 1.7; }
.days-intro-side ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--dg-line); }
.days-intro-side li { display: grid; gap: 4px; min-width: 0; padding: 13px 12px; border-right: 1px solid var(--dg-line); }
.days-intro-side li:first-child { padding-left: 0; }
.days-intro-side li:last-child { border-right: 0; }
.days-intro-side strong { color: var(--dg-ink); font-size: .73rem; }
.days-intro-side span { color: var(--dg-muted); font-size: .58rem; line-height: 1.35; }
.days-panel { max-width: 1440px; margin: 0 auto; padding: clamp(19px, 3vw, 38px); background: linear-gradient(150deg, rgba(17, 51, 37, .97), rgba(8, 31, 22, .99)); border: 1px solid var(--dg-line); border-radius: clamp(18px, 2vw, 28px); box-shadow: 0 28px 60px -46px #000; }
.days-section-heading { display: flex; gap: 13px; align-items: flex-start; }
.days-section-heading > span { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #382904; background: linear-gradient(145deg, #ffd77e, var(--dg-gold)); border-radius: 50%; font-size: .69rem; font-weight: 900; }
.days-section-heading h2 { margin: 0; color: var(--dg-ink); font: 600 clamp(1.3rem, 2vw, 1.72rem)/1.15 Georgia, serif; letter-spacing: -.02em; }
.days-section-heading p { margin: 5px 0 0; color: var(--dg-muted); font-size: .74rem; line-height: 1.48; }
.days-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 27px; }
.day-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 13px; align-items: center; min-width: 0; min-height: 142px; padding: 16px; overflow: hidden; background: rgba(4, 21, 14, .55); border: 1px solid var(--dg-line); border-radius: 15px; }
.day-card::after { content: ""; position: absolute; right: -28px; bottom: -42px; width: 110px; height: 110px; background: rgba(120, 214, 170, .045); border: 1px solid rgba(120, 214, 170, .09); border-radius: 50%; }
.day-card--sunday { grid-column: span 2; }
.day-number { align-self: start; color: var(--dg-gold); font-size: .58rem; font-weight: 850; letter-spacing: .12em; }
.day-card > div:nth-child(2) { min-width: 0; }
.day-card p { margin: 0; color: var(--dg-muted); font-size: .61rem; }
.day-card h3 { margin: 2px 0 1px; color: var(--dg-ink); font: 600 clamp(1.22rem, 2vw, 1.65rem)/1.1 Georgia, serif; }
.day-card > div span { color: #7fb39a; font-size: .58rem; letter-spacing: .035em; }
.speaker-btn { position: relative; z-index: 1; grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 35px; color: #cce8da; background: rgba(120, 214, 170, .08); border: 1px solid rgba(120, 214, 170, .25); border-radius: 9px; cursor: pointer; font-size: .61rem; font-weight: 800; }
.speaker-btn b { color: var(--dg-mint); font-size: .58rem; }
.speaker-btn:hover, .speaker-btn.is-playing { color: #2f2509; background: var(--dg-mint); border-color: var(--dg-mint); }
.speaker-btn:hover b, .speaker-btn.is-playing b { color: inherit; }
.learn-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--dg-line); }
.learn-footer > p { margin: 0; color: var(--dg-muted); font-size: .66rem; line-height: 1.5; }
.days-primary, .days-secondary, .days-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 43px; padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: .69rem; font-weight: 850; }
.days-primary { color: #332504; background: linear-gradient(145deg, #ffd77e, var(--dg-gold)); border: 0; }
.days-primary b { font-size: 1rem; }
.days-secondary { color: #d8ece0; background: rgba(120, 214, 170, .08); border: 1px solid rgba(120, 214, 170, .35); }
.days-quiet { color: var(--dg-muted); background: transparent; border: 1px solid var(--dg-line); }
.spanish-days-app button:disabled { cursor: not-allowed; opacity: .35; }
.quiz-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.quiz-progress { display: grid; gap: 7px; width: min(240px, 32%); }
.quiz-progress strong { color: #d9e8df; text-align: right; font-size: .61rem; }
.quiz-progress > span { height: 5px; overflow: hidden; background: rgba(255,255,255,.08); border-radius: 99px; }
.quiz-progress i { display: block; width: 14.285%; height: 100%; background: linear-gradient(90deg, var(--dg-mint), var(--dg-gold)); transition: width .25s ease; }
.score-strip { display: flex; gap: 8px; margin-top: 24px; }
.score-strip span { padding: 7px 11px; color: var(--dg-muted); background: rgba(4, 21, 14, .45); border: 1px solid var(--dg-line); border-radius: 999px; font-size: .59rem; }
.score-strip strong { color: var(--dg-ink); }
.question-card { margin-top: 14px; padding: clamp(20px, 4vw, 42px); background: #f8f3e7; border-radius: 18px; }
.question-text { margin: 0 0 20px; color: #17382b; font: 600 clamp(1.5rem, 3.2vw, 2.7rem)/1.12 Georgia, serif; letter-spacing: -.025em; }
.question-text em { color: #b67912; font-style: normal; }
.choices-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice-label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 11px 13px; color: #31483d; background: #fffdf8; border: 1px solid #d8d2c3; border-radius: 11px; cursor: pointer; font-size: .76rem; font-weight: 700; }
.choice-label:hover { border-color: #70b794; }
.choice-label:has(input:checked) { color: #49350a; background: #fff1cc; border-color: #d99b2d; box-shadow: inset 3px 0 #d99b2d; }
.choice-label.is-correct, .choice-label.is-correct:has(input:checked) { color: #15382a; background: #def3e7; border-color: #3b9c6d; box-shadow: inset 3px 0 #3b9c6d; }
.choice-label.is-wrong, .choice-label.is-wrong:has(input:checked) { color: #762c25; background: #ffe5e1; border-color: #cf6258; box-shadow: inset 3px 0 #cf6258; }
.choice-label input { accent-color: #b67912; }
.choice-label.is-correct input { accent-color: #237c58; }
.choice-label.is-wrong input { accent-color: #b84238; }
.quiz-feedback { min-height: 23px; margin: 13px 2px 0; color: var(--dg-muted); font-size: .66rem; font-weight: 750; }
.quiz-feedback.is-correct { color: #8ce3bc; }
.quiz-feedback.is-error { color: #ffaaa0; }
.quiz-feedback.is-warning { color: #ffd57e; }
.quiz-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.result-panel { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 95px); text-align: center; }
.result-mark { position: absolute; inset: -55px auto auto 5%; color: rgba(244, 189, 85, .08); font: 600 19rem/1 Georgia, serif; }
.result-panel .days-eyebrow { position: relative; }
.result-panel h2 { position: relative; margin: 0; color: var(--dg-ink); font: 600 clamp(2.7rem, 6vw, 5.8rem)/1 Georgia, serif; }
.result-panel > p:not(.days-eyebrow) { position: relative; margin: 17px auto 24px; color: #c3d2c9; font-size: .82rem; line-height: 1.7; }
.result-panel .days-primary { position: relative; }
@media (max-width: 980px) {
  .days-intro { grid-template-columns: 1fr; gap: 24px; }
  .days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-card--sunday { grid-column: auto; }
}
@media (max-width: 620px) {
  .spanish-days-app { padding: 23px 13px 30px; }
  .days-intro { margin-bottom: 24px; }
  .days-intro h1 { font-size: clamp(2.55rem, 13.7vw, 4.2rem); }
  .days-intro-side ul { grid-template-columns: 1fr; }
  .days-intro-side li, .days-intro-side li:first-child { padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--dg-line); }
  .days-intro-side li:last-child { border-bottom: 0; }
  .days-panel { padding: 17px 13px; border-radius: 18px; }
  .days-grid { grid-template-columns: 1fr; }
  .day-card { grid-template-columns: 30px minmax(0, 1fr) auto; min-height: 98px; }
  .speaker-btn { grid-column: 3; grid-row: 1; align-self: center; width: 41px; height: 41px; padding: 0; border-radius: 50%; }
  .speaker-btn span { display: none; }
  .learn-footer, .quiz-header { align-items: stretch; flex-direction: column; }
  .learn-footer .days-primary { width: 100%; }
  .quiz-progress { width: 100%; }
  .quiz-progress strong { text-align: left; }
  .choices-container { grid-template-columns: 1fr; }
  .quiz-controls > button { flex: 1 1 135px; }
}
