.hl-shell { max-width: 1000px; margin: 0 auto; }
.hl-topline { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--hr-muted); font-size: 12px; }
.hl-topline .hr-section-label { margin: 0; }
.hl-lessons-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; border-bottom: 1px solid var(--hr-rule); margin: 12px 0 32px; }
.hl-lessons-nav button { display: flex; align-items: center; gap: 10px; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--hr-muted); font: inherit; }
.hl-lessons-nav button span { font-size: 11px; font-family: ui-monospace, monospace; }
.hl-lessons-nav button[aria-pressed=true] { color: var(--arena-gold); border-bottom-color: currentColor; }
.hl-intro { max-width: 760px; margin-bottom: 26px; }
.hl-scope { display: block; margin-bottom: 12px; font-size: 12px; color: #a4b8c5; }
#main .hl-intro h2 { font-size: clamp(25px, 3vw, 35px); font-family: 'Songti SC', 'Noto Serif CJK SC', 'STSong', serif; line-height: 1.55; text-wrap: balance; }
#main .hl-intro p { max-width: 46em; margin-top: 16px; }
.hl-watch { margin-bottom: 48px; }
.hl-picture { position: relative; overflow: hidden; background: #080f15; aspect-ratio: 16 / 9; }
.hl-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hl-picture.hl-zoomed img { transform: scale(1.85); transform-origin: var(--hl-crop); }
.hl-time { position: absolute; right: 12px; top: 12px; background: #070d18df; color: #e5e8ed; padding: 4px 8px; font: 11px/1.5 ui-monospace, monospace; border: 1px solid #ffffff24; }
.hl-film-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--hr-rule); }
.hl-frame-picker { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hl-frame-picker button { color: var(--hr-muted); border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: 13px; padding: 14px 0; background: none; min-height: 44px; text-align: left; }
.hl-frame-picker button[aria-pressed=true] { color: #e3cb9a; border-bottom-color: #bfa16b; }
.hl-film-controls > button { font-size: 12px; flex-shrink: 0; min-height: 44px; }
#main .hl-frame-caption { font-size: 13px; color: #a5b4bf; margin: 14px 0 8px; }
.hl-credit { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; color: var(--hr-muted); font-size: 11px; }
.hl-credit a { font-size: 12px; }
.hl-teaching-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
#main .hl-explain h3 { font-size: 22px; line-height: 1.7; }
.hl-simulator { margin: 26px 0; padding: 22px; border: 1px solid #8fa8b526; background: #121e283d; }
.hl-sim-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hl-sim-heading b { font-size: 14px; font-weight: 500; }
.hl-sim-heading > span { font-size: 11px; color: var(--hr-muted); }
.hl-condition { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hl-condition button { min-height: 44px; font: inherit; font-size: 12px; padding: 8px; border: 1px solid #ffffff22; background: transparent; color: #a9b7c2; border-radius: 3px; }
.hl-condition button[aria-pressed=true] { border-color: #c3ad7e; color: #e4d0a5; background: #c3ad7e08; }
.hl-map { display: block; width: 100%; max-width: 540px; height: auto; margin: 12px auto 4px; }
.hl-boundary { fill: #3146571a; stroke: #789eac; stroke-width: 2; }
.hl-map text { font-family: inherit; text-anchor: middle; }
.hl-map-label { fill: #b0c1ce; font-size: 13px; }
.hl-token-label { fill: #f3f1e8; font-size: 17px; font-weight: 600; }
.hl-player { fill: #254b60; stroke: #97d4e1; stroke-width: 2; }
.hl-enemy { fill: #543939; stroke: #d4968d; stroke-width: 2; }
.hl-old-position { fill: none; stroke: #718694; stroke-dasharray: 4 4; }
.hl-marker { fill: none; stroke: #9ab0be; }
.hl-route, .hl-arrow { fill: none; stroke: #e8c986; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hl-return { fill: none; stroke: #90c9af; stroke-width: 3; stroke-dasharray: 6 5; }
.hl-contact { fill: #e8c986; fill-opacity: .25; stroke: #e8c986; }
.hl-map-result { fill: #c4d5cd; font-size: 13px; }
.hl-stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hr-rule); border-bottom: 1px solid var(--hr-rule); }
.hl-stepper button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 4px; background: none; border: 0; color: #99abb9; font: inherit; font-size: 13px; }
.hl-stepper button > span { font-size: 11px; color: #8e8065; }
.hl-stepper button[aria-pressed=true] { color: #e7d0a0; background: #d7b36a09; }
.hl-step-copy { padding-top: 16px; min-height: 123px; }
.hl-step-copy > strong { font-weight: 550; font-size: 14px; }
#main .hl-step-copy p { margin: 7px 0 0; font-size: 14px; }
#main .hl-map-note { font-size: 11px; line-height: 1.8; color: var(--hr-muted); margin: 12px 0 0; }
.hl-caution { padding-left: 16px; border-left: 2px solid #948263; }
.hl-caution b { font-size: 14px; color: #d8c39b; font-weight: 500; }
#main .hl-caution p { font-size: 13px; color: #aab7c2; margin: 7px 0; }
.hl-practice { border-left: 1px solid var(--hr-rule); padding-left: 25px; }
.hl-practice ol { list-style: none; counter-reset: drill; padding: 0; margin: 22px 0; }
.hl-practice li { counter-increment: drill; position: relative; padding: 0 0 20px 26px; font-size: 14px; line-height: 1.9; color: var(--hr-body); }
.hl-practice li::before { content: counter(drill); position: absolute; left: 0; top: 2px; color: #baa377; font-size: 12px; font-family: ui-monospace, monospace; }
.hl-goal { border-top: 1px solid var(--hr-rule); padding-top: 18px; }
.hl-goal b { color: #c2cfb7; font-weight: 500; font-size: 13px; }
#main .hl-goal p { font-size: 13px; margin: 8px 0; }
.hl-quiz { border-top: 1px solid #a8956a44; padding-top: 30px; margin-top: 42px; }
#main .hl-quiz h3 { max-width: 720px; font-size: 22px; }
.hl-answers { display: grid; gap: 10px; margin-top: 22px; max-width: 760px; }
.hl-answers button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 18px; min-height: 52px; border: 1px solid #ffffff24; border-radius: 3px; background: none; color: var(--hr-body); font: inherit; font-size: 14px; text-align: left; line-height: 1.8; }
.hl-answers button > span { flex-shrink: 0; font-family: ui-monospace, monospace; font-size: 12px; color: #bca675; }
.hl-answers button[aria-pressed=true] { border-color: #c4aa76; background: #c4aa7608; color: #e4dbc9; }
.hl-feedback { max-width: 760px; padding: 18px 0 0; min-height: 70px; }
.hl-feedback b { color: #ddc390; font-size: 14px; font-weight: 550; }
.hl-feedback.hl-correct b { color: #a8c9b7; }
#main .hl-feedback p { font-size: 14px; margin: 7px 0; }
.hl-evidence { border-top: 1px solid var(--hr-rule); margin-top: 30px; padding-top: 10px; }
#main .hl-evidence p { font-size: 12px; color: #95a7b5; }
.hl-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hr-rule); }
.hl-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 24px; margin: 0 0 32px; padding: 22px 0 28px; border-top: 1px solid var(--hr-rule); border-bottom: 1px solid var(--hr-rule); }
.hl-teaser-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hl-teaser-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl-teaser-art > span { position: absolute; bottom: 0; left: 0; right: 0; background: #0d1923d9; padding: 6px 9px; color: #d0dbe1; font-size: 10px; }
#main .hl-teaser h2 { font-size: 23px; font-family: 'Songti SC', 'Noto Serif CJK SC', 'STSong', serif; }
#main .hl-teaser p { font-size: 13px; color: #a6b5bf; margin: 10px 0; }
.hl-teaser-link { color: #dcc18a; font-size: 13px; }
.hl-lessons-nav button .hl-nav-title { font: inherit; font-size: 13px; text-align: left; overflow-wrap: anywhere; }
.hl-lessons-nav button { max-width: 100%; min-height: 48px; }
.hl-mechanic-lead { display: flex; align-items: center; gap: 20px; padding: 24px 0; margin-bottom: 24px; border-top: 1px solid var(--hr-rule); border-bottom: 1px solid var(--hr-rule); }
.hl-skill-icon { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; border: 1px solid #ffffff26; object-fit: cover; }
#main .hl-mechanic-lead h3 { font-size: 20px; line-height: 1.8; font-weight: 500; margin: 5px 0 0; }
.hl-condition-demo { margin-top: 0; }
.hl-causal { padding: 22px 0 6px; }
.hl-causal-stage { position: relative; padding: 0 0 22px 38px; margin: 0; border-left: 1px solid #6f84944a; margin-left: 12px; }
.hl-causal-stage:last-child { border-left-color: transparent; padding-bottom: 12px; }
.hl-causal-number { position: absolute; left: -13px; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #617584; background: #14212d; color: #9bafbf; font: 10px/1 ui-monospace, monospace; border-radius: 50%; }
.hl-causal-stage.is-current .hl-causal-number { color: #f0d7a4; border-color: #d6b572; }
.hl-causal-stage.is-past .hl-causal-number { color: #b2d2c0; border-color: #829f90; }
.hl-causal-stage b { display: block; padding-top: 2px; font-size: 13px; font-weight: 500; color: #a4b6c3; }
.hl-causal-stage.is-current b { color: #e5cea0; }
#main .hl-causal-stage p { font-size: 14px; margin: 8px 0 0; line-height: 1.9; color: #c4d0d9; }
.hl-causal.is-alternate .hl-causal-stage:first-child .hl-causal-number { color: #e0b5a8; border-color: #b68577; }
.hl-recall { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 22px; border-top: 1px solid var(--hr-rule); padding-top: 28px; margin-top: 36px; }
#main .hl-recall h3 { font-size: 19px; }
.hl-recall > button { min-height: 44px; }
.hl-recall-answer { flex-basis: 100%; border-left: 2px solid #bda476; padding-left: 18px; }
#main .hl-recall-answer p { font-size: 14px; margin: 6px 0; }
.hl-evidence blockquote { margin: 14px 0; border-left: 2px solid #718596; padding: 8px 16px; color: #afc0cc; font-size: 13px; line-height: 1.9; }
.hl-mechanic-teaser .hl-teaser-art img { object-position: center 25%; }
@media (min-width: 651px) {
  #main .hr-tabs:has(a[href$='/practice']) { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hl-teaching-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; }
}
@media (max-width: 700px) {
  .hl-teaching-layout { grid-template-columns: 1fr; gap: 30px; }
  .hl-practice { border-left: 0; border-top: 1px solid var(--hr-rule); padding: 24px 0 0; }
  .hl-practice ol { margin-bottom: 6px; }
  .hl-practice li { padding-bottom: 14px; }
  .hl-watch { margin-bottom: 32px; }
  .hl-film-controls { align-items: start; flex-direction: column; gap: 0; }
  .hl-frame-picker { gap: 6px 18px; width: 100%; }
  .hl-frame-picker button { font-size: 12px; }
  .hl-simulator { padding: 14px; }
  .hl-map-label, .hl-map-result { font-size: 15px; }
  .hl-stepper button { font-size: 12px; }
  .hl-teaser { grid-template-columns: 1fr; gap: 18px; }
  .hl-teaser-art { aspect-ratio: 16 / 9; }
  .hl-intro { margin-bottom: 20px; }
  .hl-credit { display: grid; gap: 4px; }
  .hl-condition button { padding: 8px 5px; line-height: 1.7; }
  #main .hl-explain h3, #main .hl-quiz h3 { font-size: 20px; }
  .hl-mechanic-lead { align-items: start; gap: 14px; padding: 18px 0; }
  .hl-skill-icon { width: 48px; height: 48px; border-radius: 9px; }
  #main .hl-mechanic-lead h3 { font-size: 17px; }
  .hl-causal-stage { padding-left: 28px; }
  .hl-lessons-nav { gap: 0 20px; }
}
