:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#173f43;background:#f6f3ea;font-size:20px}*{box-sizing:border-box}body{margin:0}button,a{touch-action:manipulation}button,.button{font:inherit;font-weight:650;cursor:pointer;border:2px solid #bdcfc8;border-radius:14px;background:white;color:#173f43;padding:13px 20px;min-height:52px;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#e8f1e9}button:disabled{cursor:default;opacity:.65}a{color:#175f63}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:4px solid #e69918;outline-offset:4px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 5%;background:#fff;border-bottom:1px solid #d4ddd4}.top a{text-decoration:none;font-weight:700}main{max-width:1160px;margin:auto;padding:35px 28px}h1{font-size:clamp(2rem,5vw,3.8rem);letter-spacing:-.045em;margin:10px 0}h2{font-size:1.7rem;line-height:1.2}p{line-height:1.55}.eyebrow{text-transform:uppercase;font-size:.7rem;letter-spacing:.15em;font-weight:800;color:#6a6757}.hero{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:30px}.hero-art{width:220px;height:170px;color:#b96133}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.topic{text-align:left;padding:0;overflow:hidden;background:#fff;border:1px solid #d6ddd1;border-radius:22px;box-shadow:0 5px 0 #e4e4d8}.topic .art{height:135px;display:flex;align-items:center;justify-content:center;font-size:3.6rem;background:var(--tint,#e7eddf)}.topic .art img{width:100%;height:100%;object-fit:cover}.topic .copy{padding:20px}.topic strong{display:block;font-size:1.25rem}.topic small{display:block;font-weight:400;margin-top:7px;font-size:.85rem}.tag{font-size:.7rem;color:#566d57}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.primary{background:#175e5b;color:white;border-color:#175e5b}.primary:hover{background:#124b48}.panel{background:#fff;border:1px solid #d6ddd1;border-radius:24px;padding:28px;margin:20px 0}.learning{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px}.visual{width:100%;max-height:320px;object-fit:contain;border-radius:12px}.big-symbol{font-size:6rem;text-align:center;padding:40px;background:#edf0e5;border-radius:18px}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.answer{padding:20px;text-align:center}.answer img{display:block;width:100%;height:125px;object-fit:contain;margin-bottom:12px}.correct{background:#d9edda!important;border-color:#2b784e!important}.wrong{border-color:#b75f31!important;background:#fff0dc!important}.progress{height:8px;background:#dce3d8;border-radius:8px;overflow:hidden}.progress span{display:block;height:100%;background:#27786b}#feedback{position:sticky;bottom:10px;margin:0 auto;max-width:850px;width:calc(100% - 32px);background:#173f43;color:#fff;border-radius:14px;padding:14px 22px;min-height:55px}#feedback:empty{visibility:hidden}.map-layout{display:grid;grid-template-columns:260px 1fr;gap:20px}.pieces{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}.piece{font-size:.8rem;padding:8px}.piece svg{height:65px;width:100%;display:block}.selected{outline:4px solid #cb7a25;background:#fff1d2}.map{width:100%;background:#eaf3f0;border-radius:20px}.region{fill:#d9e0d7;stroke:white;stroke-width:2;cursor:pointer}.region.placed{fill:var(--fill)}.map text{pointer-events:none;font:16px system-ui;fill:#173f43;font-weight:700;paint-order:stroke;stroke:#fff;stroke-width:3px}.city{cursor:pointer;fill:#fff;stroke:#175e5b;stroke-width:3}.city.placed{fill:#e1a042}.note{font-size:.85rem;color:#53645d}.flag-parts{display:flex;gap:10px;flex-wrap:wrap}.swatch{display:inline-block;width:24px;height:24px;border:1px solid #777;vertical-align:middle;border-radius:50%;margin-right:8px}.step{text-align:center;color:#59675b;font-size:.85rem}footer{max-width:1100px;margin:35px auto;padding:20px;font-size:.8rem}summary{cursor:pointer;font-weight:700;min-height:44px}footer p{max-width:850px}.finish{text-align:center}.finish .big-symbol{background:transparent}.scene{width:100%;border-radius:18px} @media(max-width:760px){.grid{grid-template-columns:repeat(2,1fr)}.hero-art{display:none}.learning,.map-layout{grid-template-columns:1fr}.pieces{grid-template-columns:repeat(4,1fr)}main{padding:22px 16px}.panel{padding:18px}.top{font-size:.8rem}.top button{font-size:.75rem;padding:8px}.answers{grid-template-columns:1fr 1fr}}@media(max-width:420px){.grid{gap:10px}.topic .copy{padding:14px}.topic strong{font-size:1.05rem}.pieces{grid-template-columns:repeat(2,1fr)}.answers{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
/* Map: one piece, one action, one screen. */
body.map-mode{height:100vh;height:100dvh;overflow:hidden}
.map-mode>.top,.map-mode>footer{display:none}
.map-mode main{height:100%;width:100%;max-width:1500px;padding:12px 24px 48px}
.map-screen{height:100%;display:flex;flex-direction:column;gap:12px}
.map-bar{display:flex;align-items:center;gap:16px;flex-shrink:0}
.map-bar h1{font-size:clamp(1.25rem,3vw,2rem);margin:0;letter-spacing:-.025em}
.map-bar button{min-width:48px;min-height:48px;padding:7px 14px}
.map-tools{display:flex;gap:8px;margin-left:auto}
.smartboard-quiz{background:#175e5b;color:#fff;border-color:#175e5b;text-align:center}
.smartboard-quiz:hover{background:#124b48;color:#fff}
.map-tools .smartboard-quiz{min-height:44px;padding:7px 12px;font-size:.9rem;align-self:center}
.australia-menu .menu-heading .smartboard-quiz{margin-left:auto}
.australia-quiz-setup{width:min(620px,94vw);max-height:90dvh;overflow:auto;border:3px solid #175e5b;border-radius:20px;padding:24px;background:#fff;color:#173f43}
.australia-quiz-setup::backdrop{background:#173f4399}
.australia-quiz-setup header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.australia-quiz-setup h2{margin:0;font-size:1.5rem}
.australia-quiz-setup fieldset{margin:20px 0;padding:14px;border:1px solid #bdcfc8;border-radius:12px}
.australia-quiz-setup legend{font-weight:700}
.australia-quiz-setup fieldset label{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}
.australia-quiz-setup input[type=checkbox]{width:24px;height:24px;accent-color:#175e5b}
.quiz-count-label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:700}
.quiz-count-label input{width:100px;padding:10px;border:2px solid #8ca699;border-radius:10px;font:inherit}
.australia-quiz-setup [data-setup-error]{color:#a23822}
.australia-quiz-setup .toolbar{justify-content:flex-end}
.map-tools button{font-size:1rem}
.map-tools #hint{font-size:.85rem}
.map-tools #hint[aria-pressed=true]{background:#fff0cb;border-color:#b77c25}
.map-workspace{display:grid;grid-template-columns:minmax(170px,24%) minmax(0,1fr);gap:24px;flex:1;min-height:0}
.map-tray{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;min-height:0}
.map-mode .active-piece{width:100%;max-width:280px;min-height:0;padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:clamp(.9rem,1.7vw,1.25rem);line-height:1.2;border:3px solid #b3c3af;border-radius:22px;background:#fff;box-shadow:0 6px 0 #dce1d4}
.map-mode .active-piece svg{height:clamp(70px,24vh,220px);width:100%;overflow:visible}
.map-mode .active-piece.selected{background:#fff4d7;border-color:#bb7c26;outline:0;box-shadow:0 0 0 4px #f3daa1}
.piece-cue{font-size:1.7rem;line-height:1}
.map-board{min-width:0;min-height:0;background:#eaf3f0;border-radius:24px;display:flex;align-items:center;justify-content:center}
.map-mode .map{height:100%;width:100%;max-height:100%;display:block;overflow:visible}
.map-mode .region{fill:#c9d6cd;stroke:#fff;stroke-width:2}
.map-mode .region.placed{fill:var(--fill)}
.map-mode .region.demo-target{stroke:#b97c26;stroke-width:4;stroke-dasharray:8 5;fill:#ede4c9}
.map-mode .city.demo-target{stroke:#b97c26;stroke-width:5;fill:#ffdea0}
.map-mode .map text{font-size:17px}
.map-dots{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.map-dots span{height:19px;width:19px;border:2px solid #8ca699;border-radius:50%;display:grid;place-items:center;color:white;font-size:12px;font-weight:800}
.map-dots .filled{background:#28765d;border-color:#28765d}
.map-mode #feedback{position:fixed;bottom:5px;left:50%;transform:translateX(-50%);min-height:32px;padding:4px 12px;width:max-content;max-width:90%;font-size:.9rem;line-height:1.3;text-align:center;background:transparent;color:#175e5b;pointer-events:none}
.map-mode .active-piece .city-photo{display:block;width:100%;height:clamp(90px,24vh,220px);object-fit:cover;border-radius:12px}
.placed-city-photo{pointer-events:none}
.map-mode .active-piece{touch-action:none;user-select:none;cursor:grab}
.map-mode .active-piece:hover{border-color:#28765d;background:#edf7ef;box-shadow:0 6px 0 #c5d6c8}
.map-mode .active-piece.dragging{opacity:.45;cursor:grabbing}
.map-mode .map [data-target]:hover,.map-mode .map [data-target].drop-hover{fill:#fff0b8;stroke:#b77c25;stroke-width:5;filter:drop-shadow(0 0 4px #b77c2566)}
.map-mode .map .city.drop-hover,.map-mode .map .city:hover{stroke-width:6;fill:#ffe197}
.map-mode .map [data-target]{pointer-events:all}
.map-dragging,.map-dragging *{cursor:grabbing!important}
.map-drag-preview{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-65%);display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;min-height:0;border:3px solid #28765d;border-radius:16px;background:#fff;box-shadow:0 10px 28px #173f4340;color:#173f43;font:700 1rem system-ui}
.map-drag-preview svg,.map-drag-preview .city-photo{display:block;width:100%;height:100px;object-fit:cover;border-radius:8px}
.map-mode .active-piece.dragging.drop-ready{opacity:.85;background:#e2f5e7;border-color:#187044;box-shadow:0 0 0 5px #91d9a5}
.map-drag-preview.drop-ready{background:#e2f5e7;border-color:#187044;outline:4px solid #91d9a5;outline-offset:3px;box-shadow:0 12px 30px #173f4360;transform:translate(-50%,-65%) scale(1.06)}
@media(prefers-reduced-motion:no-preference){.map-drag-preview{transition:background .12s,border-color .12s,box-shadow .12s,transform .12s}}
@media(prefers-reduced-motion:no-preference){.map-mode .active-piece{transition:background .12s,border-color .12s,box-shadow .12s,opacity .12s}.map-mode .map [data-target]{transition:fill .1s,stroke .1s,stroke-width .1s}}
.map-success{font-size:5rem;color:#28765d}
.map-guide{position:fixed;left:0;top:0;width:48px;height:60px;z-index:20;pointer-events:none;transform-origin:16px 4px;filter:drop-shadow(0 3px 3px #0003)}
.map-guide svg{width:48px;height:60px}
.demo-ring{position:absolute;top:-13px;left:1px;width:30px;height:30px;border:3px solid #c58a26;border-radius:50%;background:#fff3ba88}
@media(prefers-reduced-motion:no-preference){.demo-target{animation:map-glow 2.1s ease-in-out infinite}.nudge{animation:map-nudge .4s ease-in-out}.map-success{animation:map-pop .5s ease-out}@keyframes map-glow{50%{stroke-width:7;filter:brightness(1.08)}}@keyframes map-nudge{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes map-pop{from{transform:scale(.6)}to{transform:scale(1)}}}
@media(max-width:600px) and (orientation:portrait){
 .map-mode main{padding:8px 10px 38px}.map-screen{gap:8px}.map-bar{gap:8px}.map-bar h1{font-size:1.15rem}.map-bar button{padding:7px 10px;min-width:44px;min-height:44px}.map-tools{gap:5px}.map-tools #hint span{display:none}
 .map-workspace{display:flex;flex-direction:column-reverse;gap:12px}.map-board{flex:1;min-height:0;border-radius:18px}.map-tray{flex:none;gap:12px;width:100%}
 .map-mode .active-piece{display:grid;grid-template-columns:80px 1fr 28px;gap:12px;width:100%;max-width:100%;padding:10px 15px;min-height:94px;font-size:1rem;text-align:left;border-radius:18px}.map-mode .active-piece svg{height:75px}.piece-cue{font-size:1.5rem}.map-mode .active-piece .city-photo{width:80px;height:70px;border-radius:8px}.map-dots span{width:15px;height:15px;font-size:10px}.map-success{font-size:2rem}.map-tray:has(.map-success){flex-direction:row;flex-wrap:wrap;gap:12px}.map-mode .map text{font-size:20px}
}
@media(max-height:500px) and (orientation:landscape){.map-mode main{padding:6px 14px 30px}.map-screen{gap:4px}.map-bar button{min-height:42px;padding:5px 10px}.map-workspace{gap:12px;grid-template-columns:190px 1fr}.map-tray{gap:12px}.map-mode .active-piece{padding:10px;gap:6px;font-size:.85rem}.map-mode .active-piece svg{height:70px}.map-mode .active-piece .city-photo{height:70px}.piece-cue{font-size:1.2rem}.map-dots{gap:5px}.map-dots span{height:15px;width:15px}}
.map-finish{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.map-finish h1{font-size:clamp(2rem,6vw,4rem)}.map-finish .toolbar{justify-content:center}
@media(prefers-reduced-motion:no-preference){
 .map-to-cities .map-tray{animation:map-tray-out 1.2s ease-in forwards}
 .map-cities-enter .map-tray{animation:map-tray-in .45s ease-out}
 .map-cities-enter .city{animation:map-dots-in .6s ease-out}
 @keyframes map-tray-out{0%,65%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-12px)}}
 @keyframes map-tray-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
 @keyframes map-dots-in{from{opacity:0}to{opacity:1}}
}
/* Match the central Numbers and Time completion control. */
.map-completion{position:fixed;inset:0;margin:auto;border:0;padding:12px;background:transparent;max-width:100vw;max-height:100dvh;overflow:visible}
.map-completion::backdrop{background:rgba(24,35,52,.7)}
.finish-choice-card{width:min(560px,90vw);padding:clamp(24px,5vw,48px);border:4px solid #173f43;border-radius:24px;background:white;text-align:center;box-shadow:8px 8px 0 #0004}
.finish-choice-tick{display:block;color:#28765d;font-size:4rem;line-height:1}
.finish-choice-card h2{margin:16px 0 28px}
.finish-choice-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.finish-choice-actions button{flex:1 1 180px;min-height:72px;font-size:1.15rem}
.finish-choice-actions button:hover{outline:4px solid #e69918;outline-offset:3px}
.map-finish-card{display:grid;place-items:center;width:min(430px,80vw);height:min(330px,60dvh);padding:20px;border:4px solid #173f43;border-radius:18px;background:#fff;box-shadow:10px 10px 0 rgba(0,0,0,.25);cursor:pointer}
.map-finish-card:hover,.map-finish-card:focus-visible{background:#fff;outline:8px solid #f6d84a;outline-offset:5px}
.map-finish-tick{display:grid;place-items:center;width:min(190px,42vw,40dvh);height:min(190px,42vw,40dvh);border-radius:50%;background:#42ed68;color:#fff;font:900 min(9rem,32vw,30dvh)/1 Arial,sans-serif;box-shadow:0 10px 0 #269d49,0 14px 25px rgba(0,0,0,.22)}
@media(prefers-reduced-motion:no-preference){.map-finish-tick{animation:map-finish-pop .55s cubic-bezier(.2,1.5,.5,1)}@keyframes map-finish-pop{from{transform:scale(.2) rotate(-15deg)}to{transform:scale(1) rotate(0)}}}
/* A quiet sea background, kept still so the puzzle remains the focus. */
body.map-mode{
 background-color:#b8e2e9;
 background-image:
  repeating-radial-gradient(ellipse at 8% 18%,transparent 0 42px,rgba(255,255,255,.15) 44px 46px,transparent 49px 94px),
  radial-gradient(ellipse at 85% 90%,rgba(36,133,161,.2),transparent 65%),
  linear-gradient(150deg,#def3f1 0%,#b9e2e9 48%,#8fc9db 100%);
}
.map-mode .map-board,.map-mode .map{background:transparent}
.map-mode .map-board{border:1px solid rgba(255,255,255,.5);background:rgba(235,251,255,.25)}
.map-mode .map-bar button{background:rgba(255,255,255,.94)}
.map-mode .map-dots span:not(.filled){background:rgba(255,255,255,.55)}
/* Flags: one spoken question and large picture choices, with no reading passage. */
body.flags-mode{height:100vh;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 90% 0,#e7edf6,transparent 70%),#f3f4e9}
.flags-mode>.top,.flags-mode>footer{display:none}
.flags-mode main{height:100%;width:100%;max-width:1400px;padding:12px 24px 36px}
.flags-screen{height:100%;display:flex;flex-direction:column;gap:12px;min-height:0}
.flag-stages{display:flex;justify-content:center;gap:25px;flex:none;font-size:1.15rem;color:#7b8781}
.flag-stages span{width:40px;height:35px;text-align:center;border-bottom:3px solid transparent}
.flag-stages .active{color:#175e5b;border-color:#175e5b}
.flag-prompt{display:flex;gap:15px;align-items:center;justify-content:center;flex:none;min-height:40px}
.flag-prompt h2{font-size:clamp(1.15rem,3vw,2rem);margin:0;text-align:center;max-width:95%;line-height:1.15}
.colour-disc{display:block;width:44px;height:44px;border:2px solid #63716e;border-radius:50%;flex:none;box-shadow:0 2px 3px #0002}
.flag-reference{flex:1;min-height:0;display:flex;justify-content:center;align-items:center}
.flag-reference img{height:100%;max-height:230px;width:100%;max-width:480px;object-fit:contain}
.flag-choices{display:grid;grid-template-columns:repeat(var(--choices),minmax(0,1fr));gap:22px;flex:1.25;min-height:0;align-items:stretch;max-height:260px;width:100%;margin:auto}
.flag-choices.identity-choices{flex:1;max-height:420px;align-items:center}
.flag-choice{position:relative;min-width:0;min-height:0;height:100%;padding:22px;border:3px solid #c3cec8;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#fff;box-shadow:0 5px 0 #d8dfd9}
.identity-choices .flag-choice{height:75%;min-height:120px}
.flag-choice img,.flag-choice svg{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.flag-choice:disabled{opacity:1}
.flag-choice.correct{border-color:#28765d;box-shadow:0 0 0 3px #7ab08d}
.flag-choice .answer-mark{position:absolute;right:9px;bottom:5px;font-size:1.3rem;color:#175e5b}
.meaning-icon{font-size:clamp(2rem,7vw,5rem);line-height:1.1}
.meaning-label{font-size:clamp(.85rem,1.7vw,1.2rem);line-height:1.2;text-align:center}
.flag-dots{flex:none;padding-top:5px}
.flags-mode #feedback{position:fixed;bottom:2px;left:50%;transform:translateX(-50%);width:max-content;min-height:25px;padding:0 10px;font-size:1rem;line-height:1.3;background:transparent;color:#175e5b;pointer-events:none}
.flag-help-card{flex:1.25;min-height:0;display:flex;align-items:center;justify-content:center;gap:20px;border-radius:22px;background:#fff4d6;padding:18px}
.flag-help-picture{width:40%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.flag-help-picture img,.flag-help-picture svg{height:100%;width:100%;object-fit:contain}
.flag-help-card>strong{font-size:1.2rem;max-width:30%}.flag-help-card .meaning-label{display:none}
@media(max-width:600px) and (orientation:portrait){
 .flags-mode main{padding:8px 10px 30px}.flags-screen{gap:9px}.flag-stages{gap:18px;font-size:1rem}.flag-stages span{height:27px}.flag-prompt{min-height:35px}.flag-prompt h2{font-size:1.2rem}.colour-disc{height:34px;width:34px}
 .flag-choices{gap:8px;max-height:190px}.flag-choice{padding:9px 6px;border-radius:14px;border-width:2px;gap:8px}.meaning-label{font-size:.75rem}.meaning-icon{font-size:2.4rem}
 .flag-choices.identity-choices{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));max-height:none;gap:12px;align-items:stretch}.identity-choices .flag-choice{height:100%;min-height:0;padding:10px 20px}.identity-choices .flag-choice img{max-height:140px}
 .flag-reference img{max-height:170px}.flag-help-card{padding:10px;gap:10px}.flag-help-card>strong{font-size:.9rem}.flag-help-card button{padding:8px;min-width:44px}
}
@media(max-height:500px) and (orientation:landscape){
 .flags-mode main{padding:6px 14px 25px}.flags-screen{gap:4px}.flag-stages{position:absolute;top:10px;left:40%;gap:10px}.flag-prompt h2{font-size:1.15rem}.flag-reference img{max-height:85px}.flag-choices{gap:12px}.flag-choice{padding:8px;gap:5px;border-radius:12px}.meaning-icon{font-size:2rem}.meaning-label{font-size:.8rem}.flag-dots span{width:12px;height:12px;font-size:9px}.colour-disc{height:28px;width:28px}.identity-choices .flag-choice{min-height:80px}
}
@media(prefers-reduced-motion:no-preference){.flag-choices{animation:map-tray-in .25s ease-out}}
.flag-choice svg,.flag-help-picture svg{max-height:180px}
/* Tap the actual flag parts; no visible answer regions until feedback/help. */
.flag-touch-area{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px 0;container-type:size}
.flag-touch-image{position:relative;width:min(100%,960px);flex:none;line-height:0}
.flag-touch-image img{display:block;width:100%;height:auto}
@supports(width:1cqh){.flag-touch-0{width:min(100%,960px,calc((100cqh - 32px)*400/206))}.flag-touch-2{width:min(100%,800px,calc((100cqh - 32px)*400/266))}}
.flag-hotspot{position:absolute;min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1}
.flag-hotspot:hover,.flag-hotspot:disabled{background:transparent;opacity:1}
.flag-hotspot:focus-visible{outline:4px solid #f6d84a;outline-offset:-4px;z-index:3}
.flag-hotspot.correct,.flag-hotspot.help-highlight{background:rgba(255,232,120,.16)!important;box-shadow:inset 0 0 0 4px #f6d84a}
.flag-hotspot.wrong{background:rgba(255,210,180,.15)!important;box-shadow:inset 0 0 0 3px #e49266}
.flag-hotspot .answer-mark{position:absolute;right:8px;bottom:6px;font-size:clamp(1.2rem,3vw,2rem);line-height:1;color:#fff;text-shadow:0 2px 5px #000}
.hotspot-union{left:0;top:0;width:51%;height:50%}
.hotspot-commonwealth{left:0;top:50%;width:51%;height:50%}
.hotspot-cross{left:51%;top:0;width:49%;height:100%}
.hotspot-dhari{left:31%;top:22%;width:38%;height:56%}
.hotspot-islandStar{left:42%;top:41%;width:16%;height:24%}
.flag-part-return{align-self:center;min-width:70px}
@media(max-width:600px){.flag-touch-area{padding:8px 0}.flag-hotspot .answer-mark{right:3px;bottom:3px}}
/* Large flags with colour cues on the answer buttons. */

.flag-colour-mode .flag-reference{flex:2.2}
.flag-colour-mode .flag-reference img{max-height:none;max-width:850px;filter:drop-shadow(0 0 2px rgba(255,255,255,.65)) drop-shadow(0 4px 8px rgba(0,0,0,.18))}
.flag-colour-mode .flag-choices,.flag-colour-mode .flag-help-card{flex:1;max-height:210px}






.flag-colour-mode .flag-help-card{color:#173f43}
@media(max-width:600px) and (orientation:portrait){.flag-colour-mode .flag-choices,.flag-colour-mode .flag-help-card{max-height:150px}.flag-colour-mode .flag-reference img{max-width:100%}}
@media(max-height:500px) and (orientation:landscape){.flag-colour-mode .flag-reference{flex:1.5}.flag-colour-mode .flag-choices,.flag-colour-mode .flag-help-card{max-height:105px}}
/* Vector artwork uses the flags' native proportions. */
@supports(width:1cqh){.flag-touch-0,.flag-touch-2{width:min(100%,960px,calc((100cqh - 32px)*2))}}
.hotspot-union,.hotspot-commonwealth{width:50%}
.hotspot-cross{left:50%;width:50%}
/* A still coastal scene adds interest without competing with the task. */
body.flags-mode{background:#d9ece8 url('assets/flags-landscape.svg') center/cover no-repeat;color:#173f43}
.flags-mode .map-bar button{background:rgba(255,255,255,.94)}
.flags-mode .flag-stages{color:#4d6867}
.flags-mode .flag-dots span:not(.filled){background:#ffffffa6}
.flag-colour-mode .flag-choice,
.flag-colour-mode .flag-choice:hover,
.flag-colour-mode .flag-choice.correct,
.flag-colour-mode .flag-choice.wrong{background:var(--question-colour)!important;color:var(--question-ink);border-color:#69847f}
.flag-colour-mode .flag-choice.correct{border-color:#257344;box-shadow:0 0 0 4px #a8e9b6}
.flag-colour-mode .flag-choice.wrong{border-color:#b85a2a;box-shadow:0 0 0 3px #ffd69b}
.flag-colour-mode .meaning-icon{display:grid;place-items:center;border-radius:50%;background:#fff;padding:.15em;width:1.5em;height:1.5em;flex:none;box-shadow:0 2px 5px #0002}
.flag-colour-mode .flag-choice .answer-mark{color:var(--question-ink)}
/* Tactile hover and press feedback for visible Flags controls. */
.flags-mode button:not(.flag-hotspot):not(:disabled){
 transition:transform 140ms ease,box-shadow 140ms ease;
 -webkit-tap-highlight-color:transparent;
}
@media(hover:hover) and (pointer:fine){
 .flags-mode button:not(.flag-hotspot):not(:disabled):hover{
  transform:translateY(-3px);
  box-shadow:0 7px 0 rgba(23,63,67,.22),0 11px 18px rgba(23,63,67,.16),inset 0 0 0 2px rgba(255,255,255,.45);
 }
}
.flags-mode button:not(.flag-hotspot):not(:disabled):active{
 transform:translateY(3px) scale(.985);
 box-shadow:0 1px 0 rgba(23,63,67,.2),inset 0 3px 8px rgba(0,0,0,.25);
 transition-duration:60ms;
}
@media(prefers-reduced-motion:reduce){
 .flags-mode button:not(.flag-hotspot):not(:disabled){transition:none}
 .flags-mode button:not(.flag-hotspot):not(:disabled):hover,
 .flags-mode button:not(.flag-hotspot):not(:disabled):active{transform:none}
}
/* Show the flag region under the pointer without revealing the answer. */
@media(hover:hover) and (pointer:fine){
 .flags-mode .flag-hotspot:not(:disabled):hover{
  background:rgba(255,255,255,.18);
  box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 6px rgba(23,63,67,.65);
  cursor:pointer;
 }
}
.flags-mode .flag-hotspot:not(:disabled):active{
 background:rgba(255,255,255,.28);
 box-shadow:inset 0 0 0 5px #fff,inset 0 0 14px rgba(0,0,0,.3);
}
/* Connect the flag symbol with a photograph during the spoken explanation. */
.flag-explanation{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 0}
.flag-explanation-symbol{width:22%;max-width:220px;flex:none}
.flag-explanation-symbol svg{display:block;width:100%;max-height:280px}
.flag-picture-link{font-size:2.5rem;color:#355e5e}
.flag-explanation figure{margin:0;min-width:0;min-height:0;height:100%;max-width:850px;display:flex;flex-direction:column;justify-content:center;gap:6px}
.flag-explanation figure img{display:block;width:100%;height:calc(100% - 30px);min-height:0;object-fit:contain}
.flag-explanation figcaption{text-align:center;font-size:.7rem;line-height:1.3;flex:none}
.flag-explanation figcaption a{color:#173f43;background:#ffffffe6;padding:2px 6px;border-radius:4px}
@media(max-width:600px) and (orientation:portrait){.flag-explanation{flex-direction:column;gap:8px}.flag-explanation-symbol{height:22%;width:100%}.flag-explanation-symbol svg{height:100%}.flag-picture-link{display:none}.flag-explanation figure{flex:1;width:100%;height:auto}.flag-explanation figure img{flex:1;height:0;min-height:0}.flag-explanation figcaption{font-size:.6rem}}
@media(prefers-reduced-motion:no-preference){.flag-explanation{animation:map-tray-in .3s ease-out}}
@media(max-width:600px) and (orientation:portrait){.flags-mode .map-bar{gap:8px}.flags-mode .map-bar h1{font-size:1.35rem}.flags-mode .map-tools{gap:4px}.flags-mode .map-tools button{min-width:36px;padding:6px}}
.flags-mode #flag-audio[aria-pressed="true"]{background:#f7dfc7;box-shadow:inset 0 0 0 2px #9b673d}
.flags-mode #flag-next[hidden],.flags-mode #discovery-continue[hidden]{display:none}
.flags-mode #flag-next,.flags-mode #discovery-continue{min-width:100px;min-height:52px;background:#175e5b;color:#fff;border-color:#175e5b}
.flags-mode #flag-next:hover,.flags-mode #discovery-continue:hover{background:#124b48}
/* History and Symbols: one picture at a time, then visual matching. */
.discovery-screen{align-items:stretch}.discovery-art{flex:1;min-height:0;display:flex;justify-content:center}.discovery-art img{width:100%;height:100%;object-fit:contain;max-width:850px}.discovery-caption{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.discovery-caption strong{font-size:clamp(1.3rem,3vw,2rem)}.discovery-caption .discovery-year{font-size:clamp(2rem,5vw,3.5rem);line-height:1.1}.discovery-caption span{font-size:.95rem}.discovery-navigation{display:flex;justify-content:center;gap:35px}.discovery-navigation button{min-width:80px;font-size:1.6rem;padding:6px 20px}.anthem-link{align-self:center;background:white;border-radius:12px;padding:8px 18px;color:#173f43}.discovery-choices{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:16px}.discovery-choices button{position:relative;min-height:0;padding:12px;background:white;border:3px solid #b4c4bc;border-radius:22px;display:flex;align-items:center;justify-content:center}.discovery-choices img{width:100%;height:100%;object-fit:contain}.discovery-choices .answer-mark{position:absolute;right:14px;bottom:8px;font-size:2rem}.discovery-choices .correct{border-color:#397c50;background:#d6eedb}.discovery-choices .wrong{border-color:#ba7646}.discovery-choices.date-choices{flex:none;height:95px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.date-choices strong{font-size:clamp(1.6rem,4vw,3rem)}.discovery-help{align-self:center;min-width:65px}.discovery-reveal{grid-column:1/-1;grid-row:1/-1;min-height:0;display:flex;align-items:center;justify-content:center;gap:20px}.discovery-reveal img{max-width:65%;height:100%}.discovery-reveal strong{font-size:1.8rem}.discovery-mode .map-dots{flex:none}.discovery-mode [aria-pressed="true"]{background:#f7dfc7!important}
@media(max-width:600px){.discovery-choices{gap:8px}.discovery-choices button{padding:5px;border-radius:14px}.discovery-choices.date-choices{height:70px}.discovery-caption span{font-size:.8rem}.discovery-reveal strong{font-size:1.1rem}.discovery-screen{gap:7px}}
@media(max-height:500px) and (orientation:landscape){.discovery-caption .discovery-year{font-size:1.5rem}.discovery-caption strong{font-size:1rem}.discovery-navigation button{font-size:1rem;min-height:35px}.discovery-choices.date-choices{height:55px}.discovery-screen{gap:4px}}
.discovery-photo-note{text-align:center;color:#385958;font-size:.75rem;flex:none}.discovery-art img,.discovery-choices img{border-radius:12px}
.discovery-choices.symbol-choices button{flex-direction:column;gap:8px;overflow:hidden}.symbol-choices img{flex:1;min-height:0;max-height:calc(100% - 38px);object-fit:contain}.symbol-choices strong{flex:none;font-size:clamp(1rem,2.5vw,1.45rem);line-height:1.1;text-align:center}.symbol-colour-pair{display:flex;flex:1;min-height:0;width:min(75%,260px);border:2px solid #9aa9a4;border-radius:16px;overflow:hidden;box-shadow:0 3px 8px #173f4326}.symbol-colour-pair::before,.symbol-colour-pair::after{content:"";width:50%}.symbol-colour-pair::before{background:var(--colour-one)}.symbol-colour-pair::after{background:var(--colour-two)}.symbol-song-note{flex:1;min-height:0;display:grid;place-items:center;color:#356d69;font-size:clamp(3rem,9vh,6rem);line-height:1}.symbol-choices button:hover{background:#edf5ee;border-color:#53836d;box-shadow:0 6px 0 #8ba99b}.symbol-choices button:active{transform:translateY(4px);box-shadow:0 2px 0 #8ba99b}
@media(max-width:600px){.discovery-choices.symbol-choices button{gap:4px}.symbol-choices strong{font-size:clamp(.8rem,3.5vw,1rem)}.symbol-colour-pair{width:85%}}
.symbol-song-card{position:relative;min-height:0}.symbol-choices .symbol-song-card>[data-discovery-answer]{width:100%;height:100%}.symbol-choices .symbol-play{position:absolute;top:12px;right:12px;z-index:1;display:block;min-height:44px;padding:6px 12px;border:2px solid #53836d;border-radius:12px;background:#e7f0e8;color:#173f43;font-size:.9rem;box-shadow:0 3px 0 #a6bdb0}.symbol-choices .symbol-play:hover{background:#d2e6d6;transform:translateY(-2px)}.symbol-choices .symbol-play:active{transform:translateY(2px);box-shadow:0 1px 0 #a6bdb0}.symbol-choices .symbol-play.playing{background:#d3e7dc;border-color:#276954}.symbol-choices .symbol-play:disabled{opacity:.48}
@media(max-width:600px){.symbol-choices .symbol-play{top:6px;right:6px;min-height:36px;padding:3px 7px;font-size:.72rem}.symbol-choices .symbol-song-note{font-size:2.8rem}}
.anthem-learning{flex:1;min-height:0;display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,2fr);gap:18px;align-items:stretch}.anthem-learning-picture,.anthem-lyrics{border:2px solid #b5c7c3;border-radius:20px;background:#ffffffdf;min-height:0}.anthem-learning-picture{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center}.anthem-learning-picture img{width:100%;max-height:45%;object-fit:contain;border-radius:12px}.anthem-learning-picture strong{font-size:clamp(1.1rem,2.4vw,1.6rem)}.anthem-learning-picture button{min-width:160px;background:#d9eee2;border-color:#5c9076}.anthem-learning-picture button:hover{background:#c5e3d1}.anthem-learning-picture button.playing{background:#b9deca}.anthem-learning-picture a{font-size:.85rem}.anthem-lyrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;overflow:auto}.anthem-verse{position:relative;padding-top:25px;text-align:center}.anthem-verse-number{position:absolute;top:0;left:0;width:23px;height:23px;border-radius:50%;background:#dcebe2;color:#173f43;font-size:.7rem;font-weight:800;line-height:23px}.anthem-verse p{font-size:clamp(.75rem,1.55vw,1rem);line-height:1.35;margin:0 0 .22em}
@media(max-width:760px){.anthem-learning{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px}.anthem-learning-picture{display:grid;grid-template-columns:70px 1fr auto;gap:8px;padding:6px 10px}.anthem-learning-picture img{width:70px;max-height:60px}.anthem-learning-picture strong{font-size:.95rem}.anthem-learning-picture button{min-width:0;padding:6px;font-size:.78rem}.anthem-learning-picture a{grid-column:2/-1;font-size:.7rem}.anthem-lyrics{padding:10px;gap:10px}.anthem-verse p{font-size:clamp(.72rem,2.3vw,.9rem)}}
@media(max-width:520px){.anthem-lyrics{grid-template-columns:1fr}.anthem-learning-picture{grid-template-columns:50px 1fr auto}.anthem-learning-picture img{width:50px}.anthem-learning-picture a{display:none}}
.anthem-lyrics{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;text-align:center}.anthem-lyrics p{font-size:clamp(1rem,2.05vw,1.45rem);line-height:1.28;margin:0 0 .25em}
@media(max-width:760px){.anthem-lyrics p{font-size:clamp(.82rem,2.9vw,1.05rem)}}
.places-quiz{max-width:900px;margin:16px auto}.places-quiz h2{text-align:center;margin:0 0 12px}.places-quiz #listen-question{display:block;margin:0 auto 12px}.places-quiz-photo{height:220px;display:flex;justify-content:center}.places-quiz-photo img{height:100%;width:100%;max-height:none;object-fit:contain}.places-quiz .answers{margin:12px 0 0}.places-quiz .answer{min-height:64px;font-size:clamp(1rem,2.5vw,1.35rem)}
@media(max-width:600px){.places-quiz{padding:14px}.places-quiz-photo{height:180px}.places-quiz .answer{padding:8px;min-height:58px}}
/* Keep each Places photo and its four location choices in one view. */
body.places-mode{height:100vh;height:100dvh;overflow:hidden;background:linear-gradient(180deg,#f1f7f0b8 0%,#f4f8ed91 58%,#f2efe579 100%),url('assets/flags-landscape.svg') center/cover no-repeat}
.places-mode>.top,.places-mode>footer{display:none}
.places-mode main{height:100%;max-width:1400px;padding:10px 24px 16px;display:flex;flex-direction:column;gap:5px}
.places-mode main{position:relative}
.places-mode .lesson-test{position:absolute;top:10px;right:24px;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:5px 14px;background:#e8f1e9;border-color:#7da695;box-shadow:0 3px 0 #acc7b9}
.places-mode main>.smartboard-quiz{position:absolute;top:10px;right:140px;width:auto;min-height:42px;padding:5px 14px;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center}
.places-mode main:has(>.smartboard-quiz)>[data-home]{max-width:calc(100% - 230px)}
@media(max-width:600px) and (orientation:portrait){.places-mode main>.smartboard-quiz{top:6px;right:112px;min-height:34px;padding:2px 10px;font-size:.8rem}.places-mode .lesson-test{top:6px;right:10px;min-height:34px;padding:2px 10px;font-size:.8rem}.places-mode main:has(>.smartboard-quiz)>[data-home]{max-width:calc(100% - 180px)}}
.places-mode .lesson-test:hover{background:#d4e9dc;transform:translateY(-2px)}
.places-mode .lesson-test:active{transform:translateY(2px);box-shadow:0 1px 0 #acc7b9}
.lesson-test-icon{width:25px;height:25px;flex:none}
.places-mode .lesson-nav button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:128px;font-weight:800}
.lesson-nav-icon{width:27px;height:27px;flex:none}
.places-mode main>[data-home]{align-self:flex-start;min-height:42px;padding:5px 12px;font-size:.8rem}
.places-mode main>h1{font-size:clamp(1.6rem,3vw,2.25rem);line-height:1;margin:0;text-align:center}
.places-mode main>p{margin:0;text-align:center;font-size:.8rem;line-height:1.2}
.places-mode .step{flex:none;font-size:.7rem}
.places-mode .places-learning{flex:1;min-height:0;margin:5px 0;padding:12px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px}
.places-mode .places-learning>div:first-child{height:100%;min-height:0}
.places-mode .places-learning .visual{width:100%;height:100%;max-height:none;object-fit:contain}
.places-mode .places-learning>div:last-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.places-mode .places-learning h2{margin:0 0 12px;font-size:clamp(1.4rem,3vw,2rem)}
.places-mode .places-learning p{margin:0 0 20px;font-size:clamp(1rem,2vw,1.35rem)}
.places-mode main>.toolbar{justify-content:center;margin:5px 0 0;flex:none}
.places-mode .places-quiz{flex:1;min-height:0;width:100%;margin:4px auto;padding:12px;display:flex;flex-direction:column}
.places-mode .places-quiz h2{font-size:clamp(1.3rem,2.7vw,2rem);margin:0 0 4px}
.places-mode .places-quiz #listen-question{min-height:42px;margin:0 auto 5px;padding:4px 15px}
.places-mode .places-quiz-photo{flex:1;min-height:0;height:auto}
.places-mode .places-quiz-photo img{height:100%;max-height:none}
.places-mode .places-quiz .answers{flex:none;grid-template-rows:repeat(2,minmax(56px,1fr));margin:8px 0 0;gap:8px}
.places-mode .places-quiz .answer{min-height:56px;padding:8px}
.places-mode #feedback{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.places-mode .visual-feedback{flex:none;min-height:34px;margin:4px 0 0;text-align:center;font-size:.78rem;font-weight:700;line-height:1.2;color:#175e5b}
@media(max-width:600px) and (orientation:portrait){.places-mode main{padding:6px 10px 10px;gap:3px}.places-mode main>[data-home]{min-height:34px;padding:2px 8px}.places-mode main>h1{font-size:1.4rem}.places-mode main>p{font-size:.7rem}.places-mode .places-learning{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:6px;padding:8px}.places-mode .places-learning>div:last-child{align-items:center;text-align:center}.places-mode .places-learning h2{font-size:1.25rem;margin:0}.places-mode .places-learning p{font-size:1rem;margin:0 0 4px}.places-mode .places-quiz{padding:8px}.places-mode .places-quiz h2{font-size:1.15rem}.places-mode .places-quiz .answers{grid-template-columns:repeat(2,minmax(0,1fr))}.places-mode .places-quiz .answer{font-size:.9rem;min-height:50px}.places-mode main>.toolbar button{min-height:42px;padding:5px 10px;font-size:.75rem}}
/* Three real portraits form one vocabulary group. */
.places-mode .group-learning{grid-template-columns:minmax(0,2.2fr) minmax(0,.8fr)}
.group-grid{height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px}
.group-card{min-width:0;height:auto;align-self:center;display:flex;flex-direction:column;align-items:center;gap:6px;padding:7px;background:#f5f8f4;box-shadow:0 4px 0 #d8e2d9;border-color:#b8cbbf}
.group-card img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px}
.group-card strong{font-size:clamp(.7rem,1.5vw,1.1rem);line-height:1.1;text-align:center}
.group-card span{font-size:.8rem;line-height:1}
.group-card:hover{background:#e4f0e8;border-color:#397b67;transform:translateY(-2px)}
.group-card:active{background:#d4e7dc;transform:translateY(2px);box-shadow:0 1px 0 #9eb6a5}
.places-mode .group-quiz .answers{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);align-items:center;margin-top:8px}
.places-mode .group-quiz .answer{display:flex;flex-direction:column;align-items:center;align-self:center;gap:8px;min-height:0;height:auto;padding:8px;font-size:clamp(.72rem,1.7vw,1.1rem);line-height:1.15;box-shadow:0 4px 0 #d8e2d9}
.places-mode .group-quiz .answer img{flex:none;min-height:0;width:100%;height:auto;aspect-ratio:1;max-height:none;margin:0;object-fit:cover}
@media(max-width:600px) and (orientation:portrait){.places-mode .group-learning{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;gap:12px}.group-grid{height:auto;gap:5px}.group-card{padding:4px;gap:4px;border-radius:10px}.group-card strong{font-size:.63rem}.group-card span{font-size:.65rem}.places-mode .group-quiz .answers{grid-template-columns:repeat(3,minmax(0,1fr))}.places-mode .group-quiz .answer{padding:4px;font-size:.67rem;gap:5px}}
.places-mode .age-quiz .answers{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(56px,1fr)}
.places-mode .age-quiz .answer{font-size:clamp(1.3rem,4vw,2rem);font-variant-numeric:tabular-nums}
.first-peoples-choices{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;max-width:800px;margin:auto}.first-peoples-choices button{flex-direction:column;gap:10px}.first-peoples-choices img{max-height:150px}.first-peoples-flags{display:flex;gap:10px;justify-content:center;align-items:center;max-width:100%;height:150px}.first-peoples-flags img{width:48%;height:100%;object-fit:contain}.first-peoples-choices strong{font-size:clamp(1rem,2vw,1.5rem)}.first-peoples-reveal{flex-direction:column}.first-peoples-reveal .first-peoples-flags{width:min(100%,440px);height:150px}
.history-first-flags{width:min(100%,720px);height:100%;display:flex;gap:24px;align-items:center;justify-content:center}.history-first-flags img{width:45%;height:100%;object-fit:contain}.british-flag{display:block;width:min(82%,270px);height:auto;aspect-ratio:2/1;object-fit:contain}
.history-first-photo{height:100%;width:min(100%,850px);margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.history-first-photo img{display:block;width:100%;height:calc(100% - 24px);min-height:0;object-fit:contain;border-radius:16px}.history-first-photo figcaption{font-size:.7rem}.history-first-photo figcaption a{color:#173f43;background:#ffffffe0;padding:2px 6px;border-radius:4px}
.history-first-photo-pair{height:100%;width:min(100%,980px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.history-first-photo-pair figure{min-width:0;min-height:0;margin:0;display:flex;flex-direction:column;align-items:center;gap:5px}.history-first-photo-pair img{width:100%;height:calc(100% - 24px);min-height:0;object-fit:cover;border-radius:16px}.history-first-photo-pair figcaption{font-size:.7rem;text-align:center}.history-first-photo-pair a{color:#173f43;background:#ffffffe0;padding:2px 6px;border-radius:4px}.history-first-photo-pair figure:first-child img{object-position:center}
.first-fleet-combined{height:100%;width:min(100%,1080px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:center}.first-fleet-combined figure{height:100%;min-height:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.first-fleet-combined figure img{display:block;width:100%;height:calc(100% - 24px);min-height:0;object-fit:contain;border-radius:16px}.first-fleet-combined figure figcaption{font-size:.7rem}.first-fleet-combined .first-fleet-route{width:100%}.first-fleet-combined .first-fleet-route .first-fleet-label{font-size:28px}
.first-fleet-route{position:relative;width:min(100%,860px);aspect-ratio:2/1;height:auto;overflow:hidden;border-radius:22px;background:#d7e8ed}.first-fleet-route>img{display:block;width:100%;height:100%;object-fit:fill}.first-fleet-route>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.first-fleet-route path{fill:none;stroke:#b56f3d;stroke-width:7;stroke-linecap:round;stroke-dasharray:11 13}.first-fleet-route circle{fill:#fffdf5;stroke:#173f43;stroke-width:4}.first-fleet-route .first-fleet-label{font:700 18px system-ui,sans-serif;fill:#173f43;paint-order:stroke;stroke:#fffdf5;stroke-width:6px;stroke-linejoin:round}.first-fleet-route .first-fleet-ship{position:absolute;left:64%;top:72%;font-size:42px;filter:drop-shadow(0 2px 0 #fff)}
@media(max-width:600px){.first-peoples-choices{gap:10px}.first-peoples-choices img{max-height:90px}.first-peoples-flags{height:90px}.first-peoples-choices strong{font-size:.9rem}.first-fleet-combined{grid-template-columns:1fr;gap:10px}.first-fleet-combined figure{display:none}.first-fleet-route .first-fleet-label{font-size:15px}.first-fleet-route .first-fleet-ship{font-size:30px}}
/* First Peoples: three calm, image-led slides. */
.tindale-map{margin:0;display:flex;flex-direction:column;gap:8px;align-items:center}.tindale-map iframe{display:block;width:100%;height:330px;border:2px solid #b7c9bd;border-radius:16px;background:#edf1e9}.tindale-map figcaption{font-size:.75rem;color:#53645d}.tindale-map .button{min-height:44px;padding:8px 13px;font-size:.85rem}
.language-examples{display:grid;gap:12px}.language-examples article{min-height:88px;padding:12px 16px;border-radius:16px;background:linear-gradient(135deg,#edf2df,#dce9df);border:1px solid #b8cbb8;display:flex;flex-direction:column;justify-content:center}.language-examples article:nth-child(2){background:linear-gradient(135deg,#e5eef1,#d9e6ea)}.language-examples article:nth-child(3){background:linear-gradient(135deg,#f5e7c9,#efdbb0)}.language-examples span{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#53645d}.language-examples strong{font-size:clamp(1.2rem,2.6vw,1.7rem);line-height:1.15;margin-top:2px}.language-examples small{margin-top:3px;font-size:.85rem;color:#435b57}
.people-video{display:flex;flex-direction:column;gap:8px;align-items:center}.people-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#173f43}.people-video a{font-size:.85rem;font-weight:700}
@media(max-width:760px){.tindale-map iframe{height:250px}.language-examples{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.language-examples article{min-height:125px;padding:10px;overflow-wrap:anywhere}.language-examples strong{font-size:1rem}.language-examples small{font-size:.72rem}}
/* First Peoples now follows the Flags pattern: one large visual focus per screen. */
body.people-mode{height:100vh;height:100dvh;overflow:hidden;background:linear-gradient(145deg,#e9f1e8 0%,#d8e8e7 50%,#f3e5c0 100%);color:#173f43}
.people-mode>.top,.people-mode>footer{display:none}.people-mode main{height:100%;width:100%;max-width:1400px;padding:12px 24px 36px}.people-screen{height:100%;width:100%;display:flex;flex-direction:column;gap:12px;min-height:0}.people-screen .map-bar{width:100%}.people-stages{flex:none}.people-visual{position:relative;width:100%;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.people-footer{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;flex:none}.people-footer .map-dots{margin:0}.people-next{position:absolute;right:0;display:grid;place-items:center;width:58px;min-width:58px;height:58px;min-height:58px;padding:0;border-radius:50%;background:#175e5b;color:white;border-color:#175e5b;font-size:1.7rem}.people-next:hover{background:#124b48}
.people-map-view{width:min(100%,970px);height:100%;min-height:0;margin:0;display:flex;flex-direction:column;align-items:center;gap:6px}.people-map-view img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;border:3px solid #fff;border-radius:22px;background:#fff;box-shadow:0 7px 22px rgba(23,63,67,.18)}.people-map-view figcaption{font-size:.75rem;font-weight:700;color:#50625e}.people-map-view>a,.people-video-view>a{font-weight:800;font-size:.85rem;background:#ffffffcf;padding:5px 12px;border-radius:20px;text-decoration:none}
.people-words{position:absolute;left:24px;right:24px;top:50%;transform:translateY(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1050px;height:min(100%,360px);margin:auto}.people-words button{min-width:0;min-height:0;padding:22px 14px;border:3px solid #b5c8bc;border-radius:22px;background:#fff;box-shadow:0 6px 0 #173f4317;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.people-words button:nth-child(1){background:#f3e2bb}.people-words button:nth-child(2){background:#dce9df}.people-words button:nth-child(3){background:#dce6ec}.people-words button.selected{border-color:#28765d;box-shadow:0 0 0 4px #a8e1b6,0 6px 0 #173f4317}.people-words span{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#53645d}.people-words strong{font-size:clamp(1.55rem,4vw,3rem);line-height:1.05}.people-words small{font-size:1rem}.people-video-view{width:min(100%,960px);height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.people-video-view iframe{display:block;width:100%;max-height:calc(100% - 44px);aspect-ratio:16/9;border:3px solid #fff;border-radius:22px;background:#173f43;box-shadow:0 7px 22px rgba(23,63,67,.18)}
@media(max-width:600px) and (orientation:portrait){.people-mode main{padding:8px 10px 28px}.people-screen{gap:8px}.people-words{gap:8px;height:min(100%,300px)}.people-words button{padding:10px 5px;border-radius:15px}.people-words span{font-size:.62rem}.people-words strong{font-size:1.2rem;overflow-wrap:anywhere}.people-words small{font-size:.7rem}.people-map-view iframe{border-radius:16px}.people-next{width:48px;min-width:48px;height:48px;min-height:48px}.people-footer{min-height:48px}}
@media(max-height:500px) and (orientation:landscape){.people-mode main{padding:6px 14px 25px}.people-screen{gap:4px}.people-stages{gap:12px;font-size:.9rem}.people-words{height:100%;gap:12px}.people-words button{padding:10px}.people-words strong{font-size:1.5rem}.people-map-view>a,.people-video-view>a{font-size:.7rem;padding:3px 8px}.people-next{width:44px;min-width:44px;height:44px;min-height:44px}}
/* One-screen Australia topic menu. */
body.australia-menu{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#f1f7f0b8 0%,#f4f8ed91 58%,#f2efe579 100%),url('assets/flags-landscape.svg') center/cover no-repeat}
.australia-menu>.top{flex:none;padding:10px max(20px,calc((100vw - 1400px)/2));background:#ffffffd9;border-color:#dbe2d9;font-size:.85rem}
.australia-menu>.top #home{display:none}.australia-menu>.top button{min-height:40px;padding:7px 14px;font-size:.8rem}
.australia-menu main{flex:1;min-height:0;width:100%;max-width:1440px;padding:18px 28px 14px}
.australia-menu-screen{height:100%;display:flex;flex-direction:column;gap:18px}
.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.menu-heading h1{font-size:clamp(1.7rem,3.5vw,2.6rem);line-height:1.1;margin:0}.menu-heading p{font-size:.85rem;margin:6px 0 0;color:#61726a}.menu-heading button{padding:8px 14px;min-height:46px}
.menu-topics{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:18px}
.menu-topic{min-width:0;min-height:0;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #c4d1c7;border-radius:20px;background:#fff;box-shadow:0 5px 16px #173f4326;transition:transform .15s,box-shadow .15s}
.menu-topic-picture{flex:1;min-height:0;width:100%;overflow:hidden;background:var(--tile-colour);display:flex;align-items:center;justify-content:center}
.menu-topic-picture>img{width:100%;height:100%;object-fit:cover}.menu-topic-flags .menu-topic-picture{padding:16px}.menu-topic-flags .menu-topic-picture>img{object-fit:contain}
.menu-topic-values .menu-topic-picture{background-image:url('assets/values-scenes.png');background-size:300% auto;background-position:center top;background-repeat:no-repeat}
.menu-topic-map svg{width:85%;height:90%}.menu-topic-picture>span{font-size:clamp(2.5rem,6vw,5rem)}
.menu-first-flags{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px;width:100%;height:100%}.menu-first-flags img{width:48%;max-height:100%;object-fit:contain}
.menu-topic-label{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:13px 16px;text-align:left}.menu-topic-label strong{font-size:clamp(.9rem,1.5vw,1.15rem);line-height:1.2}.menu-topic-arrow{font-size:1rem;color:#628375}
@media(hover:hover){.menu-topic:hover{transform:translateY(-3px);box-shadow:0 8px 20px #173f4320;background:#fff}.menu-topic:hover .menu-topic-arrow{color:#173f43}}
.menu-topic:active{transform:translateY(2px);box-shadow:0 1px 0 #173f4320}
.australia-menu>footer{flex:none;max-width:1400px;width:100%;margin:0 auto;padding:0 28px 8px;font-size:.65rem}.australia-menu>footer summary{min-height:28px;line-height:28px;color:#61726a}
.australia-menu>footer details[open]{position:fixed;z-index:20;bottom:8px;left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 32px));max-height:70dvh;overflow:auto;background:#fff;border:1px solid #b8ccc1;border-radius:16px;padding:16px 22px;box-shadow:0 10px 60px #173f4340}
.australia-menu #feedback{position:fixed;bottom:40px;z-index:10}.australia-menu #feedback:empty{display:none}
@media(max-width:760px){.australia-menu main{padding:10px 14px}.australia-menu-screen{gap:10px}.menu-topics{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:10px}.menu-heading h1{font-size:1.6rem}.menu-heading p{margin-top:2px;font-size:.75rem}.menu-topic{border-radius:13px}.menu-topic-label{padding:7px 10px}.menu-topic-label strong{font-size:.8rem}.menu-topic-arrow{font-size:.8rem}.menu-first-flags{padding:8px;gap:6px}.menu-topic-flags .menu-topic-picture{padding:6px}.australia-menu>.top{padding:7px 14px}.australia-menu>footer{padding:0 14px 4px}}
@media(max-height:550px) and (min-width:761px){.australia-menu main{padding-top:8px}.australia-menu-screen{gap:8px}.menu-heading h1{font-size:1.5rem}.menu-heading p{display:none}.menu-topic-label{padding:8px 12px}.menu-topics{gap:10px}}
@media(prefers-reduced-motion:reduce){.menu-topic{transition:none}.menu-topic:hover,.menu-topic:active{transform:none}}
.places-mode .places-quiz .answer-emoji{display:block;font-size:2.2rem;line-height:1.15;margin-bottom:4px}
.value-photo{height:100%;width:auto;max-width:100%;aspect-ratio:1;background-image:url('assets/values-scenes.png');background-size:300% 200%;background-position:var(--photo-x) var(--photo-y);background-repeat:no-repeat;border-radius:16px}
.places-mode .places-learning>div:first-child:has(.value-photo){display:flex;align-items:center;justify-content:center}
.places-mode .values-quiz .places-quiz-photo{align-items:center}
.places-mode .values-quiz .answers{grid-template-rows:minmax(76px,1fr)}
.places-mode .values-quiz .answer{font-size:clamp(1.1rem,2.5vw,1.5rem);box-shadow:0 4px 0 #d8e2d9}
.places-mode .values-quiz .answer:hover{border-color:#397b67;background:#e4f0e8;transform:translateY(-2px)}
.places-mode .values-quiz .answer:active{transform:translateY(2px);box-shadow:0 1px 0 #9eb6a5}
@media(max-width:600px) and (orientation:portrait){.places-mode .values-quiz .answers{grid-template-rows:minmax(72px,1fr)}.places-mode .values-quiz .answer{font-size:1.1rem}}
/* Mixed 12-question review and score. */
body.practice-mode{height:100vh;height:100dvh;overflow:hidden;background:linear-gradient(180deg,#f1f7f0b8 0%,#f4f8ed91 58%,#f2efe579 100%),url('assets/flags-landscape.svg') center/cover no-repeat}
.smartboard-mode .australia-menu #stop,.smartboard-mode .australia-menu [data-say],.smartboard-mode .map-mode #map-listen,.smartboard-mode .flags-mode #flag-audio,.smartboard-mode .flags-mode #flag-listen,.smartboard-mode .discovery-mode #discovery-audio,.smartboard-mode .discovery-mode #discovery-listen,.smartboard-mode .places-mode #listen-card,.smartboard-mode .places-mode #listen-question,.smartboard-mode .places-mode .group-card span,.smartboard-mode .practice-mode #test-audio,.smartboard-mode .practice-mode #test-listen,.smartboard-mode .practice-mode .practice-song,.smartboard-mode .discovery-mode .symbol-play,.smartboard-mode .discovery-mode .anthem-play{display:none}
.practice-mode>.top,.practice-mode>footer{display:none}
.practice-mode main{height:100%;max-width:1300px;padding:10px 22px 16px}
.practice-screen{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}
.practice-screen .map-bar{align-items:center}
.practice-progress{display:flex;align-items:center;gap:14px;font-size:.85rem;flex:none}
.practice-progress .progress{flex:1;height:10px}
.practice-topic{align-self:center;border-radius:999px;background:#d7e9df;color:#225d50;padding:3px 14px;font-size:.75rem;font-weight:800}
.practice-screen>h2{margin:0;text-align:center;font-size:clamp(1.25rem,3vw,2rem);line-height:1.16}
.practice-art{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.practice-art img,.practice-art svg{display:block;max-width:100%;max-height:100%;width:auto;height:100%;object-fit:contain;border-radius:15px}
.practice-art .value-photo{flex:none}
.practice-choices{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
.practice-choices.two,.practice-choices.three{grid-template-rows:minmax(0,1fr)}
.practice-choices.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.practice-screen.has-choice-images .practice-choices{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
.practice-screen.has-art .practice-choices{flex:none;height:clamp(115px,24vh,210px)}
.practice-option{min-width:0;min-height:0;display:flex;flex-direction:column;gap:4px}
.practice-choice{flex:1;min-width:0;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;background:#fff;border:3px solid #c4d2ca;border-radius:17px;box-shadow:0 4px 0 #ccdcd1;line-height:1.15}
.practice-choice:hover{background:#eaf3ec;border-color:#5c9b80;transform:translateY(-2px)}
.practice-choice:active{transform:translateY(2px);box-shadow:0 1px 0 #b8d0bf}
.practice-choice:disabled{opacity:1}
.practice-choice.correct{background:#dcf1db!important;border-color:#26714e!important}
.practice-choice.wrong{background:#fff0dc!important;border-color:#b75f31!important}
.practice-choice img{display:block;width:100%;height:calc(100% - 36px);min-height:0;object-fit:contain;border-radius:8px}
.practice-choice.flag-only img{height:100%;max-height:none}
.practice-choice .meaning-icon{font-size:clamp(2.5rem,7vw,4.5rem)}
.practice-screen.has-art .practice-choice img{max-height:95px}
.practice-choice-label{font-size:clamp(.85rem,1.8vw,1.25rem);font-weight:800;text-align:center;overflow-wrap:anywhere}
.practice-flag-pair{display:flex;gap:6px;align-items:center;justify-content:center;width:100%;height:65%}
.practice-flag-pair img{width:48%;height:100%;object-fit:contain}
.practice-colours{display:block;width:min(85%,180px);height:58%;min-height:28px;border:2px solid #748477;border-radius:8px;background:linear-gradient(90deg,var(--first) 50%,var(--second) 50%)}
.practice-note{font-size:clamp(2rem,7vh,4rem);color:#52776b;line-height:1}
.practice-tf-icon{font-size:clamp(2rem,7vh,4rem);line-height:1;color:#225d50}
.practice-song{align-self:center;min-height:34px;padding:3px 10px;font-size:.7rem}
.practice-bottom{display:flex;align-items:center;justify-content:center;gap:14px;min-height:58px;flex:none}
.practice-feedback{flex:1;min-width:0;text-align:center;font-weight:750;font-size:clamp(.8rem,1.8vw,1.05rem);line-height:1.2}
.practice-bottom #test-next{min-width:125px}
.practice-mode #feedback{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.practice-results{align-items:stretch}
.practice-score-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;margin:12px auto;width:min(100%,760px);border:2px solid #cbd9cd;border-radius:28px;background:#fff;padding:22px}
.practice-score-card h2{font-size:clamp(1.5rem,4vw,2.4rem);margin:0}
.practice-score-card>strong{font-size:clamp(4rem,13vw,8rem);line-height:1;color:#175e5b}
.practice-score-card>strong span{font-size:.45em;color:#61746b}
.practice-result-dots{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}
.practice-result-dots span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;color:#fff;font-size:.8rem;font-weight:900}
.practice-result-dots .right{background:#28765d}.practice-result-dots .not-right{background:#c16c44}
.practice-result-actions{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.practice-finish{display:grid;place-items:center;width:108px;height:108px;min-height:0;padding:0;border:4px solid #21814e;border-radius:50%;background:#44de70;color:#fff;box-shadow:0 7px 0 #2ba856;font:900 4rem/1 Arial,sans-serif}
.practice-finish:hover{background:#36ce63;transform:translateY(-2px)}.practice-finish:active{transform:translateY(5px);box-shadow:0 2px 0 #2ba856}
@media(max-width:600px) and (orientation:portrait){.practice-mode main{padding:6px 10px 10px}.practice-screen{gap:5px}.practice-screen .map-bar h1{font-size:1.25rem}.practice-screen .map-bar button{min-width:42px;min-height:42px;padding:5px 8px}.practice-screen .map-tools{gap:4px}.practice-screen>h2{font-size:1.15rem}.practice-topic{font-size:.65rem}.practice-choices{gap:6px;max-height:330px}.practice-screen.has-art .practice-choices{height:clamp(110px,25vh,170px)}.practice-choice{padding:4px;border-width:2px;border-radius:12px}.practice-choice-label{font-size:.75rem}.practice-screen.has-art .practice-choice-label{font-size:.85rem}.practice-bottom{min-height:52px;gap:5px}.practice-bottom #test-next{min-width:100px;padding:8px;font-size:.8rem}.practice-feedback{font-size:.75rem}.practice-song{min-height:29px;font-size:.6rem}.practice-score-card{gap:12px;padding:14px}.practice-finish{width:86px;height:86px;font-size:3rem}}
@media(max-width:900px){.practice-screen.has-choice-images .practice-choices{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}}
@media(max-height:550px) and (orientation:landscape){.practice-mode main{padding:4px 14px}.practice-screen{gap:3px}.practice-art img,.practice-art svg{max-height:100%}.practice-screen.has-art .practice-choices{height:100px}.practice-choice img{max-height:80px}.practice-bottom{min-height:42px}.practice-score-card{gap:5px}}
/* Living together: selectable answers remain visibly marked until checked. */
.places-mode .values-quiz .answers{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(68px,1fr)}
.places-mode .values-quiz .answer{font-size:clamp(.9rem,2vw,1.25rem)}
.values-quiz .answer[aria-pressed="true"],.practice-choice[aria-pressed="true"]{outline:none;border:4px solid #175e5b;background:#d8eee5;box-shadow:0 0 0 2px #fff inset}
.values-quiz .answer[aria-pressed="true"]::after,.practice-choice[aria-pressed="true"]::after{content:'✓ Selected';display:block;font-size:.7rem;font-weight:800;margin-top:4px}
.values-quiz .answer:focus-visible,.practice-choice:focus-visible{outline:4px solid #e69918;outline-offset:4px}
.multi-instruction{font-size:.8rem;text-align:center;margin:0}
.practice-screen.multi-select .practice-choices{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(65px,1fr)}
.practice-screen.multi-select .practice-choice{font-size:clamp(.8rem,1.6vw,1.1rem);padding:6px}
.practice-screen.multi-select .practice-choice .meaning-icon{font-size:1.8rem}
.practice-screen.multi-select .practice-bottom{flex-wrap:wrap;gap:8px}
@media(max-width:600px) and (orientation:portrait){.places-mode .values-quiz .answers,.practice-screen.multi-select .practice-choices{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(60px,1fr)}.places-mode .values-quiz .answer{font-size:.85rem}.places-mode .values-quiz .answer-emoji{font-size:1.5rem}}

/* Related Yes/No questions share a slide and one explicit check action. */
.values-group{min-height:0;overflow:auto}
.values-group h2{margin:0 0 8px}
.values-group-body{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:20px;align-items:center;margin:12px 0}
.values-group-photo .value-photo{width:100%;aspect-ratio:1;height:auto;min-height:0}
.values-group-rows{display:grid;gap:12px}
.values-yesno{border:1px solid #b4c1be;border-radius:12px;padding:10px 14px;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.values-yesno .values-row-label{margin:0;font-weight:700;font-size:clamp(1rem,2vw,1.35rem);padding:0}
.values-yesno>div{display:flex;gap:8px}
.values-group button[aria-pressed="true"]{background:#d8eee5;border:3px solid #175e5b;box-shadow:inset 0 0 0 2px white}
.values-yesno button{min-width:70px;min-height:52px}
.values-peaceful{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.values-peaceful legend{font-weight:700;margin-bottom:10px}
.values-peaceful button{min-height:64px}
.values-group-feedback{min-height:1.5em;font-weight:700;text-align:center}
@media(max-width:650px){.values-group-body{grid-template-columns:1fr;gap:12px}.values-group-photo{width:110px;margin:auto}.values-yesno{padding:9px;gap:8px}.values-yesno button{min-width:56px;padding:7px}.values-group-rows{gap:8px}}

.values-actions .values-action{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:112px;min-height:100px;padding:12px 18px}
.values-action-icon{display:block;width:44px;height:44px;flex-shrink:0}
.values-action-label{font-size:.75rem;line-height:1.25}
