@font-face{font-family:Montserrat;src:url('./regular.ttf')}@font-face{font-family:Montserrat;src:url('./bold.ttf');font-weight:700}*{box-sizing:border-box}body{margin:0;background:#152644;color:#172745;font-family:Montserrat,Arial,sans-serif;min-height:100dvh;background-image:radial-gradient(ellipse at 5% 95%,#0e83a544,transparent 45%),radial-gradient(ellipse at 95% 5%,#e4147d30,transparent 50%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:4px solid #ffce59;outline-offset:4px}.app{max-width:1200px;margin:auto;padding:20px clamp(14px,3vw,40px) max(15px,env(safe-area-inset-bottom));min-height:100dvh;display:flex;flex-direction:column}header{display:flex;align-items:center;gap:16px;margin-bottom:22px}.brand{background:#fff;border-radius:16px;padding:6px 15px;display:flex;align-items:center}.brand img{width:165px;height:45px;object-fit:contain}.beta{font-size:.75rem;letter-spacing:.1em;color:#c0dce9;font-weight:700}.teacher-link{margin-left:auto;border:1px solid #7792aa;border-radius:12px;background:transparent;color:#fff;padding:10px 15px;min-height:46px;font-size:.85rem}main{background:#f4f9fc;border-radius:28px;flex:1;overflow:hidden;min-height:640px;outline:none}.scene{padding:clamp(22px,4vw,42px);display:flex;flex-direction:column;gap:24px;min-height:640px}.scene-top{display:flex;align-items:center;gap:14px;justify-content:space-between}h1,h2,p{margin:0}h1{font-size:clamp(2rem,4vw,3.8rem);letter-spacing:-.055em;line-height:1.12}h2{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.2;letter-spacing:-.035em}.eyebrow{font-weight:700;color:#0a6f8e;font-size:.85rem;letter-spacing:.08em;margin-bottom:10px}.lead{font-size:clamp(1.2rem,2.3vw,1.65rem);line-height:1.45}.home-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:32px;align-items:center;flex:1}.home-copy{display:flex;flex-direction:column;gap:24px}.hero{width:100%;aspect-ratio:1.13;object-fit:cover;border-radius:22px}.action{border:0;border-radius:18px;background:#e4147d;color:white;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:84px;padding:19px 25px;font-size:1.55rem;font-weight:700;box-shadow:0 5px 0 #ad0b5b;line-height:1.15;text-decoration:none}.action svg{width:38px;height:38px;flex-shrink:0}.action.teal{background:#087f9c;box-shadow:0 5px 0 #075c74}.action.secondary{background:#e8f0f6;color:#172745;box-shadow:0 4px 0 #c7d8e5}.action.subtle{font-size:1.05rem;min-height:58px;padding:12px 19px;box-shadow:none;border:2px solid #b3cbdc;background:#fff;color:#172745}.speak{border:0;border-radius:50%;background:#e4eff6;color:#075d7b;width:64px;height:64px;display:grid;place-items:center;flex-shrink:0}.speak svg{width:32px;height:32px}.steps{display:flex;gap:8px;align-items:center}.steps span{width:40px;height:8px;background:#d5e2eb;border-radius:6px}.steps span.on{background:#e4147d}.actions{display:flex;gap:18px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:auto}.photo-wrap{position:relative;flex:1;min-height:280px;border:3px solid #d0e1ec;border-radius:20px;overflow:hidden;background:#0d1729;display:flex;align-items:center;justify-content:center}.photo-wrap img,.photo-wrap video{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}.photo-wrap video{object-fit:cover}.camera-guide{position:absolute;inset:20px;border:2px dashed #ffffff99;border-radius:18px;pointer-events:none}.loading{color:white;text-align:center;font-size:1.1rem;padding:25px;max-width:500px;line-height:1.6}.capture{border-radius:50%;width:98px;height:98px;min-height:98px;background:#e4147d;border:6px solid white;box-shadow:0 0 0 4px #e4147d;color:white;display:grid;place-items:center}.capture svg{width:44px;height:44px}.preview{max-height:440px;min-height:330px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;flex:1}.review-grid figure{margin:0;display:flex;flex-direction:column;gap:10px;min-height:300px}.review-grid img{width:100%;height:320px;object-fit:contain;background:#e2ecf4;border-radius:18px}.review-grid figcaption{font-size:1.15rem;font-weight:700;color:#0a657d}.help-note{color:#536b7f;font-size:1rem;line-height:1.55}.notice{padding:16px 20px;border-radius:14px;background:#fff2d0;color:#6a4500;font-size:1rem;line-height:1.6}.success{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:#d6efe7;color:#147451;margin:10px auto}.success svg{width:60px;height:60px}.center{text-align:center;align-items:center}.center .lead{max-width:650px}.handoff-art{font-size:5rem;letter-spacing:10px}footer{display:flex;justify-content:space-between;gap:12px;color:#acc7d9;font-size:.8rem;line-height:1.6;padding:17px 5px 0}dialog{border:0;border-radius:22px;padding:28px;max-width:600px;width:calc(100% - 28px);max-height:85dvh;color:#172745;background:#fff}dialog::backdrop{background:#06132bc4}dialog h2{font-size:1.65rem;margin-bottom:18px}dialog p,dialog li{font-size:1rem;line-height:1.65;margin:10px 0}dialog .dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}dialog .action{font-size:1rem;min-height:52px;padding:12px 18px;box-shadow:none}.danger{background:#b02744}.quiet{background:transparent;border:0;color:#0a657d;text-decoration:underline;min-height:44px;padding:9px;font-size:1rem}.check-list{padding-left:22px}.hidden{display:none!important}.camera-error{padding:24px;display:flex;flex-direction:column;gap:18px;align-items:center;color:#fff;line-height:1.6;text-align:center}.camera-error button{font-size:1rem}#screen.busy{pointer-events:none;opacity:.75}.retention{font-size:.9rem;color:#0b718b}.reveal{font-size:1.3rem;line-height:1.5}.big-symbol{display:grid;place-items:center;width:130px;height:130px;border-radius:28px;background:#e2f2f8;color:#0e83a5;margin:0 auto}.big-symbol svg{width:80px;height:80px}@media(max-width:650px){.app{padding:12px 12px 20px}header{gap:8px;margin-bottom:14px}.brand{padding:5px 10px}.brand img{width:124px;height:35px}.beta{font-size:.6rem}.teacher-link{font-size:.75rem;padding:8px}.scene{padding:23px 18px;min-height:640px;gap:20px}main{border-radius:22px}.home-grid{grid-template-columns:1fr;gap:22px}.hero{aspect-ratio:1.8;max-height:220px;grid-row:1}.home-copy{gap:20px}.action{font-size:1.25rem;padding:17px 21px;min-height:73px;width:100%}.action svg{width:30px;height:30px}.actions{gap:14px}.actions .action{flex:1;min-width:130px}.photo-wrap{min-height:300px}.review-grid{gap:12px}.review-grid img{height:240px}.review-grid figcaption{font-size:.95rem}.speak{width:54px;height:54px}.steps span{width:28px}footer{font-size:.7rem}.scene-top h2{max-width:245px}}@media(prefers-reduced-motion:no-preference){.scene{animation:arrive .2s ease-out}@keyframes arrive{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.quiet{display:inline-flex;align-items:center;justify-content:center;gap:10px}.quiet svg{width:24px;height:24px}.handoff-art svg{width:140px;height:140px}.camera-error>svg{width:60px;height:60px}
.photo-wrap video{object-fit:contain}.whole-example{display:block;width:240px;max-width:80%;height:190px;margin:0 auto}

/* Quiet viewfinder details: a little playfulness around the activity. */
body{background-image:radial-gradient(circle at 12px 12px,#a1c9db14 1.5px,transparent 2px),radial-gradient(ellipse at 5% 95%,#0e83a544,transparent 45%),radial-gradient(ellipse at 95% 5%,#e4147d30,transparent 50%);background-size:44px 44px,100% 100%,100% 100%}
main{box-shadow:0 18px 60px #08132633}
.hero{border:5px solid #fff;box-shadow:0 8px 24px #0e83a51c;transform:rotate(1deg)}
.big-symbol{position:relative;box-shadow:8px 8px 0 #7fb7ce24;transform:rotate(-4deg)}
.big-symbol svg{transform:rotate(4deg)}
.big-symbol::before,.big-symbol::after{content:"";position:absolute;width:22px;height:22px;border-color:#e4147d;border-style:solid;pointer-events:none}
.big-symbol::before{top:-10px;left:-10px;border-width:4px 0 0 4px;border-radius:8px 0 0 0}
.big-symbol::after{right:-10px;bottom:-10px;border-width:0 4px 4px 0;border-radius:0 0 8px 0}
.speak{border:2px solid #c6dfe9;box-shadow:0 3px 0 #c6dfe9}
.speak:active,.action:active{transform:translateY(2px)}

.mode-actions{display:grid;gap:18px}.mode-actions .action{width:100%}
.round-badge{align-self:flex-start;border-radius:30px;background:#e3f0f5;color:#075d7b;padding:8px 16px;font-weight:700;font-size:1rem}
.mission-art{display:block;width:200px;max-width:60%;height:150px;margin:0 auto}
.research-photos{display:grid;grid-template-columns:1fr 1fr;gap:20px;flex:1}
.research-photos.single{grid-template-columns:1fr;max-width:660px;width:100%;align-self:center}
.research-card{display:flex;flex-direction:column;gap:14px;min-width:0}
.research-card>img{display:block;width:100%;height:260px;object-fit:contain;border-radius:18px;background:#dfecf3}
.empty-photo{display:grid;place-items:center;min-height:100px;border:3px dashed #a6c9d9;border-radius:20px;background:#eaf4f8;color:#0e83a5}
.empty-photo svg{width:54px;height:54px}
.research-footer{display:flex;justify-content:space-between;gap:18px;margin-top:auto}
.teacher-rounds{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.teacher-rounds .action{padding:12px 8px}.teacher-game .action{width:100%;margin:10px 0}
details{border-top:1px solid #c7d8e5;margin-top:20px;padding-top:16px}summary{cursor:pointer;font-weight:700;font-size:1rem;min-height:44px}
@media(max-width:650px){.research-photos{gap:12px}.research-card>img{height:190px}.research-card .action{width:100%;font-size:1.1rem;min-height:58px;padding:12px}.mission-art{height:125px;width:170px}.mode-actions .action{min-height:70px}.research-footer{gap:8px}.teacher-rounds{grid-template-columns:1fr}.teacher-rounds .action{width:100%}}

/* Keep the listening control next to the instruction it reads. */
.scene-top{justify-content:flex-start;align-items:flex-start;gap:12px}
.scene-top h2{flex:0 1 auto;max-width:calc(100% - 76px)}
.scene-top .speak{margin-top:0}
@media(max-width:650px){.scene-top h2{max-width:calc(100% - 66px)}}
.mission-select-label{display:block;font-weight:700;font-size:1rem;margin:18px 0 8px}
.mission-select{display:block;width:100%;min-height:54px;padding:12px 40px 12px 14px;font:inherit;font-size:1rem;line-height:1.4;border:2px solid #a6c9d9;border-radius:12px;color:#172745;background:#f4f9fc;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#075d7b 50%),linear-gradient(135deg,#075d7b 50%,transparent 50%);background-position:calc(100% - 21px) 24px,calc(100% - 15px) 24px;background-size:6px 6px;background-repeat:no-repeat}
.mission-select:focus-visible{outline:4px solid #ffce59;outline-offset:3px}
.teacher-rounds .action{overflow-wrap:anywhere;line-height:1.3}
