.nook-page{background:radial-gradient(ellipse at 100% 10%,#e4ecde 0,transparent 50%),#faf8ef}.nook-page .shell{max-width:1120px}.nook-header{gap:18px}.nook-header>.wordmark,.nook-header>nav>a{text-decoration:none}.nook-header>.wordmark{color:var(--ink)}.nook-header nav{display:flex;gap:18px;align-items:center}.nook-header nav a{font-size:13px;min-height:44px;display:flex;align-items:center;color:#47654d;line-height:1.2}.nook-header [aria-current]{font-weight:750}.nook-page button,.nook-page a.primary,.nook-page a.secondary{min-height:44px}.nook-page button:focus-visible,.nook-page a:focus-visible,.nook-page select:focus-visible{outline:3px solid #a17e3e;outline-offset:3px}.nook-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:38px 0 26px}.nook-intro h1{font:400 clamp(35px,5vw,60px)/1.04 Georgia,serif;letter-spacing:-1.5px;margin:10px 0 14px}.nook-intro>div{max-width:670px}.nook-intro .portrait{width:112px;height:112px;flex:none}.nook-page .nook-copy{font-size:15px;line-height:1.65;color:#586951;margin:10px 0}.nook-progress{font-size:13px;color:#627156;display:flex;flex-wrap:wrap;gap:8px 22px}.nook-resume{border-left:3px solid #69866a;padding:12px 18px;background:#e8eedf;border-radius:0 13px 13px 0;display:flex;gap:14px;align-items:center;justify-content:space-between;margin:20px 0}.nook-resume p{font-size:13px;line-height:1.5;margin:4px 0}.nook-set{background:#fffdf5;border:1px solid #d1d7c5;border-radius:22px;padding:clamp(18px,3vw,30px);box-shadow:0 8px 28px #3c5c3b08}.nook-set-head{display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.nook-set-head h2{font:400 clamp(27px,4vw,38px)/1.1 Georgia,serif;margin:8px 0}.nook-set-head .portrait{width:62px;height:62px;flex:none}.nook-set-head .eyebrow{margin:0}.nook-mode{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.nook-mode>span{font-size:13px;font-weight:650}.nook-mode button{padding:9px 16px;border:1px solid #bfccb6;border-radius:11px;background:#f7f6ec;font-size:14px;color:#435f49}.nook-mode [aria-pressed=true]{background:#e4ecd7;border:2px solid #69835c;padding:8px 15px;font-weight:700}.nook-mode small{font-size:12px;color:#5b6c55}.nook-puzzles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.nook-puzzle{border:1px solid #d7ddcc;border-radius:16px;padding:18px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;background:#f9f8ee}.nook-puzzle.is-done{background:#eef2e4;border-color:#a3b591}.nook-puzzle-art{width:58px;height:58px}.nook-puzzle-art svg{width:100%;height:100%}.nook-puzzle h3{font-size:19px;margin:12px 0 8px}.nook-puzzle p{font-size:13px;line-height:1.55;margin:0 0 16px;color:#5c6d55}.nook-puzzle .primary,.nook-puzzle .secondary{margin-top:auto;width:100%;padding:12px;font-size:14px}.nook-puzzle-status{font-size:12px;font-weight:650;color:#50704d;margin:0 0 9px;min-height:18px}.nook-puzzle .nook-pin{font-size:12px;align-self:center;min-height:44px;padding:8px;margin-top:4px;text-decoration:underline;text-underline-offset:4px;border:0;background:transparent;color:#596e50}.nook-set-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}.nook-set-footer p{font-size:13px;color:#5d7055;margin:0}.nook-set-footer button{font-size:13px}.nook-notes,.nook-library,.nook-favorites{margin-top:35px;padding-top:25px;border-top:1px solid #d3dac8}.nook-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:17px}.nook-section-heading h2{font:400 29px/1.2 Georgia,serif;margin:0}.nook-section-heading p{font-size:13px;line-height:1.5;margin:0;color:#607159}.nook-set-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.nook-set-choice{text-align:left;padding:16px;border:1px solid #d7ddcc;border-radius:13px;background:#f8f8ee;color:#354d39;min-width:0}.nook-set-choice[aria-pressed=true]{border-color:#668357;background:#e8efdf}.nook-set-choice strong{display:block;font-size:15px;line-height:1.35;margin:5px 0}.nook-set-choice span,.nook-set-choice small{font-size:12px;line-height:1.4;display:block;color:#627456}.nook-favorite-list{display:flex;flex-wrap:wrap;gap:10px}.nook-favorite-list button{font-size:14px}.nook-note-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.nook-note-tile{background:#f3eddc;border:1px solid #d9cdaa;border-radius:12px;padding:18px;text-align:left}.nook-note-tile b{display:block;font:400 21px/1.2 Georgia,serif;margin-bottom:7px}.nook-note-tile span{font-size:12px;color:#6a745b}.nook-letter{padding:10px 0;text-align:left}.nook-letter .portrait{width:70px;height:70px}.nook-letter h2{font:400 32px/1.1 Georgia,serif;margin:15px 0}.nook-letter blockquote{margin:20px 0;font:400 21px/1.65 Georgia,serif;color:#455b43}.nook-letter .nook-signature{font:italic 20px Georgia,serif}.nook-letter small{font-size:12px;line-height:1.5;color:#6d775e}.nook-result{max-width:680px;text-align:center;margin:40px auto}.nook-result>.portrait{width:95px;height:95px}.nook-result h1{font:400 44px/1.1 Georgia,serif;margin:22px 0 15px}.nook-result p{font-size:15px;line-height:1.65;color:#56694f}.nook-result .actions{justify-content:center;flex-wrap:wrap}.nook-result .nook-letter{border-top:1px solid #d6dccb;margin-top:30px}.nook-result .nook-letter .portrait{display:none}.nook-share-status{min-height:22px;font-size:12px;color:#566c50}.nook-page .footer{gap:15px;flex-wrap:wrap}.nook-page dialog{max-width:min(550px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain}.nook-page dialog p{font-size:15px;line-height:1.6}.nook-page dialog .actions{flex-wrap:wrap}.nook-page dialog .actions button{font-size:14px}
/* Keep navigation fixed during a round, with local scrolling on short screens. */
.nook-page .green-game-host{overflow-y:auto;touch-action:pan-y;scrollbar-width:thin;overscroll-behavior:contain;padding-bottom:10px}.nook-page .green-game{height:auto;min-height:100%;row-gap:0}.nook-page .board-space{min-height:216px;flex:1 0 216px}.nook-page .green-instruction,.nook-page .ten-instruction{font-size:13px}.nook-page .green-status{font-size:12px;min-height:48px;height:auto;display:block;overflow:visible}.nook-page .green-tools,.nook-page .ten-tools{flex-wrap:wrap;gap:8px}.nook-page .green-play-top span{font-size:11px}.nook-page .green-play-top span b{font-size:12px}.nook-page .green-tools button,.nook-page .ten-tools button{font-size:13px}.nook-page .green-hud{font-size:12px}.nook-page .green-hud b{font-size:14px}.nook-page .ten-keyboard{display:none}.nook-page .ten-board{touch-action:none}.nook-page .assistance-strip{font-size:12px}.nook-page .green-game-title>span{font-size:12px;letter-spacing:0;color:#627456}.nook-page .green-hud,.nook-page .ten-hud{margin-bottom:10px}
@media(max-width:700px){.nook-header{display:grid;grid-template-columns:1fr auto}.nook-header nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:10px}.nook-header>button{grid-column:2;grid-row:1}.nook-intro{margin-top:25px;gap:12px}.nook-intro .portrait{width:72px;height:72px}.nook-intro h1{font-size:37px}.nook-puzzles{grid-template-columns:1fr;gap:10px}.nook-puzzle{display:grid;grid-template-columns:52px minmax(0,1fr) auto;column-gap:12px;padding:14px}.nook-puzzle-art{width:48px;height:48px;grid-row:1/4}.nook-puzzle-status{grid-column:2;grid-row:1;margin-bottom:3px}.nook-puzzle h3{grid-column:2;grid-row:2;margin:0;font-size:18px}.nook-puzzle p{grid-column:2;grid-row:3;font-size:12px;margin:7px 0 0}.nook-puzzle>.primary,.nook-puzzle>.secondary{grid-column:3;grid-row:1/4;width:auto;align-self:center;padding:10px 13px}.nook-puzzle .nook-pin{grid-column:2/4;grid-row:4;justify-self:start;margin:2px 0 0;padding:5px 0;text-align:left}.nook-set-grid,.nook-note-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nook-set-head .portrait{width:48px;height:48px}.nook-section-heading{display:block}.nook-section-heading p{margin-top:8px}.nook-resume{align-items:flex-start;flex-direction:column}.nook-resume button{font-size:13px}.nook-set-footer{align-items:flex-start}.nook-set-choice{padding:13px}.nook-result h1{font-size:36px}.nook-result{margin:25px auto}.nook-page .nook-copy{font-size:14px}}
.nook-page .warehouse-board .warehouse-cell,.nook-page .ten-board .ten-cell{min-height:0}
@media(max-width:700px){.nook-page .nook-header{height:auto;gap:4px 12px;padding-block:8px}.nook-header nav{margin-left:0}}
@media(max-width:359px){.nook-puzzle{grid-template-columns:38px minmax(0,1fr);gap:8px}.nook-puzzle-art{width:36px;height:36px}.nook-puzzle>.primary,.nook-puzzle>.secondary{grid-column:2;grid-row:4;justify-self:start;margin-top:8px}.nook-puzzle .nook-pin{grid-column:2;grid-row:5}.nook-mode small{flex-basis:100%}.nook-intro .portrait{display:none}.nook-header nav a{font-size:12px}}
@media(min-aspect-ratio:5/4) and (max-height:600px){.nook-page .green-game{min-height:275px;grid-template-rows:auto auto auto 1fr auto}.nook-page .board-space{height:100%;min-height:248px}.nook-page .ten-keyboard{display:none}.nook-page .green-tools{align-content:end}.nook-page .green-play-shell{max-width:none}}
