@layer reset,base,components,responsive;
@layer reset{*{box-sizing:border-box}body,h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}svg,img{display:block}[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:25px}}
@layer base{
:root{--page:#f4f1e8;--paper:#fffdf5;--ink:#203f34;--green:#007d69;--muted:#718171;--line:#cbd2c3;--red:#d66a57;--gold:#eed29a;--lime:#c1edac;--purple:#8877da;font:14px/1.7 "Avenir Next","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:var(--ink);background:var(--page);color-scheme:light}body{min-width:320px;background:radial-gradient(ellipse at 93% 0,#e9dfc77a,transparent 35%),radial-gradient(ellipse at 0 20%,#dce7df55,transparent 38%),var(--page)}.page{width:min(1540px,calc(100% - 80px));margin:auto}a{color:inherit}h1{letter-spacing:0}h2{font-size:clamp(22px,2.2vw,31px);line-height:1.5}h3{font-size:16px;line-height:1.6}.hero{padding:40px 0 34px}.eyebrow{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.12em;font-weight:750;color:var(--green)}.hero h1{font-size:clamp(33px,4.05vw,65px);line-height:1.2;font-weight:800;margin:23px 0;letter-spacing:0}.hero h1 span{color:var(--red)}.hero-bottom{display:flex;justify-content:space-between;gap:24px;align-items:center}.lead{font-size:16px;line-height:1.9}.lead strong{color:var(--green)}.kicker{font-size:10px;letter-spacing:.12em;font-weight:750;color:var(--green)}.note{font-size:11px;color:var(--muted);line-height:1.85}.quiet,.primary,.accent{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;min-height:40px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:9px;font-size:11px;font-weight:750;line-height:1.5}.primary{background:var(--ink);border-color:var(--ink);color:#f4ebce}.accent{background:var(--gold);border-color:var(--gold);color:#3d4d33}.text-button{font-size:11px;font-weight:750;color:var(--green);border:0;background:transparent;padding:6px 0}.text-button:hover{text-decoration:underline}button,a{transition:transform .18s,box-shadow .18s,background .18s,color .18s}button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 14px #1e42351a}button:active:not(:disabled){transform:translateY(0)}:focus-visible{outline:3px solid var(--purple);outline-offset:4px}.range{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;font-size:11px;font-weight:650}.range+.range{margin-top:17px}.range output{font-variant-numeric:tabular-nums;color:var(--green)}.range input{grid-column:1/-1;width:100%;height:21px;accent-color:var(--green);cursor:pointer}.field{display:grid;gap:7px;font-size:11px;font-weight:650}.field input,.field select,.inline-select select{width:100%;min-width:0;min-height:40px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:12px}.field select{cursor:pointer}.check{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.7}.check input{accent-color:var(--green);width:16px;height:16px;flex:none}.segmented{display:flex;position:relative;isolation:isolate;anchor-scope:--christmas-option;gap:3px;padding:4px;background:#e9ede2;border:1px solid var(--line);border-radius:10px}.segmented:before{content:"";position:absolute;z-index:-1;background:var(--ink);border-radius:6px;position-anchor:--christmas-option;top:anchor(top);left:anchor(left);width:anchor-size(width);height:anchor-size(height);transition:top .18s,left .18s,width .18s,height .18s}.segmented button{display:flex;gap:7px;align-items:center;justify-content:center;min-width:0;flex:1;border:0;border-radius:6px;padding:8px 10px;font-size:10px;font-weight:750;line-height:1.5;background:transparent;white-space:nowrap}.segmented button[aria-pressed=true]{anchor-name:--christmas-option;color:#f1e6c8}.segmented button:hover:not(:disabled){transform:none;box-shadow:none;background:#244c3712}.segmented button[aria-pressed=true]:hover{background:transparent}.segmented svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.error{font-size:11px;line-height:1.7;color:#9e473e;background:#fbebdf;border-radius:8px;padding:10px 12px}@supports not(position-anchor:--christmas-option){.segmented:before{display:none}.segmented button[aria-pressed=true]{background:var(--ink)}}
}
@layer components{
.delivery-switch{max-width:400px;margin:18px 0}.delivery-help{display:grid;gap:9px;margin:18px 0;font-size:12px}.delivery-status{padding:10px 12px;background:#f4eddb;border:1px solid #dfd0aa;border-radius:8px;color:#68552b;font-size:11px;line-height:1.8}
.delivery-notice{margin-top:16px;padding:16px;background:#f1f4e9;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-size:12px;line-height:1.9}.delivery-notice h4{margin:0 0 9px;font-size:13px;font-weight:750;line-height:1.7}.delivery-notice p+p{margin-top:10px}.delivery-notice a{color:var(--green);text-underline-offset:3px;white-space:nowrap}.delivery-notice a:hover{color:#005748}
.studio{border:1px solid var(--line);border-radius:25px;background:var(--paper);overflow:clip;container:studio / inline-size}.section-heading{display:flex;align-items:center;gap:17px;padding:25px 27px;border-bottom:1px solid var(--line)}.section-icon{display:grid;place-items:center;width:51px;height:51px;border-radius:15px;background:var(--red);color:#fff8e8;flex:none}.section-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.section-heading .kicker{margin-bottom:4px}.jump{margin-left:auto;font-size:11px;font-weight:750;white-space:nowrap;text-underline-offset:4px}.studio-grid{display:grid;grid-template-columns:280px minmax(0,1fr)}.controls{background:#f5f4eb;border-right:1px solid var(--line);min-width:0}.control-section{padding:23px 20px;border-bottom:1px solid var(--line)}.control-section h3{margin:6px 0 16px}.control-section>.note{margin-top:12px}.control-section>.segmented{margin-top:16px}.effect-list{display:grid;gap:7px}.effect-choice{display:flex;align-items:center;gap:10px;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:background .2s,border-color .2s}.effect-choice input{width:15px;height:15px;accent-color:var(--green);flex:none;margin:0}.effect-symbol{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#e8eddf;flex:none;color:#3e6a4f}.effect-symbol svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.effect-text{min-width:0;display:grid;font-size:12px;font-weight:750;line-height:1.6}.effect-text small{font-size:10px;color:var(--muted);font-weight:500}.effect-choice:has(input:checked){background:#eaf0df;border-color:#739d7a}.effect-choice:has(input:checked) .effect-symbol{background:#28533f;color:#f0dda5}.effect-choice:hover{background:#eef3e5}.palette-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.palette-button{display:flex;align-items:center;gap:7px;padding:9px 7px;background:var(--paper);border:1px solid var(--line);border-radius:8px;font-size:10px;font-weight:650}.palette-button:before{content:"";width:19px;height:19px;flex:none;border-radius:50%;background:conic-gradient(var(--a) 0 33%,var(--b) 33% 66%,var(--c) 66%);box-shadow:inset 0 0 0 1px #304a3020}.palette-button[aria-pressed=true]{border-color:#628a64;box-shadow:0 0 0 1px #628a64;background:#edf2e5}.color-fields{display:flex;gap:8px;margin-top:16px}.color-fields label{display:grid;gap:6px;font-size:10px;flex:1}.color-fields input{width:100%;height:32px;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:4px;cursor:pointer}#lightSettings .range{margin-top:18px}.workspace{min-width:0;container:workspace / inline-size}.workspace-bar{display:flex;align-items:center;gap:12px;min-height:58px;padding:15px 20px;font-size:11px;border-bottom:1px solid var(--line)}.window-dots{display:flex;gap:5px}.window-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#b7c7b3}.window-dots i:first-child{background:var(--red)}.badge{margin-left:auto;border:1px solid var(--line);border-radius:99px;padding:3px 9px;font-size:10px;letter-spacing:.03em;font-weight:750;white-space:nowrap}.preview-toolbar{display:flex;align-items:center;gap:14px;padding:13px 20px;border-bottom:1px solid var(--line)}.inline-select{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:650;white-space:nowrap}.inline-select select{font-size:11px;min-height:36px;padding:8px 10px;width:auto}.preview-toolbar .segmented{margin-left:auto}.icon-button{padding:8px;width:36px;min-height:36px;flex:none}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.preview-stage{display:flex;justify-content:center;align-items:start;padding:25px;background-color:#e8ecdf;background-image:radial-gradient(#adbba28a .7px,transparent .7px);background-size:12px 12px;height:670px;overflow:hidden}.preview-stage iframe{display:block;width:100%;height:620px;min-width:0;border:1px solid #9eae9c;border-radius:12px;background:#f9f5e9;box-shadow:0 13px 22px #234c3a12;flex:none;transition:width .3s}.preview-stage[data-device=mobile] iframe{width:min(390px,100%)}.playbar{display:flex;align-items:center;gap:15px;padding:13px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap}.pause-icon{width:12px;height:12px;position:relative;background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 7px,currentColor 7px 10px);border-radius:1px}.paused .pause-icon{background:none;clip-path:polygon(5% 0,100% 50%,5% 100%);background:currentColor}.playbar output{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.history{display:flex;gap:6px;margin-left:auto}.history button{font-size:18px;padding:4px 10px;min-height:33px}.interaction-message{display:flex;align-items:center;gap:9px;padding:13px 21px;font-size:11px;color:#597253;background:#f0f4e7;border-bottom:1px solid var(--line);line-height:1.7}.status-dot{width:6px;height:6px;border-radius:50%;background:#73a16f;flex:none}.export{padding:26px}.export h3{font-size:22px;margin:7px 0 20px}.install-steps{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}.install-steps li{display:flex;gap:11px;align-items:center;font-size:11px;color:var(--muted)}.install-steps li>span{display:grid;place-items:center;width:23px;height:23px;flex:none;background:#edf1e2;border:1px solid #d5ddc9;border-radius:50%;font-size:10px;font-weight:750;color:#406848}.export-options{display:grid;grid-template-columns:1.3fr 1fr;gap:13px}.export-options #targetField{grid-column:1/-1}.embed-code{margin:17px 0;background:#203d32;color:#ebdfb5;padding:18px;border-radius:10px;font:11px/1.8 ui-monospace,monospace;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.export-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.export>.note{margin-top:12px}.export>.error{margin-top:12px}.preset-section{margin-top:58px}.library-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:23px}.library-heading h2{margin-top:8px}.library-heading>p{font-size:12px;color:var(--muted)}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.preset-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--paper);padding:0;text-align:left;min-width:0}.preset-art{height:173px;background:#1a4037;position:relative;overflow:hidden}.preset-art img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.preset-card strong{display:block;font-size:13px;padding:15px 16px 3px}.preset-card small{display:block;font-size:10px;line-height:1.8;color:var(--muted);padding:0 16px 16px}.preset-card[aria-pressed=true]{border-color:#538464;box-shadow:0 0 0 1px #538464}.guide{margin-top:58px}.guide h2{margin:9px 0 25px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.guide-grid article{border:1px solid var(--line);border-radius:18px;padding:27px;background:#fffdf670}.guide-icon{display:grid;place-items:center;width:41px;height:41px;margin-bottom:22px;color:var(--green)}.guide-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.guide-grid h3{font-size:18px;margin-bottom:13px}.guide-grid p,.guide-note{font-size:12px;line-height:1.95;color:var(--muted)}.guide-note{margin-top:25px}.page-footer{margin-top:50px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:25px 0;font-size:11px;color:var(--muted)}.page-footer a{color:var(--green);font-weight:750;text-decoration:none}.toast{position:fixed;z-index:5000;left:50%;bottom:24px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#234938f2;color:#fff5dd;box-shadow:0 8px 25px #16332430;border-radius:10px;padding:12px 20px;font-size:12px;transition:opacity .2s,transform .2s;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:16px;padding:18px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}dialog::backdrop{background:#102a22c9;backdrop-filter:blur(9px)}dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}dialog h2{font-size:17px}.icon-close{width:36px;height:36px;position:relative;background:var(--paper);border:1px solid var(--line);border-radius:8px;flex:none}.icon-close:before,.icon-close:after{content:"";position:absolute;left:9px;top:16px;width:16px;height:2px;background:currentColor;border-radius:1px;transform:rotate(45deg)}.icon-close:after{transform:rotate(-45deg)}.preview-dialog{width:1320px}.preview-dialog .preview-stage{height:min(80dvh,850px);padding:0;background:none}.preview-dialog iframe{height:100%;border-radius:7px;box-shadow:none}.copy-dialog{width:700px}.copy-dialog textarea{width:100%;height:150px;margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:8px;font:12px/1.8 monospace;resize:vertical;background:var(--paper);color:var(--ink)}
}
@layer responsive{
@container studio (max-width:1100px){.studio-grid{grid-template-columns:245px minmax(0,1fr)}.control-section{padding:21px 16px}.preview-stage{padding:18px;height:650px}.preview-stage iframe{height:614px}.preview-toolbar{padding:12px}.playbar{padding:12px;gap:10px}.playbar output{flex-basis:100%;order:5}}
@container studio (max-width:790px){.studio-grid{display:flex;flex-direction:column}.workspace{order:-1}.controls{border-right:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.control-section{border-right:1px solid var(--line)}.effect-list{grid-template-columns:1fr 1fr;gap:6px}.effect-choice{gap:7px;padding:8px}.effect-choice input{width:13px;height:13px}.effect-symbol{display:none}.effect-text{font-size:11px}.effect-text small{display:none}.section-heading{padding:21px}.jump{display:none}.export{padding:23px}.preview-stage{height:650px}.preview-stage iframe{height:614px}}
@container workspace (max-width:500px){.preview-toolbar{gap:9px;flex-wrap:wrap}.inline-select{gap:7px}.inline-select select{max-width:150px}.preview-toolbar .segmented{margin-left:auto}.preview-toolbar .segmented button{padding:7px}.preview-toolbar .segmented svg{display:none}.workspace-bar{padding:15px 16px;gap:8px}.window-dots{display:none}.preview-stage{padding:12px;height:654px}.preview-stage iframe{height:630px}.export-options{grid-template-columns:1fr}.export-options #targetField{grid-column:auto}.export-actions .primary,.export-actions .accent{flex:1}.export-actions .text-button{flex-basis:100%;text-align:left}.export h3{font-size:20px}.playbar .history{gap:4px}.interaction-message{padding:13px 16px}}
@media(max-width:800px){.page{width:calc(100% - 36px)}.hero{padding-top:28px}.hero-bottom{align-items:start;flex-direction:column;gap:14px}.hero h1{font-size:clamp(34px,6vw,52px)}.lead{font-size:14px}.preset-grid{grid-template-columns:1fr 1fr;gap:13px}.library-heading{flex-direction:column;align-items:start;gap:12px}.guide-grid{grid-template-columns:1fr}.guide-grid article{padding:24px}.guide-icon{margin-bottom:17px}.page-footer{flex-direction:column;gap:8px}}
@media(max-width:440px){.page{width:calc(100% - 24px)}.hero h1{font-size:35px}.eyebrow{font-size:10px;letter-spacing:.07em}.section-heading{padding:18px 14px;gap:12px}.section-icon{width:40px;height:40px;border-radius:11px}.section-icon svg{width:27px;height:27px}.section-heading h2{font-size:19px}.section-heading .kicker{font-size:10px}.controls{grid-template-columns:1fr}.control-section{border-right:0}.effect-symbol{display:grid}.effect-text small{display:block}.preset-art{height:140px}.preset-card strong{font-size:12px;padding:12px 12px 3px}.preset-card small{padding:0 12px 12px}.preview-toolbar .inline-select{width:100%;justify-content:space-between}.preview-toolbar .inline-select select{max-width:none;width:180px}.preview-toolbar .segmented{margin:0;flex:1}.preview-toolbar .segmented svg{display:block}.export-actions .primary,.export-actions .accent{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
}
