:root{color:#1d1a16;font-family:PingFang SC,Microsoft YaHei,Inter,ui-sans-serif,system-ui,sans-serif;background:#f5f2ec;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f2ec}button,textarea,input{font:inherit}input,textarea{min-width:0}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}button:focus,button:focus-visible,button:active{outline:none}button:disabled{cursor:not-allowed;opacity:.55}img{display:block;max-width:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.image-state{position:relative;display:grid;overflow:hidden;background:#f1ece2}.image-state img{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .22s ease}.image-state.loaded img{opacity:1}.image-skeleton{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:linear-gradient(90deg,#eee5d8,#fbf7ed,#eee5d8);background-size:220% 100%;animation:image-shimmer 1.15s ease-in-out infinite}.image-state-failed{place-items:center;align-content:center;gap:6px;color:#8a7968;text-align:center;font-size:12px;font-weight:850}.image-state-failed svg{opacity:.74}@keyframes image-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.app-shell{min-height:100vh;padding:18px 12px 110px;background:linear-gradient(180deg,#ffcd4d38,#fff0 260px),#f5f2ec}.login-shell{min-height:100vh;display:grid;align-items:center;justify-items:center;padding:26px 22px 34px;background:linear-gradient(180deg,#ffcc4a94,#ffffff2e 44%,#f5f2ecfa),#f5f2ec;overflow:hidden}.login-card{width:min(100%,430px);min-height:calc(100vh - 60px);display:grid;justify-items:center;align-content:center;gap:18px;padding:0 2px 18px;text-align:center}.login-card>span,.hero>span{display:inline-flex;align-items:center;gap:6px;width:max-content}.hero-action{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 12px;border-radius:8px;background:#1f1c18;color:#ffd666;font-size:12px;font-weight:850}.login-card>span{height:34px;padding:0 12px;border-radius:999px;background:#1f1c18;color:#ffd666;font-size:12px;font-weight:850}.login-logo-wrap{width:min(100%,330px);padding:12px;border-radius:8px;background:linear-gradient(180deg,#ffd047,#ffbd14);box-shadow:0 24px 54px #c6810033,0 56px 120px #1f1c181a}.login-logo-wrap img{width:100%;aspect-ratio:1;border-radius:8px;object-fit:cover}.login-card h1{margin:0;max-width:360px;font-size:38px;line-height:1.08;letter-spacing:0}.login-card h1 span,.login-card p span{display:block}.login-card p{margin:0;max-width:340px;color:#70675d;line-height:1.6}.login-card .login-subtitle{font-size:18px}.login-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;margin-top:4px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.login-card .login-hint{width:100%;max-width:340px;margin-top:6px;padding:16px 18px;border:1px solid rgba(31,28,24,.1);border-radius:8px;background:#ffffffb8;color:#4d4338;font-size:18px;font-weight:800;box-shadow:0 12px 36px #1f1c1814}@media(max-height:740px){.login-card{gap:12px}.login-logo-wrap{width:min(100%,280px)}.login-card h1{font-size:32px}.login-card .login-subtitle,.login-card .login-hint{font-size:16px}}.creator{width:min(100%,440px);margin:0 auto}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:10px 4px 18px}.hero.compact h1{max-width:none}.hero p,.hero h1{margin:0}.hero p{color:#8b6b18;font-size:13px;font-weight:900}.hero h1{max-width:300px;font-size:28px;line-height:1.12;letter-spacing:0}.hero>span{flex:0 0 auto;height:34px;padding:0 12px;border-radius:999px;background:#1f1c18;color:#ffd666;font-size:12px;font-weight:850}.panel{margin-bottom:12px;padding:16px;border:1px solid rgba(40,34,25,.08);border-radius:8px;background:#ffffffdb;box-shadow:0 10px 28px #2e23120f}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head div{display:flex;align-items:center;gap:9px}.section-head span{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#ffca3a;color:#1d1608;font-size:12px;font-weight:950}.section-head h2{margin:0;font-size:17px;letter-spacing:0}.section-head small{color:#82786b;font-weight:850}.upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.upload-tile{position:relative;display:grid;aspect-ratio:1;place-items:center;align-content:center;gap:7px;overflow:hidden;border:1px dashed #cdbf9d;border-radius:8px;background:#fbf7ed;color:#7d705f;font-size:13px;font-weight:850}.upload-tile input{display:none}.upload-tile.filled{border-style:solid}.upload-tile.filled>.image-state,.upload-tile.filled img{width:100%;height:100%;object-fit:cover}.upload-tile.filled button{position:absolute;top:6px;right:6px;display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#13110fb8;color:#fff}.style-grid{display:grid;grid-auto-flow:column;grid-auto-columns:44%;grid-template-rows:repeat(2,auto);gap:10px;margin-top:14px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory;scrollbar-width:none}.style-grid::-webkit-scrollbar{display:none}.style-card{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto auto;min-height:204px;gap:5px;overflow:hidden;padding:0 0 12px;border:2px solid rgba(33,29,23,.08);border-radius:8px;background:#fbf8f2;color:#1d1a16;text-align:left;scroll-snap-align:start}.style-card>.image-state,.style-card img,.style-thumb-placeholder{width:100%;min-height:0;aspect-ratio:1;height:auto;background:#f1ece2}.style-card img{object-fit:cover}.style-thumb-placeholder{display:grid;place-items:center;color:#70675d;font-size:20px;font-weight:950}.style-card strong{padding:8px 12px 0;font-size:15px}.style-card small{padding:0 12px;color:#70675d;line-height:1.35}.style-card>svg{position:absolute;top:10px;right:10px;display:grid;width:24px;height:24px;padding:4px;border-radius:50%;background:#ffffffeb;color:#1f7a47}.style-card.selected{border-color:#1f1c18;background:#fff}.gender-switch,.choice-row,.prompt-field{display:grid;gap:9px}.gender-switch>span,.choice-row>span,.prompt-field>span{color:#51483d;font-size:13px;font-weight:900}.gender-switch div{position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:0;height:46px;padding:4px;border-radius:999px;background:#f1ece2}.gender-switch i{position:absolute;top:4px;left:4px;width:calc(50% - 4px);height:38px;border-radius:999px;background:#1f1c18;box-shadow:0 7px 18px #1f1c1829;transition:transform .2s ease}.gender-switch i.male{transform:translate(100%)}.gender-switch button,.choice-row button{min-height:38px;border-radius:8px;background:#f1ece2;color:#342c23;font-weight:850}.gender-switch button{position:relative;z-index:1;border-radius:999px;background:transparent;transition:color .2s ease}.gender-switch button.selected,.choice-row button.selected{color:#fff}.choice-row button.selected{background:#1f1c18}.choice-row{margin-bottom:14px}.choice-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.choice-head span{color:#51483d;font-size:13px;font-weight:900}.choice-head button{height:28px;padding:0 10px;border-radius:999px;background:#1f1c18;color:#fff;font-size:12px;font-weight:850}.choice-row div{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.choice-row div::-webkit-scrollbar{display:none}.choice-row button{display:grid;flex:0 0 auto;min-width:74px;place-items:center;padding:0 12px;white-space:nowrap}.inline-custom{width:100%;height:42px;border:1px solid #ded4c4;border-radius:8px;padding:0 12px;background:#fffdf8;color:#1d1a16;outline:none}.inline-custom:focus{border-color:#1f1c18}.choice-row small{font-size:11px;opacity:.72}.prompt-field{position:relative}.prompt-field textarea{min-height:86px;resize:none;border:1px solid #ded4c4;border-radius:8px;padding:12px 12px 26px;background:#fffdf8;color:#1d1a16;outline:none}.prompt-field textarea:focus{border-color:#1f1c18}.prompt-field small{position:absolute;right:12px;bottom:9px;color:#8d8275;font-size:11px}.summary-bar{position:sticky;bottom:82px;z-index:10;display:grid;grid-template-columns:1fr 116px;align-items:center;gap:10px;margin:14px 0;padding:12px;border:1px solid rgba(31,28,24,.08);border-radius:8px;background:#ffffffeb;box-shadow:0 12px 32px #241d121f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.summary-bar div{display:grid;gap:3px;min-width:0}.summary-bar strong,.summary-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-bar span{color:#796f64;font-size:12px}.summary-bar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:46px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.error-text{margin:10px 2px;color:#c7352b;font-size:13px;font-weight:850}.progress{height:8px;overflow:hidden;border-radius:999px;background:#eee7dc}.progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffca3a,#33c37e);transition:width .25s ease}.waiting-card{display:grid;justify-items:center;gap:9px;margin-top:12px;padding:26px 18px;border-radius:8px;background:#fbf7ed;color:#665c51;text-align:center}.waiting-card strong{color:#1d1a16}.waiting-card span{max-width:100%;overflow:hidden;color:#7f7469;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.result-grid button{display:block;overflow:hidden;padding:0;border-radius:8px;background:#f1ece2;-webkit-tap-highlight-color:transparent;outline:none;transition:transform .16s ease,opacity .16s ease}.result-grid button:active{transform:scale(.985)}.result-grid .image-state,.result-grid img{width:100%;aspect-ratio:1;object-fit:cover;background:#f1ece2}.template-list{display:grid;gap:12px}.template-card{display:grid;grid-template-columns:118px 1fr;gap:12px;min-height:144px;padding:12px;border:1px solid rgba(40,34,25,.08);border-radius:8px;background:#ffffffe0;box-shadow:0 10px 28px #2e23120f}.template-card>.image-state,.template-card img,.template-card .style-thumb-placeholder{width:118px;aspect-ratio:1;border-radius:8px;background:#f1ece2}.template-card img{object-fit:cover}.template-card div{display:grid;align-content:center;gap:6px}.template-card strong{font-size:17px}.template-card span,.empty-note{color:#70675d;font-size:13px}.template-card button{width:max-content;height:34px;padding:0 12px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:900}.profile-panel{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px}.profile-panel>img{width:58px;height:58px;border-radius:8px;object-fit:cover}.profile-main{display:grid;gap:5px;min-width:0}.profile-name-row{display:flex;align-items:center;gap:8px;min-width:0}.profile-name-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-panel span{color:#70675d;font-size:12px}.profile-name-row button,.profile-nickname-form button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;height:34px;border-radius:8px;background:#f1ece2;color:#342c23;font-weight:850}.profile-name-row button{width:34px}.profile-nickname-form{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px}.profile-nickname-form input{min-width:0;height:38px;padding:0 10px;border:1px solid rgba(31,28,24,.1);border-radius:8px;background:#fffaf1;color:#1d1a16;font-size:14px;font-weight:800}.profile-nickname-form button{height:38px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.metric-grid div{display:grid;gap:4px;padding:14px 12px;border-radius:8px;background:#ffffffdb;text-align:center}.metric-grid strong{font-size:20px}.metric-grid span{color:#70675d;font-size:12px}.account-settings-panel,.recharge-panel,.wallet-history-panel{display:grid;gap:12px}.nickname-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.nickname-form input{min-width:0;height:44px;padding:0 12px;border:1px solid rgba(31,28,24,.1);border-radius:8px;background:#fffaf1;color:#1d1a16;font-size:15px;font-weight:800}.nickname-form button,.recharge-plan-list button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.nickname-form button{padding:0 14px}.account-message{margin:0;color:#5f7d22;font-size:13px;font-weight:850}.wallet-entry-panel{padding:0;overflow:hidden}.wallet-entry-panel>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px;background:transparent;color:#1d1a16;text-align:left}.wallet-entry-panel>button>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 10px;min-width:0}.wallet-entry-panel span{display:grid;grid-row:1 / span 2;place-items:center;width:30px;height:30px;border-radius:8px;background:#ffca3a}.wallet-entry-panel strong,.wallet-entry-panel small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-entry-panel small{color:#70675d;font-weight:800}.wallet-hero{align-items:center;justify-content:flex-start}.wallet-hero>button{display:grid;flex:0 0 auto;width:36px;height:36px;place-items:center;border-radius:8px;background:#f1ece2;color:#342c23}.recharge-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recharge-plan-list button{display:grid;justify-items:start;padding:12px;text-align:left}.recharge-plan-list span{color:#5d4f3f;font-size:12px;font-weight:800}.wallet-transaction-list{display:grid;gap:8px}.wallet-transaction-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:8px;background:#fbf7ed}.wallet-transaction-list article div{display:grid;gap:3px;min-width:0}.wallet-transaction-list strong,.wallet-transaction-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-transaction-list strong{color:#1d1a16;font-size:14px}.wallet-transaction-list span{color:#70675d;font-size:12px}.wallet-transaction-list b{flex:0 0 auto;font-size:16px}.wallet-transaction-list b.positive{color:#5f7d22}.wallet-transaction-list b.negative{color:#c7352b}.wallet-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.wallet-pager button{height:34px;border-radius:8px;background:#f1ece2;color:#342c23;font-weight:850}.wallet-pager span{color:#70675d;font-size:12px;font-weight:850}.logout-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;height:44px;margin-top:4px;border-radius:8px;background:#f1ece2;color:#9b332d;font-weight:900}.mini-records{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mini-records article{display:grid;gap:6px}.mini-records .image-state,.mini-records img{width:100%;aspect-ratio:1;border-radius:8px;object-fit:cover;background:#f1ece2}.mini-records span{overflow:hidden;color:#70675d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.record-list{display:grid;gap:12px}.record-card{display:grid;gap:12px;padding:14px;border:1px solid rgba(40,34,25,.08);border-radius:8px;background:#ffffffe0;box-shadow:0 10px 28px #2e23120f}.record-card-head,.record-meta-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.record-card-head div{display:grid;gap:3px;min-width:0}.record-card-head strong,.record-card-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-card-head span,.record-meta-line{color:#70675d;font-size:12px}.record-details{display:grid;grid-template-columns:1fr;gap:8px;min-width:0;color:#4d4338}.record-details summary{display:inline-flex;align-items:center;gap:5px;height:32px;width:max-content;list-style:none;cursor:pointer;color:#1f1c18;font-size:13px;font-weight:900;line-height:1;-webkit-tap-highlight-color:transparent}.record-details summary::-webkit-details-marker{display:none}.record-details summary:before{content:"▶";font-size:10px;line-height:1}.record-details[open] summary:before{content:"▼"}.record-details dl{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:10px;border-radius:8px;background:#fbf7ed}.record-details div{display:grid;gap:2px;min-width:0}.record-details dt{color:#8a7968;font-size:11px;font-weight:850}.record-details dd{margin:0;overflow-wrap:anywhere;color:#1d1a16;font-size:12px;font-weight:850}.record-details .record-prompt{grid-column:1 / -1}.record-actions{position:relative;display:block}.record-actions .record-details summary{max-width:calc(100% - 104px)}.record-use-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;height:34px;padding:0 12px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.record-delete-button{position:absolute;top:0;right:0;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;padding:0 8px;border-radius:8px;background:transparent;color:#9b332d;font-size:12px;font-weight:850;line-height:1}.record-images{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:start;gap:10px}.record-generated{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.record-generated .record-image-tile:first-child:nth-last-child(1){grid-column:1 / -1}.record-image-tile{position:relative;display:block;overflow:hidden;min-width:0;padding:0;border-radius:8px;background:#f1ece2;color:#fff}.record-image-tile .image-state,.record-image-tile img,.record-image-tile i{width:100%;aspect-ratio:1}.record-image-tile img{object-fit:cover}.record-source{align-self:start}.record-image-tile i{display:grid;place-items:center;color:#70675d;font-style:normal;font-size:12px;font-weight:850}.record-image-tile span{position:absolute;left:6px;bottom:6px;height:22px;padding:0 7px;border-radius:999px;background:#14110dad;font-size:11px;font-weight:850;line-height:22px}.empty-record-panel{display:grid;gap:6px;color:#70675d;text-align:center;justify-items:center}.empty-record-panel strong{color:#1d1a16}.empty-record-panel span{max-width:14em;line-height:1.45}.bottom-nav{position:fixed;right:12px;bottom:12px;left:12px;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:min(calc(100% - 24px),440px);margin:0 auto;padding:8px;border:1px solid rgba(31,28,24,.08);border-radius:8px;background:#fffffff0;box-shadow:0 12px 32px #241d1224;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:8px;background:#100e0cc7;animation:preview-fade-in .16s ease both}.preview-panel{display:grid;grid-template-rows:38px minmax(0,1fr) auto auto;gap:8px;width:min(calc(100vw - 16px),560px);height:min(calc(100vh - 16px),680px);overflow:hidden;padding:8px;border-radius:8px;background:#fffaf1;animation:preview-rise-in .2s ease both}.preview-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-panel header button{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#f1ece2}.preview-image-state,.preview-panel img{width:100%;height:100%;min-height:0;border-radius:8px;background:#1d1a16}.preview-image-state img{object-fit:contain;transition:opacity .14s ease}@keyframes preview-fade-in{0%{opacity:0}to{opacity:1}}@keyframes preview-rise-in{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.preview-image-state .image-skeleton{background:linear-gradient(90deg,#201d19,#3a332b,#201d19);background-size:220% 100%}.preview-panel p{margin:0;color:#c7352b;font-size:13px;font-weight:850}.preview-panel>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.crop-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:10px;background:#100e0cc7}.crop-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;width:min(calc(100vw - 20px),520px);max-height:min(calc(100vh - 20px),780px);overflow:auto;padding:12px;border-radius:8px;background:#fffaf1;box-shadow:0 18px 54px #14110d3d}.crop-dialog header,.crop-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.crop-dialog h2,.crop-dialog p{margin:0}.crop-dialog h2{font-size:18px}.crop-dialog p{color:#70675d;font-size:13px;line-height:1.45}.crop-dialog header button{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border-radius:50%;background:#f1ece2}.crop-stage{position:relative;width:100%;height:min(56vh,470px);min-height:300px;overflow:hidden;border-radius:8px;background:#1d1a16;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.crop-stage.dragging{cursor:grabbing}.crop-image{position:absolute;top:50%;left:50%;transform-origin:center;will-change:transform;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.crop-frame{position:absolute;top:50%;left:50%;border:1px solid rgba(255,255,255,.92);border-radius:2px;box-shadow:0 0 0 999px #0b0a097a;transform:translate(-50%,-50%);pointer-events:none}.crop-frame:before,.crop-frame:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.crop-frame:before{border-top:1px solid rgba(255,255,255,.42);border-bottom:1px solid rgba(255,255,255,.42);transform:scaleY(.333)}.crop-frame:after{border-left:1px solid rgba(255,255,255,.42);border-right:1px solid rgba(255,255,255,.42);transform:scaleX(.333)}.crop-frame span{position:absolute;border-color:#fff}.crop-frame span:nth-child(-n+4){width:28px;height:28px;border-color:#fff}.crop-frame span:nth-child(1){top:-3px;left:-3px;border-top:4px solid;border-left:4px solid;border-top-left-radius:2px}.crop-frame span:nth-child(2){top:-3px;right:-3px;border-top:4px solid;border-right:4px solid;border-top-right-radius:2px}.crop-frame span:nth-child(3){right:-3px;bottom:-3px;border-right:4px solid;border-bottom:4px solid;border-bottom-right-radius:2px}.crop-frame span:nth-child(4){bottom:-3px;left:-3px;border-bottom:4px solid;border-left:4px solid;border-bottom-left-radius:2px}.crop-frame span:nth-child(5),.crop-frame span:nth-child(7){left:50%;width:36px;height:0;transform:translate(-50%)}.crop-frame span:nth-child(5){top:-3px;border-top:4px solid}.crop-frame span:nth-child(7){bottom:-3px;border-bottom:4px solid}.crop-frame span:nth-child(6),.crop-frame span:nth-child(8){top:50%;width:0;height:36px;transform:translateY(-50%)}.crop-frame span:nth-child(6){right:-3px;border-right:4px solid}.crop-frame span:nth-child(8){left:-3px;border-left:4px solid}.crop-resize-handle{position:absolute;right:-24px;bottom:-24px;z-index:2;width:54px;height:54px;background:transparent;cursor:nwse-resize;pointer-events:auto}.crop-ratios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crop-ratios button,.crop-dialog footer button{height:40px;border-radius:8px;background:#f1ece2;color:#342c23;font-weight:900}.crop-ratios button.selected,.crop-dialog footer button:last-child{background:#1f1c18;color:#fff}.crop-custom-ratio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crop-custom-ratio label{display:grid;gap:5px;color:#4d4338;font-size:13px;font-weight:850}.crop-custom-ratio input{width:100%;height:40px;padding:0 10px;border:1px solid #e0d7ca;border-radius:8px;background:#fff}.crop-dialog footer button{flex:1}.crop-dialog footer button:disabled{opacity:.6}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;display:grid;place-items:center;padding:20px;background:#100e0c94}.confirm-dialog{display:grid;gap:12px;width:min(100%,360px);padding:18px;border-radius:8px;background:#fffaf1;box-shadow:0 18px 54px #14110d38}.confirm-dialog h2,.confirm-dialog p{margin:0}.confirm-dialog h2{font-size:18px;letter-spacing:0}.confirm-dialog p{color:#70675d;font-size:14px;line-height:1.55}.confirm-dialog div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}.confirm-dialog button{height:44px;border-radius:8px;font-weight:950}.confirm-dialog button:first-child{background:#f1ece2;color:#342c23}.confirm-dialog button:last-child{background:#b9372f;color:#fff}.bottom-nav button{display:grid;place-items:center;gap:3px;min-height:50px;border-radius:8px;background:transparent;color:#6d6459;font-size:12px;font-weight:850}.bottom-nav button.selected{background:#1f1c18;color:#fff}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;align-items:end;justify-items:center;background:#14110d7a}.sheet{width:min(100%,440px);max-height:84vh;overflow:auto;padding:16px;border-radius:18px 18px 0 0;background:#fffaf1;box-shadow:0 -14px 38px #14110d2e}.sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sheet h2{margin:0;font-size:18px}.sheet header button{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#f1ece2}.sheet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sheet-grid button{display:grid;min-height:58px;place-items:center;gap:3px;padding:8px;border-radius:8px;background:#f1ece2;color:#342c23;text-align:center;font-weight:850}.sheet-grid button.selected{background:#1f1c18;color:#fff}.sheet-grid span{font-size:11px;opacity:.72}.sheet .inline-custom{margin-top:12px}.sheet-done{width:100%;height:48px;margin-top:14px;border-radius:8px;background:#ffca3a;color:#17130d;font-weight:950}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:720px){.app-shell{padding-top:28px}.creator,.bottom-nav{width:520px}}
