*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f5f5f5;color:#212121;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}button,input,select,output{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.38}button,a,summary,input,select{touch-action:manipulation}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,#viewport:focus-visible{outline:2px solid #212121;outline-offset:4px}[hidden]{display:none!important}button,select,input{border-radius:6px}select{max-width:100%;min-width:0;padding:10px 12px;border:1px solid #d5d5d5;background:#ffffff;color:#212121}input[type=checkbox],input[type=range]{accent-color:#2a2a2a}input[type=color]{padding:2px;width:34px;height:28px;border:1px solid #d5d5d5;background:#ffffff}input[type=range]{min-width:0;flex:1}input[type=number]{min-width:0;border:1px solid #d5d5d5;padding:7px;background:white}a{color:inherit}.app-header{height:84px;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:650;letter-spacing:-.6px;text-decoration:none}.brand-light{font-weight:400}.brand-mark{width:29px;height:29px;border:1px solid #686868;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffffff,#d7d7d7,#ffffff)}.brand-mark i{width:8px;height:8px;border:1px solid #686868;border-radius:50%;background:#f5f5f5}.icon-button{width:36px;height:36px;border:1px solid #d8d8d8;border-radius:50%;font-size:16px}.header-right{display:flex;align-items:center;gap:16px}.landing{max-width:1260px;margin:30px auto 0;padding:0 40px 70px;text-align:center}.landing-examples{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:stretch;margin-bottom:34px}.landing figure{min-width:0;margin:0;background:#ececec;border-radius:16px;overflow:hidden;position:relative;aspect-ratio:1.08}.landing img,.landing video{width:100%;height:100%;object-fit:cover;display:block}.example-pause{position:absolute;bottom:16px;right:16px;border:1px solid #dddddd;background:#ffffffdc;backdrop-filter:blur(10px);border-radius:50%;width:38px;height:38px;font-size:16px}.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:60px;background:#262626;color:#ffffff;min-height:54px;min-width:235px;padding:15px 24px;border-radius:8px;font-size:16px;font-weight:550}.primary-button span{font-size:21px}.workflow-steps{max-width:1450px;margin:0 auto;display:flex;align-items:stretch;padding:0 36px;gap:8px;border-bottom:1px solid #dedede}.workflow-steps button{font-size:12px;white-space:nowrap;position:relative;border-radius:0;padding:17px 9px;color:#757575;min-height:52px}.workflow-steps button[aria-current=step]{color:#212121;font-weight:600}.workflow-steps button[aria-current=step]:after{content:'';height:2px;background:#212121;position:absolute;left:9px;right:9px;bottom:-1px}.workflow-steps>button:first-child{margin-right:12px}.workflow-steps>button:nth-last-child(2){margin-left:auto}#artwork-progress{display:flex;align-items:stretch;gap:5px;list-style:none;margin:0;padding:0}#artwork-progress button[data-status=complete]{color:#212121}#artwork-progress button[data-status=skipped]{color:#9a9a9a}#artwork-progress button[data-status=complete]:before,#artwork-progress button[data-status=partial]:before{content:'';display:block;position:absolute;left:50%;top:8px;width:3px;height:3px;background:currentColor;border-radius:50%}.workspace{max-width:1450px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:30px;padding:30px 36px 42px;align-items:start}.stage-column{min-width:0;position:sticky;top:20px}.viewport{position:relative;width:100%;height:calc(100vh - 245px);min-height:490px;max-height:820px;overflow:hidden;border:1px solid #dedede;border-radius:12px;background:#ededed;touch-action:none}.viewport>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.viewport.checker{background-color:#f7f7f7;background-image:conic-gradient(#dcdcdc 25%,transparent 0 50%,#dcdcdc 0 75%,transparent 0);background-size:24px 24px}.stage-bottom{position:absolute;left:16px;right:16px;bottom:16px;z-index:3;display:flex;justify-content:space-between;gap:8px}.view-presets{display:flex;padding:3px;border:1px solid #d9d9d9;background:#fffffff0;border-radius:7px}.view-presets button{padding:7px 11px;font-size:12px}.view-presets button.selected{background:#e9e9e9}.view-presets .fit-button{font-size:20px;padding:0 9px}.checker-button{display:flex;align-items:center;gap:7px;border:1px solid #d9d9d9;background:#fffffff0;padding:7px 10px;font-size:12px}.checker-button>span:first-child,.checker-swatch{width:14px;height:14px;display:block;border:1px solid #c1c1c1;background:conic-gradient(#ababab 25%,#ffffff 0 50%,#ababab 0 75%,#ffffff 0);background-size:7px 7px}.stage-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 1px;color:#747474;font-size:12px}.text-button{font-size:12px;padding:5px 0;text-decoration:underline;text-underline-offset:4px;color:#686868}.controls{background:white;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden}.panel{padding:24px;border-bottom:1px solid #e5e5e5}.panel:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;gap:10px;margin:0 0 22px;flex-wrap:wrap}.section-heading h2{font-size:18px;font-weight:550;letter-spacing:-.2px;margin:0;flex:1}.section-heading .text-button{margin-left:auto;font-size:12px}.step-count{width:100%;font-size:13px;color:#747474;margin-bottom:-9px}.package-families{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.package-families button{border:1px solid #dddddd;border-radius:8px;background:#fafafa;min-height:106px;padding:18px 8px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.package-families button.selected{border-color:#2a2a2a;background:#f1f1f1;box-shadow:inset 0 0 0 1px #2a2a2a}.package-families button span{font-size:14px}.format-icon{position:relative;display:block;width:36px;height:33px;border:1px solid #818181;border-radius:2px}.format-icon:before{content:'';position:absolute;inset:3px;border:1px solid #afafaf}.jewel-icon:after{content:'';position:absolute;left:5px;top:0;bottom:0;border-left:1px solid #818181}.slim-icon{transform:skewY(-9deg);height:30px}.sleeve-icon{background:#e7e7e7}.sleeve-icon:before{inset:4px;border:0}.disc-icon{width:34px;height:34px;border-radius:50%;background:linear-gradient(120deg,#ffffff,#bcbcbc 42%,#ffffff 55%,#bcbcbc 75%,#ffffff)}.disc-icon:before{border-radius:50%;inset:5px}.disc-icon:after{content:'';position:absolute;inset:13px;border-radius:50%;border:1px solid #898989;background:#f7f7f7}.package-type-select{width:100%;font-size:14px}.compact-row{display:flex;gap:10px;align-items:center;min-width:0;margin:15px 0}.compact-row>label,.control-label{font-size:13px;flex-shrink:0}.compact-row select{flex:1;font-size:13px;padding:8px}.compact-row output{font-size:12px;color:#747474;min-width:36px;text-align:right}.compact-row>span{font-size:12px}.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:224px;gap:16px;padding:22px 14px;border:1px dashed #bcbcbc;border-radius:9px;background:#fafafa;text-align:center}.upload-zone canvas{width:112px;height:112px;object-fit:contain}.upload-zone.empty canvas{display:none}.upload-zone.empty:before{content:'＋';font-size:32px;line-height:1;color:#777777;font-weight:300}.upload-copy{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}.upload-copy strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.upload-copy #art-dimensions{font-size:12px;color:#7a7a7a}.upload-action{font-size:13px;color:#7a7a7a}.upload-zone.empty .upload-action{display:none}.privacy-note{font-size:12px;color:#7d7d7d;text-align:center;margin:10px 0 20px}.open-editor{display:block;width:100%;font-size:13px;background:#f0f0f0;border:1px solid #dadada;padding:11px 14px}.step-parts{display:flex;gap:8px;margin:0 0 16px}.step-parts button{flex:1;padding:9px;border:1px solid #dcdcdc;font-size:13px}.step-parts button.selected{border-color:#353535;background:#f1f1f1}.workflow-details{border-top:1px solid #e2e2e2;margin-top:22px;padding-top:18px}.workflow-details>summary{list-style:none;cursor:pointer;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#5a5a5a;padding:3px 0}.workflow-details>summary:after{content:'＋';font-size:16px;color:#787878}.workflow-details[open]>summary{margin-bottom:16px}.workflow-details[open]>summary:after{content:'−'}.workflow-details>summary::-webkit-details-marker{display:none}.workflow-details p,.subtle-note,.inlay-settings p,.ear-override-row p{font-size:12px;line-height:1.75;color:#7a7a7a;margin:12px 0 0;overflow-wrap:anywhere}.workflow-details .workflow-details{margin-top:18px;padding-top:16px}.workflow-details .art-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.art-slots button{padding:9px 6px;border:1px solid #dddddd;font-size:12px}.art-slots button.selected{background:#f1f1f1;border-color:#a0a0a0}.art-target-label{display:block;margin:14px 0 7px;font-size:13px}#design-art-target{margin-bottom:12px}.segmented{display:flex;border:1px solid #d8d8d8;border-radius:6px;padding:3px;background:#f9f9f9;gap:3px;min-width:0}.segmented button{font-size:12px;flex:1;padding:7px 9px;white-space:nowrap}.segmented button.selected{background:#e8e8e8;color:#2a2a2a}.small-button{border:1px solid #dbdbdb;padding:7px 10px;font-size:12px;background:#f9f9f9}.check-row{display:flex;align-items:center;gap:8px;font-size:13px}.check-row input{width:16px;height:16px;flex-shrink:0}.inlay-settings{margin-top:16px}.back-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.back-mode-options button{padding:9px;border:1px solid #d9d9d9;font-size:13px}.back-mode-options button.selected{border-color:#5a5a5a;background:#f0f0f0}.inlay-settings>label{font-size:13px}#ear-surface-fit{width:100%;margin-top:8px}#ear-width{width:52px}#design-body-flip{width:100%;font-size:12px}#disc-alpha-note{font-size:12px;margin:8px 0 16px}.workflow-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 24px;border-top:1px solid #e4e4e4;background:#ffffff}.previous-step,.skip-step{padding:9px 0;font-size:13px;color:#666666}.skip-step{margin-left:auto}.next-step{background:#262626;color:white;border-radius:7px;padding:12px 16px;font-size:14px;flex:1;text-align:center}.previous-step+.skip-step+.next-step{flex-basis:100%}.skip-step[hidden]+.next-step{flex-basis:auto}.save-details{width:100%;font-size:12px;color:#808080;display:flex;justify-content:flex-end}.save-details:has(output[hidden]){display:none}.export-button{background:#262626;color:#ffffff;padding:12px 15px;border-radius:7px;display:flex;justify-content:space-between;gap:18px;flex:1;font-size:14px}.movie-button{padding:12px;border:1px solid #d1d1d1;background:#ffffff;font-size:13px}.export-status,.import-status{width:100%;font-size:12px;line-height:1.8;color:#5f5f5f;overflow-wrap:anywhere;margin:8px 0}.export-status:empty{display:none}.export-status[data-state=error],.import-status.error{color:#4e4e4e}.import-status.error{padding:12px;border:1px solid #cdcdcd;border-radius:7px;background:#f9f9f9}.layout-choices{display:grid;gap:12px}.layout-choices button{display:flex;align-items:center;gap:14px;border:1px solid #dbdbdb;background:#fbfbfb;border-radius:8px;padding:18px 13px;text-align:left;min-height:88px}.layout-choices button.selected{border-color:#383838;background:#f2f2f2}.layout-choices strong{font-size:13px;line-height:1.7;font-weight:500}.layout-icon{font-size:20px;min-width:56px;text-align:center;white-space:nowrap;color:#797979}#arrangement-details{margin:0;padding:0;border:0}.scene-list{display:grid;gap:8px;margin:16px 0}.scene-item{display:flex;gap:8px;align-items:center;border:1px solid #dfdfdf;border-radius:7px;padding:5px 9px;background:#fbfbfb}.scene-item.selected{border-color:#aeaeae;background:#f2f2f2}.scene-item>button{flex:1;text-align:left;font-size:12px;padding:8px 0}.scene-item small{float:right;color:#8b8b8b;margin-left:8px;font-size:11px}.scene-item>label{display:flex;align-items:center;gap:4px;font-size:12px}.add-item-row{display:flex;gap:8px}.add-item-row select{min-width:0;flex:1;font-size:12px;padding:8px}.add-item-row button{font-size:12px;white-space:nowrap;border:1px solid #dbdbdb;padding:7px}.item-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:12px}.item-actions button{font-size:12px}.quick-rotate{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.quick-rotate button{font-size:12px;border:1px solid #dfdfdf;padding:8px;background:#f9f9f9}.transform-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.transform-fields>span{grid-column:1/-1;font-size:12px;margin-top:8px;color:#808080}.transform-fields label{display:flex;align-items:center;gap:5px;font-size:12px}.transform-fields input{width:100%;font-size:12px}.png-badge{font-size:12px;color:#828282}.look-choices{display:grid;gap:8px}.look-choices button{border:1px solid #dedede;padding:12px 10px;text-align:left;border-radius:6px}.look-choices button.selected{border-color:#606060;background:#f3f3f3}.look-choices strong{font-size:13px;font-weight:500}.background-choices{display:flex;gap:7px;margin-top:15px}.background-choices button,.background-choices>label{font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px;flex:1}.background-choices button{border:1px solid #dfdfdf;padding:9px 5px}.background-choices button.selected{border-color:#989898;background:#f2f2f2}.background-choices i{width:13px;height:13px;display:inline-block;border:1px solid #cecece;border-radius:2px}.capture-toolbar{display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:12px;color:#707070}.capture-toolbar label{display:flex;align-items:center;gap:10px}.capture-toolbar select{font-size:12px;padding:6px 9px}.output-frame{position:absolute;z-index:1;pointer-events:none;border:1px solid #ffffffb0;box-shadow:0 0 0 1500px #2f2f2f26}.arrange-tools{position:absolute;top:16px;left:50%;transform:translateX(-50%);display:flex;z-index:3;padding:4px;background:#fffffff0;border:1px solid #dfdfdf;border-radius:7px;white-space:nowrap}.arrange-tools button{font-size:12px;padding:8px 12px}.arrange-tools button.selected{background:#ededed}.loading,.webgl-error{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f4f4f4d9;text-align:center;padding:24px;z-index:5;font-size:14px}.webgl-error p{max-width:380px}.webgl-error button{border:1px solid #c3c3c3;padding:9px 16px;background:#ffffff}.spinner{width:24px;height:24px;border:2px solid #d8d8d8;border-top-color:#7a7a7a;border-radius:50%;animation:spin 1s linear infinite;margin:0 0 16px}@keyframes spin{to{transform:rotate(360deg)}}.drop-overlay{position:absolute;inset:12px;z-index:8;border:2px dashed #929292;border-radius:8px;background:#f8f8f8fa;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;pointer-events:none}.drop-overlay>span{font-size:36px}.drop-overlay strong{font-size:16px}.drop-overlay small{font-size:12px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:#2e2e2e;color:#ffffff;padding:12px 20px;border-radius:8px;box-shadow:0 5px 30px #00000022;font-size:13px;max-width:calc(100% - 30px);width:max-content}#toast.error{background:#454545}.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}body[data-flow=format] .capture-toolbar,body[data-flow=artwork] .capture-toolbar,body[data-flow=format] .output-frame,body[data-flow=artwork] .output-frame,body[data-flow=format] .stage-bottom,body[data-flow=artwork] .stage-bottom{display:none}body[data-flow=format] .viewport,body[data-flow=artwork] .viewport{height:calc(100vh - 225px)}body[data-flow=format] .stage-footer{justify-content:flex-end}body[data-flow=format] #interaction-hint{display:none}body[data-flow=landing] #help-button{opacity:.7}
/* Modal editing and output retain the full toolset. */
dialog{border:1px solid #d9d9d9;border-radius:12px;background:#fbfbfb;color:#2d2d2d;padding:28px;box-shadow:0 20px 100px #1e1e1e35;max-height:90vh;overflow:auto}dialog::backdrop{background:#1d1d1d70;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:18px;top:14px;width:34px;height:34px;font-size:25px;color:#7d7d7d;background:transparent}.art-editor{width:min(850px,calc(100% - 30px));max-width:850px}.editor-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px}.editor-heading h2{font-size:20px;font-weight:550;margin:0}.editor-heading .dialog-close{position:static}.editor-stage{position:relative;background:#ebebeb;border:1px solid #dcdcdc;border-radius:7px;overflow:hidden}.editor-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}.editor-gesture{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font-size:12px;color:#767676;background:#ffffffd9;padding:5px 9px;border-radius:5px;pointer-events:none;white-space:nowrap}.editor-guide{font-size:12px;color:#828282;line-height:1.8;margin:12px 0}.editor-tools{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.editor-tool{font-size:12px;padding:9px 12px;border:1px solid #d3d3d3;background:#f6f6f6;border-radius:5px}.editor-zoom{display:flex;align-items:center;gap:12px;margin-bottom:22px}.editor-zoom button{width:32px;height:32px;background:#ececec;font-size:18px}.editor-zoom output{min-width:45px;font-size:12px}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e3e3e3;padding-top:18px}.editor-footer span{font-size:12px;color:#929292}.editor-done{padding:11px 18px;background:#3c3c3c;color:#ffffff;border-radius:6px;font-size:13px;border:1px solid #3c3c3c}.pdf-page-row{display:flex;align-items:center;gap:12px;font-size:13px;margin-bottom:14px}.pdf-page-row span{font-size:12px;color:#8b8b8b}.template-crop-row,.editor-destination-recovery{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#f1f1f1;border:1px solid #d9d9d9;border-radius:6px;padding:12px;margin:0 0 14px}.template-crop-row select{font-size:12px;padding:8px;flex:1}.template-crop-row button,.editor-destination-recovery button{font-size:12px;padding:9px 12px;background:#e4e4e4;border:1px solid #c6c6c6}.template-crop-row small,.editor-destination-recovery small{width:100%;font-size:12px;color:#8c8c8c;line-height:1.8}.editor-destination-recovery span{font-size:12px}.artwork-move-confirm{width:min(460px,calc(100% - 30px))}.artwork-move-confirm h2{font-size:18px;margin:0 0 14px}.artwork-move-confirm p{font-size:13px;line-height:1.9}.movie-dialog{width:min(580px,calc(100% - 30px));padding-top:26px}.movie-dialog h2{font-size:21px;font-weight:550;margin:0 40px 16px 0}.movie-intro,.movie-hint{font-size:12px;color:#828282;line-height:1.8}.movie-dialog fieldset{border:0;padding:0;margin:24px 0 0;min-width:0}.movie-basic{display:grid;grid-template-columns:1fr 1fr;gap:14px}.movie-basic label{display:grid;gap:8px;font-size:13px}.movie-basic select{width:100%;font-size:13px}.movie-check{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:13px}.movie-actions{display:flex;gap:12px;margin-top:24px}.movie-actions>button:first-child{flex:1}.movie-actions #movie-cancel{background:#e9e9e9;padding:10px;border:1px solid #bebebe;color:#5a5a5a}.movie-dialog progress{width:100%;height:8px;margin-top:16px;accent-color:#969696}.movie-dialog #movie-status{font-size:12px;line-height:1.8;color:#767676;overflow-wrap:anywhere}.movie-dialog #movie-status[data-state=error]{color:#505050}.movie-preview-checker{margin:16px 0;background:conic-gradient(#d8d8d8 25%,#f9f9f9 0 50%,#d8d8d8 0 75%,#f9f9f9 0);background-size:20px 20px;border:1px solid #dbdbdb;border-radius:7px;overflow:hidden}.movie-preview-checker video{display:block;width:100%;max-height:380px;object-fit:contain}.movie-dialog a.editor-done{display:block;text-align:center;text-decoration:none}#help-dialog{width:min(660px,calc(100% - 30px));padding:34px}#help-dialog h2{font-size:23px;font-weight:550;margin:0 0 18px}#help-dialog h3{font-size:16px;font-weight:550;margin-top:28px}#help-dialog p,#help-dialog li{font-size:13px;line-height:1.9;color:#7e7e7e}#help-dialog li{margin:10px 0}#help-dialog footer{font-size:12px;color:#9d9d9d;border-top:1px solid #e2e2e2;padding-top:20px;margin-top:24px}
/* Neutral palette: a small set of tones, shared by advanced controls as well. */
.controls,.controls *,dialog,dialog *{--unused:0} .controls{color:#282828}.workflow-details>summary,.text-button,.compact-row output,.subtle-note,.workflow-details p,.inlay-settings p,.ear-override-row p,.art-target-label,.control-label,.editor-guide,.editor-footer span,.movie-intro,.movie-hint,#help-dialog p,#help-dialog li,#help-dialog footer{color:#717171}.controls select,.controls input[type=number],dialog select{border-color:#d8d8d8;background:#ffffff;color:#2b2b2b}.segmented{background:#f7f7f7;border-color:#d9d9d9}.segmented button.selected,.step-parts button.selected,.back-mode-options button.selected,.look-choices button.selected,.layout-choices button.selected,.scene-item.selected{background:#efefef;border-color:#5d5d5d}.controls button:not(.next-step):not(.export-button),dialog .editor-tool{color:#393939}.workflow-details>summary:after{color:#787878}.editor-done{background:#2c2c2c;border-color:#2c2c2c;color:#ffffff}.art-editor,.movie-dialog,#help-dialog,.artwork-move-confirm{background:#fafafa}.editor-stage{background:#ededed}.template-crop-row,.editor-destination-recovery{background:#f2f2f2}.template-crop-row button,.editor-destination-recovery button{background:#e9e9e9;border-color:#cbcbcb}.arrange-tools button.selected{background:#ebebeb}.export-status,.import-status{color:#686868}.loading{background:#f4f4f4d9}.spinner{border-top-color:#797979}.drop-overlay{border-color:#959595;background:#f8f8f8fa}.capture-toolbar{color:#757575}.primary-button:hover,.next-step:hover,.export-button:hover,.editor-done:hover{background:#404040}
@media(min-width:1500px){.landing{margin-top:55px}.landing-examples{margin-bottom:44px}}
@media(max-width:1160px){.app-header{padding:0 26px}.workspace{padding:24px 24px 38px;gap:20px;grid-template-columns:minmax(0,1fr) 320px}.workflow-steps{padding:0 20px;gap:3px}.workflow-steps button{font-size:11px;padding:16px 6px}#artwork-progress{gap:0}.panel{padding:20px}.workflow-actions{padding:18px 20px}.viewport{min-height:460px}.landing{padding-left:26px;padding-right:26px}}
@media(max-width:920px){.workflow-steps{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.workflow-steps::-webkit-scrollbar{display:none}.workflow-steps button{font-size:12px;padding:16px 9px}.workflow-steps>button:first-child{margin-right:8px}.workspace{max-width:760px;display:flex;flex-direction:column;gap:16px;padding:22px 24px 38px}.stage-column{width:100%;position:static}.controls{width:100%}.viewport,body[data-flow=format] .viewport,body[data-flow=artwork] .viewport{height:50vw;min-height:330px;max-height:480px}.panel{padding:24px}.package-families{grid-template-columns:repeat(4,minmax(0,1fr))}.package-families button{min-height:96px}.upload-zone{flex-direction:row;min-height:150px;gap:20px}.upload-zone.empty{flex-direction:column;gap:10px;min-height:150px}.upload-zone canvas{width:88px;height:88px}.upload-copy{text-align:left}.upload-zone.empty .upload-copy{text-align:center}.privacy-note{margin-bottom:15px}.workflow-actions{padding:20px 24px}.previous-step+.skip-step+.next-step{flex-basis:auto}.layout-choices{grid-template-columns:repeat(3,1fr)}.layout-choices button{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:16px 10px;gap:12px}.layout-choices strong{font-size:12px}.look-choices{grid-template-columns:repeat(3,1fr)}.look-choices button{text-align:center;padding:14px 8px}.look-choices strong{font-size:12px}.landing{margin-top:30px;padding-bottom:50px}.landing-examples{gap:18px}}
@media(max-width:600px){.app-header{height:66px;padding:0 18px}.brand{font-size:17px;gap:9px}.brand-mark{width:25px;height:25px}.icon-button{width:32px;height:32px}.landing{margin:15px auto 0;padding:0 16px 40px}.landing-examples{grid-template-columns:1fr;gap:14px;margin-bottom:24px}.landing figure{aspect-ratio:1.38;border-radius:11px}.landing .example-motion{aspect-ratio:1.8}.landing img,.landing video{object-fit:cover}.primary-button{width:100%;min-height:54px;justify-content:center;gap:40px}.workflow-steps{padding:0 10px;position:sticky;top:0;background:#f5f5f5f5;backdrop-filter:blur(12px);z-index:12}.workflow-steps button{padding:14px 9px;min-height:48px}.workspace{padding:16px 14px 110px;gap:10px}.viewport,body[data-flow=format] .viewport,body[data-flow=artwork] .viewport{height:36vh;min-height:255px;max-height:360px;border-radius:9px}.stage-footer{padding:10px 1px;font-size:12px}.stage-footer .text-button{font-size:12px}.controls{border-radius:10px}.panel{padding:20px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:17px}.step-count{font-size:12px}.upload-zone{min-height:128px;padding:16px}.upload-zone.empty{min-height:130px}.upload-zone canvas{width:76px;height:76px}.upload-copy strong{max-width:200px;font-size:13px}.upload-action{font-size:12px}.workflow-actions{position:fixed;left:0;right:0;bottom:0;z-index:14;padding:13px 18px calc(13px + env(safe-area-inset-bottom));border-radius:0;background:#fffffff5;backdrop-filter:blur(14px);box-shadow:0 -6px 25px #30303008;gap:16px}.next-step{padding:12px;flex-grow:1}.previous-step,.skip-step{font-size:12px}.save-details{display:none}.export-status{font-size:12px;max-height:70px;overflow:auto;margin:0}.movie-button{font-size:12px;padding:12px 9px}.export-button{font-size:13px;padding:12px}.package-families{gap:6px}.package-families button{min-height:87px;padding:14px 4px 10px;gap:9px}.package-families button span{font-size:12px}.format-icon{width:29px;height:28px}.disc-icon{width:29px;height:29px}.disc-icon:after{inset:10px}.layout-choices{grid-template-columns:1fr}.layout-choices button{flex-direction:row;text-align:left;justify-content:flex-start;min-height:72px;padding:14px}.layout-choices strong{font-size:13px}.look-choices{gap:6px}.look-choices strong{font-size:12px}.capture-toolbar{font-size:12px;margin-bottom:8px}.capture-toolbar select{font-size:12px}.stage-bottom{left:10px;right:10px;bottom:10px}.view-presets button{padding:7px 8px;font-size:12px}.checker-text{display:none}.checker-button{padding:9px}.arrange-tools{top:10px}.arrange-tools button{font-size:12px;padding:7px 9px}.text-button{font-size:12px}#toast{bottom:93px;font-size:12px;padding:11px 16px}.art-editor{padding:18px 14px}.editor-heading h2{font-size:18px}.editor-tools{gap:6px}.editor-tool{font-size:12px;padding:8px}.editor-tools .segmented{width:100%}.editor-footer{flex-direction:column;align-items:stretch;gap:12px}.editor-footer span{font-size:12px}.editor-done{width:100%;text-align:center}.editor-gesture{font-size:11px;max-width:95%;white-space:normal;text-align:center}.template-crop-row small,.editor-destination-recovery small{font-size:12px}.template-crop-row select{width:100%;flex-basis:100%}.movie-dialog{padding:23px 18px}.movie-basic{gap:10px}.movie-basic select{font-size:12px;padding:9px 6px}.movie-dialog .editor-done{width:auto}#help-dialog{padding:28px 22px}.artwork-move-confirm .editor-footer{flex-direction:row}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}

/* Keep the next action visible while advanced controls scroll. */
@media(min-width:921px){.workflow-controls{display:flex;flex-direction:column;position:sticky;top:20px;max-height:calc(100vh - 190px)}.workflow-controls>.step-panel{min-height:0;overflow-y:auto}.workflow-actions{flex-shrink:0}}
body[data-flow=artwork] #interaction-hint,#disc-alpha-note{display:none!important}body[data-flow=artwork] .stage-footer{justify-content:flex-end}
@media(max-width:600px){.landing figure,.landing .example-motion{height:clamp(125px,24svh,205px);aspect-ratio:auto}.landing img,.landing video{object-fit:contain}.landing{padding-bottom:24px}.landing-examples{margin-bottom:18px}}
@media(max-width:600px){.landing img,.landing video{transform:scale(1.65)}}
#artwork-progress li:has(>button[data-status=unavailable]){display:none}
.landing figure{width:100%;min-height:0}

/* One reliable, centered example. No autoplay-dependent entry state. */
.landing{max-width:1100px;margin:22px auto 0;padding-bottom:32px}.landing-examples{display:block;margin:0 auto 24px;width:min(100%,960px)}.landing .example-still{height:min(64svh,650px);min-height:280px;aspect-ratio:auto}.landing .example-still img{object-fit:contain;object-position:center;transform:none}.landing .primary-button{justify-content:center;gap:0;min-width:235px;text-align:center}
@media(max-width:600px){.landing{margin-top:12px;padding-bottom:24px}.landing-examples{margin-bottom:20px}.landing .example-still{height:min(58svh,480px);min-height:260px}.landing .example-still img{object-fit:contain;transform:none}.landing .primary-button{width:min(100%,300px)}}

/* Keep every generated product visible at narrow and wide hero aspect ratios. */
.landing .example-still{background:#ecece8;height:auto;min-height:0;aspect-ratio:1.6}

/* Keep the release greeting quiet and the basic guide easy to scan. */
.landing-encouragement{margin:14px 0 0;color:#6f6f6f;font-size:12px;line-height:1.7;letter-spacing:.04em}
#help-dialog .help-steps{margin:0;padding-left:22px}#help-dialog .help-steps li{padding-left:4px;margin:0 0 16px}#help-dialog .help-steps strong{color:#373737;font-size:14px;font-weight:550}#help-dialog .help-steps p{margin:3px 0 0}#help-dialog .help-privacy{margin:22px 0 0;padding:14px 16px;border-radius:7px;background:#f0f0ee;font-size:12px;line-height:1.8}#help-dialog .workflow-details{margin-top:18px;padding-top:15px}

/* A compact bilingual header; translation does not resize the 3D viewport. */
.brand-name{display:flex;flex-direction:column;gap:1px;line-height:1.25}.beta-label{font-size:10px;line-height:1.4;font-weight:400;letter-spacing:.01em;color:#717171}.language-switch{display:flex;border:1px solid #d8d8d8;border-radius:6px;overflow:hidden;flex-shrink:0}.language-switch button{font-size:11px;min-width:34px;min-height:32px;padding:5px 8px;border-radius:0;color:#717171}.language-switch button[aria-pressed=true]{background:#e8e8e8;color:#212121;font-weight:600}.header-right{gap:12px}html[lang=en] .workflow-steps{overflow-x:auto;scrollbar-width:thin}html[lang=en] .workflow-steps button{flex-shrink:0}html[lang=en] .compact-row{flex-wrap:wrap}html[lang=en] .compact-row>label,html[lang=en] .compact-row>.control-label{max-width:100%}html[lang=en] .segmented button{white-space:normal}html[lang=en] .stage-footer{gap:8px}html[lang=en] .stage-footer>span{min-width:0}html[lang=en] .stage-footer>button{flex-shrink:0}html[lang=en] .editor-stage canvas{font-family:inherit}
@media(max-width:600px){.header-right{gap:9px}.language-switch button{min-width:30px;padding:5px 6px}.brand{gap:7px}.beta-label{font-size:9px}.app-header{padding-left:14px;padding-right:14px}html[lang=en] .workflow-actions{gap:10px}html[lang=en] .previous-step,html[lang=en] .skip-step{font-size:11px}html[lang=en] .view-presets button{padding-left:6px;padding-right:6px}html[lang=en] .movie-basic{grid-template-columns:1fr}html[lang=en] .editor-heading h2{font-size:17px}}

/* Keep the desktop call to action in view while preserving the full 1.6:1 hero. */
@media(min-width:921px){.landing-examples{width:min(100%,960px,max(320px,calc(160svh - 416px)))}}

.movie-format-label{display:grid;gap:8px;font-size:13px;margin-bottom:18px}.movie-format-label select{width:100%;font-size:13px}.movie-check input[type=color]{width:48px;height:30px;padding:2px;cursor:pointer}.movie-check[hidden]{display:none}

/* Twin-case opening stays next to both extraction controls, outside Details. */
.tray-shortcuts{display:flex;gap:6px;margin:12px 0 16px}.tray-shortcuts button{flex:1;padding:8px 6px;border:1px solid #d8d8d8;border-radius:5px;font-size:12px}.tray-shortcuts button.selected{background:#efefef;border-color:#777}.tray-shortcuts[hidden],#twin-pose-panel[hidden],#extract2-row[hidden]{display:none}#twin-pose-panel .compact-row{gap:8px;flex-wrap:wrap}#twin-pose-panel .compact-row>label{flex-basis:100%}#twin-pose-panel input[type=range]{min-width:80px;flex:1}#twin-pose-panel output{min-width:38px;text-align:right}

/* Keep everyday shooting controls in view; advanced settings remain optional. */
#step-shoot .panel{padding:18px 20px}#step-shoot .section-heading{margin-bottom:12px}#step-shoot .section-heading h2{font-size:16px}#step-shoot .look-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#step-shoot .look-choices button{min-height:40px;padding:8px 3px;text-align:center}#step-shoot .look-choices strong{font-size:12px;line-height:1.4}#step-shoot .shoot-color-heading{margin-top:20px}#step-shoot .workflow-details{margin-top:16px;padding-top:12px}#step-shoot .shoot-details>.workflow-details{margin:0;padding:0;border:0}#step-shoot .png-size-row{margin:14px 0 0;justify-content:space-between}#step-shoot .png-size-row select{flex:0 1 132px;padding:7px 9px}#step-shoot .background-choices{margin-top:0}#step-shoot .check-row{font-size:12px}#step-shoot .segmented button{min-height:34px}#step-shoot .workflow-details[open]>summary{margin-bottom:14px}

/* Show the terms before first use without adding a gate or storing consent. */
.landing-terms{max-width:44em;margin:0 auto 12px;color:#626262;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.landing-terms a{color:inherit;text-decoration:underline;text-underline-offset:3px}
