.prompt-main{max-width:1500px;margin:auto;padding:28px;color:#586675}.prompt-main .prompt-heading h1{font-size:28px}.prompt-main label{display:grid;gap:6px;font-size:14px}.prompt-main input:not([type=checkbox]):not([type=range]),.prompt-main select,.prompt-main textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #dbe1e4;border-radius:10px;background:#fffefa;color:#586675;font:inherit}.prompt-main textarea{line-height:1.65;resize:vertical}.prompt-main button{padding:10px 14px;border:1px solid #dbe1e4;border-radius:11px;background:#fffefa;color:#586675;cursor:pointer;min-height:42px}.prompt-main button.primary{background:#c8ddee}.prompt-main button:disabled{opacity:.5;cursor:not-allowed}.prompt-main button:focus-visible,.prompt-main input:focus-visible,.prompt-main textarea:focus-visible{outline:2px solid #7c9fba}.prompt-toolbar,.prompt-backups,.prompt-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}.prompt-toolbar>label:first-child{flex:1;min-width:180px}.prompt-main .prompt-check{display:flex;align-items:center;gap:6px}.prompt-backups span,.prompt-main small{font-size:12px;color:#788795}.prompt-layout{display:grid;grid-template-columns:minmax(240px,330px) minmax(0,1fr);gap:22px}.prompt-card,#promptDetail{border:1px solid #e5e4dc;border-radius:18px;background:#fffefa;padding:18px;margin-bottom:12px}.prompt-card.active{background:#edf4f8;border-color:#9db9ce}.prompt-card>button:first-child{display:block;text-align:left;border:0;background:none;padding:0;width:100%}.prompt-card h2{font-size:18px;margin:10px 0}.prompt-card p{font-size:14px;line-height:1.6}.prompt-card span{font-size:12px}.prompt-card>button:last-child{margin-top:12px}.prompt-params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.prompt-percent{display:flex;gap:10px;align-items:center}.prompt-percent input[type=range]{flex:1;min-width:60px;accent-color:#8aadc6}.prompt-percent input[type=number]{max-width:85px}.prompt-param output{font-size:13px}.prompt-main h3{font-size:16px;margin-top:24px}.prompt-main fieldset{border:1px solid #dbe1e4;border-radius:12px;margin:14px 0;padding:14px}.prompt-main #promptErrors,.prompt-main #peError{color:#9b4852}.prompt-main #promptStatus{min-height:24px;font-size:14px}.prompt-main #promptCopy{position:sticky;bottom:12px;margin-top:12px;box-shadow:0 2px 12px #58667520}@media(max-width:760px){.prompt-main{padding:16px}.prompt-layout{grid-template-columns:1fr}.prompt-main #promptCards{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity}.prompt-card{min-width:240px;max-width:280px;flex:0 0 76%;scroll-snap-align:start}.prompt-main #promptDetail{padding:16px}.prompt-params{gap:12px}.prompt-main .prompt-heading h1{font-size:24px}.prompt-backups span{flex-basis:100%}}@media(max-width:350px){.prompt-params{grid-template-columns:1fr}}.prompt-confirm{max-width:440px;border:1px solid #dbe1e4;border-radius:18px;padding:24px;background:#faf8f0;color:#586675}.prompt-confirm::backdrop{background:#58667566}.prompt-confirm button{margin-right:10px}.prompt-main .prompt-preview-image{display:block;width:100%;height:240px;object-fit:contain;background:#f0ebf6;border-radius:12px;margin-bottom:12px}.prompt-main .card-image{height:170px}.prompt-main .prompt-preview-placeholder{display:flex;min-height:170px;align-items:center;justify-content:center;gap:12px;background:#f0ebf6;border-radius:12px;margin-bottom:12px}.prompt-main .prompt-image-panel{padding:14px;background:#faf8f0;border-radius:14px;margin:18px 0}.prompt-main .prompt-image-panel p{font-size:12px}.prompt-main .prompt-image-panel button{margin-right:8px}.prompt-main .prompt-image-panel .prompt-preview-image{height:280px}@media(max-width:760px){.prompt-main .prompt-image-panel .prompt-preview-image{height:230px}.prompt-main .card-image{height:170px}}.prompt-main #promptCopy{position:static;width:100%;margin:10px 0 18px}.prompt-main #promptAdvanced,.prompt-main .prompt-full-preview{border:1px solid #dbe1e4;border-radius:12px;margin:12px 0;padding:14px}.prompt-main #promptAdvanced>summary,.prompt-main .prompt-full-preview>summary{cursor:pointer;list-style:none;font-weight:600;display:flex;justify-content:space-between}.prompt-main #promptAdvanced>summary::-webkit-details-marker{display:none}.prompt-main #promptAdvanced .arrow-open{display:none}.prompt-main #promptAdvanced[open] .arrow-open{display:inline}.prompt-main #promptAdvanced[open] .arrow-closed{display:none}.prompt-main .prompt-full-preview textarea{margin-top:12px}.prompt-main .prompt-image-options summary{cursor:pointer;font-size:13px}.prompt-main .prompt-image-options button{margin-top:10px}.prompt-main .prompt-mode-label{max-width:420px}@media(min-width:761px){.prompt-layout{align-items:start}.prompt-main #promptCards,.prompt-main #promptDetail{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.prompt-main #promptCards{padding-right:4px}}.prompt-main .prompt-intro{margin:4px 0 18px;line-height:1.65}.prompt-main .prompt-image-panel{margin:14px 0 8px}.prompt-main .prompt-advanced-group{border-top:1px solid #e7e5df;padding-top:16px;margin-top:16px}.prompt-main .prompt-advanced-group h3{margin:0 0 10px;font-size:15px;font-weight:700}.prompt-main .prompt-advanced-group .prompt-params{margin:0}.prompt-main .prompt-param-hint{font-size:12px;color:#788795;margin-top:2px}.prompt-main .prompt-basic{margin:12px 0 4px}#studioHub main.label-main{max-width:1500px}.label-layout{display:grid;grid-template-columns:280px minmax(260px,1fr) 300px;gap:20px;align-items:start}.label-layout .sim-controls{padding:20px}.label-layout h2{font-size:15px!important;margin:14px 0}.label-template-buttons{display:grid;gap:8px;margin-bottom:24px}.label-template-buttons button{text-align:left}.label-template-buttons small{display:block;font-size:11px;margin-top:4px}.label-preview-column{position:sticky;top:20px;min-width:0;padding:22px;background:#fffefa;border:1px solid #e5e4dc;border-radius:20px}.label-preview{padding:12px;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/12px 12px;border-radius:8px;margin:24px 0}.label-preview canvas{display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;touch-action:none;box-shadow:none;position:static!important}.label-layout input[type=checkbox]{width:auto!important;display:inline-block!important;margin-right:8px}.label-layout output{font-size:12px;line-height:1.8;display:block}.label-layout .sim-downloads{margin-top:16px}#labelStatus{font-size:13px;line-height:1.8;min-height:40px}#labelDownloads a{overflow-wrap:anywhere;font-size:12px}#labelSame{margin-top:8px;font-size:12px}#labelZoomText{float:right}.label-layout input[type=range]{padding:0}.label-layout .sim-tabs button{font-size:12px}@media(max-width:1050px){.label-layout{grid-template-columns:250px minmax(260px,1fr)}.label-preview-column{grid-column:2;grid-row:1 / span 2}.label-layout>.sim-controls:last-child{grid-column:1}}@media(max-width:700px){.label-layout{display:flex;flex-direction:column;gap:14px}.label-preview-column{position:relative;top:auto;order:-1;width:100%;padding:16px}.label-layout>.sim-controls{width:100%}.label-template-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.label-template-buttons button{font-size:11px;padding:8px}.label-template-buttons small{font-size:10px}}.label-text-panel{border-top:1px solid #e5e4dc;margin-top:22px;padding-top:10px}.label-text-panel textarea{width:100%;padding:9px;border:1px solid #dde3e4;border-radius:8px;font:inherit;resize:vertical}.lt-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0}.lt-pair fieldset{padding:0;margin:8px 0;border:0;min-width:0}.lt-pair legend{font-size:12px;margin-bottom:7px}.lt-segment{display:flex;gap:2px;min-width:0}.lt-segment button{flex:1;min-width:0;padding:7px 3px;font-size:12px;min-height:38px;border-radius:7px}.lt-pair label{min-width:0}.lt-pair input,.lt-pair select{min-width:0;width:100%}.label-text-panel input[type=color]{display:inline-block;width:45px}.label-text-panel .hint{font-size:11px}.label-extra-images{border-top:1px solid #e5e4dc;margin-top:20px;padding-top:10px}#labelModeControls{flex-wrap:wrap}#labelModeControls button{font-size:12px}#liScaleValue{float:right}.label-extra-images .hint{font-size:11px}.label-layout .sim-tabs:has([data-label-slot]){flex-wrap:wrap}.label-layout [data-label-slot]{flex:1 0 40%}.label-preview{display:flex;justify-content:center;align-items:center}.label-preview canvas{width:auto!important;height:auto!important;max-width:100%!important;max-height:65dvh!important}#labelRotate{font-size:12px}#labelRotationText{margin:8px 0;font-size:11px}.grip-panel{margin-bottom:20px;border-bottom:1px solid #dbe1e4;padding-bottom:16px}.grip-panel .grip-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grip-panel input{min-width:0;box-sizing:border-box}.grip-panel .grip-modes{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.grip-panel button{font-size:12px;min-height:40px}.grip-panel button.active{background:#c8ddee;border-color:#8cacc4}.grip-panel a{font-size:12px;color:#64849d}.grip-panel .hint{font-size:12px;line-height:1.65}.grip-panel #gripStatus{min-height:24px}.grip-panel #gripDownloads{overflow-wrap:anywhere}.grip-target-label{font-weight:600;margin:12px 0 4px}.grip-targets{margin:4px 0 12px}.grip-targets button{min-height:42px}.hub-active{height:auto!important;overflow:auto!important;padding:0!important}.hub-active #app,.hub-active #quickExport,.hub-active #backStudioHome{display:none!important}#studioHub{min-height:100dvh;background:#faf8f0;color:#586675}#studioHub main{display:block;height:auto;max-width:1280px;padding:32px 28px;margin:auto}#studioHub h1{font-size:30px;letter-spacing:0}#studioHub h2{font-size:20px}#studioHub p{line-height:1.8}.hub-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 5vw;border-bottom:1px solid #e6e5df;background:#fffdf8}.hub-nav a{color:#586675;text-decoration:none}.hub-nav>a{font-size:23px}.hub-nav>div{display:flex;gap:20px;font-size:13px}.hub-eyebrow{font-size:11px;letter-spacing:3px}.hub-hero{display:flex;align-items:center;justify-content:space-between;background:#c8ddee;border-radius:26px;padding:38px;margin:28px 0;color:inherit;text-decoration:none;min-height:250px}.hub-hero h2{font-size:32px!important}.hub-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.hub-cards a{background:#fffefa;border:1px solid #e5e4dc;padding:28px;border-radius:22px;text-decoration:none;color:inherit}.hub-cards a:nth-child(2){background:#f0ebf6}.hub-cards span{font-size:38px}.hub-privacy{font-size:12px;color:#81929d;margin-top:30px}.sim-heading>a{color:inherit;font-size:13px}.sim-heading p{font-size:13px}.sim-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.sim-preview{border:1px solid #e4e5df;border-radius:24px;background:#f0efe8;padding:24px;position:sticky;top:18px}.sim-preview canvas{display:block;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:70dvh!important;margin:auto;touch-action:none;box-shadow:none}.sim-preview p{text-align:center;font-size:12px}.sim-controls{padding:24px;background:#fffefa;border:1px solid #e5e4dc;border-radius:22px}.sim-controls label{display:block;font-size:13px;margin:16px 0}.sim-controls input:not([type=color]),.sim-controls select{width:100%;display:block;margin-top:7px;padding:9px;border:1px solid #dde3e4;border-radius:8px;background:#fffefa}.sim-controls button{font-size:13px}.sim-tabs{display:flex;gap:8px;margin:12px 0}.sim-tabs button{flex:1}.sim-downloads{display:grid;gap:8px}#simResult{margin-top:14px;font-size:13px}#backStudioHome{position:fixed;right:130px;top:22px;z-index:80;font-size:13px;color:#586675;text-decoration:none;background:#fffefa;padding:8px;border-radius:8px}@media(max-width:700px){#studioHub main{padding:24px 16px}.hub-nav{padding:18px 16px;flex-wrap:wrap}.hub-nav>div{gap:16px}.hub-hero{padding:24px}.hub-hero h2{font-size:24px!important}.hub-cards,.sim-workspace{grid-template-columns:1fr}.sim-preview{position:relative;top:auto;padding:14px}.sim-preview canvas{max-height:52dvh!important}#studioHub h1{font-size:24px}#backStudioHome{top:14px;right:96px;font-size:11px}}.case-layout{display:grid;grid-template-columns:260px minmax(240px,1fr) 280px;gap:20px;align-items:start}.case-center{position:sticky;top:16px;min-width:0}.case-preview{background:repeating-conic-gradient(#eee 0% 25%,#fafafa 0% 50%) 50%/16px 16px;border-radius:20px;padding:16px;display:flex;justify-content:center}.case-preview canvas{display:block;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:70dvh!important;touch-action:none;box-shadow:none}.case-layout .sim-controls{padding:18px}.case-layout .sim-controls input[type=checkbox]{display:inline-block;width:auto;padding:0}.case-layout details{font-size:13px}.case-layout summary{font-weight:600;cursor:pointer;margin:12px 0}.case-layout input[type=color]{display:block;margin-top:8px}.case-layout #caseSource{font-size:12px;color:#64849d}.case-layout output{float:right}.case-layout .sim-controls input[type=range]{padding:0}#caseStatus{font-size:12px;line-height:1.8;min-height:36px}#caseDownloads a{font-size:12px;overflow-wrap:anywhere}@media(max-width:1000px){.case-layout{grid-template-columns:minmax(230px,1fr) minmax(260px,1fr)}.case-center{grid-column:2;grid-row:1 / span 2}.case-layout>.sim-controls:last-child{grid-column:1}}@media(max-width:700px){.case-layout{display:flex;flex-direction:column;gap:14px}.case-center{order:-1;position:relative;top:0;width:100%}.case-preview canvas{max-height:48dvh!important}.case-layout>.sim-controls{width:100%}.case-layout details>summary{min-height:36px}.case-main .sim-heading p{font-size:12px}}.hub-home .hub-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.9fr);gap:24px;background:#c8ddee;border:1px solid #afcce1}.hub-home .hub-logo{display:flex;align-items:center;justify-content:center;min-width:0}.hub-home .home-eyes-logo{display:block;width:100%;max-width:380px;height:150px;object-fit:cover;object-position:50% 50%;mix-blend-mode:multiply}.hub-home .hub-cards>a{border-color:#d6d9dc;transition:transform .16s ease,box-shadow .16s ease}.hub-home .hub-cards>a[href="#prompts"]{background:#f0ebf6;border-color:#ded4eb}.hub-home .hub-cards>a[href="#labels"]{background:#f7e7b9;border-color:#e6d39d}.hub-home .hub-cards>a[href="#case"]{background:#e9d5df;border-color:#dbc0cf}.hub-home .hub-cards>a[href="#line"]{background:#c8ddee;border-color:#afcce1}.hub-home .hub-cards>a>span{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:18px;background:#faf8f04d}.hub-home .hub-cards>a:hover{transform:translateY(-3px);box-shadow:0 8px 22px #58667515}.hub-home a:focus-visible{outline:3px solid #6c8daa;outline-offset:4px}@media(max-width:700px){.hub-home .hub-hero{grid-template-columns:1fr;gap:14px;min-height:0}.hub-home .home-eyes-logo{max-width:280px;height:100px}.hub-home .hub-logo{padding:0 8px}}@media(prefers-reduced-motion:reduce){.hub-home .hub-cards>a{transition:none}.hub-home .hub-cards>a:hover{transform:none}}.hub-nav>a{display:inline-flex;align-items:center;gap:10px}.hub-nav .nav-eyes-logo{width:45px;height:26px;object-fit:cover;object-position:center;mix-blend-mode:multiply}.hub-home .hub-mosaic{width:min(100%,300px);aspect-ratio:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;justify-self:center;transform:rotate(8deg)}.hub-home .hub-mosaic i{border-radius:18px;background:#faf8f0a8}.hub-home .hub-mosaic i:nth-child(2){background:#f7e7b9}.hub-home .hub-mosaic i:nth-child(3){background:#e9d5df}.hub-home .hub-mosaic i:nth-child(4){background:#f0ebf6}@media(max-width:700px){.hub-home .hub-mosaic{max-width:180px}}:root{font-family:Segoe UI,Microsoft JhengHei,sans-serif;color:#586675;background:#faf8f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button{border:1px solid #e1e5e5;background:#fffdf9;border-radius:10px;padding:10px 13px;min-height:42px;transition:.2s}button:hover{border-color:#8eacc3;background:#eef4f8}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #799bb6;outline-offset:3px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}header{height:100px;border-bottom:1px solid #e7e5dc;display:flex;align-items:center;gap:20px;padding:0 5vw;background:#fffdf7}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;font-size:25px;letter-spacing:.5px}.brand i{font-family:Georgia,serif;font-weight:400}.brand small{display:block;font-size:11px;letter-spacing:3px;margin-top:5px}.brand-icon{font-size:42px;color:#87a8c0}.local{margin-left:auto;font-size:12px;color:#718877;background:#eef3e9;padding:9px 14px;border-radius:30px}main{max-width:1400px;margin:auto;padding:0 40px}.intro{padding:44px 0 32px}.eyebrow{font-size:10px;letter-spacing:3px;color:#8ca1ad}h1{font-size:32px;font-weight:500;letter-spacing:2px;margin:14px 0}h1 span{color:#c6b778;margin-left:16px}.intro p{font-size:14px;color:#8c959c}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:26px;align-items:start}.panel,.editor{background:#fffefa;border:1px solid #e8e6dd;border-radius:20px;box-shadow:0 8px 32px #58667505}.panel{padding:24px}.panel-title{display:flex;justify-content:space-between;align-items:center;font-size:17px}.panel-title span{font-size:11px;background:#f0ebf6;padding:4px 7px;border-radius:5px}.panel section{padding-top:19px;margin-top:18px;border-top:1px solid #eeece5}h2{font-size:13px;font-weight:600;margin:0 0 15px}em{font-style:normal;font-size:11px;color:#a3b6c5;margin-right:8px}.layouts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.layouts button{padding:8px 2px;font-size:10px}.layouts button span{display:block;font-size:32px;line-height:40px;font-weight:300;color:#91a5b3}.active{background:#eaf2f8!important;border-color:#96b3c9!important}.ratios{display:flex;flex-wrap:wrap;gap:5px}.ratios button{padding:7px 10px;font-size:12px}.upload{background:#eef4f8;border:1px dashed #a3bdcf;width:100%;font-size:14px;padding:18px 6px}.upload small{display:block;font-size:10px;margin-top:9px;color:#8b9ca8}.hint{font-size:11px;line-height:1.9;color:#929b9f}#replace{font-size:11px;width:100%}.between{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:13px 0}input[type=range]{accent-color:#9cbace;width:100%;min-height:24px}input[type=color]{width:40px;height:30px;padding:2px;border:1px solid #ddd;border-radius:6px}.swatches{display:flex;gap:10px;margin-top:15px}.swatches button{width:27px;height:27px;min-height:0;border-radius:50%;padding:0;border:1px solid #d8dcd9}.editor{padding:22px;min-width:0}.toolbar{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:18px}.toolbar small{color:#9aa5ad;padding-left:10px}.toolbar button{border:0;font-size:12px;padding:6px 9px;background:transparent}.stage{min-height:420px;background-color:#f1f1ec;background-image:radial-gradient(#ced6d6 .7px,transparent .7px);background-size:14px 14px;padding:32px 36px 18px;display:flex;align-items:center;flex-direction:column;border-radius:12px}canvas{display:block;width:auto;height:auto;max-width:100%;max-height:620px;box-shadow:0 8px 25px #58667518;touch-action:none;cursor:grab}.stage-note{font-size:8px;letter-spacing:3px;color:#9ba7a9;margin-top:20px}.crop{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:11px}.crop label{display:flex;align-items:center;gap:10px;flex:1}.crop input{max-width:170px}.crop button{padding:6px 10px;font-size:11px}.gesture{text-align:center;font-size:11px;color:#8e9ca4;line-height:1.8}details{font-size:11px;line-height:1.8;color:#8a959c}.split-controls{display:flex;gap:20px;font-size:11px;margin-top:10px}.split-controls label{flex:1}.export{border-top:1px solid #ece9df;margin-top:20px;padding-top:20px;display:flex;align-items:center;gap:9px}.export>div{flex:1}.export b{font-size:13px;font-weight:500}.export small{display:block;font-size:10px;color:#98a0a4;margin-top:6px}select{padding:9px 6px;border-radius:9px;border:1px solid #e3e5df;background:#fffdf9;font-size:11px}.primary{background:#c8ddee;border-color:#c8ddee;font-size:12px}#status{font-size:11px;line-height:1.8;margin-bottom:0;color:#7d929f}footer{text-align:center;font-size:11px;letter-spacing:1px;color:#9ba4a6;padding:32px 0}footer span{padding:0 12px;color:#a9bfcb}footer small{display:block;margin-top:12px;font-size:10px}#custom{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px;font-size:12px}#custom input{width:70px}#result img{display:block;max-width:100%;max-height:280px;margin:15px auto}a.download{display:block;font-size:13px;margin-top:18px;color:#64849d}@media(min-width:1000px){canvas{max-width:min(100%,530px)}}@media(max-width:850px){main{padding:0 18px}.workspace{grid-template-columns:255px minmax(0,1fr);gap:15px}.panel{padding:16px}.stage{padding:18px 12px;min-height:300px}.editor{padding:14px}.export{flex-wrap:wrap}.export>div{flex-basis:100%}.crop{flex-wrap:wrap}.crop label{flex-basis:100%}.gesture{font-size:10px}.intro{padding-top:30px}h1{font-size:26px}}@media(max-width:620px){header{height:82px;padding:0 18px}.brand{font-size:21px}.brand-icon{font-size:34px}.local{font-size:0;padding:8px}.local:first-letter{font-size:13px}.workspace{display:flex;flex-direction:column}.panel,.editor{width:100%}.intro{padding:25px 0 15px}h1{font-size:23px;letter-spacing:0}.intro p{font-size:12px}.layouts{grid-template-columns:repeat(5,1fr)}.panel section{margin-top:14px;padding-top:14px}.panel{padding:18px}.stage{padding:20px;min-height:300px}canvas{max-height:570px;max-width:100%}.export{gap:7px}#install{font-size:10px;margin-left:auto;padding:5px}.crop{justify-content:center}.eyebrow{font-size:8px;letter-spacing:2px}}.template-filter{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:14px}.layouts{max-height:365px;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));padding:2px;gap:8px}.layouts button{min-width:0;padding:7px 4px;font-size:10px}.layouts svg{display:block;width:100%;height:48px;margin-bottom:5px;fill:#b3c8d6}.layouts .active svg{fill:#7f9fb6}.layouts small{display:block;font-size:9px;color:#96a2ab;margin-top:4px}.plog-settings label:not(.between){display:block;font-size:12px;margin:12px 0}.plog-settings input:not([type=checkbox]):not([type=color]),.plog-settings textarea,.plog-settings select{display:block;width:100%;margin-top:7px;border:1px solid #e1e5e5;border-radius:8px;padding:9px;background:#fffefa}.plog-settings textarea{resize:vertical}.plog-toggle{background:#f0ebf6;padding:12px;border-radius:9px}.plog-toggle input{accent-color:#87a8c0}.split-controls input:disabled{opacity:.25}@media(max-width:620px){.layouts{grid-template-columns:repeat(4,minmax(0,1fr));max-height:250px}.layouts svg{height:42px}.editor{order:-1}.stage{min-height:240px}.intro{padding-bottom:5px}.panel-title:after{content:"先選版型，再加入照片";font-size:10px;color:#92a1a9}}.magazine-settings label:not(.between){display:block;font-size:12px;margin:12px 0}.magazine-settings input:not([type=checkbox]):not([type=color]),.magazine-settings textarea{display:block;width:100%;margin-top:6px;padding:8px;border:1px solid #dfe5e7;border-radius:8px;background:#fffefa}.magazine-settings textarea{resize:vertical}.magazine-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.magazine-presets button{padding:5px 4px;font-size:10px}.mini-cover{display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:3/4;border-radius:4px;background:linear-gradient(135deg,#8daba5,#b9c6b0 50%,#7e9a9c);color:#fff;padding:6px 3px;margin-bottom:6px;overflow:hidden;text-align:left}.mini-cover b{font-size:11px;letter-spacing:-.5px;align-self:center}.mini-cover i{font-style:normal;font-size:8px;white-space:pre-line}.mini-cover.japanese,.mini-cover.vertical{font-family:serif;background:linear-gradient(120deg,#b4bba9,#7f9483)}.mini-cover.japanese b,.mini-cover.vertical b{font-size:20px}.mini-cover.vertical i{writing-mode:vertical-rl;align-self:flex-end}.mini-cover.minimal{font-family:Georgia,serif;background:#879a9b}.mini-cover.retro{background:#8e6757;color:#f7e7b9;border:3px double #f7e7b9;font-family:Georgia,serif}.mini-cover.travel{background:linear-gradient(160deg,#8eaec2 45%,#c5bda4 46%)}#coverCanvas{width:100%;background:#eaf2f8;font-size:11px}#magFields .hint{font-size:10px}.asset-section h2{display:flex;align-items:center;gap:5px}#libraryCount{margin-left:auto;font-size:10px;color:#8299aa}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:290px;overflow-y:auto}.asset-grid button{padding:4px;min-width:0;overflow:hidden}.asset-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}.asset-grid span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;padding:5px 0}.asset-grid .active{outline:2px solid #86a9c3;outline-offset:-2px}.library-empty{font-size:12px;text-align:center;padding:14px;background:#f2f4f1;border-radius:8px;color:#98a5ac}.placement{border-bottom:1px solid #e7e6df;padding-bottom:14px;margin-bottom:16px}.placement h2{margin-bottom:12px}.placement-actions{display:flex;gap:8px;flex-wrap:wrap}.placement-actions button{font-size:12px}.placement>p:not(.hint){font-size:12px;line-height:1.8;color:#738d9e;margin-bottom:8px}.placement .hint{margin:7px 0 0;font-size:10px}.slot-picker{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.slot-picker button{font-size:11px;min-height:34px;padding:6px 10px}.replace-actions{margin-top:12px}.replace-actions button{font-size:11px;width:auto}#cancelPlacement{font-size:11px;padding:4px 10px;min-height:32px}.editor{position:sticky;top:16px}@media(max-width:620px){.editor{order:initial;position:static}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:235px}.panel-title:after{content:"素材庫 → 版型 → 放圖"}.placement-actions button{flex:1;font-size:11px}}.editor{position:static}.inset-size{display:block;font-size:12px;margin-top:12px}.text-tweaks{border:1px solid #e3e5e1;border-radius:10px;padding:11px;margin-top:14px}.text-tweaks summary{cursor:pointer;font-size:12px;color:#718b9d}.text-tweaks select{display:block;width:100%;margin-top:7px}.nudge{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.nudge button{padding:8px}.layouts svg{stroke-linejoin:round}#shapeHint{margin-top:10px}#positionPad{position:relative;width:min(100%,260px);aspect-ratio:1;background:#fffefa;border:1px solid #b3c5d0;margin:12px auto;touch-action:none;cursor:crosshair;border-radius:8px;overflow:hidden}.position-grid{position:absolute;inset:0;background:linear-gradient(to right,transparent calc(33.333% - .5px),#9bcbd0 33.333%,transparent calc(33.333% + .5px),transparent calc(50% - .5px),#9bcbd0 50%,transparent calc(50% + .5px),transparent calc(66.667% - .5px),#9bcbd0 66.667%,transparent calc(66.667% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#9bcbd0 33.333%,transparent calc(33.333% + .5px),transparent calc(50% - .5px),#9bcbd0 50%,transparent calc(50% + .5px),transparent calc(66.667% - .5px),#9bcbd0 66.667%,transparent calc(66.667% + .5px))}.position-anchor{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;min-height:0;border:0;background:transparent;padding:0}.position-anchor:after{content:"";display:block;width:7px;height:7px;background:#7eabb3;border-radius:50%;margin:auto}.position-anchor:hover{background:#c8ddee66}#positionMarker{position:absolute;transform:translate(-50%,-50%);border:3px solid #fff;width:18px;height:18px;background:#688fac;box-shadow:0 0 0 2px #688fac;border-radius:50%;pointer-events:none}#positionReadout{display:block;text-align:center;font-size:12px;margin:10px}#insetNudge{margin-top:16px}.option-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.option-buttons button{min-height:44px;flex:1;white-space:nowrap}.option-buttons button.active{background:#c8ddee;border-color:#799bb6}.option-buttons[hidden]{display:none}@font-face{font-family:Studio Noto Sans;src:url(/fonts/NotoSansTC.ttf) format("truetype");font-weight:100 900;font-display:swap}@font-face{font-family:"Studio Noto Serif";src:url(/fonts/NotoSerifTC.ttf) format("truetype");font-weight:200 900;font-display:swap}.custom-color{display:flex;gap:6px;align-items:center;font-size:12px;margin:8px 0}.custom-color input{min-width:0;width:100px}.custom-color button{padding:8px}@font-face{font-family:ChenYuluoyan;src:url(/fonts/ChenYuluoyan.ttf) format("truetype");font-weight:100 900;font-display:swap}@font-face{font-family:Caveat;src:url(/fonts/Caveat.ttf) format("truetype");font-weight:400 700;font-display:swap}@font-face{font-family:Great Vibes;src:url(/fonts/GreatVibes.ttf) format("truetype");font-weight:100 900;font-display:swap}#textTweaks[hidden]{display:none}@media(max-width:620px){body{padding-top:calc(28dvh + 32px)}.stage{position:fixed;top:0;left:0;right:0;z-index:40;border-radius:0;padding:8px;min-height:0;height:calc(28dvh + 24px);background-color:#f1f1ec;border-bottom:1px solid #becdd4;box-shadow:0 4px 16px #58667522;justify-content:center}.stage canvas{max-height:28dvh;max-width:calc(100vw - 24px);width:auto;height:auto}.stage-note{display:none}html{scroll-padding-top:calc(28dvh + 36px)}}@media(min-width:621px){body{height:100dvh;overflow:hidden}header{height:68px}main{height:calc(100dvh - 68px);display:flex;flex-direction:column;padding-bottom:12px}.intro{padding:12px 0 8px}.intro h1{font-size:24px;margin:5px 0}.intro .eyebrow,.intro p,footer{display:none}.workspace{flex:1;min-height:0;align-items:stretch;grid-template-columns:320px minmax(0,1fr)}.panel{overflow-y:auto;overscroll-behavior:contain}.editor{position:relative;top:auto;overflow-y:auto;overscroll-behavior:contain;padding-top:0}.stage{position:sticky;top:0;z-index:10;min-height:0;height:clamp(240px,56dvh,680px);padding:12px;margin:0 -2px 12px;border-bottom:1px solid #d9e1e3}.stage canvas{max-height:calc(56dvh - 42px);max-width:100%;width:auto;height:auto}.stage-note{margin-top:8px}.editor .placement{margin-top:14px}.editor .toolbar{margin:8px 0}.workspace .panel,.workspace .editor{scroll-padding-top:60dvh}}@media(max-width:620px){body{padding-top:0;height:100dvh;overflow:hidden}header{height:54px}.brand{font-size:18px}.brand-icon{font-size:26px}.brand small{display:none}main{padding:0 10px;height:calc(100dvh - 54px);display:flex;flex-direction:column}.intro,footer{display:none}.workspace{display:block;overflow:auto;flex:1;min-height:0;padding-top:calc(44dvh + 12px);overscroll-behavior:contain;scroll-padding-top:calc(44dvh + 20px)}.panel,.editor{border-radius:14px;margin-bottom:12px}.stage{position:fixed;top:54px;left:10px;right:10px;z-index:40;height:44dvh;border-radius:14px;padding:10px;min-height:0;box-shadow:0 5px 16px #58667518}.stage canvas{max-height:calc(44dvh - 22px);max-width:calc(100vw - 42px);width:auto;height:auto}.stage-note{display:none}.editor{position:static}.panel-title:after{content:"畫布即時預覽"}html{scroll-padding-top:0}}@media(min-width:621px){.editor{padding-top:16px}.stage{top:16px;margin:0 0 16px;width:100%;aspect-ratio:4/3;height:auto;max-height:56dvh;min-height:220px;padding:20px;justify-content:center;border:1px solid #e0e5e3;border-radius:14px;overflow:hidden}.stage canvas{max-width:100%;max-height:calc(min(56dvh,(100vw - 460px)*.75) - 40px);width:auto;height:auto}.stage-note{display:none}.workspace{padding-top:8px}}@media(max-width:620px){main{padding:0 12px}.workspace{padding-top:calc(min((100vw - 48px)*.75,44dvh) + 40px);scroll-padding-top:calc(min((100vw - 48px)*.75,44dvh) + 48px)}.stage{top:66px;left:12px;right:12px;width:calc(100vw - 24px);height:calc(min((100vw - 48px)*.75,44dvh) + 16px);padding:12px;border:1px solid #dfe5e3;border-radius:16px;justify-content:center;overflow:hidden;box-shadow:0 5px 14px #58667514}.stage canvas{max-width:100%;max-height:calc(min((100vw - 48px)*.75,44dvh) - 8px);width:auto;height:auto}.panel,.editor{margin-top:0}.editor{padding-top:14px}}.stage{display:flex;align-items:center;justify-content:center;box-sizing:border-box}.stage canvas{flex:none;max-width:none!important;max-height:none!important;object-fit:contain;margin:0}.stage-note{display:none}@media(min-width:621px){.editor{padding:16px;scroll-padding-top:calc(62dvh + 24px)}.stage{position:sticky;top:16px;width:min(100%,46.5dvh);height:auto;aspect-ratio:3/4;max-height:none;min-height:0;padding:12px;margin:0 auto 16px;border-radius:14px;overflow:hidden}.workspace{align-items:stretch;padding-top:8px;padding-bottom:8px}.panel,.editor{scrollbar-gutter:stable}.editor:after{content:"";display:block;height:16px}}@media(max-width:620px){header{height:54px}main{padding:0 12px}.workspace{padding-top:calc(min((100vw - 24px)*4/3,48dvh) + 24px);scroll-padding-top:calc(min((100vw - 24px)*4/3,48dvh) + 30px);padding-bottom:16px}.stage{position:fixed;top:66px;left:50%;right:auto;transform:translate(-50%);width:min(calc(100vw - 24px),36dvh);height:auto;aspect-ratio:3/4;max-height:none;min-height:0;padding:10px;margin:0;border-radius:14px;background-color:#f1f1ec;overflow:hidden}.editor{padding:14px}.panel{margin-top:0}}@media(min-width:621px){.editor{padding:8px 14px 14px}.preview-dock{position:sticky;top:0;z-index:20;background:#fffefa;padding:8px 0 12px;margin:0}.preview-dock .stage{position:relative;top:auto;margin:0 auto;width:min(100%,46.5dvh);padding:8px;aspect-ratio:3/4}.editor .placement{margin-top:0;padding-top:8px}}@media(max-width:620px){main{height:calc(100dvh - 54px);padding:calc(100vw + 0px) 12px 0;box-sizing:border-box}.workspace{padding-top:0;padding-bottom:12px;scroll-padding-top:12px;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden}.preview-dock{display:contents}.preview-dock .stage{position:fixed;top:66px;left:12px;right:12px;transform:none;width:calc(100vw - 24px);height:calc(100vw - 24px);aspect-ratio:1/1;padding:10px;margin:0;min-height:0;max-height:none;border-radius:14px}.panel,.editor{width:100%;margin-top:0}.layouts,.magazine-presets{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-height:none;gap:8px;padding:4px 2px 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.layouts button,.magazine-presets button{flex:0 0 92px;scroll-snap-align:start;min-width:92px}.layouts svg{height:54px}.quick-looks>.option-buttons{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}.quick-looks>.option-buttons button{flex:0 0 auto;scroll-snap-align:start}.panel section{min-width:0}.magazine-settings{min-width:0}.asset-grid{max-height:180px}}#quickExport{position:fixed;right:22px;top:14px;z-index:80;padding:12px 20px;box-shadow:0 3px 12px #58667518}header{padding-right:150px}#exportDialog{border:1px solid #e0e5df;border-radius:18px;background:#fffefa;color:#586675;width:min(560px,calc(100vw - 32px));padding:20px}#exportDialog::backdrop{background:#34455466}.export-dialog-heading{display:flex;align-items:center;justify-content:space-between}#exportDialog .export{flex-wrap:wrap;margin-top:8px}#exportDialog .export>div{flex-basis:100%}#exportDialog .export button{margin-left:auto}@media(min-width:621px){main{max-width:1800px;padding-left:24px;padding-right:24px}.workspace{grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:20px}.preview-dock .stage{width:min(100%,72dvh);aspect-ratio:1/1;height:auto}.editor{scroll-padding-top:calc(72dvh + 30px)}}@media(max-width:620px){#quickExport{top:8px;right:12px;padding:8px 12px;min-height:38px;font-size:12px}header{padding-right:95px}.local{display:none}.preview-dock .stage{aspect-ratio:1/1}#exportDialog .export button{width:100%;margin-top:8px}}@media(min-width:1000px){main{max-width:1920px;padding-left:18px;padding-right:18px}.workspace{grid-template-columns:minmax(260px,320px) minmax(300px,1fr) minmax(260px,320px);gap:16px;align-items:stretch}.preview-column{min-width:0;background:#fffefa;border:1px solid #e8e6dd;border-radius:20px;padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview-column .preview-dock{position:static;width:100%;padding:0;background:transparent}.preview-column .stage{position:relative;top:auto;width:min(100%,calc(100dvh - 180px));aspect-ratio:1/1;margin:0 auto;padding:10px;min-height:0}.editor{padding:18px;overflow-y:auto;scroll-padding-top:16px}.editor .placement{padding-top:0}.editor .toolbar{flex-wrap:wrap;gap:8px}.crop{flex-wrap:wrap}.crop label{flex-basis:100%}.split-controls{flex-direction:column;gap:8px}.export{flex-wrap:wrap}.export>div{flex-basis:100%}.editor:after{height:8px}}@media(min-width:621px)and (max-width:999px){.workspace{grid-template-columns:260px minmax(0,1fr);overflow-y:auto;align-items:start}.panel{grid-row:1 / span 2;max-height:100%}.preview-column{grid-column:2;grid-row:1;min-width:0;padding:10px;background:#fffefa;border:1px solid #e8e6dd;border-radius:16px;position:sticky;top:0;z-index:20}.preview-column .preview-dock{position:static;padding:0}.preview-column .stage{width:100%;aspect-ratio:1/1;margin:0;padding:10px}.editor{grid-column:2;grid-row:2;overflow:visible;position:static;scroll-padding-top:0}}@media(max-width:620px){.preview-column,.preview-column .preview-dock{display:contents}.editor{width:100%}}.print-presets button{font-size:12px}.print-presets small{display:block;font-size:10px;margin-top:5px}#printSizeInfo{display:block;margin:8px 0}#sheetDialog{width:min(640px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #ddd;border-radius:16px;background:#fffefa;color:#586675;padding:18px}#sheetDialog::backdrop{background:#34455466}#sheetDialog>label{display:block;margin:10px 0}#sheetDialog select{margin-left:10px}#sheetPreview{display:block;max-width:100%;max-height:42dvh;margin:12px auto;border:1px solid #ddd}#sheetInfo{display:block;font-size:12px}#idCrop{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:36dvh!important;margin:14px auto;touch-action:none;border:1px solid #ddd}#sheetDialog{width:min(760px,calc(100vw - 24px))}#sheetDialog #sheetPreview{max-height:32dvh}.print-presets{display:flex;flex-wrap:wrap;gap:5px}.print-presets button{flex:none;padding:7px 10px;font-size:12px;min-height:42px}.print-presets small{display:none}:root{--ui-heading:14px;--ui-label:13px;--ui-button:13px;--ui-note:11px}.panel h2,.editor h2{font-size:var(--ui-heading);font-weight:600;line-height:1.6;letter-spacing:0}.setting-heading,.panel section>p:not(.hint):not(.library-empty),#layoutOptions p,#insetShapeLabel>p{font-size:var(--ui-label);font-weight:600;line-height:1.6;margin:16px 0 10px;color:#586675}.panel label,.editor label,.between,.inset-size,.split-controls,.crop,.plog-settings label:not(.between){font-size:var(--ui-label);font-weight:400;line-height:1.6}.panel button,.editor button,.panel select,.editor select,#exportDialog button,#exportDialog select,#sheetDialog button,#sheetDialog select{font-size:var(--ui-button);font-weight:400;line-height:1.5}.ratios button,.print-presets button{font-size:var(--ui-button);font-weight:400;line-height:1.5;padding:9px 12px;min-height:42px}.hint,.panel .hint,.editor .hint,.gesture,.placement .hint{font-size:var(--ui-note);font-weight:400;line-height:1.8}.layouts button,.magazine-presets button{font-size:12px;font-weight:400;line-height:1.5}.layouts small,.asset-grid span,.upload small{font-size:10px;font-weight:400;line-height:1.6}.setting-heading:first-child{margin-top:0}
