:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#ebf2ff;background:#0b101a;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 50% -20%,#1a3440,transparent 60%),#0b101a}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{text-decoration:none;color:inherit}header{height:76px;padding:0 clamp(17px,5vw,85px);border-bottom:1px solid #26384a;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:13px;font-size:18px;font-weight:850;letter-spacing:.06em}.brand img{width:46px;height:46px;border-radius:10px;object-fit:cover}.brand b{color:#30e5cc}.brand small{display:block;color:#879aaa;letter-spacing:.17em;font-size:9px;margin-top:4px}.head-links{display:flex;align-items:center;gap:24px;color:#b4c6d7;font-size:12px}.head-links>span{color:#50d9c0;border:1px solid #30605d;border-radius:30px;padding:8px 13px}main{max-width:1490px;margin:auto;padding:55px clamp(15px,5vw,80px) 30px}.hero{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:34px}.eyebrow{color:#34e6cf;font-size:11px;font-weight:800;letter-spacing:.2em}.hero h1{font-size:clamp(50px,7vw,82px);letter-spacing:-.07em;line-height:1.08;margin:9px 0}.hero h1 span{color:#2cdec9}.hero p{margin:0;color:#a3b4c5;font-size:17px}.hero aside{max-width:330px;border:1px solid #2c4851;border-radius:12px;padding:17px;color:#a3b8c9;background:#14242d;font-size:13px;line-height:1.55}.workspace,.editor{border:1px solid #2b3a4d;border-radius:16px;overflow:hidden;background:#141f2de6;box-shadow:0 10px 38px #0002}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;border-bottom:1px solid #2a394a;padding:18px 21px}.toolbar strong{font-size:14px}.toolbar nav{display:flex;gap:4px;background:#0e1722;border-radius:9px;padding:4px;border:1px solid #2b4052}.toolbar nav button{border:1px solid transparent;color:#9eb3c7;background:transparent;border-radius:7px;padding:10px;font-size:12px;font-weight:700}.toolbar nav button.active{color:#57f1db;background:#193f43;border-color:#287f78}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px}.camera{background:#101b28;border:1px solid #314457;border-radius:11px;overflow:hidden}.camera.chosen{border-color:#3cc6ba}.cam-head{display:flex;align-items:center;gap:9px;padding:11px;min-height:57px}.letter{display:inline-grid;place-items:center;background:#215351;color:#5cf2dc;font-size:11px;border-radius:5px;width:24px;height:24px;font-style:normal;flex-shrink:0}.letter.purple{color:#d2c3ff;background:#49436f}.cam-head input{flex:1;min-width:40px;max-width:100%;background:transparent;color:#edf4ff;border:1px solid transparent;padding:6px;border-radius:5px;outline:none;font-size:13px;font-weight:800}.cam-head input:focus{border-color:#31988f}.small,.secondary{background:#1a293a;border:1px solid #344f60;border-radius:8px;color:#c6d6e7;font-weight:700}.small{padding:8px 10px;font-size:12px}.small:hover,.secondary:hover{border-color:#39c7b8}.frame{aspect-ratio:16/9;background:#0b1420;position:relative;overflow:hidden}.frame canvas{display:none;width:100%;height:100%;object-fit:contain}.frame.loaded canvas{display:block}.placeholder{position:absolute;inset:0;width:100%;height:100%;border:0;color:#8ca4ba;background:repeating-linear-gradient(45deg,#101c2a,#101c2a 8px,#13202e 8px,#13202e 16px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px}.placeholder strong{color:#56c6be;font-size:38px;font-weight:400}.placeholder b{color:#e9f6ff;font-size:14px}.placeholder span{font-size:12px}.placeholder small{font-size:10px}.frame.loaded .placeholder{display:none}.frame.drag{outline:3px dashed #24e8d1;outline-offset:-5px}.meta{display:flex;justify-content:space-between;gap:10px;padding:11px 12px 7px;color:#8295a9;font-size:11px}.meta span:last-child{max-width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sample{padding:0 12px 11px;font-size:10px;color:#879dae;min-height:24px}.swatch{display:inline-block;width:11px;height:11px;border:1px solid #82919e;border-radius:3px;vertical-align:middle;margin-right:6px}.combined{padding:20px}.combined[hidden],.tip[hidden],.wipe[hidden],.toast[hidden]{display:none}.compare-head{display:flex;align-items:center;justify-content:space-between;color:#c7d6e5;font-size:13px;margin-bottom:12px}.compare-head>span{display:flex;align-items:center;gap:8px}.result{display:flex;justify-content:center;overflow:hidden;background:#0c1420;border:1px solid #2f4253;border-radius:10px}.result canvas{max-width:100%;max-height:65vh;display:block}.wipe{display:flex;align-items:center;gap:17px;background:#101b29;border:1px solid #2d3d4e;border-radius:9px;margin-top:15px;padding:13px;color:#a9bdd0;font-size:12px}.wipe input{flex:1}.wipe output{color:#37e9ce;width:40px;text-align:right}.tip{font-size:12px;color:#99adc0;margin:17px 0 0}.workspace-foot{border-top:1px solid #2a394b;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:15px 21px}.workspace-foot p{color:#819bb0;font-size:12px;line-height:1.5;margin:0}.workspace-foot>div{display:flex;gap:8px}.secondary,.primary{font-size:12px;padding:11px 15px}.primary{border:1px solid #2de0c5;background:#2de0c5;color:#052925;border-radius:8px;font-weight:850}.primary:hover:not(:disabled){background:#6ef5df}.editor{margin-top:24px;padding:23px}.editor-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.editor h2{font-size:26px;letter-spacing:-.03em;margin:9px 0 5px}.editor-head p{color:#8a9fb3;font-size:13px;margin:0}.selector{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin:25px 0}.selector strong{letter-spacing:.15em;font-size:10px;color:#7e94aa;margin-right:8px}.selector button{display:flex;align-items:center;gap:9px;color:#aec0d2;background:#111d2a;border:1px solid #334b5c;border-radius:9px;font-size:12px;font-weight:700;padding:9px 13px}.selector button.active{background:#17363b;color:#e6fff9;border-color:#3ba99f}.controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.control{background:#101c29;border:1px solid #2e4052;border-radius:10px;padding:16px 13px}.control>div:first-child{display:flex;justify-content:space-between;gap:4px;color:#d5e0ec;font-size:12px;font-weight:700;margin-bottom:18px}.control output{font-size:11px;color:#4de5cf;white-space:nowrap}.control input{width:100%;accent-color:#2de0c5}.control .limits{display:flex;justify-content:space-between;color:#7690a5;font-size:10px;margin-top:10px}.caution{color:#8da1b5;border-top:1px solid #2b3c4d;padding-top:18px;margin-top:23px;font-size:12px;line-height:1.6}footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:29px 0 0;color:#798da1;font-size:11px}.toast{position:fixed;right:20px;bottom:20px;border:1px solid #419f9c;border-radius:10px;background:#1b3b44;color:#defff9;padding:14px 18px;max-width:350px;font-size:13px;box-shadow:0 8px 25px #0006}@media(max-width:1080px){.controls{grid-template-columns:repeat(3,1fr)}}@media(max-width:740px){header{height:70px;padding:0 18px}.head-links,.hero aside{display:none}main{padding:35px 15px}.hero p{font-size:14px}.toolbar{padding:15px}.toolbar nav{width:100%;justify-content:space-between}.toolbar nav button{font-size:11px;padding:9px 6px}.grid{grid-template-columns:1fr;padding:12px;gap:12px}.workspace-foot>div{width:100%}.workspace-foot button{flex:1}.editor{padding:17px}.controls{grid-template-columns:repeat(2,1fr);gap:10px}.control{padding:12px}footer span:nth-child(2){display:none}}@media(max-width:450px){.controls{grid-template-columns:1fr}.brand{font-size:15px}.selector strong{width:100%}}