:root{--primary:#164b83;--accent:#b9342e;--ink:#173b5c;--paper:#fffef8;--line:#b9ccda;font-family:'Trebuchet MS','Segoe UI',sans-serif;background:#9ed5eb;color:var(--ink)}
.scene-cloud.large{width:210px}.scene-cloud.large:nth-child(2){width:170px}.scene-cloud.small{width:200px}.scene-cloud.small:nth-child(4){width:170px}
.landing-actors,.landing-flowers{position:absolute;inset:0;width:1600px;height:900px;overflow:visible;pointer-events:none}.landing-actors[hidden],.landing-flowers[hidden]{display:none}
.landing-actors [data-actor],.scene-actor{filter:saturate(.72) contrast(.94)}
#app.is-home .toolbar{position:relative}
.activity,.session-options,.results{background:#fffef8!important}.scope{color:#173b5c;text-shadow:0 1px 2px #fffef8}.mode-card>span:empty{display:none}
body{background:#9ed5eb}h1,h2,.reading,.word{font-family:Georgia,'Times New Roman',serif}button:focus-visible,select:focus-visible{outline:4px solid #164b83;outline-offset:4px}
#app{isolation:isolate;min-height:100svh}.toolbar{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;position:relative;z-index:30;gap:10px}.brand,.quiet{background:#fffef8;border:1px solid #d8e0e0;box-shadow:0 3px 0 #173b5c18;color:var(--ink)}
.paper-scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#9ed5eb}.scene-sky{width:100%;height:100%;object-fit:cover}.scene-camera{position:absolute;left:50%;bottom:0;width:1600px;height:900px;transform-origin:bottom center}.scene-plane{position:absolute;inset:0;width:1600px;height:900px;object-fit:fill}.scene-clouds,.scene-cast{position:absolute;inset:0}.scene-cloud{position:absolute;left:0;top:0;width:210px;height:auto}.scene-cloud:nth-child(2){width:160px}.scene-actor{position:absolute;width:188px;height:376px}.scene-plane[hidden],.scene-cast[hidden],.scene-clouds[hidden],.scene-sky[hidden]{display:none}
.home-stage{min-height:calc(100svh - 76px);position:relative;display:block}.landing-interface{display:flex;align-items:center;flex-direction:column;position:relative;z-index:2;padding:16px 14px 0;pointer-events:none}.landing-title{font-size:clamp(42px,5.9vw,88px);font-weight:900;line-height:1.1;text-align:center;letter-spacing:-.045em;color:#164b83;text-shadow:0 3px 0 #fffef8,0 0 8px #fffef8;margin:0 0 6px}
.explore-badge{pointer-events:auto;position:relative;width:clamp(170px,min(22vw,24svh),260px);aspect-ratio:1;background:none;border:0;padding:0;filter:drop-shadow(0 6px 2px #173b5c25);transition:transform .18s ease}.badge-art{width:100%;height:100%;object-fit:contain}.explore-badge span{position:absolute;left:13%;right:13%;bottom:0;padding:8px;background:#18766b;border:5px solid #fffef8;color:white;border-radius:22px;box-shadow:0 3px 0 #104a43;font:bold clamp(23px,2vw,30px) Georgia,serif}.explore-badge:focus-visible{outline:4px solid #164b83;border-radius:50%;outline-offset:5px}@media(hover:hover){.explore-badge:hover{transform:rotate(-2deg) scale(1.03)}}
.main{max-width:1370px;padding-top:18px}.page-title{text-align:center;text-shadow:0 2px 0 white}.intro,.scope{text-align:center}.intro{color:#173b5c;font-weight:600}.mode-grid{gap:18px}.mode-card{background:#fffef8f5;border:2px solid #fff;border-radius:12px 18px 14px 20px;box-shadow:0 5px 0 #173b5c28;min-height:190px}.mode-card strong{font-family:Georgia,serif;font-size:22px}.mode-card .picture{height:120px;background:transparent}.mode-card:disabled{opacity:.8}.mode-card>span:last-child{font-size:13px}.mode-card:not(:disabled):hover{border-color:#f2be38}
.activity,.session-options,.results{background:#fffef8f7;border:2px solid white;border-radius:16px;padding:24px;box-shadow:0 5px 0 #173b5c20}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-grid>.category{grid-column:auto;min-width:0;background:#fffef8f7;border:2px solid #fff;border-radius:14px;box-shadow:0 4px 0 #173b5c20}.category-grid>.category:first-child{grid-column:1/-1}.category-grid>.category[aria-pressed=true]{background:#164b83;color:white;border-color:#f2be38}.category .picture{height:105px;background:transparent}.category-count{color:inherit}.category-grid .category{font-size:17px}.button{background:#164b83;color:#fff}.button.secondary{background:#fffef8;color:#164b83}.answer{border-color:#b9ccda}.answer:hover{border-color:#18766b}.picture{background:transparent}.picture canvas{max-width:100%;object-fit:contain}.picture-missing{display:grid;place-items:center;min-height:72px;font-size:14px;color:#61717a}
.word-workshop{gap:12px}.spelling-scene-row{display:grid;grid-template-columns:1fr;align-items:center;gap:12px;width:100%;max-width:760px}.spelling-progress{order:2;text-align:center;width:100%}.spelling-progress p{margin:0 0 8px;font-size:16px}.spelling-progress progress{width:min(100%,400px);height:14px;accent-color:#18766b}.spelling-clue{display:flex;align-items:center;justify-content:center;gap:24px}.word-workshop .spelling-clue .picture{width:210px;height:190px;flex:0 0 210px}.spelling-clue .definition{font-size:22px;max-width:390px}.word-workshop .keyboard{width:100%;max-width:850px;margin:8px auto;display:grid;grid-template-columns:repeat(13,1fr);gap:7px}.key{min-width:0;min-height:44px}.key.is-correct{background:#18766b;color:white}.key.is-wrong{background:#e7dad5;color:#663c30}.letter-word{flex-wrap:wrap;justify-content:center;gap:5px}.letter{min-width:25px}.chances{text-align:center}.layer-inspector{position:fixed;bottom:8px;left:8px;z-index:100;padding:10px;background:white;border:1px solid #164b83;border-radius:8px;font-size:14px}.layer-inspector label{display:block;margin:6px}
@media(max-width:900px){.mode-card strong{font-size:19px}.mode-grid{gap:12px}.landing-title{font-size:clamp(40px,6vw,62px)}}
@media(max-width:700px){.toolbar{flex-wrap:wrap;padding:8px;gap:6px}.toolbar-tools{gap:4px}.brand{font-size:15px}.quiet{font-size:12px;padding:8px;min-height:44px}.home-stage{min-height:calc(100svh - 112px)}.landing-interface{padding-top:12px}.landing-title{font-size:clamp(38px,9.2vw,58px);max-width:580px}.explore-badge{width:min(48vw,26svh,235px)}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid .category{font-size:16px}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-card{min-height:170px;padding:12px}.mode-card .picture{height:100px}.mode-card strong{font-size:17px}.main{padding:16px 12px 30px}.page-title{font-size:30px}.activity{padding:16px}.spelling-clue{gap:12px}.word-workshop .spelling-clue .picture{width:110px;height:110px;flex-basis:110px}.spelling-clue .definition{font-size:17px}.word-workshop .keyboard{grid-template-columns:repeat(7,1fr);gap:5px}.key{padding:8px 5px}.word-workshop .letter{min-width:22px;font-size:24px}.chances{font-size:14px}}
@media(max-height:570px) and (min-width:700px){.landing-interface{padding-top:0}.landing-title{font-size:44px}.explore-badge{width:150px}}
@media(prefers-reduced-motion:reduce){.explore-badge{transition:none}}
@media(max-height:800px) and (min-width:1000px){.landing-interface{padding-top:4px}#app .landing-title{font-size:64px;padding:10px 20px}.explore-badge{width:min(21vw,25svh)}.explore-badge span{left:8%;right:8%;font-size:28px;padding:6px 3px}}

/* Shared rhythm: reset legacy margins before applying screen-specific sizes. */
.main{width:100%;padding:20px clamp(12px,3vw,36px) 32px;text-shadow:none}
.page-title{line-height:1.15;margin:0 0 10px}
.intro{margin:0 auto;line-height:1.45;max-width:760px}
.scope{margin:0 auto 16px;line-height:1.4}
.mode-grid{margin-top:22px;align-items:stretch}
.mode-card{gap:10px;min-height:0;padding:16px;text-align:center;align-items:center}
.mode-card .picture{height:112px;min-height:0;flex:none}
.mode-card strong{line-height:1.2}
.category-grid{margin:20px 0 18px;gap:12px}
.category-grid .category{padding:12px;gap:6px;min-height:0}
.category .picture{margin:0;height:96px}
.category-grid>.category:first-child{padding:12px;gap:4px}
.session-options{padding:18px;justify-content:center;gap:12px}
.activity{gap:14px;padding:22px;min-width:0}
.activity>p{margin:0}
.activity>.picture{height:clamp(150px,23vh,240px)}
.answer-grid{gap:12px;align-items:stretch}
.answer{min-width:0;line-height:1.3}
.answer.text-only,.text-only .answer{min-height:84px;padding:16px}
.category-answers .answer{min-height:60px;font-size:18px;padding:12px}
.feedback{padding:12px 18px;font-size:18px}
.toggles{gap:8px 20px}
.mystery-stage{max-width:500px}
.wheel-stage{width:min(65vh,480px,100%);margin:4px auto}
.wheel-reading{min-height:0;gap:16px;padding:12px 0}
.reading{font-size:clamp(28px,3.8vw,48px)}
.discussion{font-size:20px}
.results{margin:20px auto;padding:24px}
.results h2{margin:0 0 16px}
.flip-10{grid-template-columns:repeat(5,minmax(0,1fr))}
.flip-20,.flip-30{grid-template-columns:repeat(10,minmax(0,1fr))}
.spelling-scene-row{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);max-width:960px;gap:20px}
.bakery-scene{margin:0;min-width:0;width:100%;align-self:center}
.bakery-scene canvas{width:100%;height:auto;display:block;border-radius:12px}
.bakery-scene figcaption{font-size:14px;margin-top:6px;line-height:1.35}
.spelling-clue{flex-direction:column;gap:8px}
.word-workshop .spelling-clue .picture{width:150px;height:140px;flex:0 0 auto}
.spelling-clue .definition{font-size:19px;line-height:1.4}
.word-workshop .keyboard{margin:0 auto;gap:6px}
.word-workshop .key{height:44px}
@media(max-width:700px){
 .main{padding-top:12px}.page-title{font-size:29px}.intro{font-size:16px}
 .toolbar-tools{flex-wrap:wrap}.toolbar{row-gap:6px}.mode-grid{gap:12px;margin-top:18px}
 .mode-card{padding:12px;gap:8px}.mode-card .picture{height:96px;min-height:0}
 .category .picture{height:86px}.category-grid{gap:10px;margin-top:16px}
 .activity{padding:16px;gap:12px}.session-options{padding:14px}
 .activity>.picture{height:180px}.definition,.sentence{font-size:18px;line-height:1.4}
 .answer .picture{height:100px}.answer-grid:not(.text-only):not(.category-answers){grid-template-columns:repeat(3,minmax(0,1fr))}
 .answer{padding:8px;font-size:16px;gap:6px}.text-only .answer{font-size:18px;min-height:62px;padding:12px}
 .category-answers{grid-template-columns:repeat(2,minmax(0,1fr))}.category-answers .answer{font-size:16px}
 .flip-10,.flip-20,.flip-30{grid-template-columns:repeat(4,minmax(0,1fr))}
 .spelling-scene-row{grid-template-columns:1fr;gap:10px;max-width:520px}
 .bakery-scene{max-width:430px;justify-self:center}.spelling-clue{flex-direction:row;gap:12px}
 .word-workshop .spelling-clue .picture{width:85px;height:85px;flex-basis:85px}.spelling-clue .definition{font-size:16px;text-align:left}
 .word-workshop .keyboard{grid-template-columns:repeat(7,minmax(0,1fr))}.word-workshop .letter{height:34px;font-size:23px}
 .discussion{font-size:18px}.reading{font-size:30px}.wheel-reading{min-height:0}
}
@media(max-width:390px){.answer-grid:not(.text-only):not(.category-answers){grid-template-columns:1fr}.answer-grid:not(.text-only):not(.category-answers) .answer{flex-direction:row;justify-content:flex-start}.answer .picture{width:65px;height:65px;flex:0 0 65px}.toolbar .brand{font-size:14px;padding:10px}.key{font-size:20px}}
.spelling-scene-row{max-width:850px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.mode-card,.category-grid>.category{background:#fffef8}
.mode-card:disabled{opacity:1;background:#f1eee5;color:#52616c}
@media(max-width:700px){.spelling-scene-row{grid-template-columns:1fr;max-width:520px}}
.flip-grid{max-width:1000px;gap:8px}.flip-10{max-width:620px}.flip-tile{aspect-ratio:1.1;min-height:80px}.flip-tile .picture{min-height:0}.flip-tile strong{font-size:14px;line-height:1.15}
@media(max-width:700px){.flip-tile{aspect-ratio:.85;padding:5px;min-height:88px}.flip-tile strong{font-size:12px}}
#app[data-screen="setup"][data-mode="knowledge"] .session-options{margin-top:20px}
@media(max-width:700px){.detective-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.detective-controls select{min-width:0;width:100%}.detective-controls .button{padding:10px 8px}.category .picture{height:72px}}
@media(max-width:700px){
 #app[data-screen="activity"][data-mode="identify"] .target-picture .picture{height:125px}
 #app[data-screen="activity"][data-mode="identify"] .answer .picture{height:88px}
 #app[data-mode="identify"] .toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:350px;font-size:14px}
 #app[data-mode="identify"] .toggles label{gap:6px;justify-content:center}
}
@media(max-width:390px){#app[data-screen="activity"][data-mode="identify"] .answer .picture{height:65px}#app[data-mode="identify"] .answer{min-height:84px}}
.results p{margin:0 0 16px}.results .result-stars{line-height:1.15;margin-bottom:14px}.results .button{margin:6px}
.keyboard-hint{font-size:14px;line-height:1.3;color:#486378;text-align:center}.keyboard:focus{outline:none}.keyboard:focus-visible{outline:2px dashed #164b83;outline-offset:5px;border-radius:8px}
/* Keep the kneading bench readable beside the clue. */
.spelling-scene-row{max-width:1000px;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:18px}
@media(max-width:700px){.spelling-scene-row{grid-template-columns:1fr;max-width:520px}.keyboard-hint{font-size:12px}}

/* Text over scenery needs a solid local surface, not an outline or glow. */
#app .main>.page-title,
#app .main>.intro,
#app .main>.scope,
#app .main>.notice,
#app .landing-title{
 width:fit-content;max-width:100%;background:var(--paper);color:var(--ink);
 border:1px solid #d6dfdf;border-radius:16px;text-shadow:none;
}
#app .main>.page-title{margin:0 auto 10px;padding:10px 22px;font-weight:700}
#app .main>.intro{margin:0 auto 18px;padding:10px 18px;font-weight:600}
#app .main>.scope{margin:0 auto 18px;padding:9px 18px;font-size:16px;font-weight:600}
#app .main>.notice{margin:0 auto 16px;padding:10px 18px}
#app .landing-title{padding:12px 22px;margin-bottom:12px}
#app .scope{color:var(--ink);text-shadow:none}
#app button:disabled,#app .category-count{opacity:1}
#app .keyboard-hint{font-size:14px;color:#334f64}
#app .fullscreen-message{background:var(--paper);color:var(--ink);padding:8px 12px;border-radius:10px}
@media(max-width:700px){
 #app .main>.page-title{padding:10px 16px}
 #app .main>.scope,#app .main>.intro{padding:9px 12px}
 #app .landing-title{padding:10px 16px}
}
/* Half-size plants retain their corner anchors in the shared stage. */
.scene-foreground{position:absolute;inset:0;pointer-events:none}
.scene-right-plants{position:absolute;inset:0;transform:translateX(var(--right-plants-offset,0px))}
.right-flower-offset{transform:translateX(var(--right-plants-offset,0px))}
.foreground-plant.left{clip-path:inset(0 50% 0 0);transform:scale(.5);transform-origin:bottom left}
.foreground-plant.right{clip-path:inset(0 0 0 50%);transform:translateX(-80px) scale(.5);transform-origin:bottom right}
.scene-postbox{position:absolute;width:235.662px;height:230.826px;left:925.82px;top:640.59px}
.scene-postbox-plant{position:absolute;width:81.92px;height:81.92px;left:1249.04px;top:826.18px;filter:saturate(.72) contrast(.94)}
.scene-right-gap-pot{position:absolute;width:104px;height:104px;left:1450px;top:809.93px;filter:saturate(.72) contrast(.94)}

/* At the Shops: readable paper surfaces, integer denominations, one currency. */
.shop-entry{display:flex;align-items:center;gap:24px;background:#fffef8;border:2px solid #fff;border-radius:18px;margin:0 0 24px;padding:14px 24px;box-shadow:0 5px 0 #173b5c20}
.shop-entry>img{width:112px;height:112px;object-fit:contain}.shop-entry>div{flex:1}.shop-entry h2{margin:0 0 6px;font-size:28px}.shop-entry p{margin:0;line-height:1.5}.shop-entry>.button{flex-shrink:0}
.shop-activity{width:min(100%,1120px);margin:0 auto;padding:clamp(18px,3vw,32px)!important;text-align:left}
.shop-controls{border:0;padding:0;margin:0;min-width:0;display:block;color:var(--ink)}
.shop-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.shop-introduction{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:22px}.shop-introduction h2{font-size:clamp(27px,3vw,36px);margin:6px 0 12px}.shop-introduction p{max-width:650px;line-height:1.6;margin:0}.shop-intro-art{width:145px;height:145px;object-fit:contain}
.shop-eyebrow{font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.07em;color:#326b64;margin:0 0 10px}
.shop-currency-picker{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:18px;font-weight:700;margin:0 0 24px}.shop-currency-picker select{font:inherit;color:var(--ink);background:white;min-height:48px;padding:10px 40px 10px 14px;border:2px solid #9fb9b9;border-radius:10px;max-width:100%}
.shop-task-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.shop-task{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;padding:18px;border:2px solid #c5d5d2;border-radius:14px;background:#f4f7f1;color:var(--ink);font:inherit;cursor:pointer;min-height:130px}.shop-task strong{font:700 22px Georgia,serif}.shop-task span{font-size:15px;line-height:1.5}.shop-task[aria-pressed=true]{border-color:#18766b;background:#e3f0e9;box-shadow:inset 0 0 0 1px #18766b}
.shop-money-guide{padding:20px;border:1px solid #ded8c7;border-radius:14px;background:#f8f2df;margin-bottom:22px}.shop-money-guide h3,.shop-transaction h3{margin:0 0 14px;font-size:20px}.shop-help{font-size:15px;line-height:1.6;margin:10px 0;color:#365767}.shop-help a{color:#135d65;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.shop-money-samples,.shop-wallet{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.money-choice{display:inline-flex;align-items:center;justify-content:center;padding:7px;background:white;border:2px solid #d0dcd7;border-radius:14px;cursor:pointer;font:inherit;color:var(--ink);min-width:48px;min-height:48px;box-shadow:0 3px 0 #173b5c13}.money-choice:hover:not(:disabled){border-color:#18766b}.money-choice:disabled{cursor:default;opacity:1}.money-choice.shop-correct{border-color:#18766b;background:#def0df;box-shadow:0 0 0 2px #18766b}.money-choice.shop-try-again{border-color:#b36c3a}
.money-piece{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-sizing:border-box;gap:2px;color:#332b18;background:#ead49c;flex-shrink:0;overflow:hidden;user-select:none;line-height:1.15;text-align:center}
.money-coin{width:108px;height:108px;border-radius:50%;border:5px double #8b6e2a;box-shadow:inset 0 0 0 4px #f4e3b7,0 3px 0 #97742c}
.money-note{width:164px;height:104px;border-radius:7px;border:5px double #45685e;background:#dbe7d9;color:#173e37;box-shadow:inset 0 0 0 3px #eef2e4,0 3px 0 #799488}
.money-code{font-size:12px;font-weight:800;letter-spacing:.09em}.money-value{font:900 30px Georgia,serif}.money-unit{font-size:10px;font-weight:700;max-width:94%;line-height:1.1}.money-kind{font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.shop-start{min-width:210px}.shop-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.shop-currency-badge{display:inline-block;background:#e3f0e9;padding:10px 14px;border-radius:10px;font-weight:800}.shop-round-count{font-size:16px;margin:0 0 22px;color:#365767}.shop-prompt{font-size:clamp(25px,3vw,34px);line-height:1.35;margin:20px 0}.shop-recognition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.shop-recognition-grid .money-choice{min-height:170px}
.shop-feedback{font-size:19px;font-weight:700;line-height:1.55;min-height:34px;margin:18px 0 0;color:#805126}.shop-feedback:empty{margin:0;min-height:0}.shop-feedback.shop-success{color:#126246;background:#e6f3e8;border-radius:12px;padding:14px}
.shop-counter{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.8fr);gap:28px;align-items:start}.shop-product{border:1px solid #e2d9bf;background:#faf3e0;border-radius:16px;padding:20px;text-align:center}.shop-product>.picture{height:170px;width:100%;margin:0 auto 12px}.shop-product .picture canvas{height:100%;width:100%;object-fit:contain}.shop-product h2{font-size:28px;margin:8px 0;text-transform:capitalize}.shop-price{font:bold 34px Georgia,serif;color:#135f59;background:#fffef8;border-radius:10px;display:inline-block;padding:9px 18px;margin:4px 0 16px}.shop-language{font-size:16px;line-height:1.5;margin:8px 0}.shop-merchant{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;font-size:14px;font-weight:700}.shop-merchant .picture{height:70px;width:70px;margin:0}
.shop-customer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px;background:#f0f5ec;border-radius:12px;margin-bottom:20px}.shop-customer p{flex:1;font-size:17px;line-height:1.5;margin:0}.shop-customer .money-piece{transform:scale(.8);transform-origin:center right;margin:-8px 0}
.shop-total{font-weight:800;font-size:24px;margin:18px 0 10px}.shop-money-tray{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-start;padding:14px;min-height:152px;border:2px dashed #a8bfb5;border-radius:14px;background:#f2f6ef;margin-bottom:22px}.shop-empty-tray{color:#527068;font-size:16px;padding:28px 8px}.shop-money-tray .money-on-counter{padding:4px}.shop-money-tray .money-coin{width:84px;height:84px}.shop-money-tray .money-note{width:125px;height:84px}.shop-money-tray .money-value{font-size:24px}.shop-money-tray .money-unit{font-size:9px}.shop-money-tray .money-kind{font-size:8px}
.shop-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 0}.shop-actions>.next{margin:0}.shop-results{font:bold 32px Georgia,serif;margin:20px 0}
.shop-recognition-grid .money-choice{max-width:100%}.shop-recognition-grid .money-piece{max-width:100%}
.shop-task-art{align-self:center;width:100%;height:100px;object-fit:contain;margin:0 0 4px}
.money-real-art.money-piece{border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;gap:8px;width:184px;height:auto;min-height:154px;color:var(--ink);justify-content:flex-end}
.money-real-art.money-coin{width:124px;min-height:154px}.money-real-art.money-portrait{width:134px;min-height:218px}
.money-illustration{display:block;object-fit:contain;width:100%;height:104px;max-width:100%}.money-coin .money-illustration{height:106px}.money-portrait .money-illustration{height:170px}
.money-caption{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;text-align:center}.money-caption-value{font-size:13px;font-weight:800;line-height:1.35}.money-caption-kind{font-size:11px;color:#365767;font-weight:700;line-height:1.3}.money-image-error{font-size:13px;line-height:1.4;padding:14px;color:#805126}
.shop-recognition-grid .money-real-art{min-height:160px}.shop-recognition-grid .money-portrait{min-height:218px}
.shop-money-tray .money-real-art.money-coin{width:96px;height:auto;min-height:118px}.shop-money-tray .money-real-art.money-note{width:142px;height:auto;min-height:118px}.shop-money-tray .money-real-art.money-portrait{width:100px;min-height:166px}.shop-money-tray .money-illustration{height:76px}.shop-money-tray .money-portrait .money-illustration{height:122px}.shop-money-tray .money-caption-value{font-size:11px}.shop-money-tray .money-caption-kind{font-size:10px}
.shop-customer .money-real-art{transform:none;margin:0;min-height:130px}.shop-customer .money-illustration{height:88px}
@media(max-width:600px){.shop-task-art{height:84px}.shop-task{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;column-gap:14px}.shop-task-art{grid-row:1/3;width:84px;margin:0}.shop-task strong{font-size:21px}.shop-recognition-grid .money-real-art{width:100%;min-height:156px}.shop-recognition-grid .money-real-art.money-portrait{min-height:190px}.shop-recognition-grid .money-illustration{height:88px}.shop-recognition-grid .money-portrait .money-illustration{height:140px}.shop-recognition-grid .money-caption-value{font-size:12px}}
@media(max-width:800px){.shop-counter{grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr);gap:18px}.shop-product{padding:14px}.shop-product>.picture{height:130px}.shop-recognition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-entry{gap:16px;padding:16px}.shop-entry>img{width:90px;height:90px}.shop-task{padding:14px}}
@media(max-width:600px){.shop-entry{flex-wrap:wrap}.shop-entry>div{min-width:150px}.shop-entry>.button{width:100%}.shop-intro-art{width:84px;height:84px}.shop-introduction{gap:10px;align-items:flex-start}.shop-task-options{grid-template-columns:1fr}.shop-task{min-height:0}.shop-counter{grid-template-columns:1fr}.shop-product>.picture{height:130px}.shop-product .shop-language{display:inline;font-size:14px}.shop-merchant{margin-top:12px}.shop-merchant .picture{height:48px;width:48px}.shop-money-guide{padding:14px}.shop-wallet{gap:9px}.money-coin{width:94px;height:94px}.money-note{width:140px;height:94px}.shop-recognition-grid{gap:10px}.shop-recognition-grid .money-choice{min-height:135px;padding:5px}.shop-recognition-grid .money-note{width:130px}.shop-topline>.button{font-size:14px;padding:10px}.shop-money-tray{min-height:120px;padding:10px}.shop-total{font-size:22px}.shop-actions>.button{flex:1}.shop-feedback{font-size:17px}}

/* Each denomination family owns a separate horizontal row. Full sources remain contained. */
.shop-wallet{display:block;min-width:0}.shop-denomination-row{min-width:0;margin:20px 0}.shop-denomination-row h4{font:700 19px Georgia,serif;margin:0 0 12px;color:var(--ink)}
.shop-denomination-row .shop-money-samples{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;padding:4px 4px 14px;scrollbar-width:auto;scrollbar-color:#527d75 #e5e9dd}
.shop-denomination-row .money-choice{flex:0 0 auto}.shop-counter>*{min-width:0}.shop-money-samples:focus-visible{outline:3px solid #18766b;outline-offset:3px}

.money-currency-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--paper);color:var(--ink);padding:14px 18px;border-radius:12px;font-weight:700;margin:0 0 16px}
.money-currency-filter[hidden]{display:none}.money-currency-filter select{font:inherit;color:var(--ink);background:white;border:2px solid #9fb9b9;border-radius:9px;min-height:48px;max-width:100%;padding:8px 12px}
