@font-face{font-family:Poppins;src:url('assets/poppins-800.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Montserrat;src:url('assets/montserrat-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Bebas Neue';src:url('assets/bebas-neue.woff2') format('woff2');font-weight:400;font-display:swap}
:root{--blue:#2b90d8;--blue-deep:#1f6fb2;--red:#ef1f22;--red-deep:#d0181c;--navy:#14364e;--grey:#e7e7e7;--muted:#64737d;--paper:#f7f8f6;--line:#14364e1c;--display:Poppins,'Arial Black',sans-serif;--body:Montserrat,system-ui,sans-serif;--condensed:'Bebas Neue','Arial Narrow',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--navy);font-family:var(--body);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button:disabled{opacity:.55}button{touch-action:manipulation}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:800;letter-spacing:-.04em;line-height:1.12}h1{font-size:clamp(38px,4.7vw,68px)}h2{font-size:32px}[hidden]{display:none!important}.icon{height:21px;width:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:absolute;left:20px;top:-100px;z-index:50;background:var(--navy);color:#fff;padding:12px;border-radius:8px}.skip-link:focus{top:10px}.site-header{max-width:1320px;margin:auto;padding:28px 44px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:20px;text-decoration:none}.brand-name{font-family:var(--display);font-size:38px;letter-spacing:-3px;line-height:1}.brand-dot{color:var(--red)}.brand-divider{height:30px;width:1px;background:var(--line)}.brand img{width:44px;height:44px;object-fit:contain}.text-button{border:0;background:transparent;display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:700;padding:9px 0}.text-button:hover{color:var(--red-deep)}.help-icon{display:grid;place-items:center;border:1.5px solid currentColor;border-radius:50%;width:19px;height:19px;font-size:12px}.home-view{max-width:1320px;min-height:calc(100svh - 174px);padding:48px 44px 0;margin:auto;display:grid;grid-template-columns:1.05fr 1fr;gap:30px 60px;align-items:center}.eyebrow{font-family:var(--condensed);font-size:18px;font-weight:400;letter-spacing:.13em;color:var(--red-deep);line-height:1.3}.tiny-star{color:var(--blue);font-size:21px;margin-right:7px}.home-copy h1{margin-top:24px}.red-word{color:var(--red-deep);position:relative;display:inline-block}.red-word svg{position:absolute;left:0;bottom:-10px;width:100%;height:14px;fill:none;stroke:var(--red);stroke-width:5;stroke-linecap:round}.home-description{color:#526370;font-size:17px;line-height:1.7;margin-top:28px;max-width:440px}.home-tags{display:flex;flex-wrap:wrap;gap:24px;margin-top:22px;font-size:12px;font-weight:600}.home-tags>span{display:flex;align-items:center;gap:7px}.home-tags .icon{width:17px;height:17px;color:var(--blue-deep)}.tag-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.green-dot{background:#398862}.setup-panel{max-width:440px;margin-top:32px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:28px;margin-bottom:23px}.tabs button{border:0;background:none;font-size:14px;font-weight:700;padding:0 0 12px;position:relative;color:var(--muted)}.tabs button[aria-selected=true]{color:var(--navy)}.tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:-1px;height:3px;left:0;right:0;background:var(--red);border-radius:3px}label{font-size:12px;font-weight:700;display:grid;gap:7px}input,select{border:1px solid #14364e26;background:#fff;color:var(--navy);width:100%;min-height:48px;border-radius:11px;padding:11px 14px;font-size:14px;min-width:0}select{cursor:pointer}input::placeholder{color:#85919a;font-size:12px}#seed-input{font-weight:600;letter-spacing:.035em;text-transform:uppercase}.form-row{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}.button{min-height:49px;border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 24px;text-decoration:none;font-weight:700;font-size:14px;line-height:1.4;transition:background .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-2px)}.primary{background:var(--red-deep);color:#fff;box-shadow:0 8px 18px -12px #d0181cb3}.primary:hover:not(:disabled){background:#b51419}.full-width{width:100%;margin-top:20px}.form-note,.join-hint,.done-note{font-size:11px;color:var(--muted);text-align:center;margin-top:11px}.join-hint{text-align:left;margin-top:8px}.field-error{font-size:12px;color:#b51419;min-height:0;margin:6px 0 12px}.field-error:empty{display:none}.field-error:not(:empty)+label{margin-top:8px}#join-panel>label+label{margin-top:14px}#join-panel>label:first-child{margin-bottom:13px}.resume-button{width:100%;display:flex;justify-content:space-between;border:1px dashed #14364e35;border-radius:10px;background:transparent;padding:12px 14px;font-size:12px;font-weight:600;margin-top:20px}.resume-button:hover{background:#fff}.load-status{font-size:12px;color:var(--muted);margin-top:14px}.load-status:empty{display:none}.home-art{position:relative;min-height:560px;display:flex;justify-content:center;align-items:center;margin-top:15px}.art-ring{position:absolute;width:400px;height:400px;max-width:100%;border-radius:50%;border:1px solid #14364e12;transform:translate(5px,-15px)}.art-ring:after{content:'';position:absolute;inset:22px;border:1px dashed #14364e18;border-radius:50%}.art-spark{position:absolute;color:var(--blue);font-size:53px;line-height:1}.spark-one{right:4%;top:22px;transform:rotate(10deg)}.spark-two{left:0;bottom:104px;color:var(--red);font-size:35px}.sample-card{position:relative;z-index:2;background:#fff;border:1px solid #14364e16;border-radius:18px;width:270px;min-height:390px;padding:21px 23px 17px;transform:rotate(8deg) translate(40px,-7px);box-shadow:0 23px 38px -20px #14364e55}.sample-top{display:flex;justify-content:space-between;align-items:center;font-family:var(--condensed);letter-spacing:.12em;font-size:13px;color:#65756a}.sample-top>span:last-child{display:flex;gap:6px;align-items:center}.sample-top i{height:6px;width:6px;border-radius:50%;background:#2e835e}.sample-word{font-family:var(--display);font-size:43px;letter-spacing:-.04em;text-align:center;margin:31px 0 24px}.sample-separator{border-top:1px solid var(--line);text-align:center;font-size:8px;font-weight:700;letter-spacing:.12em;color:var(--muted);position:relative}.sample-separator span{position:relative;top:-10px;background:white;padding:0 7px}.sample-card ul{list-style:none;padding:0;margin:8px 0 28px;text-align:center;font-size:16px;font-weight:600;line-height:2}.sample-footer,.playing-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.sample-footer>span:first-child,.playing-card-footer>span:first-child{font-family:var(--display);font-size:19px;letter-spacing:-1px}.sample-footer>span:last-child,.playing-card-footer>span:last-child{font-family:var(--condensed);font-size:10px;letter-spacing:.1em;color:var(--muted)}.sample-back{position:absolute;width:253px;height:367px;transform:rotate(-14deg) translate(-60px,-12px);box-shadow:0 20px 35px -18px #14364e60;pointer-events:none}.art-caption{font-size:12px;line-height:1.6;position:absolute;left:30%;bottom:0;transform:rotate(-6deg);color:var(--muted)}.art-caption strong{color:var(--navy);font-weight:600}.art-caption svg{position:absolute;fill:none;stroke:var(--blue-deep);stroke-width:2;width:65px;height:50px;left:calc(100% + 9px);top:-25px;transform:rotate(180deg)}.home-bottom{grid-column:1/-1;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);margin-top:24px;padding:21px 0;font-size:11px;color:var(--muted)}.small-number{font-family:var(--condensed);font-size:17px;color:var(--red-deep)}.bottom-star{font-size:21px;color:var(--blue);margin-left:auto}.site-footer{max-width:1320px;margin:auto;display:flex;justify-content:space-between;gap:20px;padding:20px 44px 25px;font-size:10px;color:var(--muted)}.site-footer>span{font-family:var(--condensed);letter-spacing:.12em;font-size:13px}.footer-cross{color:var(--red);margin:0 9px}
/* The back of each deck uses the same symmetrical, conventional playing-card pattern. */
.difficulty-basic{--suit:#2f805d;--suit-dark:#205b43;--suit-light:#ecf4ed}.difficulty-intermediate{--suit:#e8b532;--suit-dark:#61480a;--suit-light:#fff8de}.difficulty-advanced{--suit:#cf363b;--suit-dark:#a8262b;--suit-light:#fceced}
.card-back{background:var(--suit);border:6px solid #fff;border-radius:19px;color:white;position:relative;padding:9px;overflow:hidden;box-shadow:0 10px 22px -14px #14364e66}.card-back:before{content:'';position:absolute;inset:8px;background-image:repeating-linear-gradient(45deg,transparent,transparent 10px,#ffffff14 10px,#ffffff14 11px),repeating-linear-gradient(-45deg,transparent,transparent 10px,#ffffff14 10px,#ffffff14 11px);border-radius:10px}.back-inner{position:relative;height:100%;width:100%;border:1px solid #ffffff88;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.back-inner:before,.back-inner:after{content:'✦';position:absolute;font-size:13px;color:#ffffffb3;left:10px;bottom:7px}.back-inner:after{left:auto;bottom:auto;right:10px;top:7px}.back-corner{position:absolute;top:7px;left:10px;font-family:var(--display);font-size:19px;display:flex;flex-direction:column;line-height:1.2}.back-corner>span{font-size:10px}.back-corner-bottom{top:auto;left:auto;bottom:7px;right:10px;transform:rotate(180deg)}.back-emblem{border:1px solid #ffffff9c;border-radius:50%;width:102px;height:132px;display:grid;place-items:center;font-family:var(--display);font-size:77px;line-height:1;position:relative;background:var(--suit);letter-spacing:-4px;box-shadow:0 0 0 6px var(--suit),0 0 0 7px #ffffff55}.back-emblem>span{position:absolute;bottom:10px;font-size:13px;letter-spacing:0}.back-bottom{font-family:var(--condensed);font-size:12px;letter-spacing:.18em;margin-top:20px}.game-view{max-width:1320px;padding:12px 44px 35px;margin:auto;min-height:calc(100svh - 174px)}.game-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:5px 0 23px;gap:12px}.seed-pill{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:999px;padding:9px 14px;max-width:100%;font-size:12px;font-weight:700}.seed-pill:hover{border-color:var(--blue)}.seed-pill .icon{height:16px;width:16px}.seed-pill-label{font-family:var(--condensed);font-size:15px;color:var(--muted);letter-spacing:.1em}.game-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:44px 0 35px}.game-heading h1{font-size:clamp(31px,3.2vw,45px);margin-top:10px}.game-heading>div>p:last-child{font-size:14px;color:var(--muted);margin-top:12px}.player-actions{display:flex;flex-direction:column;align-items:flex-end;gap:15px;flex-shrink:0}.player-badge{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;padding:0}.avatar{display:grid;place-items:center;border-radius:50%;background:#e3edf3;color:var(--blue-deep);width:43px;height:43px;font-family:var(--condensed);font-size:22px}.player-badge small{display:block;font-size:8px;letter-spacing:.08em;color:var(--muted);margin-bottom:1px}.player-badge strong{font-size:13px;overflow-wrap:anywhere;max-width:160px;display:block}.player-badge>.icon{width:14px;height:14px;color:var(--muted);margin-left:4px}.score-button{min-height:40px;background:var(--navy);color:#fff;padding:10px 18px;font-size:12px}.score-button:hover{background:var(--blue-deep)}.score-button .icon{height:17px;width:17px}.piles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;padding:8px 3px}.pile{min-width:0}.pile-button{padding:0;border:0;background:transparent;width:100%;position:relative;text-align:center;display:block;transition:transform .2s}.pile-button:not(:disabled):hover{transform:translateY(-9px) rotate(-1deg)}.pile-button:not(:disabled):active{transform:translateY(-3px)}.pile-stack{position:absolute;inset:6px -3px -6px 3px;border:1px solid #14364e26;background:#fff;border-radius:20px;transform:rotate(1deg)}.pile-stack:before{content:'';position:absolute;inset:3px -3px -4px 3px;border:1px solid #14364e26;background:white;border-radius:20px;z-index:-1}.pile-card{width:100%;aspect-ratio:.72;min-height:220px;max-height:340px}.pile-card .back-emblem{width:clamp(62px,7.5vw,104px);height:clamp(83px,10vw,133px);font-size:clamp(48px,5.6vw,75px)}.pile-card .back-bottom{font-size:clamp(16px,2vw,24px);letter-spacing:.12em;margin-top:19px}.difficulty-intermediate .card-back,.card-back.difficulty-intermediate{color:#493a10}.difficulty-intermediate .back-inner{border-color:#60471170}.difficulty-intermediate .back-inner:before,.difficulty-intermediate .back-inner:after{color:#60471180}.difficulty-intermediate .back-emblem{border-color:#60471199;box-shadow:0 0 0 6px var(--suit),0 0 0 7px #60471166}.pile-caption{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:23px}.pile-caption h2{font-size:17px;letter-spacing:-.025em}.pile-caption span{font-family:var(--condensed);font-size:16px;color:var(--muted);letter-spacing:.05em;white-space:nowrap}.pile-note{font-size:10px;color:var(--muted);margin-top:4px}.empty-pile .pile-card{filter:grayscale(1)}.empty-pile .pile-button{opacity:.38}.table-note{display:flex;justify-content:center;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-top:40px;text-align:center}.table-note .icon{width:17px;height:17px}.card-view{display:flex;flex-direction:column;align-items:center;padding-top:32px}.reveal-heading{text-align:center}.reveal-heading h1{font-size:clamp(30px,3vw,41px);margin-top:9px}.reveal-heading>p:last-child{color:var(--muted);font-size:12px;margin-top:12px}.playing-card{margin:26px 0 23px;background:#fff;width:320px;max-width:100%;border:1px solid #14364e1c;border-top:6px solid var(--suit);border-radius:17px;padding:17px 24px;box-shadow:0 18px 35px -24px #14364e88;animation:card-in .25s ease-out}.playing-card-top{display:flex;justify-content:space-between;align-items:center;font-family:var(--condensed);font-size:14px;letter-spacing:.1em;color:var(--muted)}#card-difficulty{background:var(--suit-light);color:var(--suit-dark);padding:2px 8px;border-radius:4px;font-size:13px}.secret-label{text-align:center;font-family:var(--condensed);letter-spacing:.15em;color:var(--muted);font-size:12px;margin-top:19px}#secret-word{font-size:clamp(20px,3vw,30px);text-align:center;margin:5px -10px 22px;letter-spacing:-.04em;overflow-wrap:anywhere}.forbidden-label{display:flex;align-items:center;justify-content:center;gap:6px;border-top:1px solid var(--line);padding-top:15px;font-size:9px;letter-spacing:.09em;color:var(--red-deep);font-weight:700}.forbidden-label .icon{height:14px;width:14px}.forbidden-words{margin:12px 0 20px;padding:0;list-style:none;text-align:center;font-size:17px;font-weight:600;line-height:1.9}.playing-card-footer{padding-top:10px}.playing-card-footer>span:first-child{font-size:19px}.done-button{min-width:230px}.done-note{max-width:300px;font-size:10px}.modal{border:1px solid var(--line);background:var(--paper);border-radius:24px;padding:30px;max-width:calc(100vw - 32px);width:480px;color:var(--navy);max-height:calc(100svh - 36px);overflow:auto;box-shadow:0 24px 70px -15px #14364e55}.modal::backdrop{background:#102d43a6;backdrop-filter:blur(5px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:16px}.modal-heading .eyebrow{font-size:16px}.close-button{border:1px solid var(--line);border-radius:50%;background:#fff;width:32px;height:32px;font-size:24px;line-height:1;padding:0;flex-shrink:0}.close-button:hover{background:var(--grey)}.rules{list-style:none;padding:0;margin:28px 0;display:grid;gap:20px}.rules li{display:flex;gap:16px}.rules li>span{font-family:var(--condensed);font-size:25px;color:var(--red-deep);line-height:1.2}.rules strong{font-size:13px}.rules p{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.7}.info-box{padding:14px;border-radius:12px;font-size:11px;background:#e7eef3;color:#486174;line-height:1.7}.score-modal{width:510px}.score-modal h2{font-size:29px}.modal-description{font-size:12px;color:var(--muted);margin-top:10px}.score-list{display:grid;gap:12px;margin-top:25px}.score-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:11px;border-radius:12px}.score-row .avatar{width:34px;height:34px;font-size:18px;flex-shrink:0}.score-player{border:0;background:none;flex:1;min-width:0;text-align:left;font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px;padding:3px}.score-player span{overflow-wrap:anywhere}.score-player .icon{width:13px;height:13px;flex-shrink:0;color:var(--muted)}.score-controls{display:flex;align-items:center;gap:7px;flex-shrink:0}.point-button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:19px;line-height:1}.point-button.add-point{background:var(--blue-deep);border-color:var(--blue-deep);color:white}.point-button.add-point:hover{background:var(--navy)}.score-value{min-width:25px;text-align:center;font-family:var(--display);font-size:18px}.score-note{font-size:10px;color:var(--muted);margin-top:19px}.name-modal{width:400px}.name-modal h2{font-size:26px;margin-bottom:24px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--navy);color:#fff;padding:12px 22px;border-radius:12px;box-shadow:0 8px 30px #14364e33;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;font-size:12px;text-align:center;max-width:calc(100vw - 32px);width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}
.home-art .sample-back{position:absolute}
body{isolation:isolate}
.share-modal{width:440px;text-align:center}.share-modal .modal-heading{text-align:left}.share-summary{font-size:12px;font-weight:600;color:var(--muted);margin-top:22px}.shared-seed{font-family:var(--display);font-size:clamp(32px,8vw,48px);letter-spacing:.12em;background:#fff;border:1px dashed #14364e40;border-radius:15px;user-select:all;padding:17px 10px 17px 15px;margin-top:12px;overflow-wrap:anywhere}.share-modal .score-note{line-height:1.7}.seed-pill{min-height:40px}
.card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;max-width:100%}.card-actions .done-button{min-width:145px}.tea-spoon-button{background:#e7eef3;color:var(--navy);border:1px solid #14364e22}.tea-spoon-button:hover,.tea-spoon-button[aria-pressed=true]{background:#d4e5ef;border-color:#1f6fb266}.tea-spoon-button small{font-size:9px;font-weight:600;letter-spacing:.02em;color:#496474}.translation-hint{font-size:10px;max-width:300px;text-align:center;color:var(--blue-deep);margin:12px 0 0}.reveal-heading{max-width:100%}#secret-word{text-wrap:balance}.playing-card .forbidden-words{overflow-wrap:anywhere}.playing-card .forbidden-words li{line-height:1.5;margin-top:7px}
.tea-spoon-button>span,.tea-spoon-button>small{white-space:nowrap}
@media(max-width:700px){.card-actions{gap:10px;width:100%}.card-actions .button{font-size:12px;min-height:47px;padding:12px 17px}.card-actions .done-button{min-width:90px;flex:1;max-width:130px}.tea-spoon-button{flex:1;max-width:195px}.tea-spoon-button .icon{width:17px;height:17px}.tea-spoon-button small{font-size:8px}.share-modal{padding:23px}.shared-seed{font-size:33px}.share-modal .modal-description{font-size:11px}}
@media(max-width:359px){.card-actions .button{padding:12px;gap:6px;font-size:11px}.tea-spoon-button small{font-size:7px}.shared-seed{font-size:28px}.reveal-heading h1{font-size:26px}}
@keyframes card-in{from{opacity:0;transform:translateY(12px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@media(min-width:1400px){.home-view{padding-top:64px}.home-art{min-height:590px}}
@media(max-width:1000px){.site-header,.site-footer{padding-left:28px;padding-right:28px}.home-view{padding:35px 28px 0;gap:24px;grid-template-columns:1.1fr 1fr}.home-art{min-height:480px}.sample-card{width:225px;min-height:350px;transform:rotate(8deg) translate(13px,-10px);padding:19px}.sample-word{font-size:36px;margin-top:26px}.sample-card ul{font-size:14px;margin-bottom:22px}.sample-back{width:215px;height:330px;transform:rotate(-13deg) translate(-28px,-14px)}.art-caption{left:10%;font-size:10px}.art-ring{width:320px;height:320px}.spark-one{right:0;font-size:40px}.home-description{font-size:15px}.game-view{padding-left:28px;padding-right:28px}.piles-grid{gap:18px}.pile-card{border-width:5px;padding:6px;min-height:220px}.back-corner{font-size:15px}.pile-card .back-bottom{font-size:18px}.pile-caption h2{font-size:15px}.pile-caption span{font-size:14px}.pile-caption{gap:4px}.game-heading{margin-top:30px;align-items:flex-start}.game-heading h1{font-size:34px}.game-heading>div>p:last-child{max-width:300px}.player-badge small{font-size:7px}.player-badge .avatar{width:34px;height:34px}}
@media(max-width:700px){.site-header{padding:21px 22px 15px}.brand{gap:14px}.brand-name{font-size:34px}.brand img{height:37px;width:37px}.brand-divider{height:25px}.help-button{font-size:11px}.home-view{grid-template-columns:1fr;padding:28px 24px 0;gap:0;min-height:0}.home-copy{max-width:480px;margin:auto;width:100%}.eyebrow{font-size:16px}.home-copy h1{font-size:clamp(41px,8.7vw,60px);margin-top:20px}.home-description{font-size:15px;margin-top:24px}.home-tags{font-size:11px;gap:21px;margin-top:18px}.setup-panel{max-width:none;margin-top:29px}.home-art{display:none}.home-bottom{margin-top:34px;padding:18px 0;gap:9px;font-size:9px;line-height:1.7}.small-number{font-size:14px}.bottom-star{font-size:18px}.site-footer{padding:13px 24px 23px;font-size:9px;align-items:center;gap:12px}.site-footer>span{font-size:11px}.site-footer>p{max-width:135px}.footer-cross{margin:0 4px}.game-view{padding:5px 22px 25px;min-height:calc(100svh - 160px)}.game-toolbar{padding-bottom:16px;gap:10px}.game-toolbar>.text-button{font-size:11px}.game-toolbar>.text-button .icon{width:17px;height:17px}.seed-pill{padding:8px 11px;font-size:10px;gap:7px}.seed-pill-label{font-size:12px}.seed-pill .icon{height:14px;width:14px}.game-heading{display:block;margin:28px 0 24px}.game-heading h1{font-size:clamp(28px,6.6vw,38px);margin-top:8px}.game-heading .eyebrow{font-size:15px}.game-heading>div>p:last-child{font-size:12px;max-width:none;margin-top:9px}.player-actions{flex-direction:row;justify-content:space-between;align-items:center;margin-top:22px;gap:10px}.player-badge small{font-size:7px}.player-badge strong{font-size:12px;max-width:145px}.score-button{font-size:11px;padding:9px 15px;min-height:38px}.piles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 20px}.pile-card{min-height:0;max-height:none;aspect-ratio:.77;padding:8px;border-width:5px;border-radius:15px}.pile-stack,.pile-stack:before{border-radius:15px}.pile-card .back-emblem{width:clamp(55px,15vw,84px);height:clamp(73px,20vw,112px);font-size:clamp(43px,12vw,63px)}.pile-card .back-bottom{font-size:clamp(16px,4.1vw,22px);margin-top:17px}.back-corner{top:6px;left:7px;font-size:14px}.back-corner>span{font-size:8px}.back-corner-bottom{top:auto;left:auto;bottom:6px;right:7px}.back-inner:after{right:7px;top:6px;font-size:10px}.back-inner:before{left:7px;bottom:6px;font-size:10px}.back-emblem>span{font-size:10px;bottom:7px}.pile-caption{margin-top:17px}.pile-caption h2{font-size:14px}.pile-caption span{font-size:13px}.pile-note{font-size:9px;margin-top:3px}.table-note{font-size:10px;align-items:flex-start;gap:7px;margin-top:28px}.table-note p{max-width:270px;text-align:left}.card-view{padding-top:25px}.reveal-heading h1{font-size:29px}.reveal-heading>p:last-child{font-size:11px;max-width:280px;margin:12px auto 0}.playing-card{width:300px;margin:22px 0 20px;padding:16px 22px}#secret-word{font-size:27px}.secret-label{margin-top:17px}.forbidden-words{font-size:17px;line-height:1.8;margin-bottom:18px}.modal{padding:23px;border-radius:20px}.modal h2{font-size:27px}.rules{margin:23px 0;gap:18px}.score-row{gap:7px;padding:9px}.score-row .avatar{width:28px;height:28px;font-size:16px}.score-player{font-size:11px;gap:4px;padding:0}.score-controls{gap:4px}.point-button{width:29px;height:29px}.score-value{font-size:16px;min-width:20px}}
@media(max-width:359px){.site-header{padding-inline:16px}.home-view{padding-inline:19px}.home-copy h1{font-size:39px}.help-button{font-size:10px;gap:5px}.game-view{padding-inline:15px}.seed-pill{font-size:9px;padding-inline:8px;gap:5px}.seed-pill-label{display:none}.piles-grid{gap:24px 15px}.pile-caption h2{font-size:12px}.pile-caption span{font-size:12px}.pile-card{padding:6px}.pile-card .back-bottom{font-size:15px}.site-footer{padding-inline:19px}.score-modal{padding:18px}.score-player .icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Three accessible levels and a UI language independent of the cards. */
.site-header{position:relative;isolation:isolate;z-index:5}.header-actions{display:flex;align-items:center;gap:22px}.language-menu{position:relative;font-size:12px}.language-trigger{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid var(--line);background:#fff;border-radius:999px;list-style:none;cursor:pointer;font-weight:700;min-height:39px}.language-trigger::-webkit-details-marker{display:none}.language-trigger>.icon{width:16px;height:16px}.language-trigger img,.language-options img{object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #14364e13}.language-chevron{font-size:14px;line-height:1;margin-top:-4px}.language-options{position:absolute;right:0;top:calc(100% + 10px);width:200px;padding:7px;border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:0 14px 30px -15px #14364e66;z-index:10}.language-options button{display:flex;gap:10px;align-items:center;width:100%;padding:11px 10px;border:0;background:transparent;border-radius:9px;text-align:left;font-size:12px;font-weight:600}.language-options button small{font-size:9px;color:var(--muted);margin-left:5px}.language-options button:hover,.language-options button[aria-pressed=true]{background:#eaf1f5}.language-menu summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.piles-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:940px;margin-inline:auto;gap:30px}.pile-card{aspect-ratio:3/4;max-height:none;min-height:0}.pile-caption{flex-wrap:wrap;align-items:baseline;gap:3px 8px}.pile-note{line-height:1.65;min-height:2em}.back-kicker{display:none}.card-rule-note{font-size:11px;line-height:1.6;color:var(--muted);text-align:center;max-width:440px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:#edf2f4;margin-top:16px}.playing-card{position:relative}.card-view .playing-card{margin-top:18px}.playing-card.difficulty-basic .forbidden-words{font-size:20px;line-height:1.7;margin-block:24px}.playing-card.difficulty-basic .forbidden-words li{margin-top:10px}.long-word{font-size:23px!important;line-height:1.25!important}.level-guide{display:grid;gap:13px;margin:15px 0 24px}.level-guide>div{padding:12px 15px;border-left:3px solid var(--blue-deep);background:#eaf0f3;border-radius:0 10px 10px 0}.level-guide>div:first-child{border-color:#2f805d}.level-guide>div:last-child{border-color:#cf363b}.level-guide strong{font-family:var(--display);font-size:13px;letter-spacing:-.02em}.level-guide p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:4px}.home-art .sample-card{min-height:365px}.sample-card ul{margin-block:15px 30px;line-height:2.2}.header-web,.home-characters,.table-cast{display:none}

/* Halloween: a dark stage with characters that belong to the page flow. */
body[data-theme=halloween]{--paper:#111622;--navy:#f3eddf;--muted:#aeb7ca;--line:#ffffff24;--blue:#88bfff;--blue-deep:#88bfff;--red:#f0a366;--red-deep:#f0a366;background:radial-gradient(ellipse at 85% 10%,#392b4b55,transparent 46%),#111622;color:var(--navy)}
body[data-theme=halloween] .header-web{display:block;position:absolute;top:-8px;width:142px;height:142px;filter:brightness(0) invert(1);opacity:.22;z-index:-1;pointer-events:none}.header-web.web-left{left:0}.header-web.web-right{right:0;transform:rotate(90deg)}
body[data-theme=halloween] .home-description,body[data-theme=halloween] .sample-top{color:var(--muted)}
body[data-theme=halloween] .language-trigger,body[data-theme=halloween] .language-options,body[data-theme=halloween] input,body[data-theme=halloween] select,body[data-theme=halloween] .seed-pill,body[data-theme=halloween] .close-button,body[data-theme=halloween] .score-row,body[data-theme=halloween] .shared-seed{background:#1d2536;color:var(--navy);border-color:#ffffff26}
body[data-theme=halloween] .language-options button:hover,body[data-theme=halloween] .language-options button[aria-pressed=true]{background:#30374e}
body[data-theme=halloween] input::placeholder{color:#8e99af}body[data-theme=halloween] .field-error{color:#ffa6a4}body[data-theme=halloween] .primary{background:#f0a366;color:#141a27;box-shadow:0 8px 22px -14px #f0a36666}body[data-theme=halloween] .primary:hover:not(:disabled){background:#ffc18d;color:#141a27}body[data-theme=halloween] .score-button{background:#2b3b53;color:#f2f5ff}body[data-theme=halloween] .score-button:hover{background:#3c5275}
body[data-theme=halloween] .resume-button:hover,body[data-theme=halloween] .close-button:hover{background:#2a3346}body[data-theme=halloween] .avatar{background:#2b3650;color:#a7cbff}body[data-theme=halloween] .point-button.add-point{background:#a7cbff;color:#182138;border-color:#a7cbff}body[data-theme=halloween] .info-box,body[data-theme=halloween] .level-guide>div{background:#202b3e;color:#c8d9ed}body[data-theme=halloween] .modal::backdrop{background:#050811bf}
body[data-theme=halloween] .home-art .sample-card{background:#202637;border-color:#ffffff28;box-shadow:0 24px 44px -16px #0009}body[data-theme=halloween] .sample-separator span{background:#202637}body[data-theme=halloween] .art-ring{border-color:#a690c625}body[data-theme=halloween] .art-ring:after{border-color:#a690c635}body[data-theme=halloween] .sample-top i{background:#f0a366}
body[data-theme=halloween] .home-characters{display:flex;align-items:flex-end;justify-content:space-around;gap:15px;position:relative;max-width:440px;height:101px;margin:23px 0 0;border-bottom:1px solid #b6a4d128;background:radial-gradient(ellipse at 55% 100%,#4b345f50,transparent 70%)}.home-characters img{object-fit:contain;position:relative;z-index:1}.cast-pumpkin{width:70px;height:66px;transform:rotate(-6deg)}.cast-witch{width:134px;height:105px;align-self:center;transform:rotate(-7deg)}.cast-cat{width:65px;height:85px;filter:drop-shadow(0 0 10px #c8abff22)}.cast-moon{position:absolute;width:57px;height:57px;border-radius:50%;background:#d6c5ed;opacity:.3;left:calc(50% - 28px);top:10px}
body[data-theme=halloween] .table-cast{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;max-width:930px;margin:0 auto 18px;height:100px;border-bottom:1px solid #b6a4d123;background:radial-gradient(ellipse at 90% 90%,#573c7255,transparent 40%)}.table-cast img{width:86px;height:90px;object-fit:contain;min-width:0}.table-cast img:first-child{width:94px;height:85px;transform:rotate(-7deg)}.table-cast img.table-witch{width:135px;height:106px;margin-right:auto;margin-left:25px}.table-cast>span{font-family:var(--condensed);font-size:17px;letter-spacing:.18em;color:#b7aec7;align-self:center;line-height:1.6}.table-cast i{font-style:normal;color:#f0a366;margin-inline:7px}
body[data-theme=halloween] .difficulty-basic{--suit:#f0a366;--suit-dark:#ffd7af;--suit-light:#503627}body[data-theme=halloween] .difficulty-intermediate{--suit:#b89ce9;--suit-dark:#e6d4ff;--suit-light:#3b3154}body[data-theme=halloween] .difficulty-advanced{--suit:#83d8c9;--suit-dark:#b8efe5;--suit-light:#253f43}
.halloween-back.card-back{background-position:center;background-size:100% 100%;border:4px solid #3a4052;padding:0;box-shadow:0 14px 30px -15px #0009}.halloween-back:before,.halloween-back .back-inner:before,.halloween-back .back-inner:after,.halloween-back .back-corner,.halloween-back .back-emblem{display:none}.halloween-back .back-inner{border:0;border-radius:0}.halloween-back .back-kicker{position:absolute;top:22px;display:block;font-family:var(--condensed);font-size:14px;letter-spacing:.17em;color:#f1e6d0;opacity:.86}.halloween-back .back-bottom{position:absolute;bottom:22px;margin:0;padding:7px 17px 5px;background:#0b111a96;border:1px solid #ffffff30;border-radius:999px;color:#fff4df;font-size:23px;line-height:1;letter-spacing:.09em}
.difficulty-basic .halloween-back,.sample-back.halloween-back{background-image:url('assets/halloween-back-basic.svg')}.difficulty-intermediate .halloween-back{background-image:url('assets/halloween-back-intermediate.svg')}.difficulty-advanced .halloween-back{background-image:url('assets/halloween-back-advanced.svg')}.halloween-back.sample-back .back-bottom{font-size:18px;bottom:21px}.halloween-back.sample-back .back-kicker{font-size:11px;top:20px}
body[data-theme=halloween] .pile-stack,body[data-theme=halloween] .pile-stack:before{background:#202636;border-color:#596078}body[data-theme=halloween] .pile-caption h2{color:var(--suit)}body[data-theme=halloween] .playing-card{background:linear-gradient(150deg,#242a3c,#191f2e);border:1px solid #ffffff26;border-top:5px solid var(--suit);box-shadow:0 18px 36px -15px #0009}body[data-theme=halloween] .playing-card:after{content:'';position:absolute;right:-22px;bottom:39px;width:52px;height:64px;background-position:center;background-repeat:no-repeat;background-size:contain;filter:drop-shadow(0 4px 8px #0006);pointer-events:none}body[data-theme=halloween] .playing-card.difficulty-basic:after{background-image:url('assets/halloween-pumpkin.svg')}body[data-theme=halloween] .playing-card.difficulty-intermediate:after{background-image:url('assets/halloween-cat.svg')}body[data-theme=halloween] .playing-card.difficulty-advanced:after{background-image:url('assets/halloween-witch.svg');width:74px;height:70px;right:-29px}
body[data-theme=halloween] .card-rule-note{background:#20283a;border-color:#8b9bb02d;color:#d0c9de}body[data-theme=halloween] .tea-spoon-button{background:#26364a;border-color:#9fc2e142;color:#d2e8ff}body[data-theme=halloween] .tea-spoon-button small{color:#bfd1eb}body[data-theme=halloween] .tea-spoon-button:hover,body[data-theme=halloween] .tea-spoon-button[aria-pressed=true]{background:#354960}body[data-theme=halloween] .translation-hint{color:#b8d7ff}
@media(max-width:1000px){.header-actions{gap:15px}.piles-grid{gap:22px}.halloween-back .back-bottom{font-size:21px}.home-characters{max-width:100%}.table-cast{max-width:100%}}
@media(max-width:700px){.piles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 20px}.pile:last-child{grid-column:1/-1;width:calc((100% - 20px)/2);justify-self:center}.pile-card{aspect-ratio:3/4;max-height:none}.pile-caption h2{font-size:14px}.pile-caption span{font-size:12px}.pile-note{font-size:9px}.halloween-back .back-bottom{font-size:clamp(14px,3.8vw,22px);bottom:15px;padding:6px 11px 4px}.halloween-back .back-kicker{font-size:10px;top:15px}.card-rule-note{font-size:10px;max-width:100%;border-radius:12px;padding:8px 12px}.playing-card:after{right:-11px!important;width:39px!important;height:48px!important;bottom:30px!important}.long-word{font-size:22px!important}.header-actions{gap:13px}body[data-theme=halloween] .header-web{width:93px;height:93px;opacity:.19}body[data-theme=halloween] .home-characters{height:90px;margin-top:20px}.cast-witch{height:92px;width:122px}.cast-cat{height:77px;width:58px}.cast-pumpkin{height:61px;width:63px}body[data-theme=halloween] .table-cast{height:78px;gap:10px;margin-top:-3px;margin-bottom:20px}.table-cast img{width:51px;height:65px}.table-cast img:first-child{width:59px;height:61px}.table-cast img.table-witch{width:83px;height:77px;margin-left:0}.table-cast>span{font-size:13px;letter-spacing:.08em;min-width:0}.table-cast i{margin-inline:2px}.level-guide p{font-size:11px}}
@media(max-width:480px){.help-button>[data-i18n=howToPlay]{display:none}.help-button{padding:6px}.header-actions{gap:7px}.language-trigger{font-size:10px;padding:7px 8px;gap:5px;min-height:35px}.language-trigger>.icon{display:none}.language-trigger img{width:19px;height:13px}.brand{gap:12px}.brand img{width:34px;height:34px}.language-options{width:184px}.halloween-back .back-bottom{letter-spacing:.04em}.home-copy h1{font-size:clamp(37px,8.7vw,48px)}}
@media(max-width:359px){.piles-grid{gap:24px 15px}.pile:last-child{width:calc((100% - 15px)/2)}.pile-caption h2{font-size:13px}.pile-caption span{font-size:11px}.halloween-back .back-bottom{font-size:14px;padding-inline:8px}.halloween-back .back-kicker{font-size:8px}.brand{gap:9px}.brand-name{font-size:30px}.brand img{width:31px;height:31px}.table-cast>span{font-size:11px}.table-cast img.table-witch{width:70px}}

/* Stable bilingual slots and compact pages. Scrolling remains available on small screens. */
html{scrollbar-width:none}html::-webkit-scrollbar{display:none}
html:has(dialog[open]){overflow:hidden}
body{min-height:100svh;display:flex;flex-direction:column}
main{flex:1}.site-header,.site-footer{width:100%;flex-shrink:0}
.site-header{padding-block:22px 16px}.site-footer{padding-block:15px 18px}
.home-view,.game-view{min-height:calc(100svh - 141px)}
.home-view{padding-top:24px;gap:16px 50px}.home-copy{min-width:0}
.home-copy h1{font-size:clamp(40px,4.2vw,58px);margin-top:18px;line-height:1.12}
.title-line{display:block;white-space:nowrap}
.home-copy>.eyebrow{font-size:16px;min-height:24px}
.home-description{font-size:15px;line-height:1.7;min-height:51px;margin-top:23px;max-width:430px}
.home-tags{margin-top:16px}.setup-panel{margin-top:25px}
.tabs{gap:0;margin-bottom:18px}.tabs button{flex:1;text-align:left;min-height:36px}
.form-note{min-height:18px;margin-top:9px}.join-hint{min-height:36px}
.setup-panel .full-width{margin-top:16px}.resume-button{margin-top:13px;min-height:40px;padding-block:9px}
.home-art{min-height:475px;margin-top:0}.home-bottom{margin-top:12px;padding-block:16px;min-height:57px}
.language-trigger{width:140px;height:40px;justify-content:center;white-space:nowrap}.language-trigger>*{flex-shrink:0}.language-trigger #language-code{min-width:45px;text-align:center}
.help-button{min-width:112px;justify-content:center}.header-home{font-size:12px;gap:6px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:transparent}
.header-home:hover{background:#e9eef1}.header-home .icon{width:17px;height:17px}
.game-view{padding-bottom:25px}.game-toolbar{justify-content:flex-end;padding:0 0 8px}.game-heading{margin-block:22px}
.game-heading>div:first-child{min-width:0;flex:1}.game-heading h1{font-size:clamp(29px,2.7vw,37px);min-height:2.24em;max-width:600px}
.game-heading h1 .red-word{display:block}.game-heading>div>p:last-child{min-height:23px}
.player-actions{min-width:205px}.player-badge{min-height:44px}.score-button{min-width:137px}
.piles-grid{max-width:780px}.pile-caption{min-height:28px}.pile-note{min-height:34px}
.table-note{margin-top:20px;min-height:20px}
.card-view{padding-top:10px}.reveal-heading h1{font-size:clamp(27px,2.5vw,32px);min-height:1.12em}
.reveal-heading>p:last-child{min-height:20px}.card-rule-note{min-height:34px;min-width:400px;margin-top:12px}
.card-view .playing-card{margin-block:12px 14px}.translation-hint{min-height:18px;max-width:480px}
.playing-card{padding:13px 24px}.secret-label{margin-top:12px}#secret-word{margin-bottom:16px}
.forbidden-label{padding-top:12px}.forbidden-words{font-size:16px;line-height:1.65;margin-block:10px 15px}
.playing-card.difficulty-basic .forbidden-words{font-size:18px;line-height:1.7;margin-block:16px}.playing-card.difficulty-basic .forbidden-words li{margin-top:6px}
.card-actions{width:460px;max-width:100%}.card-actions .done-button{min-width:140px;flex:1}
.card-actions .tea-spoon-button{min-width:0;flex:1.6;padding-inline:18px}
.tea-spoon-button #translate-label{font-size:12px}.done-note{max-width:420px;min-height:18px}
/* Monochrome original SpeakUp stamp. Screen blending lifts the card's own color. */
.card-back:not(.halloween-back) .back-emblem{width:150px;height:150px;max-width:65%;border:0;box-shadow:none;background:transparent;border-radius:0;letter-spacing:0;display:block}
.back-logo{display:block;width:100%;height:100%;object-fit:contain;filter:grayscale(1) invert(1) contrast(1.15);mix-blend-mode:screen;opacity:.85}
.card-back:not(.halloween-back) .back-corner{font-size:0}.card-back:not(.halloween-back) .back-corner>span{font-size:16px}
/* All menus use the same button, paper, focus, and selected styles. */
.enhanced-select{display:none!important}.select-control{display:block;position:relative;min-width:0}
.select-trigger{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px;border:1px solid #14364e26;border-radius:11px;background:#fff;color:var(--navy);font-size:14px;font-weight:600;text-align:left}
.select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger .icon{width:17px;height:17px;color:var(--muted);transition:transform .16s}
.select-trigger[aria-expanded=true]{border-color:var(--blue);box-shadow:0 0 0 3px #2b90d81a}.select-trigger[aria-expanded=true] .icon{transform:rotate(180deg)}
.select-options{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:20;display:block;padding:5px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 15px 35px -13px #14364e55;font-weight:500}
.drop-up .select-options{top:auto;bottom:calc(100% + 7px)}
.select-option{display:flex;align-items:center;gap:10px;min-height:38px;border-radius:8px;padding:8px 10px;font-size:12px;cursor:pointer}
.select-option:after{content:'';margin-left:auto;flex-shrink:0;width:7px;height:7px;border-radius:50%}
.select-option[aria-selected=true]{background:#eaf1f5;font-weight:700}.select-option[aria-selected=true]:after{background:var(--blue-deep)}
.select-option.is-active{background:#eaf1f5;outline:1px solid #2b90d847;outline-offset:-1px}
/* The scroll surface stays inset from the rounded dialog, including its custom track. */
.modal{padding:8px;overflow:hidden;border-radius:24px;max-height:calc(100svh - 32px)}
.modal-scroll{overflow-y:auto;overscroll-behavior:contain;padding:22px;max-height:calc(100svh - 50px)}
.modal-scroll,.select-options{scrollbar-width:thin;scrollbar-color:#9caeb9 transparent}
.modal-scroll::-webkit-scrollbar,.select-options::-webkit-scrollbar{width:6px}
.modal-scroll::-webkit-scrollbar-track,.select-options::-webkit-scrollbar-track{background:transparent;margin-block:15px}
.modal-scroll::-webkit-scrollbar-thumb,.select-options::-webkit-scrollbar-thumb{background:#9caeb9;border-radius:999px}
.modal-scroll::-webkit-scrollbar-thumb:hover,.select-options::-webkit-scrollbar-thumb:hover{background:#647d8f}
.close-button{display:grid;place-items:center;line-height:1;transition:background .15s;min-height:32px}
.help-modal{width:800px}.help-modal h2{font-size:34px}.help-modal .rules:first-of-type{grid-template-columns:1fr 1fr;gap:26px;margin-block:24px}
.help-modal .level-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:0 22px}.help-modal .level-guide>div{padding:13px}
.help-modal .rules{margin-block:22px}.help-modal .level-guide p{font-size:11px}
body[data-theme=halloween] .select-trigger,body[data-theme=halloween] .select-options{background:#1d2536;color:var(--navy);border-color:#ffffff26}
body[data-theme=halloween] .select-option.is-active,body[data-theme=halloween] .select-option[aria-selected=true],body[data-theme=halloween] .header-home:hover{background:#2c3b52}
body[data-theme=halloween] .select-option[aria-selected=true]:after{background:#a7cbff}
body[data-theme=halloween] .modal-scroll,body[data-theme=halloween] .select-options{scrollbar-color:#67748b transparent}
body[data-theme=halloween] .modal-scroll::-webkit-scrollbar-thumb,body[data-theme=halloween] .select-options::-webkit-scrollbar-thumb{background:#67748b}
@media(min-width:701px){body[data-theme=halloween] .piles-grid{max-width:630px}body[data-theme=halloween] .table-cast{height:60px;margin-bottom:8px}body[data-theme=halloween] .table-cast img{max-height:62px}}
@media(min-width:701px) and (max-height:850px){
 .site-header{padding-block:15px 12px}.site-footer{padding-block:11px}
 .home-view{padding-top:10px;gap:10px 45px;min-height:calc(100svh - 121px)}.home-copy h1{font-size:46px;margin-top:10px}.home-description{margin-top:17px;font-size:14px;min-height:46px}.home-tags{margin-top:10px}.setup-panel{margin-top:16px}.home-bottom{margin-top:3px;padding-block:10px;min-height:42px}.home-art{min-height:430px}
 body[data-theme=halloween] .home-characters{height:66px;margin-block:6px 0}body[data-theme=halloween] .home-characters img{max-height:68px}
 .game-view{padding-bottom:17px;min-height:calc(100svh - 121px)}.game-heading{margin-block:18px}.game-heading h1{font-size:34px}.game-heading>div>p:last-child{margin-top:8px}.game-toolbar{padding-block:0 10px}.piles-grid{max-width:680px;gap:26px}body[data-theme=halloween] .piles-grid{max-width:610px}.table-note{margin-top:12px}
 .card-view{padding-top:14px}.reveal-heading h1{font-size:31px}.reveal-heading>p:last-child{margin-top:8px}.card-rule-note{margin-top:9px;padding-block:5px;min-height:29px}.playing-card{padding:13px 22px}.secret-label{margin-top:12px}#secret-word{margin-bottom:16px}.forbidden-words{font-size:16px;line-height:1.65;margin-block:10px 15px}.playing-card.difficulty-basic .forbidden-words{font-size:18px;margin-block:16px}.playing-card.difficulty-basic .forbidden-words li{margin-top:6px}.card-view .playing-card{margin-block:12px 14px}
}
@media(max-width:1000px) and (min-width:701px){.home-copy h1{font-size:43px}.header-actions{gap:12px}.home-view{gap:16px 25px}.home-copy>.eyebrow{font-size:14px}.home-description{font-size:14px;min-height:48px}.home-art{min-height:430px}}
@media(max-width:700px){
 .site-header{padding:18px 22px 13px}.home-view{padding-top:21px;min-height:0;gap:0}.home-copy h1{font-size:clamp(34px,8.7vw,48px);margin-top:15px}.home-copy>.eyebrow{font-size:13px;min-height:20px}.home-description{margin-top:23px;font-size:14px;min-height:48px}.home-tags{margin-top:14px}.setup-panel{margin-top:23px}.home-bottom{margin-top:25px;padding-block:14px}
 .language-trigger{width:108px;height:36px}.help-button{min-width:0}.header-actions{gap:8px}.header-home{padding:8px;min-height:34px}.header-home span{display:none}
 .game-view{min-height:calc(100svh - 141px);padding-top:3px}.game-heading{margin-block:22px}.game-heading h1{font-size:clamp(28px,6.8vw,38px)}.player-actions{min-width:0;margin-top:18px}.game-heading>div>p:last-child{min-height:39px}
 .piles-grid{gap:25px 20px}.pile-note{min-height:30px}.pile-caption{min-height:43px;display:flex;flex-direction:column;align-items:flex-start;gap:0}.pile-card .back-emblem{max-width:70%;max-height:110px;aspect-ratio:1;height:auto!important}
 .reveal-heading h1{font-size:clamp(25px,6vw,32px);max-width:440px;min-height:2.24em}.reveal-heading h1 .red-word{display:block}.reveal-heading>p:last-child{min-height:36px;max-width:300px}
 .card-rule-note{min-width:0;width:100%;min-height:49px;display:grid;place-items:center;padding:7px 12px;font-size:10px}.card-view{padding-top:18px}
 .card-actions{gap:8px}.card-actions .tea-spoon-button{flex:1.8;padding:12px 10px;gap:6px;max-width:none}.card-actions .done-button{min-width:84px;max-width:none;padding-inline:15px}.tea-spoon-button #translate-label{font-size:10px}.tea-spoon-button small{font-size:7px}
 .modal{padding:6px;border-radius:21px}.modal-scroll{padding:17px;max-height:calc(100svh - 46px)}.help-modal h2{font-size:28px}.help-modal .rules:first-of-type{grid-template-columns:1fr;gap:18px}.help-modal .level-guide{grid-template-columns:1fr;gap:10px}.help-modal .level-guide>div{padding:12px 14px}
 .site-footer{padding:13px 24px 18px}.done-note{min-height:32px;max-width:300px}.translation-hint{max-width:300px;text-align:center}
}
@media(max-width:359px){.language-trigger{width:94px;padding-inline:6px;gap:3px}.site-header{padding-inline:16px}.header-actions{gap:4px}.header-home{padding:6px}.home-copy h1{font-size:34px}.card-actions .tea-spoon-button{padding-inline:8px}.tea-spoon-button .icon{display:none}}
@media(max-width:380px){body:has(#game-view:not([hidden])) .brand-divider,body:has(#game-view:not([hidden])) .brand img{display:none}}
@media(min-width:1100px){.game-heading h1{min-height:1.12em;max-width:none}.game-heading h1 .red-word{display:inline-block}}
@media(min-width:1001px) and (max-height:760px){
 .home-copy h1{font-size:40px;margin-top:6px}.home-description{font-size:13px;min-height:42px;margin-top:12px}.setup-panel{margin-top:12px}.resume-button{min-height:34px;padding-block:6px;margin-top:8px}.home-bottom{min-height:34px;padding-block:6px}.home-view{gap:5px 45px}
 body[data-theme=halloween] .home-characters{height:42px}body[data-theme=halloween] .home-characters img{max-height:45px}.home-characters .cast-moon{width:35px;height:35px;top:0}
 .game-heading{margin-block:12px}.game-heading h1{font-size:30px}.pile-caption{margin-top:14px}.piles-grid{max-width:600px}body[data-theme=halloween] .piles-grid{max-width:530px}body[data-theme=halloween] .table-cast{height:42px}body[data-theme=halloween] .table-cast img{max-height:45px}
 body[data-theme=halloween] .game-view{padding-bottom:12px}
 .card-view{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:repeat(5,auto);gap:13px 65px;max-width:910px;margin:auto;padding-top:24px;align-items:center}
 .reveal-heading{grid-column:1;grid-row:1;text-align:left}.reveal-heading h1{min-height:2.24em}.reveal-heading>p:last-child{min-height:36px}
 .card-rule-note{grid-column:1;grid-row:2;min-width:0;width:100%;min-height:50px;margin:0;border-radius:14px}
 .card-view .playing-card{grid-column:2;grid-row:1 / span 5;margin:0;align-self:start}
 .card-actions{grid-column:1;grid-row:3}.translation-hint{grid-column:1;grid-row:4;margin:0;text-align:center;min-height:36px}.done-note{grid-column:1;grid-row:5;max-width:100%;margin:0;text-align:center;min-height:32px}
}
