@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root{--paper:#f6f3eb;--ink:#342d27;--muted:#746b61;--red:#ad402f;--red-dark:#8d2e20;--line:#ded8ca;--cream:#fffcf5;--sage:#516e53;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--serif:'Playfair Display',Georgia,serif;color:var(--ink);background:var(--paper);font-family:var(--sans);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--sage);outline-offset:4px}button{touch-action:manipulation}a{color:inherit}button, input,textarea{color:var(--ink)}[hidden]{display:none!important}.site-header{max-width:1240px;margin:auto;padding:26px 44px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-size:18px;font-weight:650;letter-spacing:-.5px;display:flex;align-items:center;gap:9px}.brand-icon{color:var(--red);font-size:35px;line-height:1}.brand-dot{margin-left:-8px;color:var(--red)}.edition{font-size:10px;letter-spacing:1.6px;color:var(--muted);display:flex;gap:8px;align-items:center}.edition span{font-size:7px;color:var(--sage)}main{max-width:1152px;margin:auto;padding:0 24px}.intro{display:flex;align-items:center;justify-content:space-between;padding:55px 0 44px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:650;line-height:1.6;margin:0 0 12px}h1,h2,h3,p{margin-top:0}h1{font-family:var(--serif);font-size:clamp(44px,5.2vw,70px);font-weight:500;line-height:1.12;letter-spacing:-2.4px;margin-bottom:17px}h1 em{color:var(--red);font-weight:500}.lead{font-size:15px;color:var(--muted);line-height:1.7;margin:0}.coffee-note{width:190px;text-align:center;transform:rotate(7deg);margin-right:48px;color:#755c45}.coffee-note svg{width:147px;display:block;margin:auto auto 6px}.coffee-note span{font-family:var(--serif);font-style:italic;font-size:16px}.game-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:44px;align-items:start}.sidebar{padding-top:2px}.visit-card{background:#eee9dd;padding:27px 25px 19px;border:1px solid #e5decf;border-radius:4px}.visit-card .eyebrow{color:var(--muted);font-size:9px}.visit-card h2{font-family:var(--serif);font-size:26px;line-height:1.25;font-weight:500;overflow-wrap:anywhere;margin:0 0 11px}.muted{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:0}.card-divider{border-top:1px dashed #cdc4b2;margin:23px 0}.score{display:flex;flex-direction:column;gap:6px}.score strong{font-size:41px;font-weight:550;letter-spacing:-1.3px;line-height:1.1}.score strong span{font-size:22px;font-weight:400;color:#8a8071}.score>span{font-size:12px;color:var(--muted)}.progress-track{background:#d9d3c7;height:5px;margin:18px 0 10px;border-radius:8px;overflow:hidden}#progress-fill{background:var(--sage);height:100%;transition:width .25s;max-width:100%;width:0}.progress-note{font-size:11px;margin-bottom:25px;min-height:16px;color:#665d51}.button{border:1px solid transparent;border-radius:5px;display:inline-flex;justify-content:center;gap:10px;align-items:center;font-size:13px;font-weight:600;min-height:45px;padding:12px 18px;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--red);color:#fffaf1}.primary:hover{background:var(--red-dark)}.secondary{background:transparent;border-color:var(--line)}.secondary:hover{background:#eee9dd}.visit-card .button{width:100%}.visit-card .button>span{font-size:19px;line-height:16px}.saved-note{font-size:10px;line-height:1.5;text-align:center;margin:12px 0 0;color:var(--muted)}.saved-note span{color:var(--sage);margin-right:3px}.instructions{padding:25px 8px}.instructions h3{font-family:var(--serif);font-size:20px;font-weight:500;margin-bottom:18px}.instructions ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:17px}.instructions li{display:flex;gap:12px}.instructions li>span{color:var(--red);font-size:10px;padding-top:4px;font-weight:600}.instructions p{font-size:12px;line-height:1.6;margin:0;color:var(--muted)}.instructions strong{font-weight:600;color:var(--ink)}.quiet-note{display:flex;align-items:center;gap:8px;margin-top:24px!important;font-size:11px!important}.quiet-note svg{width:17px;height:17px}.board-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.board-heading .eyebrow{font-size:9px;color:var(--muted);margin-bottom:4px;display:block}.board-heading h2{font-family:var(--serif);font-size:30px;font-weight:500;letter-spacing:-.5px;margin:0}.size-tag{border:1px solid #d9d2c2;font-size:11px;padding:6px 12px;border-radius:20px;color:var(--muted)}.board-paper{padding:18px;background:var(--cream);border:1px solid #ddd5c4;box-shadow:3px 4px 0 #e9e3d6;border-radius:3px}.paper-top{display:flex;justify-content:space-between;color:#7d7363;font-size:8px;letter-spacing:1.3px;margin:1px 2px 16px;gap:10px}.board{display:grid;grid-template-columns:repeat(var(--size,4),minmax(0,1fr));gap:7px}.bingo-cell{position:relative;display:flex;align-items:center;justify-content:center;background:#f7f3e9;border:1px solid #e0d7c7;border-radius:3px;min-width:0;min-height:119px;padding:21px 9px 16px;font-weight:500;font-size:13px;line-height:1.45;text-align:center;transition:background .2s,border-color .2s,color .2s,transform .15s;overflow-wrap:anywhere}.cell-number{position:absolute;top:7px;left:9px;font-size:8px;line-height:1;letter-spacing:.5px;color:#8c806b;font-weight:400}.cell-check{position:absolute;right:7px;top:5px;font-size:12px;line-height:1;color:var(--red);opacity:0}.bingo-cell.selected{background:#efcfbd;border-color:#c7866e;color:#793321}.bingo-cell.selected .cell-check{opacity:1}.bingo-cell.selected .cell-number{color:#9d614c}.bingo-cell.winning{background:#dfe5d4;border-color:#7c9270;color:#364c31}.bingo-cell.winning .cell-check,.bingo-cell.winning .cell-number{color:var(--sage)}.bingo-cell:active{transform:scale(.97)}@media(hover:hover){.bingo-cell:hover{border-color:#b8886f;background:#f1e6d7}.bingo-cell.selected:hover{background:#e7bca5}.bingo-cell.winning:hover{background:#cdd9bf}}.paper-bottom{display:flex;justify-content:space-between;align-items:center;margin:13px 2px -2px;color:#8b7d6b;font-family:var(--serif);font-size:11px;font-style:italic}.paper-bottom>span:last-child{font-style:normal;color:var(--red);font-size:21px;line-height:1}.board-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px}.text-button{background:none;border:0;padding:8px 0;font-size:12px;color:var(--red);display:inline-flex;align-items:center;gap:7px;min-height:38px;text-align:left;font-weight:550;text-decoration-thickness:1px;text-underline-offset:4px}.text-button:hover{text-decoration:underline}.text-button svg{width:16px;height:16px}.text-button.subtle{color:var(--muted);font-weight:400}.under-board{font-size:10px;color:var(--muted);text-align:center;margin:9px 0 0;line-height:1.6}.bingo-banner{border:1px solid #c2ceb6;background:#e5eada;padding:17px 20px;display:flex;gap:16px;align-items:center;margin-top:18px;border-radius:4px;color:#3d5339}.bingo-banner>span{font-size:35px}.bingo-banner strong{font-family:var(--serif);font-size:21px;font-weight:500}.bingo-banner p{font-size:12px;margin:5px 0 0;line-height:1.5}footer{border-top:1px solid var(--line);margin-top:44px;padding:21px 0 28px;font-size:10px;color:#817765;display:flex;justify-content:space-between;gap:20px;line-height:1.6}footer>span{font-style:italic}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:white;border-radius:6px;padding:12px 20px;font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px);width:max-content;text-align:center;box-shadow:0 4px 24px #0002}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d7cebc;border-radius:10px;background:var(--cream);color:var(--ink);padding:28px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 20px 90px #31291f33}dialog::backdrop{background:#342d2759;backdrop-filter:blur(3px)}dialog h2{font-family:var(--serif);font-weight:500;font-size:36px;letter-spacing:-.7px;line-height:1.14;margin:8px 0 24px}dialog h2 em{color:var(--red);font-weight:500}.editor-dialog{max-width:570px}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-top .eyebrow{margin:0;font-size:9px;color:var(--muted)}.icon-button{background:none;border:none;font-size:28px;width:40px;height:40px;display:inline-flex;justify-content:center;align-items:center;line-height:1;border-radius:50%;flex-shrink:0}.icon-button:hover{background:#ebe4d7}.field-label{font-size:12px;display:block;margin-bottom:8px;font-weight:600}input[type=text],textarea{display:block;width:100%;border:1px solid #d6cdbb;background:#fffdf8;border-radius:5px;padding:12px;font-size:14px;line-height:1.6}textarea{resize:vertical;min-height:155px;max-height:360px;font-size:13px;line-height:1.8}.size-picker{border:0;padding:0;margin:19px 0}.size-picker>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.size-picker label{position:relative;cursor:pointer}.size-picker input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.size-picker label>span{display:flex;flex-direction:column;gap:4px;text-align:center;border:1px solid #d6cdbb;border-radius:5px;padding:10px;font-size:16px;font-weight:550}.size-picker small{font-size:10px;font-weight:400;color:var(--muted)}.size-picker input:checked+span{background:#f1dacd;border-color:var(--red);color:var(--red)}.size-picker input:focus-visible+span{outline:3px solid var(--sage);outline-offset:3px}.phrases-label{display:flex;justify-content:space-between;align-items:center;gap:12px}.phrases-label .field-label{margin-bottom:0}#phrase-count{font-size:11px;color:var(--sage);font-weight:550}.field-help{font-size:11px;color:var(--muted);line-height:1.5;margin:7px 0 10px}.editor-helpers{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.editor-helpers .text-button{font-size:11px}.editor-error{font-size:12px;color:var(--red);line-height:1.5;margin:5px 0 14px}.editor-footer{border-top:1px solid var(--line);padding-top:17px}.editor-footer p{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:14px}.editor-footer .button{width:100%}.small-dialog{max-width:460px}.small-dialog h2{font-size:31px;margin:13px 0}.small-dialog p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:22px}.confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.win-dialog{max-width:400px;text-align:center;padding:34px 32px 32px;overflow:hidden}.win-dialog>.icon-button{position:absolute;top:10px;right:10px}.win-star{font-size:74px;color:var(--red);display:block;line-height:1.2;margin-bottom:15px}.win-dialog .eyebrow{font-size:9px}.win-dialog h2{font-size:76px;font-style:italic;color:var(--red);margin:7px 0 15px}.win-dialog p:not(.eyebrow){font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:25px}.win-dialog .button{width:100%}.confetti{position:fixed;inset:0;z-index:50;pointer-events:none;overflow:hidden}.confetti i{position:absolute;width:8px;height:12px;top:-20px;animation:fall 1.8s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(520deg)}}.board[data-size="3"] .bingo-cell{min-height:154px;font-size:15px}.board[data-size="5"] .bingo-cell{min-height:108px;font-size:11px;padding:20px 6px 12px}
@media(min-width:1400px){.intro{padding-top:62px;padding-bottom:49px}}
@media(max-width:900px){.site-header{padding-left:28px;padding-right:28px}.game-layout{grid-template-columns:245px minmax(0,1fr);gap:24px}.visit-card{padding:22px 19px}.coffee-note{margin-right:18px}.bingo-cell{font-size:12px;min-height:115px;padding-left:6px;padding-right:6px}.board-paper{padding:12px}.paper-top{font-size:7px;letter-spacing:.8px}.board[data-size="5"] .bingo-cell{font-size:10px}}
@media(max-width:700px){main{padding:0 20px}.site-header{padding:18px 20px 16px}.brand{font-size:16px}.brand-icon{font-size:30px}.edition{font-size:8px;letter-spacing:1.1px}.intro{padding:31px 0 29px}.intro .eyebrow{font-size:8px;letter-spacing:1.35px;margin-bottom:10px}h1{font-size:43px;letter-spacing:-1.6px;max-width:350px;margin-bottom:12px}.lead{font-size:12px;line-height:1.65}.coffee-note{display:none}.game-layout{display:flex;flex-direction:column;gap:23px}.sidebar{width:100%;padding:0}.visit-card{padding:17px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 15px}.visit-card>.eyebrow{grid-column:1;margin:0 0 4px;font-size:8px}.visit-card h2{grid-column:1;font-size:22px;margin:0}.visit-card>.muted,.card-divider{display:none}.visit-card .score{grid-column:2;grid-row:1/3;text-align:right;gap:3px}.score strong{font-size:28px}.score strong span{font-size:16px}.score>span{font-size:9px}.progress-track{grid-row:3;grid-column:1/-1;margin:16px 0 7px;height:4px}.progress-note{grid-row:4;grid-column:1/-1;margin:0 0 13px;font-size:10px}.visit-card>.button{grid-column:1;justify-self:start;width:auto;padding:8px 13px;min-height:37px;font-size:11px;gap:6px}.visit-card>.button>span{font-size:15px}.saved-note{grid-column:2;margin:0;max-width:105px;text-align:right;font-size:9px}.instructions{display:none}.board-section{width:100%}.board-heading{margin-bottom:13px}.board-heading h2{font-size:26px}.board-heading .eyebrow{font-size:8px;margin-bottom:3px}.size-tag{font-size:10px;padding:5px 11px}.board-paper{padding:10px;box-shadow:2px 3px 0 #e9e3d6}.paper-top{font-size:6px;letter-spacing:.75px;margin:3px 1px 11px}.board{gap:5px}.bingo-cell{font-size:11px;line-height:1.4;min-height:105px;padding:20px 5px 12px}.cell-number{top:6px;left:6px;font-size:7px}.cell-check{right:4px;top:4px;font-size:11px}.paper-bottom{font-size:9px;margin-top:10px}.paper-bottom>span:last-child{font-size:17px}.board-actions{margin-top:13px}.text-button{font-size:11px}.under-board{font-size:9px;margin-top:4px}.board[data-size="3"] .bingo-cell{min-height:119px;font-size:12px}.board[data-size="5"] .bingo-cell{min-height:101px;font-size:10px;padding:18px 3px 10px;line-height:1.35}.board[data-size="5"]{gap:4px}.board[data-size="5"] .cell-number{font-size:6px;left:4px}footer{margin-top:28px;padding:18px 0 22px;font-size:9px;gap:10px;flex-direction:column}footer>span{display:none}.bingo-banner{padding:13px 15px}.bingo-banner strong{font-size:20px}.bingo-banner p{font-size:11px}.editor-dialog{padding:20px}dialog h2{font-size:31px;margin-bottom:20px}input[type=text],textarea{font-size:16px}.size-picker small{font-size:9px}.size-picker label>span{padding:9px 5px}.editor-helpers{gap:0 10px}.editor-helpers .text-button{font-size:10px}.editor-footer p{font-size:10px}.toast{bottom:20px;font-size:12px}.confirm-actions .button{flex:1;font-size:12px;padding:10px}.small-dialog{padding:22px}}
@media(max-width:370px){main{padding:0 12px}.site-header{padding-left:12px;padding-right:12px}.brand{font-size:14px}.edition{font-size:7px}.visit-card{padding:14px}.board-paper{padding:8px}.bingo-cell{font-size:10px}.board[data-size="5"] .bingo-cell{font-size:9px}.intro h1{font-size:38px}.intro .eyebrow{font-size:7px}}
.example-note{grid-column:1/-1;font-size:10px;line-height:1.6;color:var(--muted);border-top:1px dashed #cdc4b2;padding-top:12px;margin:14px 0 0}.example-note[hidden]{display:none}
.sound-card{margin-top:15px;padding:18px 19px 14px;border:1px solid var(--line);border-radius:4px;background:#faf7ef}.sound-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.sound-heading h3{font-family:var(--serif);font-weight:500;font-size:17px;margin:0}.sound-toggle{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:6px 0;min-height:36px;color:var(--muted);font-size:10px;white-space:nowrap}.switch-track{display:inline-block;background:#b8b0a3;width:28px;height:17px;border-radius:15px;padding:3px}.switch-track:after{content:'';display:block;background:white;width:11px;height:11px;border-radius:50%;transition:transform .2s}.sound-toggle[aria-pressed=true] .switch-track{background:var(--sage)}.sound-toggle[aria-pressed=true] .switch-track:after{transform:translateX(11px)}.sound-card .field-label{font-size:10px;font-weight:500;color:var(--muted);margin-bottom:6px}.sound-card textarea{min-height:70px;max-height:180px;font-size:12px;line-height:1.6;padding:9px}.sound-card .text-button{font-size:11px;min-height:40px}.sound-card .text-button>span{font-size:19px;line-height:1}.sound-status{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.win-dialog .win-audio-error{font-size:11px!important;color:var(--red)!important;margin-bottom:18px!important}
@media(max-width:700px){.sidebar{display:contents}.visit-card{width:100%;order:0}.board-section{order:1}.sound-card{order:2;margin-top:0;width:100%;padding:16px 18px}.sound-heading h3{font-size:20px}.sound-toggle{font-size:12px;min-height:40px}.sound-card textarea{font-size:16px;min-height:72px}.sound-card .field-label{font-size:11px}.sound-card .text-button{font-size:12px;min-height:44px}.sound-status{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
.voice-picker{margin-top:13px}.voice-picker select{width:100%;min-height:42px;padding:9px 7px;background:var(--cream);border:1px solid #c4cdb8;border-radius:4px;font:inherit;font-size:12px;color:var(--ink);overflow:hidden;text-overflow:ellipsis}.voice-picker select:focus-visible,.voice-tuning input:focus-visible,.voice-tuning summary:focus-visible{outline:3px solid var(--sage);outline-offset:3px}.voice-help{font-size:10px;line-height:1.55;color:var(--muted);margin:7px 0 10px}.voice-tuning{border-top:1px dashed var(--line);padding-top:4px}.voice-tuning summary{font-size:11px;cursor:pointer;min-height:40px;align-content:center;color:var(--ink)}.voice-tuning label{font-size:11px;display:flex;justify-content:space-between;gap:10px;margin-top:7px}.voice-tuning output{color:var(--muted);font-size:10px}.voice-tuning input[type=range]{display:block;width:100%;min-height:36px;margin:0;accent-color:var(--sage)}.voice-tuning .text-button{font-size:10px}.voice-picker select:disabled{opacity:.6}
@media(max-width:700px){.voice-picker select{font-size:16px;min-height:44px}.voice-help{font-size:11px}.voice-tuning summary{font-size:12px;min-height:44px}.voice-tuning label{font-size:12px}.voice-tuning output{font-size:11px}.voice-tuning input[type=range]{min-height:44px}}
.duel-card{margin-top:15px;padding:19px;border:1px solid #b7c9c5;border-radius:4px;background:#eaf0e2}.duel-card .eyebrow{font-size:8px;color:#5d7a77;margin-bottom:4px}.duel-card h3{font-family:var(--serif);font-size:23px;font-weight:500;margin:0 0 9px}.duel-card p:not(.eyebrow){font-size:11px;line-height:1.65;margin-bottom:13px}.duel-card .button{width:100%;font-size:11px;min-height:40px;border-color:#9cb4af;background:#fbf9ee}.duel-actions{display:flex;flex-wrap:wrap;gap:0 12px}.duel-actions .text-button{font-size:10px;min-height:35px}.duel-badge{font-size:9px!important;font-weight:650;letter-spacing:1px;color:#41675d;border-top:1px dashed #b9cbb9;padding-top:11px}.share-duel-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 10px}.share-duel-actions .button{flex:1;white-space:nowrap;font-size:12px;padding:10px}.duel-footnote{font-size:11px!important;line-height:1.65!important;color:var(--muted);margin:12px 0 0!important}.duel-copy-status{font-size:12px!important;color:var(--sage)!important;margin:0!important;min-height:18px}.duel-invite-preview{font-size:12px!important;color:var(--sage)!important;line-height:1.6!important;margin:12px 0!important}#duel-link{font-size:12px}#join-duel-submit{width:100%;margin-top:18px}#join-duel-input{min-height:100px;max-height:180px;overflow-wrap:anywhere;font-size:12px}
@media(max-width:700px){.duel-card{order:2;width:100%;margin-top:0}.sound-card{order:3}.duel-card h3{font-size:24px}.duel-card p:not(.eyebrow){font-size:12px}.duel-card .button{min-height:44px;font-size:12px}.duel-actions .text-button{font-size:11px;min-height:44px}#duel-link,#join-duel-input{font-size:16px}}
.duel-access-help{border-top:1px solid var(--line);padding-top:6px;margin-top:14px;font-size:11px;line-height:1.65}.duel-access-help summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600}.duel-access-help ol{padding-left:20px;margin:5px 0}.duel-access-help li{margin-bottom:9px}.duel-access-help a{color:var(--red);text-underline-offset:3px}.duel-access-help p{font-size:11px!important;margin:10px 0 0!important}
