.daily-overview{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--sp-4);margin:var(--sp-7) 0 var(--sp-4)}
.daily-overview h2{margin:.15rem 0;font-size:var(--fs-2xl);font-weight:900}.daily-overview p{margin:.25rem 0;color:var(--text-muted)}
.daily-date{font-variant-numeric:tabular-nums}.daily-reset{padding:.65rem 1rem;border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface)}
.daily-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:var(--sp-4)}
.daily-card{display:flex;flex-direction:column;gap:var(--sp-3);padding:var(--sp-5);border:1px solid var(--border);border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-sm)}
.daily-card-top{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2)}.daily-icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:var(--surface-2);font-size:1.65rem}
.daily-status{padding:.3rem .65rem;border-radius:var(--r-pill);background:var(--surface-2);font-size:var(--fs-xs);font-weight:750}.daily-card[data-done="true"] .daily-status{background:#d8f4e7;color:#145c3a}
.daily-card h2{margin:0;font-size:var(--fs-xl);font-weight:900}.daily-card p{margin:0;color:var(--text-muted);line-height:1.55;flex:1}.daily-card-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--sp-2);color:var(--text-muted);font-size:var(--fs-sm);font-variant-numeric:tabular-nums}.daily-card .btn{align-self:flex-start}
.daily-play-area{scroll-margin-top:1rem;margin-top:var(--sp-7);padding:clamp(1rem,3vw,2rem);border-radius:var(--r-xl);background:linear-gradient(145deg,#122a32,#1b383c);color:#f6fbfa;box-shadow:var(--sh-lg)}.daily-play-area[hidden]{display:none}
.daily-play-area:fullscreen{box-sizing:border-box;width:100%;height:100%;min-height:100%;margin:0;padding:clamp(1rem,4vw,3rem);border-radius:0;display:grid;align-content:center;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(.6rem,2vh,1.5rem);overflow:auto;background:radial-gradient(70rem 35rem at 50% 0,#214a4a,#10262e 75%);color:#f6fbfa}
.daily-play-area:fullscreen .daily-game-heading{width:min(100%,72rem);margin:0 auto}
.daily-play-area:fullscreen .daily-game{width:min(100%,60rem)}
.daily-play-area:fullscreen .daily-game-maze{grid-template-columns:repeat(var(--maze-columns),minmax(1.5rem,min(7vmin,2.8rem)));grid-auto-rows:minmax(1.5rem,min(7vmin,2.8rem))}
.daily-play-area:fullscreen .daily-game-actions{align-self:end;margin-top:0}
.daily-game-heading{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap;margin-bottom:var(--sp-4)}.daily-game-heading h2{margin:0;color:#fff;font-size:var(--fs-2xl);font-weight:900}.daily-game-seed{margin:0;color:#c5d6d3;font-variant-numeric:tabular-nums}.daily-game-rules{max-width:42rem;margin:0 auto;color:#d2e3df;font-size:var(--fs-sm);text-align:center}
.daily-game:focus-visible{outline:3px solid #f7c85b;outline-offset:5px;border-radius:.5rem}
.daily-game{margin-inline:auto}.daily-game-status{width:min(100%,46rem);color:#effbf8}.daily-input-label{display:grid;gap:.4rem;text-align:center;color:#e1f1ee;font-weight:700}.daily-input-label input{width:min(100%,18rem);text-align:center;font-size:1.25rem;letter-spacing:.12em}.daily-game-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--sp-2);margin-top:var(--sp-4)}.daily-game-actions[hidden]{display:none}.daily-storage-note{margin:var(--sp-5) 0;color:var(--text-muted);font-size:var(--fs-sm)}
.daily-error{margin:var(--sp-4) 0;padding:1rem;border:2px solid #b42318;border-radius:var(--r-lg);background:#fff0ef;color:#57110c;font-weight:700}.daily-error[hidden]{display:none}
.daily-game-maze{grid-template-columns:repeat(var(--maze-columns),minmax(1.35rem,1.9rem));grid-auto-rows:minmax(1.35rem,1.9rem);width:max-content;max-width:100%;overflow:auto}
.daily-game-maze .catalog-maze-cell{box-sizing:border-box}.daily-game-maze .catalog-maze-cell.is-player:after{content:"";width:58%;height:58%;border-radius:50%;background:#f7c85b;box-shadow:0 0 .8rem #f7c85b}
.daily-sudoku-grid{display:grid;grid-template-columns:repeat(4,minmax(2.75rem,3.5rem));width:max-content;max-width:100%;margin:1rem auto;border:2px solid #d7f0e9;border-radius:.4rem;overflow:hidden}
.daily-sudoku-cell{min-width:0;aspect-ratio:1;border:1px solid #8fb9b3;border-radius:0;background:#f6fbfa;color:#102b37;font-size:1.35rem;font-weight:800;cursor:pointer}
.daily-sudoku-cell:nth-child(4n+2){border-left-width:3px;border-left-color:#447f7b}.daily-sudoku-cell:nth-child(n+9):nth-child(-n+12){border-top-width:3px;border-top-color:#447f7b}
.daily-sudoku-cell.is-given{background:#b8d8d0;color:#102b37;cursor:default;opacity:1}.daily-sudoku-cell:not(:disabled):hover{background:#c7f1e6}.daily-sudoku-cell:focus-visible{position:relative;outline:3px solid #f7c85b;outline-offset:-3px;z-index:1}
@media(max-width:680px){.daily-overview{align-items:flex-start;flex-direction:column}.daily-reset{margin:0}.daily-game-heading{display:block}.daily-game-seed{margin-top:.35rem}.daily-game-maze{grid-template-columns:repeat(var(--maze-columns),minmax(1.12rem,1.45rem));grid-auto-rows:minmax(1.12rem,1.45rem)}}
@media(max-height:600px){.daily-play-area:fullscreen{padding:.75rem;gap:.4rem}.daily-play-area:fullscreen .daily-game-heading{margin-bottom:0}.daily-play-area:fullscreen .daily-game-maze{grid-template-columns:repeat(var(--maze-columns),minmax(1.2rem,min(6vmin,2.2rem)));grid-auto-rows:minmax(1.2rem,min(6vmin,2.2rem))}}
@media(prefers-reduced-motion:reduce){.daily-play-area{scroll-behavior:auto}}
