:root{font-family:Inter,ui-sans-serif,system-ui,Arial;color:#ecebff;background:#080915;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:1180px;margin:auto;padding:24px}header,.panelhead,.prob>div,.actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-size:23px;font-weight:900;letter-spacing:2px}.brand small{display:block;font-size:9px;color:#8b8ca9;letter-spacing:3px}.tag{border:1px solid #254a47;border-radius:30px;padding:9px 13px;color:#73e2c2;font-size:11px}.hero{padding:64px 0 40px}.eyebrow{color:#a58aff;font-size:12px;letter-spacing:3px}.hero h1{font-size:clamp(38px,6vw,72px);line-height:1.05;max-width:760px;margin:14px 0}.hero em{font-style:normal;color:#a68aff}.hero p,.panel p,footer{color:#9293ad}.layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:linear-gradient(145deg,#17182e,#101123);border:1px solid #30304e;border-radius:18px;padding:26px;min-width:0}.panelhead h2{font-size:16px}.panelhead span{font-size:11px;color:#aaa0e9}.gates{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}button{font:inherit;cursor:pointer;border:1px solid #4b4676;border-radius:10px;background:#282544;color:#fff;padding:14px 10px;font-weight:700}button:hover{background:#443a79}.actions{flex-wrap:wrap}.actions button{flex:1;white-space:nowrap}.primary{background:#805cf2;border-color:#805cf2}.secondary{background:transparent}h3{font-size:13px;margin-top:32px;color:#b8b4d7}.circuit{display:flex;gap:8px;align-items:center;overflow-x:auto;min-height:60px;background:#0b0c1b;border-radius:10px;padding:10px}.circuit b{border:1px solid #9572ff;padding:9px;border-radius:5px}.vector,.results{font-family:ui-monospace,monospace;background:#0b0c1b;border-radius:9px;padding:15px;overflow-wrap:anywhere;font-size:12px}.prob{margin:25px 0}.prob>div{margin-bottom:9px}.prob strong{font-size:21px}.bar{height:12px;background:#272740;border-radius:20px;overflow:hidden}.bar i{display:block;height:100%;background:#53d7cc;transition:width .3s}.bar.violet i{background:#9973ff}.sphere{height:180px;display:flex;align-items:center;justify-content:center;position:relative}.circle{width:145px;height:145px;border:1px solid #6c65a8;border-radius:50%;box-shadow:inset 0 0 30px #322a6a}.axis{position:absolute;width:170px;border-top:1px dashed #4d4b76}.arrow{position:absolute;top:50%;left:50%;height:68px;width:3px;background:#69e4d6;transform-origin:bottom}.arrow:before{content:"▲";position:absolute;top:-12px;left:-6px;color:#69e4d6}.sphere span{position:absolute;bottom:0;color:#777893;font-size:10px}footer{text-align:center;padding:40px 0;font-size:12px}@media(max-width:760px){main{padding:16px}.layout{grid-template-columns:1fr}.hero{padding:38px 0 25px}.panel{padding:19px}.tag{font-size:9px}}.bloch-view{display:flex;align-items:center;flex-direction:column}.bloch-view svg{width:100%;max-width:340px;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.bloch-view svg:active{cursor:grabbing}.bloch-view p{font-size:12px;text-align:center;margin:0 0 12px}.two-panel{margin-top:20px}.two-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.two-row label{font-size:13px;color:#b8b4d7}.two-row select{display:block;margin-top:8px;padding:12px;background:#101123;color:#fff;border:1px solid #4b4676;border-radius:9px}.two-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.two-buttons button{flex:1;min-width:76px}.two-panel .prob{max-width:680px}.note{font-size:12px}.builder-link{display:inline-block;padding:14px 18px;background:#805cf2;color:#fff;border-radius:10px;text-decoration:none;font-weight:700}
