@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--ink:#242b32;--muted:#70757b;--line:#dedfdb;--orange:#e85f3b;--paper:#f7f7f2;--white:#fff;--green:#155446}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 'DM Sans',sans-serif}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #bd471f;outline-offset:4px}button{color:inherit}h1,h2,h3,.brand{font-family:'Space Grotesk',sans-serif}header{max-width:1320px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:25px;letter-spacing:-1px;font-weight:700;text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:5px}.brand-light{font-weight:400}.brandmark{height:35px;width:35px;background:var(--orange);border-radius:10px;color:white;display:inline-flex;align-items:center;justify-content:center;font-size:30px;margin-right:6px;position:relative}.brandmark span{font-size:23px;color:#ffdb77;position:absolute;right:5px;top:-7px}.header-right{display:flex;gap:24px;align-items:center}.guest{font-size:14px;color:var(--muted)}.button{border:0;border-radius:8px;font-weight:700;padding:13px 22px;display:inline-flex;align-items:center;justify-content:center;gap:20px;transition:transform .15s,background .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.small{font-size:14px;padding:10px 15px;background:var(--ink);color:white}.small span{border-left:1px solid #70757b;padding-left:14px}.primary{background:var(--orange);color:white}.primary:hover{background:#cf4b29}.secondary{background:#fff;border:1px solid var(--line)}main{max-width:1320px;margin:auto;padding:0 40px}.intro{display:flex;align-items:center;justify-content:space-between;padding:39px 0 30px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;margin:0 0 12px}.tiny-star{color:var(--orange);font-size:18px;margin-right:5px}h1{font-size:48px;line-height:1.07;letter-spacing:-2px;margin:0 0 15px;font-weight:600}.orange{color:var(--orange)}.intro p:not(.eyebrow){color:var(--muted);margin:0}.free-note{display:flex;gap:17px;padding:22px 28px;border:1px dashed #c9cbc6;border-radius:12px;transform:rotate(2deg);margin-right:12px}.free-note p{font-size:14px;margin-top:5px!important}.free-note strong{font-size:15px}.ticket-icon{display:flex;align-items:center;justify-content:center;width:49px;height:59px;border-radius:6px;background:#f6d371;font-family:'Space Grotesk';font-size:32px;transform:rotate(-9deg)}.collection-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.collection-head h2{font-size:19px;margin:0;font-weight:600}.collection-head h2 span{font:12px 'DM Sans';margin-left:8px;background:#e8e9e3;border-radius:5px;padding:3px 6px}.collection-head>span{font-size:13px;color:var(--muted)}.game-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.game-pick{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:white;text-align:left;padding:18px 20px;border-radius:10px}.game-pick.selected{border:1.5px solid var(--orange);background:#fff9f6;box-shadow:0 0 0 2px #e85f3b0a}.pick-icon{background:#f7ddbf;color:#764e2c;border-radius:9px;width:46px;height:46px;display:grid;place-items:center;font:600 22px 'Space Grotesk'}.cards-icon{background:#dfebe5;color:var(--green);font-size:31px}.game-pick strong{display:block;font:600 18px 'Space Grotesk'}.game-pick small{display:block;color:var(--muted);font-size:13px;margin-top:3px}.pick-count{font-size:12px;margin-left:auto;color:#797c80;background:#f0f1ed;padding:5px 10px;border-radius:20px;white-space:nowrap}.selected .pick-count{color:#a4452c;background:#fce8df}.game-shell{display:grid;grid-template-columns:minmax(0,1fr) 290px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.play-panel{padding:29px 32px}.game-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.game-top .eyebrow{color:var(--muted);font-size:11px;margin-bottom:3px}.game-top h2{font-size:29px;letter-spacing:-1px;margin:0}.round-badge{font-size:12px;color:#727774;border:1px solid var(--line);padding:5px 10px;border-radius:20px}.hangman-board{display:flex;align-items:center;gap:30px;min-height:254px;margin:8px 0 14px}.gallows{width:215px;flex-shrink:0;max-height:225px;stroke:var(--ink);stroke-width:4;stroke-linecap:round;fill:none}.frame{stroke:#b6bcb9;stroke-width:4}#figure [data-part]{opacity:.12}#figure [data-part].drawn{opacity:1;stroke:var(--orange)}.word-side{min-width:0;flex:1}.word-side>p{color:var(--muted);font-size:14px;margin:0 0 20px}.word{display:flex;gap:6px;flex-wrap:wrap}.word span{font:600 25px 'Space Grotesk';border-bottom:2px solid var(--ink);min-width:26px;min-height:40px;text-align:center;padding-bottom:6px}.word-side p.mistakes{margin:15px 0 0;font-size:13px}.keyboard{display:flex;flex-direction:column;gap:7px;align-items:center}.key-row{display:flex;gap:6px;justify-content:center;width:100%}.key{background:#fafbf8;border:1px solid #dcdfd9;border-bottom-width:3px;border-radius:6px;font-weight:600;flex:0 1 45px;height:42px;padding:0}.key:hover:not(:disabled){background:#f7ddbf}.key.correct{background:#e1eee5;border-color:#9cbda7;color:#205534;opacity:1}.key.wrong{background:#f6e9e6;color:#a37569;opacity:.65}.start-line{display:flex;align-items:center;gap:20px;margin-top:23px}.start-line>span{font-size:12px;color:var(--muted)}aside{background:#fafaf7;border-left:1px solid var(--line);padding:29px 23px}.eyebrow{color:#747873}aside .eyebrow{font-size:10px;letter-spacing:1.5px}h3{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:0 0 19px}fieldset{border:0;padding:0;margin:0}legend{font-size:13px;color:var(--muted);margin-bottom:10px}fieldset label{display:flex;align-items:center;border:1px solid #dedfd8;border-radius:7px;margin-bottom:8px;padding:10px 9px;gap:9px;background:white;cursor:pointer}fieldset label:has(input:checked){border-color:#93aa8f;background:#f0f5ed}fieldset input{accent-color:#315c36;margin:0;width:14px;height:14px}fieldset strong{font-size:13px;display:block}fieldset small{font-size:11px;color:#737971;display:block}.difficulty-dots{margin-left:auto;font-size:11px;color:#527749;letter-spacing:1px}.how-to{margin-top:22px}.how-to h4{font-size:13px;margin:0 0 6px}.how-to p,details p{font-size:12px;line-height:1.65;color:#737872;margin:0}.access-card{background:#f4e9d7;border-radius:9px;padding:18px;margin-top:24px}.access-card-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px;font-weight:700}.access-card-top>span+span{font-size:26px;line-height:1;color:#ac7850}.access-card h3{font-size:28px;margin:13px 0 8px;line-height:1.13}.access-card h3 span{color:#a85c32}.access-card p{font-size:12px;color:#856e58;margin:0 0 16px}.text-button{padding:0;background:none;border:0;font-size:13px;font-weight:600}.text-button span{margin-left:25px}.bottom-note,footer{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7a7d78;padding:20px 0}.bottom-note{padding:19px 3px 29px}footer{max-width:1240px;margin:auto;border-top:1px solid var(--line)}footer .text-button{font-size:12px;color:#686e68}.game-result{margin-top:14px;font-weight:600;font-size:15px}.game-result:empty{display:none}.error{padding:10px;border-radius:6px;background:#fff0eb;color:#a03118;font-size:14px}.felt{border-radius:12px;margin-top:20px;background:radial-gradient(ellipse at center,#206652,#104636);padding:16px 20px;color:#e5eee7;text-align:center;min-height:355px;position:relative;border:5px solid #d1bca0;box-shadow:inset 0 0 0 1px #b7c7b344}.table-label{font-size:10px;letter-spacing:2px;display:flex;gap:8px;justify-content:center;align-items:center}.table-label span,.hand-score{letter-spacing:0;background:#ffffff1c;border-radius:5px;padding:1px 7px;color:white}.hand{display:flex;gap:7px;justify-content:center;margin:8px 0 10px;flex-wrap:wrap}.playing-card{width:59px;height:83px;flex-shrink:0;border-radius:6px;background:#fffef7;color:#202b2b;box-shadow:0 2px 4px #0003;position:relative;text-align:left;padding:4px 7px;font-size:18px;line-height:1.05;font-family:'Space Grotesk',serif;font-weight:600;animation:deal .2s ease-out}.playing-card .suit{display:block}.playing-card .big-suit{position:absolute;font-size:30px;bottom:8px;right:9px}.playing-card.red{color:#d1493b}.playing-card.back{background:repeating-linear-gradient(45deg,#f4d3b3 0,#f4d3b3 2px,#cc6c45 2px,#cc6c45 6px);border:4px solid #fff7e9}.playing-card.ghost{background:#ffffff09;color:#ffffff20;border:1px dashed #ffffff25;display:grid;place-items:center;box-shadow:none;font-size:30px}.table-mark{font-family:'Space Grotesk';font-size:14px;letter-spacing:3px;color:#d5c195;margin:20px 0 13px}.table-mark small{display:block;font:9px 'DM Sans';letter-spacing:2px;color:#bdd0c5;margin-top:4px}.player-hands{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.player-hand{padding:3px 6px;border:1px solid transparent;border-radius:9px}.player-hand.active{border-color:#d6c58b}.shoe-label{font-size:8px;letter-spacing:2px;color:#99b4a6;margin-top:17px}.blackjack-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.blackjack-actions .button{font-size:13px;padding:11px 16px;gap:9px}.rule-stat{display:flex;justify-content:space-between;font-size:12px;padding:12px 0;border-bottom:1px solid var(--line)}details{margin-top:16px}summary{font-size:13px;cursor:pointer}details p{margin-top:10px}dialog{border:1px solid var(--line);border-radius:17px;padding:40px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#172a2acc;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px}dialog h2{font-size:35px;line-height:1.1;letter-spacing:-1.5px;margin:18px 0}dialog p{font-size:15px;color:var(--muted)}dialog ul{padding-left:20px;font-size:14px;line-height:2.1;margin-bottom:25px}.wide{width:100%}.fine{font-size:12px!important;text-align:center}code{display:block;background:#eef0e8;border:1px dashed #a6ad9d;padding:15px;overflow-wrap:anywhere;margin:20px 0;font-size:16px}#restore-code{width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;margin:8px 0 18px}#restore-form label{font-size:14px}[hidden]{display:none!important}@keyframes deal{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}@media(min-width:1450px){main,header{max-width:1320px}.intro{padding-top:45px}.hangman-board{min-height:265px}}@media(max-width:1050px){main{padding:0 24px}header{padding:22px 24px}.game-shell{grid-template-columns:minmax(0,1fr) 255px}.play-panel{padding:25px 22px}.hangman-board{gap:15px}.gallows{width:155px}.free-note{padding:17px}.word span{min-width:22px;font-size:21px}.key-row{gap:4px}.key{height:39px}.pick-count{font-size:11px;padding:5px 7px}footer{margin:0 24px}}@media(max-width:760px){header{padding:18px 20px}.brand{font-size:20px}.brandmark{height:30px;width:30px;font-size:27px}.guest{display:none}.button.small{font-size:12px;padding:9px 11px;gap:9px}.small span{padding-left:9px}main{padding:0 18px}.intro{padding:29px 0 26px}h1{font-size:38px}.free-note{display:none}.intro>.eyebrow{font-size:10px}.intro p:not(.eyebrow){font-size:14px}.collection-head>span{display:none}.game-picker{gap:9px}.game-pick{padding:13px 11px;gap:9px;flex-wrap:wrap}.game-pick strong{font-size:16px}.game-pick small{display:none}.pick-icon{height:35px;width:35px;font-size:19px}.cards-icon{font-size:25px}.pick-count{margin-left:44px;background:transparent!important;padding:0;font-size:11px}.game-shell{grid-template-columns:1fr}.play-panel{padding:21px 17px}.game-top h2{font-size:26px}.round-badge{font-size:10px}.hangman-board{min-height:220px;gap:13px}.gallows{width:135px}.word span{font-size:19px;min-width:20px;min-height:33px}.word{gap:4px}.word-side>p{font-size:12px}.word-side p.mistakes{font-size:12px}.key{flex-basis:36px;height:39px;font-size:13px}.start-line{gap:12px}.start-line>span{font-size:11px}aside{border-left:0;border-top:1px solid var(--line);padding:23px}fieldset{display:flex;gap:7px;flex-wrap:wrap}fieldset label{flex:1;min-width:95px;padding:9px;gap:6px}fieldset small{font-size:11px}.difficulty-dots{display:none}aside h3{font-size:21px;margin-bottom:13px}.access-card{display:none}.how-to p,details p{font-size:14px}.how-to h4{font-size:15px}.bottom-note{gap:10px;font-size:11px;align-items:flex-start}.bottom-note span{max-width:50%}footer{margin:0 18px}.playing-card{width:51px;height:74px}.felt{padding:15px 8px}.blackjack-actions .button{padding:11px 12px}.table-mark{font-size:12px;letter-spacing:2px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Compact the welcome so the games remain the main activity. */
.intro{padding:24px 0}.intro h1{font-size:36px;line-height:1.15;margin-bottom:8px}.intro h1 br{display:none}.intro .eyebrow{margin-bottom:8px}.free-note{padding:13px 20px}.free-note p{font-size:13px}.ticket-icon{height:49px}.start-line{margin-top:16px}.hangman-board{min-height:215px}.game-pick small,.pick-count,.round-badge,.start-line>span,.word-side p.mistakes{font-size:13px}fieldset strong,legend,.how-to h4,summary,.text-button{font-size:14px}fieldset small,.how-to p,details p,.access-card p,.rule-stat{font-size:14px}.eyebrow,aside .eyebrow,.game-top .eyebrow,.access-card-top,.shoe-label,.table-label,.table-mark small{font-size:12px}.difficulty-dots{display:none}aside{padding:24px 20px}.access-card{padding:16px}.access-card h3{font-size:25px}.bottom-note,footer,footer .text-button{font-size:13px}@media(max-width:760px){.intro h1{font-size:28px;letter-spacing:-1px}.intro{padding:21px 0}.intro .eyebrow{font-size:11px}.game-pick small{display:none}.pick-count{font-size:12px}.start-line>span{font-size:12px}.round-badge{font-size:12px}.table-label{font-size:11px;letter-spacing:1px}.shoe-label{font-size:10px}.hangman-board{min-height:190px}fieldset{display:block}fieldset label{padding:12px}.bottom-note{font-size:12px}}

/* Blackjack settlement: a deliberate pause, with the table kept behind it. */
.result-dialog{text-align:center;padding:34px;max-width:430px;border:1px solid #d5dfd8;animation:result-appear .22s ease-out}
.result-dialog::backdrop{background:#102a25b3;backdrop-filter:blur(3px)}
.result-emblem{width:66px;height:66px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;font-size:36px;background:#e4efe8;color:#155446}
.result-dialog h2{font-size:34px;margin:10px 0 8px;letter-spacing:-1px}
.result-amount{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:42px;letter-spacing:-1.5px;color:#155446}
.result-dialog[data-outcome=loss] .result-emblem{background:#f5e9e2;color:#a65235}.result-dialog[data-outcome=loss] .result-amount{color:#a65235}
.result-dialog[data-outcome=push] .result-emblem{background:#e9edf0;color:#4c606d}.result-dialog[data-outcome=push] .result-amount{color:#4c606d}
.result-dialog #result-description{margin:10px 0 22px;font-size:16px;line-height:1.6}
.result-breakdown{background:#f5f6f2;border:1px solid #e3e6df;border-radius:10px;padding:5px 15px;text-align:left}
.result-hand{display:flex;justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;border-bottom:1px solid #e1e5dc;flex-wrap:wrap}.result-hand:last-child{border:0}.dealer-summary{color:#626c65}
.result-dialog .result-footnote{font-size:12px;margin:16px 0}.result-review{margin-top:17px;padding:6px;font-size:14px}#review-result{margin-top:7px;text-decoration:underline;text-underline-offset:3px}
@keyframes result-appear{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:480px){.result-dialog{padding:28px 22px}.result-dialog h2{font-size:30px}.result-amount{font-size:38px}}

.play-navigation{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:25px 0}.play-navigation a{color:var(--ink);text-decoration:none;font-size:14px}.play-navigation nav{display:flex;gap:18px}.play-navigation a[aria-current]{color:#b44325;font-weight:700}.library{min-height:75vh}.library .intro{padding:40px 0 30px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.library-card{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:white;border-radius:15px;overflow:hidden;transition:transform .18s,box-shadow .18s}.library-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #28382912}.card-cover{height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px}.card-cover>span{font:600 67px 'Space Grotesk',sans-serif;letter-spacing:-3px}.card-cover small{font-size:12px;font-weight:700;letter-spacing:2px}.hangman-cover{background:#f2dfc6;color:#704b30}.blackjack-cover{background:#155446;color:#f3e4bf}.daily-cover{background:#e0e9ed;color:#305265}.sample-word{display:flex;gap:5px}.sample-word span{width:39px;height:48px;border-radius:4px;display:grid;place-items:center;background:#55775c;color:white;font-size:24px;font-weight:700}.sample-word span:nth-child(2){background:#aa8735}.sample-word span:nth-child(4){background:#71818a}.card-copy{padding:23px}.card-heading{display:flex;justify-content:space-between;align-items:center}.card-heading h2{font-size:25px;margin:0}.card-copy p{font-size:16px;color:#69736c;min-height:78px}.library-count{font-size:13px;padding:6px 10px;border-radius:20px;background:#f1f3ee;display:inline-block}.library-pass{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0;margin-top:25px;border-bottom:1px solid var(--line)}.library-pass p{color:var(--muted);margin:5px 0}.daily-meta{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);margin:20px 0}.daily-board{display:grid;gap:6px;justify-content:center;margin:20px auto}.daily-row{display:flex;gap:6px}.tile{width:49px;height:49px;border:2px solid #d4dad2;display:inline-grid;place-items:center;font:600 25px 'Space Grotesk',sans-serif;color:#273b30}.tile.correct,.key.correct{background:#477458;color:white;border-color:#477458}.tile.present,.key.present{background:#997623;color:white;border-color:#997623}.tile.absent,.key.absent{background:#667078;color:white;border-color:#667078}.word-legend{margin-top:24px}.word-legend p{display:flex;align-items:center;gap:10px;font-size:14px}.word-legend .tile{width:32px;height:32px;flex-shrink:0;font-size:18px}.daily-rules{font-size:14px;color:#657168;line-height:1.7}#daily-feedback{text-align:center;font-size:15px}#daily-form{display:flex;justify-content:center;gap:9px;margin:18px 0}#daily-input{min-width:0;width:180px;border:1px solid #b7c2b6;border-radius:7px;text-align:center;font-size:20px;font-weight:700;letter-spacing:4px;padding:10px}#daily-start{display:flex;margin:20px auto}#daily-keyboard{margin-top:17px}.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}@media(max-width:900px){.library-grid{gap:12px}.card-copy{padding:17px}.card-cover{height:165px}.sample-word span{width:29px;height:38px;font-size:20px}}@media(max-width:660px){.library-grid{grid-template-columns:1fr}.card-copy p{min-height:0}.card-cover{height:165px}.library .intro h1{font-size:32px}.play-navigation{align-items:flex-start;flex-direction:column;gap:12px}.library-pass{align-items:flex-start;flex-direction:column}.daily-meta{font-size:12px;flex-wrap:wrap}.tile{width:43px;height:43px}.library-card{border-radius:12px}}
