.three-count{font-size:40px;color:var(--accent);font-weight:300;display:flex;gap:12px;align-items:center}.three-count small{font-size:9px;letter-spacing:2px;max-width:60px;line-height:1.6}.three-lab{border:1px solid #ffffff1b;border-radius:20px;overflow:hidden;background:#0c1118}.three-viewport{position:relative}.three-stage{height:490px;min-height:320px;background:radial-gradient(ellipse at center,#162537,#080e14)}.three-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.three-stage canvas:active{cursor:grabbing}.three-stage canvas:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.three-overlay{position:absolute;top:26px;left:28px;pointer-events:none;max-width:340px}.three-overlay>span{font-size:10px;color:var(--accent);letter-spacing:2px}.three-overlay h2{font-size:28px;margin:13px 0 10px;font-weight:400}.three-overlay p{font-size:12px;color:#95a8b9;line-height:1.8;max-width:260px}.three-hint{position:absolute;bottom:20px;left:28px;color:#81909e;font-size:11px;pointer-events:none}.three-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:20px 25px;border-top:1px solid #ffffff12}.three-controls>div{display:flex;gap:8px}.three-controls button{font-size:11px;min-height:34px}.three-controls label{display:flex;align-items:center;gap:12px;font-size:11px;color:#aebbc5}.three-controls input{width:105px;accent-color:var(--accent)}.three-controls output{width:35px}.three-palettes button{width:26px;min-height:26px;border:4px solid #0c1118;border-radius:50%;background:var(--palette);outline:1px solid #ffffff22;padding:0}.three-palettes button[aria-pressed=true]{outline:2px solid var(--palette);outline-offset:2px}.three-metrics{display:flex;gap:26px;flex-wrap:wrap;border-top:1px solid #ffffff0d;padding:13px 25px;color:#7f909e;font-size:10px}.three-metrics b{color:#cedce6;margin-left:8px;font-weight:500;font-variant-numeric:tabular-nums}.three-samples{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:22px}.three-sample{text-align:left;padding:15px;background:#12191e;border:1px solid #ffffff16;border-radius:13px;color:#e4eaf0;cursor:pointer;transition:border-color .2s,background .2s;overflow:hidden}.three-sample:hover{background:#182128;border-color:#ffffff44}.three-sample[aria-pressed=true]{border-color:var(--accent)}.three-sample strong,.three-sample small{display:block}.three-sample strong{font-size:14px;font-weight:500;margin:8px 0}.three-sample small{color:#8093a2;font-size:10px}.three-sample-tag{font-size:8px;letter-spacing:1.3px;color:#8e9eaa}.three-mini{display:block;height:76px;position:relative;margin-bottom:14px;overflow:hidden}.three-mini i{position:absolute;left:50%;top:50%;border:1px solid var(--sample);width:60px;height:36px;border-radius:50%;transform:translate(-50%,-50%) rotate(-25deg);box-shadow:0 0 18px color-mix(in srgb,var(--sample) 14%,transparent)}.three-mini i:nth-child(2){transform:translate(-50%,-50%) rotate(35deg);width:85px}.three-mini i:nth-child(3){transform:translate(-50%,-50%) rotate(90deg);width:50px}.three-mini-galaxy{background:radial-gradient(circle at 50% 50%,var(--sample),transparent 12%),radial-gradient(circle at 32% 38%,var(--sample) 1px,transparent 2px),radial-gradient(circle at 68% 67%,var(--sample) 1px,transparent 2px)}.three-mini-knot i{border-width:7px;width:40px;height:50px;opacity:.8}.three-mini-wave i{border-radius:40%;width:110px;height:22px;transform:translate(-50%,-50%) rotate(-15deg)}.three-mini-wave i:nth-child(2){transform:translate(-50%,-15%) rotate(-15deg);width:100px}.three-mini-wave i:nth-child(3){transform:translate(-50%,25%) rotate(-15deg);width:90px}.three-mini-orbit i{border-radius:4px;width:24px;height:24px;background:color-mix(in srgb,var(--sample) 16%,transparent)}.three-mini-orbit i:nth-child(2){left:30%;width:19px;height:19px}.three-mini-orbit i:nth-child(3){left:70%;width:19px;height:19px}.three-footnote{font-size:11px;line-height:1.8;color:#81909e;margin-top:18px}.three-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:35px;text-align:center;color:#9bacb8;font-size:13px}.three-fallback p{max-width:350px}@media(max-width:750px){.three-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.three-stage{height:420px}.three-overlay{top:20px;left:20px}.three-overlay h2{font-size:23px}.three-overlay p{max-width:200px;font-size:11px}.three-controls{padding:16px;gap:16px}.three-metrics{gap:16px;padding:14px 16px}.three-count{display:none}.three-hint{font-size:9px;left:20px}}
.three-overlay{padding:14px 18px;margin:-14px -18px;background:linear-gradient(110deg,#080e14e8,#080e1480 75%,transparent);border-radius:12px;color:#e4eaf0}.three-hint{background:#080e14b8;padding:6px 10px;border-radius:6px;color:#a9bac8}
.three-mini-splash{background:radial-gradient(ellipse at 50% 75%,#70d9e726,transparent 50%)}.three-mini-splash i{border-radius:50%;width:80px;height:22px;top:68%;transform:translate(-50%,-50%)}.three-mini-splash i:nth-child(2){width:12px;height:18px;top:25%;background:var(--sample);transform:translate(-50%,-50%) rotate(15deg)}.three-mini-splash i:nth-child(3){width:55px;height:28px;top:60%;border-top:0;transform:translate(-50%,-50%)}
.three-mini-lightning i{width:18px;height:65px;border:0;border-radius:0;background:var(--sample);clip-path:polygon(45% 0,100% 0,63% 40%,100% 40%,0 100%,35% 53%,0 53%);transform:translate(-50%,-50%);filter:drop-shadow(0 0 8px var(--sample))}.three-mini-lightning i:nth-child(2){left:35%;width:12px;height:35px;transform:rotate(-25deg);opacity:.5}.three-mini-lightning i:nth-child(3){left:62%;width:12px;height:40px;transform:rotate(30deg);opacity:.5}
.three-mini-fire{background:radial-gradient(ellipse at 50% 70%,#ff914d44,transparent 45%)}.three-mini-fire i{width:30px;height:58px;border:0;border-radius:80% 15% 65% 40%;background:linear-gradient(20deg,#fff3ae,var(--sample),transparent);transform:translate(-50%,-50%) rotate(-15deg)}.three-mini-fire i:nth-child(2){width:20px;height:38px;left:37%;top:62%;transform:translate(-50%,-50%) rotate(-30deg)}.three-mini-fire i:nth-child(3){width:18px;height:42px;left:64%;top:60%;transform:translate(-50%,-50%) rotate(25deg)}
.three-mini-ice i{height:62px;width:25px;border-radius:0;clip-path:polygon(50% 0,100% 30%,80% 100%,20% 100%,0 30%);background:linear-gradient(100deg,#e8fbff,var(--sample) 48%,#357fbc 50%,#a6ebff);transform:translate(-50%,-50%)}.three-mini-ice i:nth-child(2){width:18px;height:44px;left:35%;top:62%;transform:translate(-50%,-50%) rotate(-25deg)}.three-mini-ice i:nth-child(3){width:18px;height:44px;left:65%;top:62%;transform:translate(-50%,-50%) rotate(25deg)}
.three-mini-shock{background:radial-gradient(circle,#fff 0,var(--sample) 3%,transparent 20%)}.three-mini-shock i{width:75px;height:55px}.three-mini-shock i:nth-child(2){width:50px;height:70px}.three-mini-shock i:nth-child(3){width:85px;height:25px}.three-mini-portal{background:radial-gradient(circle,#080e14 15%,#b9f58225 30%,transparent 42%)}.three-mini-portal i{width:62px;height:62px;transform:translate(-50%,-50%);border-width:2px}.three-mini-portal i:nth-child(2){width:72px;height:72px;transform:translate(-50%,-50%);border-width:1px}.three-mini-portal i:nth-child(3){width:45px;height:45px;transform:translate(-50%,-50%);opacity:.4}.three-controls button[hidden]{display:none}
.three-category{margin-top:34px}.three-category-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.three-category-heading h2{font-size:20px;font-weight:500;margin:0 0 8px}.three-category-heading h2 span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-left:9px;border-radius:7px;background:#b9f58212;color:var(--accent);font-size:12px;vertical-align:middle}.three-category-heading p{font-size:12px;line-height:1.7;color:#8e9eaa;margin:0}.three-category-label{font-size:9px;letter-spacing:2px;color:#8093a2}.three-category .three-samples{margin-top:17px;grid-template-columns:repeat(5,minmax(0,1fr))}.three-overlay .three-kind{display:block;letter-spacing:.5px;font-size:10px;color:#a5b5c3;margin-top:9px}@media(max-width:1100px){.three-category .three-samples{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:750px){.three-category .three-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.three-category-label{display:none}}

.three-controls [hidden]{display:none!important}.three-controls #three-loop{width:16px;height:16px;margin:0;cursor:pointer}.three-controls #three-loop-label{gap:7px;font-size:11px}
