.steering-hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 5rem 0 3rem;
}

.steering-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.075em;
}

.steering-hero h1 em { color: var(--lime); font-style: normal; }

.hero-wheel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 50% 50% 1.3rem 1.3rem;
  background: radial-gradient(circle at 50% 42%, #27362f, #101512 68%);
  box-shadow: 0 35px 80px #0008;
}

.hero-wheel::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: 0;
  border: 3px solid #ffffff12;
  border-radius: 50%;
  pointer-events: none;
}

.hero-wheel > div {
  position: relative;
  z-index: 1;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #0c110ee8;
}

.hero-wheel span { color: var(--lime); font-size: 2.4rem; line-height: 1; }
.hero-wheel b { margin-top: 1rem; font-size: 1.1rem; }
.hero-wheel small { margin-top: .3rem; color: var(--muted); font-size: .66rem; }

.legal-safety {
  display: grid;
  grid-template-columns: minmax(12rem, .28fr) 1fr;
  gap: 1.3rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #ff9c6955;
  border-left: 5px solid var(--orange);
  border-radius: 1rem;
  background: linear-gradient(110deg, #ff9c6914, transparent);
}

.legal-safety strong { color: var(--orange); font-size: .84rem; }
.legal-safety p { margin: 0; color: #ddd7d1; font-size: .75rem; line-height: 1.75; }

.vehicle-baseline {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.vehicle-baseline > div,
.scene-facts > div {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--panel);
}

.vehicle-baseline small,
.scene-facts small { color: var(--lime); font-size: .62rem; font-weight: 900; letter-spacing: .06em; }
.vehicle-baseline b { font-size: 1.08rem; line-height: 1.45; }

.baseline-note {
  margin: .7rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--cyan);
  border-radius: .75rem;
  background: #75e5d20c;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.75;
}

.baseline-note b { color: var(--text); }

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.directory-grid a {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: .2rem .75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #111713;
  transition: border-color .2s ease, transform .2s ease;
}

.directory-grid a:hover { border-color: var(--lime); transform: translateY(-2px); }
.directory-grid b { grid-row: 1 / 3; align-self: center; color: var(--lime); font-size: 1.6rem; }
.directory-grid span { font-size: .9rem; font-weight: 850; }
.directory-grid small { color: var(--muted); font-size: .64rem; }

.core-rule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
  padding: 1rem 1.1rem;
  border-radius: .9rem;
  background: var(--lime);
  color: var(--ink);
  font-size: .72rem;
}

.core-rule b { margin-right: auto; font-size: .85rem; }
.core-rule span { padding: .35rem .5rem; border: 1px solid #10140f33; border-radius: 99rem; font-weight: 800; }
.core-rule i { font-style: normal; opacity: .65; }

.scene-section { padding-top: 7rem; }
.scene-section + .scene-section { margin-top: 2rem; border-top: 1px solid #ffffff0d; }

.scene-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.1rem;
}

.scene-heading > b {
  width: 3.3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: .9rem;
}

.scene-heading h2 {
  margin: 0;
  max-width: 72rem;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.scene-heading .eyebrow { margin-bottom: .7rem; }
.scene-heading p:last-child { max-width: 70rem; margin: .9rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }

.scene-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.scene-facts b { font-size: .78rem; line-height: 1.6; }

.scene-steps {
  counter-reset: scene-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .6rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.scene-steps li {
  position: relative;
  min-height: 190px;
  padding: 2.5rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: linear-gradient(160deg, #171e1a, #101511);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.7;
}

.scene-steps li::before {
  counter-increment: scene-step;
  content: "0" counter(scene-step);
  position: absolute;
  top: .8rem;
  left: 1rem;
  color: var(--lime);
  font-size: .61rem;
  font-weight: 950;
}

.scene-steps b { color: var(--text); }

.steer-diagram {
  margin: .75rem 0 0;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--panel);
}

.steer-diagram figcaption {
  margin-bottom: .75rem;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 850;
}

.diagram-scroll {
  overflow-x: auto;
  border: 1px solid #ffffff0b;
  border-radius: .85rem;
  background: #0b100d;
  scrollbar-color: var(--lime) #0b100d;
}

.diagram-scroll svg { display: block; min-width: 700px; width: 100%; height: auto; }
.road { fill: #28332e; stroke: #526159; stroke-width: 2; }
.curb { fill: none; stroke: #e0e8e1; stroke-width: 4; }
.lane { fill: none; stroke: #d7ded877; stroke-width: 2; stroke-dasharray: 16 14; }
.median { fill: none; stroke: #d8ff57; stroke-width: 14; stroke-linecap: round; }
.double-yellow { fill: none; stroke: #ffd45b; stroke-width: 4; }
.route { fill: none; stroke: #d8ff57; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 9 7; }
.inner-path { fill: none; stroke: #ff9c69; stroke-width: 3; stroke-dasharray: 5 6; }
.car rect { fill: #e8eee8; stroke: #17201c; stroke-width: 2; }
.car path { fill: none; stroke: #233d37; stroke-width: 8; stroke-linecap: round; }
.car.hot rect { fill: #d8ff57; }
.car.reverse rect { fill: #75e5d2; }
.point { fill: #0b0e0d; stroke: #d8ff57; stroke-width: 3; }
.point-text { fill: #f5f7ef; font: 900 12px "Microsoft YaHei"; text-anchor: middle; }
.reference { fill: #75e5d2; stroke: #0b0e0d; stroke-width: 3; }
.svg-label { fill: #f5f7ef; font: 750 13px "Microsoft YaHei"; }
.danger-label { fill: #ff9c69; font: 850 13px "Microsoft YaHei"; }
.danger-x { fill: none; stroke: #ff6d67; stroke-width: 8; stroke-linecap: round; }
.crosswalk { fill: #f2f4ed; opacity: .84; }
.round-road { fill: none; stroke: #29352f; stroke-width: 84; }
.island { fill: #335642; stroke: #75e5d2; stroke-width: 3; }

.steer-frames {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .6rem;
}

.steer-frames > div {
  min-height: 122px;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #0d120f;
}

.steer-frames b { display: block; font-size: .72rem; }
.steer-frames p { margin: .55rem 0 0; color: var(--muted); font-size: .65rem; line-height: 1.55; }
.wheel { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; font-size: .67rem; font-weight: 900; }
.wheel.straight { color: #d8ff57; }
.wheel.half { color: #75e5d2; }
.wheel.one { color: #ffd773; }
.wheel.full { color: #ff9c69; }

.memory-chant {
  display: grid;
  grid-template-columns: minmax(16rem, .4fr) 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 1.1rem;
  background: var(--lime);
  color: var(--ink);
}

.memory-chant > b { font-size: clamp(1.6rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.memory-chant p { margin: 0; font-size: .74rem; line-height: 1.8; }
.memory-chant span { font-weight: 950; }

.comparison-table {
  margin-top: .75rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
}

.comparison-table table { min-width: 960px; }
.comparison-table th { position: sticky; top: 0; background: #18201c; }
.comparison-table td { color: var(--muted); }
.comparison-table td:first-child { color: var(--text); font-weight: 850; }
.steering-sources { margin-top: 7rem; }

/* Photo-real road layer: generated bitmap background, deterministic labels above it. */
.realistic-diagram .real-road-background { filter: saturate(.88) contrast(1.06) brightness(.8); }
.realistic-diagram :is(.road, .curb, .lane, .median, .double-yellow, .crosswalk, .round-road, .island) { opacity: 0; }
.realistic-diagram .route {
  stroke: #caff35;
  stroke-width: 6;
  filter: drop-shadow(0 1px 1px #000) drop-shadow(0 0 3px #0b0e0d);
}
.realistic-diagram marker path { fill: #caff35; }
.realistic-diagram .inner-path {
  stroke: #ff6b3d;
  stroke-width: 4;
  filter: drop-shadow(0 1px 1px #000);
}
.realistic-diagram .svg-label,
.realistic-diagram .danger-label {
  paint-order: stroke fill;
  stroke: #07100c;
  stroke-width: 4px;
  stroke-linejoin: round;
  font-weight: 900;
}
.realistic-diagram .point { fill: #07100c; stroke-width: 4; }
.realistic-diagram .car { transition: opacity .25s ease, filter .25s ease; }
.realistic-diagram .car > rect,
.realistic-diagram .car > path { display: none; }
.realistic-diagram .car image { filter: drop-shadow(0 3px 3px #000a); }
.realistic-diagram .car-step-badge { fill: #07100c; stroke: #d8ff57; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.realistic-diagram .car-step-number { fill: #fff; font: 950 12px "Microsoft YaHei"; text-anchor: middle; paint-order: stroke fill; stroke: #07100c; stroke-width: 2px; }
.precision-guides :is(.trigger-guide, .target-axis, .angle-arc) { fill: none; vector-effect: non-scaling-stroke; }
.precision-guides .trigger-guide { stroke: #66ead5; stroke-width: 2.5; stroke-dasharray: 7 5; filter: drop-shadow(0 1px 1px #000); }
.precision-guides .target-axis { stroke: #fff; stroke-width: 2; stroke-dasharray: 10 5; opacity: .92; filter: drop-shadow(0 1px 1px #000); }
.precision-guides .angle-arc { stroke: #ff9c69; stroke-width: 3; stroke-dasharray: 3 3; filter: drop-shadow(0 1px 1px #000); }
.precision-guides :is(.guide-label, .angle-label), .finish-label { paint-order: stroke fill; stroke: #07100c; stroke-width: 4px; stroke-linejoin: round; font: 850 10px "Microsoft YaHei"; }
.precision-guides .guide-label { fill: #e7efea; }
.precision-guides .angle-label { fill: #ffb089; }
.finish-car { opacity: .48; filter: grayscale(1) brightness(1.7) drop-shadow(0 0 5px #fff); }
.finish-label { fill: #fff; }
.realistic-diagram[data-active-step] .car:not(.is-active) { opacity: .17; filter: grayscale(1); }
.realistic-diagram[data-active-step] .car.is-active image { filter: drop-shadow(0 0 7px #d8ff57) drop-shadow(0 3px 3px #000); }

.steer-diagram figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.frame-instruction { flex: 1 1 26rem; margin: 0; color: var(--muted); font-size: .64rem; font-weight: 650; }
.precision-legend { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: .45rem .9rem; padding-top: .25rem; color: var(--muted); font-size: .56rem; font-weight: 750; }
.precision-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.precision-legend span::before { content: ""; width: 1.4rem; border-top: 2px dashed currentColor; }
.precision-legend .trigger-key { color: var(--cyan); }
.precision-legend .target-key { color: #fff; }
.precision-legend .angle-key { color: var(--orange); }
.precision-legend .finish-key { color: #cfd7d2; }
.precision-legend .finish-key::before { height: .55rem; border: 1px solid #fff; border-radius: .15rem; background: #fff5; }
.show-all-steps {
  min-height: 34px;
  padding: 0 .75rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  background: #0d120f;
  color: var(--text);
  font-size: .62rem;
  font-weight: 850;
}
.steer-frames > div { cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.steer-frames > div:hover,
.steer-frames > div:focus-visible { border-color: var(--cyan); outline: none; transform: translateY(-2px); }
.steer-frames > div.is-active { border-color: var(--lime); background: #202b1d; box-shadow: inset 0 0 0 1px #d8ff5745; }

.step-precision { display: grid; gap: .4rem; margin: .75rem 0 0; padding: 0; }
.step-precision > div { display: grid; grid-template-columns: 4.2rem 1fr; gap: .45rem; align-items: start; }
.step-precision dt { margin: 0; color: var(--cyan); font-size: .56rem; font-weight: 900; }
.step-precision dd { margin: 0; color: #cbd5cf; font-size: .58rem; line-height: 1.55; }

.step-wheel-demo {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid #ffffff16;
}
.step-wheel-demo small { color: #bdc8c1; font-size: .57rem; font-weight: 750; line-height: 1.55; }
.mini-wheel {
  position: relative;
  flex: 0 0 auto;
  width: 3.5rem;
  aspect-ratio: 1;
  border: .38rem solid #6d7771;
  border-radius: 50%;
  background: #111713;
  box-shadow: inset 0 0 0 1px #a9b2ad, 0 4px 10px #0008;
  transform: rotate(var(--wheel-to));
}
.mini-wheel::before,
.mini-wheel::after,
.mini-wheel i {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 43%;
  height: .24rem;
  border-radius: 99rem;
  background: #7e8983;
  transform-origin: left center;
}
.mini-wheel::before { rotate: -22deg; }
.mini-wheel::after { rotate: 202deg; }
.mini-wheel i { width: 36%; rotate: 90deg; }
.mini-wheel b { position: absolute; left: 50%; top: 50%; width: 1.1rem; aspect-ratio: 1; translate: -50% -50%; border: .18rem solid #808b85; border-radius: 50%; background: #111713; }
.mini-wheel span { position: absolute; left: 50%; top: -.62rem; width: .28rem; height: .7rem; translate: -50% 0; border-radius: 99rem; background: var(--lime); box-shadow: 0 0 7px #d8ff57; }
.step-wheel-demo.is-playing .mini-wheel { animation: step-wheel-turn 1.25s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes step-wheel-turn {
  from { transform: rotate(var(--wheel-from)); }
  to { transform: rotate(var(--wheel-to)); }
}

.turn-counter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: 1rem;
  margin-top: .75rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 1px solid #75e5d250;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #15201c, #0c110e);
}
.turn-counter h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.turn-counter-copy > p:not(.eyebrow) { max-width: 52rem; color: var(--muted); font-size: .74rem; line-height: 1.75; }
.counter-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: 1.2rem; }
.counter-controls button {
  min-height: 58px;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #0b100d;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 850;
}
.counter-controls button.is-active { border-color: var(--lime); background: #d8ff5714; color: var(--text); }
.counter-visual { display: grid; place-items: center; align-content: center; padding: 1rem; border-radius: 1rem; background: #070a08; text-align: center; }
.animated-wheel {
  --wheel-angle: 0deg;
  position: relative;
  width: 12rem;
  aspect-ratio: 1;
  border: 1.05rem solid #373f3a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 .15rem #8b9690, 0 12px 30px #0008;
  transform: rotate(var(--wheel-angle));
  transition: transform 1s cubic-bezier(.2, .75, .25, 1);
}
.animated-wheel::before,
.animated-wheel::after,
.animated-wheel i { content: ""; position: absolute; left: 50%; top: 50%; width: 44%; height: .65rem; border-radius: 99rem; background: #606b65; transform-origin: left center; }
.animated-wheel::before { rotate: -20deg; }
.animated-wheel::after { rotate: 200deg; }
.animated-wheel i { rotate: 90deg; width: 37%; }
.animated-wheel b { position: absolute; left: 50%; top: 50%; width: 3.6rem; aspect-ratio: 1; translate: -50% -50%; border: .45rem solid #69736d; border-radius: 50%; background: #141a16; }
.animated-wheel span { position: absolute; left: 50%; top: -1.12rem; width: .55rem; height: 1.15rem; translate: -50% 0; border-radius: 99rem; background: var(--lime); box-shadow: 0 0 10px #d8ff57; }
.counter-visual > strong { margin-top: .9rem; color: var(--lime); font-size: 1rem; }
.counter-visual > p { min-height: 2.3rem; margin: .45rem 0; color: var(--muted); font-size: .66rem; line-height: 1.5; }
.counter-math { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem; margin: .1rem 0 .8rem; font-size: .6rem; }
.counter-math span { padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 99rem; color: var(--muted); }
.counter-math i { color: var(--orange); font-style: normal; font-weight: 950; }
.counter-math b { width: 100%; color: var(--lime); font-size: .67rem; }
.play-counter { min-height: 38px; padding: 0 .8rem; border: 1px solid var(--cyan); border-radius: 99rem; background: transparent; color: var(--cyan); font-size: .65rem; font-weight: 850; }

.hand-steering-trainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .48fr);
  gap: 1rem;
  margin-top: .75rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 1px solid #d8ff5740;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #111915, #090d0b);
}
.hand-trainer-copy h3 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.35rem); letter-spacing: -.04em; }
.hand-trainer-copy > p:not(.eyebrow) { max-width: 55rem; color: var(--muted); font-size: .72rem; line-height: 1.75; }
.hand-direction-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.hand-direction-controls button,
.hand-turn-controls button {
  min-height: 48px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #080d0a;
  color: var(--muted);
  font-size: .63rem;
  font-weight: 850;
}
.hand-direction-controls button.is-active { border-color: var(--cyan); background: #75e5d214; color: var(--cyan); }
.hand-turn-controls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; margin-top: .55rem; }
.hand-turn-controls button.is-active { border-color: var(--lime); background: #d8ff5714; color: var(--text); }
.hand-safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .75rem; }
.hand-safety-grid article { display: grid; align-content: start; gap: .35rem; min-height: 104px; padding: .7rem; border: 1px solid var(--line); border-radius: .7rem; background: #0a0f0c; }
.hand-safety-grid b { color: var(--lime); font-size: .63rem; }
.hand-safety-grid article:nth-child(2) b { color: var(--orange); }
.hand-safety-grid span { color: #c7cec9; font-size: .59rem; line-height: 1.6; }
.turn-memory-panel { display: grid; gap: .65rem; margin-top: .75rem; padding: .85rem; border: 1px solid #75e5d24d; border-radius: .8rem; background: #07100d; }
.turn-memory-panel small { color: var(--cyan); font-size: .53rem; font-weight: 900; letter-spacing: .08em; }
.turn-memory-panel h4 { margin: .2rem 0 0; font-size: .86rem; }
.turn-memory-panel > div:first-child p { margin: .4rem 0 0; color: var(--muted); font-size: .6rem; line-height: 1.65; }
.turn-count-rail { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: .35rem; }
.turn-count-rail span { padding: .5rem .35rem; border: 1px solid var(--line); border-radius: .6rem; background: #0b120e; color: #aeb8b2; font-size: .55rem; line-height: 1.45; text-align: center; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.turn-count-rail span.is-counted { border-color: var(--lime); background: #d8ff5712; color: #fff; }
.turn-count-rail span.is-current { box-shadow: 0 0 0 2px #d8ff5724, 0 0 18px #d8ff5717; }
.turn-count-rail span b { color: var(--lime); font-size: .62rem; }
.turn-count-rail i { width: 1rem; height: 1px; background: var(--line); }
#turnCountVoice { padding: .5rem .65rem; border-left: 3px solid var(--lime); background: #d8ff570a; color: var(--lime); font-size: .67rem; }
.memory-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.memory-checks p { margin: 0; padding: .55rem; border-radius: .55rem; background: #0d1511; color: #bfc8c2; font-size: .55rem; line-height: 1.55; }
.memory-checks b { display: block; margin-bottom: .2rem; color: var(--text); font-size: .58rem; }
.lost-turns-protocol { padding: .7rem; border: 1px solid #ff9c6940; border-radius: .65rem; background: #ff9c6908; }
.lost-turns-protocol > b { color: var(--orange); font-size: .63rem; }
.lost-turns-protocol ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .85rem; margin: .45rem 0 0; padding-left: 1rem; color: #cbd0cc; font-size: .55rem; line-height: 1.55; }

.hand-wheel-panel {
  --practice-angle: 0deg;
  --hand-wheel-duration: 1.15s;
  --hand-cycle-duration: 1.15s;
  --hand-cycles: 1;
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at 50% 38%, #16201b, #050806 70%);
  text-align: center;
}
.hand-wheel-stage { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; }
.practice-wheel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: .95rem solid #3e4842;
  border-radius: 50%;
  box-shadow: inset 0 0 0 .14rem #9aa39e, 0 15px 30px #000b;
  transform: rotate(var(--practice-angle));
  transition: transform var(--hand-wheel-duration) cubic-bezier(.22, .72, .2, 1);
}
.practice-wheel::before,
.practice-wheel::after,
.practice-wheel i { content: ""; position: absolute; left: 50%; top: 50%; width: 43%; height: .6rem; border-radius: 99rem; background: #657069; transform-origin: left center; }
.practice-wheel::before { rotate: -22deg; }
.practice-wheel::after { rotate: 202deg; }
.practice-wheel i { width: 36%; rotate: 90deg; }
.practice-wheel b { position: absolute; left: 50%; top: 50%; width: 3.35rem; aspect-ratio: 1; translate: -50% -50%; border: .42rem solid #768079; border-radius: 50%; background: #111713; }
.practice-wheel span { position: absolute; left: 50%; top: -1.02rem; width: .5rem; height: 1.05rem; translate: -50% 0; border-radius: 99rem; background: var(--lime); box-shadow: 0 0 11px #d8ff57; }
.clock-mark { position: absolute; z-index: 6; display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border: 2px solid #d8ff57b3; border-radius: 50%; background: #050806f0; color: var(--lime); box-shadow: 0 0 12px #d8ff5733; font-size: .72rem; font-weight: 950; }
.clock-12 { left: 50%; top: 6%; translate: -50% 0; }
.clock-6 { left: 50%; bottom: 6%; translate: -50% 0; }
.clock-9 { left: 22%; top: 50%; translate: -50% -50%; }
.clock-3 { right: 22%; top: 50%; translate: 50% -50%; }
.trainer-hand { position: absolute; z-index: 4; width: 18%; height: auto; overflow: visible; filter: drop-shadow(0 8px 7px #000b); transform-origin: 50% 48%; }
.trainer-hand-left { left: 3%; top: 36%; transform: rotate(42deg); }
.trainer-hand-right { right: 3%; top: 36%; transform: scaleX(-1) rotate(42deg); }
.trainer-hand-left .hand-palm,
.trainer-hand-left .hand-thumb { fill: #75e5d2; stroke: #d6fff7; stroke-width: 2; stroke-linejoin: round; }
.trainer-hand-right .hand-palm,
.trainer-hand-right .hand-thumb { fill: #ff9c69; stroke: #ffe1cf; stroke-width: 2; stroke-linejoin: round; }
.hand-cuff { fill: #26332d; stroke: #aab5af; stroke-width: 2; }
.hand-detail { fill: none; stroke: #17201b; stroke-width: 2; stroke-linecap: round; opacity: .65; }
.hand-tag { position: absolute; z-index: 5; padding: .2rem .36rem; border-radius: 99rem; background: #050806d9; font-size: .52rem; font-weight: 900; }
.tag-left { left: 3%; top: 66%; color: var(--cyan); }
.tag-right { right: 3%; top: 66%; color: var(--orange); }
.hand-motion-frames { display: grid; grid-template-columns: 1fr; gap: .7rem; width: 100%; margin: .75rem 0; }
.hand-motion-frame { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #080d0a; transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease; }
.hand-motion-frame header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45rem; padding: .65rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.hand-motion-frame header i { display: grid; place-items: center; min-width: 3.2rem; min-height: 1.7rem; border-radius: 99rem; background: var(--lime); color: var(--ink); font-size: .56rem; font-style: normal; font-weight: 950; }
.hand-motion-frame header b { color: var(--text); font-size: .72rem; }
.hand-motion-frame header span { color: var(--muted); font-size: .51rem; }
.hand-motion-frame svg { display: block; width: min(100%, 390px); margin: 0 auto; }
.motion-wheel { fill: #111713; stroke: #77827b; stroke-width: 10; }
.motion-spoke { fill: none; stroke: #59645e; stroke-width: 8; stroke-linecap: round; }
.motion-clock circle { fill: #050806; stroke: var(--lime); stroke-width: 2.5; }
.motion-clock text { fill: #fff; font-size: 12px; font-weight: 950; text-anchor: middle; dominant-baseline: central; }
.active-motion { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 5px #d8ff57); }
.slide-motion { fill: none; stroke: #d7ddd9; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 6; opacity: .8; }
#activeArrowA path, #activeArrowB path { fill: var(--lime); }
#slideArrowA path, #slideArrowB path { fill: #d7ddd9; }
.hand-badge rect { stroke-width: 2; }
.hand-badge text { fill: #06100c; font-size: 10px; font-weight: 950; text-anchor: middle; dominant-baseline: central; }
.left-badge rect { fill: var(--cyan); stroke: #d8fff8; }
.right-badge rect { fill: var(--orange); stroke: #ffe4d5; }
.hand-badge.is-sliding { opacity: .72; }
.hand-badge.is-sliding rect { fill: #a7b0ab; stroke: #eef2f0; }
.motion-copy { fill: #fff; font-size: 11px; font-weight: 900; }
.hand-motion-frame > p { margin: 0; padding: .65rem .75rem .8rem; border-top: 1px solid var(--line); color: #cbd2ce; font-size: .59rem; line-height: 1.6; text-align: left; }
.hand-wheel-panel[data-hand-direction="left"] .right-motion,
.hand-wheel-panel[data-hand-direction="right"] .left-motion { display: none; }
.motion-legend { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; width: 100%; margin-bottom: .8rem; }
.motion-legend span { display: flex; align-items: center; gap: .4rem; padding: .5rem; border-radius: .55rem; background: #0d1511; color: #bdc7c1; font-size: .54rem; line-height: 1.45; text-align: left; }
.motion-legend i { flex: 0 0 2.2rem; height: 0; border-top: 4px solid var(--lime); }
.motion-legend .legend-dash { border-top: 2px dashed #d7ddd9; }
.hand-wheel-panel.is-moving .motion-phase-one { animation: phase-one-focus var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }
.hand-wheel-panel.is-moving .motion-phase-two { animation: phase-two-focus var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }
.hand-wheel-panel.is-moving .active-motion { stroke-dasharray: 9 7; animation: motion-dash .55s linear infinite; }
.hand-wheel-panel.is-moving .slide-motion { animation: motion-dash .8s linear infinite reverse; }
.hand-wheel-panel > strong { margin-top: .35rem; }
.hand-wheel-panel > strong { color: var(--lime); font-size: .87rem; }
.hand-wheel-panel > p { margin: .4rem 0; color: var(--muted); font-size: .62rem; line-height: 1.55; }
.hand-action-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem; margin-top: .4rem; }
.hand-action-flow span { padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 99rem; color: #e7ece9; font-size: .58rem; }
.hand-action-flow span:first-child { border-color: #75e5d266; color: var(--cyan); }
.hand-action-flow span:nth-of-type(2) { border-color: #ff9c6966; color: var(--orange); }
.hand-action-flow i { color: var(--lime); font-style: normal; }
.hand-action-flow b { width: 100%; color: var(--lime); font-size: .62rem; }
.hand-cycle-note { max-width: 25rem; }

@keyframes phase-one-focus {
  0%, 46% { border-color: var(--lime); box-shadow: 0 0 0 2px #d8ff5724; opacity: 1; }
  54%, 100% { border-color: var(--line); box-shadow: none; opacity: .52; }
}
@keyframes phase-two-focus {
  0%, 46% { border-color: var(--line); box-shadow: none; opacity: .52; }
  54%, 100% { border-color: var(--lime); box-shadow: 0 0 0 2px #d8ff5724; opacity: 1; }
}
@keyframes motion-dash { to { stroke-dashoffset: -32; } }

.hand-wheel-panel.is-moving[data-hand-motion="left"] .trainer-hand-left { animation: hand-left-pull-left var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }
.hand-wheel-panel.is-moving[data-hand-motion="left"] .trainer-hand-right { animation: hand-right-push-left var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }
.hand-wheel-panel.is-moving[data-hand-motion="right"] .trainer-hand-right { animation: hand-right-pull-right var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }
.hand-wheel-panel.is-moving[data-hand-motion="right"] .trainer-hand-left { animation: hand-left-push-right var(--hand-cycle-duration) ease-in-out var(--hand-cycles); }

@keyframes hand-left-pull-left {
  0% { transform: translate(0, 0) rotate(42deg); filter: drop-shadow(0 0 9px #75e5d2); opacity: 1; }
  38% { transform: translate(102px, 92px) rotate(132deg); filter: drop-shadow(0 0 12px #75e5d2); opacity: 1; }
  48% { transform: translate(104px, 88px) rotate(132deg); opacity: .38; }
  76% { transform: translate(0, 0) rotate(42deg); opacity: .38; }
  100% { transform: translate(0, 0) rotate(42deg); opacity: .9; }
}
@keyframes hand-right-push-left {
  0% { transform: scaleX(-1) rotate(42deg); opacity: .45; }
  38% { transform: translate(-102px, 92px) scaleX(-1) rotate(132deg); opacity: .45; }
  48% { transform: translate(-104px, 88px) scaleX(-1) rotate(132deg); filter: drop-shadow(0 0 12px #ff9c69); opacity: 1; }
  76% { transform: scaleX(-1) rotate(42deg); filter: drop-shadow(0 0 12px #ff9c69); opacity: 1; }
  100% { transform: scaleX(-1) rotate(42deg); opacity: .9; }
}
@keyframes hand-right-pull-right {
  0% { transform: scaleX(-1) rotate(42deg); filter: drop-shadow(0 0 9px #ff9c69); opacity: 1; }
  38% { transform: translate(-102px, 92px) scaleX(-1) rotate(132deg); filter: drop-shadow(0 0 12px #ff9c69); opacity: 1; }
  48% { transform: translate(-104px, 88px) scaleX(-1) rotate(132deg); opacity: .38; }
  76% { transform: scaleX(-1) rotate(42deg); opacity: .38; }
  100% { transform: scaleX(-1) rotate(42deg); opacity: .9; }
}
@keyframes hand-left-push-right {
  0% { transform: rotate(42deg); opacity: .45; }
  38% { transform: translate(102px, 92px) rotate(132deg); opacity: .45; }
  48% { transform: translate(104px, 88px) rotate(132deg); filter: drop-shadow(0 0 12px #75e5d2); opacity: 1; }
  76% { transform: rotate(42deg); filter: drop-shadow(0 0 12px #75e5d2); opacity: 1; }
  100% { transform: rotate(42deg); opacity: .9; }
}

.driver-reference {
  margin-top: .7rem;
  padding: clamp(.8rem, 2vw, 1.2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
}
.driver-reference-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: .7rem; }
.driver-reference-head div { display: grid; gap: .25rem; }
.driver-reference-head small { color: var(--cyan); font-size: .62rem; font-weight: 900; }
.driver-reference-head b { font-size: 1rem; }
.driver-reference-head > span { color: var(--muted); font-size: .61rem; }
.driver-reference-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr); gap: .7rem; }
.driver-pov-real { position: relative; min-height: 390px; overflow: hidden; border-radius: .8rem; background: #080b09; }
.driver-pov-real > img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center; filter: brightness(.72) contrast(1.08); }
.driver-pov-real > svg { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.driver-pov-real svg path { fill: none; stroke-width: .45; stroke-dasharray: 1.3 1; vector-effect: non-scaling-stroke; }
.driver-pov-real svg circle { fill: var(--lime); stroke: #07100c; stroke-width: .25; }
.shoulder-ray { stroke: var(--lime); }.hood-ray { stroke: var(--orange); }.mirror-ray { stroke: var(--cyan); }
.pov-pin { position: absolute; z-index: 3; padding: .28rem .4rem; border: 1px solid #ffffff4a; border-radius: .35rem; background: #07100ce8; color: #fff; font-size: .54rem; font-weight: 850; }
.pin-pillar { left: 5%; top: 9%; }.pin-shoulder { left: 38%; top: 17%; color: var(--lime); }.pin-mirror { left: 2%; top: 42%; color: var(--cyan); }.pin-hood { left: 56%; top: 43%; color: var(--orange); }
.driver-cue-copy { display: grid; grid-template-rows: auto auto 1fr; gap: .55rem; }
.driver-cue-copy article { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .85rem; border: 1px solid var(--line); border-radius: .75rem; background: #0d120f; }
.driver-cue-copy i { width: 2rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .7rem; font-style: normal; font-weight: 950; }
.driver-cue-copy article div { display: grid; gap: .35rem; }
.driver-cue-copy small { color: var(--muted); font-size: .59rem; }
.driver-cue-copy b { font-size: .73rem; line-height: 1.55; }
.driver-cue-copy > p { margin: 0; padding: 1rem; border-left: 4px solid var(--orange); border-radius: .7rem; background: #ff9c690a; color: #d9d2cd; font-size: .7rem; line-height: 1.7; }

/* These two scenes use deterministic legal road boundaries over the photo texture. */
#scene-8 .realistic-diagram .road { opacity: .2; fill: #151b18; }
#scene-8 .realistic-diagram .curb { opacity: 1; stroke: #d9d9d2; stroke-width: 5; filter: drop-shadow(0 2px 1px #000); }
#scene-9 .legal-line-gap { fill: #34383a; opacity: .98; }
#scene-9 .realistic-diagram .double-yellow { opacity: 1; stroke: #efbf24; stroke-width: 5; filter: drop-shadow(0 1px 1px #0008); }

@media (max-width: 1120px) {
  .steering-hero { grid-template-columns: 1fr; }
  .hero-wheel { max-width: 760px; }
  .vehicle-baseline, .scene-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-steps li:last-child { grid-column: 1 / -1; min-height: 130px; }
  .turn-counter, .hand-steering-trainer, .driver-reference-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .steering-hero { min-height: auto; padding-top: 4rem; }
  .legal-safety, .memory-chant { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steer-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-rule b { width: 100%; }
  .counter-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hand-turn-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .memory-checks { grid-template-columns: 1fr; }
  .driver-reference-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .steering-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-wheel { grid-template-columns: 1fr 1fr; border-radius: 1.2rem; }
  .hero-wheel > div { min-height: 112px; }
  .hero-wheel span { font-size: 1.8rem; }
  .vehicle-baseline, .scene-facts, .directory-grid, .scene-steps, .steer-frames { grid-template-columns: 1fr; }
  .vehicle-baseline > div, .scene-facts > div { min-height: 102px; }
  .scene-steps li, .scene-steps li:last-child { grid-column: auto; min-height: 145px; }
  .scene-heading > b { width: 2.7rem; }
  .scene-heading h2 { font-size: 2.35rem; }
  .core-rule { align-items: flex-start; flex-direction: column; }
  .core-rule i { rotate: 90deg; margin-left: .8rem; }
  .diagram-scroll::after { content: "左右滑动查看完整俯视图 →"; display: block; position: sticky; left: .65rem; width: max-content; margin: .35rem .65rem .55rem; color: var(--muted); font-size: .58rem; }
  .counter-controls { grid-template-columns: 1fr 1fr; }
  .animated-wheel { width: 10rem; }
  .hand-direction-controls, .hand-safety-grid { grid-template-columns: 1fr; }
  .hand-turn-controls { grid-template-columns: 1fr 1fr; }
  .hand-turn-controls button:last-child { grid-column: 1 / -1; }
  .turn-count-rail { grid-template-columns: 1fr; }
  .turn-count-rail i { width: 1px; height: .7rem; justify-self: center; }
  .lost-turns-protocol ol { grid-template-columns: 1fr; }
  .motion-legend { grid-template-columns: 1fr; }
  .hand-motion-frame header { grid-template-columns: auto 1fr; }
  .hand-motion-frame header span { grid-column: 1 / -1; }
  .hand-wheel-panel { padding-inline: .35rem; }
  .hand-wheel-stage { max-width: 330px; }
  .driver-pov-real, .driver-pov-real > img { min-height: 260px; }
  .pov-pin { font-size: .46rem; }
}

@media print {
  .steering-hero { min-height: auto; grid-template-columns: 1fr 1fr; padding: 1rem 0; }
  .steering-hero h1 { font-size: 48px; }
  .hero-wheel > div { min-height: 90px; }
  .scene-section { break-before: page; padding-top: 1rem; }
  .scene-steps { grid-template-columns: repeat(5, 1fr); }
  .diagram-scroll { overflow: visible; }
  .diagram-scroll svg { min-width: 0; }
  .comparison-table { overflow: visible; }
  .comparison-table table { min-width: 0; }
  .turn-counter, .hand-steering-trainer, .driver-reference { break-inside: avoid; }
  .show-all-steps, .play-counter, .hand-direction-controls, .hand-turn-controls { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .animated-wheel, .practice-wheel, .trainer-hand, .mini-wheel, .realistic-diagram .car, .steer-frames > div { transition: none !important; animation: none !important; }
}
