/* Word World — warm market/album visual system. */
.word-dashboard,.word-game-screen,.word-album-screen{font-family:'Nunito',sans-serif;color:#122d64;background:radial-gradient(circle at 50% 0,#fffef5 0,#fff8e8 52%,#f7edd2 100%);padding:max(16px,env(safe-area-inset-top)) clamp(16px,3vw,42px) max(28px,env(safe-area-inset-bottom));overflow-x:hidden}
.word-dashboard button,.word-game-screen button,.word-album-screen button{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
.word-dash-top{max-width:1600px;margin:0 auto 14px;display:grid;grid-template-columns:180px 1fr 180px;align-items:start;gap:18px}
.word-back,.word-dash-tools button,.word-hud-btn{min-width:72px;min-height:70px;border:2px solid #edc88d;border-radius:22px;background:linear-gradient(#fff,#fff9eb);box-shadow:0 5px 0 #d6ae71,0 8px 14px #7b53252b;font-weight:900;font-size:26px;cursor:pointer}
.word-back{padding:0 22px}.word-back span{font-size:24px}.word-dash-title{text-align:center}.word-dash-title h1{margin:-6px 0 0;display:inline;font:800 clamp(42px,5vw,70px)/1 'Baloo 2';letter-spacing:-2px;color:#092e69;text-shadow:0 3px 0 #fff}.word-dash-title>span{font-size:46px;margin-left:12px}
.word-total-progress{width:min(360px,80%);margin:4px auto 0;display:flex;align-items:center;gap:10px;background:#fffaf0;border:2px solid #edcf9f;border-radius:28px;padding:5px 15px;box-shadow:0 3px 6px #7b532522}.word-total-progress>b{font-size:28px}.word-total-progress>strong{font-size:19px}.word-total-progress>i{flex:1;height:14px;border-radius:20px;background:#f4e6cc;box-shadow:inset 0 2px 4px #8e64222e;overflow:hidden}.word-total-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffbf16,#ff7800);transition:width .4s}
.word-dash-tools{display:flex;justify-content:flex-end;gap:14px}.word-dash-tools button{font-size:28px;min-width:70px}
.word-hero{position:relative;width:100%;max-width:1600px;min-height:300px;margin:0 auto 18px;border:6px solid #fff3d4;border-radius:35px;overflow:hidden;background:#9edff3;box-shadow:0 0 0 2px #dcb677,0 8px 20px #9264292b;isolation:isolate}.word-hero>img{position:absolute;inset:0;width:72%;height:100%;object-fit:cover;object-position:left center}.word-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 45%,#e8f8ffdd 68%,#fff8df 100%);z-index:1;pointer-events:none}.word-hero>div{position:relative;z-index:2;margin-left:60%;padding:30px 20px 20px;text-align:center}.word-hero h2{font:800 clamp(38px,3.35vw,54px)/.94 'Baloo 2';margin:0;color:#0a3169;text-shadow:0 3px #fff}.word-hero p{font-size:21px;margin:6px 0 12px}.word-hero button,.word-pick-card footer button,.word-reward-actions button{min-height:44px;border:0;border-radius:24px;background:linear-gradient(#ffab1a,#ff7400);color:#fff;font-weight:900;font-size:24px;padding:12px 28px;box-shadow:0 5px 0 #c74f00,0 7px 10px #8f3f1933;cursor:pointer}
.word-game-picker{max-width:1600px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.word-pick-card{position:relative;min-width:0;border:4px solid var(--card,#36b4c6);border-radius:28px;background:#fffdf4;box-shadow:0 7px 0 color-mix(in srgb,var(--card),#885b2d 45%),0 10px 18px #6b4d2825;overflow:hidden;transition:transform .2s}.word-pick-card.market{--card:#7ead3a}.word-pick-card.colour{--card:#9a63d5}.word-pick-card[data-state=current],.word-pick-card[data-state=continue]{transform:translateY(-4px);box-shadow:0 8px 0 color-mix(in srgb,var(--card),#885b2d 45%),0 0 0 5px #ffca4a88,0 14px 22px #6b4d282d}.word-pick-card header{padding:14px 14px 8px;text-align:center;min-height:90px}.word-pick-card h2{font:800 clamp(24px,2.25vw,37px)/1 'Baloo 2';margin:0}.word-pick-card p{font-size:15px;margin:4px 0}.word-pick-card>img{display:block;width:100%;height:185px;object-fit:cover}.word-pick-card footer{position:relative;min-height:82px;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;padding:10px 18px 15px}.word-pick-card footer>span{font-weight:900;color:var(--card);font-size:16px}.word-pick-card footer small{grid-column:1;color:#63728c}.word-pick-card footer button{grid-row:1/3;grid-column:2;font-size:22px;padding:10px 30px}
.word-album-summary{max-width:1420px;width:calc(100% - 8vw);min-height:132px;margin:34px auto 0;display:grid;grid-template-columns:150px repeat(3,1fr);align-items:center;border:3px solid #e7c68d;border-radius:30px;background:#fffbef;box-shadow:0 6px 0 #d5ad72,0 10px 18px #6c4a2722;cursor:pointer;text-align:left;overflow:hidden}.word-album-summary>img{width:140px;height:118px;object-fit:contain}.word-album-summary>span{min-height:78px;display:flex;flex-direction:column;justify-content:center;padding:0 28px;border-left:1px solid #ead6b0}.word-album-summary small{font-size:17px;font-weight:900}.word-album-summary strong{font:800 43px/1 'Baloo 2';color:#165a99}.word-album-summary span:not(:first-of-type){text-align:center}
/* Shared game */
.word-game-screen{padding-inline:clamp(12px,2vw,28px);background:linear-gradient(#fff9e9,#e8f8de)}.word-game-shell{max-width:1320px;min-height:calc(100vh - 44px);margin:auto;padding-bottom:24px}.word-game-top{display:grid;grid-template-columns:84px 1fr auto;align-items:start;gap:14px;margin-bottom:12px}.word-game-top>div:nth-child(2){text-align:center}.word-game-top h1{font:800 clamp(32px,4vw,53px)/1 'Baloo 2';margin:0;color:#0e3872}.word-game-tools{display:flex;gap:10px}.word-hud-btn{min-width:66px;min-height:62px;font-size:25px}.word-round-progress{width:min(440px,75%);margin:2px auto 0;display:flex;align-items:center;gap:8px}.word-round-progress>span{font-size:24px}.word-round-progress>strong{font-size:17px}.word-round-progress>i{height:12px;flex:1;border-radius:15px;background:#eadcc2;overflow:hidden}.word-round-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffbe11,#ff7700)}.word-round-progress small{white-space:nowrap;background:#e8f4ff;padding:3px 9px;border-radius:10px;color:#2c6a9f}
.word-instruction{max-width:850px;min-height:90px;margin:0 auto 14px;padding:12px 26px;display:flex;align-items:center;gap:16px;border:4px solid #f2bd57;border-radius:26px;background:linear-gradient(#fffdf4,#fff5d9);box-shadow:0 5px 0 #d99f39,0 8px 16px #6d49242a}.word-instruction>button{width:62px;height:62px;flex:0 0 auto;border:0;border-radius:50%;background:#ff9d12;font-size:28px;box-shadow:0 4px 0 #c66200;cursor:pointer}.word-instruction small{font-weight:900;color:#a65b00;letter-spacing:1px}.word-instruction h2{font:800 clamp(22px,3vw,35px)/1.05 'Baloo 2';margin:0;color:#14396e}
.word-game-stage{position:relative;min-height:430px;border:5px solid #fff1cf;border-radius:34px;background:radial-gradient(circle at 50% 15%,#fff 0,#f8ffec 62%,#d6f0bd 100%);box-shadow:0 0 0 2px #dfc18b,0 9px 18px #4a642e22;padding:24px;overflow:hidden}.word-guide{position:absolute;left:18px;bottom:12px;width:200px;z-index:2;pointer-events:none}.word-guide img{width:135px;height:150px;object-fit:contain;display:block;margin:auto}.word-guide span{display:block;margin-top:-14px;background:#fff;border:3px solid #72a5c1;border-radius:18px;padding:8px;text-align:center;font-weight:900;box-shadow:0 4px 0 #5c8295}.word-guide.compact,.word-guide.market,.word-guide.colour{width:180px}.word-guide.market img{width:125px}.word-guide.colour img{width:140px}.word-mini-album{max-width:760px;min-height:65px;margin:14px auto 0;border:2px solid #d7be8d;border-radius:24px;background:#fffaf0;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 18px;box-shadow:0 4px 0 #cfad76}.word-mini-album>span{font-size:32px}.word-mini-album b{font-size:18px}.word-mini-album>div{display:flex;gap:6px;color:#6f7788}.word-mini-album>div span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;border:2px solid #78bdd0;font-size:23px}
/* Picture & word match */
.word-match-scene{min-height:390px;display:grid;grid-template-columns:220px 1fr 1.4fr;align-items:center;gap:28px;padding-left:190px}.word-big-picture{min-height:250px;border:4px solid #45b8cb;border-radius:28px;background:#fff;box-shadow:0 7px 0 #278b9c;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:.25s}.word-big-picture>span{font-size:112px;filter:drop-shadow(0 5px 3px #2233)}.word-big-picture>b{font:800 29px 'Baloo 2';text-transform:lowercase}.word-big-picture small{color:#5a7089}.word-big-picture.correct{box-shadow:0 0 0 10px #91e86688,0 7px 0 #489f2f;transform:scale(1.03)}.word-match-options{display:grid;gap:14px}.word-match-choice{min-height:104px;border:4px solid #76a8cf;border-radius:24px;background:#fff;box-shadow:0 6px 0 #4c779b;cursor:pointer;transition:.2s}.word-match-choice>span{font-size:57px;display:block}.word-match-choice>strong{font:800 clamp(30px,4vw,49px) 'Baloo 2';display:block}.word-match-choice small{font-size:14px;color:#778597}.word-match-choice.correct{border-color:#59bd32;box-shadow:0 0 0 9px #78df4688,0 6px 0 #3d9023;transform:scale(1.08)}
.word-multi-scene{min-height:390px;padding-left:190px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-content:center}.word-multi-pictures,.word-multi-words{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.word-multi-pictures button,.word-multi-words button{min-height:130px;border:4px solid #4db5c8;border-radius:24px;background:#fff;box-shadow:0 6px 0 #27899a;font:800 27px 'Baloo 2';cursor:pointer}.word-multi-pictures span{font-size:64px}.word-multi-pictures button.selected{box-shadow:0 0 0 8px #ffd140,0 6px 0 #bb8c00}.word-multi-scene button.correct{border-color:#65c23c;background:#eeffe7;box-shadow:0 0 0 7px #81dc54,0 6px 0 #4d942f}
/* Market */
.word-market-scene{min-height:390px;padding-left:185px;display:grid;grid-template-rows:170px auto;align-items:center;justify-items:center}.word-market-object{width:170px;min-height:155px;border:4px solid #f0a12f;border-radius:28px;background:#fff;box-shadow:0 7px 0 #b96b13;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:grab;touch-action:pan-y;transform:translate(var(--drag-x,0),var(--drag-y,0));position:relative;z-index:4;transition:transform .2s,opacity .25s}.word-market-object.dragging{transition:none;cursor:grabbing;filter:drop-shadow(0 15px 9px #4425)}.word-market-object>span{font-size:73px}.word-market-object>b{font:800 27px 'Baloo 2'}.word-market-object small{color:#7b8494}.word-market-object.delivered{opacity:.15;transform:scale(.5)}.word-market-object.returning{animation:wordReturn .4s}.word-market-baskets{width:min(840px,100%);display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.word-market-basket{min-height:155px;border:4px solid #88ad3d;border-radius:30px 30px 48px 48px;background:repeating-linear-gradient(90deg,#e8b55c 0 12px,#f8cc79 12px 24px);box-shadow:0 9px 0 #a87424;cursor:pointer;transition:.25s}.word-market-basket span{display:block;font-size:52px}.word-market-basket b{display:inline-block;background:#fff7db;border-radius:12px;padding:4px 12px;font-size:20px}.word-market-basket.accept{filter:brightness(1.12);box-shadow:0 0 0 12px #80df4699,0 9px 0 #508c28;transform:scale(1.06)}
.word-odd-scene{min-height:390px;padding-left:180px;display:grid;align-content:center;justify-items:center}.word-odd-scene h3{font:800 34px 'Baloo 2';margin:0 0 16px}.word-odd-scene>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:min(850px,100%)}.word-odd-scene button{min-height:150px;border:4px solid #7eae3c;border-radius:25px;background:#fff;box-shadow:0 6px 0 #528022;cursor:pointer}.word-odd-scene button span{display:block;font-size:67px}.word-odd-scene button b{font-size:20px}.word-odd-scene button.correct{box-shadow:0 0 0 10px #82db55,0 6px 0 #4c912f;transform:scale(1.06)}
/* Colour studio */
.word-colour-scene{min-height:390px;padding-left:180px;display:grid;grid-template-columns:minmax(300px,470px) 170px;align-items:center;justify-content:center;gap:35px}.word-colour-canvas{aspect-ratio:4/3;border:5px solid #a573d9;border-radius:30px;background:#fff;box-shadow:0 7px 0 #7043a1;padding:15px;display:grid;place-items:center}.word-colour-canvas svg{width:100%;height:100%;overflow:visible}.word-colour-canvas [data-region]{cursor:pointer;transition:fill .25s,filter .25s}.word-colour-canvas [data-region]:hover{filter:brightness(.96)}.word-colour-canvas [data-region].filled{filter:drop-shadow(0 0 8px #ffe178)}.word-palette{display:grid;gap:10px}.word-palette button{min-height:67px;border:3px solid #dcc9aa;border-radius:20px;background:#fff;display:flex;align-items:center;gap:10px;padding:7px 12px;box-shadow:0 4px 0 #b69d74;cursor:pointer}.word-palette button>span{width:42px;height:42px;border-radius:50%;background:var(--swatch);border:3px solid #fff;box-shadow:0 0 0 2px #34415e}.word-palette button.selected{border-color:#8250c5;box-shadow:0 0 0 5px #b894ed88,0 4px 0 #7042a7;transform:scale(1.04)}.word-colour-status{grid-column:1/3;text-align:center;font-weight:900;color:#6c5b7b;margin:0}
.word-correct-burst{position:absolute;left:50%;top:46%;z-index:8;transform:translate(-50%,-50%);border:5px solid #fff;background:linear-gradient(#8deb57,#43b52d);color:#fff;border-radius:30px;padding:14px 26px;box-shadow:0 8px 0 #2d831d,0 0 30px #f7e955;font:800 30px 'Baloo 2';animation:wordBurst .32s both}
.word-gentle-wrong{animation:wordGentle .44s ease}.word-pause-layer,.word-reward-layer{position:fixed;inset:0;z-index:100;background:#17254caa;display:grid;place-items:center;padding:20px}.word-pause-layer[hidden],.word-reward-layer[hidden]{display:none}.word-pause-layer>div,.word-reward-card{width:min(560px,94vw);border:6px solid #fff0c7;border-radius:36px;background:#fffaf0;box-shadow:0 14px 0 #bb8d49;text-align:center;padding:28px}.word-pause-layer span,.word-reward-icon{font-size:72px}.word-pause-layer h2,.word-reward-card h2{font:800 38px 'Baloo 2';margin:4px 0 18px}.word-pause-layer button{display:block;width:100%;margin:10px 0;border:0;border-radius:20px;padding:13px;background:#ff9814;color:#fff;font-weight:900;font-size:20px}.word-reward-stars{font-size:49px;letter-spacing:5px}.word-reward-item{margin:18px auto;display:flex;justify-content:center;align-items:center;gap:18px;border:3px solid #dfc287;border-radius:24px;background:#fff;padding:13px}.word-reward-item>span{font-size:77px}.word-reward-item div{text-align:left}.word-reward-item small,.word-reward-item strong{display:block}.word-reward-item strong{font:800 33px 'Baloo 2'}.word-reward-item button{border:0;border-radius:12px;background:#e8f6ff;padding:8px}.word-reward-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px}.word-reward-actions button{font-size:18px;padding:11px}.word-reward-actions button:last-child{grid-column:1/3;background:linear-gradient(#4eb9d2,#208eaa);box-shadow:0 5px 0 #146477}
/* Album */
.word-album-screen>header{max-width:1320px;margin:0 auto 20px;display:grid;grid-template-columns:150px 1fr 150px;align-items:center;text-align:center}.word-album-screen>header button{min-height:58px;border:2px solid #e4c58d;border-radius:19px;background:#fff;font-weight:900;font-size:19px}.word-album-screen h1{font:800 clamp(39px,5vw,65px)/1 'Baloo 2';margin:0}.word-album-screen header p{margin:4px}.word-album-screen header>strong{color:#1c679f;font-size:20px}.word-album-screen nav{max-width:1100px;margin:0 auto 22px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.word-album-screen nav button{border:3px solid #8fcad4;border-radius:20px;background:#fff;padding:9px 18px;font-weight:900}.word-album-screen nav button.selected{background:#1e9db7;color:#fff;box-shadow:0 4px 0 #126577}.word-album-screen main{max-width:1250px;width:100%;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:16px}.word-album-card{position:relative;min-height:235px;border:4px solid #e0c28a;border-radius:25px;background:linear-gradient(#fff,#fff7e3);box-shadow:0 6px 0 #b7955a;padding:15px;text-align:center}.word-album-card:before{content:"";position:absolute;inset:9px;border-radius:17px;background:radial-gradient(circle,var(--album-colour,#fff) 0,transparent 68%);opacity:.22;pointer-events:none}.word-album-card>span{position:relative;display:block;font-size:76px}.word-album-card strong{position:relative;display:block;font:800 28px 'Baloo 2'}.word-album-card small{position:relative;display:block;color:#68768b}.word-album-card button{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;border-radius:50%;background:#e5f6ff;cursor:pointer}.word-album-card i{display:inline-block;margin-top:6px;border-radius:10px;padding:3px 7px;background:#f2e7ff;color:#7446a3;font-style:normal;font-size:12px}.word-album-empty{grid-column:1/-1;text-align:center;padding:45px}.word-album-empty img{width:150px}.word-album-empty h2{font:800 31px 'Baloo 2';margin:0}
@keyframes wordGentle{25%{transform:translateX(-7px) rotate(-1deg)}60%{transform:translateX(6px) rotate(1deg)}}@keyframes wordReturn{50%{transform:translateY(-8px)}}@keyframes wordBurst{from{opacity:0;transform:translate(-50%,-40%) scale(.7)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:1000px){
 .word-dash-top{grid-template-columns:120px 1fr 120px}.word-back{min-width:60px;padding:0 12px}.word-back span{display:none}.word-dash-tools button:nth-child(2){display:none}.word-hero{min-height:310px}.word-hero>img{width:74%}.word-hero>div{margin-left:57%;padding-top:42px}.word-game-picker{grid-template-columns:1fr}.word-pick-card{display:grid;grid-template-columns:1fr 1.25fr}.word-pick-card header{align-self:center}.word-pick-card>img{height:210px}.word-pick-card footer{grid-column:1/3;min-height:70px}.word-album-summary{width:96%;grid-template-columns:120px repeat(3,1fr)}.word-album-summary>img{width:115px}.word-album-summary>span{padding:0 14px}
 .word-match-scene,.word-market-scene,.word-odd-scene,.word-colour-scene,.word-multi-scene{padding-left:145px}.word-guide{width:150px;left:4px}.word-guide img{width:110px}.word-market-baskets{gap:12px}.word-album-screen main{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:760px){
 .word-dashboard,.word-game-screen,.word-album-screen{padding:10px 10px 25px}.word-dash-top{grid-template-columns:60px 1fr 60px;gap:6px;align-items:start}.word-back,.word-dash-tools button{min-width:52px;min-height:50px;border-radius:16px;font-size:21px}.word-dash-title h1{font-size:35px;letter-spacing:-1px}.word-dash-title>span{font-size:25px;margin-left:4px}.word-total-progress{width:92%;padding:2px 8px}.word-total-progress>b{font-size:20px}.word-total-progress>strong{font-size:14px}.word-dash-tools{gap:0}.word-hero{min-height:400px;border-width:4px}.word-hero>img{position:relative;width:100%;height:255px;object-position:center}.word-hero:after{background:linear-gradient(180deg,transparent 25%,#fff8e0 67%)}.word-hero>div{position:absolute;inset:auto 0 0;margin:0;padding:14px 12px 16px}.word-hero h2{font-size:36px}.word-hero p{font-size:17px;margin:2px 0 9px}.word-hero button{font-size:18px;padding:9px 20px}.word-game-picker{gap:15px}.word-pick-card{display:block}.word-pick-card header{min-height:auto}.word-pick-card h2{font-size:28px}.word-pick-card>img{height:145px}.word-pick-card footer{grid-column:auto;padding:9px 14px}.word-pick-card footer button{font-size:19px}.word-album-summary{width:100%;grid-template-columns:75px repeat(3,1fr);min-height:90px;margin-top:22px}.word-album-summary>img{width:75px;height:75px}.word-album-summary>span{min-height:60px;padding:0 5px}.word-album-summary small{font-size:9px}.word-album-summary strong{font-size:24px}
 .word-game-shell{min-height:calc(100vh - 20px)}.word-game-top{grid-template-columns:52px 1fr 52px;gap:5px}.word-game-top h1{font-size:27px}.word-game-tools button:not(:first-child){display:none}.word-hud-btn{min-width:50px;min-height:48px;border-radius:15px;font-size:20px}.word-round-progress{width:98%;gap:4px}.word-round-progress small{font-size:10px}.word-instruction{min-height:70px;padding:7px 10px;gap:9px;border-width:3px}.word-instruction>button{width:50px;height:50px}.word-instruction h2{font-size:20px}.word-instruction small{font-size:10px}.word-game-stage{min-height:560px;padding:14px;border-radius:25px}.word-guide,.word-guide.compact,.word-guide.market,.word-guide.colour{position:relative;left:auto;bottom:auto;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:6px}.word-guide img,.word-guide.market img,.word-guide.colour img{width:80px;height:85px;margin:0}.word-guide span{margin:0 0 0 -5px;min-width:140px}.word-match-scene,.word-market-scene,.word-odd-scene,.word-colour-scene,.word-multi-scene{min-height:520px;padding:0;display:flex;flex-direction:column;gap:14px;justify-content:flex-start}.word-big-picture{min-height:150px;width:180px}.word-big-picture>span{font-size:72px}.word-big-picture>b{font-size:23px}.word-match-options{width:100%;grid-template-columns:repeat(2,1fr);gap:10px}.word-match-choice{min-height:92px}.word-match-choice>span{font-size:47px}.word-match-choice>strong{font-size:31px}.word-multi-pictures,.word-multi-words{width:100%;gap:6px}.word-multi-pictures button,.word-multi-words button{min-height:100px;font-size:19px}.word-multi-pictures span{font-size:42px}.word-market-scene{display:flex}.word-market-object{width:145px;min-height:125px}.word-market-object>span{font-size:57px}.word-market-baskets{width:100%;grid-template-columns:repeat(2,1fr);gap:10px}.word-market-basket{min-height:125px}.word-market-basket span{font-size:42px}.word-market-basket b{font-size:14px}.word-odd-scene>div:last-child{grid-template-columns:repeat(2,1fr);gap:8px}.word-odd-scene button{min-height:115px}.word-odd-scene button span{font-size:51px}.word-colour-scene{display:grid;grid-template-columns:1fr;align-content:start}.word-colour-scene .word-guide{grid-column:1}.word-colour-canvas{width:min(310px,92%);margin:auto}.word-palette{grid-template-columns:repeat(2,1fr);width:100%}.word-palette button{min-height:55px}.word-colour-status{grid-column:1}.word-mini-album{padding:6px 10px;gap:5px}.word-mini-album b{display:none}.word-mini-album>div span{width:34px;height:34px}.word-correct-burst{font-size:23px;white-space:nowrap}.word-reward-actions{grid-template-columns:1fr}.word-reward-actions button:last-child{grid-column:1}.word-album-screen>header{grid-template-columns:80px 1fr}.word-album-screen>header button{min-height:48px;font-size:14px}.word-album-screen h1{font-size:36px}.word-album-screen header>strong{grid-column:1/3;margin-top:7px}.word-album-screen main{grid-template-columns:repeat(2,1fr);gap:10px}.word-album-card{min-height:195px;padding:10px}.word-album-card>span{font-size:57px}.word-album-card strong{font-size:23px}
}
@media(max-width:480px){
 #s-word-dashboard .word-dash-title h1{display:inline-block;margin:0;font-size:32px;line-height:1;white-space:nowrap}
 #s-word-dashboard .word-dash-title>span{display:none}
}
@media(max-width:360px){.word-dash-title>span{display:none}.word-hero{min-height:375px}.word-hero>img{height:230px}.word-game-stage{min-height:535px}.word-match-options{grid-template-columns:1fr 1fr}.word-match-choice>strong{font-size:26px}.word-palette button b{font-size:13px}.word-album-screen main{grid-template-columns:1fr 1fr}}
/* Dashboard owns a wide, exact-fit canvas instead of inheriting the 1020px shared screen cap. */
html body #s-word-dashboard.word-dashboard{
 max-width:1720px;
 width:100%;
 box-sizing:border-box;
 padding-inline:clamp(14px,1vw,20px);
}
html body #s-word-dashboard.word-dashboard.active{
 height:100vh!important;
 height:100dvh!important;
 min-height:100vh!important;
 min-height:100dvh!important;
 max-height:100vh!important;
 max-height:100dvh!important;
 padding-bottom:12px!important;
 overflow:hidden!important;
}
#s-word-dashboard .word-dash-top,#s-word-dashboard .word-hero,#s-word-dashboard .word-game-picker{width:100%;max-width:1640px}
#s-word-dashboard .word-hero{height:clamp(240px,34.5vh,325px);min-height:0}
#s-word-dashboard .word-pick-card header{min-height:clamp(58px,8vh,74px);padding-block:10px 6px}
#s-word-dashboard .word-pick-card h2{font-size:clamp(22px,2vw,34px)}
#s-word-dashboard .word-pick-card>img{height:clamp(100px,14vh,132px)}
#s-word-dashboard .word-pick-card footer{min-height:clamp(58px,7.5vh,74px);padding-block:8px 12px}
#s-word-dashboard .word-pick-card footer button{min-width:44px;min-height:44px;padding:8px 22px;font-size:clamp(18px,1.35vw,22px);white-space:nowrap}
#s-word-dashboard .word-album-summary{min-height:clamp(82px,13vh,122px);margin-top:clamp(10px,2.2vh,24px)}
#s-word-dashboard .word-album-summary>img{height:clamp(76px,12vh,112px)}

/* Wide but short desktops need a compact hierarchy, not the tall-desktop composition. */
@media(min-width:1001px) and (max-height:820px){
 html body #s-word-dashboard.word-dashboard{padding-top:8px;padding-bottom:10px!important}
 #s-word-dashboard .word-dash-top{grid-template-columns:120px minmax(0,1fr) 120px;gap:12px;margin-bottom:8px}
 #s-word-dashboard .word-back,#s-word-dashboard .word-dash-tools button{min-width:52px;min-height:52px;border-radius:17px;font-size:22px;box-shadow:0 4px 0 #d6ae71,0 6px 10px #7b532522}
 #s-word-dashboard .word-back{width:max-content;padding-inline:14px}
 #s-word-dashboard .word-back span{font-size:19px}
 #s-word-dashboard .word-dash-tools{gap:9px}
 #s-word-dashboard .word-dash-title h1{font-size:46px;letter-spacing:-1px}
 #s-word-dashboard .word-dash-title>span{font-size:31px;margin-left:8px}
 #s-word-dashboard .word-total-progress{width:min(320px,76%);height:34px;margin-top:1px;padding:2px 11px;gap:8px}
 #s-word-dashboard .word-total-progress>b{font-size:20px}
 #s-word-dashboard .word-total-progress>strong{font-size:16px}
 #s-word-dashboard .word-total-progress>i{height:11px}
 #s-word-dashboard .word-hero{height:clamp(180px,30vh,230px);margin-bottom:10px;border-width:4px;border-radius:28px}
 #s-word-dashboard .word-hero>div{padding:18px 16px 12px}
 #s-word-dashboard .word-hero h2{font-size:clamp(34px,3vw,43px)}
 #s-word-dashboard .word-hero p{font-size:17px;margin:3px 0 7px}
 #s-word-dashboard .word-hero button{min-height:44px;padding:7px 22px;font-size:19px}
 #s-word-dashboard .word-game-picker{gap:14px}
 #s-word-dashboard .word-pick-card{border-width:3px;border-radius:23px}
 #s-word-dashboard .word-pick-card header{min-height:60px;padding:7px 10px 4px}
 #s-word-dashboard .word-pick-card h2{font-size:clamp(22px,2vw,29px)}
 #s-word-dashboard .word-pick-card p{font-size:13px;margin:2px 0}
 #s-word-dashboard .word-pick-card>img{height:clamp(120px,18vh,140px)}
 #s-word-dashboard .word-pick-card footer{min-height:60px;padding:7px 12px 10px;gap:1px 8px}
 #s-word-dashboard .word-pick-card footer>span{font-size:14px}
 #s-word-dashboard .word-pick-card footer button{font-size:18px;padding:7px 17px}
 #s-word-dashboard .word-album-summary{width:calc(100% - 10vw);min-height:clamp(74px,12vh,94px);margin-top:10px;grid-template-columns:100px repeat(3,1fr);border-radius:24px}
 #s-word-dashboard .word-album-summary>img{width:92px;height:clamp(70px,11vh,86px)}
 #s-word-dashboard .word-album-summary>span{min-height:58px;padding-inline:12px}
 #s-word-dashboard .word-album-summary small{font-size:13px}
 #s-word-dashboard .word-album-summary strong{font-size:31px}
}

/* Stacked dashboard compositions use one deterministic viewport scroll owner. */
@media(max-width:1000px){
 html body #s-word-dashboard.word-dashboard.active{height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow-x:clip!important;overflow-y:auto!important;padding-bottom:max(72px,calc(48px + env(safe-area-inset-bottom)))!important;overscroll-behavior-y:contain}
 html body #s-word-dashboard.word-dashboard.active>*{flex-shrink:0}
}

@media(orientation:landscape) and (max-height:700px) and (min-width:761px){
 .word-game-screen{padding-block:8px}.word-game-shell{min-height:auto}.word-game-top{grid-template-columns:62px 1fr auto;margin-bottom:4px}.word-game-top h1{font-size:30px}.word-hud-btn{min-width:48px;min-height:46px;border-radius:14px}.word-round-progress{margin-top:0}.word-instruction{min-height:56px;padding:5px 15px;margin-bottom:6px}.word-instruction>button{width:44px;height:44px;font-size:20px}.word-instruction h2{font-size:22px}.word-game-stage{min-height:340px;padding:12px}.word-match-scene,.word-market-scene,.word-odd-scene,.word-colour-scene,.word-multi-scene{min-height:310px}.word-big-picture{min-height:200px}.word-guide img{height:112px}.word-market-object{min-height:125px}.word-market-scene{grid-template-rows:130px auto}.word-market-basket{min-height:120px}.word-colour-canvas{max-height:270px}.word-mini-album{min-height:48px;margin-top:6px}.word-mini-album>span{font-size:24px}
}
