@font-face{font-family:Dela Gothic One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dela-gothic-one-japanese-400-normal-De8ccvZQ.woff2) format("woff2"),url(/assets/dela-gothic-one-japanese-400-normal-B8vM98KW.woff) format("woff")}@font-face{font-family:Dela Gothic One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dela-gothic-one-latin-400-normal-AgyGD05y.woff2) format("woff2"),url(/assets/dela-gothic-one-latin-400-normal-qxqiosUh.woff) format("woff")}@font-face{font-family:DotGothic16;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dotgothic16-japanese-400-normal-DqORjlTR.woff2) format("woff2"),url(/assets/dotgothic16-japanese-400-normal-f9lPNYbv.woff) format("woff")}@font-face{font-family:DotGothic16;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dotgothic16-latin-400-normal-BYJEY5oh.woff2) format("woff2"),url(/assets/dotgothic16-latin-400-normal-cp5t3xa_.woff) format("woff")}@font-face{font-family:Hachi Maru Pop;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/hachi-maru-pop-japanese-400-normal-GRTCEmH7.woff2) format("woff2"),url(/assets/hachi-maru-pop-japanese-400-normal-mkLJ_-1V.woff) format("woff")}@font-face{font-family:Hachi Maru Pop;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/hachi-maru-pop-latin-400-normal-BXtXhnPw.woff2) format("woff2"),url(/assets/hachi-maru-pop-latin-400-normal-D4VfECwd.woff) format("woff")}@font-face{font-family:Kaisei Tokumin;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/kaisei-tokumin-japanese-700-normal-DLKPfZp6.woff2) format("woff2"),url(/assets/kaisei-tokumin-japanese-700-normal-DM4VzNPZ.woff) format("woff")}@font-face{font-family:Kaisei Tokumin;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/kaisei-tokumin-latin-700-normal-BTiQ_x8M.woff2) format("woff2"),url(/assets/kaisei-tokumin-latin-700-normal-Cj7JzgSN.woff) format("woff")}@font-face{font-family:Kaisei Tokumin;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/kaisei-tokumin-japanese-800-normal-B8QWlGEs.woff2) format("woff2"),url(/assets/kaisei-tokumin-japanese-800-normal-B36wFSUK.woff) format("woff")}@font-face{font-family:Kaisei Tokumin;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/kaisei-tokumin-latin-800-normal-BSTSP879.woff2) format("woff2"),url(/assets/kaisei-tokumin-latin-800-normal-CurHOOtG.woff) format("woff")}@font-face{font-family:Kiwi Maru;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kiwi-maru-japanese-500-normal-DD9easgN.woff2) format("woff2"),url(/assets/kiwi-maru-japanese-500-normal-DXeJENxx.woff) format("woff")}@font-face{font-family:Kiwi Maru;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kiwi-maru-latin-500-normal-PuJw92jV.woff2) format("woff2"),url(/assets/kiwi-maru-latin-500-normal-RzeFjX2D.woff) format("woff")}@font-face{font-family:Mochiy Pop One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/mochiy-pop-one-japanese-400-normal-QEf6zQoH.woff2) format("woff2"),url(/assets/mochiy-pop-one-japanese-400-normal-BlyH-og9.woff) format("woff")}@font-face{font-family:Mochiy Pop One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/mochiy-pop-one-latin-400-normal-B-XEkQuZ.woff2) format("woff2"),url(/assets/mochiy-pop-one-latin-400-normal-D7_dByCQ.woff) format("woff")}@font-face{font-family:Potta One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/potta-one-japanese-400-normal-DhqUGP9y.woff2) format("woff2"),url(/assets/potta-one-japanese-400-normal-D8XiG_f7.woff) format("woff")}@font-face{font-family:Potta One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/potta-one-latin-400-normal-DAcs9vnL.woff2) format("woff2"),url(/assets/potta-one-latin-400-normal-DIkfvDku.woff) format("woff")}@font-face{font-family:RocknRoll One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/rocknroll-one-japanese-400-normal-CFkg0_BE.woff2) format("woff2"),url(/assets/rocknroll-one-japanese-400-normal-pPpRVouD.woff) format("woff")}@font-face{font-family:RocknRoll One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/rocknroll-one-latin-400-normal-COWaHJWL.woff2) format("woff2"),url(/assets/rocknroll-one-latin-400-normal-B_n2jNUx.woff) format("woff")}@font-face{font-family:Zen Kurenaido;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/zen-kurenaido-japanese-400-normal-B8TayT5K.woff2) format("woff2"),url(/assets/zen-kurenaido-japanese-400-normal-D_vPb4uS.woff) format("woff")}@font-face{font-family:Zen Kurenaido;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/zen-kurenaido-latin-400-normal-Cm0i6hix.woff2) format("woff2"),url(/assets/zen-kurenaido-latin-400-normal-cxEJHhoe.woff) format("woff")}@font-face{font-family:Zen Maru Gothic;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/zen-maru-gothic-japanese-700-normal-ChLL3Jki.woff2) format("woff2"),url(/assets/zen-maru-gothic-japanese-700-normal-CDKwQYDu.woff) format("woff")}@font-face{font-family:Zen Maru Gothic;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/zen-maru-gothic-latin-700-normal-CSiy1nnP.woff2) format("woff2"),url(/assets/zen-maru-gothic-latin-700-normal-Cb4EHpDE.woff) format("woff")}@font-face{font-family:Zen Maru Gothic;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/zen-maru-gothic-japanese-900-normal-BrCxPwxs.woff2) format("woff2"),url(/assets/zen-maru-gothic-japanese-900-normal-lvsIlko0.woff) format("woff")}@font-face{font-family:Zen Maru Gothic;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/zen-maru-gothic-latin-900-normal-ClrOxROE.woff2) format("woff2"),url(/assets/zen-maru-gothic-latin-900-normal-eQHcQQud.woff) format("woff")}@font-face{font-family:Kosugi Maru;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kosugi-maru-japanese-400-normal-ZXyvm0EH.woff2) format("woff2"),url(/assets/kosugi-maru-japanese-400-normal-BF7vbeK1.woff) format("woff")}@font-face{font-family:Kosugi Maru;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kosugi-maru-latin-400-normal-Cy8WNIvD.woff2) format("woff2"),url(/assets/kosugi-maru-latin-400-normal-DRPsHOfb.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/nunito-latin-500-normal-EugFkASW.woff2) format("woff2"),url(/assets/nunito-latin-500-normal-B5klmw3Q.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-latin-600-normal-Br8yIETf.woff2) format("woff2"),url(/assets/nunito-latin-600-normal-Cd0eNu1l.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2) format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2) format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff) format("woff")}:root{font-family:Nunito,Kosugi Maru,sans-serif;color:#493b43;background:#f7f3ef;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #493b43;--muted: #8f8186;--soft-muted: #b2a4a3;--line: #e9dfda;--paper: #fffdfa;--paper-warm: #fcf6f1;--coral: #e9927c;--coral-dark: #c96f62;--coral-soft: #f9e0d8;--mint: #7db9a8;--mint-soft: #e1f0ea;--lilac: #aa9aca;--lilac-soft: #eee9f6;--yellow: #f5ca78;--shadow: 0 14px 40px rgba(96, 74, 67, .07)}*{box-sizing:border-box}html{min-width:320px;background:#f7f3ef}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(125,185,168,.5);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{display:flex;min-height:100vh;background:#f7f3ef}.side-rail{position:fixed;z-index:30;display:flex;flex-direction:column;width:245px;height:100vh;padding:28px 18px 22px;border-right:1px solid var(--line);background:#fffdfad4}.brand-lockup{display:flex;align-items:center;gap:10px;padding:0 9px 32px}.brand-lockup>div{display:grid;gap:2px}.brand-lockup strong{font-size:15px;letter-spacing:.02em}.brand-lockup small{color:var(--muted);font-size:11px}.brand-mark{position:relative;display:inline-grid;width:38px;height:38px;place-items:center;color:#fff;border-radius:13px;background:var(--coral);box-shadow:0 7px 15px #e9927c40}.brand-spark{position:absolute;right:3px;top:3px;color:#fff7df}.rail-close{display:none;margin-left:auto}.rail-section-label{padding:0 12px 10px;color:var(--soft-muted);font-size:10px;font-weight:800;letter-spacing:.14em}.rail-nav{display:grid;gap:5px}.rail-nav button{position:relative;display:flex;align-items:center;gap:13px;min-height:47px;padding:0 13px;border:0;border-radius:13px;background:transparent;color:var(--muted);font-weight:700;text-align:left;cursor:pointer;transition:.18s ease}.rail-nav button:hover{background:var(--paper-warm);color:var(--ink)}.rail-nav button.active{color:var(--coral-dark);background:var(--coral-soft)}.rail-nav button.active:before{position:absolute;left:-18px;width:3px;height:22px;border-radius:0 4px 4px 0;background:var(--coral);content:""}.new-dot{width:6px;height:6px;margin-left:auto;border-radius:50%;background:var(--coral)}.rail-spacer{flex:1}.rail-tip{display:flex;align-items:center;gap:10px;margin:0 2px 21px;padding:13px 11px;border:1px solid #f1dfd6;border-radius:14px;color:var(--coral-dark);background:#fff6ef}.rail-tip>div{display:grid;flex:1;gap:3px}.rail-tip strong{font-size:12px}.rail-tip span{color:var(--muted);font-size:10px;line-height:1.45}.rail-footer{display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--soft-muted);font-size:10px}.online-dot{width:7px;height:7px;border-radius:50%;background:var(--mint)}.main-content{width:calc(100% - 245px);min-height:100vh;margin-left:245px}.topbar{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 clamp(26px,5vw,70px);border-bottom:1px solid rgba(233,223,218,.75);background:#f7f3efad}.breadcrumb{color:var(--muted);font-size:12px;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:18px}.help-pill{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.avatar{display:grid;width:33px;height:33px;place-items:center;border:1px solid #ecd9d0;border-radius:50%;color:#fff;background:var(--coral);font-weight:800;cursor:pointer}.mobile-header,.bottom-nav,.scrim{display:none}.page{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:48px 0 80px}.eyebrow{display:flex;align-items:center;gap:6px;margin:0 0 9px;color:var(--coral-dark);font-size:10px;font-weight:800;letter-spacing:.15em}h1,h2,p{margin-top:0}h1{margin-bottom:11px;color:var(--ink);font-size:clamp(30px,4vw,43px);line-height:1.24;letter-spacing:-.04em}h2{margin-bottom:0;color:var(--ink);font-size:20px;letter-spacing:-.03em}p{color:var(--muted);line-height:1.8}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:0 18px;border:0;border-radius:12px;font-size:13px;font-weight:800;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button{color:#fff;background:var(--coral);box-shadow:0 8px 18px #c96f622b}.primary-button:hover:not(:disabled){transform:translateY(-1px);background:var(--coral-dark);box-shadow:0 11px 22px #c96f6238}.secondary-button{border:1px solid var(--line);color:var(--ink);background:var(--paper)}.secondary-button:hover:not(:disabled){background:var(--paper-warm)}.icon-button{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:10px;background:transparent;cursor:pointer}.icon-button:hover{background:var(--paper-warm)}.text-button{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;color:var(--coral-dark);background:none;font-size:12px;font-weight:800;cursor:pointer}.notice-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1120px,calc(100% - 64px));margin:20px auto 0;padding:12px 15px;border:1px solid var(--mint);border-radius:11px;color:#4f7e71;background:var(--mint-soft);font-size:12px}.notice-banner.error{border-color:#e9aaa1;color:#a85d53;background:#fce9e4}.notice-banner button{display:grid;padding:2px;border:0;color:currentColor;background:none;cursor:pointer}.digital-paper-layout{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(460px,1.22fr);gap:24px;align-items:start}.digital-paper-form{display:grid;gap:12px}.digital-paper-form .field-label{margin:3px 0 0}.paper-palette-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.paper-palette-list button{display:flex;align-items:center;gap:8px;min-height:39px;padding:7px 9px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--paper);font-size:10px;font-weight:800;cursor:pointer}.paper-palette-list button.selected{border-color:#e8b4a6;color:var(--coral-dark);background:var(--coral-soft)}.paper-palette-list button>span{display:flex}.paper-palette-list i{width:13px;height:22px;border:1px solid rgba(0,0,0,.05)}.paper-progress{width:100%;accent-color:var(--coral)}.digital-paper-preview{min-height:720px}.paper-empty{display:grid;min-height:610px;place-content:center;justify-items:center;gap:10px;color:var(--soft-muted);text-align:center}.paper-empty strong{color:var(--ink)}.paper-empty span{max-width:360px;font-size:11px;line-height:1.7}.paper-sheet-tabs{display:flex;gap:7px;margin-bottom:12px}.paper-sheet-tabs button{flex:1;min-height:34px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--paper);font-size:10px;font-weight:800;cursor:pointer}.paper-sheet-tabs button.selected{border-color:#e8b4a6;color:var(--coral-dark);background:var(--coral-soft)}.checkerboard{background-color:#fff;background-image:linear-gradient(45deg,#ece7e4 25%,transparent 25%),linear-gradient(-45deg,#ece7e4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ece7e4 75%),linear-gradient(-45deg,transparent 75%,#ece7e4 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.paper-motif-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:7px;border:1px solid var(--line);border-radius:13px}.paper-motif-grid button{position:relative;display:grid;aspect-ratio:1;place-items:center;overflow:hidden;padding:3px;border:1px solid rgba(255,255,255,.8);border-radius:9px;background:#ffffff73;cursor:pointer}.paper-motif-grid img{width:100%;height:100%;object-fit:contain}.paper-motif-grid span{position:absolute;right:2px;bottom:2px;left:2px;padding:2px;border-radius:5px;color:var(--ink);background:#ffffffd9;font-size:8px;font-weight:800}.paper-motif-grid button.disabled img{opacity:.22;filter:grayscale(1)}.paper-control-row{margin-top:14px}.paper-control-row>label,.paper-zoom-row label{display:flex;justify-content:space-between;margin-bottom:5px;color:var(--ink);font-size:10px;font-weight:800}.paper-control-row>div{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:6px}.paper-control-row button{display:grid;width:34px;height:30px;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer}.paper-control-row input,.paper-zoom-row input{width:100%;accent-color:var(--coral)}.paper-layout-thumbnails{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:17px}.paper-layout-thumbnails>button{display:grid;gap:5px;padding:5px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--paper);font-size:9px;cursor:pointer}.paper-layout-thumbnails>button.selected{border:2px solid var(--coral);color:var(--coral-dark)}.paper-thumb{display:block;overflow:hidden;aspect-ratio:1;border-radius:6px}.paper-thumb img{display:block;width:100%;height:100%;object-fit:cover}.paper-zoom-row{margin:13px 0 8px}.paper-main-preview{position:relative;overflow:auto;width:100%;aspect-ratio:1;border:1px solid var(--line);border-radius:15px}.paper-main-preview>img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:center;transition:transform .15s ease}.paper-updating{position:absolute;right:9px;top:9px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:99px;color:var(--ink);background:#ffffffe0;font-size:9px;font-weight:800}.paper-note{margin:10px 0 0;font-size:9px;line-height:1.6}.hero{position:relative;display:flex;min-height:350px;overflow:hidden;padding:50px 54px;border:1px solid #efdfd7;border-radius:25px;background:#fff7f0;box-shadow:var(--shadow)}.hero-copy{position:relative;z-index:2}.hero h1{margin-bottom:15px;font-size:clamp(30px,4.1vw,47px)}.hero h1 em{color:var(--coral-dark);font-style:normal}.hero p{margin-bottom:22px;font-size:14px}.hero-button{padding:0 21px}.hero-art{position:absolute;right:6%;bottom:-28px;width:395px;height:325px}.hero-character{position:absolute;right:35px;bottom:-53px;width:280px;height:280px;padding:11px;border:7px solid #fffdf9;border-radius:46% 54% 50% 50%;background:#f6c9ba;transform:rotate(7deg);box-shadow:0 17px 35px #76474224}.hero-character img{width:100%;height:100%;border-radius:40%;object-fit:cover}.burst{position:absolute;z-index:2;display:grid;place-items:center;width:102px;height:63px;border:4px solid white;border-radius:50%;color:#65505a;background:#f7cf81;font-size:13px;font-weight:800;transform:rotate(-12deg);box-shadow:0 5px 15px #6f4a341a}.burst:after{position:absolute;right:7px;bottom:-8px;width:13px;height:16px;border-radius:4px;background:inherit;content:"";transform:rotate(25deg)}.burst-one{top:26px;left:9px}.burst-two{right:3px;top:88px;color:#536e68;background:#b9dfd2;transform:rotate(9deg)}.hero-star{position:absolute;color:var(--coral);font-size:34px}.star-one{top:10px;right:56px}.star-two{bottom:63px;left:21px;color:var(--yellow);font-size:26px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:51px 0 18px}.section-heading .eyebrow{margin-bottom:6px}.section-note{color:var(--soft-muted);font-size:11px}.home-cards{display:grid;grid-template-columns:1.3fr 1fr;gap:13px}.home-action{display:flex;align-items:center;gap:15px;min-height:105px;padding:18px 21px;border:1px solid var(--line);border-radius:17px;color:var(--ink);background:var(--paper);text-align:left;cursor:pointer;box-shadow:0 5px 18px #604a4306}.home-action:hover{border-color:#e6c4b9;transform:translateY(-1px)}.home-action.main-action{border-color:#f2d2c6;background:#fff4ed}.home-action>span:nth-child(2){display:grid;flex:1;gap:4px}.home-action strong{font-size:14px}.home-action small{color:var(--muted);font-size:11px}.home-action>svg{color:var(--soft-muted)}.card-icon{display:grid;width:49px;height:49px;place-items:center;border-radius:15px}.card-icon.coral{color:var(--coral-dark);background:var(--coral-soft)}.card-icon.mint{color:#568d7d;background:var(--mint-soft)}.recent-heading{margin-top:51px}.mini-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.mini-card{position:relative;overflow:hidden;aspect-ratio:1;padding:8px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.mini-card img{width:100%;height:100%;border-radius:10px;object-fit:contain;background:#fdf8f3}.mini-card span{position:absolute;right:12px;bottom:11px;left:12px;overflow:hidden;color:var(--ink);font-size:11px;font-weight:800;text-align:center;text-overflow:ellipsis;white-space:nowrap}.empty-home{display:flex;align-items:center;gap:15px;padding:18px 20px;border:1px dashed #e2d2ca;border-radius:16px;background:#fffdfaa6}.empty-home>div:nth-child(2){flex:1}.empty-home strong{font-size:13px}.empty-home p{margin:3px 0 0;font-size:11px}.empty-illustration{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:var(--coral);background:var(--coral-soft)}.page-intro{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:34px}.page-intro h1{margin-bottom:8px;font-size:36px}.page-intro p:last-child{margin-bottom:0;font-size:13px}.step-indicator{display:flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid var(--line);border-radius:13px;color:var(--soft-muted);background:var(--paper);font-size:11px}.step-indicator span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#f1e9e5;font-weight:800}.step-indicator span.current{color:#fff;background:var(--coral)}.step-indicator i{width:21px;height:1px;background:var(--line)}.step-indicator small{margin-left:5px;color:var(--muted)}.create-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.93fr);gap:24px;align-items:start}.form-panel,.preview-panel,.settings-card{border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:var(--shadow)}.form-panel{padding:26px 27px 22px}.preview-panel{position:sticky;top:25px;min-height:600px;padding:26px 27px}.stamp-selection-panel{width:min(760px,calc(100% - 42px));margin:18px auto 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 8px 24px #402c2b0d}.stamp-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.stamp-selection-heading .eyebrow{margin:0 0 3px}.stamp-selection-heading h2{font-size:16px}.stamp-selection-heading>strong{color:var(--coral-dark);font-size:14px}.stamp-selection-board{position:relative;width:min(100%,600px);aspect-ratio:370 / 320;margin:0 auto;overflow:hidden;border:1px solid #d8cbc5;border-radius:10px;background:var(--paper-warm);background-image:linear-gradient(45deg,#e8dfdb 25%,transparent 25%),linear-gradient(-45deg,#e8dfdb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8dfdb 75%),linear-gradient(-45deg,transparent 75%,#e8dfdb 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px}.stamp-selection-board img{display:block;width:100%;height:100%;object-fit:contain}.stamp-selection-nav,.stamp-position-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:11px}.stamp-selection-nav span,.stamp-position-controls span{color:var(--muted);font-size:10px;font-weight:800}.stamp-selection-nav button,.stamp-position-controls button{min-height:36px;padding:0 12px;font-size:10px}.stamp-position-controls{margin-top:8px}.stamp-selection-note{margin:11px 0 0;color:var(--muted);font-size:10px;line-height:1.6;text-align:center}.panel-heading,.preview-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading>div{display:flex;align-items:center;gap:10px}.panel-heading h2{font-size:17px}.panel-heading.compact{margin-top:5px}.panel-number{color:var(--coral);font-size:10px;font-weight:800;letter-spacing:.08em}.required-badge{padding:4px 7px;border-radius:5px;color:var(--coral-dark);background:var(--coral-soft);font-size:9px;font-weight:800}.ai-character-panel{margin-top:17px;padding:14px;border:1px solid #e4d9ef;border-radius:14px;background:#faf7fd}.ai-character-heading{display:flex;align-items:center;gap:9px}.ai-character-heading>div{display:grid;gap:3px}.ai-character-heading strong{color:#75629a;font-size:12px}.ai-character-heading small{color:var(--muted);font-size:10px;line-height:1.45}.ai-character-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#8069aa;background:var(--lilac-soft)}.batch-delivery-shortcut{width:100%;margin-top:10px;justify-content:center}.ai-character-panel textarea{width:100%;min-height:67px;margin-top:11px;padding:9px 10px;border:1px solid #e2d8ec;border-radius:9px;outline:0;resize:vertical;color:var(--ink);background:var(--paper);font-size:11px;line-height:1.6}.ai-character-panel textarea::placeholder{color:#b8aebe}.ai-provider-row{display:flex;align-items:center;gap:6px;margin-top:9px;color:var(--muted);font-size:9px}.ai-provider-row span{margin-right:2px}.ai-provider-row button{min-height:25px;padding:0 9px;border:1px solid #e2d8ec;border-radius:99px;color:var(--muted);background:var(--paper);font-size:9px;font-weight:800;cursor:pointer}.ai-provider-row button.selected{border-color:#baa7d4;color:#75629a;background:var(--lilac-soft)}.ai-character-options{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:9px}.ai-character-options .chip-group{flex:1}.ai-character-options .chip-group button{min-height:27px;padding:0 8px;font-size:9px}.ai-generate-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:5px;min-height:34px;padding:0 10px;border:0;border-radius:8px;color:#fff;background:#9a82bd;font-size:10px;font-weight:800;cursor:pointer}.ai-generate-button:hover:not(:disabled){background:#8069aa}.ai-character-note{display:flex;align-items:center;gap:5px;margin:9px 0 0;color:#8c7b9c;font-size:9px;line-height:1.5}.ai-source-result{display:flex;align-items:center;gap:8px;margin-top:10px;color:#588d7d;font-size:9px;font-weight:800}.ai-source-result img{width:43px;height:43px;border:1px solid #e4d9ef;border-radius:8px;object-fit:contain;background:#fff}.source-picker{display:flex;gap:13px;margin:18px 0 20px}.source-preview{position:relative;flex:0 0 122px;height:122px;padding:6px;border:1px solid #eadbd5;border-radius:15px;background:#fff8f4}.source-preview img{width:100%;height:100%;border-radius:10px;object-fit:contain}.remove-source{position:absolute;top:-7px;right:-7px;display:grid;width:23px;height:23px;place-items:center;border:2px solid var(--paper);border-radius:50%;color:#fff;background:var(--coral-dark);cursor:pointer}.source-actions{display:grid;flex:1;grid-template-columns:repeat(3,1fr);gap:7px}.upload-tile{display:grid;align-content:center;justify-items:center;gap:5px;min-height:122px;padding:8px;border:1px dashed #decfc9;border-radius:13px;color:var(--coral-dark);background:#fffaf7;cursor:pointer}.upload-tile:hover{border-color:var(--coral);background:#fff4ed}.upload-tile strong{font-size:11px}.upload-tile small{color:var(--muted);font-size:9px}.field-label{display:flex;align-items:center;gap:7px;margin:19px 0 9px;color:var(--ink);font-size:12px;font-weight:800}.field-label>span{color:var(--soft-muted);font-size:10px;font-weight:500}.field-label input{width:100%;min-height:43px;margin-left:auto;padding:0 12px;border:1px solid var(--line);border-radius:10px;outline:0;color:var(--ink);background:#fffdfa;font-size:12px;font-weight:500}.field-label input::placeholder{color:#b9acad}.field-label:has(input){flex-wrap:wrap}.field-label:has(input) input{flex-basis:100%}.chip-group{display:flex;flex-wrap:wrap;gap:6px}.chip-group button,.quick-texts button{display:inline-flex;align-items:center;gap:3px;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:99px;color:var(--muted);background:var(--paper);font-size:10px;font-weight:700;cursor:pointer}.chip-group button:hover,.quick-texts button:hover{border-color:#d9bbb2;color:var(--coral-dark)}.chip-group button.selected,.quick-texts button.selected{border-color:#e8b4a6;color:var(--coral-dark);background:var(--coral-soft)}.quick-texts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.quick-texts button{color:#806a6d;background:#faf5f1}.style-label{margin-top:18px}.panel-divider{height:1px;margin:23px 0 21px;background:var(--line)}.finish-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 20px}.toggle-line{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;cursor:pointer}.toggle-line input,.setting-row input{position:absolute;width:1px;height:1px;opacity:0}.toggle{position:relative;display:inline-block;width:34px;height:20px;border-radius:99px;background:#ddd2ce;cursor:pointer;transition:.16s}.toggle:after{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;content:"";box-shadow:0 1px 4px #00000021;transition:.16s}input:checked+.toggle{background:var(--mint)}input:checked+.toggle:after{left:17px}.quantity-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.quantity-label select{padding:7px 8px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--paper);font-size:11px}.generate-button{width:100%;min-height:51px;font-size:13px}.reset-button{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:12px;padding:0;border:0;color:var(--soft-muted);background:transparent;font-size:10px;cursor:pointer}.reset-button:hover{color:var(--coral-dark)}.preview-heading h2{font-size:20px}.preview-size{display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:6px;color:#588d7d;background:var(--mint-soft);font-size:10px;font-weight:800}.live-preview{display:grid;gap:17px;margin-top:25px}.preview-board{position:relative;display:grid;width:min(100%,395px);aspect-ratio:370 / 320;margin:0 auto;place-items:center;overflow:hidden;border-radius:19px;background:#fbf7f4}.checkerboard{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.6;background-image:linear-gradient(45deg,#f0e8e4 25%,transparent 25%),linear-gradient(-45deg,#f0e8e4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f0e8e4 75%),linear-gradient(-45deg,transparent 75%,#f0e8e4 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px}.preview-board>img{position:relative;z-index:1;width:74%;height:74%;object-fit:contain}.speech-preview{position:absolute;z-index:2;bottom:18px;max-width:88%;padding:5px 13px;color:var(--ink);font-size:clamp(17px,2.2vw,25px);font-weight:800;line-height:1.3;text-align:center;text-shadow:2px 2px 0 white,-2px -2px 0 white,2px -2px 0 white,-2px 2px 0 white}.preview-caption{display:flex;align-items:start;gap:10px;padding:0 9px}.preview-dot{flex:0 0 7px;width:7px;height:7px;margin-top:6px;border-radius:50%;background:var(--coral)}.preview-caption strong{font-size:11px}.preview-caption p{margin:3px 0 0;font-size:10px}.preview-tip{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:10px;color:#64877d;background:var(--mint-soft);font-size:10px;line-height:1.5}.result-toolbar{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px;color:var(--muted);font-size:11px;font-weight:700}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.result-card{position:relative;overflow:hidden;aspect-ratio:370 / 320;padding:7px;border:1px solid var(--line);border-radius:13px;background:#fbf8f5}.result-card img{width:100%;height:100%;object-fit:contain}.download-chip{position:absolute;right:9px;bottom:9px;display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:9px;color:#fff;background:#493b43bd;cursor:pointer}.download-chip:hover{background:var(--coral)}.preview-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.preview-actions button{min-height:40px;padding:0 8px;font-size:10px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.text-list{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fcf8f5}.text-list summary{padding:10px 12px;color:var(--coral-dark);font-size:10px;font-weight:800;cursor:pointer}.text-list-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:0 10px 10px}.text-list-grid label{display:flex;align-items:center;gap:5px}.text-list-grid label>span{display:grid;width:19px;height:19px;flex:0 0 19px;place-items:center;border-radius:50%;color:var(--muted);background:#f0e7e3;font-size:9px}.text-list-grid input{width:100%;min-width:0;min-height:29px;padding:0 7px;border:1px solid var(--line);border-radius:7px;outline:0;color:var(--ink);background:var(--paper);font-size:10px}.dialog-scrim{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#4331315c}.confirm-dialog{width:min(420px,100%);padding:25px;border:1px solid var(--line);border-radius:19px;background:var(--paper);box-shadow:0 25px 70px #402c2b33;text-align:center}.dialog-icon{display:grid;width:44px;height:44px;margin:0 auto 12px;place-items:center;border-radius:13px;color:var(--coral-dark);background:var(--coral-soft)}.confirm-dialog h2{font-size:18px}.confirm-dialog p{margin:8px 0 13px;font-size:11px;line-height:1.7}.confirm-dialog>img{width:145px;height:125px;margin-bottom:11px;border-radius:12px;object-fit:contain;background:#f8f2ee}.confirm-check{display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:17px;color:#588d7d;font-size:10px;font-weight:800}.dialog-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.dialog-actions button{min-height:41px;padding:0 8px;font-size:11px}.editor-scrim{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;overflow:auto;background:#4331316b}.brush-editor{display:flex;width:min(900px,100%);max-height:calc(100vh - 40px);flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:0 25px 80px #402c2b3d}.brush-editor-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line)}.brush-editor-header .eyebrow{margin-bottom:3px}.brush-editor-header h2{font-size:20px}.brush-editor-header-actions{display:flex;align-items:center;gap:7px}.editor-save-button{min-height:38px;padding:0 13px;font-size:11px}.brush-editor-layout{display:grid;min-height:0;grid-template-columns:minmax(0,1fr);gap:22px;overflow-y:auto;padding:22px;overscroll-behavior:contain}.editor-canvas-area{display:grid;align-self:start;align-content:start;justify-items:center;min-height:max-content;padding:18px;border-radius:15px;background:var(--paper-warm)}.editor-canvas-frame{width:min(100%,600px);aspect-ratio:370 / 320;overflow:hidden;border:1px solid #d8cbc5;border-radius:10px;background-color:#f7f3ef;background-image:linear-gradient(45deg,#e8dfdb 25%,transparent 25%),linear-gradient(-45deg,#e8dfdb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8dfdb 75%),linear-gradient(-45deg,transparent 75%,#e8dfdb 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px}.editor-canvas-frame canvas{display:block;width:100%;height:100%;transform-origin:center;touch-action:none;cursor:crosshair}.editor-zoom-row{display:flex;align-items:center;justify-content:center;gap:7px;width:min(100%,600px);margin-top:10px}.editor-zoom-row button{display:grid;min-width:35px;min-height:32px;padding:0 8px;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--paper);font-size:16px;font-weight:800;cursor:pointer}.editor-zoom-row button:hover:not(:disabled){border-color:var(--coral);color:var(--coral-dark)}.editor-zoom-row button:disabled{opacity:.4;cursor:not-allowed}.editor-zoom-row output{min-width:47px;color:var(--muted);font-size:11px;font-weight:800;text-align:center}.editor-zoom-row .editor-zoom-reset{min-width:76px;font-size:10px}.editor-canvas-note{max-width:600px;margin:11px 0 0;color:var(--muted);font-size:10px;line-height:1.6;text-align:center}.brush-editor-controls{display:grid;width:min(100%,600px);align-content:start;gap:15px;margin-top:12px}.editor-tool-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.editor-tool-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:0 8px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--paper);font-size:11px;font-weight:800;cursor:pointer}.editor-tool-tabs button.selected{border-color:#e8b4a6;color:var(--coral-dark);background:var(--coral-soft)}.fill-place-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--paper);font-size:11px;font-weight:800;cursor:pointer}.fill-place-button.selected{border-color:#9dc9ba;color:#4e8876;background:var(--mint-soft)}.editor-palette{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:3px 0}.palette-circle{display:grid;width:45px;height:45px;flex:0 0 45px;place-items:center;border:0;border-radius:50%;color:var(--muted);background:var(--paper);cursor:pointer;transition:.15s ease}.palette-circle:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}.palette-circle.selected{transform:scale(1.06);filter:brightness(.96)}.palette-circle.transparent{background-color:#f6f2ef;background-image:linear-gradient(45deg,#d9d0cc 25%,transparent 25%),linear-gradient(-45deg,#d9d0cc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d0cc 75%),linear-gradient(-45deg,transparent 75%,#d9d0cc 75%);background-position:0 0,0 7px,7px -7px,-7px 0;background-size:14px 14px}.palette-circle.transparent:after{width:27px;height:2px;border-radius:2px;background:#db665c;content:"";transform:rotate(-45deg)}.palette-circle.white{background:#fff}.palette-circle.picked{background:#ece4df}.palette-circle.eyedropper{color:#8069aa;background:var(--lilac-soft)}.palette-circle.selection{color:#568d7d;background:var(--mint-soft)}.editor-slider-row{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:800}.editor-slider-row label{line-height:1.35;white-space:nowrap}.editor-slider-row input{width:100%;accent-color:var(--coral)}.editor-slider-row output{color:var(--soft-muted);font-size:10px;text-align:right}.editor-help{display:flex;align-items:start;gap:7px;padding:10px;border-radius:9px;color:#64877d;background:var(--mint-soft);font-size:10px;line-height:1.55}.editor-bottom-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:7px}.editor-bottom-actions button{min-height:38px;padding:0 8px;font-size:10px}.edit-chip{position:absolute;right:43px;bottom:9px;display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:9px;color:#fff;background:#c96f62e0;cursor:pointer}.edit-chip:hover{background:var(--coral-dark)}@media(max-height:760px){.brush-editor-layout{padding:14px 18px}.editor-canvas-area{padding:12px}.editor-canvas-frame{width:min(100%,410px)}.brush-editor-controls{gap:10px;margin-top:8px}}@media(max-height:680px){.brush-editor-layout{padding:10px 14px}.editor-canvas-area{padding:9px}.editor-canvas-frame{width:min(100%,360px)}}.gallery-hover{gap:5px}.gallery-hover button{padding:7px 8px}.gallery-page .page-intro,.settings-page .page-intro{margin-bottom:28px}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.filter-tabs{display:flex;gap:5px}.filter-tabs button{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:11px;font-weight:700;cursor:pointer}.filter-tabs button.active{color:var(--coral-dark);background:var(--coral-soft)}.gallery-count{color:var(--soft-muted);font-size:11px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.gallery-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.gallery-image{position:relative;aspect-ratio:1;padding:8px;background:#fbf8f5}.gallery-image img{width:100%;height:100%;border-radius:10px;object-fit:contain}.favorite-button{position:absolute;top:14px;right:14px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;color:var(--muted);background:#fffdfadb;cursor:pointer}.favorite-button.liked{color:var(--coral-dark)}.gallery-hover{position:absolute;right:10px;bottom:10px;left:10px;display:flex;justify-content:center;opacity:0;transition:opacity .15s}.gallery-hover button{display:flex;align-items:center;gap:5px;padding:7px 10px;border:0;border-radius:8px;color:#fff;background:#493b43d1;font-size:10px;cursor:pointer}.gallery-image:hover .gallery-hover{opacity:1}.gallery-meta{position:relative;display:grid;gap:4px;padding:11px 12px 12px}.gallery-meta strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.gallery-meta span{color:var(--soft-muted);font-size:10px}.delete-button{position:absolute;right:10px;bottom:10px;display:grid;padding:4px;border:0;color:var(--soft-muted);background:transparent;cursor:pointer}.delete-button:hover{color:var(--coral-dark)}.empty-state{display:grid;justify-items:center;gap:9px;padding:76px 20px;border:1px dashed #e1d3cd;border-radius:17px;text-align:center}.empty-state h2{font-size:17px}.empty-state p{margin:0 0 8px;font-size:12px}.settings-layout{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.settings-card{padding:23px}.settings-card.about-card{grid-column:span 2}.settings-title{display:flex;align-items:center;gap:11px;padding-bottom:17px;border-bottom:1px solid var(--line)}.settings-title h2{font-size:16px}.settings-title p{margin:3px 0 0;font-size:10px}.settings-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:12px}.settings-icon.coral{color:var(--coral-dark);background:var(--coral-soft)}.settings-icon.mint{color:#578f7c;background:var(--mint-soft)}.settings-icon.lilac{color:#8471aa;background:var(--lilac-soft)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0 4px;cursor:pointer}.setting-row>span:first-child{display:grid;gap:4px;flex:1}.setting-row strong{font-size:12px}.setting-row small{color:var(--muted);font-size:10px;line-height:1.5}.setting-row.disabled{cursor:not-allowed;opacity:.55}.settings-note{display:flex;gap:8px;margin-top:17px;padding:11px;border-radius:9px;color:var(--muted);background:#fbf5f0;font-size:10px;line-height:1.6}.about-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:17px}.about-list div{display:grid;gap:5px;padding:11px;border-radius:10px;background:#fcf8f5}.simple-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:99px;color:#437a6b;background:var(--mint-soft);font-size:11px;font-weight:800}.ai-source-result-box{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px solid #f0ded4;border-radius:12px;background:#fffaf6}.ai-source-result{display:flex;align-items:center;gap:10px}.ai-source-result img{width:52px;height:52px;border-radius:10px;object-fit:contain;background:#fdf6f0;border:1px solid #ecdacf}.ai-source-result>div{display:grid;gap:3px}.ai-source-result span{display:flex;align-items:center;gap:4px;color:#4e8876;font-size:11px;font-weight:800}.retake-badge{display:inline-block;padding:2px 7px;border-radius:99px;color:var(--coral-dark);background:var(--coral-soft);font-size:9px;font-weight:800;width:fit-content}.retake-section{display:grid;gap:6px;padding-top:8px;border-top:1px dashed #eed8cc}.retake-section label{display:flex;align-items:center;gap:5px;color:var(--coral-dark);font-size:11px;font-weight:800}.retake-row{display:flex;gap:6px}.retake-row input{flex:1;min-width:0;min-height:33px;padding:0 9px;border:1px solid var(--line);border-radius:8px;font-size:11px;color:var(--ink);background:var(--paper)}.retake-button{min-height:33px;padding:0 12px;font-size:11px}.retake-section small{color:var(--soft-muted);font-size:10px;line-height:1.4}.matte-controls{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fdfbf9;margin-top:8px}.matte-color-row{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:var(--muted)}.matte-color-row button{padding:4px 10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font-size:10px;cursor:pointer}.matte-color-row button.selected{border-color:var(--coral);color:var(--coral-dark);background:var(--coral-soft);font-weight:800}.line-assets-card{display:grid;gap:10px;padding:12px;border:1px solid #dbeef0;border-radius:14px;background:#f4faf8;margin-bottom:12px}.line-assets-title{display:flex;align-items:center;gap:6px;color:#437a6b;font-size:11px}.line-assets-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.line-asset-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:10px;background:var(--paper);border:1px solid #e1f0ea}.line-asset-item img{width:44px;height:44px;object-fit:contain;border-radius:6px;background:#fdfbf8;border:1px solid var(--line)}.line-asset-item>div{display:grid;gap:2px;flex:1}.line-asset-item strong{font-size:11px}.line-asset-item small{color:var(--soft-muted);font-size:9px}.line-asset-item .small{min-height:25px;padding:0 7px;font-size:9px;margin-top:2px}.result-toolbar-actions{display:flex;align-items:center;gap:8px}.zip-button{min-height:34px;padding:0 11px;font-size:11px;border-radius:9px;background:#578f7c}.zip-button:hover:not(:disabled){background:#437a6b}.cleanup-selection-rect{position:absolute;pointer-events:none;border:2px dashed var(--coral);background:#e9927c40;border-radius:4px}.cleanup-control-panel{display:grid;gap:10px;padding:12px;border:1px solid #eedfd8;border-radius:12px;background:#fffcf9}.cleanup-header{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--ink)}.cleanup-header .small{min-height:28px;padding:0 9px;font-size:10px}.cleanup-keep-colors{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.cleanup-color-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:6px;border:1px solid var(--line);font-size:10px;font-weight:700;color:#493b43}.cleanup-color-chip button{display:grid;place-items:center;padding:0;border:0;background:none;color:#888;font-size:12px;cursor:pointer}.cleanup-color-chip button:hover{color:var(--coral-dark)}.palette-circle.black{background:#1a1a1a}.creation-mode-tabs{display:flex;gap:8px;margin:4px 0 12px}.creation-mode-tabs button{flex:1;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fffcf9;color:var(--ink);font-size:12px;font-weight:800;cursor:pointer;transition:all .18s ease}.creation-mode-tabs button.active{border-color:var(--coral);background:var(--coral-soft);color:var(--coral-dark);box-shadow:0 2px 8px #e9927c33}.fusion-slot-tray-wrapper{display:grid;gap:8px;padding:12px;border-radius:14px;background:#faf7f3;border:1px solid var(--line);margin-bottom:12px}.fusion-slot-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;color:var(--ink)}.randomize-dice-button{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--coral-dark);font-size:11px;font-weight:800;cursor:pointer;transition:all .15s ease}.randomize-dice-button:hover{background:var(--coral-soft);border-color:var(--coral);transform:scale(1.04)}.fusion-slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.fusion-slot-card{position:relative;display:grid;justify-items:center;align-content:center;min-height:86px;padding:8px 4px;border-radius:12px;transition:all .2s ease;cursor:pointer}.fusion-slot-card.filled{background:#fff;border:2px solid var(--coral);box-shadow:0 4px 12px #e9927c2e}.fusion-slot-card.empty{background:#00000005;border:2px dashed #d5c8c2;cursor:default}.slot-card-header{position:absolute;top:4px;right:4px;left:4px;display:flex;align-items:center;justify-content:space-between}.slot-num-badge{padding:1px 5px;border-radius:99px;background:var(--coral-soft);color:var(--coral-dark);font-size:8px;font-weight:900}.slot-remove-badge{font-size:10px;font-weight:900;color:#a99691}.fusion-slot-card.filled:hover .slot-remove-badge{color:var(--coral-dark)}.slot-card-emoji{font-size:28px;line-height:1.2;margin-top:10px}.slot-card-name{font-size:11px;font-weight:800;color:var(--ink)}.slot-empty-content{display:grid;justify-items:center;gap:2px}.slot-empty-num{font-size:8px;font-weight:700;color:#a99691}.slot-empty-plus{font-size:18px;color:#a99691}.slot-empty-tip{font-size:9px;font-weight:700;color:#a99691}.card-category-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.card-category-pills button{padding:5px 10px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:11px;font-weight:700;cursor:pointer;transition:all .15s ease}.card-category-pills button.active{border-color:var(--coral);background:var(--coral);color:#fff}.character-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;max-height:240px;overflow-y:auto;padding:4px 2px;margin-bottom:12px}.character-item-card{position:relative;display:grid;justify-items:center;align-content:center;padding:8px 4px;border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer;transition:all .15s ease}.character-item-card:hover{border-color:var(--coral);transform:translateY(-2px);box-shadow:0 4px 10px #0000000f}.character-item-card.selected{border-color:var(--coral);background:var(--coral-soft);border-width:2px}.item-selected-badge{position:absolute;top:3px;left:4px;padding:1px 4px;border-radius:99px;background:var(--coral);color:#fff;font-size:8px;font-weight:900}.item-placeholder-badge{height:10px}.item-card-emoji{font-size:26px;line-height:1.2}.item-card-name{font-size:10px;font-weight:800;color:var(--ink);margin-top:2px}.preset-suggestions{display:grid;gap:6px;margin:4px 0 8px}.preset-label{font-size:11px;font-weight:700;color:var(--soft-muted)}.chip-group-scrollable{display:flex;flex-wrap:wrap;gap:6px}.preset-chip{padding:4px 9px;border:1px solid var(--line);border-radius:99px;background:#fffcf9;color:var(--ink);font-size:11px;font-weight:700;cursor:pointer;transition:all .15s ease}.preset-chip:hover{border-color:var(--coral);background:var(--coral-soft);color:var(--coral-dark)}.enhancer-toggle-row{margin:6px 0 10px;padding:8px 12px;border-radius:10px;background:#e9927c1f;border:1px solid rgba(233,146,124,.25)}.enhancer-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:var(--coral-dark);cursor:pointer}.enhancer-label input{width:16px;height:16px;accent-color:var(--coral-dark)}.decoration-selectors{display:grid;gap:10px;margin:8px 0 12px;padding:12px;border-radius:12px;background:#faf7f3;border:1px solid var(--line)}.selector-group label{display:block;margin-bottom:5px;font-size:11px;font-weight:800;color:var(--ink)}.chip-group-compact{display:flex;flex-wrap:wrap;gap:5px}.chip-group-compact button{padding:3px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:10px;font-weight:700;cursor:pointer}.chip-group-compact button.selected{border-color:var(--coral);background:var(--coral);color:#fff}.source-option-box{display:grid;gap:10px;padding:12px;border-radius:12px;background:#fffcf9;border:1px solid #eedfd8;margin-top:10px}.source-option-label{font-size:11px;font-weight:800;color:var(--ink);display:flex;align-items:center;justify-content:space-between}.toggle-option-card{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border-radius:10px;background:#faf7f3;border:1px solid var(--line);cursor:pointer;transition:all .15s ease}.toggle-option-card:hover{border-color:var(--coral)}.toggle-option-card input[type=checkbox]{width:16px;height:16px;margin-top:2px;accent-color:var(--coral-dark);cursor:pointer}.toggle-option-card-content{display:grid;gap:2px}.toggle-option-card-content strong{font-size:11px;font-weight:800;color:var(--ink)}.toggle-option-card-content small{font-size:9px;color:var(--soft-muted);line-height:1.3}.emotion-sheet-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:38px;padding:0 12px;border-radius:10px;border:1px dashed var(--coral);background:var(--coral-soft);color:var(--coral-dark);font-size:11px;font-weight:800;cursor:pointer;transition:all .15s ease;margin-top:8px}.emotion-sheet-button:hover{background:#fae4dc;border-color:var(--coral-dark);transform:scale(1.01)}.crop-dialog-container{width:min(520px,100%);max-height:90vh;display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:19px;background:var(--paper);box-shadow:0 25px 70px #402c2b40}.crop-dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.crop-dialog-header h3{font-size:15px;font-weight:800;color:var(--ink);margin:0}.crop-canvas-wrapper{position:relative;width:100%;height:320px;background:#262121;border-radius:12px;overflow:hidden;display:grid;place-items:center;touch-action:none;-webkit-user-select:none;user-select:none}.crop-canvas-wrapper img{max-width:100%;max-height:100%;object-fit:contain;pointer-events:none}.crop-rect-box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #0000008c;cursor:move;touch-action:none}.crop-grid-line-h1{position:absolute;left:0;right:0;top:33.33%;height:1px;background:#fff6}.crop-grid-line-h2{position:absolute;left:0;right:0;top:66.66%;height:1px;background:#fff6}.crop-grid-line-v1{position:absolute;top:0;bottom:0;left:33.33%;width:1px;background:#fff6}.crop-grid-line-v2{position:absolute;top:0;bottom:0;left:66.66%;width:1px;background:#fff6}.crop-handle{position:absolute;width:14px;height:14px;background:#fff;border:2px solid var(--coral-dark);border-radius:3px}.crop-handle.tl{top:-7px;left:-7px;cursor:nwse-resize}.crop-handle.tr{top:-7px;right:-7px;cursor:nesw-resize}.crop-handle.bl{bottom:-7px;left:-7px;cursor:nesw-resize}.crop-handle.br{bottom:-7px;right:-7px;cursor:nwse-resize}.crop-dialog-tip{font-size:10px;color:var(--soft-muted);margin:10px 0 12px;text-align:center}.crop-dialog-footer{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}@media(max-width:980px){.page{width:min(760px,calc(100% - 42px))}.side-rail{width:220px}.main-content{width:calc(100% - 220px);margin-left:220px}.hero{padding:42px 35px}.hero-art{right:-7%;transform:scale(.86);transform-origin:bottom right}.create-layout{grid-template-columns:1fr}.preview-panel{position:static;min-height:0}.live-preview{max-width:500px;margin-right:auto;margin-left:auto}.gallery-grid{grid-template-columns:repeat(3,1fr)}.brush-editor-layout{grid-template-columns:1fr}.editor-canvas-area{min-height:0}.brush-editor-controls{align-content:start}.digital-paper-layout{grid-template-columns:1fr}.digital-paper-preview{position:static}}@media(max-width:720px){.app-shell{display:block;padding-bottom:70px}.side-rail{left:-275px;width:258px;box-shadow:8px 0 30px #402d2b1a;transition:left .22s ease}.side-rail.open{left:0}.rail-close,.mobile-header{display:grid}.mobile-header{position:sticky;z-index:20;top:0;grid-template-columns:40px 1fr 40px;align-items:center;height:62px;padding:0 13px;border-bottom:1px solid var(--line);background:#f7f3eff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-brand{display:flex;align-items:center;justify-content:center;gap:7px;border:0;color:var(--ink);background:none;font-size:12px;font-weight:800;cursor:pointer}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:10px}.mobile-brand .brand-mark svg:first-child{width:16px}.mobile-brand .brand-spark{width:7px}.mobile-header .icon-button:last-child{justify-self:end}.scrim{position:fixed;z-index:25;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#4331313b}.main-content{width:100%;min-height:calc(100vh - 62px);margin-left:0}.topbar{display:none}.page{width:calc(100% - 28px);padding:28px 0 45px}.notice-banner{width:calc(100% - 28px);margin-top:13px}h1{font-size:31px}.bottom-nav{position:fixed;z-index:20;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);height:67px;padding:7px 7px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffdfaf5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav button{display:grid;align-content:center;justify-items:center;gap:3px;border:0;border-radius:10px;color:var(--soft-muted);background:transparent;font-size:9px;font-weight:700;cursor:pointer}.bottom-nav button.active{color:var(--coral-dark);background:var(--coral-soft)}.hero{display:block;min-height:485px;padding:29px 23px}.hero p{font-size:12px}.desktop-only{display:none}.hero-art{right:50%;bottom:-45px;width:340px;height:280px;transform:translate(50%) scale(.86);transform-origin:bottom center}.section-heading{margin-top:37px}.section-heading h2{font-size:18px}.home-cards{grid-template-columns:1fr}.home-action{min-height:88px}.mini-gallery{gap:8px}.mini-card{padding:5px;border-radius:10px}.mini-card span{right:6px;bottom:6px;left:6px;font-size:8px}.page-intro{align-items:start;flex-direction:column;gap:17px;margin-bottom:25px}.page-intro h1{font-size:30px}.step-indicator{align-self:stretch;justify-content:center}.step-indicator small{margin-left:auto}.form-panel,.preview-panel{padding:21px 17px;border-radius:16px}.stamp-selection-panel{width:calc(100% - 28px);padding:15px;border-radius:15px}.stamp-position-controls{flex-wrap:wrap}.stamp-position-controls span{flex-basis:100%;text-align:center}.source-preview{flex-basis:105px;height:105px}.upload-tile{min-height:105px}.paper-motif-grid{grid-template-columns:repeat(3,1fr)}.paper-layout-thumbnails{grid-template-columns:repeat(2,1fr)}.preview-panel{margin-top:4px}.preview-actions{grid-template-columns:1fr}.gallery-page .page-intro{flex-direction:row;align-items:end}.gallery-page .page-intro .primary-button{flex:0 0 auto;padding:0 12px;font-size:10px}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}.gallery-hover{opacity:1}.settings-layout{grid-template-columns:1fr}.settings-card.about-card{grid-column:auto}.about-list{grid-template-columns:1fr}.editor-scrim{align-items:start;padding:8px}.brush-editor{max-height:calc(100vh - 16px);border-radius:15px}.brush-editor-header{padding:14px 15px}.brush-editor-layout{gap:13px;padding:14px}.editor-canvas-area{padding:10px}.editor-canvas-note{margin-bottom:0}}@media(max-width:390px){.hero{min-height:465px}.hero h1{font-size:28px}.source-picker{gap:8px}.source-actions{grid-template-columns:repeat(2,1fr)}.ai-character-options{align-items:stretch;flex-direction:column}.ai-generate-button{width:100%}.source-preview{flex-basis:94px;height:94px}.upload-tile{min-height:94px}.upload-tile strong{font-size:10px}.finish-row{align-items:start;flex-direction:column}}.text-preset-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.text-history-btn{padding:6px 12px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:4px}.text-history-btn:hover{background:var(--coral-soft);border-color:var(--coral-main);color:var(--coral-dark)}.text-history-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#2d1e1973;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px}.text-history-modal{background:#fffdfa;border-radius:20px;width:100%;max-width:540px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 16px 40px #00000029;border:1px solid var(--line);overflow:hidden}.text-history-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}.text-history-header h3{margin:0;font-size:16px;font-weight:800;color:var(--ink)}.text-history-close{background:none;border:none;font-size:20px;color:var(--soft-muted);cursor:pointer;padding:4px 8px}.text-history-tabs{display:flex;padding:12px 20px 0;gap:8px;border-bottom:1px solid var(--line)}.text-history-tab{padding:8px 16px;border:none;background:none;font-size:13px;font-weight:700;color:var(--soft-muted);border-bottom:2px solid transparent;cursor:pointer}.text-history-tab.active{color:var(--coral-dark);border-bottom-color:var(--coral-main)}.text-history-body{padding:16px 20px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:12px}.text-history-save-box{background:var(--surface);border:1px dashed var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.text-history-save-box input{padding:8px 12px;border-radius:8px;border:1px solid var(--line);font-size:13px}.text-history-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 2px 8px #00000008}.text-history-card-header{display:flex;align-items:center;justify-content:space-between}.text-history-card-title{font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:6px}.text-history-badge{font-size:10px;padding:2px 6px;background:#2563eb;color:#fff;border-radius:999px;font-weight:700}.text-history-chips{display:flex;gap:6px;overflow-x:auto;padding:4px 0}.text-history-chip{padding:3px 8px;background:var(--surface);border:1px solid var(--line);border-radius:6px;font-size:11px;color:var(--ink);white-space:nowrap}.text-history-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.text-history-date{font-size:11px;color:var(--soft-muted)}.text-history-actions{display:flex;gap:6px;align-items:center}.text-history-action-btn{padding:4px 10px;border-radius:6px;font-size:11px;font-weight:700;cursor:pointer;border:1px solid var(--line);background:#fff}.text-history-action-btn.primary{background:var(--coral-main);color:#fff;border-color:var(--coral-main)}.text-history-empty{text-align:center;padding:32px 16px;color:var(--soft-muted);font-size:13px}.text-only-option-card{background:linear-gradient(135deg,#fff0f5cc,#f0f8ffcc);border:2px dashed #ff9a9e;border-radius:12px;margin-bottom:12px}.text-only-option-card:hover{border-color:#ff6b81}.font-preset-section{margin-top:12px;padding:14px;background:#ffffffa6;border:1px solid var(--line);border-radius:14px}.font-preset-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.font-preset-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:20px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:13px;font-weight:700;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 5px #00000008}.font-preset-chip:hover{transform:translateY(-1px);border-color:var(--coral-main);box-shadow:0 4px 10px #ff6b8126}.font-preset-chip.selected{background:linear-gradient(135deg,#ff6b81,#ff8e53);color:#fff;border-color:transparent;box-shadow:0 4px 12px #ff6b8159}.font-preset-emoji{font-size:15px}.font-preset-name{letter-spacing:.02em}.selected-font-card{margin-top:12px;padding:12px 14px;background:linear-gradient(135deg,#fff7f2,#fff0f5);border-radius:10px;border-left:4px solid #ff6b81}.selected-font-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.selected-font-header strong{font-size:14px;color:var(--ink)}.selected-font-card p{font-size:12px;color:#555;margin:4px 0 8px;line-height:1.4}.font-preset-tags{display:flex;flex-wrap:wrap;gap:6px}.font-subtag{font-size:10px;font-weight:700;color:#ff6b81;background:#ff6b811a;padding:2px 7px;border-radius:999px}.quick-suggestion-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.quick-suggestion-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:600;color:#ff6b81;background:#fff;border:1px solid rgba(255,107,129,.3);border-radius:20px;cursor:pointer;transition:all .15s ease}.quick-suggestion-chip:hover{background:#ff6b811a;border-color:#ff6b81;transform:translateY(-1px)}.font-modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:9999;padding:16px}.font-modal{background:#fff;width:100%;max-width:760px;max-height:88vh;border-radius:24px;box-shadow:0 20px 50px #00000040;display:flex;flex-direction:column;overflow:hidden;animation:modalPop .25s cubic-bezier(.16,1,.3,1)}@keyframes modalPop{0%{transform:scale(.92) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.font-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line);background:#faf8f5}.font-modal-header h3{margin:0;font-size:17px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:8px}.font-modal-close{background:transparent;border:none;font-size:18px;font-weight:700;color:#888;cursor:pointer;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .15s}.font-modal-close:hover{background:#0000000f;color:#333}.font-modal-tabs{display:flex;gap:6px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--line);overflow-x:auto}.font-modal-tab{padding:6px 14px;border-radius:20px;border:1px solid var(--line);background:#f7f7f7;color:#666;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;transition:all .15s}.font-modal-tab:hover{border-color:#ff6b81;color:#ff6b81}.font-modal-tab.active{background:#ff6b81;color:#fff;border-color:#ff6b81}.font-modal-body{padding:16px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.font-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.font-preview-card{background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 8px #00000008}.font-preview-card:hover{transform:translateY(-2px);border-color:#ff6b81;box-shadow:0 6px 16px #ff6b8129}.font-preview-card.selected{border-color:#ff6b81;background:linear-gradient(180deg,#fff7f2,#fff);box-shadow:0 0 0 2px #ff6b81,0 6px 16px #ff6b8133}.font-card-top{display:flex;align-items:center;justify-content:space-between}.font-card-name{font-size:14px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:6px}.font-card-badge{font-size:10px;font-weight:700;padding:2px 6px;border-radius:6px;background:#ff6b811f;color:#ff6b81}.font-card-canvas-box{background:#fffcf8;border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:14px 10px;min-height:60px;display:flex;align-items:center;justify-content:center;text-align:center}.font-card-desc{font-size:11px;color:#666;line-height:1.4;margin:0}.font-modal-footer{padding:12px 20px;border-top:1px solid var(--line);background:#faf8f5;display:flex;justify-content:flex-end;gap:8px}.batch-mode-card{background:#fdfaf6;border:1.5px solid #ffe3d1;border-radius:16px;padding:16px;margin-top:16px}.batch-box-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:16px}.batch-box-dialog{background:#fff;border-radius:20px;width:100%;max-width:560px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 16px 40px #0003;overflow:hidden}.batch-box-header{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.batch-box-header h2{font-size:18px;font-weight:800;margin:0;display:flex;align-items:center;gap:8px}.batch-box-content{padding:16px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;flex:1}.batch-job-card{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#faf8f5;display:flex;align-items:center;justify-content:space-between;gap:12px}.batch-job-card.completed{border-color:#a3e635;background:#f7fee7}.batch-job-card.pending{border-color:#fdba74;background:#fff7ed}.batch-job-card.failed{border-color:#fecaca;background:#fef2f2}.batch-job-info{display:flex;flex-direction:column;gap:2px;flex:1}.batch-job-title{font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px}.batch-job-desc{font-size:12px;color:#666;line-height:1.3}.batch-saving-badge{font-size:11px;font-weight:800;color:#15803d;background:#22c55e26;padding:2px 6px;border-radius:6px}.batch-claim-all-button{width:100%;justify-content:center}.batch-submit-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:12px;padding:12px 16px;font-weight:800;font-size:14px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;transition:transform .1s ease,box-shadow .1s ease}.batch-submit-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #d9770640}.batch-submit-sub{font-size:11px;font-weight:500;opacity:.9}.login-page{display:grid;min-height:100vh;padding:24px 16px;place-items:center;background:#f7f3ef}.login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:grid;padding:24px 16px;place-items:center;background:#493b4373;overflow-y:auto}.login-card{display:grid;gap:14px;width:min(460px,100%);padding:28px 24px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:var(--shadow);text-align:center;justify-items:center}.login-card h1{margin:0;font-size:20px}.login-card p{margin:0;line-height:1.7}.login-host{color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.02em}.login-steps{color:var(--ink);font-size:14px}.login-qr-box{display:grid;gap:8px;justify-items:center}.login-qr{width:240px;height:240px;padding:8px;border-radius:12px;background:#fff;image-rendering:pixelated}.login-match{display:grid;gap:8px;justify-items:center}.login-match-code{color:var(--coral-dark);font-size:96px;line-height:1;letter-spacing:.1em}.login-wait{display:inline-flex;align-items:center;gap:8px;color:var(--muted)}.login-ended{display:grid;gap:12px;justify-items:center}.login-turnstile{min-height:65px}.login-phone-guide{display:grid;gap:12px;justify-items:center}.account-bar{display:flex;align-items:center;gap:10px;width:min(1120px,calc(100% - 64px));margin:14px auto 0;font-size:13px;font-weight:800}.account-bar-spacer{flex:1}.account-points{padding:6px 12px;border-radius:999px;color:var(--coral-dark);background:var(--coral-soft)}.session-lost-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;width:min(1120px,calc(100% - 64px));margin:14px auto 0;padding:12px 15px;border:1px solid #e9aaa1;border-radius:11px;color:#a85d53;background:#fce9e4;font-size:13px;font-weight:800}.session-lost-actions{display:flex;flex-wrap:wrap;gap:8px}.gallery-keep-notice{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--paper-warm);font-size:12px;line-height:1.6}.gallery-keep-notice span{flex:1;min-width:200px}@media(max-width:860px){.account-bar,.session-lost-banner{width:calc(100% - 28px)}}.batch-box-content .description{margin:0;font-size:13px;line-height:1.6}.batch-box-error{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;background:#fef2f2;font-size:13px}.batch-box-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:32px}.batch-box-empty{padding:32px 16px;color:#666;text-align:center}.batch-box-empty p{margin:0;font-weight:700}.batch-box-empty-icon{margin-bottom:8px;font-size:36px}.batch-box-section{display:flex;flex-direction:column;gap:8px}.batch-box-heading{margin:0;font-size:14px;font-weight:800}.batch-box-heading.completed{color:#15803d}.batch-box-heading.failed{color:#b91c1c}.batch-job-via{padding:1px 8px;border-radius:999px;color:var(--muted);background:var(--paper-warm);font-size:11px;font-weight:700}.batch-job-eta{color:#c2410c;font-size:11px;font-weight:700}.batch-job-desc .text-button{margin-left:8px}.credit-history{display:grid;gap:6px;margin:0;padding:0;list-style:none}.credit-history li{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:13px}.report-reasons{display:grid;gap:8px;margin:12px 0;text-align:left}.report-reason{display:flex;align-items:center;gap:8px;font-size:14px}.source-only-ai{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.character-sheet-description{width:100%;min-height:96px;margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;resize:vertical}.character-sheet-result{display:grid;gap:12px}.character-sheet-result img{width:100%;border-radius:14px;background:#fff}
