/* 05 실습과 끝 (스위스): s4, open, steps, prompts, stuck, hw, next, qa
   색은 종이 #F4F3EF, 검정 #111, 빨강 #E30613 셋만 */

/* ── s4 부 전환: 숫자 대신 「실습」 두 글자 ── */
[data-id="s4"].sw.sw-part .sp-num { font-size: 460px; line-height: .9; top: 130px; letter-spacing: -0.05em; }
[data-id="s4"].sw.sw-part .sp-side b { display: block; font: 900 64px/1 var(--display); color: #E30613; margin-bottom: 16px; }

/* ── open 메타버스 오픈: 빨간 막(띠 8개)이 위로 걷히며 주소 공개 ── */
[data-id="open"] .op-top { position: absolute; left: 140px; top: 120px; display: flex; align-items: center; gap: 26px; }
[data-id="open"] .op-tag { display: inline-block; padding: 12px 20px 10px; background: #E30613; color: #fff; font: 900 40px/1 var(--display); letter-spacing: .04em; }
[data-id="open"] .op-name { font: 900 54px/1 var(--display); color: #111; letter-spacing: -0.02em; }
[data-id="open"] .op-addr { position: absolute; left: 140px; right: 140px; top: 236px; }
[data-id="open"] .op-a1 { font: 900 238px/1 var(--display); letter-spacing: -0.045em; color: #111; white-space: nowrap; }
[data-id="open"] .op-a2 { margin-top: 8px; font: 800 118px/1 var(--display); letter-spacing: -0.03em; color: #111; white-space: nowrap; }
[data-id="open"] .op-addr .tc { display: inline-block; }
[data-id="open"] .op-rule { display: block; margin-top: 26px; height: 14px; background: #E30613; transform-origin: 0 50%; }
[data-id="open"] .op-row { position: absolute; left: 140px; right: 140px; top: 700px; bottom: 100px; display: grid; grid-template-columns: 1fr 1fr 280px; border-top: 6px solid #111; }
[data-id="open"] .op-cell { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 0 0; }
[data-id="open"] .op-cell + .op-cell { padding-left: 30px; border-left: 3px solid #111; }
[data-id="open"] .op-lbl { font: 900 28px/1 var(--display); color: #E30613; }
[data-id="open"] .op-cell b { font: 900 56px/1.1 var(--display); color: #111; letter-spacing: -0.02em; }
[data-id="open"] .op-sm { font: 600 28px/1.3 var(--body); color: #4a4a4a; }
[data-id="open"] .op-qr { padding: 26px 0 0 28px; border-left: 3px solid #111; }
[data-id="open"] .op-qr svg { display: block; width: 250px; height: 250px; padding: 20px; background: #fff; shape-rendering: crispEdges; }
/* 막: JS 가 .op-face 를 띠 8개(240px)로 복제해 넣음 */
[data-id="open"] .op-curtain { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
[data-id="open"] .op-strip { position: absolute; top: 0; bottom: 0; width: 241px; overflow: hidden; background: #E30613; }
[data-id="open"] .op-strip .op-face { left: 0; }
[data-id="open"] .op-face { position: absolute; top: 0; width: 1920px; height: 1080px; color: #fff; }
[data-id="open"] .op-face::before { content: ""; position: absolute; left: 140px; right: 140px; top: 64px; height: 12px; background: #fff; }
[data-id="open"] .op-f-k { position: absolute; left: 140px; top: 120px; font: 900 34px/1 var(--display); letter-spacing: .02em; }
[data-id="open"] .op-f-h { position: absolute; left: 140px; top: 330px; font: 900 190px/1.0 var(--display); letter-spacing: -0.04em; }
[data-id="open"] .op-f-count { position: absolute; right: 140px; top: 250px; font: 900 520px/1 var(--display); letter-spacing: -0.05em; text-align: right; }
[data-id="open"] .op-f-s { position: absolute; left: 140px; right: 140px; bottom: 120px; padding-top: 24px; border-top: 8px solid #fff; font: 800 44px/1.2 var(--body); }

/* ── steps 실습 순서: 실습 내내 띄워 두는 장, 지금 하는 칸이 빨갛게 ── */
[data-id="steps"] .st-head { position: absolute; left: 140px; top: 116px; }
[data-id="steps"] .st-grid { position: absolute; left: 140px; right: 140px; top: 236px; height: 690px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; border-top: 8px solid #111; }
[data-id="steps"] .st-c { position: relative; isolation: isolate; padding: 22px 26px 0; border-bottom: 3px solid #111; cursor: pointer; overflow: hidden; }
[data-id="steps"] .st-c:not(:nth-child(3n+1)) { border-left: 3px solid #111; }
[data-id="steps"] .st-fill { position: absolute; inset: 0; z-index: -1; background: #E30613; transform: scaleX(0); transform-origin: 0 50%; }
[data-id="steps"] .st-n { font: 900 112px/.92 var(--display); color: #E30613; letter-spacing: -0.04em; }
[data-id="steps"] .st-t { margin-top: 12px; font: 900 66px/1.1 var(--display); color: #111; letter-spacing: -0.03em; }
[data-id="steps"] .st-s { margin-top: 8px; font: 700 32px/1.3 var(--body); color: #4a4a4a; }
[data-id="steps"] .st-c.on .st-n, [data-id="steps"] .st-c.on .st-t, [data-id="steps"] .st-c.on .st-s { color: #fff; }
[data-id="steps"] .st-c.done > :not(.st-fill) { opacity: .32; }
[data-id="steps"] .st-foot { position: absolute; left: 140px; right: 140px; top: 948px; display: flex; justify-content: space-between; align-items: baseline; }
[data-id="steps"] .st-url { font: 900 40px/1 var(--display); color: #111; letter-spacing: -0.02em; }
[data-id="steps"] .st-help { font: 900 40px/1 var(--display); color: #E30613; }

/* ── prompts 첫 문장 예시 ── */
[data-id="prompts"] .pad { padding-top: 116px; }
[data-id="prompts"] .pr-sub { margin-top: 6px; font-weight: 700; }
[data-id="prompts"] .pr-list { margin-top: 50px; display: flex; flex-direction: column; gap: 40px; }
[data-id="prompts"] .pr-row { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 30px; }
[data-id="prompts"] .pr-lbl { padding-top: 14px; border-top: 6px solid #111; font: 900 36px/1.1 var(--display); color: #111; }
[data-id="prompts"] .prompt { width: auto; padding: 26px 26px 26px 48px; border: 0; }
[data-id="prompts"] .prompt .txt { font: 700 46px/1.32 var(--body); letter-spacing: -0.015em; }
[data-id="prompts"] .prompt .txt b { font-weight: 900; }
[data-id="prompts"] .pr-next { margin-top: 64px; padding-top: 22px; border-top: 6px solid #111; display: flex; gap: 26px; align-items: baseline; }
[data-id="prompts"] .pr-next b { font: 900 40px/1 var(--display); color: #E30613; }
[data-id="prompts"] .pr-next span { font: 700 36px/1.3 var(--body); color: #111; }

/* ── stuck 막히면 ── */
[data-id="stuck"] .pad { padding-top: 116px; }
[data-id="stuck"] .sk-tbl { margin-top: 56px; border-top: 8px solid #111; }
[data-id="stuck"] .sk-row { display: grid; grid-template-columns: 120px 640px 1fr; align-items: center; min-height: 142px; border-bottom: 3px solid #111; }
[data-id="stuck"] .sk-hd { min-height: 0; padding: 14px 0; font: 800 28px/1 var(--body); color: #4a4a4a; }
[data-id="stuck"] .sk-n { font: 900 84px/1 var(--display); color: #E30613; }
[data-id="stuck"] .sk-q { font: 900 54px/1.15 var(--display); color: #111; letter-spacing: -0.02em; }
[data-id="stuck"] .sk-a { font: 700 40px/1.3 var(--body); color: #111; }
[data-id="stuck"] .sk-last { border-bottom: 0; background: #E30613; margin-top: 0; }
[data-id="stuck"] .sk-last .sk-n, [data-id="stuck"] .sk-last .sk-q, [data-id="stuck"] .sk-last .sk-a { color: #fff; }
[data-id="stuck"] .sk-last .sk-n { padding-left: 26px; }
[data-id="stuck"] .sk-last .sk-a b { font: 900 72px/1 var(--display); letter-spacing: -0.02em; }

/* ── hw 1주차 과제 ── */
[data-id="hw"] .pad { padding-top: 116px; }
[data-id="hw"] .hw-cols { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; border-top: 8px solid #111; }
[data-id="hw"] .hw-c { padding: 26px 40px 30px 0; display: flex; flex-direction: column; gap: 16px; }
[data-id="hw"] .hw-c + .hw-c { padding-left: 40px; padding-right: 0; border-left: 3px solid #111; }
[data-id="hw"] .hw-n { font: 900 100px/.9 var(--display); color: #E30613; }
[data-id="hw"] .hw-t { font: 900 56px/1.12 var(--display); color: #111; letter-spacing: -0.025em; }
[data-id="hw"] .hw-d { font: 600 30px/1.4 var(--body); color: #4a4a4a; }
[data-id="hw"] .hw-q { margin-top: 6px; padding: 16px 0 0; border-top: 3px solid #111; font: 800 32px/1.35 var(--body); color: #111; }
[data-id="hw"] .hw-q span { display: block; margin-bottom: 8px; font: 900 28px/1 var(--display); color: #E30613; }
[data-id="hw"] .hw-bars { margin-top: 6px; padding-top: 18px; border-top: 3px solid #111; display: flex; flex-direction: column; gap: 14px; }
[data-id="hw"] .hw-bar { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; }
[data-id="hw"] .hw-bar span { font: 900 28px/1 var(--display); }
[data-id="hw"] .hw-bar div { position: relative; height: 34px; background: #fff; box-shadow: inset 0 0 0 3px #111; }
[data-id="hw"] .hw-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #111; }
[data-id="hw"] .hw-bar i.hw-fw { background: #E30613; }
[data-id="hw"] .hw-due { margin-top: 30px; display: grid; grid-template-columns: 560px 1fr; align-items: center; padding-top: 26px; border-top: 8px solid #111; }
[data-id="hw"] .hw-where span { display: block; font: 900 28px/1 var(--display); color: #E30613; margin-bottom: 10px; }
[data-id="hw"] .hw-where b { font: 900 54px/1 var(--display); letter-spacing: -0.02em; }
[data-id="hw"] .hw-line { display: flex; align-items: center; gap: 22px; font: 900 40px/1 var(--display); }
[data-id="hw"] .hw-track { position: relative; flex: 1; height: 8px; background: rgba(17, 17, 17, .18); }
[data-id="hw"] .hw-run { position: absolute; inset: 0; background: #111; transform-origin: 0 50%; }
[data-id="hw"] .hw-d1 { color: #E30613; }
/* 11-17 평가 기준 한 줄을 넣으려고 위를 조금 줄임 */
[data-id="hw"] .pad { padding-top: 104px; }
[data-id="hw"] .hw-cols { margin-top: 34px; }
[data-id="hw"] .hw-c { padding-top: 20px; padding-bottom: 24px; gap: 12px; }
[data-id="hw"] .hw-n { font-size: 84px; }
[data-id="hw"] .hw-t { font-size: 52px; }
[data-id="hw"] .hw-due { margin-top: 20px; padding-top: 20px; }
[data-id="hw"] .hw-where b { font-size: 48px; }
[data-id="hw"] .hw-grade { margin-top: 22px; padding-top: 16px; border-top: 3px solid #111; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
[data-id="hw"] .hw-gk { margin-right: 8px; font: 900 30px/1 var(--display); color: #E30613; }
[data-id="hw"] .hw-g { padding: 10px 14px; background: #fff; box-shadow: inset 0 0 0 3px #111; font: 800 26px/1 var(--body); color: #111; white-space: nowrap; }
[data-id="hw"] .hw-g.zero { background: #111; color: #fff; }
[data-id="hw"] .hw-g.late { box-shadow: none; background: none; color: #4a4a4a; font-weight: 700; }

/* ── next 3주 계획 ── */
[data-id="next"] .pad { padding-top: 116px; }
[data-id="next"] .nx-tbl { margin-top: 50px; border-top: 8px solid #111; }
[data-id="next"] .nx-row { display: grid; grid-template-columns: 150px 250px 600px 1fr; gap: 0 34px; align-items: center; min-height: 150px; border-bottom: 3px solid #111; }
[data-id="next"] .nx-hd { min-height: 0; padding: 14px 0; font: 800 28px/1 var(--body); color: #4a4a4a; }
[data-id="next"] .nx-w { font: 900 60px/1 var(--display); color: #111; }
[data-id="next"] .nx-d { font: 800 44px/1 var(--display); color: #111; display: flex; align-items: center; gap: 14px; }
[data-id="next"] .nx-d em { font: 900 28px/1 var(--display); font-style: normal; color: #fff; background: #E30613; padding: 8px 10px; }
[data-id="next"] .nx-now .nx-w { color: #E30613; }
[data-id="next"] .nx-bar { display: flex; height: 76px; box-shadow: inset 0 0 0 3px #111; }
[data-id="next"] .nx-bar i { display: flex; align-items: center; padding-left: 18px; font: 800 28px/1 var(--body); font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; transform-origin: 0 50%; }
[data-id="next"] .nx-l { width: var(--w); background: #111; }
[data-id="next"] .nx-p { flex: 1; background: #E30613; }
[data-id="next"] .nx-c { font: 800 36px/1.25 var(--body); color: #111; }
[data-id="next"] .nx-c small { display: block; margin-top: 6px; font: 600 28px/1.3 var(--body); color: #4a4a4a; }
[data-id="next"] .nx-foot { margin-top: 40px; display: flex; align-items: baseline; gap: 30px; }
[data-id="next"] .nx-foot b { font: 900 54px/1 var(--display); color: #E30613; }
[data-id="next"] .nx-foot span { font: 700 32px/1.3 var(--body); color: #111; }

/* ── qa 질문 ── */
[data-id="qa"] .qa-mark { position: absolute; left: 1180px; right: 140px; top: 120px; height: 560px; background: #E30613; overflow: hidden; }
[data-id="qa"] .qa-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-id="qa"] .qa-mark text { font: 900 82px var(--display); fill: #F4F3EF; }
[data-id="qa"] .qa-h { position: absolute; left: 130px; top: 120px; font: 900 330px/1 var(--display); letter-spacing: -0.05em; color: #111; }
[data-id="qa"] .qa-sub { position: absolute; left: 140px; top: 520px; font: 800 44px/1.2 var(--body); color: #111; }
[data-id="qa"] .qa-line { position: absolute; left: 140px; right: 140px; bottom: 120px; padding-top: 30px; border-top: 12px solid #111; display: flex; justify-content: space-between; align-items: flex-end; }
[data-id="qa"] .qa-big { font: 900 120px/1 var(--display); letter-spacing: -0.035em; color: #111; }
[data-id="qa"] .qa-who { text-align: right; font: 700 30px/1.45 var(--body); color: #4a4a4a; }

/* op-strip-seam: 띠 사이 흰 줄 막기(띠마다 빨강 1px 덧대기) */
[data-id="open"] .op-strip { visibility: hidden; }
[data-id="open"] .op-full { background: #E30613; }
