/* Interaction atelier: contained effects with stable input geometry. */
.fx-section{--fx-border:#d4dacb;--fx-subtle:#edf0e6;--fx-dark:#242c26}
.fx-index{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 18px}.fx-index a{padding:8px 13px;border:1px solid var(--fx-border);border-radius:4px;background:#fff;font-size:14px}.fx-index a:hover{border-color:var(--orange);color:var(--orange)}
.fx-access-note{font-size:14px;color:var(--muted);line-height:1.9;padding:16px 20px;background:var(--fx-subtle);border-left:3px solid #8e9d7a}
.fx-lab{margin-top:48px;padding-top:32px;border-top:1px solid var(--line);scroll-margin-top:100px}.fx-lab-heading{display:flex;justify-content:space-between;align-items:start;gap:22px;margin-bottom:24px}.fx-kicker{font:11px/1.6 Consolas,monospace;letter-spacing:.08em;color:var(--orange)}.fx-lab h3{font-size:25px;letter-spacing:-.035em;margin:8px 0}.fx-lab-heading>div>p:last-child{font-size:15px;color:var(--muted);line-height:1.9}
.fx-quality{display:flex;flex-shrink:0;background:#eaece4;padding:4px;border-radius:5px;gap:3px}.fx-quality button{font-size:14px;padding:8px 12px;background:transparent;border-radius:3px;color:var(--muted);white-space:nowrap}.fx-quality button[aria-pressed=true]{background:#fff;color:#263226;box-shadow:0 1px 5px #26321a16}.fx-quality button[data-fx-quality=bad][aria-pressed=true]{color:#a03d2b}
.fx-workbench{display:grid;grid-template-columns:minmax(0,1fr) 230px;border:1px solid var(--fx-border);border-radius:8px;overflow:hidden;background:#fff}.fx-stage{position:relative;min-height:320px;min-width:0;overflow:hidden;background:#eff2e9;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:54px 24px 56px}.fx-stage-caption{position:absolute;top:19px;left:22px;right:22px;display:flex;justify-content:space-between;gap:16px;color:#65715d;font-size:11px;line-height:1.5}.fx-live{position:absolute;bottom:18px;left:22px;right:22px;text-align:center;font-size:12px;color:#56634c;line-height:1.7}.fx-controls{border-left:1px solid var(--fx-border);padding:22px 20px;background:#fafbf7;display:flex;flex-direction:column;justify-content:center;gap:11px;min-width:0}.fx-controls label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px}.fx-controls output{font-size:12px;color:var(--orange)}.fx-controls input[type=range]{margin-bottom:10px}.fx-controls .button{font-size:14px;width:100%;padding-inline:8px;margin-top:4px}.fx-reset{font-size:13px;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:6px}.fx-reset:disabled{color:#93998c;cursor:default;text-decoration:none}.fx-mode-note,.fx-control-help{font-size:12px;line-height:1.9;color:var(--muted)}.fx-mode-note{padding-top:12px;border-top:1px solid var(--line);margin-top:4px}.fx-lab[data-quality=bad] .fx-mode-note{color:#9b4231}.fx-teaching{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:27px}.fx-teaching h4{font-size:17px;letter-spacing:-.02em;margin:0 0 11px}.fx-teaching p{font-size:16px;line-height:1.95;color:#576050;margin-bottom:16px}.fx-teaching h4:not(:first-child){margin-top:24px}.fx-explanation{background:#f0f2e9;border:1px solid var(--fx-border);border-radius:5px;margin-top:20px}.fx-explanation summary{font-size:14px;font-weight:600;padding:13px 15px;cursor:pointer}.fx-explanation summary::after{content:'＋';float:right}.fx-explanation[open] summary::after{content:'−'}.fx-explanation pre{background:#253025;color:#dae7d0;padding:18px;font-size:12px;line-height:1.8;overflow-x:auto}.fx-explanation p{padding:15px;margin:0;font-size:14px}.fx-conclusion{margin-top:40px;background:#e6ecdc;border-radius:6px;padding:26px}.fx-conclusion h3{font-size:23px;margin-bottom:13px}.fx-conclusion p{font-size:15px;line-height:1.95;color:#536147;margin-top:10px}
.fx-liquid-stage{background:radial-gradient(ellipse at 50% 42%,#fff,#e8eddf)}.fx-liquid-svg{width:100%;max-width:520px;height:auto;overflow:visible}.fx-goo-shapes{fill:#1e2820}.fx-island-label{fill:#f4f7ef;font:14px 'Segoe UI','Microsoft YaHei',sans-serif;pointer-events:none}.fx-island-symbol{fill:#c4db9d;font:16px 'Segoe UI',sans-serif;pointer-events:none}.fx-lab[data-quality=bad] .fx-goo-shapes{filter:none}
.fx-rubber-stage{background:linear-gradient(145deg,#e9edde,#f6f8f0)}.fx-rubber-wrap{width:min(360px,85%);padding-top:40px}.fx-rubber-track{height:12px;background:#cdd7c0;border-radius:8px;position:relative;touch-action:pan-y;cursor:ew-resize;outline-offset:15px!important}.fx-rubber-track::before{content:'';position:absolute;inset:-28px -12px}.fx-rubber-fill{position:absolute;inset:0 auto 0 0;width:50%;border-radius:8px;background:#566e3f}.fx-rubber-thumb{position:absolute;left:50%;top:50%;margin:-15px 0 0 -15px;width:30px;height:30px;background:#263525;border:5px solid #f8fbf2;box-shadow:0 2px 8px #26321a38;border-radius:50%;pointer-events:none;transform-origin:center}.fx-rubber-bubble{position:absolute;bottom:39px;left:50%;margin-left:-25px;width:50px;padding:10px 0;background:#263525;color:#f5f8ef;border-radius:10px;font:15px/1.3 Consolas,monospace;text-align:center;transform-origin:50% 100%;box-shadow:0 5px 12px #26321a1a}.fx-rubber-bubble::after{content:'';position:absolute;bottom:-5px;left:20px;width:10px;height:10px;background:inherit;transform:rotate(45deg)}.fx-scale{display:flex;justify-content:space-between;font:11px Consolas,monospace;color:#68785c;margin-top:25px}
.fx-magnetic-stage{background-color:#f0f2e9;background-image:radial-gradient(#bdc8ac .7px,transparent .7px);background-size:17px 17px;touch-action:pan-y}.fx-magnet-radius{width:240px;height:240px;border:1px dashed #a2b28d;border-radius:50%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.fx-magnetic-anchor{position:relative;width:205px;height:62px}.fx-magnetic-button{background:#253624;color:#edf6e5;border:1px solid #4c6440;width:100%;height:100%;border-radius:12px;box-shadow:0 8px 0 #cad5bd,0 15px 25px #30412620;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:15px}.fx-magnetic-button span{display:flex;gap:13px;align-items:center;pointer-events:none}.fx-magnetic-button b{font-size:24px;color:#c7de9c;font-weight:400}
.fx-dock-stage{background:radial-gradient(ellipse at 30% 10%,#e8ddcd,#e5eadc 60%,#d6decd)}.fx-dock{display:flex;align-items:end;justify-content:center;gap:8px;min-height:115px;padding:26px 18px 18px;border:1px solid #fff9;border-radius:20px;background:#ffffff70;box-shadow:0 15px 35px #31452216;max-width:100%;touch-action:pan-y}.fx-dock-item{position:relative;padding:0 0 15px;background:none;flex-shrink:0;width:42px;min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:end}.fx-dock-icon{display:grid;place-content:center;background:linear-gradient(145deg,#f8faf4,#bdcdb0);border:1px solid #92a782;width:100%;aspect-ratio:1;border-radius:25%;font-size:25px;color:#425638;box-shadow:0 3px 0 #9fb191}.fx-dock-item:nth-child(2) .fx-dock-icon{background:linear-gradient(145deg,#fbddba,#cf8d58);color:#714527;border-color:#bb8155}.fx-dock-item:nth-child(3) .fx-dock-icon{background:linear-gradient(145deg,#d1e4f1,#8aa7c4);color:#375b7a;border-color:#7798b5}.fx-dock-item:nth-child(4) .fx-dock-icon{background:linear-gradient(145deg,#e9dbed,#b69ec3);color:#654374;border-color:#a48db0}.fx-dock-label{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;color:#49573f}.fx-dock-item[aria-pressed=true]::after{content:'';width:4px;height:4px;border-radius:50%;background:#3d5730;position:absolute;bottom:7px}.fx-dock-item:focus-visible{outline-offset:5px;border-radius:8px}
.fx-archive-stage{background:#e9eee2;min-height:370px}.fx-archive-list{width:min(440px,100%);border-radius:8px;overflow:hidden;background:#fff;border:1px solid #c7d2bb}.fx-archive-row{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1),opacity .28s ease}.fx-archive-row.fx-archived{grid-template-rows:0fr;opacity:0}.fx-archive-inner{overflow:hidden;min-height:0;position:relative}.fx-archive-reveal{position:absolute;inset:0;background:#607e43;color:white;display:flex;align-items:center;padding:0 18px;font-size:13px}.fx-archive-reveal.fx-armed{background:#41682d}.fx-archive-card,.fx-list-static{display:flex;align-items:center;gap:12px;background:#fff;padding:18px 16px;border-bottom:1px solid #e1e7d9;position:relative;min-height:83px}.fx-archive-card{touch-action:pan-y;cursor:grab;user-select:none}.fx-archive-card:active{cursor:grabbing}.fx-list-static:last-child{border-bottom:0}.fx-list-symbol{font-size:24px;color:#6b8055;flex-shrink:0}.fx-archive-list strong{display:block;font-size:14px;line-height:1.6}.fx-archive-list small{display:block;font-size:11px;color:#6b7660;line-height:1.8;margin-top:2px}.fx-archive-card>button{margin-left:auto;background:#eff3e8;color:#637751;border-radius:4px;min-width:34px;min-height:34px;font-size:23px;cursor:ew-resize;touch-action:pan-y}.fx-lab[data-quality=bad] .fx-archive-row{transition:none}
.fx-titanium-stage{background:radial-gradient(ellipse at 50% 28%,#3a403b,#1c211e 75%);min-height:360px}.fx-titanium-stage .fx-stage-caption,.fx-titanium-stage .fx-live{color:#bec7b6}.fx-titanium-perspective{width:min(360px,90%);aspect-ratio:1.63;perspective:900px;touch-action:pan-y}.fx-titanium-card{width:100%;height:100%;position:relative;transform-style:preserve-3d;border-radius:17px;background:linear-gradient(140deg,#363b3a,#141819 43%,#252a2a 70%,#101415);border:1px solid #6d7771;box-shadow:0 25px 35px #0007,inset 0 1px 1px #d2dfd055;overflow:hidden}.fx-titanium-grain{position:absolute;inset:0;opacity:.21;background:repeating-linear-gradient(105deg,transparent 0 2px,#a6b6a426 2px 3px);pointer-events:none}.fx-titanium-glare{position:absolute;inset:-1px;pointer-events:none;background:radial-gradient(ellipse at var(--fx-light-x,50%) var(--fx-light-y,35%),rgb(230 240 224 / var(--fx-light-alpha,.32)),transparent 62%);mix-blend-mode:screen}.fx-titanium-content{position:relative;z-index:1;padding:23px;height:100%;display:flex;flex-direction:column;color:#e6eadd;transform:translateZ(18px);pointer-events:none}.fx-card-top{display:flex;justify-content:space-between;gap:12px;font:9px/1.4 Consolas,monospace;letter-spacing:.1em;color:#b8c4b3}.fx-titanium-mark{font-size:57px;line-height:1;color:#d6dfcb;margin:auto 0;filter:drop-shadow(0 1px 0 #fff3)}.fx-card-bottom{display:flex;justify-content:space-between;gap:15px;align-items:end}.fx-card-bottom small{display:block;font-size:9px;color:#b0bda7;margin-bottom:4px}.fx-card-bottom strong{font-size:20px;font-weight:450;letter-spacing:-.025em}.fx-card-bottom>span{font-size:26px;color:#a7b69e}
.no-js .fx-controls,.no-js .fx-quality{display:none}.no-js .fx-workbench{grid-template-columns:1fr}
@media(max-width:1250px){.fx-workbench{grid-template-columns:minmax(0,1fr) 210px}.fx-stage{padding-inline:16px}.fx-lab-heading{flex-direction:column}.fx-controls{padding:20px 15px}.fx-teaching{gap:24px}.fx-dock{gap:6px;padding-inline:12px}.fx-dock-item{width:36px}.fx-titanium-content{padding:17px}.fx-card-bottom strong{font-size:18px}.fx-titanium-mark{font-size:46px}}
@media(max-width:760px){.fx-workbench{grid-template-columns:1fr}.fx-controls{border-left:0;border-top:1px solid var(--fx-border);display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;padding:20px}.fx-controls label,.fx-controls input,.fx-controls .fx-mode-note,.fx-controls .fx-control-help{grid-column:1/-1}.fx-controls input[type=range]{margin-bottom:4px}.fx-controls .button{margin:0}.fx-teaching{grid-template-columns:1fr;gap:14px}.fx-stage{min-height:300px}.fx-lab h3{font-size:24px}.fx-lab{margin-top:34px;padding-top:26px}.fx-titanium-stage{min-height:340px}.fx-titanium-perspective{max-width:330px}.fx-dock-item{width:40px}.fx-dock{gap:7px;padding-inline:13px}.fx-archive-stage{min-height:380px}.fx-archive-card,.fx-list-static{padding:17px 13px}.fx-lab-heading{gap:15px}.fx-live{font-size:12px}.fx-conclusion{padding:21px}}
@media(max-width:380px){.fx-stage{padding-inline:10px}.fx-stage-caption{left:14px;right:14px;font-size:10px}.fx-live{left:13px;right:13px;font-size:11px}.fx-dock{gap:5px;padding-inline:10px}.fx-dock-item{width:34px}.fx-dock-icon{font-size:22px}.fx-titanium-perspective{width:92%}.fx-titanium-content{padding:14px}.fx-card-bottom strong{font-size:17px}.fx-card-top{font-size:8px}.fx-titanium-mark{font-size:42px}.fx-controls{padding:18px 15px}.fx-archive-list strong{font-size:12px}.fx-archive-list small{font-size:10px}.fx-list-symbol{font-size:20px}.fx-archive-card,.fx-list-static{gap:8px}.fx-quality button{font-size:14px}}
@media(prefers-reduced-motion:reduce){.fx-archive-row{transition:none}.fx-magnetic-button,.fx-titanium-card{transform:none!important}.fx-rubber-bubble{transform:none!important}}
html[data-reduced-motion=true] .fx-archive-row{transition:none}html[data-reduced-motion=true] .fx-magnetic-button,html[data-reduced-motion=true] .fx-titanium-card{transform:none!important}html[data-reduced-motion=true] .fx-rubber-bubble{transform:none!important}
