:root{--navy:#062846;--blue:#087ee6;--bg:#f5f8fb;--line:#e3eaf0;--text:#09223e}*{box-sizing:border-box}body{margin:0;background:#e9eef2;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(150deg,#032642,#0b4770)}.login form{width:min(100%,380px);padding:34px 28px;background:white;border-radius:8px;box-shadow:0 20px 50px #001b2e66}.brand{font-size:28px;font-weight:800}.login p{color:#718194}.login label{display:block;margin:18px 0 6px;font-size:14px;font-weight:700}.login input,.filters input,.filters select{width:100%;border:1px solid #dce5ed;border-radius:6px;padding:13px;background:white}.login button,.primary{width:100%;min-height:52px;border-radius:7px;background:var(--blue);color:white;font-size:18px;font-weight:700;margin:18px 0}.login small{color:#718194}main{width:min(100%,480px);min-height:100vh;margin:auto;background:var(--bg);box-shadow:0 0 45px #12283b25;padding-bottom:20px}header{height:92px;padding:30px 20px 10px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;font-size:16px}header b{font-size:21px}header .icon{font-size:38px;line-height:1}.page{padding:18px}.mix{display:grid;grid-template-columns:1fr 1.08fr;gap:16px;align-items:center}.bottleWrap{text-align:center}.bottle{height:330px;width:150px;margin:24px auto 10px;border:2px solid #9caab5;border-radius:55px 55px 38px 38px;position:relative;overflow:visible;background:#fff}.cap{position:absolute;z-index:3;top:-36px;left:45px;width:60px;height:48px;background:#93a0aa;border-radius:8px 8px 2px 2px}.liquid{position:absolute;left:0;right:0;bottom:0;height:0;border-radius:0 0 35px 35px;transition:.3s;height:40%;background:#137fb4}.ticks{position:absolute;inset:10px 14px 10px 68px;border-right:2px solid #fff;display:flex;flex-direction:column;justify-content:space-between;color:white;text-align:right;padding-right:14px}.ticks i{font-style:normal;font-size:12px}.bottleWrap h1{font-size:24px;margin:10px 0 2px}.muted{color:#76889a;font-size:12px}.formula{background:white;border-radius:8px;padding:17px;box-shadow:0 10px 30px #13334a12}.formula h2{font-size:17px;margin:0 0 8px;padding-bottom:10px;border-bottom:1px solid var(--line)}.formulaRow{height:42px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px;font-weight:700}.dot{width:24px;height:24px;border-radius:50%;border:1px solid #dae2e9;flex:none}.panel{margin-top:16px;background:white;border-radius:8px;padding:17px;box-shadow:0 8px 25px #13334a0d}.target>label{font-weight:700}.target>div{display:flex;align-items:center;justify-content:space-around}.target button{width:46px;height:46px;border-radius:50%;background:#e8f5ff;color:var(--blue);font-size:27px}.target span{text-align:center}.target input{display:block;border:0;width:145px;text-align:center;font-size:42px;font-weight:800;color:var(--navy);outline:none}.target small{color:#8a9baa}.presets>div{display:flex;gap:7px;margin-top:14px}.presets button{flex:1;padding:10px 3px;border-radius:22px;background:#eff4f8;font-size:13px}.presets button.active{background:var(--blue);color:white}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}nav button{min-height:93px;background:white;border-radius:8px;font-size:12px;font-weight:700;box-shadow:0 7px 20px #13334a0b}nav span{display:block;color:var(--blue);font-size:30px;margin-bottom:6px}.primary{margin:14px 0 0}.sub{min-height:calc(100vh - 92px)}.subhead{display:flex;align-items:center;gap:8px}.subhead button{font-size:36px}.subhead h2{font-size:20px}.filters{display:grid;grid-template-columns:1fr 110px;gap:8px;margin:10px 0 16px}.colors{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.colorCard{background:white;padding:10px;border-radius:7px;display:flex;gap:10px;align-items:center;text-align:left;min-height:72px}.swatch{width:48px;height:48px;border-radius:6px;flex:none;border:1px solid #dde4e9}.colorCard b,.colorCard small{display:block}.colorCard small{color:#77899a;font-size:10px;margin-top:3px}.canvasWrap{background:white;padding:10px;border-radius:8px;text-align:center}.canvasWrap canvas,video{max-width:100%;width:100%;max-height:55vh;object-fit:contain;background:#111;border-radius:5px}.canvasWrap p{color:#708295}.recommend{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.recommend .colorCard{display:block;font-size:11px}.recommend .swatch{width:100%;height:48px;margin-bottom:6px}#sample{padding:12px;text-align:center;font-weight:700}#cameraBox{display:none}.record{background:white;border-radius:8px;padding:14px;margin:10px 0}.recordTop{display:flex;gap:10px;align-items:center}.recordTop .swatch{width:42px;height:42px}.recordTop div{flex:1}.recordActions{display:flex;gap:8px;margin-top:10px}.recordActions button{background:#edf5fb;padding:8px 10px;border-radius:5px}.check{display:flex;align-items:center;background:white;padding:8px;font-size:13px}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#062846;color:white;padding:10px 18px;border-radius:6px;opacity:0;pointer-events:none;transition:.2s;z-index:9}#toast.show{opacity:1}@media(max-width:360px){.page{padding:12px}.bottle{width:125px;height:300px}.mix{gap:8px}.formula{padding:12px}.formulaRow{font-size:13px}.presets button{font-size:11px}}
