/* 홈 움직임 — 선도학교 누리집처럼 선생님 캐릭터와 움직임으로 친근하고 한눈에 들어오게 (assets/js/pages/home-motion.js)
   html.mo      : 처음 들어올 때 한 번 나타나는 움직임(머리말 인라인 스크립트가 붙임)
   html.mo-js   : 스크롤하면 나타나기(home-motion.js가 붙임. 스크립트가 없으면 숨기지 않는다)
   html.mo-loop : 계속 도는 움직임. 슬로건 옆 멈춤 단추(❚❚/▶)와 함께 켜지고 꺼진다
   기본은 처음부터 움직임. 멈춤(❚❚)을 골라 둔 경우에만 셋 다 없는 원래 화면. 움직임은 transform·opacity만 쓴다. */

@keyframes mo-up { from { opacity: 0; transform: translateY(22px); } }
@keyframes mo-left { from { opacity: 0; transform: translateX(26px); } }
@keyframes mo-pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes mo-draw-y { from { transform: scaleY(0); } }
@keyframes mo-mark { from { background-size: 0% 100%; } }
@keyframes mo-peek { 0% { transform: translateY(78px); } 100% { transform: none; } }
@keyframes mo-jelly { 0%, 100% { transform: none; } 30% { transform: scale(1.16, .9); } 50% { transform: scale(.94, 1.08); } 70% { transform: scale(1.04, .97); } }
@keyframes mo-tilt { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }
@keyframes mo-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mo-cell { from { transform: scale(.2); background: var(--line-2); } }
@keyframes mo-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-5px); } }

/* ---------- 첫 화면: 차례로 나타나기 ---------- */
.mo .hero-copy > h1 { animation: mo-up .7s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.mo .hero-copy > .lead { animation: mo-up .7s cubic-bezier(.2, .8, .2, 1) .2s backwards; }
.mo .hero-copy > .ask-box { animation: mo-up .7s cubic-bezier(.2, .8, .2, 1) .3s backwards; }
.mo .ask-chips button { animation: mo-up .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.mo .ask-chips button:nth-child(1) { animation-delay: .45s; }
.mo .ask-chips button:nth-child(2) { animation-delay: .52s; }
.mo .ask-chips button:nth-child(3) { animation-delay: .59s; }
.mo .ask-chips button:nth-child(4) { animation-delay: .66s; }
.ask-chips button { transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), border-color .2s, color .2s, background-color .2s; }
.ask-chips button:hover { transform: translateY(-2px); background: var(--blue-soft); }

/* '연구'에 형광펜 */
.hero-copy h1 em { background: linear-gradient(transparent 64%, rgba(255, 205, 27, .55) 64% 92%, transparent 92%) no-repeat 0 0 / 100% 100%; }
.mo .hero-copy h1 em { animation: mo-mark .8s cubic-bezier(.6, 0, .2, 1) 1s backwards; }

.ask-box { transition: box-shadow .25s; }
.ask-box:focus-within { box-shadow: 0 0 0 5px rgba(36, 121, 247, .16), var(--shadow); }
#hero-send svg { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
#hero-send:hover svg { transform: translate(2px, -2px); }

/* ---------- 보고서 기본 틀: 장이 하나씩 쌓이고, 선생님이 카드 위로 고개를 내민다 ---------- */
.rv-stage { position: relative; isolation: isolate; margin-top: 64px; }
.rv-stage .report-visual { z-index: 1; }
.peek { position: absolute; z-index: 0; right: 40px; top: -76px; width: 104px; pointer-events: none; }
.peek .msc { display: block; width: 104px; height: auto; }
.peek-say { position: absolute; z-index: 2; right: 150px; top: -60px; max-width: min(250px, calc(100% - 160px)); white-space: nowrap; }
.peek-say.msc-bubble::after { left: auto; right: -7px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
.mo .peek .msc { animation: mo-peek .9s cubic-bezier(.3, 1.5, .5, 1) 1.3s backwards; }
.mo .peek.ready .msc { animation: none; }
.mo .peek-say { animation-delay: 1.9s; }
.rv-stage .peek-say.swap { animation: msc-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
html:not(.mo) .peek-say { animation: none; }

.mo .rv-stage .report-visual { animation: mo-up .8s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.chain { position: relative; }
.chain::before { content: ""; position: absolute; left: 16px; top: 17px; bottom: 17px; width: 2px; border-radius: 2px; transform-origin: top;
  background: linear-gradient(var(--navy), var(--blue), var(--teal), #c99a00, var(--orange), var(--coral)); }
.chain .row { position: relative; }
.mo .chain::before { animation: mo-draw-y 1s cubic-bezier(.5, 0, .2, 1) .4s backwards; }
.mo .chain .row { animation: mo-left .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.mo .chain .no { animation: mo-pop .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.mo .chain .row:nth-child(1), .mo .chain .row:nth-child(1) .no { animation-delay: .35s; }
.mo .chain .row:nth-child(2), .mo .chain .row:nth-child(2) .no { animation-delay: .45s; }
.mo .chain .row:nth-child(3), .mo .chain .row:nth-child(3) .no { animation-delay: .55s; }
.mo .chain .row:nth-child(4), .mo .chain .row:nth-child(4) .no { animation-delay: .65s; }
.mo .chain .row:nth-child(5), .mo .chain .row:nth-child(5) .no { animation-delay: .75s; }
.mo .chain .row:nth-child(6), .mo .chain .row:nth-child(6) .no { animation-delay: .85s; }
.mo .chain-link { animation: mo-up .6s cubic-bezier(.2, .8, .2, 1) 1.05s backwards; }

/* 논리의 사슬: 연구 문제 → 실행 과제 → 결과 → 결론에 차례로 불이 들어오고, 해당 장도 함께 밝아진다 */
.chain .no { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .35s; }
.chain .body { transition: background-color .35s, box-shadow .35s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.chain .row.lit .body, .chain .row.pick .body, .chain .row:hover .body { background: color-mix(in srgb, var(--c) 8%, #fff); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 18%, transparent); transform: translateX(4px); }
.chain .row.lit .no, .chain .row.pick .no, .chain .row:hover .no { transform: scale(1.1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.chain-link .flow span { transition: background-color .3s, color .3s, transform .3s cubic-bezier(.3, 1.6, .5, 1); cursor: default; }
.chain-link .flow span.on, .chain-link .flow span:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.chain-link .flow i { display: inline-block; transition: transform .3s; }
.chain-link .flow i.on { transform: scale(1.35); }
.chain-link .flow .ok { display: none; font-size: 13px; color: var(--yellow); margin-left: 2px; }
.chain-link .flow.done .ok { display: inline-block; animation: mo-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }

/* ---------- 빠른 메뉴: 톡톡 올라오고, 올리면 아이콘이 말랑 ---------- */
.mo .quick a { animation: mo-up .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.mo .quick a:nth-child(1) { animation-delay: .70s; }
.mo .quick a:nth-child(2) { animation-delay: .76s; }
.mo .quick a:nth-child(3) { animation-delay: .82s; }
.mo .quick a:nth-child(4) { animation-delay: .88s; }
.mo .quick a:nth-child(5) { animation-delay: .94s; }
.mo .quick a:nth-child(6) { animation-delay: 1s; }
.mo .quick a:nth-child(7) { animation-delay: 1.06s; }
.mo .quick a:nth-child(8) { animation-delay: 1.12s; }
.quick a { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s, border-color .2s; }
.quick a:hover, .quick a:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(1, 45, 99, .12); }
.mo-loop .quick a:hover .ico { animation: mo-jelly .6s ease; }
.mo-loop .quick a:hover .ico svg { animation: mo-tilt .6s ease; }

/* ---------- 스크롤하면 나타나기 ---------- */
.mo-js .rv { opacity: 0; }
.mo-js .rv.in { opacity: 1; animation: mo-up .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 90ms) backwards; }

/* ---------- 6개 장 길잡이: 연필이 길을 따라가며 장을 하나씩 연다 ---------- */
.road { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 40px; margin: -6px 0 6px; }
.road .lane { position: absolute; top: 50%; height: 4px; margin-top: -2px; left: calc((100% - 60px) / 12); right: calc((100% - 60px) / 12); border-radius: 4px; background: var(--line); }
.road .fill { position: absolute; inset: 0; border-radius: 4px; transform-origin: left;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal), #c99a00, var(--orange), var(--coral)); }
.road .pen-go { position: absolute; inset: 0; opacity: 0; }
.road .pen { position: absolute; left: 0; top: -30px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(1, 45, 99, .14); color: var(--navy); display: grid; place-items: center; }
.road .pen svg { width: 15px; height: 15px; }
.road i { position: relative; z-index: 1; justify-self: center; align-self: center; width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c); }
.road i b { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 12.5px; font-weight: 800; color: var(--coral); white-space: nowrap; font-style: normal; }
.mo-js .road .fill { transform: scaleX(0); }
.mo-js .road i { background: #fff; box-shadow: 0 0 0 2px var(--line); transition: background-color .3s, box-shadow .3s; }
.mo-js .road i b { opacity: 0; }
.mo-js .road.in .fill { transform: none; transition: transform 2.3s cubic-bezier(.45, .05, .55, .95); }
.mo-js .road.in .pen-go { opacity: 1; transition: opacity .2s; }
.mo-js .road.in .pen { left: 100%; transition: left 2.3s cubic-bezier(.45, .05, .55, .95); }
.mo-js .road.in .pen-go.end { opacity: 0; transition: opacity .4s; }
.mo-js .road.in .pen svg { animation: mo-tilt .46s ease-in-out 5; }
.mo-js .road.in i { background: var(--c); box-shadow: 0 0 0 2px var(--c); animation: mo-pop .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.mo-js .road.in i b { opacity: 1; animation: mo-pop .5s cubic-bezier(.3, 1.6, .5, 1) 2.45s backwards; }
.mo-js .road.in i:nth-of-type(1) { animation-delay: .05s; transition-delay: .05s; }
.mo-js .road.in i:nth-of-type(2) { animation-delay: .5s; transition-delay: .5s; }
.mo-js .road.in i:nth-of-type(3) { animation-delay: .95s; transition-delay: .95s; }
.mo-js .road.in i:nth-of-type(4) { animation-delay: 1.4s; transition-delay: 1.4s; }
.mo-js .road.in i:nth-of-type(5) { animation-delay: 1.85s; transition-delay: 1.85s; }
.mo-js .road.in i:nth-of-type(6) { animation-delay: 2.3s; transition-delay: 2.3s; }
.mo-js .journey a.rv.in { animation-delay: calc(var(--i) * .45s); }
.journey a { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s, border-color .2s; }
.journey a:hover, .journey a:focus-visible { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(1, 45, 99, .1); }
.journey .go svg { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.journey a:hover .go svg { transform: translateX(5px); }

/* ---------- KERIS 네 가지: 숫자가 올라가고 작은 그림이 뜻을 보여 준다 ---------- */
.stat { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.viz { margin: 8px 0 6px; min-height: 34px; }
.viz small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-top: 4px; }
/* 86교 중 44교 */
.waffle { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 2px; max-width: 260px; }
.waffle i { aspect-ratio: 1; border-radius: 2px; background: #d5dbe5; }
.waffle i.on { background: var(--navy); }
.mo-js .stat.in .waffle i.on { animation: mo-cell .3s ease calc(.25s + var(--k) * 16ms) backwards; }
/* 과제 3개 */
.steps3 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.steps3 span { font-size: 12.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); }
.steps3 span:nth-of-type(2) { background: var(--teal-soft); color: #00807d; }
.steps3 span:nth-of-type(3) { background: var(--orange-soft); color: #c26400; }
.steps3 i { width: 12px; height: 2px; background: var(--ink-3); position: relative; transform-origin: left; }
.steps3 i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 5px solid var(--ink-3); border-right: 0; }
.mo-js .stat.in .steps3 > * { animation: mo-pop .45s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.mo-js .stat.in .steps3 > :nth-child(1) { animation-delay: .3s; }
.mo-js .stat.in .steps3 > :nth-child(2) { animation-delay: .55s; }
.mo-js .stat.in .steps3 > :nth-child(3) { animation-delay: .75s; }
.mo-js .stat.in .steps3 > :nth-child(4) { animation-delay: 1s; }
.mo-js .stat.in .steps3 > :nth-child(5) { animation-delay: 1.2s; }
/* 12교 중 1교 */
.row12 { display: flex; gap: 4px; }
.row12 i { width: 15px; height: 15px; background: #d5dbe5; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
.row12 i.on { background: var(--orange); }
.mo-js .stat.in .row12 i { animation: mo-pop .35s ease calc(.2s + var(--k) * 50ms) backwards; }
.mo-loop .stat.in .row12 i.on { animation: mo-pop .35s ease .8s backwards, mo-hop 1.6s ease-in-out 1.4s infinite; }
/* 고유 수업 모형 */
.bulb svg { width: 64px; height: 40px; display: block; overflow: visible; }
.bulb .rays path { transform-box: fill-box; transform-origin: center; }
.mo-js .stat.in .bulb .glass { animation: mo-pop .5s cubic-bezier(.3, 1.6, .5, 1) .2s backwards; transform-box: fill-box; transform-origin: 50% 100%; }
.mo-js .stat.in .bulb .rays path { animation: mo-pop .4s ease backwards; }
.mo-js .stat.in .bulb .rays path:nth-child(1) { animation-delay: .9s; }
.mo-js .stat.in .bulb .rays path:nth-child(2) { animation-delay: 1s; }
.mo-js .stat.in .bulb .rays path:nth-child(3) { animation-delay: 1.1s; }
.mo-js .stat.in .bulb .rays path:nth-child(4) { animation-delay: 1.2s; }
.mo-js .stat.in .bulb .rays path:nth-child(5) { animation-delay: 1.3s; }
.mo-loop .stat.in .bulb .rays { animation: msc-glow 2.4s ease-in-out 1.6s infinite; }

/* ---------- 효과크기: 막대가 자라고, 기준선(0.2·0.5·0.8)으로 크기를 읽는다 ---------- */
.eff-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 14px; }
.eff-buddy { display: flex; align-items: center; gap: 10px; }
.eff-buddy .msc-bubble { max-width: 200px; font-size: 13px; padding: 7px 12px; }
.eff-buddy .msc-bubble::after { left: auto; right: -7px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
.eff-buddy .msc { width: 92px; height: auto; flex: none; }
.mo-js .eff-card .eff-buddy .msc-bubble { animation: none; }
.mo-js .eff-card.in .eff-buddy .msc-bubble { animation: msc-pop .55s cubic-bezier(.34, 1.56, .64, 1) 1.4s both; }
.mo-js .eff-card:not(.in) .eff-buddy .msc-bubble { opacity: 0; }

.eb-scale { display: grid; grid-template-columns: 210px minmax(0, 1fr) 56px; gap: 10px; align-items: end; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.eb-scale .lg { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.eb-scale .lg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.eb-scale .lg i + i { margin-left: 8px; }
.eb-scale .sc { position: relative; height: 18px; }
.eb-scale .sc em { position: absolute; bottom: 0; transform: translateX(-50%); font-style: normal; font-weight: 700; white-space: nowrap; }
.effect-bars .eb .track { position: relative; }
.effect-bars .eb .track::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(14.29% - 1px), rgba(1, 45, 99, .28) calc(14.29% - 1px) 14.29%, transparent 14.29% calc(35.71% - 1px), rgba(1, 45, 99, .28) calc(35.71% - 1px) 35.71%, transparent 35.71% calc(57.14% - 1px), rgba(1, 45, 99, .28) calc(57.14% - 1px) 57.14%, transparent 57.14%); }
.mo-js .effect-bars .eb .track i { transform: scaleX(0); transform-origin: left; }
.mo-js .effect-bars.in .eb .track i { transform: none; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) calc(.15s + var(--k) * 110ms); }
.effect-bars .eb { transition: background-color .2s; border-radius: 8px; }
.effect-bars .eb:hover { background: var(--bg-2); }

/* ---------- AI 심층 피드백: 보고서를 훑고 메모가 붙는다 ---------- */
.band-side { display: grid; justify-items: center; gap: 16px; }
.scan { position: relative; width: 270px; height: 168px; }
.scan .paper { position: absolute; left: 6px; top: 6px; width: 120px; height: 156px; background: #fff; border-radius: 8px; padding: 14px 12px; display: grid; align-content: start; gap: 9px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transform: rotate(-4deg); }
.scan .paper b { height: 8px; width: 64%; border-radius: 4px; background: var(--navy); }
.scan .paper i { height: 5px; border-radius: 3px; background: #dfe4ec; }
.scan .paper i.s { width: 70%; }
.scan .paper i.hl { background: linear-gradient(90deg, rgba(255, 205, 27, .9), rgba(255, 205, 27, .9)) no-repeat 0 0 / 100% 100%, #dfe4ec; }
.scan .beam { position: absolute; left: 0; right: 0; top: 0; height: 22px; opacity: 0; background: linear-gradient(180deg, rgba(36, 121, 247, 0), rgba(36, 121, 247, .28) 70%, rgba(36, 121, 247, .7)); }
.scan .note { position: absolute; left: 92px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy); border-radius: 10px; padding: 6px 10px 6px 7px; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
.scan .note em { font-style: normal; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; color: #fff; font-size: 11.5px; font-weight: 900; }
.scan .note .ok { background: var(--green); }
.scan .note .warn { background: var(--orange); }
.scan .note .sc { background: var(--blue); }
.scan .n1 { top: 14px; }
.scan .n2 { top: 66px; left: 104px; }
.scan .n3 { top: 118px; }
@keyframes mo-beam { 0% { transform: translateY(-22px); opacity: 0; } 4% { opacity: 1; } 42% { transform: translateY(150px); opacity: 1; } 46%, 100% { transform: translateY(150px); opacity: 0; } }
@keyframes mo-note { 0%, 10% { opacity: 0; transform: translateX(-14px) scale(.7); } 17%, 84% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateX(6px); } }
@keyframes mo-hl { 0%, 14% { background-size: 0% 100%, auto; } 22%, 100% { background-size: 100% 100%, auto; } }
.mo-loop .scan .beam { animation: mo-beam 7s cubic-bezier(.45, 0, .55, 1) infinite; }
.mo-loop .scan .note { animation: mo-note 7s cubic-bezier(.3, 1.4, .5, 1) infinite backwards; }
.mo-loop .scan .n2 { animation-delay: .9s; }
.mo-loop .scan .n3 { animation-delay: 1.8s; }
.mo-loop .scan .paper i.hl { animation: mo-hl 7s ease infinite; }
.mo-loop .scan .paper i.hl.s { animation-delay: .9s; }
.band .btn-orange svg { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.band .btn-orange:hover svg { transform: scale(1.2) rotate(-10deg); }

/* ---------- 공지·일정: 줄이 차례로 들어오고, 다가오는 일정이 두근 ---------- */
.mo-js .card.in .list li, .mo-js .card.in .timeline li { animation: mo-up .5s cubic-bezier(.2, .8, .2, 1) calc(.2s + var(--k, 0) * 90ms) backwards; }
.list li:nth-child(2), .timeline li:nth-child(2) { --k: 1; }
.list li:nth-child(3), .timeline li:nth-child(3) { --k: 2; }
.list li:nth-child(4), .timeline li:nth-child(4) { --k: 3; }
.list li:nth-child(5), .timeline li:nth-child(5) { --k: 4; }
.list a { transition: background-color .2s, padding-left .25s; }
.list a:hover { padding-left: 12px; }
.timeline li.next .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; }
.mo-loop .timeline li.next .dot::after { animation: mo-ring 1.8s ease-out infinite; }

/* ---------- 오른쪽 아래 AI 도우미: 선생님 얼굴 ---------- */
.fab .av.face { position: relative; overflow: hidden; background: var(--yellow); }
.fab .av.face svg { position: absolute; left: 50%; top: 2px; width: 44px; height: 44px; margin-left: -22px; }
.fab .av.face .ai { position: absolute; right: -1px; bottom: -1px; z-index: 1; background: var(--navy); color: var(--yellow); font-size: 9px; font-weight: 900; line-height: 1; padding: 2px 3px; border-radius: 5px; border: 1.5px solid var(--yellow); }

/* 계속 도는 움직임을 멈추면 캐릭터도 멈춘다 */
html:not(.mo-loop) .msc * { animation-play-state: paused !important; }

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .road { display: none; }
  .mo-js .journey a.rv.in { animation-delay: calc(var(--i) * 90ms); }
}
@media (max-width: 960px) {
  .rv-stage { margin-top: 70px; }
  .effect-bars .eb .track::after { opacity: .7; }
  .eb-scale { grid-template-columns: 150px minmax(0, 1fr) 50px; }
}
@media (max-width: 640px) {
  .peek { right: 18px; width: 92px; top: -66px; }
  .peek .msc { width: 92px; }
  .peek-say { right: 118px; max-width: calc(100% - 124px); white-space: normal; font-size: 13px; top: -58px; }
  .eff-top { grid-template-columns: minmax(0, 1fr); }
  .eff-buddy { justify-content: flex-end; }
  .eb-scale { grid-template-columns: minmax(0, 1fr) 48px; }
  .eb-scale .lg { grid-column: 1 / -1; }
  .eb-scale .sc { grid-column: 1 / -1; }
  .band-side { justify-items: stretch; }
  .scan { margin-inline: auto; }
}
