@font-face{font-family:FlowerHand;src:url('/assets/fonts/MaShanZheng-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--ink:#684128;--soft:#9c7150;--cream:#fff2d8;--line:#765035;--sage:#a8b49b;--peach:#f4c49b;font-family:FlowerHand,'Kaiti SC','STKaiti','KaiTi',cursive;color:var(--ink);font-synthesis:none;letter-spacing:.04em;background:#f6c89e}*{box-sizing:border-box}html{min-width:320px}body{margin:0;min-height:100dvh;background:#f5c9a2 url('/assets/peach-paper-v2.png') center top/cover fixed;overflow-x:hidden}button,input{font:inherit;letter-spacing:inherit}button{border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.34;cursor:default}button:focus-visible,input:focus-visible{outline:2px dashed #805031;outline-offset:5px}button:focus:not(:focus-visible){outline:none}button:active:not(:disabled){transform:translateY(2px)}button img{pointer-events:none}p,h1,h2{margin:0}svg{display:block}.icon{display:inline-block;vertical-align:middle;width:25px;height:25px;flex:none}.atelier{position:relative;isolation:isolate;width:min(100%,calc(100dvh * .59),800px);min-height:100dvh;margin:0 auto;padding:22px 10px 27px}.paper-panel,.small-paper{position:relative;background-color:#fff2d9;background-image:linear-gradient(#fff5e1ba,#fff3dcbc),url('/assets/peach-paper-v2.png');background-size:cover;background-blend-mode:screen,normal;border:2px solid var(--line);border-radius:27px 23px 26px 22px / 20px 24px 19px 25px;box-shadow:1px 1px 0 #7a503a33}.paper-panel::after{content:'';position:absolute;inset:2px;pointer-events:none;border:1px solid #b58b5c12;border-radius:inherit}.small-paper{border-radius:15px 12px 16px 12px}.material-shelf{padding:10px 33px 10px 10px}.flower-track,.wrap-track{display:flex;gap:8px;overflow:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding:3px 1px}.flower-track::-webkit-scrollbar,.wrap-track::-webkit-scrollbar{display:none}.flower-card{position:relative;display:flex;flex-direction:column;align-items:center;flex:0 0 calc((100% - 40px)/6.65);min-width:0;height:auto;aspect-ratio:.63;border:1.6px solid transparent;border-radius:13px 11px 14px 12px;background-color:var(--card);background-image:url('/assets/peach-paper-v2.png');background-blend-mode:soft-light;background-size:160px auto;padding:4px 1px 7px;font-size:clamp(12px,calc(min(100vw,100dvh * .59,800px) * .034),23px);line-height:1;scroll-snap-align:start;letter-spacing:0;transform:rotate(-.4deg)}.flower-card:nth-child(2n){transform:rotate(.35deg);border-radius:12px 14px 11px 13px}.flower-card:nth-child(3n){transform:rotate(-.6deg)}.flower-card.active{border-color:#8e5b3a;box-shadow:0 0 0 2px #fff0d2,0 0 0 3px #9469468c}.flower-card:hover{border-color:#a78157}.card-art{height:calc(100% - 22px);display:flex;align-items:center;justify-content:center;width:100%;min-height:0;flex:none;margin-bottom:4px}.card-art img{height:112%;max-height:none;width:124%;max-width:none;object-fit:contain;filter:drop-shadow(1px 1px 0 #7f654414)}.flower-card>span:last-child{white-space:nowrap}.shelf-next{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:25px;height:44px;padding:4px;border:1.8px solid var(--line);border-radius:12px 9px 13px 10px;background:#fff0d8}.shelf-next:active{transform:translateY(calc(-50% + 2px))!important}.shelf-next .icon{width:19px;height:25px;stroke-width:2.5}.shelf-next .icon path{d:path('m9 4 8 8-8 8')}.editor{width:90%;margin:15px auto 0;padding:5px 0 4px;z-index:20;border-width:2px 1.8px 2.2px 2px;border-radius:25px 23px 22px 25px}.tool-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center}.drawing-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:65px;padding:3px 2px;font-size:clamp(14px,2.7dvh,24px);line-height:1;position:relative;white-space:nowrap;border-radius:12px}.drawing-tool:not(:last-child)::after{content:'';position:absolute;right:0;top:12%;height:78%;width:1px;background:#c4946969;transform:rotate(.4deg)}.tool-icon{width:34px;height:34px;stroke-width:1.9}.drawing-tool.active{background:#ebcf9d55}.drawing-tool.is-mirrored .tool-icon{transform:scaleX(-1);color:#a36c43}.drawing-tool:disabled{opacity:.68}.tool-popover{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);width:min(310px,100%);padding:12px 17px 14px;z-index:30;box-shadow:2px 5px 0 #895c3b20}.popover-caption{display:flex;align-items:center;justify-content:space-between;font-size:17px;color:#8f6747;margin-bottom:12px}.popover-caption button{padding:0}.popover-caption .icon{width:18px;height:18px}.pose-buttons{display:flex;justify-content:center;gap:13px}.pose-buttons button{display:flex;align-items:center;gap:8px;border:1.4px solid #b18455;border-radius:10px 12px 9px 11px;padding:8px 13px;font-size:23px;background:#fff4dd}.pose-buttons button.active{background:#e6cc9b}.slider-row{display:flex;align-items:center;gap:14px;padding:6px 0 5px}.slider-row .icon{width:22px;height:23px}.slider-row input{min-width:0;flex:1;height:5px;appearance:none;-webkit-appearance:none;background:#ccb087;border-radius:40%;cursor:pointer;touch-action:pan-y}.slider-row input::-webkit-slider-thumb{width:23px;height:25px;border:1.8px solid #89613e;background:#f5e0b7;border-radius:49% 44% 48% 42%;appearance:none;box-shadow:1px 2px 0 #a37a4f44}.slider-row input::-moz-range-thumb{width:23px;height:25px;border:1.8px solid #89613e;background:#f5e0b7;border-radius:49% 44% 48% 42%;box-shadow:1px 2px 0 #a37a4f44}.workbench{position:relative;height:calc(min(100vw,100dvh * .59,800px) * .98);margin-top:9px;isolation:isolate}.workbench::before{content:'';position:absolute;z-index:-1;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);top:76.3%;bottom:-170px;background:linear-gradient(#e48d6c21,#ee977c0a),url('/assets/peach-paper-v2.png') center bottom/cover,#e9997d;background-blend-mode:multiply,soft-light,normal;border-top:2px solid #8d533a;box-shadow:0 -1px 0 #b66c4755}.scene{height:100%;width:100%;margin:0 auto;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}.bouquet-svg{display:block;width:100%;height:100%;overflow:visible}.scene [data-flower-id]{cursor:grab}.scene.dragging [data-flower-id]{cursor:grabbing}.layer-toggle{position:absolute;right:7px;top:18px;display:flex;align-items:center;gap:7px;z-index:8;padding:8px 12px;min-height:42px;font-size:23px}.layer-toggle.active{visibility:hidden}.layer-count{font-size:14px;letter-spacing:0;color:#99704d}.empty-nudge{position:absolute;left:50%;top:26%;transform:translateX(-50%) rotate(-4deg);text-align:center;color:#a47852;pointer-events:none;white-space:nowrap}.empty-nudge[hidden]{display:none}.empty-nudge p{font-size:19px;letter-spacing:.04em}.pencil-arrow{display:block;font-size:40px;transform:rotate(65deg);margin-left:100px;margin-top:5px}.layers-panel{position:absolute;z-index:10;right:3px;top:19px;width:25%;min-width:0;max-height:87%;padding:11px 7px 8px;border-radius:20px 17px 20px 16px;background-color:#fff1d6;box-shadow:1px 2px 0 #98643e33}.layers-panel[hidden]{display:none}.layers-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:0 4px 10px}.layers-heading strong{font-size:28px;font-weight:400;line-height:1}.layers-heading>button{padding:0 0 5px 5px}.layers-heading .icon{width:15px;height:17px}.layer-list{overflow-y:auto;max-height:calc(min(100vw,100dvh * .59,800px) * .74);scrollbar-width:thin;scrollbar-color:#d6b48a transparent;overscroll-behavior:contain;border:1px solid #cc9d6c99;border-radius:12px 10px 13px 11px;padding:0 3px}.layer-row{display:flex;align-items:center;border-bottom:1px solid #cea16d69;min-height:49px;position:relative}.layer-row:last-child{border-bottom:0}.layer-row.selected{background:#e9d2aa4a}.layer-grip{padding:8px 1px;color:#835234;cursor:grab;touch-action:none;flex:none}.layer-grip .icon{width:11px;height:23px;fill:currentColor;stroke-width:.5}.layer-select{display:flex;align-items:center;gap:3px;flex:1;min-width:0;text-align:left;padding:2px 0;font-size:14px;line-height:1;white-space:nowrap}.layer-select img{width:31px;height:43px;object-fit:contain;flex:none}.layer-order{display:none}.drop-target{box-shadow:inset 0 3px 0 #a47c51}.drag-source{opacity:.45}.layers-empty{text-align:center;font-size:18px;line-height:1.5;padding:20px 2px;color:#a17b57}.bottom-bar{position:relative;margin:11px auto 0;display:flex;align-items:center;justify-content:center;z-index:3;min-height:74px}.history{position:absolute;left:5px;bottom:17px;display:flex;gap:9px}.history button{padding:5px 2px;display:flex;align-items:center;gap:4px;font-size:15px}.history button span{display:none}.history .icon{height:21px;width:21px;stroke-width:2}.primary-button{display:flex;justify-content:center;align-items:center;gap:20px;min-width:47%;min-height:69px;padding:9px 22px 13px;background:#fff0d4 url('/assets/peach-paper-v2.png') center/cover;background-blend-mode:screen;border:2.4px solid #734629;border-radius:40px 43px 38px 44px / 37px 41px 38px 35px;box-shadow:0 5px 0 #a56e44,1px 7px 0 #7950396b;font-size:clamp(30px,5dvh,47px);line-height:1;letter-spacing:.05em;transform:rotate(-.5deg)}.primary-button:disabled{opacity:.59}.primary-button .icon{width:37px;height:34px;stroke-width:2.4}.primary-button:hover:not(:disabled){background-color:#fff8e5}.primary-button:active:not(:disabled){box-shadow:0 2px 0 #a56e44;transform:translateY(3px) rotate(-.5deg)}.little-heading{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 14px;height:39px}.little-heading h1{font-weight:400;font-size:30px;letter-spacing:.05em}.sprig{width:45px;color:#828760}.sprig.right{transform:scaleX(-1)}.shelf-caption{display:flex;align-items:center;justify-content:space-between;font-size:24px;padding:2px 5px 10px}.shelf-note{font-size:16px;color:#a77a52}.wrap-shelf{padding:11px 11px 14px}.wrap-track{gap:6px}.wrap-card{position:relative;flex:0 0 calc((100% - 24px)/5.4);display:flex;flex-direction:column;align-items:center;padding:0 2px 7px;border:1.5px solid transparent;border-radius:13px 11px 15px 12px;font-size:20px;white-space:nowrap}.wrap-card.active{border-color:#9b6943;background:#efd4ab55}.wrap-mini{position:relative;width:65px;height:75px;display:block;margin-bottom:5px;filter:drop-shadow(1px 2px 1px #96724a15)}.wrap-mini i,.wrap-mini b,.wrap-mini em{position:absolute;display:block;border:1.5px solid #9b724b;background:var(--paper-color,#ead7c3)}.wrap-mini i{width:45px;height:56px;left:0;top:6px;transform:rotate(-17deg);clip-path:polygon(0 0,100% 0,77% 100%,40% 100%);filter:brightness(.96)}.wrap-mini b{width:47px;height:63px;right:0;top:1px;transform:rotate(14deg);clip-path:polygon(0 0,100% 0,67% 100%,20% 100%);filter:brightness(1.06)}.wrap-mini em{width:58px;height:51px;top:23px;left:4px;clip-path:polygon(0 0,52% 21%,100% 0,67% 100%,35% 100%)}.wrap-mini::after{content:'';position:absolute;left:22px;bottom:12px;width:23px;height:4px;background:#bc8d78;border:1px solid #8a5f42;border-radius:40%;transform:rotate(-4deg)}.wrap-kraft{--paper-color:#cfb28a}.wrap-korean b{transform:rotate(25deg);top:4px}.wrap-matte i{transform:rotate(-24deg)}.wrap-french em{background:repeating-linear-gradient(0deg,var(--paper-color) 0px,var(--paper-color) 6px,#a58a6c55 6px,#a58a6c55 7px)}.wrap-gauze i,.wrap-gauze b{background:repeating-linear-gradient(45deg,#fff9 0px,#fff9 1px,var(--paper-color) 1px,var(--paper-color) 3px);opacity:.75}.wrap-duo i{background:#aebaa3}.picked{position:absolute;top:4px;right:4px;background:#a5ae8b;color:#fff7e0;width:17px;height:17px;border:1px solid #7a805a;border-radius:50%;display:none;place-items:center}.picked .icon{width:12px;height:12px}.wrap-card.active .picked{display:grid}.paper-colors{display:flex;align-items:center;justify-content:center;gap:15px;border-top:1px solid #c5a47c66;margin:7px 3px 0;padding-top:12px;font-size:21px}.swatches{display:flex;align-items:center;gap:11px}.swatch{position:relative;width:24px;height:25px;display:grid;place-items:center;border-radius:46% 50% 43% 47%;background:var(--swatch);border:1.3px solid #8d6848;box-shadow:inset 0 0 6px #ffffff25}.swatch.active::after{content:'';position:absolute;inset:-5px;border:1.4px solid #946541;border-radius:50% 45% 49% 47%;transform:rotate(-13deg)}.swatch .icon{width:15px;height:15px;color:#72543b}.color-name{font-size:17px;color:#946d4a;min-width:40px}.paper-colors .color-name{display:none}.wrap-workbench{height:calc(min(100vw,100dvh * .59,800px) * 1.02);margin-top:7px}.wrap-workbench::before{top:83%;bottom:-160px}.canvas-invitation,.canvas-note{display:none}.atelier[data-page=wrap] .bottom-bar{justify-content:space-between;margin-top:16px}.text-button{display:flex;align-items:center;gap:6px;font-size:22px;padding:10px 3px}.text-button .icon{width:23px;height:23px;stroke-width:2}.atelier[data-page=wrap] .primary-button{font-size:34px;min-height:62px;min-width:47%}.finish-actions{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:10px;flex-wrap:wrap}.finish-title{font-size:26px;text-align:center;order:3;width:100%;margin-top:9px}.save-button{display:flex;align-items:center;gap:7px;padding:10px 13px;font-size:22px;min-height:44px}.save-button .icon{height:22px;width:22px}.finished-card{position:relative;isolation:isolate;aspect-ratio:4/5.15;background:var(--poster-color);border:8px solid #fff3d9;box-shadow:2px 3px 0 #b9906466;transform:rotate(-.6deg);margin:0 9px}.finished-card .scene{position:absolute;inset:33px 0 63px;height:auto;width:100%}.finished-card .scene svg{overflow:hidden}.poster-heading{position:absolute;top:21px;left:24px;right:24px;display:flex;align-items:center;gap:15px;color:#83906c}.poster-script{font-family:Georgia,serif;font-size:10px;font-style:italic;letter-spacing:.02em;white-space:nowrap}.poster-rule{height:1px;background:#7c8b6c44;flex:1}.poster-bottom{position:absolute;bottom:24px;left:0;right:0;text-align:center;font-size:29px;letter-spacing:.06em;color:#748067}.poster-bottom small{display:none}.background-picker{display:flex;align-items:center;justify-content:center;gap:18px;margin:28px 0 0;font-size:22px}.background-picker .color-name{display:none}.background-picker .swatches{gap:13px}.export-note{text-align:center;margin:21px 0 0;font-size:18px;color:#99704d}.toast{position:fixed;z-index:150;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translate(-50%,12px);white-space:nowrap;background:#fff0d7;border:2px solid #835735;border-radius:15px 18px 13px 16px;padding:12px 21px;box-shadow:0 3px 0 #a56e4444;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;font-size:22px}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:719px){.atelier{width:min(100%,520px);padding-top:17px}.flower-card{font-size:clamp(12px,3.5vw,17px);flex-basis:calc((100% - 35px)/6.45)}.material-shelf{padding-left:8px;padding-right:31px}.flower-track{gap:6px}.card-art{margin-bottom:3px}.editor{margin-top:12px;width:91%}.drawing-tool{min-height:63px;font-size:18px;gap:6px}.tool-icon{width:32px;height:32px}.workbench{height:calc(min(100vw,520px) * 1.02);margin-top:9px}.workbench::before{top:76%;bottom:-200px}.layers-panel{top:14px;right:4px;width:43%;max-height:93%;padding:12px 7px 8px;box-shadow:2px 4px 0 #9b684027}.layers-heading strong{font-size:29px}.layer-list{max-height:calc(min(100vw,520px) * .76)}.layer-row{min-height:57px}.layer-select{font-size:20px;gap:6px}.layer-select img{width:46px;height:53px}.layer-grip .icon{width:13px}.layer-order{display:none}.layer-toggle{font-size:23px;right:8px;top:17px;padding:7px 12px}.layer-count{display:none}.empty-nudge{top:27%}.empty-nudge p{font-size:21px}.bottom-bar{margin-top:7px;min-height:73px}.primary-button{min-height:62px;min-width:49%;font-size:34px;gap:13px;padding:10px 21px 13px}.primary-button .icon{width:33px;height:30px}.history{left:5px;bottom:18px;gap:8px}.wrap-workbench{height:calc(min(100vw,520px) * 1.07)}.wrap-workbench::before{top:83%;bottom:-150px}.little-heading h1{font-size:29px}.shelf-caption{font-size:21px}.shelf-note{font-size:15px}.wrap-card{font-size:19px}.paper-colors{font-size:20px;gap:12px}.swatches{gap:11px}.swatch{width:24px;height:25px}.text-button{font-size:20px}.atelier[data-page=wrap] .primary-button{font-size:31px;min-height:59px}.finished-card{margin:0 5px}.finished-card .scene{inset:32px 0 55px}.poster-bottom{font-size:25px;bottom:22px}.poster-heading{left:18px;right:18px;top:20px;gap:10px}.poster-script{font-size:9px}.background-picker{font-size:20px;gap:14px}.background-picker .swatches{gap:12px}.save-button{font-size:21px}.finish-title{font-size:25px}.export-note{font-size:17px}.toast{font-size:20px;max-width:92vw;white-space:normal;text-align:center}}
@media(max-width:380px){.atelier{padding-left:7px;padding-right:7px}.material-shelf{padding:8px 28px 8px 7px}.flower-track{gap:5px}.flower-card{font-size:13px;flex-basis:calc((100% - 30px)/6.3);border-radius:10px 12px 9px 11px;padding-bottom:6px}.shelf-next{right:6px;width:22px;height:40px;padding:2px}.shelf-next .icon{width:18px}.drawing-tool{font-size:17px;min-height:58px}.tool-icon{width:29px;height:29px}.editor{margin-top:12px}.primary-button{font-size:30px;min-height:58px;padding:9px 18px 12px;gap:12px}.primary-button .icon{width:29px}.history{gap:6px;left:3px}.history .icon{width:19px;height:19px}.workbench{height:calc(100vw * 1.03)}.layer-toggle{font-size:21px}.empty-nudge p{font-size:20px}.wrap-mini{transform:scale(.9);margin-top:-4px;margin-bottom:0}.wrap-card{font-size:17px}.paper-colors{font-size:19px;gap:10px}.swatch{width:22px;height:23px}.swatches{gap:10px}.wrap-workbench{height:calc(100vw * 1.05)}.finish-actions .text-button{font-size:19px}.save-button{font-size:20px;padding:9px 11px}.background-picker{font-size:18px;gap:10px}.background-picker .swatches{gap:10px}.finished-card{border-width:7px}.poster-bottom{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

@media(min-width:720px){.atelier[data-layers-open=true] .workbench .scene{transform:translateX(-4%)}}

.workbench::before{display:none}
.atelier[data-page=arrange]::before,.atelier[data-page=wrap]::before{content:'';position:absolute;z-index:-1;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);top:var(--floor-top,68vh);bottom:0;background:linear-gradient(#e58e6d28,#e5916a13),url('/assets/peach-paper-v2.png') center bottom/cover,#e9997d;background-blend-mode:multiply,soft-light,normal;border-top:2px solid #8d533a;box-shadow:0 -1px 0 #b66c4755}
@media(max-width:719px){.flower-card{flex-basis:calc((100% - 30px)/5.65)}.workbench{height:calc(min(100vw,520px) * 1.18)}.workbench .scene{width:112%;left:-6%}.wrap-workbench{height:calc(min(100vw,520px) * 1.18)}.finished-card .scene{left:0;width:100%}}
@media(max-width:380px){.flower-card{flex-basis:calc((100% - 25px)/5.45)}.workbench{height:calc(100vw * 1.17)}}

.flower-item.is-selected>ellipse{display:none}

/* Soft pencil-and-wash edition: lighter materials and compact controls. */
@font-face{font-family:FlowerSoft;src:url('/assets/fonts/FlowerWenKai.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--ink:#796b5b;--soft:#a89880;--line:#c2af95;--cream:#fff9ee;font-family:FlowerSoft,'Kaiti SC','STKaiti',serif;letter-spacing:.025em;background:#f7ecdf}
body{background-color:#f7ecdf;background-image:linear-gradient(#fff8ecab,#fff9efae),url('/assets/peach-paper-v2.png');background-position:center top;background-size:cover;background-attachment:fixed}
.paper-panel,.small-paper{background-color:#fffaf0ed;background-image:linear-gradient(#fffaf1e3,#fff9eedc),url('/assets/peach-paper-v2.png');border:1px solid #c6b49c;box-shadow:0 1px 1px #a98c6a14}
.flower-card{background-color:color-mix(in srgb,var(--card) 48%,#fff9ee);background-image:none;border-width:1px;color:#796f60;letter-spacing:.01em}
.flower-card.active{border-color:#baa385;box-shadow:0 0 0 1px #fff9ee,0 0 0 2px #c7b89e88}
.flower-card:hover{border-color:#c7b59a}.card-art img{filter:none}
.shelf-next{border:1px solid #c4b198;background:#fffaf0e8;color:#9c876b;width:24px;height:38px}
.shelf-next .icon{stroke-width:1.4}
.editor.paper-panel{padding:0;width:91%;margin-top:10px;border:1px solid #c6b49c;border-radius:17px 15px 16px 15px;min-height:0}
.editor .tool-row{height:34px;min-height:34px}
.editor .drawing-tool{flex-direction:row;gap:4px;min-height:34px;height:34px;padding:3px 2px;font-size:14px;line-height:1;letter-spacing:.01em;border-radius:12px;color:#8a795f}
.editor .tool-icon{width:17px;height:17px;stroke-width:1.5}
.editor .drawing-tool:not(:last-child)::after{top:26%;height:48%;background:#d1c2ac83}
.editor .drawing-tool.active,.editor .drawing-tool.is-toggled{background:#e9ecdf99}
.editor .drawing-tool:disabled{opacity:.5}
.tool-popover{width:248px;padding:10px 13px 12px;border-radius:15px 14px 16px 14px;box-shadow:1px 3px 8px #8d785915}
.popover-caption{font-size:13px;color:#a08f74;margin-bottom:7px}.popover-caption .icon{width:15px;height:15px}
.slider-row{padding:6px 0 4px;gap:11px}.slider-row .icon{width:18px;height:18px;stroke-width:1.4}
.slider-row input{height:3px;background:#d6c8b2}.slider-row input::-webkit-slider-thumb{width:17px;height:18px;border:1px solid #b5a286;background:#fff9ed;box-shadow:0 1px 1px #8d785915}
.slider-row input::-moz-range-thumb{width:17px;height:18px;border:1px solid #b5a286;background:#fff9ed;box-shadow:0 1px 1px #8d785915}
.layers-panel{width:66px;min-width:0;max-width:66px;padding:9px 5px 6px;top:14px;right:4px;border-radius:15px 13px 16px 14px;background-color:#fffbf3ee;box-shadow:1px 2px 5px #9b876816}
.layers-heading{padding:0 1px 7px;align-items:center;gap:3px}.layers-heading strong{font-size:13px;line-height:1.2;font-weight:400;white-space:nowrap}.layers-heading>button{padding:0}.layers-heading .icon{width:11px;height:13px;stroke-width:1.4}
.layer-list{padding:0;border:0;border-radius:8px;max-height:338px;scrollbar-width:thin;scrollbar-color:#d8cdb9 transparent}
.layer-row{min-height:45px;height:45px;border-bottom:1px solid #ded4c438;border-radius:8px}
.layer-row.selected{background:#e0e6d564}.layer-grip{width:14px;padding:6px 0;opacity:.55}.layer-grip .icon{width:9px;height:21px}
.layer-select{justify-content:center;gap:0;padding:1px 0;min-width:0}.layer-select img{width:33px;height:40px;object-fit:contain}.layer-select span{display:none}.layer-order{display:none}
.layers-empty{font-size:10px;line-height:1.7;padding:12px 1px;word-break:break-all;color:#b0a088}
.layer-toggle{font-size:14px;min-height:33px;padding:6px 10px;right:5px;top:15px;gap:5px;border-radius:12px 10px 12px 11px;color:#9a876d}
.layer-count{font-size:10px;color:#baa98d}
.atelier[data-page=arrange]::before,.atelier[data-page=wrap]::before{background:linear-gradient(#fff6e88c,#fff5e68c),url('/assets/peach-paper-v2.png') center bottom/cover,#e8bca4;background-blend-mode:normal,soft-light,normal;border-top:1px solid #bda38a88;box-shadow:none}
.primary-button{font-family:FlowerSoft,'Kaiti SC',serif;min-height:54px;padding:10px 22px 12px;font-size:28px;gap:14px;letter-spacing:.08em;color:#8b775e;background-color:#fff9ec;background-image:linear-gradient(#fffaf0de,#fff8eeda),url('/assets/peach-paper-v2.png');border:1.2px solid #bda68a;border-radius:31px 33px 30px 32px;box-shadow:0 3px 0 #c4ac8f6b,0 4px 1px #9d846220;transform:rotate(-.25deg)}
.primary-button .icon{width:27px;height:26px;stroke-width:1.4}.primary-button:active:not(:disabled){box-shadow:0 1px 0 #c4ac8f6b;transform:translateY(2px)}
.history{bottom:16px}.history .icon{width:19px;height:19px;stroke-width:1.3;color:#ad9679}
.vase-paint,.vase-glaze{filter:saturate(.7)}.vase-paint{opacity:.74}.vase-glaze{opacity:.22}
.empty-nudge{color:#b2a087;transform:translateX(-50%) rotate(-1.5deg)}.empty-nudge p{font-size:15px;letter-spacing:.06em}
.little-heading h1{font-size:21px;font-weight:400}.shelf-caption{font-size:17px}.shelf-note{font-size:11px}.wrap-card{font-size:14px}.paper-colors{font-size:14px}.text-button{font-size:16px}.text-button .icon{stroke-width:1.4}
.atelier[data-page=wrap] .primary-button{font-size:25px;min-height:52px}.save-button{font-size:16px}.finish-title{font-size:20px}.poster-bottom{font-size:21px;letter-spacing:.035em}.background-picker{font-size:15px}.export-note{font-size:12px}.toast{font-size:15px;border-width:1px;border-color:#c7b59b;background:#fffaf0;box-shadow:0 2px 8px #a68d6b13}
@media(min-width:720px){.atelier[data-layers-open=true] .workbench .scene{transform:translateX(-2%)}}
@media(max-width:719px){.editor.paper-panel{margin-top:10px}.layers-panel{width:70px;max-width:70px;padding:9px 6px 6px}.layers-heading strong{font-size:13px}.layer-row{height:45px;min-height:45px}.layer-select img{width:35px;height:40px}.layer-grip .icon{width:9px}.layer-list{max-height:335px}.layer-toggle{font-size:14px;min-height:32px;padding:6px 10px}.primary-button{font-size:26px;min-height:54px}.primary-button .icon{width:25px;height:25px}.empty-nudge p{font-size:14px}.little-heading h1{font-size:20px}.text-button{font-size:15px}.save-button{font-size:15px}.background-picker{font-size:14px}.poster-bottom{font-size:20px}.export-note{font-size:11px}}
@media(max-width:380px){.editor .drawing-tool{font-size:13px;gap:3px}.editor .tool-icon{width:16px;height:16px}.primary-button{font-size:24px;min-height:52px}.layers-panel{width:68px;max-width:68px}.layer-select img{width:33px}.background-picker{font-size:13px}}

.flower-selection{display:none}

/* Folded paper and printed botanical edition. Thumbnails share the real paper. */
.wrap-track{gap:7px;align-items:stretch;padding:2px 0 5px}
.wrap-card{flex:0 0 73px;padding:3px 2px 8px;border:1px solid transparent;border-radius:13px 10px 12px 11px;gap:3px}
.wrap-card.active{border-color:#aa9075;background:#e8d8bf38}
.wrap-mini{display:block;position:relative;width:70px;height:84px;margin:0;filter:none;transform:none}
.wrap-mini::after{display:none}
.wrap-mini svg{width:100%;height:100%;overflow:visible}
.wrap-card .picked{top:3px;right:3px;width:14px;height:14px;background:#a4ac8e;border-color:#8f977b}
.wrap-card .picked .icon{width:10px;height:10px}
.wrap-shelf{padding:9px 10px 12px}
.wrap-shelf .shelf-caption{padding:1px 3px 5px;font-size:15px}
.wrap-shelf .paper-colors{margin-top:5px;padding-top:10px;border-top-color:#d4c2aa55}
.wrap-workbench{margin-top:0}
.atelier[data-page=wrap] .wrap-workbench .scene{width:100%;left:0}
.atelier[data-page=wrap] .bottom-bar{margin-top:0}
@media(max-width:719px){.wrap-card{flex-basis:66px;font-size:13px}.wrap-mini{width:62px;height:76px}.wrap-shelf .shelf-caption{font-size:15px}.wrap-workbench{height:calc(min(100vw,520px) * 1.18)}.atelier[data-page=wrap] .little-heading{height:32px;margin-bottom:10px}}
@media(max-width:380px){.wrap-card{flex-basis:61px}.wrap-mini{width:58px;height:72px}}

/* Keep the original PNG accessible to the host app's long-press save menu. */
.save-preview{position:fixed;inset:0;z-index:1000;background:rgba(35,28,24,.78);overflow:auto;padding:24px 16px;padding-top:max(24px,env(safe-area-inset-top));}
.save-preview-panel{max-width:480px;margin:auto;background:#fff5e6;padding:16px;border-radius:16px;color:#624638;text-align:center;}
.save-preview-panel p{margin:12px 0;font-size:15px;}
.save-preview-panel img{display:block;width:100%;height:auto;user-select:auto;-webkit-user-select:auto;-webkit-touch-callout:default;}
.save-preview-close{display:block;margin-left:auto;padding:8px 16px;font:inherit;cursor:pointer;}
