@font-face{font-family:Dancing Script;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/dancing-script-latin-600-normal.CUtcW3hj.woff2)format("woff2"),url(/_astro/dancing-script-latin-600-normal.8nA_0nHX.woff)format("woff")}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/great-vibes-latin-400-normal.q5-78SH_.woff2)format("woff2"),url(/_astro/great-vibes-latin-400-normal.BAZ173uY.woff)format("woff")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/cormorant-garamond-latin-600-normal.Co1r35X9.woff2)format("woff2"),url(/_astro/cormorant-garamond-latin-600-normal.2CBVLo0M.woff)format("woff")}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/montserrat-latin-700-normal.BdjcYUrC.woff2)format("woff2"),url(/_astro/montserrat-latin-700-normal.BWkrl476.woff)format("woff")}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/caveat-latin-600-normal.zlTlWIYU.woff2)format("woff2"),url(/_astro/caveat-latin-600-normal.DUjB8dgm.woff)format("woff")}*{box-sizing:border-box}html,body{background:#081317;width:100%;height:100%;margin:0;overflow:hidden}body{touch-action:none;background:radial-gradient(at 48% 30%,#294044 0%,#192c31 45%,#102026 76%,#081317 100%);font-family:system-ui,sans-serif}#stage,canvas{touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}#reset{color:#fff;cursor:pointer;opacity:.9;background:0 0;border:0;padding:0;position:static}#reset:focus-visible{outline-offset:4px;border-radius:50%;outline:1px solid #fff}#loading{pointer-events:none;color:#f7d9ff;letter-spacing:.12em;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}#loading:empty{display:none}body:after{content:"";pointer-events:none;opacity:.12;mix-blend-mode:soft-light;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E");position:fixed;inset:0}[hidden]{display:none!important}:root{color-scheme:dark}#brush-dock{z-index:4;bottom:max(16px,env(safe-area-inset-bottom));color:#f5edf9;touch-action:manipulation;isolation:isolate;width:min(470px,100% - 20px);font-size:12px;position:fixed;left:50%;transform:translate(-50%)}#brush-dock button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0}#brush-dock button:focus-visible{outline-offset:2px;outline:2px solid #c9f3e8}#brush-dock button:disabled{opacity:.36;cursor:default}#brush-toolbar,#brush-panel{-webkit-backdrop-filter:blur(22px)saturate(1.25);background:linear-gradient(150deg,#253638ed,#101d21ef);border:1px solid #b9d8d12e;box-shadow:0 8px 36px #09021150,inset 0 1px #f5e7ff0c}#brush-toolbar{border-radius:19px;align-items:stretch;gap:4px;padding:5px;display:flex}#presets{flex:1;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;min-width:0;display:grid}#presets button{color:#dac9e7;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:0;padding:4px 1px 6px;font-size:10px;line-height:1.2;display:flex}#presets svg{width:100%;max-width:53px;height:29px;overflow:visible}#presets button[aria-pressed=true]{color:#fff;background:#a8d5cc21;box-shadow:inset 0 0 0 1px #dec0f254}#presets button.empty svg{opacity:.48}#brush-toggle{flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:5px;width:58px;margin:2px 0 2px 2px;display:flex;border-left:1px solid #e1cdf126!important;font-size:11px!important}#brush-toggle svg{width:23px;height:23px}#brush-toggle[aria-expanded=true]{color:#b6eadb}#brush-panel{border-radius:19px;margin-bottom:8px;overflow:hidden}#brush-panel header{border-bottom:1px solid #dcc4ed18;justify-content:space-between;align-items:center;padding:9px 9px 7px;display:flex}.tabs{flex:1;gap:3px;display:flex}.tabs button{border-radius:9px;flex:1;justify-content:center;align-items:center;gap:5px;padding:9px 3px;display:flex;color:#c0d0d0!important}#brush-dock .tabs button[aria-selected=true]{background:#cee9d9;font-weight:700;box-shadow:inset 0 0 0 1px #e9fff1,0 2px 6px #06101238;color:#17342b!important}#panel-close{place-items:center;width:35px;height:35px;display:grid}#panel-close svg{width:18px;height:18px}.panel-scroll{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;max-height:min(54dvh,420px);padding:12px 17px 14px;overflow:auto}.setting{grid-template-columns:1fr auto;align-items:center;gap:7px;margin:0 0 13px;font-size:12px;display:grid}.setting:last-child{margin-bottom:0}.setting output{color:#bed8d3;font-variant-numeric:tabular-nums;font-size:11px}.setting input{-webkit-appearance:none;appearance:none;touch-action:none;cursor:ew-resize;background:0 0;grid-column:1/-1;width:100%;height:19px;margin:0}.setting input::-webkit-slider-runnable-track{background:linear-gradient(90deg,#a8d5cc var(--range),#496166 var(--range));border-radius:6px;height:3px}.setting input::-moz-range-track{background:#496166;border-radius:6px;height:3px}.setting input::-moz-range-progress{background:#a8d5cc;height:3px}.setting input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#e5f5ee;border:1px solid #fff8;border-radius:50%;width:16px;height:16px;margin-top:-6.5px;box-shadow:0 1px 6px #140a29}.setting input::-moz-range-thumb{background:#e5f5ee;border:0;border-radius:50%;width:15px;height:15px}.setting input:disabled{opacity:.35}.setting input:focus-visible{outline-offset:2px;outline:1px solid #c9f3e8}.setting-heading{justify-content:space-between;align-items:center;margin:3px 0 10px;font-size:12px;display:flex}.setting-heading button{color:#d9b7f1!important}.species-grid,.mode-grid{grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:16px;display:grid}.species-grid button,.mode-grid button,.palette-grid button{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:9px 3px;display:flex;color:#d0dfdb!important;border:1px solid #bad6d024!important}.species-grid button[aria-pressed=true],.mode-grid button[aria-pressed=true],.palette-grid button[aria-pressed=true]{background:#a0c9bd1c;color:#fff!important;border-color:#b5d8cb84!important}.palette-grid{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.palette-grid button{flex-direction:column;gap:7px;font-size:10px!important}.swatches{justify-content:center;display:flex}.swatches i{border:1px solid #26152f44;border-radius:50%;width:13px;height:13px;margin-left:-3px;display:block}#mode-description{color:#ccb8dc;min-height:18px;margin:-7px 0 15px;font-size:11px;line-height:1.6}#preview-exit{border-radius:9px;width:100%;margin-top:5px;padding:10px;display:block;border:1px solid #b5d7d255!important}#brush-panel footer{border-top:1px solid #dcc4ed18;justify-content:space-between;gap:10px;padding:9px 12px;display:flex}#save-brush,#reset-settings{border-radius:8px;padding:7px 9px}#save-brush{color:#f5e4ff!important;background:#a8d5cc26!important}#reset-settings{color:#c6b2d3!important}#brush-toast{z-index:5;top:var(--action-clearance,64px);opacity:0;pointer-events:none;color:#f5e9ff;text-align:center;background:#1a0a31e6;border:1px solid #cfb0f02c;border-radius:20px;max-width:calc(100% - 110px);padding:9px 15px;font:11px/1.5 system-ui,sans-serif;transition:opacity .18s,transform .18s;position:fixed;left:50%;transform:translate(-50%,-8px);box-shadow:0 4px 16px #0c032a33}#brush-toast.show{opacity:1;transform:translate(-50%)}@media (width<=420px){#brush-toggle{width:45px}#presets button{font-size:9px}#brush-toolbar{border-radius:15px;gap:1px;padding:4px}#brush-dock{bottom:max(10px,env(safe-area-inset-bottom))}.panel-scroll{padding:10px 13px 12px}.species-grid button,.tabs button{font-size:11px!important}}@media (hover:hover){#brush-dock button:hover:not(:disabled){filter:brightness(1.2)}}body{touch-action:auto}#brush-toggle span{white-space:nowrap;max-width:100%;font-size:10px}#preview-exit{margin:0 0 18px}@media (width>=800px){#brush-panel{width:356px;margin:0;position:absolute;bottom:calc(100% + 8px);right:calc(255px - 50vw)}.panel-scroll{max-height:min(60dvh,465px)}}#undo{color:#f5e5ff;cursor:pointer;touch-action:manipulation;background:#23103928;border:1px solid #ffffff38;border-radius:50%;place-items:center;transition:opacity .15s;display:grid;position:static}#undo svg{width:19px;height:19px}#undo:focus-visible{outline-offset:3px;outline:1px solid #fff}.sample-wrap{background:radial-gradient(#7548a21a,#0000 80%);border-bottom:1px solid #b5d5cc20;place-items:center;height:91px;margin:-4px -4px 13px;display:grid;overflow:hidden}#brush-sample{object-fit:contain;touch-action:auto;width:100%;height:100%;display:block;position:static}.input-row{justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px;display:flex}.input-switch{border:1px solid #bad6d024;border-radius:8px;gap:2px;padding:2px;display:flex}.input-switch button{border-radius:6px;padding:6px 11px;color:#d0dfdb!important;font-size:11px!important}.input-switch button[aria-pressed=true]{background:#a8d5cc24;color:#fff!important}#brush-panel .setting{margin-bottom:10px}#brush-panel .setting:last-child{margin-bottom:0}@media (width<=500px){.sample-wrap{height:76px;margin-bottom:9px}.input-row{margin-bottom:10px}.panel-scroll{max-height:min(58dvh,480px)}}@media (prefers-reduced-motion:reduce){#brush-toast,#undo{transition:none}}.sample-wrap{height:108px;display:block;position:relative}#brush-sample{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}@media (width<=500px){.sample-wrap{height:90px}}#text-toggle{flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:3px;width:44px;display:flex;border-left:1px solid #e1cdf126!important;font-size:10px!important}#text-toggle .aa{font-family:Georgia,serif;font-size:22px;line-height:1}#brush-dock{width:min(530px,100% - 20px)}@media (width>=800px){#brush-panel{width:390px;right:calc(285px - 50vw)}}.tabs button{white-space:nowrap;gap:4px;font-size:11px!important}.tabs svg{width:14px;height:14px}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:19px;display:grid}.theme-grid button{text-align:left;border-radius:9px;flex-direction:column;align-items:flex-start;gap:4px;min-height:66px;padding:9px 7px;display:flex;border:1px solid #bad6d024!important}.theme-grid button[aria-pressed=true],.font-grid button[aria-pressed=true],.letter-modes button[aria-pressed=true]{background:#a8d5cc23!important;border-color:#ddc0f18c!important}.theme-grid strong{font-size:12px;font-weight:600}.theme-grid small{color:#c0d0d0;font-size:10px;line-height:1.4}.theme-grid .swatches{margin-left:3px}.species-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.species-grid button{gap:3px;font-size:10px!important}#letter-value{color:#fff;touch-action:manipulation;background:#0c171b98;border:1px solid #bad6d040;border-radius:9px;outline:none;width:100%;min-width:0;margin:0 0 16px;padding:10px 12px;font-size:29px}#letter-value:focus{border-color:#e1b8ff}.font-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:15px;display:grid}.font-grid button{border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:51px;padding:5px 4px;display:flex;border:1px solid #bad6d024!important}.font-example{font-family:var(--letter-font);font-weight:var(--letter-weight);font-size:24px;line-height:1.1}.font-grid small{color:#d0c0df;font-size:9px}.sample-wrap.loading-models:after{content:attr(data-loading-label);color:#e5d5f6;background:#182d30e8;place-items:center;font-size:11px;display:grid;position:absolute;inset:0}.sample-wrap[data-view=flower]{height:142px}@media (width<=500px){.sample-wrap[data-view=flower]{height:128px}}#brush-panel .sample-wrap{border-bottom:1px solid #b5d5cc20;flex-shrink:0;margin:0 12px}#brush-panel .panel-scroll{max-height:min(49dvh,410px,100dvh - 285px)}#brush-panel:has(.sample-wrap[data-view=life]) .panel-scroll{max-height:min(60dvh,465px)}@media (width<=500px){#brush-panel .panel-scroll{max-height:min(46dvh,100dvh - 270px)}}.symbol-strip{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin:-7px 0 15px;display:grid}.symbol-strip button{border-radius:7px;height:31px;background:#a8d5cc0a!important;border:1px solid #bad6d028!important;font:17px Georgia,serif!important}#letter-info{color:#cdb9dc;pointer-events:none;font-size:10px;position:absolute;bottom:5px;right:5px}#export-toggle,#record-stop{z-index:6;color:#f5e5ff;cursor:pointer;touch-action:manipulation;background:#23103955;border:1px solid #ffffff38;border-radius:20px;place-items:center;display:grid;position:fixed}#record-stop{font-variant-numeric:tabular-nums;align-items:center;gap:8px;padding:0 12px;font:12px system-ui;display:flex}#record-stop i{background:#ff526b;border-radius:50%;width:8px;height:8px}#record-stop b{font-weight:500}.export-formats{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.export-formats button[aria-pressed=true]{background:#a8d5cc32!important;border-color:#a8d5cc8c!important}#export-hint,#export-status{color:#cbb7db;margin:9px 0;font-size:11px;line-height:1.5}#export-status:empty{display:none}#export-panel label{justify-content:space-between;align-items:center;gap:9px;margin:10px 0;display:flex}#export-alpha-row{justify-content:flex-start!important}#export-panel select{color:inherit;background:#142428;border:1px solid #b9d8d137;border-radius:6px;padding:5px}#export-start{width:100%}.export-actions{gap:6px;display:flex}.export-actions a{flex:1}#reset,#undo,#export-toggle{color:#f5e5ff;opacity:1;touch-action:manipulation;background:#112023a8;border:1px solid #e8d8f238;border-radius:13px;justify-content:center;align-items:center;gap:6px;width:auto;min-width:64px;height:44px;padding:0 10px;font:11px system-ui,sans-serif;display:flex;transform:none}#reset:hover{background:#56316c80;transform:none}#reset svg,#undo svg,#export-toggle svg{pointer-events:none;flex-shrink:0;width:19px;height:19px}#reset span,#undo span,#export-toggle span{pointer-events:none}#undo:disabled{opacity:.38}#brush-dock button svg{pointer-events:none}.editor-side{display:contents}.letter-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 16px;display:grid}.letter-style-grid button{text-align:left;border-radius:9px;flex-direction:column;align-items:stretch;gap:5px;min-width:0;min-height:78px;padding:6px;display:flex;border:1px solid #bad6d028!important}.letter-style-grid button[aria-pressed=true]{background:#a8d5cc27!important;border-color:#addbcfa0!important}.letter-style-grid strong,.letter-style-grid small{display:block}.letter-style-grid strong{font-size:11px;font-weight:600;line-height:1.3}.letter-style-grid small{color:#c0d0d0;margin-top:3px;font-size:10px;line-height:1.35}.letter-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;display:grid}.letter-controls .setting{margin:0!important}.letter-controls .setting:first-child,.letter-controls .setting:last-child{grid-column:1/-1}@media (width<=360px) and (orientation:portrait){#reset,#undo,#export-toggle{gap:4px;min-width:58px;padding:0 7px}#record-stop{gap:5px;padding:0 7px}#record-stop b{display:none}}@media (orientation:landscape) and (height<=600px){#brush-dock{left:max(8px,env(safe-area-inset-left));right:auto;top:calc(max(8px,env(safe-area-inset-top)) + 48px);bottom:max(8px,env(safe-area-inset-bottom));isolation:auto;pointer-events:none;width:108px;position:fixed;transform:none}#brush-toolbar{pointer-events:auto;border-radius:14px;display:grid}#text-toggle,#brush-toggle{border-radius:8px;gap:3px;width:auto;min-width:0;margin:0;background:#a8d5cc0e!important;border:0!important;font-size:10px!important}#text-toggle .aa{font-size:20px}#brush-toggle svg{width:20px;height:20px}#reset,#undo,#export-toggle,#record-stop{top:max(8px,env(safe-area-inset-top));height:40px}#brush-panel{top:calc(max(8px,env(safe-area-inset-top)) + 48px);right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:min(760px,calc(100vw - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right)) - 116px));pointer-events:auto;border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);max-height:none;margin:0;display:grid;position:fixed;left:auto;overflow:hidden}#brush-panel header{grid-column:1/-1;min-height:40px;padding:4px 8px}#brush-panel .tabs button{padding:7px 3px;font-size:12px!important}#brush-panel #panel-close{flex-shrink:0;width:36px;height:32px}#brush-panel .editor-side{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;border-right:1px solid #b5d5cc20;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:8px 10px;display:flex;overflow-y:auto}#brush-panel .sample-wrap,#brush-panel .sample-wrap[data-view=text],#brush-panel .sample-wrap[data-view=flower]{background:radial-gradient(#6a389e35,#0000 78%);border:0;border-radius:8px;flex-shrink:0;height:96px;margin:0}#brush-panel:not([data-tab=text]) .sample-wrap{height:100%;min-height:80px;max-height:280px}#brush-panel .panel-scroll,#brush-panel:has(.sample-wrap[data-view=text]) .panel-scroll,#brush-panel:has(.sample-wrap[data-view=life]) .panel-scroll{min-height:0;max-height:none;padding:10px 12px;overflow-y:auto}#brush-panel[data-tab=life]{grid-template-columns:1fr}#brush-panel[data-tab=life] .editor-side{display:none}#brush-panel[data-tab=life] [data-page=life]{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;display:grid}#brush-panel[data-tab=life] .setting-heading,#brush-panel[data-tab=life] .mode-grid,#brush-panel[data-tab=life] #mode-description,#brush-panel[data-tab=life] #preview-exit{grid-column:1/-1}#brush-panel footer{grid-column:1/-1;min-height:44px;padding:6px 10px}#brush-panel #letter-value{margin-bottom:12px;padding:7px 9px;font-size:24px}#brush-panel .symbol-strip{gap:3px;margin-bottom:12px}#brush-panel .symbol-strip button{height:30px}#brush-panel .font-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}#brush-panel .font-grid button{min-height:46px}#brush-panel .font-example{font-size:21px}#brush-panel .letter-style-grid{margin-bottom:0}#brush-panel .setting{margin-bottom:9px}#brush-panel .setting-heading{margin:2px 0 8px}#brush-panel .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:landscape) and (height<=350px){#brush-panel .editor-side,#brush-panel .panel-scroll{padding:6px 8px}}@media (orientation:landscape) and (width<=660px){#brush-dock{width:88px}#brush-panel{width:calc(100vw - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right)) - 96px);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}#brush-panel .letter-style-grid{grid-template-columns:1fr}#brush-panel .font-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#brush-panel .tabs button{gap:2px;font-size:10px!important}#brush-panel .tabs svg{width:12px;height:12px}#brush-panel .symbol-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (orientation:landscape) and (height<=600px){#brush-panel .letter-style-grid{gap:5px}#brush-panel .letter-style-grid strong{font-size:10px}#brush-panel .letter-style-grid small{margin-top:1px}#brush-panel .editor-side{gap:4px}#brush-panel #letter-input .setting-heading{margin-top:0}#brush-panel #letter-input .symbol-strip{margin-bottom:15px}}@media (orientation:landscape) and (width>=661px) and (height>=380px) and (height<=430px){#brush-panel #letter-primary .setting-heading{margin:0 0 5px}}[data-page=background] .bg-body{padding:2px 0 8px}[data-page=background] label{justify-content:space-between;align-items:center;gap:8px;margin:12px 0;display:flex}[data-page=background] input[type=color]{cursor:pointer;background:0 0;border:1px solid #ffffff40;border-radius:6px;width:74px;height:36px;padding:3px}.bg-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:10px;display:grid}.bg-modes button{border-radius:8px;padding:9px;border:1px solid #a8d5cc32!important}.bg-modes button[aria-pressed=true]{background:#a8d5cc32!important;border-color:#a8d5cc8c!important}.bg-swatches{align-items:center;gap:6px;margin-top:14px;display:flex}#brush-panel .bg-swatches [data-bg-color]{background:var(--swatch);border:1px solid #ffffff60;border-radius:8px;width:32px;height:36px;padding:0}#brush-panel #bg-reset{border:1px solid #a8d5cc32;border-radius:8px;flex:1;min-height:36px;padding:6px;font-size:11px}#brush-panel[data-tab=background] .editor-side{display:none}@media (width<=500px) and (orientation:portrait){#brush-panel .tabs{gap:2px}#brush-panel .tabs button{gap:0;padding:9px 3px;font-size:11px!important}#brush-panel .tabs svg{display:none}}@media (orientation:landscape) and (height<=600px){#brush-panel[data-tab=background]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}#brush-panel[data-tab=background] .bg-body{max-width:460px;margin:auto}}.export-preview-wrap{flex-direction:column;align-items:center;gap:5px;margin-bottom:12px;padding:8px 0 10px;display:flex}#export-preview{object-fit:contain;border-radius:5px;width:auto;max-width:100%;height:auto;max-height:210px;position:static}#export-dimensions{color:#cdb9dc;font-variant-numeric:tabular-nums;font-size:10px}.export-footer{background:#142428;border-top:1px solid #b9d8d130;flex-shrink:0;padding:8px 14px 12px}#record-stop{top:calc(var(--action-top) + 50px);right:max(12px,env(safe-area-inset-right));height:36px}@media (orientation:landscape) and (height<=600px){#record-stop{top:var(--action-top);right:calc(max(8px,env(safe-area-inset-right)) + 80px);height:40px}#export-panel{width:min(550px,100vw - 24px)}}#brush-toolbar #text-toggle{color:#f4fffb;border-radius:13px;order:-1;gap:3px;width:82px;min-width:0;margin:0;font-weight:600;background:#a8d5cc2c!important;border:1px solid #badbd26b!important;font-size:11px!important}#text-toggle .aa{font-size:25px;line-height:1}#text-toggle:active{background:#a8d5cc45!important}#text-toggle:disabled{opacity:.55;cursor:wait}#brush-panel .sample-wrap[data-view=text]{background:var(--art-background,#14272b);border-radius:10px;height:clamp(140px,23dvh,200px);margin:0 10px 8px}#brush-panel .sample-wrap[data-view=text] #brush-sample{object-fit:fill}#brush-panel .sample-wrap[data-view=text] #letter-info{color:#d9e7e4;background:#0c171bb8;border-radius:5px;padding:3px 6px;bottom:4px;right:7px}#brush-panel:has(.sample-wrap[data-view=text]) .panel-scroll{max-height:min(45dvh,390px,100dvh - 345px)}@media (orientation:portrait) and (width<=500px){#brush-panel .sample-wrap[data-view=text]{height:clamp(125px,20dvh,170px)}}@media (orientation:landscape) and (height<=600px){#brush-panel .sample-wrap[data-view=text]{height:clamp(90px,29dvh,145px);margin:0 0 5px}#brush-panel:has(.sample-wrap[data-view=text]) .panel-scroll{max-height:none}}@media (orientation:landscape) and (height<=350px){#brush-panel .sample-wrap[data-view=text]{height:96px}}#brush-toolbar{gap:5px;width:max-content;max-width:100%;margin:0 auto;padding:5px}#brush-toolbar #text-toggle{white-space:nowrap;flex-direction:row;gap:10px;width:auto;min-width:172px;padding:11px 20px;font-size:14px!important}#brush-toolbar #text-toggle .aa{font-size:25px}#brush-toolbar #brush-toggle{border-radius:11px;width:58px;min-height:48px;margin:0;border-left:0!important}#brush-panel #presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 20px;display:grid}#brush-panel #presets button{border:1px solid #bad6d030;border-radius:9px;gap:3px;min-height:74px;padding:5px 3px;font-size:11px}#brush-panel #presets svg{max-width:65px;height:29px;max-height:none}@media (orientation:landscape) and (height<=600px){#brush-toolbar{grid-template-rows:auto auto;grid-template-columns:1fr;gap:5px;width:100%;height:auto;max-height:none;margin:0}#brush-toolbar #text-toggle{flex-direction:column;grid-area:1/1;gap:5px;width:100%;min-width:0;padding:12px 2px;font-size:11px!important}#brush-toolbar #brush-toggle{grid-area:2/1;width:100%;min-height:48px}}:root{--action-top:max(12px,env(safe-area-inset-top));--action-clearance:calc(var(--action-top) + 52px);--dock-bottom:max(16px,env(safe-area-inset-bottom))}body:has(#record-stop:not([hidden])){--action-clearance:calc(var(--action-top) + 94px)}@media (width<=420px){:root{--dock-bottom:max(10px,env(safe-area-inset-bottom))}}@media (orientation:portrait),(height>=601px){#brush-panel{max-height:calc(100dvh - var(--action-clearance) - var(--dock-bottom) - 78px);flex-direction:column;display:flex}#brush-panel header,#brush-panel footer{flex-shrink:0}#brush-panel .panel-scroll{flex:auto;min-height:0;overflow-y:auto}#brush-panel .sample-wrap{flex-shrink:1;min-height:60px}}@media (orientation:landscape) and (height<=600px){:root{--action-top:max(8px,env(safe-area-inset-top));--action-clearance:calc(var(--action-top) + 48px)}body:has(#record-stop:not([hidden])){--action-clearance:calc(var(--action-top) + 48px)}#brush-panel,#brush-dock{top:var(--action-clearance)}}#letter-value{resize:vertical;touch-action:pan-y;min-height:45px;max-height:160px;line-height:1.2;display:block;overflow:auto}#export-capture-mode{grid-template-columns:1fr 1fr;margin-top:6px}#brush-dock[inert]{opacity:.45;pointer-events:none}#reset:disabled,#export-toggle:disabled{opacity:.38;cursor:default}#export-result{justify-content:center;align-items:center;width:100%;display:flex}#export-result img,#export-result video{border-radius:5px;width:auto;max-width:100%;height:auto;max-height:180px;display:block}@media (orientation:landscape) and (height<=600px){#export-result img,#export-result video{max-height:130px}}.letter-style-example{background:var(--art-background,#14272b);border-radius:4px;flex-shrink:0;width:100%;height:64px;display:block;position:relative;overflow:hidden}.letter-style-example canvas{object-fit:contain;width:100%;height:100%;position:static}@media (orientation:landscape) and (height<=600px){.letter-style-example{height:54px}}.letter-library{color:#d1e2de;border-top:1px solid #bad6d030;margin:0 0 14px;padding:9px 0;font-size:11px}.letter-library summary{cursor:pointer;touch-action:manipulation;font-weight:600}.library-row{align-items:center;gap:5px;margin-top:9px;display:flex}#library-select{color:#e7f5ef;width:0;min-width:0;font:inherit;background:#142428;border:1px solid #bad6d040;border-radius:7px;flex:1;padding:8px}#brush-panel .letter-library button{border:1px solid #bad6d040;border-radius:7px;padding:7px;font-size:11px}#brush-panel .letter-library button:disabled{opacity:.35}#library-save{margin-top:7px}#library-count{color:#a6bab6;margin-left:9px}.theme-preview{background:var(--art-background,#14272b);border-radius:5px;width:100%;height:68px;position:relative;overflow:hidden}.theme-preview canvas{object-fit:contain;width:100%;height:100%;position:static}.theme-grid button{min-width:0;padding:6px}.canvas-library p{color:#afc3be;margin:7px 0;font-size:11px;line-height:1.5}.canvas-library .library-row{flex-wrap:wrap}body[data-viewer=true] #reset,body[data-viewer=true] #undo,body[data-viewer=true] #export-toggle,body[data-viewer=true] #record-stop,body[data-viewer=true] #export-panel,body[data-viewer=true] #brush-dock{display:none!important}#share-toggle{color:#f5e5ff;cursor:pointer;touch-action:manipulation;background:#112023a8;border:1px solid #e8d8f238;border-radius:13px;align-items:center;gap:6px;height:44px;padding:0 10px;font:11px system-ui;display:flex;position:static}#share-toggle:disabled{opacity:.38;cursor:default}#share-toggle svg,#viewer-controls svg{flex-shrink:0;width:19px;height:19px}#viewer-controls{z-index:6;bottom:max(16px,env(safe-area-inset-bottom));color:#f5edf9;backdrop-filter:blur(18px);touch-action:manipulation;background:#112023d9;border:1px solid #b9d8d13e;border-radius:15px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 24px);padding:6px;font:12px system-ui;display:flex;position:fixed;left:50%;transform:translate(-50%)}#viewer-controls p{margin:6px 0;padding:0 8px}#viewer-controls button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:#a8d5cc15;border:1px solid #b9d8d137;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:10px;display:flex}#viewer-edit{color:#17342b!important;background:#cee9d9!important;border-color:#0000!important}.share-preview{height:210px;position:relative;overflow:hidden}#share-preview{object-fit:contain;width:100%;height:100%;position:static}.share-word{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px}#share-panel label{color:#b9d8d1;margin:10px 0 5px;display:block}#share-url{color:#f5edf9;touch-action:auto;user-select:text;background:#0b1a1c;border:1px solid #b9d8d137;border-radius:7px;width:100%;min-width:0;padding:9px;font:12px system-ui}.share-actions{gap:6px;margin-top:10px;display:flex}.share-actions button{flex:1}.share-message{min-height:1em;margin:6px 0 0}@media (width<=420px){#share-toggle{gap:4px;padding:0 8px}}@media (width<=350px){#share-toggle span{display:none}}@media (orientation:landscape) and (height<=600px){#share-toggle{height:40px}.share-preview{height:100px}#viewer-controls{bottom:8px}}body:has(#record-stop:not([hidden])) #share-toggle{display:none}.share-image-actions a{flex:1}.share-preview-status{color:#b9d8d1;pointer-events:none;background:#0e2023;place-items:center;font-size:11px;display:grid;position:absolute;inset:0}.language-control{color:#c0d0d0;white-space:nowrap;align-items:center;gap:6px;font:11px system-ui;display:flex}.language-control select{color:#edf4f0;font:inherit;touch-action:manipulation;background:#142428;border:1px solid #b9d8d137;border-radius:7px;padding:6px 5px}.language-control select:focus-visible{outline:2px solid #c9f3e8}.letter-input-hint{color:#b9c9c7;margin:3px 0 8px;font:10px/1.4 system-ui}#viewer-language{z-index:6;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));background:#112023b0;border-radius:9px;padding:4px 8px;position:fixed}#brush-panel footer{flex-wrap:wrap;flex-shrink:0;align-items:center}#brush-panel footer .language-control{margin-right:auto}.species-grid button,.mode-grid button,.palette-grid button{overflow-wrap:anywhere;line-height:1.25}.tabs button{min-width:0}.tabs svg{flex-shrink:0}#action-bar{z-index:6;top:var(--action-top);left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));pointer-events:none;justify-content:space-between;gap:6px;display:flex;position:fixed}.action-group{pointer-events:auto;gap:6px;min-width:0;display:flex}#action-bar :is(#reset,#undo,#works-toggle,#share-toggle,#export-toggle){white-space:nowrap;flex-shrink:0;width:auto;min-width:0;position:static}body[data-viewer=true] #action-bar{display:none}@media (width<=360px){#action-bar{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));gap:4px}.action-group{gap:4px}#action-bar :is(#reset,#undo,#share-toggle,#export-toggle){gap:3px;padding:0 6px}}@media (orientation:landscape) and (height<=600px){#action-bar{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right))}#action-bar :is(#reset,#undo,#share-toggle,#export-toggle){height:40px}}#ornament-toggle{border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:60px;padding:6px;display:flex;font-size:10px!important}#ornament-toggle svg{width:24px;height:24px}#ornament-toggle[aria-expanded=true]{color:#17342b!important;background:#cee9d9!important}#ornament-panel{pointer-events:auto;touch-action:pan-y;background:#192b30f7;border:1px solid #b9d8d13e;border-radius:15px;width:min(400px,100%);max-height:min(48dvh,360px);padding:12px;position:absolute;bottom:calc(100% + 8px);left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 8px 36px #09021150}#ornament-panel header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}#ornament-panel header button{padding:5px;font-size:20px;line-height:1}.ornament-kinds{grid-template-columns:repeat(6,1fr);gap:4px;display:grid}.ornament-kinds button{border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:7px 2px;line-height:1.2;display:flex;background:#a8d5cc15!important;font-size:10px!important}.ornament-kinds svg{color:#e3b8d7;width:26px;height:26px}.ornament-list{margin:8px 0}.ornament-list select{color:#edf4f0;width:100%;font:inherit;background:#142428;border:1px solid #b9d8d137;border-radius:7px;padding:7px}.ornament-actions{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.ornament-actions button{white-space:nowrap;border-radius:7px;flex:1;padding:9px 5px;background:#a8d5cc15!important;font-size:11px!important}.ornament-placement{color:#cee9d9;margin:8px 0 0;font-size:11px}@media (width<=375px){#brush-toolbar #text-toggle{min-width:126px;padding:9px 10px;font-size:12px!important}#ornament-toggle{min-width:50px}#brush-toolbar #brush-toggle{width:48px}}@media (orientation:landscape) and (height<=600px){#brush-toolbar{grid-template-rows:auto auto auto}#brush-toolbar #ornament-toggle{grid-area:2/1;min-width:0;min-height:42px}#brush-toolbar #brush-toggle{grid-row:3}#ornament-panel{width:min(330px,100vw - 125px);max-height:calc(100dvh - 70px);top:0;bottom:auto;left:calc(100% + 8px);transform:none}}#ornament-panel.placing{justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;display:flex}#ornament-panel.placing .ornament-placement{margin:0}#ornament-panel.placing button{border-radius:6px;padding:7px 10px;background:#a8d5cc15!important}.wind-controls{grid-column:1/-1;margin-bottom:18px}.touch-setting{color:#e4eeeb;cursor:pointer;border-top:1px solid #bad6d030;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;font-size:12px;display:flex}.touch-setting input{accent-color:#cee9d9;width:18px;height:18px;margin:0}.petal-modes{grid-template-columns:repeat(3,minmax(0,1fr))}.wind-modes{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}#touch-wind-toggle{border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:50px;padding:5px;display:flex;font-size:10px!important}#touch-wind-toggle svg{width:24px;height:24px}#touch-wind-toggle[aria-pressed=true]{color:#17342b!important;background:#cee9d9!important}body[data-viewer-touch=true] #stage,body[data-touch-wind=true] #stage{cursor:grab}body[data-touch-wind=true] #stage:active,body[data-viewer-touch=true] #stage:active{cursor:grabbing}@media (width<=390px){#brush-toolbar #text-toggle{gap:6px;min-width:116px;padding:8px 9px;font-size:12px!important}#touch-wind-toggle{min-width:43px}#ornament-toggle{min-width:44px}#brush-toolbar #brush-toggle{width:44px}}@media (orientation:landscape) and (height<=600px){#brush-toolbar{grid-template-rows:repeat(4,auto)}#brush-toolbar #touch-wind-toggle{grid-area:2/1;min-width:0;min-height:39px}#brush-toolbar #ornament-toggle{grid-row:3}#brush-toolbar #brush-toggle{grid-row:4}}#letter-input .writing-direction{grid-template-columns:repeat(2,minmax(0,1fr));margin:5px 0 4px}#brush-panel .font-grid[data-japanese=true]{grid-template-columns:repeat(3,minmax(0,1fr))}#brush-panel .font-grid[data-japanese=true] .font-example{white-space:nowrap;font-size:20px}#letter-input .letter-input-meta{justify-content:space-between;align-items:center;gap:6px;margin:3px 0 8px;display:flex}#letter-input .letter-input-meta .letter-input-hint{margin:0}#letter-reflow{color:#e3f0eb;border:1px solid #bad6d04d;border-radius:7px;flex-shrink:0;padding:5px 8px;font-size:11px}#loading .loading-failure{pointer-events:auto;letter-spacing:normal;background:#102026e8;border-radius:12px;justify-items:center;gap:12px;padding:16px;display:grid}#loading .loading-retry{color:#e3f0eb;cursor:pointer;font:inherit;background:#294044;border:1px solid #bad6d04d;border-radius:7px;padding:7px 16px}#works-toggle{color:#f5e5ff;cursor:pointer;touch-action:manipulation;background:#112023a8;border:1px solid #e8d8f238;border-radius:13px;justify-content:center;align-items:center;gap:6px;min-width:44px;height:44px;padding:0 10px;font:11px system-ui;display:flex;position:static}#works-toggle svg{flex-shrink:0;width:19px;height:19px}#works-toggle[aria-expanded=true],#action-bar button[aria-expanded=true]{color:#17342b;background:#cee9d9;border-color:#cee9d9}#works-toggle:disabled{opacity:.38;cursor:default}#works-panel{color:#e4eeeb;width:min(360px,100% - 24px)}.works-section{border-top:1px solid #b9d8d126;margin-bottom:14px;padding:14px 0 0}.works-section:last-child{margin-bottom:0}.works-heading{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;display:flex}.works-heading span,.works-empty,.works-file-note{color:#b4c9c3;margin:0;font-size:11px}.works-file-note{margin-top:8px}.works-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}#works-panel select{font:inherit;color:inherit;cursor:pointer;border:1px solid #b9d8d137;border-radius:9px;min-height:44px;padding:9px}#recent-work-select{width:100%;min-width:0;margin-bottom:8px;background:#0d1b1e!important}#works-panel button:focus-visible,#action-bar button:focus-visible,#viewer-controls button:focus-visible,#brush-dock button:focus-visible{outline-offset:2px;outline:2px solid #b7e3cd}#viewer-controls button{min-height:44px}#viewer-controls{background:#112023b8;box-shadow:0 4px 16px #050d101c}body[data-viewer=true] #works-panel{display:none!important}@media (orientation:portrait),(height>=601px){body:not([data-viewer=true]) .utility-panel{max-height:calc(100dvh - var(--action-clearance) - var(--dock-bottom) - 78px)}}@media (width<=440px){#action-bar,#action-bar .action-group{gap:4px}#action-bar :is(#reset,#undo,#works-toggle,#share-toggle,#export-toggle){justify-content:center;width:44px;min-width:44px;height:44px;padding:0}#action-bar :is(#reset,#undo,#works-toggle,#share-toggle,#export-toggle) span{display:none}}@media (orientation:landscape) and (height<=600px){#works-toggle{height:40px}}.brush-preset-preview,.species-preview{background:var(--art-background,#14272b);border-radius:5px;width:100%;height:42px;display:block;position:relative;overflow:hidden}.brush-preset-preview canvas,.species-preview canvas{object-fit:contain;width:100%;height:100%;position:static}.species-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#brush-panel .species-grid button{flex-direction:column;justify-content:flex-start;gap:4px;min-width:0;min-height:78px;padding:4px 3px 6px;line-height:1.25;display:flex;position:relative;font-size:10px!important}.species-preview{height:54px}.species-preview:not(:has(canvas[data-render-key])):before{content:"";background:var(--flower);border-radius:50%;width:9px;height:9px;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.species-grid button[aria-pressed=true]:after{content:"";border-bottom:2px solid #e3f8ed;border-left:2px solid #e3f8ed;width:10px;height:6px;position:absolute;top:6px;right:6px;transform:rotate(-45deg)}.species-count{color:#b4c9c3;font-variant-numeric:tabular-nums;margin-left:auto;margin-right:12px;font-size:11px}.setting-section-title{border-top:1px solid #b9d8d126;padding-top:12px;font-size:13px;font-weight:650}.wind-controls>.setting-section-title{border:0;margin-top:0;padding-top:0}#brush-panel .bg-swatches [aria-pressed=true]{outline-offset:2px;outline:2px solid #cee9d9}#brush-panel .letter-controls .setting:last-child{grid-column:auto}#brush-panel :is(.mode-grid,.bg-modes,.input-switch) button[aria-pressed=true]{font-weight:650;color:#17342b!important;background:#cee9d9!important;border-color:#cee9d9!important}#brush-panel .setting-heading{font-weight:550}@media (orientation:landscape) and (height<=600px){.species-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.species-preview{height:46px}}.utility-panel{z-index:8;top:var(--action-clearance,68px);right:max(12px,env(safe-area-inset-right));width:min(360px,100% - 24px);max-height:calc(100dvh - var(--action-clearance,68px) - max(12px,env(safe-area-inset-bottom)));color:#e4eeeb;backdrop-filter:blur(22px);touch-action:pan-y;background:#142428f5;border:1px solid #b9d8d13e;border-radius:16px;flex-direction:column;font:12px system-ui;display:flex;position:fixed;overflow:hidden;box-shadow:0 8px 36px #09021150}.utility-header{border-bottom:1px solid #b9d8d126;flex-shrink:0;justify-content:space-between;align-items:center;padding:4px 10px 4px 14px;display:flex}.utility-header strong{font-size:13px;font-weight:650}.utility-body{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;min-height:0;padding:12px 14px 14px;overflow:auto}.utility-panel :is(button,a){font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;text-align:center;background:#a8d5cc15;border:1px solid #b9d8d137;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:9px;text-decoration:none;display:flex}.utility-panel .utility-close{background:0 0;border:0;flex-shrink:0;width:44px;padding:0}.utility-close svg{width:18px;height:18px}.utility-panel .primary-action{color:#17342b;background:#cee9d9;border-color:#0000;font-weight:650}.utility-panel :is(button,a):focus-visible{outline-offset:2px;outline:2px solid #cee9d9}.utility-panel button:disabled{opacity:.4;cursor:default}.output-preview{background:#081317;border-radius:9px;overflow:hidden}.share-meta{justify-content:space-between;align-items:baseline;gap:8px;margin-top:9px;display:flex}.share-meta span{color:#b4c9c3;flex-shrink:0;font-size:11px}.share-options{border-top:1px solid #b9d8d126;min-width:0;margin-top:12px;padding-top:2px}.share-message:empty{display:none}#export-panel .export-formats button[aria-pressed=true]{color:#17342b;font-weight:650;background:#cee9d9!important;border-color:#cee9d9!important}#export-panel input{accent-color:#cee9d9}.export-footer{flex-direction:column;gap:8px;display:flex}#export-panel:has(#export-save:not([hidden])) .export-actions{order:-1}#export-panel:has(#export-save:not([hidden])) #export-start{color:#e4eeeb;background:0 0;border-color:#b9d8d137;font-weight:400}#export-hint,#export-status,#export-dimensions{color:#b4c9c3}@media (height<=660px) and (orientation:portrait){.share-preview{height:150px}#export-preview,#export-result img,#export-result video{max-height:140px}}@media (orientation:landscape) and (height<=600px){#share-panel,#export-panel{width:min(550px,100vw - 24px)}.share-body,.export-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.share-preview{height:clamp(100px,35dvh,210px)}.share-options{border:0;margin:0;padding:0}.export-preview-wrap{margin:0}#export-preview,#export-result img,#export-result video{max-height:140px}}:is(.letter-style-example,.theme-preview,.brush-preset-preview,.species-preview) canvas:not([data-render-key]){visibility:hidden}@media (orientation:landscape) and (height<=600px){body:not([data-viewer=true]) :is(#share-panel,#export-panel){width:min(550px,100vw - 144px)}}@media (orientation:landscape) and (height<=600px) and (width<=660px){body:not([data-viewer=true]) :is(#share-panel,#export-panel){width:min(550px,100vw - 116px)}}.bg-photo-preview{gap:10px;margin-top:12px;display:grid}.bg-photo-preview img{object-fit:cover;background:#142428;border-radius:9px;width:100%;height:clamp(100px,24dvh,180px);display:block}.bg-photo-preview>div{grid-template-columns:1fr 1fr;gap:6px;display:grid}#brush-panel .bg-photo-preview button{background:#a8d5cc12;border:1px solid #a8d5cc32;border-radius:8px;min-height:44px;padding:8px}.bg-photo-preview p{color:#b4c9c3;margin:0;font-size:11px}
