:root{font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#283f35;background:#f7f8f2;font-synthesis:none;--green:#39775b;--line:#e4e9de}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:white;color:inherit;font-weight:650;padding:11px 16px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#edf3e8;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #d99c36;outline-offset:3px}button.primary,.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#2c634a}h1,h2,h3,p{margin:0}.header{height:92px;border-bottom:1px solid var(--line);background:#fffefa;display:flex;align-items:center;padding:0 max(32px,calc((100vw - 1360px)/2));gap:26px}.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px;font-size:21px;font-weight:850;letter-spacing:-.7px}.brand-mark{background:#dcebd6;color:var(--green);font-size:36px;width:48px;height:48px;display:grid;place-items:center;border-radius:15px}.brand small{font-size:11px;display:block;color:#7f8c7e;font-weight:500;margin-top:6px;letter-spacing:.3px}.privacy{margin-left:auto;font-size:12px;color:#6c7c69;background:#eef4e8;padding:10px 14px;border-radius:24px}.privacy span{color:#7a9f62;font-size:9px;margin-right:5px}.quiet{border:0;background:transparent;font-size:13px}.quiet span{display:inline-grid;place-items:center;border:1px solid #abb6a6;border-radius:50%;width:18px;height:18px;margin-left:6px}main{max-width:1360px;margin:auto;padding:36px 32px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:1px;color:#6e8c61;font-weight:750;margin-bottom:9px}h1{font-size:32px;letter-spacing:-1.5px}.page-heading p:last-child{font-size:14px;color:#7b8579;margin-top:10px}.lesson-badge{background:#f3edd9;border:1px solid #e8dfc1;color:#9c8551;transform:rotate(-3deg);padding:13px 18px;border-radius:9px;font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.camera-panel,.controls,.gallery-panel{background:#fffefa;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 3px 8px #334a2b03}.panel-top{padding:19px 22px;display:flex;justify-content:space-between;align-items:center;gap:8px}h2{font-size:15px;font-weight:750;letter-spacing:-.4px}.step{font-size:10px;background:#edf2e7;color:#6d885b;border-radius:7px;padding:5px;margin-right:8px}.status{font-size:11px;color:#879080;white-space:nowrap}.status.connected{color:#408361}.stage{position:relative;aspect-ratio:16/9;background:#e9eee0;overflow:hidden;margin:0 16px;border-radius:12px}.stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 115%,#d9e4c9 0,transparent 60%);pointer-events:none}canvas{display:block;width:100%;height:100%;position:relative;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.welcome{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at bottom,#d9e4ca80,transparent 70%);padding:14px}.welcome[hidden]{display:none}.welcome-art{position:relative;width:190px;height:130px;margin-top:-20px}.welcome-art img{width:190px;height:142px;object-fit:contain;filter:drop-shadow(0 7px 0 #b3c6a039)}.spark{position:absolute;color:#b49c5a;font-size:25px}.s1{left:12px;top:25px}.s2{right:0;top:45px}.welcome h3{font-size:19px;margin:5px 0 10px;letter-spacing:-.6px}.welcome p{color:#78846e;font-size:12px;max-width:440px;line-height:1.7}.welcome button{margin-top:18px;padding:12px 23px;font-size:14px}.welcome small{font-size:10px;color:#8c9681;margin-top:10px}.stage-label{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);font-size:11px;color:white;background:#183e3290;border-radius:20px;padding:7px 12px;pointer-events:none;white-space:nowrap}.flash{position:absolute;inset:0;pointer-events:none;background:white;opacity:0}.flash.active{animation:flash .3s ease-out}@keyframes flash{from{opacity:.8}to{opacity:0}}.camera-tools{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;gap:10px;border-bottom:1px solid var(--line)}.device-wrap{display:flex;align-items:center;gap:10px;min-width:0}.device-wrap label,.mirror{font-size:11px;color:#7f897b}.device-wrap select{border:1px solid var(--line);background:#fffefa;padding:8px 24px 8px 10px;border-radius:7px;color:#65715d;font-size:11px;max-width:260px;min-width:0}.icon-button{padding:5px 8px;border:0;background:transparent;font-size:19px}.mirror{white-space:nowrap;display:flex;gap:5px;align-items:center}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}.capture-row{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;gap:12px}.capture-row p{font-size:11px;line-height:1.8;color:#8a9182}.capture-row strong{font-size:12px;color:#5d6d56}.capture-button{background:#39775b;color:white;border:0;padding:15px 25px;border-radius:13px;font-size:17px;box-shadow:0 4px 0 #2d6049}.capture-button:hover:not(:disabled){background:#2d684d}.shutter{display:inline-grid;place-items:center;width:25px;height:25px;border:2px solid #ffffffc0;border-radius:50%;margin-right:8px;font-size:19px}.shortcut{color:#909687;font-size:10px}kbd{font:inherit;border:1px solid #dce1d2;border-bottom-width:2px;padding:3px 6px;border-radius:4px;background:#f5f6ef;color:#75806c}.controls .panel-top{padding-bottom:10px}.tiny{font-size:11px;background:#f3f4ec;color:#8a937e;border-radius:6px;padding:4px 8px}.control-intro{font-size:11px;color:#8c9485;margin:0 22px 15px}.dinosaur-list{padding:0 16px;display:grid;gap:7px}.dino-choice{display:flex;align-items:center;padding:3px 12px 3px 2px;border-radius:11px;text-align:left;gap:7px;background:#fbfcf7;border-color:#eef0e5;height:63px;position:relative}.dino-choice img{width:82px;height:58px;object-fit:contain}.dino-choice strong{font-size:12px;display:block}.dino-choice small{font-size:9px;color:#9a9f8f;display:block;margin-top:4px;font-weight:400}.dino-choice[aria-pressed=true]{background:#edf4e6;border-color:#93b17c;box-shadow:inset 0 0 0 1px #93b17c}.dino-choice[aria-pressed=true]:after{content:"✓";position:absolute;right:10px;color:#658650;font-size:13px}.adjustments{margin:18px 20px 0;padding-top:16px;border-top:1px dashed #e0e4d6}.size-heading{display:flex;justify-content:space-between;font-size:12px;font-weight:700}.size-heading output{color:#7d975f;font-size:11px}.size-row{display:flex;align-items:center;gap:10px;margin:10px 0 14px}.square{padding:4px;width:29px;height:29px;font-size:18px;border-radius:7px}.size-row input{min-width:0;flex:1;accent-color:#739761;height:5px}.control-actions{display:flex;gap:8px}.control-actions button{font-size:11px;padding:9px 5px;flex:1}.reset{border:0;background:transparent;width:100%;font-size:11px;color:#8c957e;margin-top:5px}.tip{background:#f5f5ea;border-radius:10px;padding:11px 8px;text-align:center;font-size:10px;color:#8a8d6b;margin:9px 0 17px;line-height:1.8}.tip span{font-size:9px;color:#9c9f89}.gallery-panel{margin-top:24px}.gallery-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 0}.gallery-heading h2{font-size:17px}.gallery-heading h2 span{font-size:11px;color:#5b8559;background:#edf3e5;padding:4px 9px;border-radius:20px;margin-left:7px}.gallery-heading p{font-size:11px;color:#929886;margin-top:9px}.danger-text{color:#a17c6d;background:transparent;border:0;font-size:11px}.gallery{display:flex;gap:13px;overflow-x:auto;min-height:145px;padding:20px 24px}.empty-gallery{width:100%;display:flex;align-items:center;justify-content:center;gap:16px;color:#a6af99}.empty-gallery>span{font-size:36px;color:#b9c4ab;transform:rotate(-6deg)}.empty-gallery p{font-size:12px;color:#8b9780}.empty-gallery small{display:block;font-size:10px;margin-top:8px;color:#a6ad9b}.photo-card{flex:0 0 166px;padding:0;border-radius:9px;overflow:hidden;background:#f5f7ef;text-align:left}.photo-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.photo-card span{display:flex;justify-content:space-between;padding:9px;font-size:10px;color:#6f7d64}.photo-card small{font-size:9px;color:#939d88}.gallery-footer{background:#f9faf4;border-top:1px solid #eef0e6;padding:12px 24px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8e9883}.gallery-footer span:first-child{color:#77906d}footer{display:flex;justify-content:space-between;color:#a6ad9b;font-size:10px;padding:23px 3px}dialog{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fffefa;color:#283f35;width:min(850px,92vw);max-height:90vh;box-shadow:0 20px 100px #102a3450}dialog::backdrop{background:#203c32aa;backdrop-filter:blur(4px)}.dialog-top,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top{margin-bottom:16px}#large-photo{width:100%;max-height:65vh;object-fit:contain;background:#edf1e7;border-radius:10px}.dialog-actions{margin-top:18px}.dialog-actions>div{display:flex;gap:8px}#confirm-dialog,#help-dialog{max-width:530px}dialog p,dialog li{font-size:14px;line-height:1.9;color:#71806b}dialog p{margin-top:15px}.delete-button{background:#ac5e4d;color:white}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#244f3f;color:white;padding:13px 24px;border-radius:12px;font-size:13px;transition:.2s;z-index:10;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:1450px){main{padding-top:42px}}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.capture-row p{display:none}.shortcut{font-size:9px}.capture-button{padding:13px 18px;font-size:15px}.device-wrap select{max-width:195px}.camera-tools{padding:12px}.header{padding:0 24px}.brand{font-size:18px}.welcome-art{width:150px;height:100px}.welcome-art img{width:150px;height:112px}.welcome h3{font-size:16px}.welcome button{margin-top:10px}.welcome small{margin-top:7px}}@media(max-width:800px){main{padding:24px 16px}.workspace{grid-template-columns:1fr}.header{height:78px;padding:0 16px;gap:8px}.brand{font-size:16px}.brand small{font-size:9px}.brand-mark{width:38px;height:38px;font-size:29px}.privacy{display:none}.quiet{margin-left:auto}.lesson-badge{display:none}h1{font-size:28px}.dinosaur-list{grid-template-columns:repeat(5,1fr);gap:6px}.dino-choice{display:flex;flex-direction:column;height:auto;padding:6px 2px 10px;gap:3px;text-align:center}.dino-choice img{width:100%;height:55px}.dino-choice strong{font-size:10px}.dino-choice small,.dino-choice[aria-pressed=true]:after{display:none}.adjustments{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.size-heading{grid-column:1}.size-row{grid-column:1;margin:0}.control-actions{grid-column:2;grid-row:1 / 3}.reset{grid-column:2}.tip{grid-column:1;grid-row:3;margin:0 0 15px;padding:5px}.camera-tools{padding:12px 16px}.device-wrap select{max-width:250px}.capture-row p{display:block}.capture-row{justify-content:space-between}.gallery-footer{flex-direction:column;gap:8px}.stage{margin:0 10px}.gallery-heading{padding:20px 16px 0}.gallery{padding:20px 16px}.panel-top{padding:16px}.status{font-size:10px}}@media(max-width:480px){.capture-row p,.shortcut{display:none}.capture-row{justify-content:center}.device-wrap label{display:none}.device-wrap select{max-width:200px}.welcome-art{width:100px;height:66px;margin-top:-6px}.welcome-art img{width:100px;height:75px}.spark{font-size:15px}.welcome h3{font-size:14px;margin:0 0 5px}.welcome p{font-size:10px}.welcome button{font-size:12px;padding:9px 14px;margin-top:8px}.welcome small{font-size:9px}.brand small{display:none}.page-heading p:last-child{font-size:12px}.status{max-width:110px;white-space:normal}h2{font-size:13px}.dino-choice strong{font-size:9px}.gallery-heading h2{font-size:14px}.empty-gallery p{font-size:10px}.gallery-footer{font-size:9px}footer{font-size:8px}}
@media(max-width:480px){.adjustments{grid-template-columns:1fr;gap:10px}.size-heading,.size-row,.control-actions,.reset,.tip{grid-column:1;grid-row:auto}.control-actions button{white-space:nowrap;padding:12px}.tip{margin-bottom:16px}.reset{margin:0}.dinosaur-list{grid-template-columns:repeat(3,1fr)}.dino-choice strong{font-size:10px}.dino-choice img{height:65px}}
.camera-flips{display:flex;gap:12px;flex-wrap:wrap}.camera-tools{flex-wrap:wrap}.gallery-actions{display:flex;align-items:center;gap:8px}.gallery-actions>button:first-child{font-size:12px}.print-options{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:18px 0;font-size:13px}.print-options label{display:flex;gap:6px;align-items:center}.print-options select{padding:8px;border:1px solid var(--line);border-radius:7px;background:white}#print-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;max-height:40vh;overflow:auto;padding:4px}#print-selection label{display:grid;grid-template-columns:22px 1fr;gap:6px;align-items:center;font-size:12px;border:1px solid var(--line);border-radius:9px;padding:9px}#print-selection img{width:100%;grid-column:1/-1;border-radius:5px;grid-row:1}#print-selection input{accent-color:var(--green)}#print-summary{font-size:13px;color:var(--green)}#print-area{display:none}@page{size:A4 portrait;margin:10mm}@media print{body{background:white}body> :not(#print-area){display:none!important}#print-area{display:block!important;color:black}.print-page{height:276mm;display:grid;gap:7mm;break-after:page;page-break-after:always}.print-page:last-child{break-after:auto;page-break-after:auto}.layout-1{grid-template-rows:1fr}.layout-2{grid-template-rows:repeat(2,minmax(0,1fr))}.layout-4{grid-template:repeat(2,minmax(0,1fr))/repeat(2,minmax(0,1fr))}.print-page figure{margin:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4mm;break-inside:avoid}.print-page img{width:100%;min-height:0;flex:0 1 auto;object-fit:contain;max-height:calc(100% - 22mm)}.print-page figcaption{text-align:center;font-size:12pt;font-weight:700}.print-page p{font-size:11pt;margin:0;padding:0 2mm}.layout-4 figcaption{font-size:10pt}}
@media(max-width:480px){.gallery-heading{flex-wrap:wrap;gap:12px}.dialog-actions{flex-wrap:wrap}.dialog-actions>div{flex-wrap:wrap}.gallery-actions>button:first-child{font-size:11px}}
.frame-controls{border-top:1px solid var(--line);padding:18px 20px 20px}.frame-controls>p{font-size:11px;color:#849079;margin:10px 0 14px}#frame-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.frame-choice{padding:7px;border-radius:10px;overflow:hidden}.frame-choice canvas{width:100%;height:auto;border-radius:5px;cursor:inherit}.frame-choice strong{display:block;font-size:11px;margin-top:8px}.frame-choice small{display:block;font-size:9px;color:#89947e;margin:4px 0;font-weight:400}.frame-choice[aria-pressed=true]{background:#edf4e6;border-color:#7da565;box-shadow:inset 0 0 0 1px #7da565}@media(max-width:800px){#frame-list{grid-template-columns:repeat(4,1fr)}}@media(max-width:480px){#frame-list{grid-template-columns:repeat(2,1fr)}}
.camera-panel{align-self:start}
/* Keep the lesson introduction compact and camera actions immediately visible. */
.header{height:60px;gap:18px}.brand{font-size:18px}.brand-mark{width:36px;height:36px;border-radius:11px;font-size:28px}.brand small{display:none}.privacy{padding:7px 12px}.quiet{padding:8px 10px}main{padding-top:14px}.page-heading{margin-bottom:14px}.page-heading>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px}.page-heading .eyebrow,.lesson-badge{display:none}.page-heading h1{font-size:23px;letter-spacing:-.8px}.page-heading p:last-child{margin:0;font-size:12px}.camera-panel>.panel-top{padding:12px 16px;flex-wrap:wrap;gap:10px}.camera-top-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.camera-flips{display:flex;gap:7px;flex-wrap:nowrap}.camera-flip{font-size:13px;padding:10px 12px;border-color:#aec2a2;background:#f0f5e9;white-space:nowrap;min-height:40px}.camera-flip[aria-pressed=true]{background:#39775b;color:white;border-color:#39775b;box-shadow:inset 0 0 0 1px #39775b}.camera-flip[aria-pressed=true]:after{content:' ✓'}.camera-flip[aria-pressed=true]:hover{background:#2c634a}.capture-row{gap:16px;flex-wrap:wrap}.capture-row p{display:block;font-size:14px;line-height:1.7;color:#65755d}.capture-row strong{font-size:17px;color:#354e3e}.shortcut{display:block;font-size:14px;color:#65755d;white-space:nowrap}.shortcut kbd{font-size:14px;font-weight:700;margin-right:5px;padding:5px 8px}.status{font-size:12px}@media(min-width:1450px){main{padding-top:14px}}@media(max-width:1050px){.camera-top-actions{gap:10px}.camera-panel>.panel-top h2{font-size:13px}.camera-flip{font-size:12px;padding:9px}.capture-row{justify-content:center}.capture-row p{text-align:center}.shortcut{font-size:13px}}@media(max-width:800px){.header{height:56px;padding:0 16px}.brand{font-size:16px}.page-heading p:last-child{font-size:11px}.camera-top-actions{margin-left:auto}.status{max-width:none;white-space:nowrap}.page-heading h1{font-size:21px}main{padding-top:12px}.capture-row p{display:block}.shortcut{display:block}}@media(max-width:550px){.camera-panel>.panel-top h2{width:100%;font-size:14px}.camera-top-actions{margin:0;width:100%;justify-content:space-between;gap:6px}.camera-flip{font-size:12px;padding:9px 10px}.status{font-size:10px}.page-heading>div:first-child{gap:5px}.page-heading p:last-child{display:none}.page-heading{margin-bottom:10px}.capture-row{gap:14px;padding:18px 16px}.capture-row p{width:100%;font-size:15px}.capture-row strong{font-size:18px}.shortcut{width:100%;text-align:center;font-size:14px}.header{gap:6px}.brand{font-size:15px}}
