.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}body[data-game="sudoku"]{background:#cee8e0;color:#204c42}body[data-game="minesweeper"]{background:#e8dfb5;color:#4b4429}body[data-game="harbor-pilot"]{background:#b8dfe6;color:#214b5b}#game.puzzle-root{padding:12px}.puzzle-shell{width:min(100%,270px);display:flex;flex-direction:column;align-items:center;gap:8px}.puzzle-header{display:flex;align-items:center;justify-content:space-between;width:100%;height:28px;gap:8px}.puzzle-header h1{font-size:20px;line-height:26px;margin:0;font-weight:700}.puzzle-header select{font:inherit;font-size:11px;color:inherit;background:#ffffff80;border:1px solid #26473c35;border-radius:4px;padding:5px 6px;max-width:90px;color-scheme:light}.puzzle-small-score{font-size:10px;white-space:nowrap;opacity:.8}.puzzle-tools{width:100%;display:flex;align-items:center;gap:8px;min-height:30px}.puzzle-tools>.puzzle-small-score{margin-left:auto}.puzzle-icon{width:30px;height:30px;border-radius:5px;border:1px solid #204c4230;background:#ffffff80;color:inherit;display:inline-grid;place-items:center;flex-shrink:0;padding:0}.puzzle-icon:disabled{opacity:.35;cursor:not-allowed}.puzzle-root .game-status{font-size:11px;line-height:16px;min-height:28px;margin:0;text-align:center;width:100%;display:grid;place-items:center;max-width:100%}.puzzle-root .success{color:#17643e}.puzzle-root .has-errors{color:#983e46}.notes-toggle{display:flex;align-items:center;gap:4px;font-size:10px;cursor:pointer}.notes-toggle input{width:14px;height:14px;accent-color:#245a47;margin:0}.sudoku-board{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));width:270px;max-width:100%;aspect-ratio:1;border:2px solid #3a695b;border-radius:4px;overflow:hidden;background:#3a695b;gap:1px}.sudoku-cell{border:0;background:#f4faf6;color:#2e6c6a;aspect-ratio:1;padding:0;min-width:0;font-size:17px;font-weight:600;line-height:1;display:grid;place-items:center;border-right:0;border-bottom:0;border-radius:0}.sudoku-cell.given{background:#dcece3;color:#26483f;cursor:default;opacity:1}.sudoku-cell.chosen{background:#426e5b;color:white;box-shadow:inset 0 0 0 2px #284a38}.sudoku-cell.matching{background:#badac8}.sudoku-cell.conflict{color:#a0394a;background:#ffe4e7}.sudoku-cell.box-right{border-right:2px solid #3a695b}.sudoku-cell.box-bottom{border-bottom:2px solid #3a695b}.cell-notes{font-size:7px;line-height:9px;white-space:pre-wrap;word-break:break-all;width:19px;text-align:center;font-weight:400}.number-pad{display:grid;grid-template-columns:repeat(9,1fr);gap:3px;width:100%}.number-pad button{height:28px;min-width:0;background:#ffffffa0;color:#245747;border:1px solid #315e4b25;border-radius:4px;font-size:15px;padding:0}.mine-summary{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;height:18px}.mine-board{width:256px;max-width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:5px;border-radius:6px;background:#a49c7240}.mine-cell{aspect-ratio:1;min-width:0;border:1px solid #b5a978;border-bottom:3px solid #b5a978;border-radius:3px;padding:0;background:#fcf5d7;display:grid;place-items:center;color:#514c37;font-size:16px;font-weight:700}.mine-cell.open{background:#e0d7b1;border:1px solid #c8bd90}.mine-cell.exploded{background:#e39788;color:#713d3a}.adjacent-1{color:#35738c}.adjacent-2{color:#427047}.adjacent-3{color:#b24c48}.adjacent-4{color:#65548c}.adjacent-5,.adjacent-6,.adjacent-7,.adjacent-8{color:#885b32}.flag-toggle{height:30px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:0 10px;border:1px solid #756d493f;border-radius:4px;color:inherit;background:#ffffff80}.flag-toggle span{display:flex}.flag-toggle[aria-pressed="true"]{background:#6b603a;color:#fff4cf}.sea-board{width:256px;max-width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;border-radius:6px;border:6px solid #78b9c9;background:#78b9c9;overflow:hidden}.sea-cell{aspect-ratio:1;min-width:0;position:relative;border:0;padding:0;display:grid;place-items:center;color:#1e5d78;border-radius:2px}.water{background:#b1e6e9}.water:nth-child(3n){background:#a5dfe6}.water:after{content:"";position:absolute;bottom:4px;left:5px;right:5px;height:1px;background:#6fb7ca70;pointer-events:none}.rock{background:#8aa68e}.rock-shape{width:68%;height:65%;border-radius:8px 5px 6px 4px;background:#667e72;box-shadow:inset 3px 3px 0 #9fb6a2}.sea-cell.dock{background:#e7d0a1;color:#755e3b}.sea-cell.boat{background:#eaf8ed;color:#28576c}.sea-cell.boat:after{display:none}.buoy{width:9px;height:13px;border-radius:3px 3px 5px 5px;background:#efb657;border:2px solid #fff4d2;box-shadow:0 2px 0 #3f94aa}.route-hint{box-shadow:inset 0 0 0 3px #f8fae8}.harbor-controls{display:flex;width:100%;gap:8px;align-items:center;justify-content:space-between}.steering-pad{display:flex;gap:4px}.steering-pad button{height:31px;width:34px;background:#eef9f4b0;border:1px solid #4d889c55;border-radius:4px;padding:0;color:#27596b;display:grid;place-items:center}.puzzle-shell button:focus-visible{outline:2px solid currentColor;outline-offset:1px;z-index:1}.sudoku-cell:focus-visible{outline-offset:-3px}@media(max-height:500px){.puzzle-shell{width:min(100%,244px);gap:7px}.sudoku-board{width:244px}.mine-board,.sea-board{width:240px}.puzzle-tools{gap:6px}.puzzle-header h1{font-size:19px}.puzzle-root .game-status{font-size:10px}.sudoku-cell{font-size:16px}.cell-notes{font-size:6px;line-height:7px;width:17px}}@media(max-height:440px){.puzzle-shell{width:min(100%,232px);gap:6px}.sudoku-board{width:232px}.mine-board,.sea-board{width:224px}.puzzle-header h1{font-size:18px}.sudoku-cell{font-size:15px}.puzzle-small-score{font-size:9px}}