/* Reuse the approved Games shell, b/v controls and player setup; clock-specific layout. */
body.hours-game{--game-accent:#ffe2a3;background:#202039}
body.hours-game .world-background{background-image:linear-gradient(90deg,#10172f05 12%,#171c37a6 56%,#171c37eb 100%),url('assets/tiempo-world.webp');background-position:left center;background-color:#202039}
.hours-game .welcome-copy{width:46%;max-width:560px}.hours-game .intro h2{font-size:clamp(38px,4.3vw,62px)}
.hours-game .setup-selects label:last-child{grid-column:auto}.level-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.level-picker label{position:relative;cursor:pointer}.level-picker input{position:absolute;top:16px;left:12px;accent-color:#ffd772;width:17px;height:17px}.level-picker span{display:flex;flex-direction:column;gap:7px;padding:13px 12px 13px 37px;border:1px solid #b9cbd577;border-radius:14px;background:#0f2233}.level-picker input:checked+span{border:2px solid #f7dc8a;padding:12px 11px 12px 36px;background:#33404d}.level-picker b{font-size:19px;color:#fff0c3}.level-picker small{font-size:12px;line-height:1.4;color:#dbe6ec}.learn-link{background:none;border:0;color:#f7dc8a;text-decoration:underline;text-underline-offset:4px;min-height:44px;width:100%;margin-top:9px;font-size:13px}
.hours-game .play-screen{max-width:1280px;align-content:start;padding-top:12px;gap:22px;grid-template-columns:minmax(0,1fr) 290px}.hours-game .challenge-card{padding:20px 26px}.challenge-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.hours-game #counter{margin:0;letter-spacing:1px}.hours-game #level-badge{padding:5px 10px;background:#ffffff12;border:1px solid #d2c5ad44;border-radius:20px;font-size:12px;color:#ffe1a4}#question-title{font-size:clamp(24px,3vw,35px);margin:10px 0;color:white}.clock-zone{display:flex;justify-content:center;align-items:center;gap:18px}.analog-clock{width:clamp(230px,25vw,310px);flex-shrink:0;filter:drop-shadow(0 10px 16px #02081966)}.analog-clock svg{width:100%;height:auto;display:block}.clock-rim{stroke:#8f6633;stroke-width:3}.clock-face{stroke:#cdac68;stroke-width:2}.hour-tick{stroke:#403555;stroke-width:3}.minute-tick{stroke:#887b85;stroke-width:1.5}.hour-number{fill:#352845;font-size:24px;font-family:Arial,sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:central}.minute-number{fill:#574129;font-size:10px;font-family:Arial,sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:central}.hour-hand{stroke:#7035a4;stroke-width:12;stroke-linecap:round}.minute-hand{stroke:#047f86;stroke-width:7;stroke-linecap:round}.clock-pin{stroke:#3d3456;stroke-width:4}.clock-help{font-size:13px;color:#dce7eb;line-height:1.8;max-width:140px;min-width:110px}.hand-key{display:inline-block;border-radius:5px;width:20px;height:5px;vertical-align:middle;margin-right:6px;background:#b987e2}.hand-key.long{background:#5dd8d6;width:30px}.clock-help button{min-height:44px;border:1px solid #cedcdd77;color:#ffe2a3;background:#ffffff0a;border-radius:22px;padding:8px 18px;font-size:13px}#hint-text{font-size:14px;color:#fff0c3}#hint-text strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.time-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.time-option{display:flex;align-items:center;gap:10px;border:2px solid #ead197;background:#fff8e6;color:#302b44;box-shadow:0 4px 0 #9c7850;border-radius:17px;padding:12px;min-height:65px;text-align:left;font-size:clamp(15px,1.65vw,19px);font-weight:700;line-height:1.25;transition:transform .15s,background .15s}.time-option:hover:enabled{transform:translateY(-3px);background:#fff}.option-key{display:grid;place-items:center;background:#ece0cd;color:#5d4860;min-width:25px;height:25px;border-radius:8px;font-size:12px}.time-option.correct{background:#c9f5d9;border-color:#5ede99;box-shadow:0 4px 0 #377b55}.time-option.wrong{background:#ffddd8;border-color:#ff8175;box-shadow:0 4px 0 #a55553}.time-option:disabled:not(.correct):not(.wrong){opacity:.55}.option-mark{margin-left:auto;font-size:21px}.hours-game #clock-wrap{max-width:600px;margin:12px auto 6px}.hours-game .keyboard-hint{margin-top:16px}.hours-game .player-panel{gap:12px}.hours-game #feedback-phrase{color:#fff0c3;font-size:22px;font-weight:bold;line-height:1.35}.hours-game .feedback[data-result=correct]{animation:celebrate .5s ease-out}.hours-game .feedback[data-result=correct] h3{color:#9cf2bb}.hours-game .feedback[data-result=wrong] h3{color:#ffafa3}.hours-game #feedback-text{font-size:15px}.hours-game .learning-note .inline{display:inline}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#guide-dialog{max-width:650px;max-height:85svh;overflow:auto}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-grid p{background:#ffffff0b;border:1px solid #bdd7dd40;border-radius:14px;padding:14px;margin:0}.guide-grid b,.guide-grid span,.guide-grid em{display:block}.guide-grid b{color:#ffe2a3;font-size:21px}.guide-grid span{font-size:13px;margin:4px 0}.guide-grid em{font-size:15px;font-style:normal}.guide-note{font-size:13px!important;color:#d3e0e3}.hours-game .review-time{display:block;color:#ffe2a3;font-size:17px}.hours-game #review-list li{margin-bottom:16px}.hours-game .journey{margin-top:12px}.hours-game .results{max-width:760px}
@keyframes celebrate{50%{box-shadow:0 0 35px #e4c36d55;transform:scale(1.02)}}
.hours-game .analog-clock{filter:drop-shadow(0 12px 14px #05091c70)}.hours-game .clock-rim{stroke:#b28b4c;stroke-width:1.5}.hours-game .clock-face{stroke:#aa854e;stroke-width:2.5}.hours-game .hour-tick{stroke:#58436d;stroke-width:3;stroke-linecap:round}.hours-game .minute-tick{stroke:#8a798a;stroke-width:1.4}.hours-game .hour-number{fill:#51365e;font-size:23px;font-weight:600}.hours-game .hour-number.cardinal{font-size:25px;font-weight:700;fill:#60377e}.quarter-seat{fill:#eee3f4;stroke:#d5bde3;stroke-width:1}.hours-game .minute-number{fill:#604624;font-size:9px;font-weight:700}.hours-game .hour-hand{stroke:#62318d;stroke-width:.8}.hours-game .minute-hand{stroke:#00727b;stroke-width:.7}.hours-game .clock-pin{stroke:none}
@media(max-width:1000px){.hours-game .welcome-copy{width:56%}.hours-game .play-screen{grid-template-columns:minmax(0,1fr) 245px;gap:14px}.hours-game .challenge-card{padding:18px}.analog-clock{width:240px}.clock-help{max-width:95px;min-width:90px;font-size:12px}.time-option{font-size:16px;padding:10px;gap:7px}}
@media(max-width:720px){body.hours-game .world-background{background-image:linear-gradient(#171c3740,#171c37d9 60%),url('assets/tiempo-world.webp');background-position:28% top}.hours-game .welcome-copy{width:100%}.hours-game .intro h2{font-size:43px}.hours-game .play-screen{display:flex;flex-direction:column;padding:8px 12px 22px}.hours-game .challenge-card{padding:16px 12px}.analog-clock{width:clamp(207px,58vw,290px)}.clock-zone{gap:10px}.clock-help{max-width:100px;min-width:70px;font-size:11px;line-height:1.8}.clock-help button{padding:8px 11px;font-size:12px}.time-choices{gap:10px}.time-option{font-size:15px;min-height:73px;padding:9px;gap:6px}.option-key{min-width:20px;height:24px}.hours-game .player-panel{display:grid;grid-template-columns:1fr 1fr}.hours-game .player-panel>.secondary{grid-column:1/-1}.hours-game .journey{margin-top:12px}.hours-game .challenge-heading{gap:5px}.hours-game #counter{font-size:11px}.hours-game #level-badge{font-size:11px}.hours-game .game-heading p{letter-spacing:1px}.hours-game #question-title{font-size:27px}#hint-text{font-size:12px}.guide-grid{gap:8px}.guide-grid p{padding:10px}.guide-grid b{font-size:18px}}
@media(max-width:360px){.hours-game .brand img{width:87px}.hours-game .brand span{font-size:16px}.hours-game .game-heading{min-width:135px}.clock-zone{gap:3px}.analog-clock{width:200px}.clock-help{max-width:66px;min-width:66px}.clock-help .hand-key{display:none}.time-option{font-size:14px}.level-picker small{font-size:11px}.hours-game .intro h2{font-size:37px}}
@media(max-height:500px) and (min-width:721px){.analog-clock{width:215px}.hours-game .play-screen{align-content:start}.hours-game #question-title{font-size:25px}.hours-game .challenge-card{padding:12px}.hours-game .time-option{min-height:56px}.hours-game .game-header{min-height:76px}.hours-game .clock-zone{gap:15px}}
