.animation-parity{--animation-jade:#167d86;--animation-red:#b45647;--animation-gold:#a57a43;--animation-ink:#192f3b;--animation-muted:#697e89;--animation-border:#d8e3e7;background:#fff;padding:18px 20px 20px;color:var(--animation-ink)}
.animation-heading h1{font-size:25px;margin:0}.animation-parity .animation-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px;margin:0;align-items:stretch}
.animation-parity .animation-board{height:560px;min-height:560px;min-width:0;position:relative;padding:0;border:0;background:transparent;overflow:visible}
.stalk-scene{width:100%;height:100%;display:block;touch-action:manipulation}
.stalk-tooltip{position:absolute;background:#192f3b;color:#fff;padding:6px 10px;border-radius:5px;font-size:12px;line-height:1.5;pointer-events:none;z-index:5;white-space:nowrap;box-shadow:0 3px 12px #192f3b20}
.stalk-tooltip[hidden]{display:none}.animation-parity .stalk-audit{position:absolute;right:15px;bottom:15px;font-size:12px;padding:5px 10px;min-height:32px;background:#f6f8f8;color:#526c78;border-color:#d8e3e7}
.animation-parity .animation-notes{display:flex;flex-direction:column;min-width:0;padding:8px 0 4px 8px;gap:10px}
.animation-parity .step-copy{height:211px;min-height:211px;max-height:211px;overflow:auto;padding:0;scrollbar-width:thin}
.animation-parity .step-copy small{font-size:12px;color:#697e89;line-height:1.6;display:block;min-height:22px}
.animation-parity .step-copy h2{font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:18px;font-weight:650;color:#192f3b;line-height:1.55;margin:8px 0 10px}
.animation-parity .step-copy p{font-size:14px;line-height:1.7;color:#192f3b;margin:0}
.animation-parity .formed{margin-top:auto;flex:none;padding:9px 10px 10px;border:1px solid #d8e3e7;border-radius:9px;background:#f6f7ef;text-align:center;min-height:220px}
.animation-parity .formed h3{font-size:14px;font-family:sans-serif;color:#167d86;margin:0 0 12px;font-weight:650}
.line-stack{display:grid;grid-template-rows:repeat(6,1fr);gap:7px;min-height:166px}
.stack-row{display:grid;grid-template-columns:32px minmax(50px,1fr) 57px;align-items:center;gap:8px;min-height:22px;text-align:left}
.stack-name{color:#697e89;font-size:12px}.stack-value{color:#9da593;font-size:12px;white-space:nowrap}
.stack-bar{height:16px;display:flex;gap:18%;position:relative}.stack-bar i{background:#167d86;border-radius:2px;flex:1;height:100%}
.stack-row.moving .stack-bar i{background:#b45647}.stack-row.complete .stack-value{color:#167d86}.stack-row.moving .stack-value{color:#b45647}
.stack-bar.pending{height:0;border-top:1px dashed #c9d0c5}
.animation-parity .legend{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;font-size:12px;line-height:1.5;border-top:0;margin:0;padding:0;flex:none}
.animation-parity .legend span:nth-child(1){color:#167d86}.animation-parity .legend span:nth-child(2){color:#b45647}.animation-parity .legend span:nth-child(3){color:#a57a43}
.animation-parity .timeline{margin:18px 0 10px;padding:0 46px;height:58px}
.timeline-rail{position:relative;height:58px}
.animation-parity .timeline-track,.animation-parity .timeline-fill{height:3px;position:absolute;top:10.5px;left:0;right:0;background:#d8e3e7;border-radius:3px;pointer-events:none}
.animation-parity .timeline-fill{right:auto;width:0;background:#167d86}
.animation-parity .progress-dot{position:absolute;top:4.5px;left:0;width:15px;height:15px;border:0;border-radius:50%;background:#167d86;transform:translateX(-50%);z-index:5;pointer-events:none;transition:none}
#animation-scrubber{position:absolute;left:0;right:0;top:-5px;width:100%;height:34px;margin:0;padding:0;border:0;opacity:0;z-index:2;cursor:pointer}
#animation-scrubber:disabled{pointer-events:none}.timeline-rail:focus-within{outline:2px solid #90b9bf;outline-offset:6px;border-radius:4px}
.animation-parity .timeline-point{position:absolute;top:4px;transform:translateX(-50%);width:94px;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:47px;background:transparent!important;border:0;padding:0;z-index:3;opacity:1}
.animation-parity .timeline-point .dot{width:8px;height:8px;border:1.7px solid #d8e3e7;border-radius:50%;background:#fff;margin-top:4px;flex:none}
.animation-parity .timeline-point{pointer-events:none}.animation-parity .timeline-point .dot,.animation-parity .timeline-point small{pointer-events:auto}.animation-parity .timeline-point:disabled .dot,.animation-parity .timeline-point:disabled small{pointer-events:none}
.animation-parity .timeline-point.complete .dot{border-color:#167d86}
.animation-parity .timeline-point.current .dot{width:15px;height:15px;margin-top:.5px;background:#167d86;border-color:#167d86}
.animation-parity .timeline-point small{font-size:11px;white-space:nowrap;line-height:1.5;text-align:center;color:#697e89}
.animation-parity .node-time:before{content:' · '}
.animation-parity .timeline-point.complete small{color:#192f3b}.animation-parity .timeline-point:disabled{cursor:default}
.animation-parity .animation-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:nowrap;padding:8px 0 0}
.animation-parity .transport{display:flex;gap:7px;flex:none}.animation-parity .transport button{padding:7px 10px;font-size:13px;min-height:39px}
.animation-parity .transport .primary{background:#167d86;border-color:#167d86}
.animation-parity .speed-control{display:flex;align-items:center;gap:13px;margin-left:auto}
.animation-parity .speed-control>label{font-size:12px;color:#697e89}
.animation-parity .speed-scale{width:247px;padding-bottom:20px;flex:none}
.animation-parity .speed-scale:before{background:#b8cbd1}
.animation-parity .speed-scale .active .speed-dot{background:#167d86;box-shadow:0 0 0 3px #167d8620}
.animation-parity .exit-playback{font-size:13px;min-height:39px;padding:7px 10px;flex:none}
.animation-parity .exit-playback.completed{background:#167d86;border-color:#167d86;color:#fff;font-size:14px;font-weight:700;min-width:82px;box-shadow:0 2px 8px #167d8630}
.animation-parity .exit-playback.completed:hover{background:#11656d;border-color:#11656d}
.animation-parity .exit-playback.completed:focus-visible{outline:3px solid #a57a43;outline-offset:3px}
.stalk-ledger{margin:16px 0;padding-top:8px;border-top:1px solid #d8e3e7}.stalk-ledger h3{font-size:16px}
.stalk-ledger p{display:flex;flex-wrap:wrap;gap:7px}.stalk-ledger p span{font-size:13px;border:1px solid #d8e3e7;border-radius:4px;padding:3px 8px;min-width:38px;text-align:center}
.stalk-ledger h3[data-kind=active]{color:#9c8253}.stalk-ledger h3[data-kind=counted]{color:#167d86}.stalk-ledger h3[data-kind=taiji]{color:#a57a43}.stalk-ledger h3[data-kind=hang],.stalk-ledger h3[data-kind=odd]{color:#b45647}
@media(max-width:1200px){.animation-parity .animation-layout{grid-template-columns:minmax(0,1fr) 235px}.animation-parity .animation-board{height:530px;min-height:530px}.animation-parity .speed-scale{width:218px}.animation-parity .speed-control>label{display:none}.animation-parity .transport button,.animation-parity .exit-playback{padding:7px 8px;font-size:12px}.animation-parity .animation-controls{gap:10px}.animation-parity .step-copy{height:187px;min-height:187px;max-height:187px}.animation-parity .step-copy p{font-size:13px}}
@media(max-width:950px) and (min-width:701px){.animation-parity .animation-layout{grid-template-columns:minmax(0,1fr) 210px}.animation-parity{padding:15px 12px}.animation-parity .animation-board{height:520px;min-height:520px}.animation-parity .animation-controls{flex-wrap:wrap}.animation-parity .transport{margin-right:auto}.animation-parity .speed-control{margin-left:0}.animation-parity .speed-control>label{display:block}.stack-row{grid-template-columns:28px minmax(45px,1fr) 49px;gap:6px}.stack-name,.stack-value{font-size:11px}.animation-parity .formed{padding:9px 8px 10px}.animation-parity .legend{font-size:11px}}
@media(max-width:700px){
 .animation-heading h1{font-size:22px}.animation-heading .badge{font-size:10px;max-width:62%;white-space:normal}
 .animation-parity{padding:13px 10px 19px}.animation-parity .animation-layout{display:flex;flex-direction:column;gap:15px}
 .animation-parity .animation-board{width:100%;height:430px;min-height:430px}.animation-parity .stalk-audit{font-size:10px;padding:5px 8px;min-height:30px;right:11px;bottom:10px}
 .animation-parity .animation-notes{display:grid;grid-template-columns:minmax(0,1fr) 164px;gap:12px;padding:0;min-height:256px;align-items:start}
 .animation-parity .step-copy{height:224px;min-height:224px;max-height:224px;overflow:auto}
 .animation-parity .step-copy small{font-size:10px;line-height:1.7;min-height:32px}.animation-parity .step-copy h2{font-size:16px;line-height:1.5;margin:6px 0 10px}.animation-parity .step-copy p{font-size:12px;line-height:1.75}
 .animation-parity .formed{width:164px;min-height:224px;margin:0;padding:10px 7px;border-radius:8px}
 .animation-parity .formed h3{font-size:12px;margin:0 0 13px}.line-stack{gap:8px;min-height:168px}.stack-row{grid-template-columns:25px minmax(45px,1fr) 39px;gap:5px;min-height:21px}.stack-name,.stack-value{font-size:10px}.stack-bar{height:15px}
 .animation-parity .legend{grid-column:1/-1;font-size:10px;gap:5px;display:flex;flex-direction:row;flex-wrap:wrap;border-top:1px solid #d8e3e7;padding-top:11px;justify-content:flex-start}
 .animation-parity .timeline{margin:19px 0 12px;height:56px;padding:0 28px}.timeline-rail{height:56px}.animation-parity .timeline-point{width:58px}.animation-parity .timeline-point small{font-size:9px;line-height:1.5;white-space:normal;max-width:52px}
 .animation-parity .timeline-point small span{display:block}.animation-parity .node-time:before{content:none}
 .animation-parity .animation-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:25px 10px;flex-wrap:initial;padding:3px 0 0}
 .animation-parity .transport{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}.animation-parity .transport button{min-width:0;padding:9px 2px;font-size:12px;min-height:40px}
 .animation-parity .speed-control{gap:5px;margin:0;min-width:0}.animation-parity .speed-control>label{display:none}.animation-parity .speed-scale{width:min(220px,100%);flex:1;max-width:245px}.animation-parity .speed-scale small{font-size:9px}
 .animation-parity .exit-playback{font-size:11px;padding:7px 9px;min-height:40px}
}
@media(max-width:360px){.animation-parity .animation-notes{grid-template-columns:minmax(0,1fr) 143px;gap:9px}.animation-parity .formed{width:143px}.stack-row{grid-template-columns:23px minmax(35px,1fr) 36px;gap:4px}.stack-name,.stack-value{font-size:9px}.animation-parity .step-copy h2{font-size:15px}.animation-parity .step-copy p{font-size:11px}.animation-parity .animation-board{height:412px;min-height:412px}}
