:root{--cream:#f8f5ec;--paper:#fffdf7;--blue:#123b91;--red:#e82c30;--ink:#1b2c43;--muted:#7c817d;--line:#e1e2d9;--yellow:#ffdb3f;--display:"Barlow Condensed",Impact,sans-serif;--body:"DM Sans",Arial,sans-serif;--mono:"IBM Plex Mono",monospace;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:#e9ecdf;color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}a{color:inherit;text-decoration:none}button:disabled{opacity:.38;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #d7a31c;outline-offset:4px}svg{display:block;width:21px;height:21px;flex-shrink:0}h1,h2,p{margin:0}[hidden]{display:none!important}canvas{display:block;width:100%;height:auto}::selection{background:var(--yellow);color:var(--blue)}.skip-link{position:fixed;left:12px;top:-80px;padding:15px;background:var(--blue);color:#fff;z-index:100}.skip-link:focus{top:10px}.app-shell{max-width:1440px;min-height:100dvh;margin:auto;background:var(--cream);box-shadow:0 0 60px #2733290a}.app-header{height:90px;display:flex;align-items:center;gap:30px;padding:0 5%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:9px;align-items:center;width:166px}.brand>svg{width:43px;height:43px}.brand b,.brand strong{display:block;font:800 italic 28px/.83 var(--display);letter-spacing:-.4px}.brand b{color:var(--red)}.brand strong{font-size:23px;color:var(--blue);margin-top:5px;border-bottom:2px solid var(--blue);padding-bottom:4px}.app-nav{display:flex;align-items:center;gap:28px;margin:auto;font-size:12px;color:#82887a}.app-nav .current{color:var(--blue);font-weight:700;display:flex;align-items:center;gap:8px}.app-nav i{width:5px;height:5px;background:var(--red);border-radius:50%}.app-nav a:hover{color:var(--blue)}.round-button{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:#fffdfa}.round-button:hover:not(:disabled){background:var(--yellow)}.help-button{margin-left:70px}#pfp-main{padding:32px 5% 26px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.eyebrow{font:500 8px var(--mono);letter-spacing:1.1px;color:#8a907e}.studio-heading h1{font:750 clamp(32px,3.2vw,47px)/1.05 var(--display);color:var(--blue);letter-spacing:-.5px;margin-top:9px}.studio-heading h1 span{color:var(--red)}.flow-steps{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:10px;color:#949b8d}.flow-steps>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.flow-steps b{font:500 9px var(--mono);display:flex;align-items:center;justify-content:center;width:21px;height:21px;border:1px solid #d8dece;border-radius:50%;font-weight:400}.flow-steps i{height:1px;width:19px;background:#d6dcce}.flow-steps .current{color:var(--blue);font-weight:700}.flow-steps .current b{background:var(--blue);border-color:var(--blue);color:#fff}.flow-steps .complete b{background:#e0ead2;color:#4b6941;border-color:#c7d9b6}.editor-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);border:1px solid #e0e4d7;border-radius:24px;background:var(--paper);overflow:hidden;box-shadow:0 14px 40px #162e3f06}.preview-area{min-width:0;background:#eaf0e2;padding:23px 28px 18px;border-right:1px solid #dfe6d6}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.pfp-compare{display:flex;background:#dde5d5;border:1px solid #d6dfcd;border-radius:24px;padding:4px;gap:3px}.pfp-compare button{padding:8px 17px;border-radius:20px;font-size:10px;font-weight:550;transition:background .15s,color .15s}.pfp-compare .active{background:var(--paper);color:var(--blue);box-shadow:0 1px 5px #263b4a0e;font-weight:700}.change-photo{display:flex;align-items:center;gap:7px;font-size:10px;color:#637655;min-height:36px;padding:0 2px}.change-photo svg{width:17px;height:17px}.change-photo strong{font-weight:550}.app-shell:not(.has-photo) .change-photo{visibility:hidden}.preview-mat{max-width:510px;margin:auto;position:relative}.pfp-stage{position:relative;aspect-ratio:1;width:100%;border-radius:18px;overflow:hidden;background-color:var(--paper);background-image:conic-gradient(#e5e9df 25%,transparent 0 50%,#e5e9df 0 75%,transparent 0);background-size:18px 18px;box-shadow:0 8px 25px #19333b0b;transition:border-radius .18s}.pfp-stage:not(.has-photo){background:var(--paper);box-shadow:none;border:1px dashed #c2ceb5}.pfp-stage.circle-preview{border-radius:50%}.pfp-stage.drag-over{outline:3px dashed var(--blue);outline-offset:-4px}#pfp-canvas{cursor:grab;touch-action:none}#pfp-canvas.dragging{cursor:grabbing}#pfp-canvas.targeting{cursor:crosshair}.pfp-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;gap:17px}.upload-orbit{position:relative;display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:25px;background:#edf1e6;transform:rotate(-8deg);color:var(--blue);margin-bottom:3px}.upload-orbit>svg{width:34px;height:34px;transform:rotate(8deg)}.upload-orbit i{position:absolute;right:-6px;bottom:-5px;background:var(--red);color:#fff;font:22px var(--body);width:29px;height:29px;border-radius:50%;border:3px solid var(--paper);font-style:normal;display:flex;align-items:center;justify-content:center}.pfp-empty>strong{font:750 41px/.98 var(--display);letter-spacing:-.4px;color:var(--blue)}.pfp-empty>span:not(.upload-orbit){font-size:12px;line-height:1.65;color:#849078}.pfp-empty>b{display:flex;align-items:center;gap:20px;background:var(--blue);color:#fff;font-size:12px;border-radius:12px;padding:15px 19px;margin-top:2px}.pfp-empty>small{font-size:8px;color:#9aa28f}.preview-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:#86927b;margin:17px auto 0;max-width:510px}.shape-toggle{display:flex;align-items:center;gap:6px;font-size:9px;cursor:pointer;white-space:nowrap;color:#687e59}.shape-toggle input{position:absolute;opacity:0;width:1px;height:1px}.shape-icon{width:14px;height:14px;display:block;border:1px solid #91a382;border-radius:50%;background:transparent}.shape-toggle input:checked+.shape-icon{background:var(--blue);border-color:var(--blue);box-shadow:inset 0 0 0 3px #eaf0e2}.shape-toggle input:focus-visible+.shape-icon{outline:3px solid #d7a31c;outline-offset:3px}.tool-dock{padding:28px 27px 24px;display:flex;flex-direction:column;min-width:0}.dock-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.dock-heading h2{font:650 32px/1 var(--display);color:var(--blue);margin-top:8px}.dock-heading .round-button{background:var(--paper);border-color:#e4e7db}.dock-heading .round-button svg{width:17px;height:17px}.tool-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:21px}.tool-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;min-height:43px;font-size:11px;font-weight:550;color:#8d9583;transition:background .15s}.tool-tabs button svg{width:19px;height:19px}.tool-tabs .active{background:#edf2e5;color:var(--blue)}.tool-panels{min-height:113px}.panel-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#586d4c;margin-bottom:14px;font-weight:550}.panel-label small{font-size:9px;color:#99a08e;font-weight:400}.panel-label output{font:500 10px var(--mono);color:var(--blue)}.move-tools{display:flex;align-items:center;gap:10px}.pfp-nudge{display:flex;gap:5px;flex:1}.pfp-nudge button{flex:1;min-width:0;min-height:43px;border:1px solid #e0e5d7;border-radius:11px;font-size:20px;color:var(--blue)}.pfp-nudge button:hover:not(:disabled){background:#eef2e5}.target-button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dfe6d3;border-radius:11px;min-height:43px;padding:0 10px;font-size:9px;color:#60794e;white-space:nowrap}.target-button svg{width:17px;height:17px}.target-button[aria-pressed=true]{background:var(--blue);color:#fff;border-color:var(--blue)}.slider-row{display:flex;align-items:center;gap:10px}.slider-row>button{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);flex-shrink:0;font-size:20px;color:var(--blue)}input[type=range]{display:block;width:100%;height:28px;margin:0;accent-color:var(--blue);cursor:pointer;min-width:0}.panel-hint{font-size:9px;color:#9ba28f;margin-top:10px;line-height:1.5}.tilt-actions{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.tilt-actions button{display:flex;align-items:center;gap:5px;font-size:10px;color:#6d805c;padding:4px 0;min-height:24px}.tilt-actions svg{width:15px;height:15px}.pfp-status{font-size:10px;color:#6e825c;line-height:1.6;border-left:2px solid #a5ba91;padding-left:10px;margin:0 0 16px}.pfp-status:empty{display:none}.pfp-status.is-error{color:#b73131;border-color:var(--red)}.dock-tip{position:relative;overflow:hidden;border-radius:14px;background:#f1efe5;display:flex;align-items:center;gap:16px;padding:22px 15px;margin-top:auto;min-height:100px}.dock-tip>span{font:33px var(--body);color:var(--red)}.dock-tip p{font-size:12px;line-height:1.6;color:#8e9582;z-index:1}.dock-tip strong{color:var(--blue);font-weight:600}.dock-tip img{position:absolute;right:-18px;bottom:-82px;width:150px;height:150px;object-fit:contain;transform:rotate(17deg);opacity:.8}.editor-actions{margin-top:22px}.primary-button{min-height:52px;width:100%;border-radius:13px;background:var(--red);color:var(--paper);display:flex;align-items:center;justify-content:center;gap:17px;font-size:13px;font-weight:650;box-shadow:0 4px #b51e22;transition:background .15s,transform .15s}.primary-button:hover:not(:disabled){background:#db2529}.primary-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #b51e22}.primary-button svg{width:19px;height:19px}.editor-actions .primary-button{justify-content:space-between;padding:0 20px}.editor-actions>p{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;color:#a3aa98;margin-top:16px}.editor-actions>p svg{width:11px;height:11px}.app-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 5%;padding:21px 0 25px;border-top:1px solid var(--line);font-size:9px;color:#89957d}.app-footer>span{font:7px var(--mono);letter-spacing:.7px;color:#a4ad99}.app-footer a:hover{color:var(--blue)}.result-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.back-button{display:flex;align-items:center;gap:9px;color:#6d7b60;font-size:11px;padding:9px 0}.back-button svg{width:17px;height:17px}.ready-pill{display:flex;align-items:center;gap:5px;border:1px solid #ceddc1;border-radius:24px;padding:6px 10px;font:7px var(--mono);letter-spacing:.4px;color:#6c8857;background:#eef3e8}.ready-pill svg{width:12px;height:12px}.result-grid{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:9%;max-width:1030px;margin:0 auto}.share-card-frame{border-radius:18px;overflow:hidden;box-shadow:0 15px 45px #1c375515;border:1px solid #e2e2d3;max-width:480px;width:100%;margin:auto;transform:rotate(-1.5deg)}.share-card-frame canvas{aspect-ratio:4/5}.result-details h1{font:750 75px/.95 var(--display);color:var(--blue);letter-spacing:-1.1px;margin-top:16px}.result-details h1>span{color:var(--red)}.result-description{font-size:13px;line-height:1.8;color:#8b947f;margin-top:22px}.result-buttons{display:flex;flex-direction:column;gap:13px;margin-top:30px}.secondary-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;border:1px solid #cdd7c1;background:#fdfcf5;border-radius:13px;font-size:12px;font-weight:600;color:var(--blue)}.secondary-button svg{width:18px;height:18px}.share-button{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#6c8258;min-height:40px}.share-button svg{width:17px;height:17px}.result-note{font-size:9px;line-height:1.8;color:#9da68f;text-align:center;margin-top:14px}.result-domain{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:27px;padding-top:19px;font:8px var(--mono);letter-spacing:1.2px;color:#96a189}.result-domain span{font-size:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,14px);background:var(--blue);color:#fff;border-radius:14px;box-shadow:0 6px 25px #0d2c6840;font-size:12px;line-height:1.5;padding:14px 20px;opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;text-align:center;z-index:100;transition:opacity .18s,transform .18s}.toast.visible{opacity:1;transform:translate(-50%)}dialog{border:0;border-radius:24px;max-width:440px;width:calc(100% - 32px);padding:26px;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #092b5055}dialog::backdrop{background:#071f4b80;backdrop-filter:blur(5px)}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.help-heading h2{font:700 32px var(--display);color:var(--blue)}.help-heading button{font-size:22px}.help-heading+ol{padding-left:21px;font-size:12px;line-height:1.8;color:#7d8c6d}.help-heading+ol li{padding:10px 0 10px 7px}.help-heading+ol strong{display:block;color:var(--blue)}dialog>p{font-size:10px;color:#95a085;line-height:1.8;border-top:1px solid var(--line);padding-top:15px}@media(min-width:1500px){.app-shell{margin:20px auto;min-height:calc(100dvh - 40px);border-radius:28px;overflow:hidden;border:1px solid #dce2d1}.preview-mat{max-width:510px}}@media(max-width:1100px){.app-header{padding:0 4%;height:80px}#pfp-main{padding:27px 4% 24px}.studio-heading{gap:16px}.studio-heading h1{font-size:35px}.flow-steps{font-size:9px;gap:6px}.flow-steps i{width:10px}.editor-grid{grid-template-columns:minmax(0,1.15fr) minmax(290px,.9fr)}.preview-area{padding:20px}.tool-dock{padding:24px 20px}.target-button{font-size:8px;padding:0 8px}.tool-tabs{gap:4px}.tool-tabs button{gap:6px}.dock-tip{min-height:90px;padding:15px}.dock-tip>span{font-size:25px}.pfp-empty{gap:12px;padding:18px}.pfp-empty>strong{font-size:35px}.pfp-empty>span:not(.upload-orbit){font-size:11px}.pfp-empty>b{font-size:11px;padding:13px 16px}.upload-orbit{width:62px;height:62px;border-radius:21px}.result-details h1{font-size:63px}.result-grid{gap:7%}.result-description{font-size:12px}}@media(max-width:740px){body{background:var(--cream)}.app-shell{box-shadow:none;min-height:100svh}.app-header{height:64px;padding:0 18px;gap:15px}.brand{width:126px;gap:6px}.brand>svg{width:32px;height:32px}.brand b{font-size:22px}.brand strong{font-size:18px;margin-top:4px;padding-bottom:3px}.app-nav{margin-left:auto;margin-right:0;font-size:10px}.app-nav a{display:none}.app-nav .current{gap:5px}.app-nav i{width:4px;height:4px}.help-button{margin-left:0;width:31px;height:31px;background:transparent}.help-button svg{width:17px;height:17px}#pfp-main{padding:19px 16px 0}.studio-heading{display:block;text-align:center;margin-bottom:17px}.studio-heading>.eyebrow,.studio-heading>div>.eyebrow{font-size:6px;letter-spacing:1.15px}.studio-heading h1{font-size:clamp(27px,7.8vw,38px);letter-spacing:-.3px;margin-top:7px;white-space:nowrap}.flow-steps{justify-content:center;gap:8px;margin-top:12px;font-size:9px}.flow-steps b{width:17px;height:17px;font-size:7px}.flow-steps i{width:22px}.editor-grid{display:block;border:0;overflow:visible;background:transparent;box-shadow:none;border-radius:0}.preview-area{padding:0;border:0;background:transparent}.preview-toolbar{margin-bottom:12px;gap:10px}.pfp-compare{padding:3px;background:#e7eddf;border-color:#dce5d1}.pfp-compare button{padding:7px 12px;font-size:9px;min-height:29px}.change-photo{font-size:9px;min-height:36px;gap:5px;color:#80936b}.change-photo svg{width:16px;height:16px}.preview-mat{max-width:370px}.pfp-stage{border-radius:20px;box-shadow:0 8px 25px #19333b0a}.pfp-stage:not(.has-photo){background:var(--paper);border-radius:22px;aspect-ratio:1.1}.pfp-empty{gap:12px;padding:20px}.upload-orbit{width:59px;height:59px;border-radius:20px;margin-bottom:0}.upload-orbit>svg{width:29px;height:29px}.upload-orbit i{width:25px;height:25px;font-size:20px}.pfp-empty>strong{font-size:33px}.pfp-empty>span:not(.upload-orbit){font-size:11px;line-height:1.5}.pfp-empty>b{font-size:11px;padding:13px 16px;gap:15px;border-radius:11px;margin-top:0}.pfp-empty>small{font-size:7px}.preview-caption{font-size:8px;margin:12px auto 0;gap:8px}.shape-toggle{font-size:8px;gap:5px}.shape-icon{width:12px;height:12px}.tool-dock{margin-top:17px;padding:15px 15px 0;background:var(--paper);border:1px solid #e4e8db;border-radius:22px;box-shadow:0 6px 20px #1b344906}.dock-heading{display:none}.tool-tabs{margin:0 0 14px;padding-bottom:11px;gap:7px}.tool-tabs button{font-size:11px;min-height:38px;gap:8px;border-radius:11px}.tool-tabs svg{width:18px;height:18px}.tool-panels{min-height:92px}.panel-label{font-size:10px;margin-bottom:10px}.panel-label small{font-size:8px}.panel-label output{font-size:9px}.pfp-nudge{gap:5px}.pfp-nudge button{min-height:40px;font-size:20px;border-radius:10px}.target-button{min-height:40px;font-size:9px;padding:0 11px;gap:5px}.move-tools{gap:12px}.target-button svg{width:17px;height:17px}.panel-hint{font-size:8px;margin-top:6px}.slider-row>button{width:30px;height:30px}.tool-dock input[type=range]{height:27px}.tilt-actions{margin-top:4px}.tilt-actions button{font-size:9px;min-height:25px}.pfp-status{font-size:9px;margin:0 0 10px;padding-left:8px}.dock-tip{display:none}.editor-actions{margin:0 -15px;padding:12px 15px 13px;border-top:1px solid #edf0e5;background:#fffdf6;border-radius:0 0 22px 22px}.primary-button{min-height:49px;border-radius:12px;font-size:12px}.editor-actions>p{font-size:7px;margin-top:12px;gap:4px}.editor-actions>p svg{width:10px;height:10px}.app-footer{margin:0 18px;padding:19px 0 18px;border:0;font-size:8px}.app-footer>span{display:none}.app-shell:not(.has-photo) .tool-dock{border:0;box-shadow:none;background:transparent;margin-top:12px;padding:0}.app-shell:not(.has-photo) .tool-tabs,.app-shell:not(.has-photo) .tool-panels{display:none}.app-shell:not(.has-photo) .editor-actions{background:transparent;padding:0;margin:0;border:0}.app-shell:not(.has-photo) .editor-actions .primary-button{display:none}.app-shell:not(.has-photo) .editor-actions>p{margin-top:4px}.has-photo .preview-mat{max-width:min(370px,calc(100svh - 445px))}.has-photo .studio-heading{margin-bottom:12px}.has-photo .flow-steps{margin-top:10px}.has-photo .tool-dock{margin-top:14px}.has-photo .app-footer{padding:14px 0 16px}.has-photo .preview-caption{max-width:370px}.result-top{margin:0 0 18px;gap:10px}.back-button{font-size:9px;padding:6px 0;gap:5px}.back-button svg{width:15px;height:15px}.ready-pill{font-size:6px;letter-spacing:0;padding:5px 7px;gap:4px}.ready-pill svg{width:10px;height:10px}.result-grid{display:block}.share-card-frame{max-width:min(340px,calc((100svh - 275px)*.8));transform:rotate(-1deg);border-radius:16px;box-shadow:0 12px 28px #18394b15}.result-details>.eyebrow,.result-details h1,.result-description,.result-domain{display:none}.result-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px auto 0;max-width:370px}.result-buttons .primary-button,.result-buttons .secondary-button{min-height:48px;font-size:11px;gap:7px;border-radius:12px}.result-buttons svg{width:16px;height:16px}.result-buttons .share-button{grid-column:1/-1;min-height:30px;font-size:10px;margin-top:3px}.result-note{font-size:8px;line-height:1.6;margin-top:7px}.result-note br{display:none}.result-mode .app-footer{padding-top:13px}.toast{font-size:11px;bottom:max(20px,env(safe-area-inset-bottom));padding:12px 17px}.result-mode #pfp-main{padding-top:17px}}@media(max-width:370px){.app-header{padding:0 14px;gap:10px}.app-nav{font-size:9px}.studio-heading h1{font-size:27px}.preview-caption,.shape-toggle{font-size:7px}.tool-dock{padding-left:12px;padding-right:12px}.editor-actions{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.target-button{padding:0 8px;font-size:8px}.move-tools{gap:7px}.pfp-nudge{gap:4px}.pfp-compare button{padding:6px 10px;font-size:8px}.change-photo{font-size:8px}.result-buttons{gap:8px}.result-buttons .primary-button,.result-buttons .secondary-button{font-size:10px}.pfp-empty>strong{font-size:29px}.pfp-empty>span:not(.upload-orbit){font-size:10px}.pfp-empty{gap:9px}}@media(max-width:740px)and (max-height:740px){#pfp-main{padding-top:12px}.studio-heading>div>.eyebrow{display:none}.studio-heading h1{margin-top:0;font-size:28px}.has-photo .preview-mat{max-width:clamp(220px,calc(100svh - 450px),330px)}.has-photo .preview-toolbar{margin-bottom:9px}.has-photo .tool-dock{margin-top:11px;padding-top:11px}.has-photo .tool-tabs{margin-bottom:10px;padding-bottom:8px}.has-photo .tool-panels{min-height:87px}.has-photo .editor-actions{padding-top:10px;padding-bottom:10px}.has-photo .preview-caption{margin-top:9px}.has-photo .app-footer{padding-top:11px}.result-mode .app-footer{display:none}.result-mode .share-card-frame{max-width:clamp(220px,calc((100svh - 235px)*.8),300px)}.result-top{margin-bottom:12px}.result-buttons{margin-top:18px}.result-note{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.save-dialog{max-width:440px;max-height:calc(100dvh - 32px);padding:22px;overflow:auto;overscroll-behavior:contain}.save-dialog .help-heading{align-items:flex-start}.save-dialog .help-heading h2{font-size:31px;line-height:1.05;margin-top:6px}.save-dialog .help-heading .round-button{width:32px;height:32px;flex-shrink:0}.save-dialog .save-instructions{border:0;padding:0;margin:13px 0 16px;font-size:12px;line-height:1.6;color:#637655}.save-image-frame{display:flex;justify-content:center;border-radius:15px;background:#eaf0e2;padding:12px}.save-image-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:34dvh;object-fit:contain;box-shadow:0 3px 16px #19333b15;-webkit-touch-callout:default;user-select:auto;touch-action:auto}.save-dialog .save-hold-hint{font-size:10px;text-align:center;color:#637655;padding:0;border:0;margin:10px 0 17px;line-height:1.5}.save-actions{display:grid;gap:12px}.save-actions .primary-button,.save-actions .secondary-button{min-height:47px;font-size:12px}.save-dialog .save-status{padding:0;border:0;font-size:11px;color:var(--blue);line-height:1.6;margin-top:14px}.save-status:empty{display:none}.save-dialog .save-browser-tip{font-size:10px;line-height:1.6;margin-top:17px;padding-top:13px;color:#7c8a6f}@media(max-width:740px){.save-dialog{padding:20px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}.save-image-frame img{max-height:31dvh}.save-dialog .save-instructions{font-size:11px}.save-dialog .save-hold-hint,.save-dialog .save-browser-tip{font-size:9px}}@media(max-height:650px){.save-dialog{padding:17px}.save-image-frame img{max-height:25dvh}.save-dialog .save-instructions{margin:10px 0}.save-dialog .save-hold-hint{margin:8px 0 12px}.save-actions{gap:9px}.save-dialog .save-browser-tip{margin-top:12px;padding-top:10px}}.preview-file-actions{display:flex;align-items:center;gap:10px}#pfp-reset-mobile{display:none}@media(max-width:740px){#pfp-reset-mobile{display:flex;width:34px;height:34px;background:transparent}#pfp-reset-mobile svg{width:16px;height:16px}.preview-file-actions{gap:9px}.app-shell:not(.has-photo) #pfp-reset-mobile{visibility:hidden}}@media(max-width:370px){.change-photo strong{display:none}.preview-file-actions{gap:8px}.change-photo{width:30px;justify-content:center}}.tool-tabs{grid-template-columns:repeat(4,1fr);gap:4px}.tool-tabs button{gap:6px;font-size:10px}.dock-heading h2{font-size:30px}.wardrobe-rail{display:flex;gap:7px;overflow-x:auto;padding:2px 2px 9px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bdcbb0 transparent;overscroll-behavior-x:contain}.wardrobe-item{flex:0 0 67px;min-width:0;scroll-snap-align:start;padding:0 0 3px;text-align:center;border-radius:12px}.wardrobe-item>span{display:flex;align-items:center;justify-content:center;height:76px;background:#edf0e4;border:1px solid #e0e5d5;border-radius:12px;transition:border-color .15s,background .15s;overflow:hidden}.wardrobe-item img{display:block;width:68px;height:68px;object-fit:contain}.wardrobe-item b{display:block;font-size:9px;font-weight:550;color:#7b8b6b;margin-top:7px;white-space:nowrap}.wardrobe-item.selected>span{border:2px solid var(--blue);background:#e6ecf5}.wardrobe-item.selected b{color:var(--blue);font-weight:700}.wardrobe-item:hover:not(:disabled)>span{background:#e0e8d8}.wardrobe-item:disabled,.hat-item:disabled{opacity:.45}.hat-label{margin:14px 0 10px;font-size:10px}.hat-rail{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 7px;scrollbar-width:thin;scrollbar-color:#bdcbb0 transparent}.hat-item{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1 0 53px;gap:4px;border:1px solid #e0e5d5;border-radius:10px;padding:4px 3px 7px;background:#fffdf7;min-width:0}.hat-item img{width:46px;height:37px;object-fit:contain}.hat-item b{font-size:8px;white-space:nowrap;font-weight:500;color:#7b8b6b}.hat-item.selected{border-color:var(--blue);background:#e6ecf5;box-shadow:inset 0 0 0 1px var(--blue)}.hat-item.selected b{color:var(--blue);font-weight:700}.no-hat{font-size:28px;line-height:37px;color:#8f9c84;height:37px}.wardrobe-status{font-size:9px;line-height:1.5;margin:10px 0 3px;color:#849178}.hat-unavailable{border-radius:12px;background:#eef1e6;font-size:10px;line-height:1.7;padding:15px;margin-top:14px;color:#7e8e70}.fit-memory{display:flex;align-items:center;gap:8px;padding-top:20px;margin-top:auto;font-size:8px;line-height:1.6;color:#91a17f}.fit-memory svg{width:14px;height:14px}.fit-memory>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background:#edf1e5;border-radius:50%;flex-shrink:0}.tool-dock{gap:0}.editor-actions{margin-top:17px}#style-panel .panel-label{margin-bottom:10px}.app-shell:not(.has-photo) .fit-memory{display:none}.app-shell:not(.has-photo) #wardrobe-status{visibility:hidden}@media(max-width:740px){.tool-tabs{gap:3px}.tool-tabs button{gap:5px;font-size:10px}.tool-tabs button svg{width:16px;height:16px}.tool-dock{padding-top:12px}.wardrobe-item{flex-basis:59px}.wardrobe-item>span{height:60px;border-radius:10px}.wardrobe-item img{width:56px;height:56px}.wardrobe-item b{font-size:8px;margin-top:5px}.wardrobe-rail{gap:6px;padding-bottom:7px}.hat-label{margin-top:8px;font-size:9px}.hat-label small{font-size:7px}.hat-item{padding:2px 3px 5px;gap:2px;flex-basis:48px;border-radius:9px}.hat-item img{width:39px;height:29px}.hat-item b{font-size:7px}.no-hat{font-size:23px;line-height:29px;height:29px}.hat-rail{gap:5px;padding-bottom:3px}.wardrobe-status{font-size:8px;margin:7px 0 8px}.fit-memory{display:none}.tool-dock .editor-actions{margin-top:0}.hat-unavailable{font-size:9px;padding:12px;margin-top:10px}.has-photo .preview-mat{max-width:min(340px,calc(100svh - 550px))}.has-photo .preview-caption{max-width:340px}.has-photo .tool-dock{margin-top:12px}.has-photo .preview-toolbar,.has-photo .studio-heading{margin-bottom:10px}.tool-panels{min-height:212px}.has-photo .app-footer{padding-top:12px}.result-mode .share-card-frame{max-width:min(340px,calc((100svh - 275px)*.8))}}@media(max-width:370px){.wardrobe-item{flex-basis:56px}.hat-item{flex-basis:44px}.tool-tabs button{gap:4px;font-size:9px}.hat-item b{font-size:6.5px}.hat-label{margin-top:7px}}@media(max-width:740px)and (max-height:740px){.has-photo .preview-mat{max-width:clamp(190px,calc(100svh - 550px),290px)}.tool-panels{min-height:205px}.wardrobe-item>span{height:55px}.wardrobe-item img{width:51px;height:51px}.tool-dock .editor-actions{padding-top:10px}.has-photo .studio-heading h1{font-size:27px}}@media(max-width:740px){.has-photo .preview-mat{max-width:min(370px,calc(100svh - 445px))}.tool-panels{min-height:100px}.wardrobe-mode.has-photo .preview-mat{max-width:clamp(190px,calc(100svh - 620px),290px)}.wardrobe-mode .tool-panels{min-height:212px}}@media(max-width:740px){.has-photo #pfp-main{padding-top:12px}.has-photo .studio-heading>div>.eyebrow{display:none}.has-photo .studio-heading h1{margin-top:0}.wardrobe-rail,.hat-rail{scrollbar-width:none}.wardrobe-rail::-webkit-scrollbar,.hat-rail::-webkit-scrollbar{display:none}.wardrobe-mode .tool-panels{min-height:195px}.editor-actions .primary-button{min-height:45px}.has-photo .editor-actions{padding-top:10px;padding-bottom:10px}.has-photo .editor-actions>p{margin-top:8px}.has-photo .app-footer{padding:9px 0 12px}}@media(max-width:740px){.has-photo .app-footer{padding-bottom:8px}}.wardrobe-item{position:relative}.scene-badge{position:absolute;top:3px;right:3px;padding:3px 4px;border-radius:4px;background:var(--blue);color:#fff;font:500 5px var(--mono);letter-spacing:.4px;font-style:normal}.hat-unavailable.scene-note{background:#e8efdc;color:#617347}@media(max-width:740px){.scene-badge{font-size:4px;padding:2px 3px;top:2px;right:2px}}
