:root{color-scheme:light;--ink:#414657;--muted:#878b96;--paper:#f3f2ed;--card:#fffefa;--line:#dcdde1;--accent:#6a728e;--soft:#e9eaf0}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65}
button,textarea{font:inherit;color:inherit}
button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:10px 16px;font-weight:600;line-height:1.5;cursor:pointer}
button:hover:not(:disabled){border-color:#9b9fb0;background:#f0f0f5}
button:disabled{cursor:not-allowed;opacity:.43}
button.primary{background:var(--accent);color:#fffefa;border-color:var(--accent)}
button.primary:hover:not(:disabled){background:#565f7b}
button.primary span{margin-left:9px}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #bf8f56;outline-offset:4px}
[hidden]{display:none!important}
.topbar{max-width:1200px;margin:auto;padding:22px 30px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}
.home{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:13px;font-weight:700}
.home span{font-size:23px}
.edition{font-size:11px;letter-spacing:1.1px;color:var(--muted)}
.workspace{max-width:1200px;margin:auto;padding:20px 30px 26px}
.hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0 34px}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}
h1{font-size:62px;line-height:1.25;letter-spacing:2px;display:flex;align-items:center;gap:5px;margin:12px 0 15px}
h1>span{font-weight:400}
h1 svg{width:61px;height:59px;margin-left:13px;transform:rotate(7deg)}
.hero p{font-size:14px;line-height:1.9;color:#7b8190;margin:0}
.hero-note{display:flex;gap:15px;align-items:center;padding:19px 21px;border:1px dashed #ced0d8;border-radius:15px;transform:rotate(2deg)}
.hero-note p{font-size:11px}
.note-star{font-size:31px;color:#c1b499}
.notice{font-size:12px;color:#82613c;background:#fff2da;border:1px solid #dec294;border-radius:11px;padding:13px 17px;margin:0 0 17px}
.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:end}
h2{font-size:23px;line-height:1.5;margin:5px 0 0;letter-spacing:.4px}
.seed-label{font-size:10px;color:#9194a0;margin-bottom:4px}
.seed-label b{font-size:11px;margin-left:5px;font-variant-numeric:tabular-nums;color:#737b8e}
.mixing-desk{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px 27px 20px}
.desk-content{display:grid;grid-template-columns:1fr 1.04fr;gap:40px;align-items:center;margin-top:23px}
.color-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
figure{margin:0;min-width:0}
figcaption{font-size:12px;font-weight:600;display:flex;justify-content:space-between;gap:7px;margin:0 4px 7px}
figcaption span{font-size:9px;color:#999ba5;font-weight:400}
.sample{display:block;width:100%;height:auto;aspect-ratio:3/2}
.channel{margin:0 0 16px}
.channel-heading{display:flex;align-items:center;gap:12px;margin-bottom:8px;line-height:1.3}
.channel-name{font-size:11px;font-weight:600;display:flex;gap:6px;align-items:center;min-width:71px}
.channel-name i{font-style:normal;width:19px;height:19px;border:1px solid #d3d5dd;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:10px;background:#f7f7fa}
.channel-values{font-size:10px;color:#9397a4;margin-left:auto;white-space:nowrap}
.channel-values b{font-size:17px;font-weight:600;color:var(--ink);margin-left:6px;font-variant-numeric:tabular-nums}
.value-divider{margin:0 9px;color:#d3d4dc}
.delta{font-size:10px;color:#9397a1;min-width:35px;text-align:right}
.channel-track{height:9px;position:relative;border-radius:6px;background:#eeedf2;margin:0 2px}
.mix-bar{height:100%;width:0;border-radius:6px}
.channel-r .mix-bar{background:#cc9a95}
.channel-g .mix-bar{background:#a5b9a2}
.channel-b .mix-bar{background:#a0afca}
.target-marker{position:absolute;left:0;top:-4px;bottom:-4px;width:3px;transform:translateX(-50%);border-radius:2px;background:#69728b}
.channel-note{font-size:9px;color:#989ba7;margin:2px 0 0;display:flex;align-items:center;gap:6px}
.marker-key{display:inline-block;width:2px;height:10px;background:#69728b}
.result{padding:12px 15px;font-size:12px;background:#f1f1f5;color:#83899a;border-radius:9px;margin-top:21px}
.result[data-phase="matched"]{background:#e6eddf;color:#617653}
.recipe-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;margin-top:30px;align-items:start}
.board-note{font-size:10px;color:#979ba5;white-space:nowrap;margin-bottom:3px}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}
.recipe-card{display:block;min-width:0;padding:13px 14px 14px;text-align:left;border-radius:12px;box-shadow:0 2px 0 #e5e4df;background:var(--card)}
.recipe-card[aria-pressed="true"]{background:#eceef5;border-color:#8d99b4;box-shadow:0 2px 0 #cfd5e3;opacity:1}
.recipe-card:disabled{opacity:.48}
.card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8a8e9d;gap:5px}
.card-label{letter-spacing:.5px}
.card-check{font-size:18px;line-height:1;color:#adb1c0;font-weight:400}
.recipe-card[aria-pressed="true"] .card-check{color:#6b7791}
.recipe-card svg{display:block;width:100%;height:auto;aspect-ratio:100/46;margin:7px 0 9px}
.card-values{display:flex;justify-content:space-around;gap:4px}
.card-values>span{display:flex;gap:6px;align-items:center}
.card-values i{font-size:9px;font-style:normal;color:#9a9ead;font-weight:400}
.card-values b{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.selection{padding:21px 20px;background:#e9eaf0;border:1px solid #dcdee7;border-radius:15px}
.selection .section-heading{align-items:center;gap:8px}
.selection h2{font-size:18px}
.selection .eyebrow{font-size:8px;letter-spacing:1.3px}
#selection-count{font-size:11px;color:#9599a7;white-space:nowrap}
#selected-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:18px 0 16px}
.selected-slot{height:66px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px dashed #c3c7d3;border-radius:7px;background:#f0f0f5}
.selected-slot:not(.filled)::before{content:"·";color:#b1b6c3;font-size:23px}
.selected-slot.filled{border:1px solid #c1c6d3;background:#fffefa}
.selected-slot svg{display:block;width:33px;height:24px}
.slot-number{font-size:9px;color:#8991a3}
#clear{width:100%;font-size:11px;min-height:44px;background:#f8f8fa}
#clear span{margin-left:5px}
#selection-note{font-size:10px;line-height:1.8;color:#8d93a2;margin:12px 0 0}
.rule-card{border-top:1px dashed #cdd0d9;margin-top:18px;padding-top:15px}
.rule-card h3{font-size:11px;margin:0 0 9px}
.rule-card p{font-size:10px;line-height:1.9;color:#9297a4;margin:8px 0}
.other-recipe{border-top:1px solid var(--line);margin-top:31px;padding-top:26px}
.other-recipe h2{font-size:21px}
.other-recipe>div>p{font-size:11px;color:var(--muted);margin:9px 0 0}
.market-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.market-actions>button{font-size:12px;padding:10px 17px}
.market-actions>button:last-child{margin-left:auto}
#share-status{font-size:11px;color:#9197a5;margin:12px 0 0;overflow-wrap:anywhere}
#share-manual{margin-top:14px}
#share-manual label{display:block;font-size:11px;font-weight:600;margin-bottom:7px}
textarea{display:block;width:100%;max-width:100%;min-height:82px;background:var(--card);border:1px solid var(--line);border-radius:9px;padding:11px 13px;font-size:12px;line-height:1.7;resize:vertical;overflow-wrap:anywhere}
#status{font-size:12px;color:#7b8499;background:#e5e8ee;border-radius:10px;padding:13px 17px;margin:24px 0}
footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:17px;font-size:10px;color:#9ba0ad}
footer>span{max-width:50%}
dialog{max-width:calc(100% - 32px);width:430px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:26px;background:var(--card);border:1px solid var(--line);border-radius:15px}
dialog::backdrop{background:#343a4a66}
dialog h2{font-size:24px;margin:8px 0 13px}
dialog p{font-size:13px;color:#8990a0;margin:0 0 19px}
dialog>div{display:flex;gap:10px}
dialog button{flex:1;font-size:12px}
@media(max-width:950px){.recipe-layout{grid-template-columns:minmax(0,1fr) 270px;gap:23px}.mixing-desk{padding:22px}.desk-content{gap:26px}.recipe-card{padding:11px}.hero-note{padding:16px}.channel-heading{gap:8px}.channel-values b{margin-left:4px}.value-divider{margin:0 5px}.selection{padding:19px 17px}.board-note{display:none}figcaption{display:block}figcaption span{display:block;margin-top:2px}}
@media(max-width:760px){.workspace,.topbar{padding-left:21px;padding-right:21px}.topbar{padding-top:14px}.edition{font-size:10px;letter-spacing:.3px}.hero{padding:22px 0 26px;gap:16px}.hero h1{font-size:49px;margin-top:9px}.hero h1 svg{width:45px;height:45px;margin-left:6px}.hero p{font-size:12px}.hero .eyebrow{font-size:8px;letter-spacing:1.4px}.hero-note{display:none}.mixing-desk{padding:20px}.mixing-desk .section-heading{display:block}.mixing-desk h2{font-size:21px}.seed-label{display:block;margin-top:8px}.desk-content{grid-template-columns:1fr;gap:22px;margin-top:20px}.color-pair{gap:16px;max-width:440px;width:100%;margin:auto}figcaption{display:flex}figcaption span{display:inline;margin-top:0}.channel-name{min-width:80px}.channel-values{font-size:10px}.channel-values b{font-size:18px}.value-divider{margin:0 10px}.channel-heading{gap:12px}.channel{margin-bottom:17px}.channel-note{font-size:9px}.result{margin-top:18px;font-size:11px}.recipe-layout{grid-template-columns:1fr;gap:22px;margin-top:25px}.card-grid{gap:11px;margin-top:15px}.recipe-card{padding:12px}.card-values b{font-size:17px}.card-values i{font-size:9px}.card-section h2{font-size:21px}.board-note{display:block;font-size:9px}.selection{padding:21px}.selection h2{font-size:19px}.selection .eyebrow{font-size:9px}.selected-slot{height:64px}#selected-slots{max-width:360px}#clear{font-size:12px}#selection-note,.rule-card p{font-size:11px}.rule-card h3{font-size:12px}.rule-card{margin-top:17px}.market-actions>button{font-size:11px}.market-actions>button:last-child{margin-left:auto}.other-recipe h2{font-size:20px}.other-recipe>div>p{font-size:10px}#status{font-size:11px}footer{flex-direction:column;gap:6px;font-size:9px}footer>span{max-width:100%}}
@media(max-width:420px){.workspace,.topbar{padding-left:17px;padding-right:17px}.edition{font-size:9px}.hero h1{font-size:44px;gap:2px}.hero h1 svg{width:40px;margin-left:5px}.hero .eyebrow{font-size:7px;letter-spacing:1.2px}.hero p{font-size:11px}.mixing-desk{padding:18px 16px}.mixing-desk h2{font-size:20px}.mixing-desk .eyebrow{font-size:8px}.color-pair{gap:10px}figcaption{font-size:11px;display:block}figcaption span{font-size:8px;display:block;margin-top:2px}.channel-heading{gap:7px}.channel-name{min-width:72px;font-size:10px}.channel-values b{font-size:17px}.channel-values{font-size:9px}.value-divider{margin:0 5px}.delta{font-size:9px;min-width:32px}.channel-note{font-size:8px}.result{font-size:10px;padding:11px 12px}.card-grid{gap:8px}.recipe-card{padding:9px 7px}.card-top{font-size:8px}.card-check{font-size:16px}.recipe-card svg{margin:6px 0}.card-values>span{gap:3px}.card-values b{font-size:15px}.card-values i{font-size:8px}.board-note{font-size:8px}.card-section h2{font-size:20px}.card-section .eyebrow{font-size:8px;letter-spacing:1.3px}.selection{padding:19px 18px}.other-recipe h2{font-size:19px}.market-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.market-actions>button:last-child{grid-column:1/-1;margin:0;min-height:47px;font-size:12px}dialog{padding:21px}dialog>div{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
