:root{color-scheme:dark;--bg:#07131f;--panel:#0d2030;--panel-deep:#091a28;--line:#2b4455;--text:#f1f8fb;--muted:#acc0ca;--cyan:#25c5f3;--cyan-soft:#a8efff;--amber:#ffbf75;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.7}button,input,select{font:inherit}button,a,input,label,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a,input[type=range],input[type=color],select{touch-action:manipulation}button{color:inherit}a{color:var(--cyan-soft)}img{max-width:100%}h1,h2,h3,p{margin-top:0}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--amber);outline-offset:3px}::selection{background:var(--cyan);color:var(--bg)}.page-width{width:min(100% - 32px,1180px);margin-inline:auto}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:absolute;left:12px;top:-80px;z-index:20;padding:10px 18px;background:var(--amber);color:var(--bg)}.skip-link:focus{top:12px}.site-header{border-bottom:1px solid var(--line);background:#07131ff5}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:74px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0;color:var(--text)}.brand img{flex:none;object-fit:contain}.brand span{display:grid;line-height:1.2}.brand strong{font:700 18px/1.2 Arial,sans-serif;letter-spacing:-.035em}.brand small{margin-top:5px;color:var(--cyan);font:700 10px/1.3 Arial,sans-serif;letter-spacing:.13em}.home-link{display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none;white-space:nowrap}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:40px 0 30px}.eyebrow{font:700 12px/1.5 ui-monospace,"SFMono-Regular",Consolas,monospace;color:var(--cyan);letter-spacing:.13em;margin-bottom:10px}h1{display:flex;align-items:center;gap:22px;font-size:clamp(30px,5vw,46px);font-weight:850;letter-spacing:-.045em;line-height:1.35;margin:0}.title-rule{width:64px;height:3px;background:var(--cyan)}.intro-copy p{margin:0;line-height:1.6}.intro-copy .privacy-note{font-size:13px;color:var(--cyan-soft);margin-top:9px}.workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);gap:26px;align-items:start}.preview-column{position:sticky;top:24px;min-width:0}.upload-panel{border:1px solid var(--line);border-radius:12px 12px 0 0;padding:18px;background:var(--panel-deep)}.upload-row{display:flex;gap:12px;align-items:center;justify-content:space-between}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid var(--line);border-radius:7px;font-size:15px;font-weight:750;text-decoration:none;line-height:1.45;transition:background .15s,border-color .15s}.button.primary{color:#061722;background:var(--cyan);border-color:var(--cyan)}.button.primary:hover{background:#70dafa;border-color:#70dafa}.button.secondary{background:#132d40;color:var(--text);border-color:#365165}.button.secondary:hover{border-color:var(--cyan);background:#193c52}.button.quiet{font-size:14px;color:var(--muted);background:transparent}.upload-button{cursor:pointer}.upload-button:has(+input:focus-visible){outline:3px solid var(--amber);outline-offset:3px}.upload-help{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}.notice{font-size:14px;color:var(--amber);background:#3a291f;padding:10px 12px;border-radius:5px;margin:12px 0 0}.notice.error{color:#ffc5be;background:#3d252c}.preview-card{border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;overflow:hidden;background:var(--panel)}.preview-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;gap:10px}.preview-heading h2{font-size:15px;margin:0}.small-label{font-size:13px;color:var(--cyan-soft);font-weight:650}.stage{position:relative;width:100%;aspect-ratio:var(--stage-ratio,1.25);max-height:580px;min-height:260px;overflow:hidden;background:#e7ecef;isolation:isolate;touch-action:pan-y}.stage[data-background=checker],.export-image-wrap{background-color:#eef1f3;background-image:conic-gradient(#dce1e5 25%,transparent 0 50%,#dce1e5 0 75%,transparent 0);background-size:24px 24px}.stage[data-background=white]{background:#fff}.stage[data-background=gray]{background:#858b91}.stage[data-background=black]{background:#101214}#previewCanvas{display:block;width:100%;height:100%;touch-action:pan-y}.empty-preview{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;gap:10px;padding:20px;color:#375362;pointer-events:none}.empty-icon{width:62px;height:62px;opacity:.6;margin-bottom:3px}.empty-preview strong{font-size:16px}.empty-preview span{font-size:13px}.ground-guide{position:absolute;height:0;border-top:1px dashed #167b9990;pointer-events:none;z-index:1}.contact-marker{position:absolute;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:0;transform:translate(-50%,-50%);background:transparent;padding:7px;touch-action:none;cursor:move}.contact-marker span{position:relative;display:block;width:25px;height:25px;border-radius:50%;background:#25c5f345;border:2px solid #fff;box-shadow:0 0 0 2px #007ca9,0 2px 6px #0005;pointer-events:none}.contact-marker span:before,.contact-marker span:after{content:"";position:absolute;background:#fff;box-shadow:0 0 1px #007ca9;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.contact-marker span:before{height:2px;width:9px}.contact-marker span:after{height:9px;width:2px}.drop-overlay{position:absolute;inset:8px;display:grid;place-items:center;border:3px dashed var(--cyan);color:#062536;font-size:21px;font-weight:800;background:#cff6ffeF;z-index:4;pointer-events:none;border-radius:8px}.background-bar{display:flex;align-items:center;gap:12px;padding:8px 18px;border-bottom:1px solid var(--line)}.background-bar>span:first-child{font-size:14px;color:var(--muted)}.background-options{display:flex;gap:4px}.background-button{display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:5px;width:44px;height:44px;padding:9px}.background-button span{display:block;width:24px;height:24px;border:1px solid #93acbc;border-radius:3px}.background-button.checker span{background:conic-gradient(#fff 25%,#a2b2bd 0 50%,#fff 0 75%,#a2b2bd 0);background-size:12px 12px}.background-button.white span{background:white}.background-button.gray span{background:#858b91}.background-button.black span{background:#101214}.background-button.active{border-color:var(--cyan);background:#143b4c}.background-note{margin-left:auto;color:var(--muted);font-size:12px}.contact-bar{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:8px 18px 0}.contact-bar p{font-size:13px;margin:0;line-height:1.5;color:var(--text)}.contact-dot{display:inline-block;width:8px;height:8px;border:2px solid var(--cyan);border-radius:50%;margin-right:5px}.text-button{border:0;background:transparent;color:var(--cyan-soft);font-size:13px;font-weight:700;min-height:44px;padding:4px 0;white-space:nowrap}.guide-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:2px 18px 12px;font-size:12px;color:var(--muted)}.guide-bar label{min-height:32px;display:flex;gap:5px;align-items:center}.guide-bar input{accent-color:var(--cyan);width:16px;height:16px}.preview-tip{margin:12px 2px 0;color:var(--muted);font-size:13px;line-height:1.65}.editor-controls{padding:0;margin:0;min-width:0;border:0}.control-section{padding:22px 22px 20px;background:var(--panel);border:1px solid var(--line);border-bottom:0}.control-section:first-of-type{border-radius:12px 12px 0 0}.control-section:last-of-type{border-bottom:1px solid var(--line);border-radius:0 0 12px 12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.section-heading h2{display:flex;align-items:center;gap:10px;font-size:16px;margin:0;line-height:1.45}.step{font:600 12px/1 ui-monospace,monospace;letter-spacing:.03em;color:var(--cyan)}.section-hint{font-size:12px;white-space:nowrap;color:var(--muted)}.directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.direction-button{min-height:68px;border:1px solid #345064;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;background:#102638;font-size:14px;font-weight:750}.direction-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.direction-button.active{color:var(--cyan-soft);border-color:var(--cyan);background:#0c3c50;box-shadow:inset 0 0 0 1px #25c5f333}.direction-button:hover:not(:disabled){border-color:var(--cyan)}.range-control{margin-top:19px}.range-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:650}.range-label output{font:500 14px/1.6 ui-monospace,Consolas,monospace;color:var(--cyan-soft)}input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;margin:7px 0 0;padding:0;background:transparent;touch-action:none;cursor:ew-resize;--fill:40%}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--cyan) var(--fill),#385163 var(--fill))}input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--cyan) var(--fill),#385163 var(--fill))}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-9px;border-radius:50%;background:#eafaff;border:4px solid var(--cyan);box-shadow:0 1px 5px #0005}input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#eafaff;border:4px solid var(--cyan);box-shadow:0 1px 5px #0005}.range-ends{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:-1px}.color-control{margin-top:24px}.color-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:11px}.color-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:67px;background:transparent;border:1px solid transparent;border-radius:6px;padding:6px 1px}.color-button>span{background:var(--swatch);width:26px;height:26px;border-radius:50%;border:1px solid #abc1cd}.color-button small,.custom-color span{font-size:12px;line-height:1.4;white-space:nowrap}.color-button.active{border-color:var(--cyan);background:#143848}.custom-color{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #345064;border-radius:6px;cursor:pointer;min-width:0}.custom-color input{appearance:none;-webkit-appearance:none;border:0;background:none;width:31px;height:28px;padding:1px;border-radius:5px;cursor:pointer}.custom-color input::-webkit-color-swatch-wrapper{padding:0}.custom-color input::-webkit-color-swatch{border:1px solid #abc1cd;border-radius:4px}.presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.presets button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:66px;border:1px solid #345064;border-radius:6px;padding:8px 3px;background:#102638;gap:3px}.presets strong{font-size:15px}.presets button>span{font-size:12px;color:var(--muted)}.presets button.active{border-color:var(--amber);background:#302b29}.presets button.active strong{color:var(--amber)}.subtle-note{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 0}.transparent-label{font:600 12px/1.4 ui-monospace,monospace;color:var(--cyan-soft);border:1px solid #467184;border-radius:4px;padding:3px 6px}.resolution-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.resolution-row select{min-width:0;max-width:68%;min-height:44px;border:1px solid #345064;border-radius:5px;background:#102638;padding:8px;color:var(--text);font-size:14px}.export-size{font:400 13px/1.7 ui-monospace,Consolas,sans-serif;color:var(--muted);margin:8px 0 15px;overflow-wrap:anywhere}.save-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.save-buttons .primary{grid-column:1/-1;min-height:52px}.editor-status{margin:10px 2px 0;color:var(--muted);font-size:13px;line-height:1.7}.editor-controls:disabled .control-section{opacity:.65}.usage{margin:56px 0 50px;padding-top:34px;border-top:1px solid var(--line)}.usage-heading h2{font-size:clamp(24px,4vw,30px);letter-spacing:-.04em;margin-bottom:30px}.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 36px}.usage-grid article{min-width:0}.usage-grid h3{font-size:17px;margin-bottom:12px;color:var(--cyan-soft)}.usage-grid p,.usage-grid li{font-size:14px;color:var(--muted);line-height:1.95}.usage-grid p{margin-bottom:12px}.usage-grid ol{padding-left:24px;margin-top:0}.usage-grid li{padding-left:3px;margin-bottom:8px}.usage-footnote{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.usage-footnote p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:8px}.site-footer{border-top:1px solid var(--line);background:#05101a}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-block:22px;font-size:12px;color:var(--muted)}.footer-inner nav{display:flex;gap:18px;flex-wrap:wrap}.footer-inner a{display:flex;align-items:center;min-height:44px;text-decoration:none}dialog{color:var(--text);background:var(--panel-deep);border:1px solid #527486;border-radius:14px;padding:22px;width:min(100% - 24px,620px);max-height:90dvh;max-height:90svh;overflow:auto;box-shadow:0 18px 70px #0009}dialog::backdrop{background:#020b15cc;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-top h2{font-size:19px;margin:0}.dialog-close{width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:7px;background:#102638;font-size:26px;line-height:1}.dialog-top+p{font-size:14px;color:var(--muted);margin-top:12px;margin-bottom:15px}.export-image-wrap{display:grid;place-items:center;min-height:100px;max-height:360px;border-radius:7px;overflow:hidden}.export-image-wrap img{display:block;max-width:100%;max-height:360px;object-fit:contain}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.export-actions .primary{grid-column:1/-1}.save-help{font-size:13px;color:var(--muted);margin:14px 0 0;line-height:1.8}.noscript{margin:20px;background:#3a291f;color:var(--amber);padding:20px}.stage.is-dragging{cursor:move}.stage[data-background=black] .ground-guide{border-color:#6bd3f699}.stage[data-background=black] .contact-marker span{box-shadow:0 0 0 2px #25c5f3,0 2px 6px #0005}
.example-banner{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.5fr);gap:20px;align-items:center;background:#0c2030;border:1px solid var(--line);border-radius:12px;margin-bottom:26px;overflow:hidden;padding:18px 24px}.example-copy h2{font-size:clamp(18px,2.5vw,25px);letter-spacing:-.025em;line-height:1.6;margin-bottom:10px}.example-copy>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:12px}.example-copy .eyebrow{font-size:10px}.example-note{font-size:11px;line-height:1.6;color:var(--muted);display:block}.example-figure{margin:0;min-width:0}.example-figure img{display:block;width:100%;height:auto;background:#edf2f5;border-radius:8px}.example-figure figcaption{font-size:11px;color:var(--muted);margin:6px 0 0;text-align:right}
@media(min-width:1600px){.page-width{width:min(100% - 64px,1340px)}.workspace{grid-template-columns:minmax(0,1.65fr) minmax(370px,1fr)}}
@media(max-width:860px){.workspace{display:flex;flex-direction:column;gap:20px}.preview-column{position:static;width:100%}.control-column{width:100%}.intro{padding:26px 0 22px;display:block}.intro-copy{margin-top:12px}.intro-copy br{display:none}.intro-copy p{font-size:14px}.title-rule{width:46px}.stage{max-height:70svh;min-height:240px}.direction-button{min-height:63px}.control-section{padding:20px}.usage{margin-top:40px}.usage-grid{gap:18px 26px}}
@media(max-width:520px){.page-width{width:calc(100% - 24px)}.header-inner{min-height:66px}.brand img{width:38px;height:38px}.brand strong{font-size:16px}.brand small{font-size:9px}.home-link{font-size:12px}.intro{padding-top:23px}.eyebrow{font-size:10px}.intro-copy .privacy-note{font-size:12px}.upload-panel{padding:14px}.upload-row{gap:7px}.upload-row .button{padding:10px 12px}.upload-row .quiet{font-size:12px}.upload-help{font-size:12px}.preview-heading{padding:12px 14px}.background-bar{padding:6px 14px;gap:6px;flex-wrap:wrap}.background-options{gap:2px}.background-note{font-size:11px}.contact-bar{padding-inline:14px;gap:6px}.contact-bar p{font-size:12px}.text-button{font-size:12px}.guide-bar{padding-inline:14px}.preview-tip{font-size:12px}.usage-grid{grid-template-columns:1fr;gap:16px}.usage-heading h2{margin-bottom:24px}.footer-inner{display:block;padding-block:16px}.footer-inner nav{gap:20px;margin-top:6px}.section-hint{font-size:11px}.control-section{padding:18px}.section-heading h2{font-size:15px}.export-actions{grid-template-columns:1fr}.export-actions .primary{grid-column:auto}.title-rule{display:none}}
@media(max-width:360px){.brand{gap:5px}.brand img{width:32px;height:32px}.brand small{letter-spacing:.07em}.background-note{flex-basis:100%;margin:0;padding-bottom:3px}.contact-bar{flex-wrap:wrap}.contact-bar .text-button{min-height:34px}.guide-bar{flex-wrap:wrap}.section-heading{gap:4px}.direction-button{gap:5px}}
@media(max-width:600px){.example-banner{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px;margin-bottom:20px}.example-copy h2{font-size:18px;margin:0}.example-copy h2 br{display:none}.example-copy>p:not(.eyebrow){font-size:12px;margin:6px 0}.example-copy>p:not(.eyebrow) br{display:none}.example-copy .eyebrow{margin-bottom:5px}.example-figure{order:-1}.example-figure figcaption{display:none}.example-note{font-size:11px}.intro{padding-bottom:18px}}
.directions{grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-bar{flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
