:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#211d32;background:#f8f7fc;font-synthesis:none;--ink: #211d32;--muted: #655e76;--line: #e9e5f0;--accent: #6048d6;--soft: #f2edff}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button{font:inherit;cursor:pointer}button:focus-visible,canvas:focus-visible{outline:3px solid #8067ed;outline-offset:3px}svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.shell{width:min(1180px,calc(100% - 80px));margin-inline:auto}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{height:69px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:1.17rem;letter-spacing:-.035em}.brand-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--accent);color:#fff}.brand-icon svg{width:19px;height:19px}.header-note,footer{color:var(--muted);display:flex;align-items:center;gap:7px;font-size:.875rem}.header-note svg,footer svg{width:16px;height:16px;color:var(--accent)}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:49px 0 29px}h1{margin:0;font-size:clamp(2.25rem,5vw,3.4rem);line-height:1.04;letter-spacing:-.065em}h1 span{color:var(--accent)}.intro p{color:var(--muted);margin:13px 0 0;line-height:1.5}.primary{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:0 19px;min-height:48px;flex:none;color:#fff;background:var(--accent);border:0;border-radius:11px;box-shadow:0 3px 5px #482aa82b;font-size:.9375rem;font-weight:700}.primary:hover{background:#5138c4}.primary svg{width:18px;height:18px}#error{margin:0 0 16px;border:1px solid #edc4cb;background:#fff2f3;color:#8d2739;padding:12px 15px;border-radius:10px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 10px #34275008}.image-card{padding:0 15px}.image-heading,.image-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px}.image-name,#image-help{min-width:0;display:flex;align-items:center;gap:8px}#image-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-name{font-size:.94rem;font-weight:700}.image-name svg,#image-help svg{width:17px;height:17px;color:var(--accent)}#dimensions,.file-hint{flex:none;font-size:.8125rem;color:var(--muted)}#dimensions{padding:4px 8px;background:#f5f3f9;border:1px solid #eeebf4;border-radius:6px;font-variant-numeric:tabular-nums}.stage{isolation:isolate;display:grid;place-items:center;position:relative;width:100%;height:clamp(310px,34vw,448px);border-radius:10px;background:#eeebf4}.checker{background:repeating-conic-gradient(#e3dfec 0% 25%,#f9f7fc 0% 50%) 0 0 / 18px 18px}.image-frame{position:relative;max-width:100%}#picture{display:block;width:100%;cursor:crosshair;touch-action:manipulation}.marker{width:19px;height:19px;position:absolute;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #211d32,inset 0 0 0 1px #211d32;pointer-events:none}.loupe{position:absolute;z-index:1;width:105px;height:105px;border:3px solid #fff;border-radius:50%;box-shadow:0 4px 16px #211d3266,0 0 0 1px #211d32;overflow:hidden;pointer-events:none}#zoom{display:block;width:100%;height:100%;image-rendering:pixelated}.loupe span{position:absolute;inset:50% auto auto 50%;width:11px;height:11px;transform:translate(-50%,-50%);border:1px solid white;box-shadow:0 0 0 1px #211d32}.loupe span:before,.loupe span:after{content:"";position:absolute;background:#fff;box-shadow:0 0 0 1px #211d32}.loupe span:before{width:25px;height:1px;top:4px;left:-8px}.loupe span:after{width:1px;height:25px;top:-8px;left:4px}.drop-overlay{display:none;position:absolute;z-index:3;inset:0;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--accent);border-radius:inherit;background:#f4effaef;color:#4d35b8;font-weight:700;pointer-events:none}.dragging .drop-overlay{display:grid}#image-help{color:var(--muted);font-size:.875rem}.touch-help{display:none}.panel{padding:19px}h2{display:flex;align-items:center;gap:8px;margin:0;font-size:.96rem;font-weight:750}h2 svg{color:var(--accent);width:17px;height:17px}.sample{border-radius:11px;height:142px;margin-top:15px;position:relative;overflow:hidden}#sample-color{position:absolute;inset:0}#sample-label{position:absolute;bottom:10px;left:10px;padding:5px 9px;border-radius:6px;background:#fff;color:var(--ink);font-size:.8125rem;font-weight:650}.formats{display:grid;gap:8px;margin-top:13px}.format{display:flex;align-items:center;gap:6px;min-height:48px;padding:5px 5px 5px 9px;border:1px solid var(--line);border-radius:9px;background:#fbfafc}.format-label{min-width:37px;color:var(--muted);font-size:.75rem;font-weight:750}.format code{flex:1;overflow-wrap:anywhere;font-size:.86rem;font-weight:650}.copy{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:4px;padding:0 6px;min-height:34px;min-width:69px;color:#5138b7;background:var(--soft);border:1px solid #eae2ff;border-radius:6px;font-size:.75rem;font-weight:700}.copy:hover{background:#eae1ff}.copy svg{width:14px;height:14px}.history{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.history-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:12px}.history-item,.history-empty{height:28px;border-radius:6px;border:1px solid #211d321a}.history-item{overflow:hidden;padding:0}.history-item span{display:block;width:100%;height:100%}.history-item[aria-pressed=true]{outline:1px solid var(--accent);outline-offset:2px}.history-item:focus-visible{outline-width:3px}.history-empty{background:#f9f7fc;border:1px dashed #ded8e9}footer{justify-content:center;padding:24px 0 28px}@media(max-width:948px){.shell{width:calc(100% - 48px)}.workspace{grid-template-columns:minmax(0,1fr) 305px;gap:16px}.panel{padding:15px}.file-hint{display:none}}@media(max-width:730px){.shell{width:calc(100% - 32px)}.header-inner{height:58px}.header-note{font-size:.75rem}.intro{flex-direction:column;align-items:flex-start;gap:16px;padding:24px 0 19px}.intro p{margin-top:8px}.workspace{grid-template-columns:minmax(0,1fr);gap:13px}.image-card{padding:0 10px}.image-heading,.image-footer{min-height:43px}.stage{height:clamp(175px,54vw,410px)}.sample{height:94px}.history-item,.history-empty{height:34px}}@media(pointer:coarse){.desktop-help,.file-hint{display:none}.touch-help{display:inline}.copy{min-height:40px}}@media(max-width:360px){.header-note{display:none}}
