/* 그룹 필기 카드: 한 악보에 여러 파트가 차례로 적는 장면 (11-16).
   획은 SVG pathLength=1 + dashoffset, 파트마다 같은 12초 주기를 delay로 어긋나게 돌린다. */
.live-rows {margin-top:30px;}
.live-sheet {container-type:inline-size;}
.live-sheet img {position:static;display:block;width:100%;height:auto;}
.live-sheet svg {position:absolute;inset:0;width:100%;height:100%;}
.live-ink {fill:none;stroke:var(--ink);stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:live-ink 12s var(--at) infinite backwards;}
.live-chip {position:absolute;left:var(--x);top:var(--y);transform:translateY(-50%);display:flex;align-items:center;gap:.4em;padding:.28em .7em .28em .5em;border-radius:99px;background:#fff;color:#3b3442;font-size:10px;font-size:clamp(8px,2.35cqw,12px);font-weight:700;letter-spacing:-.02em;line-height:1.2;white-space:nowrap;box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 35%,transparent),0 3px 8px #3929431f;}
.live-chip:before {content:"";width:.62em;height:.62em;border-radius:50%;background:var(--ink);}
.live-chip[style*="--at"] {animation:live-chip 12s var(--at) infinite backwards;}
.live-count {position:absolute;right:3%;top:5%;display:flex;align-items:center;gap:.5em;padding:.3em .8em;border-radius:99px;background:#2b2333;color:#fff;font-size:10px;font-size:clamp(8px,2.2cqw,11.5px);font-weight:700;white-space:nowrap;}
.live-count i {width:.6em;height:.6em;border-radius:50%;background:#4fd08a;animation:live-pulse 1.6s ease-in-out infinite;}
@keyframes live-ink {0% {stroke-dashoffset:1;opacity:0;} 1% {stroke-dashoffset:1;opacity:1;} 10%,86% {stroke-dashoffset:0;opacity:1;} 92%,100% {stroke-dashoffset:0;opacity:0;}}
@keyframes live-chip {0% {opacity:0;transform:translateY(-50%) scale(.7);} 3%,86% {opacity:1;transform:translateY(-50%) scale(1);} 92%,100% {opacity:0;transform:translateY(-50%) scale(1);}}
@keyframes live-pulse {50% {opacity:.35;}}
@media(prefers-reduced-motion:reduce) {
  .live-ink,.live-chip[style*="--at"],.live-count i {animation:none;}
  .live-ink {stroke-dashoffset:0;}
}

/* 11-17 나머지 카드도 움직이는 장면으로 */
.live-box {container-type:inline-size;}
/* MPDF: 마킹을 누르면 그 자리부터 재생 막대가 흐른다 */
.live-tap {position:absolute;left:var(--x);top:var(--y);width:9cqw;height:9cqw;margin:-4.5cqw 0 0 -4.5cqw;border-radius:50%;border:.7cqw solid var(--ink,#6c47ff);opacity:0;animation:live-tap var(--dur,8s) var(--at,0s) infinite backwards;}
.live-head {position:absolute;left:var(--x);top:28%;bottom:14%;width:.7cqw;border-radius:9px;background:#6c47ff;box-shadow:0 0 0 1.4cqw #6c47ff22;opacity:0;animation:live-head 8s var(--at) infinite backwards;}
@keyframes live-tap {0% {opacity:0;transform:scale(.4);} 3% {opacity:.9;transform:scale(1);} 9%,100% {opacity:0;transform:scale(1.7);}}
@keyframes live-head {0%,4% {opacity:0;transform:none;} 7% {opacity:1;transform:none;} 44% {opacity:1;transform:translateX(60cqw);} 48%,100% {opacity:0;transform:translateX(60cqw);}}
/* 내 서재: 책등이 차례로 들썩 */
.art-piece.live-spines {display:grid;grid-template-columns:repeat(8,1fr);overflow:visible;background:none;box-shadow:none;}
.live-spines span {background:var(--img) calc(var(--i) * 100% / 7) 0 / 800% 100% no-repeat;animation:live-bob 6.4s calc(var(--i) * .32s + .8s) infinite backwards;}
@keyframes live-bob {0%,14%,100% {transform:none;} 6% {transform:translateY(-7%);}}
/* 공연 시작 모드: 오른쪽을 톡 → 다음 곡 */
.live-stage img {position:absolute;inset:0;width:100%;height:100%;}
.live-stage .next {animation:live-next 9s infinite backwards;}
.live-stage .live-tap {--dur:9s;--at:2.5s;--ink:#6c47ff;}
@keyframes live-next {0%,34% {transform:translateX(100%);opacity:1;} 40%,90% {transform:none;opacity:1;} 97%,100% {transform:none;opacity:0;}}
/* 형광펜: 줄 위를 한 번 더 긋는다 */
.live-band {position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);background:var(--ink);mix-blend-mode:multiply;transform-origin:0 50%;border-radius:.4cqw;animation:live-band 8s var(--at) infinite backwards;}
@keyframes live-band {0% {transform:scaleX(0);opacity:1;} 14%,78% {transform:scaleX(1);opacity:1;} 88%,100% {transform:scaleX(1);opacity:0;}}
@media(prefers-reduced-motion:reduce) {
  .live-tap,.live-head,.live-spines span,.live-stage .next,.live-band {animation:none;}
  .live-stage .next,.live-band {display:none;}
}
/* 곡별로 나누기: 조각이 차례로 살짝 들린다 (translate라 등장 transform과 안 겹침) */
.split-panels .art-piece {animation:live-pop 6s calc(var(--piece-delay) * 4 + 1s) infinite backwards;}
@keyframes live-pop {0%,16%,100% {translate:0 0;} 8% {translate:0 -5%;}}
@media(prefers-reduced-motion:reduce) {.split-panels .art-piece {animation:none;}}

/* 11-17 MPDF 재생창: 마킹을 누르면 떠서 재생 위치가 흐른다 (앱 재생창을 본뜬 그림) */
.mpdf-player {position:absolute;z-index:2;left:4%;bottom:-64px;width:min(62%,270px);padding:9px 13px 11px;border-radius:14px;background:#fffdf6;color:#6c35c9;box-shadow:0 0 0 1px #6c47ff22,0 12px 28px #2b1a4a2e;font-size:11px;font-weight:750;line-height:1;animation:mpdf-pop 8s .5s infinite backwards;transform-origin:20% 0;}
.mpdf-player b {display:flex;justify-content:space-between;padding-bottom:7px;border-bottom:1px solid #6c47ff1c;letter-spacing:.02em;}
.mpdf-keys {display:flex;justify-content:center;align-items:center;gap:9px;margin:8px 0 9px;}
.mpdf-keys span {padding:6px 9px;border-radius:8px;background:#f0e9fb;font-size:10px;}
.mpdf-keys i {width:28px;height:28px;border-radius:50%;border:2px solid currentColor;background:linear-gradient(currentColor,currentColor) 9px 50%/3px 10px no-repeat,linear-gradient(currentColor,currentColor) 14px 50%/3px 10px no-repeat;}
.mpdf-bar {display:flex;align-items:center;gap:8px;color:#6d6276;font-size:9.5px;font-weight:600;font-variant-numeric:tabular-nums;}
.mpdf-bar u {flex:1;height:4px;border-radius:4px;background:#e6dcf7;position:relative;text-decoration:none;}
.mpdf-bar u:before {content:"";position:absolute;inset:0;border-radius:4px;background:#6c47ff;transform-origin:0 50%;animation:mpdf-fill 8s .5s linear infinite backwards;}
.mpdf-bar u:after {content:"";position:absolute;top:-5px;left:-7px;width:14px;height:14px;box-sizing:border-box;border-radius:50%;background:#fff;border:2.5px solid #6c47ff;animation:mpdf-knob 8s .5s linear infinite backwards;}
.mpdf-now {height:1em;overflow:hidden;}
.mpdf-now span {display:block;white-space:pre;animation:mpdf-tick 8s .5s steps(16) infinite backwards;}
.mpdf-bar u,.mpdf-now {container-type:normal;}
.mpdf-wrap {container-type:inline-size;flex:1;display:flex;}
@keyframes mpdf-pop {0%,3% {opacity:0;transform:translateY(10px) scale(.9);} 7%,94% {opacity:1;transform:none;} 99%,100% {opacity:0;transform:none;}}
@keyframes mpdf-fill {0%,4% {transform:scaleX(0);} 100% {transform:scaleX(.64);}}
@keyframes mpdf-knob {0%,4% {transform:none;} 100% {transform:translateX(64cqw);}}
@keyframes mpdf-tick {0%,4% {transform:none;} 100% {transform:translateY(-16em);}}

/* 첫 화면 제목: 파트별 필기가 제목 위에 그려진다 (한 번만) */
.ink {position:relative;display:inline-block;}
.ink svg {position:absolute;overflow:visible;pointer-events:none;}
.ink path {fill:none;stroke:var(--ink);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.ink svg {animation:hero-ink .8s var(--at) cubic-bezier(.4,0,.2,1) both;}
.ink-c svg {inset:-.1em -.22em -.12em;width:calc(100% + .44em);height:calc(100% + .22em);}
.ink-u svg {left:0;bottom:-.14em;width:100%;height:.22em;}
.ink .live-chip {animation:hero-chip .45s calc(var(--at) + .5s) cubic-bezier(.3,1.5,.5,1) both;letter-spacing:-.02em;font-size:clamp(9.5px,1vw,12.5px);}
.ink-c .live-chip {left:calc(100% + .1em);top:-.02em;}
.ink-u .live-chip {left:auto;right:0;top:calc(100% + .14em + 13px);}
@media(max-width:640px) {.hero-description {margin-top:28px;}}
@keyframes hero-ink {from {clip-path:inset(-30% 105% -30% -5%);} to {clip-path:inset(-30% -5%);}}
@keyframes hero-chip {from {opacity:0;transform:translateY(-50%) scale(.6);} to {opacity:1;transform:translateY(-50%) scale(1);}}
@media(prefers-reduced-motion:reduce) {
  .mpdf-player,.mpdf-bar u:before,.mpdf-bar u:after,.mpdf-now span,.ink svg,.ink .live-chip {animation:none;}
  .mpdf-bar u:before {transform:scaleX(.3);}
}

/* 11-17 공연 일정 카드: 날짜 일정을 누르면 그날 악보가 펼쳐진다 */
.card-sched {background:#f3ebe3;}
.card-sched .feature-copy h3 em {color:#a0744f;}
.sched-rows {margin-top:26px;gap:12px;}
.sched-rows .sched-date {width:62%;--enter-x:-28px;--enter-y:0px;box-shadow:0 0 0 4px #fff,0 8px 20px #5b3d2414;}
.sched-rows .sched-date .live-tap {--dur:7s;--at:1s;--ink:#6c47ff;}
.sched-rows .sched-songs {--enter-y:48px;animation:live-lift 7s 1.4s infinite backwards;}
@keyframes live-lift {0%,12%,100% {translate:0 0;} 5% {translate:0 -3%;}}
/* 마무리: 파트 이름표가 차례로 모이고 문구에 밑줄 */
.closing-parts {display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 auto 26px;position:relative;z-index:1;}
.closing-parts .live-chip {position:static;transform:none;font-size:12px;padding:.4em .85em .4em .65em;animation:part-pop .5s calc(var(--i) * .14s + .2s) cubic-bezier(.3,1.5,.5,1) both;}
.closing-parts .live-count {position:static;font-size:12px;background:#ffffff14;animation:part-pop .5s 1s cubic-bezier(.3,1.5,.5,1) both;}
.closing .ink svg {--at:1.2s;}
.closing-inner:not(.is-visible) .closing-parts>*,.closing-inner:not(.is-visible) .ink svg {animation-play-state:paused;}
@keyframes part-pop {from {opacity:0;transform:translateY(14px) scale(.7);} to {opacity:1;transform:none;}}
@media(prefers-reduced-motion:reduce) {.sched-rows .sched-songs,.closing-parts>* {animation:none;}}
.closing h2 {margin-bottom:32px;}

/* iPhone · 기기 간 동기화 카드 (1.3 출시 뒤 게시) */
.card-phone {background:#e7e9f5;}
.card-phone .feature-copy h3 em {color:#5b62b5;}
.phone-rows {grid-template-columns:repeat(2,minmax(0,150px));justify-content:center;align-items:start;gap:34px;margin-top:26px;}
.phone-rows .art-piece {border:5px solid #1c1722;border-radius:24px;background:#1c1722;box-shadow:0 14px 28px #2b2a5524;--enter-y:60px;}
.phone-rows .art-piece img {position:static;display:block;width:100%;height:auto;border-radius:18px;}
.phone-rows .art-piece:nth-child(2) {margin-top:26px;animation:live-lift 6s 1.6s infinite backwards;}
.sync-chip {position:absolute;z-index:2;left:50%;top:44%;translate:-50% 0;display:flex;align-items:center;gap:.5em;padding:.5em .9em;border-radius:99px;background:#2b2333;color:#fff;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 8px 18px #1b163033;}
.sync-chip i {width:.9em;height:.9em;border-radius:50%;border:2px solid #7fe0a8;border-right-color:transparent;animation:sync-spin 1.4s linear infinite;}
@keyframes sync-spin {to {transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce) {.phone-rows .art-piece:nth-child(2),.sync-chip i {animation:none;}}

/* 11-17 휴대폰 화면 점검 뒤 보정 */
.mpdf-player {z-index:4;}
:lang(ja) .feature-copy p {word-break:normal;line-break:strict;}
@media(max-width:640px) {.ink-c .live-chip {left:auto;right:-.35em;top:-.5em;}}

/* 11-17 iPhone 출시: 오선 위에 음표처럼 놓인 iPhone 세 대 */
.new-pill {display:inline-flex;align-items:center;gap:.65em;margin-bottom:20px;padding:.4em 1em .4em .42em;border:1px solid #ffffff26;border-radius:99px;color:#efe9f7;font-size:13px;font-weight:650;transition:border-color .2s;}
.new-pill:hover {border-color:#ffffff66;}
.new-pill b,.pocket-eyebrow b {padding:.2em .62em;border-radius:99px;background:#3fd598;color:#10241a;font-size:.8em;font-weight:800;letter-spacing:.09em;}
.pocket {overflow:hidden;background:#17121e;border-top:1px solid #ffffff12;padding:104px 0 112px;scroll-margin-top:0;}
.pocket-inner {display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:center;}
.pocket-eyebrow {display:flex;align-items:center;gap:.9em;color:#bdb2ca;}
.pocket h2 {margin-top:20px;font-size:clamp(34px,4.3vw,54px);line-height:1.2;letter-spacing:-.045em;font-weight:750;}
.pocket h2 em {font-style:normal;color:var(--lavender);}
.pocket-lead {margin-top:22px;max-width:31em;color:#cdc5d8;font-size:16px;}
.pocket-points {list-style:none;margin:30px 0 0;padding:0;counter-reset:pocket;border-top:1px solid #ffffff18;}
.pocket-points li {counter-increment:pocket;display:grid;grid-template-columns:2.4em minmax(0,1fr);align-items:baseline;padding:14px 0;border-bottom:1px solid #ffffff18;font-size:14px;}
.pocket-points li::before {content:"0" counter(pocket);grid-row:span 2;color:#3fd598;font-size:11px;font-weight:700;letter-spacing:.1em;}
.pocket-points b {font-size:15px;font-weight:700;}
.pocket-points span {color:#a89fb5;}
.pocket-store {display:inline-flex;align-items:center;gap:.6em;margin-top:30px;padding:.85em 1.4em;border-radius:99px;background:var(--cream);color:var(--ink);font-size:15px;font-weight:700;transition:translate .2s;}
.pocket-store:hover {translate:0 -2px;}
.pocket-store svg {width:1.15em;height:1.15em;fill:currentColor;}
.pocket-stage {position:relative;container-type:inline-size;aspect-ratio:100/88;}
.pocket-stage::before {content:"";position:absolute;left:-32px;right:-50vw;top:33%;height:31%;
  background:linear-gradient(#ffffff24 0 0) 0 0/100% 1px,linear-gradient(#ffffff24 0 0) 0 25%/100% 1px,linear-gradient(#ffffff24 0 0) 0 50%/100% 1px,linear-gradient(#ffffff24 0 0) 0 75%/100% 1px,linear-gradient(#ffffff24 0 0) 0 100%/100% 1px;background-repeat:no-repeat;}
.iphone {--w:28cqw;position:absolute;width:var(--w);border:calc(var(--w)*.035) solid #08060b;border-radius:calc(var(--w)*.19);background:#08060b;box-shadow:0 0 0 1px #ffffff26,0 3.2cqw 6cqw #000a;}
.iphone img {width:100%;height:auto;border-radius:calc(var(--w)*.158);}
.iphone-home {left:1cqw;top:21cqw;rotate:-3.5deg;}
.iphone-ink {--w:34cqw;left:33cqw;top:3cqw;z-index:2;}
.iphone-perf {right:1cqw;top:12cqw;rotate:3.5deg;}
.iphone svg {position:absolute;inset:0;width:100%;height:100%;}
.iphone path {fill:none;stroke:#1f9d6b;stroke-width:10;stroke-linecap:round;stroke-dasharray:1;}
.pocket-chip {position:absolute;z-index:3;top:-3.6cqw;right:-10cqw;display:flex;align-items:center;gap:.55em;padding:.5em .95em;border-radius:99px;background:#fff;color:#1c1722;font-size:clamp(10px,2.5cqw,14px);font-weight:700;white-space:nowrap;box-shadow:0 1.4cqw 3cqw #0008;}
.pocket-chip i {width:.62em;height:.62em;border-radius:50%;background:#1f9d6b;}
@media(prefers-reduced-motion:no-preference) {
  .pocket-stage.is-visible .iphone {animation:pocket-rise 1s cubic-bezier(.16,1,.3,1) both;}
  .pocket-stage.is-visible .iphone-ink {animation-delay:.12s;}
  .pocket-stage.is-visible .iphone-perf {animation-delay:.24s;}
  .pocket-stage.is-visible .iphone path {animation:pocket-ink 7s 1.5s infinite both;}
  .pocket-stage.is-visible .pocket-chip {animation:pocket-chip 7s 1.5s infinite both;}
}
@keyframes pocket-rise {from {opacity:0;translate:0 8cqw;}}
@keyframes pocket-ink {0% {stroke-dashoffset:1;opacity:1;} 15% {stroke-dashoffset:0;} 88% {stroke-dashoffset:0;opacity:1;} 96%,100% {stroke-dashoffset:0;opacity:0;}}
@keyframes pocket-chip {0%,13% {opacity:0;scale:.8;} 18%,88% {opacity:1;scale:1;} 96%,100% {opacity:0;scale:1;}}
@media(max-width:900px) {
  .pocket {padding:72px 0 80px;}
  .pocket-inner {grid-template-columns:1fr;gap:52px;}
  .pocket-stage {max-width:520px;width:100%;margin-inline:auto;}
  .pocket-stage::before {left:-50vw;}
}
@media(max-width:640px) {
  .pocket-stage {aspect-ratio:100/108;}
  .iphone {--w:33cqw;}
  .iphone-home {left:-1cqw;top:27cqw;}
  .iphone-ink {--w:46cqw;left:27cqw;top:4cqw;}
  .iphone-perf {right:-1cqw;top:17cqw;}
  .pocket-chip {right:-12cqw;}
}

/* 11-17 색면판: 스토어 사진(빨강 단색·검정 큰 글자·흰 물결 밑줄)과 같은 결 */
:root {--pk:#f7c948;}
.new-pill {border-color:transparent;background:var(--pk);color:#17121e;font-weight:750;}
.new-pill:hover {border-color:transparent;filter:brightness(1.08);}
.new-pill b,.pocket-eyebrow b {background:#17121e;color:var(--pk);}
.pocket {background:var(--pk);border-top:0;color:#17121e;color-scheme:light;position:relative;}
.pocket::before {content:"iPhone";position:absolute;right:-.06em;bottom:-.3em;font-size:min(30vw,420px);font-weight:900;letter-spacing:-.06em;line-height:1;color:#17121e14;pointer-events:none;}
.pocket-inner {position:relative;}
.pocket-eyebrow {color:#17121e;font-weight:750;}
.pocket h2 {font-size:clamp(40px,5.4vw,72px);font-weight:900;line-height:1.14;}
.pocket h2 em {color:inherit;text-decoration:underline wavy #fff;text-decoration-thickness:.085em;text-underline-offset:.14em;}
.pocket-lead {margin-top:30px;color:#17121e;font-weight:550;}
.pocket-points {border-top:2px solid #17121e;}
.pocket-points li {border-bottom:2px solid #17121e;}
.pocket-points li::before {color:#17121e;font-weight:800;}
.pocket-points span {color:#17121ecc;}
.pocket-store {background:#17121e;color:#fff;}
.pocket-stage::before {height:34%;background-image:linear-gradient(#17121e2e 0 0),linear-gradient(#17121e2e 0 0),linear-gradient(#17121e2e 0 0),linear-gradient(#17121e2e 0 0),linear-gradient(#17121e2e 0 0);background-size:100% 3px;}
.iphone {border-color:#17121e;background:#17121e;box-shadow:0 3.2cqw 5cqw #17121e66;}
.iphone-home {rotate:-8deg;}
.iphone-perf {rotate:8deg;}
.iphone-ink {rotate:-2deg;}
.pocket-chip {box-shadow:0 1.2cqw 2.4cqw #17121e55;}
