.ggx{font-family:Georgia,serif;color:#242424}.ggx *{box-sizing:border-box}.ggx button{cursor:pointer}.ggx-teaser{border:2px solid #262626;padding:14px;text-align:center;background:#fffdf6}.ggx-kicker{font:700 10px Arial,sans-serif;letter-spacing:1.3px;color:#816014}.ggx-teaser h3{font-size:21px;margin:9px 0}.ggx-teaser p{font-size:13px;margin:4px}.ggx-mini{font:26px/1 monospace;letter-spacing:4px;margin:12px;color:#222}.ggx-open{background:#a67b1d;color:#fff;border:0;padding:12px 16px;font-weight:700;border-radius:3px;width:100%}.ggx-overlay[hidden]{display:none!important}.ggx-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.76);display:flex;align-items:center;justify-content:center;padding:12px}.ggx-dialog{background:#fffdf8;border:3px double #9c7a35;width:min(1100px,100%);max-height:94vh;overflow:auto;padding:18px;box-shadow:0 10px 50px #0007}.ggx-head{display:flex;justify-content:space-between;border-bottom:2px solid #222;padding-bottom:8px;gap:12px}.ggx-head h2{margin:5px 0;font-size:27px}.ggx-head p{margin:5px 0;font-size:13px}.ggx-close{border:0;background:transparent;font-size:36px;align-self:start;line-height:1}.ggx-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr);gap:20px;margin-top:14px}.ggx-current{font:700 14px Arial,sans-serif;min-height:38px}.ggx-board{display:grid;width:100%;max-width:550px;border:2px solid #222;aspect-ratio:var(--ggx-cols)/var(--ggx-rows);overflow:hidden}.ggx-cell{position:relative;min-width:0;min-height:0;width:100%;height:100%;border:1px solid #888;background:#fff;padding:0;margin:0;display:flex;align-items:center;justify-content:center;font:bold clamp(10px,1.4vw,19px) Arial,sans-serif;line-height:1;color:#111;appearance:none;overflow:hidden}.ggx-cell.block{background:#222;border-color:#222;pointer-events:none}.ggx-cell.active{background:#ffde80}.ggx-cell.selected{background:#f4bb3f;outline:2px solid #b17c0d;z-index:1}.ggx-cell.hinted .ggx-letter{color:#24629d}.ggx-cell.wrong{background:#ffd2d2}.ggx-letter{display:block;line-height:1}.ggx-num{position:absolute;top:1px;left:2px;font:clamp(6px,.65vw,9px) Arial,sans-serif}.ggx-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.ggx-actions button{font:600 12px Arial,sans-serif;padding:8px 10px;border:1px solid #a67b1d;background:#fff8e8;border-radius:3px}.ggx-status{font:13px Arial,sans-serif;min-height:20px}.ggx-clues{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-height:610px;overflow:auto}.ggx-clues h3{font-size:18px;margin:0 0 8px;border-bottom:1px solid #bbb}.ggx-clue{display:block;text-align:left;width:100%;padding:7px 5px;border:0;background:transparent;font:13px/1.4 Arial,sans-serif;color:#222}.ggx-clue.active{background:#fce6a9;font-weight:700}.ggx-foot{font:italic 13px Georgia,serif;border-top:1px solid #bbb;padding-top:12px;margin-bottom:0}@media(max-width:760px){.ggx-dialog{padding:10px}.ggx-content{grid-template-columns:1fr}.ggx-clues{max-height:320px}.ggx-cell{font-size:clamp(10px,2.8vw,17px)}.ggx-num{font-size:7px}.ggx-head h2{font-size:20px}}

/* 1.1: consistent popup and responsive full-grid layout */
.ggx-dialog{height:min(790px,94dvh);max-height:94dvh;overflow:hidden;display:flex;flex-direction:column}
.ggx-content{flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr)}
.ggx-left{display:flex;flex-direction:column;min-height:0;min-width:0}
.ggx-board-space{flex:1;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ggx-board{max-width:none;width:auto;height:auto;aspect-ratio:auto;flex-shrink:0}
.ggx-cell{font-size:var(--ggx-font,14px)}
.ggx-num{font-size:var(--ggx-num-font,8px)}
.ggx-clues{min-height:0;max-height:none;overflow:hidden;display:flex;flex-direction:column;gap:8px}
.ggx-clues section{min-height:0;overflow:auto;flex:1}
.ggx-navigator{display:flex;align-items:center;justify-content:space-between;gap:5px;font:600 12px Arial,sans-serif}
.ggx-navigator button{padding:7px;border:1px solid #a67b1d;background:#fff8e8;border-radius:3px;font:600 11px Arial,sans-serif}
.ggx-large .ggx-clues section{display:none}
.ggx-large .ggx-clues{justify-content:flex-start}
.ggx-large .ggx-current{font-size:14px;line-height:1.4}
.ggx-foot{flex-shrink:0;padding-top:6px;margin-top:7px}
.ggx-actions{flex-shrink:0;margin-top:8px}
.ggx-status{flex-shrink:0;margin:6px 0;min-height:18px}
@media(max-width:760px){.ggx-dialog{height:96dvh;max-height:96dvh}.ggx-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:6px}.ggx-clues{max-height:85px;min-height:40px}.ggx-clues section{display:none}.ggx-current{min-height:24px;font-size:12px}.ggx-head h2{font-size:19px}.ggx-head{padding-bottom:3px}.ggx-actions button{padding:6px;font-size:11px}.ggx-foot{font-size:11px}}

/* 1.4.1: Show clues for large puzzles; keep board and controls visible. */
.ggx-large .ggx-clues section{display:block}
.ggx-large .ggx-clues{justify-content:initial}
.ggx-dialog{height:min(790px,94dvh);max-height:94dvh;overflow:hidden}
.ggx-content{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(265px,.8fr);min-height:0;flex:1;gap:14px}
.ggx-left{min-height:0;min-width:0;display:flex;flex-direction:column}
.ggx-board-space{min-height:0;min-width:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ggx-board{flex-shrink:0}
.ggx-clues{min-height:0;display:flex;flex-direction:column;overflow:hidden;gap:7px}
.ggx-clues section{display:block;min-height:0;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain}
.ggx-navigator{flex-shrink:0}
.ggx-actions{display:flex;flex-wrap:wrap;flex-shrink:0;gap:5px;margin-top:6px}
.ggx-actions button{padding:6px 8px}
.ggx-current{min-height:28px}
.ggx-status{min-height:16px;margin:4px 0}
@media(max-width:760px){
 .ggx-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(120px,32%);gap:6px}
 .ggx-clues{max-height:none;min-height:0}
 .ggx-clues section,.ggx-large .ggx-clues section{display:block}
 .ggx-clues section{flex:1 1 0}
 .ggx-actions button{padding:5px 7px}
 .ggx-current{min-height:22px}
}

/* 1.4.2: restore full clickable clue sidebar, override compact-mode hiding. */
.ggx .ggx-content{display:grid!important;grid-template-columns:minmax(0,1.22fr) minmax(260px,.78fr)!important;align-items:stretch;min-height:0;}
.ggx .ggx-clues{display:flex!important;flex-direction:column!important;visibility:visible!important;min-width:0;min-height:0;max-height:none!important;overflow:hidden!important;}
.ggx .ggx-clues section,.ggx.ggx-large .ggx-clues section{display:block!important;visibility:visible!important;opacity:1!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;padding:4px 7px;border:1px solid #d9cba9;background:#fffdf8;}
.ggx .ggx-clues section h3{display:block!important;font:bold 16px Georgia,serif!important;color:#29231a!important;margin:0 0 6px!important;padding-bottom:5px;border-bottom:1px solid #c5ad79;}
.ggx .ggx-clues .ggx-clue{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:auto!important;min-height:0!important;color:#262626!important;text-align:left!important;font:13px/1.4 Arial,sans-serif!important;padding:7px 5px!important;white-space:normal!important;background:transparent;border:0;border-bottom:1px solid #eee8da;}
.ggx .ggx-clues .ggx-clue.active{background:#fce6a9!important;font-weight:700!important;}
.ggx .ggx-clues .ggx-clue:focus-visible{outline:2px solid #a67b1d;outline-offset:-2px;}
.ggx .ggx-navigator{flex-shrink:0!important;}
@media(max-width:760px){.ggx .ggx-content{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) minmax(135px,34%)!important}.ggx .ggx-clues{max-height:none!important}.ggx .ggx-clues section{padding:3px!important}}

/* v1.4.3 — The Grid Gazette vintage editorial finish. Presentation only. */
.ggx{--ggx-gold:#9a722d;--ggx-ink:#28251e;--ggx-paper:#fcf9f0;--ggx-line:#d7c39b;color:var(--ggx-ink)}
.ggx .ggx-teaser{position:relative;overflow:hidden;border:1px solid #a9894f;outline:1px solid #d6c39b;outline-offset:-6px;padding:20px 15px 18px;background:repeating-linear-gradient(0deg,rgba(113,88,44,.025) 0,rgba(113,88,44,.025) 1px,transparent 1px,transparent 5px),linear-gradient(145deg,#fffdf7,#f6eddb);box-shadow:0 5px 18px rgba(46,33,12,.12);border-radius:2px}
.ggx .ggx-teaser:before{content:'✦  THE SUNDAY PUZZLE DESK  ✦';display:block;font:700 9px/1.5 Georgia,serif;letter-spacing:1.3px;color:#856329;margin:0 0 8px}
.ggx .ggx-teaser .ggx-kicker{font:700 9px/1.5 Arial,sans-serif;letter-spacing:1.1px;color:#806638}
.ggx .ggx-teaser h3{font:700 clamp(19px,2vw,25px)/1.15 Georgia,serif;color:#29241b;margin:9px 0 7px;text-shadow:0 1px #fff}
.ggx .ggx-teaser p{font:italic 12px/1.5 Georgia,serif;color:#665b4a;margin:4px 0}
.ggx .ggx-mini{display:block;position:relative;margin:13px auto 15px;padding:8px 4px;width:fit-content;max-width:100%;font:700 22px/1.1 'Courier New',monospace;letter-spacing:5px;color:#262522;background:#fdfaf3;border-top:3px double #b79a64;border-bottom:3px double #b79a64}
.ggx .ggx-open{width:100%;max-width:270px;background:linear-gradient(180deg,#b58c40,#88611f);color:#fffdf6;border:1px solid #76541f;box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 4px #0002;border-radius:3px;padding:11px 14px;font:700 12px Georgia,serif;letter-spacing:.4px;transition:filter .15s,transform .15s}
.ggx .ggx-open:hover{filter:brightness(1.1);transform:translateY(-1px)}
.ggx .ggx-open:focus-visible,.ggx .ggx-actions button:focus-visible,.ggx .ggx-navigator button:focus-visible{outline:3px solid #ad7c24;outline-offset:2px}
.ggx .ggx-overlay{background:rgba(18,16,13,.82)}
.ggx .ggx-dialog{position:relative;background:repeating-linear-gradient(0deg,rgba(130,100,50,.016) 0,rgba(130,100,50,.016) 1px,transparent 1px,transparent 6px),#fcf9f1;border:2px solid #997434;outline:1px solid #d3bd91;outline-offset:-7px;box-shadow:0 22px 70px #0009,inset 0 0 0 5px #faf4e6;padding:18px}
.ggx .ggx-head{border-bottom:3px double #aa8a4e;padding-bottom:10px;align-items:flex-start}
.ggx .ggx-head h2{font-family:Georgia,serif;font-weight:700;letter-spacing:-.6px;color:#28231a;text-shadow:0 1px #fff;font-size:clamp(21px,2.2vw,29px)}
.ggx .ggx-head .ggx-kicker{font:700 10px Arial,sans-serif;letter-spacing:1.8px;color:#86642b}
.ggx .ggx-head p{color:#5e5344;font:13px Georgia,serif}
.ggx .ggx-close{color:#43341e;border:1px solid transparent;border-radius:3px;padding:1px 7px;font-size:30px;transition:background .15s}
.ggx .ggx-close:hover{background:#eee1c8}
.ggx .ggx-current{font:700 13px/1.4 Georgia,serif;color:#3c3020;border-left:3px solid #bb934d;padding-left:8px}
.ggx .ggx-board{border:2px solid #2c2924;box-shadow:0 0 0 2px #e4d8be}
.ggx .ggx-cell.block{background:#242320;border-color:#242320}
.ggx .ggx-cell.active{background:#f9e8b5}
.ggx .ggx-cell.selected{background:#efbd54;outline:2px solid #99691c}
.ggx .ggx-clues section,.ggx.ggx-large .ggx-clues section{background:#fffdf7!important;border:1px solid #d2bb8e!important;border-radius:2px;box-shadow:inset 0 2px 0 #f1e8d5}
.ggx .ggx-clues section h3{font:700 17px Georgia,serif!important;color:#392b1a!important;border-bottom:3px double #b99b65!important;padding:3px 2px 7px!important;letter-spacing:.3px}
.ggx .ggx-clues .ggx-clue{font:13px/1.45 Georgia,serif!important;border-bottom:1px solid #eee5d5!important;padding:7px 6px!important}
.ggx .ggx-clues .ggx-clue:hover{background:#f7edda!important}
.ggx .ggx-clues .ggx-clue.active{background:#f8e4b3!important;box-shadow:inset 3px 0 #b28636;color:#352916!important}
.ggx .ggx-navigator{color:#6b5737;font:700 11px Georgia,serif}
.ggx .ggx-navigator button,.ggx .ggx-actions button{border:1px solid #b69a67;background:linear-gradient(#fffaf0,#f1e4c9);color:#4d391d;border-radius:3px;font:700 11px Georgia,serif;box-shadow:0 1px 2px #0001}
.ggx .ggx-navigator button:hover,.ggx .ggx-actions button:hover{background:#e9d3a4;border-color:#96703b}
.ggx .ggx-status{color:#5a4a30}
.ggx .ggx-foot{font:italic 12px/1.3 Georgia,serif;color:#796342;border-top:3px double #c6ac7a;padding-top:7px}
@media(max-width:760px){.ggx .ggx-dialog{padding:12px}.ggx .ggx-head h2{font-size:20px}.ggx .ggx-clues .ggx-clue{font-size:12px!important}.ggx .ggx-teaser{padding:16px 12px}}

/* v1.4.4: narrow homepage sidebar, presentation only. */
.ggx .ggx-teaser{padding:15px 10px 14px;text-align:center}
.ggx .ggx-teaser:before{content:'✦  THE GRID GAZETTE · WEEKLY CROSSWORD  ✦';font:700 clamp(7px,2.6cqw,9px)/1.4 Georgia,serif;letter-spacing:.35px;white-space:normal;margin-bottom:5px}
.ggx .ggx-teaser .ggx-kicker{display:none}
.ggx .ggx-teaser h3{display:block!important;text-align:center!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(14px,5.5cqw,19px)!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.45px!important;white-space:nowrap!important;margin:9px auto 6px!important;max-width:100%}
.ggx{container-type:inline-size}
.ggx .ggx-teaser p{text-align:center;font-size:11px;margin:4px auto 6px}
.ggx .ggx-prescott-art{display:block;width:min(100%,190px);height:auto;object-fit:contain;margin:8px auto 10px;border:0;box-shadow:none;background:transparent}
.ggx .ggx-open{display:block;margin:0 auto;width:100%;max-width:none}
@supports not (container-type:inline-size){.ggx .ggx-teaser h3{font-size:16px!important}}

/* v1.4.5: restrained vintage flourishes for the narrow homepage sidebar. */
.ggx .ggx-teaser h3{font-size:clamp(15px,5.9cqw,19px)!important;letter-spacing:-.65px!important;margin:8px auto 4px!important;overflow:visible}
.ggx .ggx-teaser h3::after{content:'❧  ─────  ❧';display:block;font:normal 12px/1.1 Georgia,serif;letter-spacing:1.5px;color:#a78039;text-align:center;margin:5px auto 1px;white-space:nowrap}
.ggx .ggx-teaser p{margin-top:3px}
@media(max-width:300px){.ggx .ggx-teaser h3{font-size:clamp(14px,5.5cqw,17px)!important}}

.ggx .ggx-actions [data-action="check-puzzle"]{background:linear-gradient(#f3d899,#bd8d32);color:#34250f;border-color:#9b742d;font-weight:700}

.ggx .ggx-score{font:700 12px Georgia,serif;color:#77521d;background:#fff7e5;border-left:3px solid #b98b37;padding:5px 8px;margin:3px 0 5px;min-height:25px;flex-shrink:0}
