*{box-sizing:border-box}body{margin:0;background:#f2f6fa;color:#10243b;font-family:Montserrat,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sitebar{height:68px;background:#003b7a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1120px)/2));box-shadow:0 3px 14px rgba(0,0,0,.12)}.brand,.home-link{color:#fff;text-decoration:none}.brand{font-weight:900;letter-spacing:.03em}.brand b{color:#5bbeff}.home-link{font-size:14px;font-weight:700}.page{width:min(1120px,calc(100% - 28px));margin:0 auto;padding:42px 0 70px}.hero{text-align:center;max-width:760px;margin:0 auto 28px}.daily-pill{display:inline-block;background:#e6f3ff;color:#0064c2;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:900;letter-spacing:.12em}.kicker{font-size:11px;font-weight:900;letter-spacing:.16em;color:#006fd6;margin:15px 0 6px}.hero h1{font-size:clamp(38px,7vw,70px);letter-spacing:-.055em;margin:0;color:#003b7a}.date{font-size:18px;margin:9px 0}.intro{color:#66778a;line-height:1.6}.challenge-card,.completed-card,.error-card{background:#fff;border:1px solid #dce5ee;border-radius:26px;padding:clamp(18px,4vw,38px);box-shadow:0 18px 50px rgba(27,55,82,.09)}.game-title{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:24px}.game-title h2{font-size:32px;margin:0;color:#003b7a}.game-title p{margin:4px 0 0;color:#738294}.game-badge{background:#eaf5ff;color:#005cb3;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900}.action-button{border:0;border-radius:14px;padding:14px 22px;background:linear-gradient(135deg,#118cf0,#006fd6);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(0,111,214,.2);margin-top:20px}.status-line{margin:15px 0 0;font-weight:800;min-height:24px}.status-line.error{color:#b22f2f}.crossword-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);gap:30px}.crossword-grid{display:grid;width:min(100%,630px);margin:auto;background:#0f2945;gap:2px;padding:2px;aspect-ratio:1;border-radius:10px;overflow:hidden}.cw-cell{position:relative;background:#fff;min-width:0}.cw-cell.block{background:#0f2945}.cw-cell small{position:absolute;left:3px;top:2px;font-size:8px;font-weight:900;color:#006fd6;z-index:2}.cw-cell input{position:absolute;inset:0;width:100%;height:100%;border:0;text-align:center;font-size:clamp(13px,2.2vw,22px);font-weight:900;text-transform:uppercase;background:transparent;outline:0;color:#003b7a}.cw-cell input:focus{background:#e9f5ff}.clues{display:grid;gap:10px;align-content:start}.clue{background:#f5f8fb;padding:11px 13px;border-radius:12px;font-size:14px;line-height:1.4}.clue b{color:#006fd6;margin-right:5px}.wordsearch-grid{display:grid;gap:4px;max-width:650px;margin:0 auto;touch-action:none;user-select:none}.ws-cell{aspect-ratio:1;border:0;background:#f0f4f8;border-radius:7px;font-weight:900;font-size:clamp(11px,2vw,18px);cursor:pointer;display:grid;place-items:center;color:#17324e}.ws-cell.selecting{background:#bee2ff}.ws-cell.found{background:#bceacb;color:#0c6636}.word-list{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:22px auto}.word-chip{padding:7px 10px;background:#eef3f7;border-radius:999px;font-size:12px;font-weight:800}.word-chip.found{text-decoration:line-through;background:#ddf5e5;color:#47705a}.sudoku{display:grid;grid-template-columns:repeat(9,1fr);width:min(100%,570px);margin:0 auto;border:3px solid #10243b;background:#10243b;gap:1px}.sdk-cell{aspect-ratio:1;background:#fff;display:flex}.sdk-cell:nth-child(3n){border-right:2px solid #10243b}.sdk-cell:nth-child(9n){border-right:0}.sdk-cell:nth-child(n+19):nth-child(-n+27),.sdk-cell:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #10243b}.sdk-cell input,.sdk-cell span{width:100%;border:0;text-align:center;font-size:clamp(18px,4vw,28px);font-weight:800;color:#006fd6;outline:0;display:grid;place-items:center}.sdk-cell .given,.sdk-cell input.given{background:#eef2f6;color:#10243b;pointer-events:none}.center-actions{text-align:center}.quiz-progress{height:8px;background:#e8edf2;border-radius:999px;overflow:hidden;margin:15px 0 30px}.quiz-progress span{display:block;height:100%;background:#006fd6;transition:width .25s}.quiz-question{text-align:center}.quiz-question>p{color:#738294}.quiz-question h3{font-size:clamp(30px,5vw,48px);margin:8px 0 25px;color:#003b7a}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quiz-option{padding:17px;border:1px solid #d8e2eb;background:#fff;border-radius:14px;text-align:left;font-weight:700;cursor:pointer;color:#17324e}.quiz-option:hover{border-color:#58aefb;background:#f4faff}.quiz-option.static{cursor:default}.result-panel{text-align:center;padding:10px}.result-score{font-size:68px;font-weight:900;letter-spacing:-.06em;color:#003b7a}.result-review{text-align:left;display:grid;gap:10px;margin-top:24px}.review-item{background:#f5f8fb;padding:13px;border-radius:11px}.completed-card{text-align:center}.completed-card .trophy{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#dff5e8;color:#14713e;font-size:36px;font-weight:900;margin:0 auto}.completed-card h2{font-size:38px;margin:4px}.completed-card p{color:#66778a}.completed-card a{display:inline-block;margin-top:10px;background:#006fd6;color:#fff;border-radius:12px;text-decoration:none;padding:12px 18px;font-weight:800}.error-card{max-width:760px;margin:50px auto}.error-card h1{color:#003b7a}.error-card code{display:block;margin-top:10px;background:#eef4f9;padding:12px;border-radius:10px;overflow-wrap:anywhere}@media(max-width:760px){.crossword-layout{grid-template-columns:1fr}.quiz-options{grid-template-columns:1fr}.game-title{align-items:flex-start;flex-direction:column}.page{padding-top:28px}.sitebar{height:60px}.home-link{font-size:12px}.challenge-card{padding:18px}.clues{margin-top:6px}}

/* V3: devolución clara + solución */
.game-actions{display:flex;gap:10px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin-top:20px}.game-actions .action-button{margin-top:0}.ghost-button{border:1px solid #cfdbe6;background:#fff;color:#456079;border-radius:14px;padding:13px 18px;font-weight:900;cursor:pointer}.ghost-button:hover{background:#f6f9fc;border-color:#aebfce}.danger-ghost{color:#8e3b45;border-color:#eccfd3;background:#fffafa}.danger-ghost:hover{background:#fff1f2}.action-button:disabled,.ghost-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.status-line.warning{color:#9a6500}.status-line.solution{color:#375e7d;background:#eef6fd;padding:10px 12px;border-radius:10px}.cw-cell.wrong{background:#ffe5e7!important;box-shadow:inset 0 0 0 2px #df4b57}.cw-cell.incomplete{background:#fff2c9!important;box-shadow:inset 0 0 0 2px #e0a100}.cw-cell.revealed{background:#eaf5ff!important}.clue.wrong{background:#ffe8ea;border-left:4px solid #df4b57}.clue.incomplete{background:#fff4cf;border-left:4px solid #dba000}.clue.revealed{background:#eef6fd}.ws-cell.revealed{background:#dceeff;color:#005cae;box-shadow:inset 0 0 0 2px #6db9f4}.word-chip.revealed{background:#dceeff;color:#005cae;text-decoration:line-through}.sdk-cell.wrong{background:#ffe2e5!important;box-shadow:inset 0 0 0 2px #df4b57}.sdk-cell.revealed input{background:#eaf5ff!important;color:#006fd6}.quiz-surrender{margin-top:18px}.review-item.wrong{border-left:4px solid #d9505b}.review-item.correct{border-left:4px solid #28a060}@media(max-width:760px){.game-actions{align-items:stretch;flex-direction:column}.game-actions .action-button,.game-actions .ghost-button{width:100%}}

/* =========================================================
   HOTFIX V3.1 - SUDOKU: errores visibles y solución revelada
   ========================================================= */
.sdk-cell.wrong {
  background:#ffe2e5!important;
  box-shadow:inset 0 0 0 3px #df4b57!important;
}
.sdk-cell.wrong input {
  background:#ffe2e5!important;
  color:#b4232c!important;
  box-shadow:inset 0 0 0 3px #df4b57!important;
  font-weight:900!important;
}
.sdk-cell.wrong input:focus {
  background:#ffdadd!important;
  outline:2px solid #df4b57!important;
  outline-offset:-3px;
}
.sdk-cell.revealed {
  background:#eaf5ff!important;
}
.sdk-cell.revealed input {
  background:#eaf5ff!important;
  color:#006fd6!important;
  box-shadow:inset 0 0 0 2px rgba(0,111,214,.22)!important;
}
