.wordle-game{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:0}
.wordle-heading{text-align:center;display:block;width:100%;height:auto;margin:0;padding:0;border:0;flex-shrink:0}.wordle-heading small{font:11px monospace;letter-spacing:.12em;color:#969e86}.wordle-heading h2{font:clamp(24px,3vw,42px) Georgia,serif;margin:10px 0;color:#e2dac0}.wordle-heading p{font:14px/1.4 Georgia,serif;color:#a9ad97;margin:0}
.wordle-history{width:min(100%,650px);flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 12px 6px;scrollbar-width:thin}
.wordle-row-wrap{margin:0 auto 12px;max-width:460px}.wordle-row-team{display:block;font:11px monospace;color:#a5ad92;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}
.wordle-row{display:grid;grid-template-columns:repeat(var(--word-length),minmax(0,1fr));gap:7px;width:100%;max-width:460px}.wordle-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px solid #6b70596b;background:#11150fe8;font:bold clamp(24px,3vw,38px) Georgia,serif;color:#ede6cf}.wordle-cell.correct,.wordle-keyboard button.correct{background:#415b36;border-color:#789867}.wordle-cell.present,.wordle-keyboard button.present{background:#78652d;border-color:#b39b57}.wordle-cell.absent,.wordle-keyboard button.absent{background:#252923;border-color:#44493e;color:#a0a38e}.wordle-current{flex-shrink:0}.wordle-empty{text-align:center;margin:40px 0;color:#737c66;font:20px Georgia,serif}.wordle-status{min-height:20px;text-align:center;margin:0;color:#acb398;font:13px/1.4 Georgia,serif}.wordle-finish{background:none;border:0;color:#d9cfb0;font:25px Georgia,serif;padding:12px}
.wordle-keyboard{width:100%;display:grid;gap:6px;flex-shrink:0}.wordle-keyboard>div{display:flex;justify-content:center;gap:4px}.wordle-keyboard button{min-width:0;flex:1;max-width:42px;height:45px;padding:0;border:1px solid #73785e66;border-radius:3px;background:#414536;color:#f1e9cf;font:bold 16px Arial,sans-serif;touch-action:manipulation}.wordle-keyboard button.wide-key{flex:1.5;max-width:57px}.wordle-keyboard button:disabled{opacity:.55}.wordle-keyboard button:focus-visible{outline:2px solid #eadfbe;outline-offset:1px}
.game-board-phone.wordle-game{gap:8px}.game-board-phone .wordle-heading h2{font-size:24px;margin:6px 0}.game-board-phone .wordle-heading p{font-size:12px}.game-board-phone .wordle-history{padding:0 2px}.game-board-phone .wordle-row{gap:5px;max-width:330px}.game-board-phone .wordle-cell{font-size:25px}.game-board-phone .wordle-current{max-width:330px}.game-board-phone .wordle-row-wrap{margin-bottom:8px}.game-board-phone .wordle-status:empty{display:none}
@media(max-height:620px){.game-board-phone .wordle-keyboard button{height:36px}.game-board-phone .wordle-heading p{font-size:11px}.game-board-phone .wordle-heading h2{font-size:21px;margin:4px 0}.game-board-phone .wordle-cell{font-size:22px}.game-board-phone.wordle-game{gap:6px}}
/* A rejected guess must never cover the keyboard needed to correct it. */
body:has(.wordle-game) #notice{top:max(6px,env(safe-area-inset-top));bottom:auto;pointer-events:none;font-size:13px}
