@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#292a37;background:#f6f5f2;font-synthesis:none;--purple:#7361d8;--purple-dark:#5b48bd;--muted:#747482;--line:#e7e5e0;--canvas:#10121f;--focus:#7967dd}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus)}button{transition:background .16s,color .16s,box-shadow .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}button,select{-webkit-tap-highlight-color:transparent}button svg,svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}button[hidden],[hidden]{display:none!important}
.app-header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px;border-bottom:1px solid var(--line);background:#f6f5f2}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:11px;min-width:200px}.brand-mark{width:42px;height:42px}.brand strong{font-size:20px;letter-spacing:-.8px;display:block;font-weight:750}.brand small{display:block;font-size:9px;letter-spacing:2.5px;margin-top:5px;color:#787687;font-weight:650}.view-switch{display:flex;gap:4px;background:#eae8e3;border-radius:30px;padding:5px}.view-switch button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#777482;padding:11px 18px;border-radius:24px;font-size:13px;font-weight:600;white-space:nowrap}.view-switch button[aria-pressed=true]{background:#fff;color:#44336e;box-shadow:0 2px 6px #3026420b}.header-actions{display:flex;gap:12px;align-items:center}.primary-btn,.outline-btn,.quiet-btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;border:1px solid transparent;min-height:40px;font-size:12px;font-weight:600;white-space:nowrap}.primary-btn{background:var(--purple);color:white;padding:11px 16px;border-color:var(--purple)}.primary-btn:hover{background:var(--purple-dark)}.outline-btn{background:#fff;color:#5c506f;border-color:#dbd6e7;padding:10px 14px}.outline-btn:hover{background:#f0edf8}.quiet-btn{padding:8px 10px;color:#6c687b;background:transparent}.quiet-btn:hover,.icon-btn:hover{background:#eae7e1}.icon-btn{width:38px;padding:8px;background:transparent;color:#797483}.studio{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:calc(100dvh - 92px)}.controls{background:#fbfaf7;border-right:1px solid var(--line);padding:27px 22px 20px;display:flex;flex-direction:column;gap:23px}.panel-heading .eyebrow{font-size:9px;color:#a39bae;letter-spacing:1.5px}.panel-heading h1{font-size:25px;line-height:1.36;letter-spacing:-1.25px;font-weight:600;margin:12px 0 8px}.panel-heading p{color:#9993a0;font-size:11px;margin:0}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:var(--purple)}.control-section{border-top:1px solid var(--line);padding-top:17px}.control-section h2{display:flex;justify-content:space-between;font-size:12px;margin:0 0 13px;font-weight:650;color:#565060}.control-section h2>span{font-size:10px;letter-spacing:1px;color:#aaa3b5;font-weight:400}.symmetry-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.symmetry-options button{padding:9px 2px 10px;background:#fff;border:1px solid #e4e0e9;border-radius:11px;color:#8d849f;min-width:0}.symmetry-options button[aria-pressed=true]{border-color:#a89bdb;background:#f1edf9;color:#6a54b8;box-shadow:inset 0 0 0 1px #a89bdb20}.symmetry-options svg{display:block;width:58px;height:40px;margin:0 auto 4px;stroke-width:1}.shape-a{fill:currentColor;opacity:.9;stroke:none}.shape-b{fill:currentColor;opacity:.3;stroke:none}.dash{stroke:currentColor;stroke-dasharray:2 3;opacity:.6}.symmetry-options strong{font-size:12px;display:block;font-weight:650}.symmetry-options small{font-size:9px;display:block;margin-top:4px;letter-spacing:-.3px;color:#8f829f}.axis-options,.brush-options{display:flex;gap:3px;background:#edeae5;padding:3px;border-radius:8px;margin-top:10px}.axis-options button,.brush-options button{flex:1;min-width:0;min-height:30px;font-size:10px;border:0;background:transparent;border-radius:6px;color:#837b8c;padding:6px 2px;white-space:nowrap}.axis-options button[aria-pressed=true],.brush-options button[aria-pressed=true]{background:white;color:#5e4885;box-shadow:0 1px 3px #00000008}.mode-note{font-size:10px;color:#928997;margin:11px 0 0;line-height:1.5;min-height:15px}.drawing-tools{display:flex;justify-content:space-between;gap:2px}.drawing-tools button{border:0;background:transparent;color:#918998;border-radius:8px;display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:6px;padding:8px 2px;font-size:9px}.drawing-tools button[aria-pressed=true]{background:#eee8f8;color:#7455bd}.drawing-tools button:hover{background:#f1edf6}.drawing-tools svg{width:18px;height:18px}.brush-options{margin-top:10px}.range-label{display:flex;align-items:center;justify-content:space-between;color:#817888;font-size:11px;margin-top:16px}.range-label output{color:#8065b9;font-size:11px}input[type=range]{width:100%;accent-color:#8a72c8;height:20px;margin:5px 0 0;cursor:pointer}.color-label{display:flex;align-items:center;justify-content:space-between;margin-top:11px;font-size:11px;color:#817888}.custom-color{position:relative;width:22px;height:22px;border-radius:50%;border:1px solid #d6cde0;display:grid;place-items:center;overflow:hidden;color:#93809f}.custom-color svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5}.custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.palette{display:flex;justify-content:space-between;margin-top:8px;gap:5px}.palette button{width:24px;height:24px;min-width:20px;border-radius:50%;border:3px solid #fbfaf7;box-shadow:0 0 0 1px transparent;padding:0;position:relative}.palette button[aria-pressed=true]{box-shadow:0 0 0 1.5px #7d6c98}.palette button[aria-pressed=true]:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#2a233b;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffff88}.display-section{padding-top:15px}.display-section h2{margin-bottom:6px}.switch-label{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:33px;font-size:11px;color:#7d7388;cursor:pointer}.switch-label input{position:absolute;right:0;opacity:0;width:34px;height:22px}.switch-label i{display:block;width:28px;height:16px;background:#dcd7e1;border-radius:20px;position:relative;pointer-events:none}.switch-label i:after{content:'';position:absolute;width:12px;height:12px;background:white;left:2px;top:2px;border-radius:50%;transition:transform .2s;box-shadow:0 1px 2px #0002}.switch-label input:checked+i{background:#9680c9}.switch-label input:checked+i:after{transform:translateX(12px)}.switch-label input:focus-visible+i{outline:2px solid var(--focus);outline-offset:4px}.panel-foot{display:flex;gap:7px;align-items:center;margin-top:auto;font-size:9px;color:#a49aa8;padding-top:3px;line-height:1.5}.save-dot{width:5px;height:5px;background:#89a99d;border-radius:50%;flex-shrink:0}.panel-foot.error .save-dot{background:#d49062}.panel-foot.error{color:#aa7047}.workspace{padding:20px 28px 0;min-width:0;display:flex;flex-direction:column;gap:14px}.workbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}.document-name{display:flex;align-items:center;gap:10px;min-width:0}.document-name input{border:0;background:transparent;color:#5c5666;font-size:13px;font-weight:600;padding:5px 0;min-width:0;width:148px;max-width:100%}.document-name input:focus{outline:0;border-bottom:1px solid var(--purple)}.document-name span{font-size:9px;color:#a49aaa;border:1px solid #ddd7e3;padding:4px 7px;border-radius:5px;white-space:nowrap}.workbar-actions{display:flex;align-items:center;gap:3px}.workbar .quiet-btn{font-size:11px}.workbar .icon-btn{width:32px}.divider{height:15px;width:1px;background:#dcd7e0;margin:0 6px}.canvas-shell{position:relative;flex:1;min-height:470px;background:var(--canvas);border-radius:17px;overflow:hidden;box-shadow:0 10px 30px #27213c0b;color:#b7b5c9;isolation:isolate}.canvas-shell:fullscreen{border-radius:0;min-height:100dvh;width:100dvw;background:var(--canvas)}#drawing-canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:crosshair}.canvas-shell.erasing #drawing-canvas{cursor:cell}.canvas-topline,.canvas-bottomline{position:absolute;left:23px;right:23px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:2;pointer-events:none}.canvas-topline{top:17px}.canvas-bottomline{bottom:20px;font-size:10px;color:#66677f}.canvas-topline button{pointer-events:auto}.canvas-badge{display:inline-flex;gap:7px;align-items:center;border:1px solid #ffffff12;background:#24253799;backdrop-filter:blur(8px);font-size:10px;color:#b4adc9;padding:7px 10px;border-radius:20px}.canvas-badge i{display:inline-block;width:5px;height:5px;background:#b5a1f0;border-radius:50%}.canvas-action{display:flex;gap:5px;align-items:center;color:#9290a6;font-size:10px;border:0;background:transparent;padding:7px;border-radius:7px}.canvas-action:hover{background:#ffffff0c;color:#d5cfea}.canvas-action svg{width:13px;height:13px}.canvas-corner{font-size:8px;letter-spacing:1.8px;color:#535469;white-space:nowrap}.canvas-invitation{position:absolute;text-align:center;bottom:12%;left:0;right:0;pointer-events:none;z-index:1}.canvas-invitation>span{font-size:16px;letter-spacing:2px;color:#c0b1e3;font-weight:300}.canvas-invitation p{font-size:10px;letter-spacing:.25px;color:#6e698b;margin:10px 0 0}.canvas-empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none;text-align:center;width:90%;background:radial-gradient(ellipse,#10121fe6,transparent 70%);padding:40px 0}.canvas-empty svg{width:33px;height:33px;fill:none;stroke:#7d6bac;stroke-width:.9;margin-bottom:10px}.canvas-empty strong{font-size:18px;font-weight:400;letter-spacing:-.5px;color:#b3a8cf}.canvas-empty span{font-size:11px;color:#6f6885}.explore-strip{display:flex;align-items:center;gap:12px;padding:13px 17px;background:#efede7;border-radius:11px;min-height:74px}.concept-icon{width:35px;height:35px;display:grid;place-items:center;color:#9483ad;border:1px solid #dcd5e1;border-radius:50%;flex-shrink:0}.concept-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3}.concept-copy{flex:1;display:flex;flex-direction:column;gap:6px}.concept-copy strong{font-size:12px;font-weight:600;color:#676073}.concept-copy span{font-size:10px;color:#968d9b;line-height:1.5}.explore-strip .outline-btn{font-size:10px;min-height:36px;background:transparent;padding:8px 11px}.explore-strip>.primary-btn{display:none}.workspace-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a69fac;padding:0 0 15px;gap:12px;line-height:1.6}.workspace-footer>div{display:flex;align-items:center;gap:9px}.workspace-footer button{border:0;background:none;color:#93849f;font-size:9px;padding:2px 0}.workspace-footer button:hover{text-decoration:underline}.ink-legend{display:flex;gap:14px;font-size:10px}.ink-legend span{display:flex;align-items:center;gap:5px}.ink-legend i{width:14px;height:2px;background:#6858cb}.ink-legend span:nth-child(2) i{background:#db8364}.learn .canvas-shell{--canvas:#fffefa;border:1px solid #e7e2d9;box-shadow:0 10px 30px #58402205;color:#6d617a}.learn .canvas-badge{background:#f2edf7c9;border-color:#e6dfef;color:#877098}.learn .canvas-badge i{background:#a38bbd}.learn .canvas-action{color:#a798aa}.learn .canvas-action:hover{background:#eee7f6;color:#756286}.learn .canvas-bottomline{color:#9b8ba5}.learn .canvas-corner{color:#b2a5ba}.learn .canvas-invitation>span{color:#8063a2}.learn .canvas-invitation p{color:#a291b4}.learn .canvas-empty{background:radial-gradient(ellipse,#fffefaee,transparent 75%)}.learn .canvas-empty strong{color:#8e75a6}.learn .canvas-empty span{color:#ab9ab9}.learn .explore-strip{background:#ece6f6}.learn .explore-strip>.primary-btn{display:inline-flex;font-size:11px}.learn .concept-copy strong{color:#69568d}.learn .concept-copy span{color:#8e7d9f}.challenge-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border:1px solid #d9cfee;border-radius:11px;background:#f0ebf9}.challenge-strip strong{font-size:12px;color:#655083}.challenge-strip p{font-size:11px;color:#91829f;margin:6px 0 0;line-height:1.5}.challenge-actions{display:flex;gap:6px;align-items:center}.challenge-actions button{font-size:11px}.challenge-strip.success{border-color:#b4d5bf;background:#ebf4ec}.challenge-strip.success p{color:#54805c}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);background:#3b324c;color:#fff;border:1px solid #ffffff18;border-radius:12px;box-shadow:0 8px 24px #20182a25;font-size:12px;padding:14px 20px;z-index:20;line-height:1.6;text-align:center}
dialog{border:1px solid #e7e1ed;background:#faf9f6;color:#41394e;border-radius:22px;padding:28px;width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 100px #110d2c44}dialog::backdrop{background:#15102772;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.dialog-heading h2{font-size:24px;letter-spacing:-1px;font-weight:550;margin:10px 0}.dialog-heading p{color:#97899f;font-size:12px;line-height:1.7;margin:8px 0 0}.dialog-heading .icon-btn{flex-shrink:0}.dialog-note{font-size:11px;color:#9b8ca7;line-height:1.8;margin:22px 0 0}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.gallery-card{border:0;padding:0;background:transparent;text-align:left;color:#5f526f}.gallery-card canvas{width:100%;aspect-ratio:1;border-radius:12px;display:block;background:#10121f;transition:transform .2s,box-shadow .2s}.gallery-card:hover canvas{transform:translateY(-3px);box-shadow:0 8px 18px #382d4920}.gallery-card strong{font-size:12px;font-weight:600;display:block;margin-top:10px}.gallery-card span{font-size:10px;display:block;color:#a091ab;margin-top:4px}.export-content{display:grid;grid-template-columns:1fr 230px;gap:28px}.export-content>canvas{width:100%;aspect-ratio:1;border-radius:12px;background:conic-gradient(#e9e5ee 25%,#f7f5fa 0 50%,#e9e5ee 0 75%,#f7f5fa 0) 0 0/20px 20px}.export-options{display:flex;flex-direction:column;gap:12px}.export-options>label:not(.check-label){font-size:11px;color:#94849f;margin-bottom:-5px}.export-options select{width:100%;border:1px solid #ddd5e6;border-radius:9px;padding:10px;color:#766080;background:#fff;font-size:12px}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#84748e;margin:5px 0 8px;min-height:25px}.check-label input{accent-color:var(--purple)}.export-options p{font-size:10px;color:#a799af;line-height:1.8;margin:0}.challenge-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.challenge-choices button{background:#f1ecf8;border:1px solid #ded3ef;border-radius:13px;padding:14px 8px;color:#8a6db0;display:flex;flex-direction:column;align-items:center;gap:9px}.challenge-choices button:hover{background:#e9e0f5;border-color:#baa4d5}.challenge-choices svg{width:100%;height:95px;stroke-width:2;stroke:#9775bf;fill:none}.challenge-choices strong{font-size:13px}.challenge-choices span{font-size:10px;color:#a189b8}.small-dialog{max-width:420px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.help-list{padding-left:23px;margin:0;display:grid;gap:20px;color:#9683aa;font-size:13px}.help-list strong{color:#766083;font-weight:600}.help-list p{font-size:12px;line-height:1.9;color:#96899f;margin:6px 0 0}.shortcut-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #e7e0ec;font-size:10px;color:#97869f}kbd{font-family:inherit;background:#eee8f3;border-radius:4px;padding:2px 4px;font-size:9px}
@media(min-width:1000px) and (min-height:850px){.controls{gap:28px;padding-top:34px}.canvas-shell{min-height:550px}.workspace{padding-top:24px;gap:18px}.panel-heading h1{font-size:28px}.control-section{padding-top:21px}.control-section h2{margin-bottom:16px}}
@media(min-width:1000px){.studio{height:calc(100dvh - 92px);min-height:740px}.controls{overflow:auto}.workspace{min-height:0}}
@media(max-width:1100px){.app-header{padding:0 22px;gap:12px}.brand{min-width:185px}.header-actions{gap:6px}.header-actions .gallery-open span{display:none}.studio{grid-template-columns:242px minmax(0,1fr)}.controls{padding-left:17px;padding-right:17px}.workspace{padding-left:18px;padding-right:18px}.concept-icon{display:none}.concept-copy span{max-width:220px}.explore-strip{padding:13px}.canvas-corner{display:none}.document-name input{width:115px}.document-name span{display:none}.workspace-footer>span{display:none}.workspace-footer{justify-content:flex-end}}
@media(max-width:800px){.app-header{height:auto;min-height:80px;padding:16px 20px;flex-wrap:wrap}.brand{flex:1}.brand strong{font-size:18px}.brand-mark{width:36px;height:36px}.header-actions{order:2}.view-switch{order:3;width:100%;justify-content:center}.view-switch button{flex:1;justify-content:center;padding:10px}.header-actions .gallery-open{display:none}.header-actions #help-open{display:none}.studio{grid-template-columns:1fr;min-height:0}.controls{order:2;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px;border-right:0;border-top:1px solid var(--line);margin-top:12px}.panel-heading{display:none}.control-section{border:0;padding:0}.control-section h2{font-size:12px}.symmetry-options button{padding:9px}.symmetry-options small{font-size:10px}.brush-options button,.axis-options button{font-size:11px;min-height:34px}.display-section{border-top:1px solid var(--line);grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;padding-top:18px}.display-section h2{display:none}.switch-label{flex:1;min-width:145px;gap:14px;font-size:12px}.panel-foot{grid-column:1/-1;margin-top:-5px;font-size:10px}.workspace{order:1;padding:14px 18px 0;gap:12px}.canvas-shell{min-height:0;height:65vw;max-height:660px;flex:auto}.canvas-invitation{bottom:12%}.canvas-bottomline{bottom:14px;left:17px;right:17px}.canvas-bottomline #canvas-hint{font-size:9px;max-width:60%}.canvas-topline{top:12px;left:14px;right:14px}.explore-strip{min-height:72px}.concept-copy span{max-width:none}.workspace-footer{padding:0}.document-name input{width:160px}.document-name span{display:inline-block}.canvas-empty strong{font-size:16px}.canvas-empty span{font-size:10px}.ink-legend{gap:10px;font-size:9px}.challenge-strip{padding:12px;flex-wrap:wrap}.challenge-actions{margin-left:auto}.control-section .palette button{width:27px;height:27px}.drawing-tools button{font-size:10px;min-height:48px}.range-label,.color-label{font-size:12px}}
@media(max-width:480px){.app-header{padding:14px 16px 12px;gap:14px}.brand{min-width:0;gap:8px}.brand strong{font-size:17px}.brand small{font-size:8px;letter-spacing:1.8px}.header-actions .primary-btn{font-size:11px;padding:10px 12px;gap:5px}.header-actions .primary-btn svg{width:15px}.workspace{padding:12px 12px 0}.workbar{gap:4px}.document-name input{width:115px;font-size:12px}.document-name span{display:none}.workbar .quiet-btn{padding:6px}.workbar-actions{gap:0}.workbar .icon-btn{width:30px;padding:6px;min-height:36px}.workbar .divider{margin:0 3px}.workbar #fullscreen{display:none}.workbar .quiet-btn svg{width:15px}.canvas-shell{height:90vw;border-radius:13px}.canvas-invitation>span{font-size:13px;letter-spacing:1px}.canvas-invitation p{font-size:9px}.canvas-bottomline{bottom:11px;font-size:8px}.canvas-bottomline #canvas-hint{max-width:100%}.ink-legend{display:none!important}.explore-strip{gap:8px;flex-wrap:wrap;padding:13px}.concept-copy{min-width:170px}.concept-copy strong{font-size:11px}.concept-copy span{font-size:9px}.explore-strip .outline-btn{font-size:10px;min-height:33px}.learn .explore-strip>.primary-btn{margin-left:auto;font-size:10px;padding:8px 10px;min-height:32px}.controls{padding:20px 17px;gap:20px 15px;grid-template-columns:1fr 1.15fr}.symmetry-options{gap:5px}.symmetry-options button{padding:8px 0}.symmetry-options svg{width:47px}.symmetry-options small{font-size:8px}.symmetry-options strong{font-size:11px}.mode-note{font-size:9px}.axis-options button,.brush-options button{font-size:9px;min-height:30px}.drawing-tools svg{width:15px;height:15px}.drawing-tools button{font-size:8px;padding:6px 0;min-height:40px}.control-section .palette button{width:20px;height:20px;min-width:18px;border-width:2px}.palette{gap:1px}.range-label,.color-label{font-size:10px}.display-section{gap:7px 20px}.switch-label{font-size:11px;min-width:135px}.workspace-footer button{font-size:9px}.workspace-footer>div{gap:6px}.workspace-footer{justify-content:center;font-size:8px}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:16px}.export-content{grid-template-columns:1fr}.export-content>canvas{max-width:230px;margin:auto}.export-options{gap:10px}.export-options>label:not(.check-label){margin-bottom:0}.dialog-heading h2{font-size:20px}.dialog-heading p{font-size:11px}dialog{padding:22px 18px;border-radius:16px}.challenge-choices{gap:8px}.challenge-choices svg{height:65px}.challenge-choices span{font-size:9px}.challenge-choices strong{font-size:11px}.challenge-choices button{padding:10px 3px}.help-list{padding-left:19px}.shortcut-row{flex-direction:column}.canvas-badge{font-size:9px;padding:6px 8px}.canvas-action{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.mobile-toolbar{display:none}
@media(min-width:801px) and (max-height:850px){.app-header{height:76px}.studio{height:calc(100dvh - 76px);min-height:600px}.controls{gap:19px;padding-top:23px;overflow:auto}.panel-heading{display:none}.workspace{padding-top:16px;gap:12px}.canvas-shell{min-height:350px}}
@media(max-width:800px){.mobile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-toolbar>div{display:flex;gap:4px}.mobile-toolbar button{font-size:11px;border:1px solid #dfd6e8;background:transparent;color:#8d7a9e;padding:7px 14px;border-radius:8px;min-height:36px}.mobile-toolbar button[aria-pressed=true]{background:#e9e1f5;color:#6b4e98;border-color:#bca7d5}.mobile-toolbar select{font-size:12px;border:1px solid #dfd6e8;border-radius:8px;background:#faf8fd;color:#8b739a;min-height:36px;padding:6px 9px}.header-actions .gallery-open{display:inline-flex}.header-actions .gallery-open span{display:none}.header-actions .gallery-open{padding:7px;min-width:32px}.header-actions .gallery-open svg{width:17px}}
@media(max-width:360px){.header-actions .primary-btn span{display:none}.header-actions .primary-btn{padding:9px;min-width:36px}.brand small{font-size:7px}.brand strong{font-size:16px}.header-actions{gap:4px}}
/* Sharing, replay and service information */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.legal-footer{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 28px;border-top:1px solid var(--line);font-size:10px;color:#867a91;line-height:1.7}.legal-footer nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.legal-footer a,.legal-footer button{color:#77648c;text-decoration:none}.legal-footer a:hover,.legal-footer button:hover{text-decoration:underline}.legal-footer button{font:inherit;background:transparent;border:0;padding:0;cursor:pointer}
.share-content{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:26px}.share-content>canvas{width:100%;aspect-ratio:1;border-radius:12px;background:#10121f}.share-actions{display:flex;flex-direction:column;gap:12px}.share-actions>label{font-size:12px;line-height:1.6;color:#786587;margin-top:5px}.share-actions textarea{resize:none;width:100%;border:1px solid #d8cde5;border-radius:9px;padding:10px;background:#fff;font:11px/1.7 monospace;color:#78638c;overflow-wrap:anywhere}.share-actions p{font-size:11px;line-height:1.8;color:#8a7899;margin:0}.share-actions .primary-btn,.share-actions .outline-btn{justify-content:center}
.viewer-dialog{width:min(820px,calc(100vw - 32px))}.viewer-dialog .dialog-heading{margin-bottom:16px}.viewer-dialog .dialog-heading h2{overflow-wrap:anywhere}.viewer-dialog #viewer-canvas{display:block;width:min(100%,440px);height:auto;aspect-ratio:1;margin:0 auto;border-radius:12px;background:#10121f}.replay-controls{display:flex;align-items:center;gap:12px;margin-top:20px}.replay-controls>button{white-space:nowrap;min-width:128px;font-size:12px;justify-content:center}.replay-controls input{flex:1;min-width:60px;margin:0}.replay-controls output{font-size:11px;color:#8b7899;white-space:nowrap;font-variant-numeric:tabular-nums}.replay-controls select{background:#fff;border:1px solid #dbd1e6;border-radius:7px;padding:7px;color:#796288;font-size:11px}.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.viewer-footer p{font-size:10px;color:#96869f;line-height:1.7;margin:0}.viewer-footer button{font-size:11px;white-space:nowrap}
.legal-page{min-height:100dvh;background:#f6f5f2;color:#5b4e68}.legal-header{max-width:1000px;margin:0 auto;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e4dde9}.legal-brand{font-size:20px;letter-spacing:-.8px;font-weight:650;color:#705aaa;text-decoration:none}.legal-header .outline-btn{font-size:12px;text-decoration:none}.legal-document{max-width:900px;margin:0 auto;padding:55px 32px 40px;line-height:1.9}.legal-document h1{font-size:34px;line-height:1.4;letter-spacing:-1.3px;font-weight:600;margin:14px 0}.legal-intro{font-size:17px;color:#8b789b}.legal-date{font-size:12px;color:#998ba5}.legal-summary{background:#eee8f5;border:1px solid #dfd2ef;border-radius:14px;padding:22px 26px;margin:30px 0}.legal-summary strong{font-size:15px}.legal-summary ul{margin:12px 0 0;padding-left:22px;font-size:13px}.legal-document section{margin:36px 0}.legal-document h2{font-size:19px;color:#69517f;letter-spacing:-.5px;margin:0 0 12px}.legal-document p{font-size:14px;margin:12px 0;overflow-wrap:anywhere}.legal-document a,.legal-page-footer a{color:#7553a8;text-underline-offset:3px}.legal-document code{font-size:12px;background:#ece6f3;padding:2px 5px;border-radius:4px}.legal-table-wrap{overflow:auto;border:1px solid #dfd6e8;border-radius:10px;margin:20px 0}.legal-document table{border-collapse:collapse;width:100%;min-width:530px;font-size:12px;text-align:left}.legal-document th{background:#eee8f5;font-weight:600}.legal-document th,.legal-document td{padding:14px;vertical-align:top;border-bottom:1px solid #e4dceb}.legal-document tr:last-child td{border-bottom:0}.legal-document th:first-child{width:31%}.legal-page-footer{max-width:900px;margin:0 auto;padding:24px 32px 36px;border-top:1px solid #e4dde9;color:#9a8aa5;font-size:11px;line-height:1.8}.legal-page-footer a{margin-left:16px}
@media(min-width:1000px){.studio{height:calc(100dvh - 132px)}}
@media(min-width:801px) and (max-height:850px){.studio{height:calc(100dvh - 116px)}}
@media(max-width:800px){.legal-footer{flex-direction:column;align-items:center;text-align:center;padding:18px 20px;margin-top:18px}.legal-footer nav{justify-content:center;gap:8px 16px}.share-content{grid-template-columns:1fr 240px;gap:18px}}
@media(max-width:580px){.share-content{grid-template-columns:1fr}.share-content>canvas{max-width:210px;margin:0 auto}.replay-controls{flex-wrap:wrap;gap:10px}.replay-controls input{order:4;flex-basis:100%}.replay-controls output{margin-left:auto}.replay-controls>button{min-width:0}.viewer-footer{flex-direction:column;align-items:flex-start}.viewer-footer button{align-self:flex-end}.viewer-dialog #viewer-canvas{width:min(100%,340px)}.legal-header{padding:20px 18px}.legal-brand{font-size:17px}.legal-header .outline-btn{font-size:10px;padding:8px 10px}.legal-document{padding:34px 20px 24px}.legal-document h1{font-size:28px}.legal-document .legal-intro{font-size:15px}.legal-document p{font-size:13px}.legal-summary{padding:18px 20px}.legal-page-footer{padding:22px 20px}.legal-page-footer a{display:block;margin:8px 0 0}}
@media(max-width:480px){.header-actions .primary-btn span,.header-actions #share-open span{display:none}.header-actions .primary-btn,.header-actions #share-open{padding:9px;min-width:36px}.header-actions #share-open svg{width:16px;height:16px}.header-actions{gap:5px}.app-header{gap:12px}}
@media(max-height:740px) and (min-width:581px){.viewer-dialog #viewer-canvas{width:min(100%,340px)}.viewer-dialog{padding:22px}.viewer-dialog .dialog-heading h2{font-size:21px;margin:5px 0}.viewer-dialog .dialog-heading{margin-bottom:10px}}
