/* My First AI Class — 모든 스타일은 .sk 안에서만 적용돼 테마와 섞이지 않아요. */

.sk {
  --bg: #f7f9fa;
  --surface: #ecf0f2;
  --surface-2: #dde4e8;
  --paper: #ffffff;
  --ink: #1f3038;
  --muted: #55636a;
  --accent: #6a4fd6;
  --accent-ink: #ffffff;
  --accent-tint: #efebfd;
  --seal: #c4161c;
  --gold: #c9a227;
  --gold-deep: #8a6a14;
  --gold-soft: #e3c766;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(1.75rem, 1.35rem + 1.4vw, 2.625rem);
  --step-head: clamp(2.75rem, 1.4rem + 5.2vw, 6rem);

  --gutter: clamp(16px, 3vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.sk *, .sk *::before, .sk *::after { box-sizing: border-box; }
/* 기본값은 :where()로 낮게 걸어, 아래 컴포넌트 규칙이 항상 이기도록 해요. (.sk 덕분에 테마의 p, h2 규칙보다는 강해요) */
.sk :where(h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset) { margin: 0; padding: 0; }
.sk :where(h1, h2, h3) {
  font-family: inherit; color: inherit; text-transform: none;
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
}
.sk :where(h1) { font-size: var(--step-head); }
.sk :where(h2) { font-size: var(--step-sub); }
.sk :where(h3) { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.25; }
.sk :where(ol, ul) { list-style: none; }
.sk :where(img) { display: block; max-width: 100%; height: auto; }
.sk :where(a) { color: inherit; }
.sk :where(button) { font: inherit; color: inherit; cursor: pointer; }
.sk .sk-ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.sk .sk-muted { color: var(--muted); }
.sk .sk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sk :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sk-wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sk-full { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
body:has(.sk-full) { overflow-x: clip; }

/* 전체 화면 템플릿 */
body.sk-canvas { margin: 0; background: #f7f9fa; }
.sk-nav {
  background: var(--paper); position: sticky; top: 0; z-index: 60;
  transition: transform 0.35s var(--ease-out), box-shadow 0.25s ease;
}
.admin-bar .sk-nav { top: 32px; }
.sk-nav.is-stuck { box-shadow: 0 1px 0 var(--surface-2); }
.sk-nav.is-hidden { transform: translateY(-110%); }
.sk-nav__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.sk-nav__mark { font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.03em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.sk-nav__links { display: flex; gap: 26px; }
.sk-nav__links a { position: relative; text-decoration: none; font-weight: 600; padding: 6px 0; }
.sk-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.28s var(--ease-out);
}
.sk-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .sk-nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.sk .sk-nav__act { position: relative; overflow: hidden; text-decoration: none; font-weight: 700; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.sk-menu { display: none; position: relative; }
.sk-menu summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.sk-menu summary::-webkit-details-marker { display: none; }
.sk-menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease-out); }
.sk-menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.sk-menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sk-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px));
  background: var(--paper); border-radius: 22px; padding: 12px; display: grid; box-shadow: 0 18px 50px rgba(31, 48, 56, 0.18);
  transform-origin: top right; animation: sk-menu-in 0.24s var(--ease-out);
}
@keyframes sk-menu-in { from { opacity: 0; transform: scale(0.94) translateY(-6px); } }
.sk-menu nav a { text-decoration: none; font-weight: 700; font-size: var(--step-lead); padding: 10px 14px; border-radius: 14px; }
.sk-menu nav a:active { background: var(--surface); }
.sk-menu nav .sk-menu__act { margin-top: 8px; background: var(--ink); color: var(--paper); text-align: center; border-radius: 999px; }
@media (max-width: 860px) {
  .sk-nav__links { display: none; }
  .sk-menu { display: block; }
  .sk-nav__in { gap: 12px; }
}
@media (max-width: 420px) { .sk-nav > .sk-nav__in > .sk-nav__act { display: none; } }

/* 버튼: 한 가지 모양(둥근 알약) */
.sk .sk-btn, .sk .sk-bar-btn, .sk .sk-cell {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s;
}
.sk .sk-btn:hover, .sk .sk-bar-btn:hover, .sk .sk-cell:hover { transform: translateY(-2px); }
.sk .sk-btn:active, .sk .sk-bar-btn:active, .sk .sk-cell:active { transform: scale(0.97); }
.sk .sk-link { font-weight: 600; text-underline-offset: 4px; }
.sk .sk-link:hover { color: var(--accent); }

/* ---------------- 첫 화면: 어두운 방 위의 도장판 ---------------- */
.sk-hero, .sk-lock {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 48px var(--gutter); overflow: hidden; background: var(--ink);
}
.sk-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: 60% 50%; filter: brightness(0.58);
  animation: sk-drift 24s ease-in-out infinite alternate;
}
@keyframes sk-drift { to { transform: scale(1.07) translate(-1.5%, -1%); } }
.sk-card { position: relative; background: var(--paper); color: var(--ink); }
.sk-hero__card {
  width: min(860px, 100%); padding: clamp(24px, 4vw, 48px);
  display: grid; gap: clamp(24px, 3.5vw, 40px);
}
.sk-hero__title { display: flex; justify-content: space-between; gap: 16px; }
.sk-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.sk-hero__facts p:first-child { font-size: var(--step-lead); font-weight: 700; line-height: 1.35; }
.sk-hero__lead { font-size: var(--step-lead); line-height: 1.4; max-width: 18em; }
.sk-hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.sk-hero__foot small { font-size: var(--step-small); color: var(--muted); }
.sk-hero__foot .sk-link { justify-self: end; }

/* 도장판 칸 */
.sk-stampcard { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.sk-slot { display: grid; justify-items: center; gap: 8px; text-align: center; }
.sk-slot__ring {
  width: clamp(52px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
  border: 4px dotted var(--surface-2); background: var(--bg);
  transition: transform 0.35s var(--ease), background-color 0.2s, border-color 0.2s;
}
.sk-slot__ring .sk-ic { width: 40%; height: 40%; }
.sk-slot__name { font-size: var(--step-small); font-weight: 600; line-height: 1.3; }
.sk-slot.is-stamped .sk-slot__ring {
  background: var(--seal); border: 4px solid var(--seal); color: #fff; transform: rotate(-10deg);
  animation: sk-press 0.45s var(--ease);
}
@keyframes sk-press { from { transform: scale(1.6) rotate(-24deg); opacity: 0; } to { transform: scale(1) rotate(-10deg); opacity: 1; } }

/* ---------------- 한 주에 한 과씩 ---------------- */
.sk-weeks { padding-block: clamp(96px, 12vw, 180px) clamp(64px, 8vw, 120px); width: 100vw; margin-left: calc(50% - 50vw); background: var(--bg); }
.sk-weeks__top { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.sk-weeks__nav { display: flex; gap: 8px; }
.sk .sk-square {
  width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); transition: transform 0.18s var(--ease);
}
.sk .sk-square:hover { transform: translateY(-2px); }
.sk-bar { height: 6px; background: var(--surface); border-radius: 3px; overflow: hidden; margin-bottom: 40px; }
.sk-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0.12); transition: transform 0.2s; }
.sk .sk-row {
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
}
.sk-row::-webkit-scrollbar { display: none; }
.sk-row__col { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.sk-row__col h3 { font-size: var(--step-body); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.sk-row__col p { font-size: var(--step-body); line-height: 1.5; }
.sk-row__ref { margin-top: 8px; color: var(--muted); font-size: var(--step-small) !important; }
.sk-row__col img { margin-top: var(--gap); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------- 나이별 과정 ---------------- */
.sk-plate { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.sk-plate__img { padding: 40px; display: grid; align-items: center; }
.sk-plate__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity 0.18s; }
.sk-plate__img img.is-swap { opacity: 0; }
.sk-plate__text { padding: 40px clamp(24px, 4vw, 64px) 40px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.sk-tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.sk .sk-tab {
  border: 0; background: none; padding: 6px 0; font-size: var(--step-lead); font-weight: 600; color: var(--muted);
  transition: color 0.15s;
}
.sk .sk-tab[aria-selected="true"] { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.sk .sk-tab:hover { color: var(--ink); }
.sk-plate__body { display: grid; gap: 20px; max-width: 34em; }
.sk-plate__body p { font-size: var(--step-lead); line-height: 1.45; }
.sk-plate__body p.sk-muted { font-size: var(--step-body); }
.sk-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk .sk-cell { min-height: 72px; background: var(--surface-2); color: var(--ink); white-space: normal; text-align: center; }
.sk .sk-cell--ink { background: var(--ink); color: var(--paper); }

/* ---------------- 무료 체험 ---------------- */
.sk-try { background: var(--ink); color: var(--paper); padding-block: clamp(96px, 12vw, 180px); }
.sk-try__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sk-try__text { display: grid; gap: 20px; }
.sk-try__text h2 { font-size: var(--step-head); }
.sk-try__text p { font-size: var(--step-lead); line-height: 1.45; max-width: 20em; }
.sk-try .sk-deck__progress i { background: rgba(255, 255, 255, 0.18); }
.sk-try .sk-deck__progress i.is-on { background: var(--paper); }
.sk-try .sk-round { background: rgba(255, 255, 255, 0.14); color: var(--paper); }
.sk-try .sk-round--ink { background: var(--paper); color: var(--ink); }
.sk-try .sk-listen { background: rgba(255, 255, 255, 0.14); color: var(--paper); }

/* ---------------- 카드 덱 ---------------- */
.sk-deckui { display: grid; gap: 20px; }
.sk-deck__progress { display: flex; gap: 6px; }
.sk-deck__progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); transition: background-color 0.25s; }
.sk-deck__progress i.is-on { background: var(--ink); }
.sk-deck__stage { touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: 28px; }
.sk-dcard {
  min-height: clamp(380px, 52vh, 500px); padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  animation: sk-in 0.38s var(--ease);
}
@keyframes sk-in { from { opacity: 0; transform: translateX(var(--from, 32px)); } }
.sk-dcard > .sk-ic { width: 56px; height: 56px; color: var(--accent); }
.sk-dcard h3 { display: flex; align-items: center; gap: 10px; }
.sk-dcard__kicker { font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.sk-dcard__big { font-size: var(--step-sub); font-weight: 700; line-height: 1.3; letter-spacing: -0.025em; }
.sk-dcard__mid { font-size: var(--step-lead); font-weight: 600; line-height: 1.45; }
.sk-dcard p { font-size: var(--step-lead); line-height: 1.5; }
.sk-dcard ol { counter-reset: s; display: grid; gap: 14px; }
.sk-dcard ol li { counter-increment: s; position: relative; padding-left: 44px; font-size: var(--step-body); line-height: 1.5; }
.sk-dcard ol li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: var(--step-small);
}
.sk-dcard--cover { background: var(--accent); color: #fff; }
.sk-dcard--cover > .sk-ic, .sk-dcard--cover .sk-dcard__kicker { color: #fff; }
.sk-dcard--cover h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.4rem); }
.sk-dcard--cover .sk-dcard__inner > p:last-child { font-size: var(--step-body, 1.1rem); }
/* 표지: 멘토와 글을 가운데에 */
.sk-dcard--cover .sk-dcard__inner { text-align: center; justify-items: center; }
.sk-dcard--cover .sk-dcard__ch { display: block; margin-inline: auto; width: clamp(80px, 9vw, 120px); max-height: 22vh; object-fit: contain; }
.sk-dcard--big { background: var(--accent-tint); }
.sk-dcard--together { background: var(--accent-tint); justify-content: flex-start; }
.sk-dcard--talk { background: var(--surface); }
.sk-dcard--finish { align-items: center; text-align: center; }

.sk-deck__controls { display: flex; justify-content: center; align-items: center; gap: 12px; }
.sk .sk-round {
  width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); transition: transform 0.18s var(--ease), opacity 0.2s;
}
.sk .sk-round .sk-ic { width: 28px; height: 28px; }
.sk .sk-round--ink { background: var(--ink); color: var(--paper); }
.sk .sk-round:hover:not(:disabled) { transform: translateY(-2px); }
.sk .sk-round:active:not(:disabled) { transform: scale(0.94); }
.sk .sk-round:disabled { opacity: 0.35; cursor: default; }
.sk .sk-listen {
  display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--surface); font-weight: 700; transition: background-color 0.2s, color 0.2s;
}
.sk .sk-listen[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* 약속 퀴즈 */
.sk-q { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.sk .sk-q__btn {
  min-height: 76px; border: 0; border-radius: 999px; background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--step-lead); font-weight: 800; transition: transform 0.15s var(--ease), background-color 0.2s, opacity 0.2s;
}
.sk .sk-q__btn .sk-ic { width: 30px; height: 30px; }
.sk .sk-q__btn:hover:not(:disabled) { transform: translateY(-2px); background: var(--surface-2); }
.sk .sk-q__btn:disabled:not(.is-picked) { opacity: 0.4; }
.sk-card-q.is-right .sk-q__btn.is-picked { background: var(--accent); color: #fff; }
.sk-card-q.is-wrong .sk-q__btn.is-picked { background: var(--seal); color: #fff; }
.sk-q__why { min-height: 3em; font-size: var(--step-body) !important; }
.sk-card-q.is-nudge { animation: sk-nudge 0.35s; }
@keyframes sk-nudge { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* 실습 카드 */
.sk-prompt { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 18px; padding: 16px 18px; }
.sk-prompt p { flex: 1; font-size: var(--step-body) !important; white-space: pre-wrap; }
.sk .sk-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px;
  padding: 8px 14px; background: var(--ink); color: #fff; font-size: var(--step-small); font-weight: 700;
}
.sk .sk-copy.is-done { background: var(--accent); }
.sk-safety { display: flex; gap: 10px; font-size: var(--step-body) !important; font-weight: 600; }
.sk-safety .sk-ic { color: var(--accent); margin-top: 3px; }

/* 참 잘했어요 도장 */
.sk-finish { display: grid; justify-items: center; gap: 18px; }
.sk-seal-red {
  width: 150px; height: 150px; border-radius: 50%; border: 7px solid var(--seal); color: var(--seal);
  display: grid; place-items: center; transform: rotate(-12deg); opacity: 0;
}
.sk-seal-red span { font-weight: 900; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.04em; text-align: center; }
.sk-seal-red.is-pressed { opacity: 0.92; animation: sk-seal 0.5s var(--ease); }
@keyframes sk-seal { from { transform: scale(1.8) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(-12deg); opacity: 0.92; } }

/* ---------------- 수강료 영수증 ---------------- */
.sk-price { background: var(--surface); width: 100vw; margin-left: calc(50% - 50vw); }
.sk-price__grid { display: grid; grid-template-columns: 6fr 1fr 4fr; gap: 0 24px; }
.sk-price__text { grid-column: 1; padding-block: clamp(96px, 10vw, 160px); display: grid; gap: 24px; align-content: start; }
.sk-price__text p { font-size: var(--step-lead); line-height: 1.45; max-width: 24em; }
.sk-options { border: 0; display: grid; gap: 10px; }
.sk-options label {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--paper);
  font-weight: 600; cursor: pointer; transition: background-color 0.15s;
}
.sk-options label:has(input:checked) { background: var(--ink); color: var(--paper); }
.sk-options input { width: 20px; height: 20px; accent-color: var(--accent); }
.sk-price__text .sk-btn { justify-self: start; }
.sk-receipt {
  grid-column: 3; align-self: start; background: var(--paper); padding: 28px 28px 56px;
  padding-top: clamp(96px, 10vw, 160px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
  margin-bottom: 72px;
}
.sk-receipt__name { text-align: center; font-size: var(--step-lead); font-weight: 800; margin-bottom: 24px; }
.sk-receipt dl { display: grid; gap: 14px; }
.sk-receipt dl div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.sk-receipt dd { font-weight: 700; }
.sk-receipt__total {
  margin-top: 24px; padding-top: 18px; border-top: 4px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.sk-receipt__total strong { font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ---------------- 자주 묻는 질문 ---------------- */
.sk-faq { padding-block: clamp(96px, 12vw, 180px); }
.sk-faq__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; }
.sk-faq__text { columns: 2; column-gap: 56px; }
.sk-faq__text p { break-inside: avoid; margin-bottom: 22px; line-height: 1.6; }
.sk-faq__text strong { font-weight: 700; }

/* ---------------- 답장 카드 ---------------- */
.sk-reply { background: var(--accent); color: #fff; padding-top: clamp(96px, 12vw, 160px); overflow: hidden; }
.sk-reply__grid { display: grid; grid-template-columns: 4fr 1fr 7fr; align-items: end; }
.sk-reply__aside { grid-column: 1; font-size: var(--step-lead); line-height: 1.45; padding-bottom: 96px; }
.sk-reply__card {
  grid-column: 3; padding: 48px; text-align: center; display: grid; gap: 18px; justify-items: center;
  transform: rotate(2deg); margin-bottom: -60px; padding-bottom: 108px;
}
.sk-reply__card p { max-width: 24em; }
.sk .sk-bar-btn { width: 100%; min-height: 56px; background: var(--ink); color: var(--paper); }

/* ---------------- 카드 뒷면 ---------------- */
.sk-back { background: var(--ink); padding: 0 var(--gutter) 64px; }
.sk-back__card {
  width: min(1100px, 100%); margin-inline: auto; background: var(--paper); color: var(--ink);
  border-top: 14px dotted var(--ink); padding: 56px clamp(24px, 4vw, 56px) 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.sk-back__msg { display: grid; gap: 16px; align-content: start; }
.sk-back__msg p { max-width: 26em; }
.sk-back__addr { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.sk-back__addr ul { display: grid; gap: 12px; font-size: var(--step-lead); align-content: start; }
.sk-back__addr a { text-decoration: none; font-weight: 600; }
.sk-back__addr a:hover { color: var(--accent); }
.sk-back__stamp { width: 88px; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid var(--paper); outline: 4px dotted var(--surface-2); transform: rotate(4deg); }
.sk-back__imprint { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); text-align: center; line-height: 1.6; }

/* 스크롤하면 붙는 도장판 스텁 */
.sk-stub {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: var(--ink); color: var(--paper);
  transform: translateY(160%); transition: transform 0.35s var(--ease);
}
.sk-stub.is-on { transform: none; }
.sk-stub__label { font-size: var(--step-small); font-weight: 700; }
.sk-stub__dots { display: flex; gap: 6px; }
.sk-stub__dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background-color 0.2s, transform 0.3s; }
.sk-stub__dots i.is-stamped { background: var(--seal); transform: rotate(-10deg) scale(1.1); }

/* ---------------- 잠금 화면 ---------------- */
.sk-lock__card { width: min(520px, 100%); padding: 48px 40px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.sk-lock__ic { width: 48px !important; height: 48px !important; color: var(--accent); }
.sk-lock__card h1 { font-size: var(--step-sub); }
.sk-lock__price { font-weight: 700; }

/* ---------------- 과정 화면 ---------------- */
.sk-course { background: var(--bg); padding-block: 48px 120px; width: 100vw; margin-left: calc(50% - 50vw); }
.sk-course__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sk-course__head h1 { font-size: var(--step-sub); margin-bottom: 6px; }
.sk-switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.sk-switch input { position: absolute; opacity: 0; }
.sk-switch span { width: 52px; height: 30px; border-radius: 999px; background: var(--surface-2); position: relative; transition: background-color 0.2s; }
.sk-switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.sk-switch input:checked + span { background: var(--accent); }
.sk-switch input:checked + span::after { transform: translateX(22px); }
.sk-switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

.sk-board { padding: clamp(20px, 3vw, 36px); border-radius: 28px; margin-bottom: 32px; }
.sk-board__title { font-size: var(--step-lead); font-weight: 800; margin-bottom: 20px !important; }
.sk-stampcard--course { gap: 8px; }
.sk-stampcard--course .sk-slot {
  width: 100%; border: 0; background: none; padding: 12px 4px; border-radius: 18px; transition: background-color 0.2s;
}
.sk-stampcard--course .sk-slot__ring { width: clamp(56px, 7vw, 84px); }
.sk-stampcard--course .sk-slot__note { font-size: var(--step-small); color: var(--muted); line-height: 1.3; }
.sk-stampcard--course .sk-slot:not(:disabled):hover { background: var(--surface); }
.sk-stampcard--course .sk-slot.is-current { background: var(--accent-tint); }
.sk-stampcard--course .sk-slot:disabled { cursor: default; }
.sk-stampcard--course .sk-slot:disabled .sk-slot__ring { opacity: 0.55; }
.sk-slot.is-open .sk-slot__ring { border-color: var(--accent); color: var(--accent); background: var(--paper); }
.sk-slot.is-done .sk-slot__ring { background: var(--seal); border: 4px solid var(--seal); color: #fff; transform: rotate(-10deg); }
.sk-slot.is-new .sk-slot__ring { animation: sk-press 0.5s var(--ease); }
.sk-slot__ink { font-weight: 900; font-size: 0.8125rem; line-height: 1.1; letter-spacing: -0.04em; }
.sk-lesson { scroll-margin-top: 24px; max-width: 820px; }

/* ---------------- 수료증 ---------------- */
.sk-grad { margin-top: 64px; display: grid; grid-template-columns: 4fr 6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sk-grad__side { display: grid; gap: 20px; justify-items: start; }
.sk-name { display: grid; gap: 8px; width: 100%; }
.sk-name label { font-weight: 700; }
.sk-name div { display: flex; gap: 8px; }
.sk-name input { flex: 1; min-height: 52px; border: 0; border-radius: 14px; background: var(--paper); padding: 0 16px; font: inherit; color: var(--ink); }
.sk-review { display: grid; gap: 14px; justify-items: start; padding: 24px; border-radius: 22px; background: var(--surface); width: 100%; }
.sk-coupon { font-size: var(--step-sub); font-weight: 800; letter-spacing: 0.04em; color: var(--accent); }

.sk-cert {
  --cert-ink: #2b2418;
  background: #fffdf7; color: var(--cert-ink); aspect-ratio: 1 / 1.414; padding: 3.2%;
  font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
}
.sk-cert__frame {
  height: 100%; border: 10px double var(--gold); outline: 3px solid var(--gold-soft); outline-offset: -22px;
  padding: 9% 10% 7%; display: flex; flex-direction: column; text-align: center;
}
.sk-cert__no { text-align: left; font-size: clamp(0.8125rem, 1.1vw, 0.9375rem) !important; letter-spacing: 0.04em; }
.sk-cert__title { font-family: inherit !important; font-weight: 800 !important; font-size: clamp(2.25rem, 5vw, 3.75rem) !important; letter-spacing: 0.5em !important; margin: 9% 0 10% 0.5em !important; }
.sk-cert__who { display: grid; gap: 14px; text-align: left; margin: 0 auto 9%; }
.sk-cert__who div { display: grid; grid-template-columns: 4.5em 1fr; align-items: baseline; }
.sk-cert__who dt { letter-spacing: 0.6em; }
.sk-cert__who dd { font-size: clamp(1rem, 1.6vw, 1.25rem); }
.sk-cert__name { font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important; font-weight: 800; letter-spacing: 0.15em; }
.sk-cert__body { margin-top: 2%; font-size: clamp(0.9375rem, 1.5vw, 1.1875rem); line-height: 2; text-align: justify; word-break: keep-all; }
.sk-cert__date { margin-top: auto; font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: 0.1em; }
.sk-cert__sign { position: relative; margin-top: 6%; display: flex; justify-content: center; align-items: center; }
.sk-cert__sign p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: 0.3em; }
.sk-gold { position: absolute; left: 64%; top: 50%; width: clamp(96px, 14vw, 140px); height: auto; transform: translateY(-50%) rotate(-8deg); }
.sk-gold__burst { fill: var(--gold); }
.sk-gold__ring { fill: none; stroke: var(--gold-deep); stroke-width: 3; }
.sk-gold__inner { fill: var(--gold-soft); stroke: var(--gold-deep); stroke-width: 2; }
.sk-gold__arc { font: 700 15px "Pretendard Variable", sans-serif; fill: var(--gold-deep); letter-spacing: 1.5px; }
.sk-gold__big { font: 900 30px "Nanum Myeongjo", serif; fill: #5a430c; }
.sk-gold__small { font: 800 11px "Pretendard Variable", sans-serif; fill: #5a430c; letter-spacing: 2px; }

@media print {
  @page { size: A4 portrait; margin: 0; }
  body * { visibility: hidden !important; }
  /* 고른 수료증 한 장만 (단축키로 인쇄하면 첫 장) */
  .sk-cert.is-print, .sk-cert.is-print *,
  .sk-grad__certs:not(:has(.is-print)) .sk-cert:first-child, .sk-grad__certs:not(:has(.is-print)) .sk-cert:first-child * { visibility: visible !important; }
  .sk-cert.is-print, .sk-grad__certs:not(:has(.is-print)) .sk-cert:first-child { position: fixed; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; padding: 8mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sk-stub { display: none !important; }
}

/* ---------------- 태블릿 · 휴대폰 ---------------- */
@media (max-width: 900px) {
  .sk-plate, .sk-try__grid, .sk-grad, .sk-back__card { grid-template-columns: 1fr; }
  .sk-plate__img { padding: 16px 16px 0; }
  .sk-plate__text { padding: 24px 16px 40px; }
  .sk-price__grid { grid-template-columns: 1fr; }
  .sk-price__text { padding-block: 72px 32px; }
  .sk-receipt { grid-column: 1; width: 86%; justify-self: center; padding-top: 28px; }
  .sk-faq__grid { grid-template-columns: 1fr; }
  .sk-faq__text { columns: 1; }
  .sk-reply__grid { grid-template-columns: 1fr; gap: 32px; }
  .sk-reply__aside { padding-bottom: 0; }
  .sk-reply__card { grid-column: 1; width: 92%; justify-self: center; transform: rotate(1deg); padding: 32px 24px 96px; }
  .sk-stampcard { grid-template-columns: repeat(4, 1fr); row-gap: 20px; }
}
@media (max-width: 600px) {
  .sk-hero__card { padding: 24px 20px; }
  .sk-hero__title { font-size: clamp(2.5rem, 13vw, 3.5rem) !important; }
  .sk-hero__facts { grid-template-columns: 1fr; }
  .sk-hero__foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sk-hero__foot .sk-btn { width: 100%; order: -1; }
  .sk-hero__foot .sk-link { justify-self: center; }
  .sk-weeks__nav { display: none; }
  .sk-row { gap: 16px; }
  .sk-row__col { flex-basis: 72vw; }
  .sk-row__col img { margin-top: calc(var(--gap) * 0.45); }
  .sk-cells { grid-template-columns: 1fr; }
  .sk .sk-cell { min-height: 60px; }
  .sk-q { grid-template-columns: 1fr; }
  .sk .sk-listen span { display: none; }
  .sk .sk-listen { width: 60px; padding: 0; justify-content: center; }
  .sk-back__addr { grid-template-columns: 1fr auto; }
  .sk-stampcard--course .sk-slot__note { display: none; }
  .sk-cert__frame { outline-offset: -14px; border-width: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .sk *, .sk *::before, .sk *::after { animation: none !important; transition: none !important; }
  .sk-slot.is-stamped .sk-slot__ring, .sk-seal-red.is-pressed { opacity: 1; }
}

/* ---------------- 자료 받기 ---------------- */
.sk-files { margin-top: 56px; }
.sk-files h2 { margin-bottom: 20px; }
.sk-files__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sk .sk-file {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 18px; border-radius: 18px; background: var(--paper);
  text-decoration: none; font-weight: 600; transition: transform 0.18s var(--ease), background-color 0.18s;
}
.sk .sk-file .sk-ic { color: var(--accent); width: 22px; height: 22px; }
.sk .sk-file small { font-size: var(--step-small); color: var(--muted); font-weight: 600; }
.sk a.sk-file:hover { transform: translateY(-2px); background: var(--accent-tint); }
.sk .sk-file--extra { background: var(--accent-tint); }
.sk .sk-file.is-locked { background: var(--surface); color: var(--muted); }
.sk .sk-file.is-locked .sk-ic { color: var(--muted); }

/* =================================================================
 * 1.1 — 하위 페이지 섹션과 모션
 * ================================================================= */

/* 버튼: 누른 자리에서 퍼지는 물결, 화살표가 앞으로 */
.sk .sk-btn, .sk .sk-bar-btn, .sk .sk-cell { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.14s var(--ease-out), background-color 0.18s ease; }
.sk .sk-btn:hover, .sk .sk-bar-btn:hover, .sk .sk-cell:hover { transform: none; }
.sk .sk-btn:active, .sk .sk-bar-btn:active, .sk .sk-cell:active, .sk .sk-nav__act:active { transform: scale(0.97); }
.sk .sk-btn__arr { transition: transform 0.22s var(--ease-out); }
.sk .is-ripple::before {
  content: ""; position: absolute; z-index: -1; left: var(--rx); top: var(--ry); width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: currentColor; opacity: 0; animation: sk-ripple 0.6s var(--ease-out);
}
@keyframes sk-ripple { from { opacity: 0.22; transform: scale(1); } to { opacity: 0; transform: scale(40); } }
@media (hover: hover) and (pointer: fine) {
  .sk .sk-btn:hover { background: #5a40c8; }
  .sk .sk-bar-btn:hover, .sk .sk-cell--ink:hover, .sk .sk-nav__act:hover { background: #2c4550; }
  .sk .sk-cell:not(.sk-cell--ink):hover { background: #cfd8dd; }
  .sk .sk-btn:hover .sk-btn__arr, .sk .sk-bar-btn:hover .sk-btn__arr { transform: translateX(4px); }
  .sk .sk-square:hover { transform: scale(1.06); }
}
.sk .sk-btn--ghost { background: var(--surface-2); color: var(--ink); }
.sk .sk-link { text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: color 0.18s ease, text-decoration-color 0.18s ease; }
.sk .sk-link:hover { text-decoration-color: currentColor; }

/* 첫 화면 제목: 두 줄, 둘째 줄은 오른쪽 */
.sk .sk-hero__title { display: grid; gap: 0; line-height: 0.98; letter-spacing: -0.045em; }
.sk-hero__title .sk-line + .sk-line { color: var(--accent); }
.sk-hero__facts strong { display: block; color: var(--accent); }

/* 주차 줄: 사진 틀 안에서 사진이 흘러요 */
.sk .sk-row__col img { margin-top: 0; transform: translateX(var(--shift, 0)) scale(1.08); transition: transform 0.6s var(--ease-soft); }
.sk-row__pic { display: block; overflow: hidden; margin-top: var(--gap); }
.sk-row { cursor: grab; }
.sk-row.is-grab { cursor: grabbing; scroll-behavior: auto; }
.sk-row.is-grab * { pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .sk-row__col:hover img { transform: translateX(var(--shift, 0)) scale(1.14); }
}

/* 나이별 과정: 사진이 옆으로 닫혔다 열려요 */
.sk-plate__img { overflow: hidden; }
/* 사진 바꾸기: 빨리 접고, 다 접힌 뒤 새 사진을 한 번에 부드럽게 펼쳐요 */
.sk .sk-plate__img img { transition: clip-path 0.55s var(--ease-out), transform 0.6s var(--ease-soft); clip-path: inset(0); }
.sk .sk-plate__img img.is-swap { opacity: 1; clip-path: inset(0 0 0 100%); transform: scale(1.05); transition: clip-path 0.26s ease-in, transform 0.26s ease-in; }

/* 영수증: 틈에서 인쇄되어 나와요 */
.sk-receipt-slot { grid-column: 3; align-self: start; overflow: hidden; padding-bottom: 72px; margin-bottom: -72px; }
.sk .sk-receipt { grid-column: auto; margin-bottom: 72px; }
.sk-receipt dl .is-row { animation: sk-row-in 0.45s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes sk-row-in { from { opacity: 0; transform: translateY(-8px); } }
.sk-receipt__total strong.is-tick { animation: sk-tick 0.5s var(--ease-out); }
@keyframes sk-tick { from { opacity: 0; transform: translateY(40%); } }
.sk-options label b { margin-left: auto; font-variant-numeric: tabular-nums; }
.sk-options label { transition: background-color 0.18s ease, color 0.18s ease, transform 0.14s var(--ease-out); }
.sk-options label:active { transform: scale(0.98); }

/* 자주 묻는 질문: 펼치는 목록 */
.sk-faq__side { display: grid; gap: 20px; align-content: start; justify-items: start; }
.sk-faq__list { display: grid; border-top: 2px solid var(--ink); }
.sk-qa { border-bottom: 1px solid var(--surface-2); }
.sk-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35;
  transition: color 0.18s ease;
}
.sk-qa summary::-webkit-details-marker { display: none; }
.sk-qa summary:hover { color: var(--accent); }
.sk-qa__mark { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); transition: background-color 0.2s ease, transform 0.3s var(--ease-out); }
.sk-qa__mark::before, .sk-qa__mark::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.sk-qa__mark::after { transform: rotate(90deg); }
.sk-qa[open] .sk-qa__mark { background: var(--ink); color: var(--paper); transform: rotate(180deg); }
.sk-qa[open] .sk-qa__mark::after { transform: rotate(0deg); }
.sk-qa__a p { padding: 0 64px 26px 0; max-width: 46em; line-height: 1.65; }
.sk-qa[open] .sk-qa__a { animation: sk-qa-open 0.4s var(--ease-out); }
@keyframes sk-qa-open { from { opacity: 0; transform: translateY(-8px); } }

/* 하위 페이지 머리 */
/* 사진이 머리 전체 배경이 되고, 왼쪽 아래를 어둡게 덮어 흰 글씨가 잘 보여요 */
.sk-head { position: relative; isolation: isolate; background: #1f3038; color: #fff; padding-block: clamp(120px, 16vw, 220px) clamp(48px, 6vw, 88px); min-height: min(68vh, 620px); display: grid; align-items: end; overflow: hidden; }
.sk-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) 5fr; }
.sk-head__text { display: grid; gap: 20px; }
.sk .sk-head__text h1 { font-size: var(--step-head); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3); }
.sk .sk-head__text p { font-size: var(--step-lead); line-height: 1.45; max-width: 22em; color: rgba(255, 255, 255, 0.92); }
.sk-head__img { position: absolute; inset: 0; z-index: -1; margin: 0; }
.sk-head__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 28, 34, 0.86) 0%, rgba(18, 28, 34, 0.45) 45%, rgba(18, 28, 34, 0.15) 100%), linear-gradient(to right, rgba(18, 28, 34, 0.55) 0%, rgba(18, 28, 34, 0) 70%); }
.sk-head__img img { width: 100%; height: 100%; object-fit: cover; }

/* 커리큘럼: 주차마다 도장이 찍혀요 */
.sk-curr { padding-block: clamp(64px, 8vw, 112px); }
.sk-curr__tabs { margin-bottom: 40px; }
.sk-curr__panel[hidden] { display: none; }
.sk-curr__meta { display: grid; gap: 10px; max-width: 46em; margin-bottom: 48px; }
.sk-curr__meta p { font-size: var(--step-lead); line-height: 1.45; }
.sk-curr__meta .sk-muted { font-size: var(--step-body); }
.sk .sk-curr__level { font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; }
.sk-curr__list { position: relative; display: grid; }
.sk-curr__list::before { content: ""; position: absolute; left: 34px; top: 36px; bottom: 36px; border-left: 4px dotted var(--surface-2); }
.sk-curr__week { position: relative; display: grid; grid-template-columns: 72px 6fr 5fr; gap: 16px clamp(20px, 3vw, 48px); padding-block: 28px; align-items: start; }
.sk-curr__week + .sk-curr__week { border-top: 1px solid var(--surface-2); }
.sk-curr__ring {
  width: 72px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--seal); color: #fff; border: 4px solid var(--seal); transform: rotate(-10deg);
}
.sk-curr__ring .sk-ic { width: 40%; height: 40%; }
.sk-curr__main { display: grid; gap: 8px; }
.sk .sk-curr__no { font-size: var(--step-small); font-weight: 700; color: var(--accent); }
.sk-curr__main p:last-child { font-size: var(--step-body); line-height: 1.55; }
.sk-curr__keep { display: grid; gap: 10px; padding-top: 4px; }
.sk-curr__keep p { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.sk-curr__keep p .sk-ic { margin-top: 3px; }
.sk-curr__keep p:first-child .sk-ic { color: var(--accent); }
.sk-curr__keep p:last-child .sk-ic { color: var(--seal); }

/* 진행 방법 */
.sk-steps { padding-block: clamp(80px, 10vw, 160px); }
.sk-steps__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sk-steps__side { position: sticky; top: 96px; display: grid; gap: 32px; }
.sk-steps__img { margin: 0; }
.sk-steps__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sk-steps__list { display: grid; }
.sk-steps__list li { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; padding-block: 32px; border-top: 2px solid var(--ink); }
.sk-steps__list li:last-child { border-bottom: 2px solid var(--ink); }
.sk-steps__n { grid-row: span 2; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 1.1em; }
.sk-steps__list p { font-size: var(--step-body); line-height: 1.6; max-width: 34em; }

/* 우리 집 AI 약속 */
.sk-rules { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 10vw, 160px); }
.sk-rules__top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sk-rules__top h2 { font-size: var(--step-head); }
.sk-rules__top p { font-size: var(--step-lead); line-height: 1.45; max-width: 24em; }
.sk-rules__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }
.sk-rules__list li { display: grid; gap: 20px; align-content: start; }
.sk-rules__seal {
  width: clamp(72px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 4px solid var(--seal); background: var(--seal); color: #fff; transform: rotate(-10deg);
}
.sk-rules__seal .sk-ic { width: 42%; height: 42%; }
.sk-rules__list h3 { font-size: var(--step-lead); margin-bottom: 8px; }
.sk-rules__list p { line-height: 1.55; color: #d5dee2; }

/* 마지막 안내 카드 */
.sk-reply__slot { grid-column: 3; }
.sk .sk-reply__card { grid-column: auto; }
.sk-reply__card .sk-seal-red { position: absolute; top: -48px; right: 24px; width: 104px; height: 104px; border-width: 5px; opacity: 0.92; background: #fff; }
.sk-reply__card .sk-seal-red span { font-size: 1.15rem; }

/* 바닥 */
.sk-back__addr { grid-template-columns: 1fr auto; }
.sk-back__addr ul { font-size: var(--step-body); }
.sk-back__msg .sk-link { justify-self: start; }

/* 내 수업 */
.sk-my { background: var(--bg); padding-block: clamp(56px, 8vw, 112px); min-height: 70svh; }
.sk-my__login { display: grid; gap: 20px; justify-items: start; max-width: 640px; }
.sk-my__login p { font-size: var(--step-lead); }
.sk-my__acts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sk-my__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.sk-my__head h1 { font-size: var(--step-head); }
.sk-my__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sk-mycard { background: var(--paper); border-radius: 28px; padding: 28px; display: grid; gap: 18px; align-content: start; }
.sk-mycard.is-off { background: var(--surface); }
.sk-mycard__top { display: flex; align-items: baseline; gap: 10px; }
.sk-mycard__top h2 { font-size: var(--step-sub); }
.sk-mycard__dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.sk-mycard__dots li { aspect-ratio: 1; border-radius: 50%; border: 3px dotted var(--surface-2); }
.sk-mycard__dots li.is-stamped { background: var(--seal); border: 3px solid var(--seal); transform: rotate(-10deg); }
.sk-mycard .sk-btn { justify-self: start; }

/* ---------------- 모션: 자바스크립트가 켜지고, 움직임을 줄이지 않은 기기에서만 ---------------- */
.sk [data-mask] { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.sk [data-mask] > .sk-mask__in { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .sk-js .sk [data-mask] > .sk-mask__in {
    transform: translateY(108%); transition: transform 0.95s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms);
  }
  .sk-js .sk [data-mask].is-in > .sk-mask__in { transform: none; }

  .sk-js .sk [data-reveal] {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--delay, 0ms);
  }
  .sk-js .sk [data-reveal].is-in { opacity: 1; transform: none; }

  .sk-js .sk [data-stagger] > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 75ms + var(--delay, 0ms));
  }
  .sk-js .sk [data-stagger].is-in > * { opacity: 1; transform: none; }

  /* 틀은 그대로 두고 사진만 가려요 (틀까지 가리면 브라우저가 화면에 들어온 걸 못 알아채요) */
  .sk-js .sk .sk-shutter img { clip-path: inset(0 0 100% 0); transform: scale(1.14); transition: clip-path 1.1s var(--ease-in-out), transform 1.6s var(--ease-soft); }
  .sk-js .sk .sk-shutter.is-in img { clip-path: inset(0); transform: none; }
  .sk-js .sk .sk-shutter.is-in img.is-back { transition: clip-path 0.55s var(--ease-out), transform 0.6s var(--ease-soft); }
  .sk-js .sk .sk-shutter.is-in img.is-swap { clip-path: inset(0 0 0 100%); transform: scale(1.05); transition: clip-path 0.26s ease-in, transform 0.26s ease-in; }

  /* 도장: 크게 떠 있다가 꾹 눌려요 (이 페이지의 대표 모션) */
  .sk-js .sk [data-stamp] { opacity: 0; transform: scale(1.7) rotate(-28deg); }
  .sk-js .sk [data-stamp].is-in { animation: sk-stamp 0.5s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 150ms); }
  .sk-js .sk .sk-seal-red[data-stamp].is-in { animation-name: sk-stamp-seal; animation-delay: 650ms; }

  .sk-js .sk [data-print] .sk-receipt { transform: translateY(-104%); transition: transform 1.3s var(--ease-out) 0.2s; }
  .sk-js .sk [data-print].is-in .sk-receipt { transform: none; }

  /* 움직이는 사진: 스크롤에 맞춰 사진 속 시선이 천천히 내려가요 */
  @supports (animation-timeline: view()) {
    .sk-head__img img, .sk-steps__img img { animation: sk-drift-y linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes sk-stamp {
  0% { opacity: 0; transform: scale(1.7) rotate(-28deg); }
  60% { opacity: 1; transform: scale(0.94) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-10deg); }
}
@keyframes sk-stamp-seal {
  0% { opacity: 0; transform: scale(1.8) rotate(-30deg); }
  60% { opacity: 0.92; transform: scale(0.95) rotate(-10deg); }
  100% { opacity: 0.92; transform: scale(1) rotate(-12deg); }
}
@keyframes sk-drift-y { from { object-position: 50% 25%; } to { object-position: 50% 75%; } }

/* ---------------- 1.1 반응형 ---------------- */
@media (max-width: 900px) {
  .sk-receipt-slot { grid-column: 1; width: 86%; justify-self: center; }
  .sk .sk-receipt { width: auto; }
  .sk-reply__slot { grid-column: 1; width: 92%; justify-self: center; }
  .sk .sk-reply__card { width: auto; }
  .sk-head__grid, .sk-steps__grid, .sk-rules__top { grid-template-columns: 1fr; }
  .sk-head { min-height: 440px; padding-block: 140px 40px; }
  .sk-steps__side { position: static; }
  .sk-steps__img img { aspect-ratio: 16 / 10; }
  .sk-rules__list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sk-curr__week { grid-template-columns: 72px 1fr; }
  .sk-curr__keep { grid-column: 2; }
  .sk-my__list { grid-template-columns: 1fr; }
  .sk-back__addr { grid-template-columns: 1fr; }
  .sk-back__stamp { display: none; }
}
@media (max-width: 600px) {
  .sk-row__pic { margin-top: calc(var(--gap) * 0.45); }
  .sk-qa summary { font-size: var(--step-body); padding: 18px 0; }
  .sk-qa__a p { padding-right: 0; }
  .sk-curr__list::before { left: 23px; }
  .sk-curr__week { grid-template-columns: 50px 1fr; gap: 12px 16px; }
  .sk-curr__ring { width: 50px; border-width: 3px; }
  .sk-rules__list { grid-template-columns: 1fr; }
  .sk-rules__list li { grid-template-columns: auto 1fr; align-items: start; gap: 18px; }
  .sk-rules__seal { width: 64px; }
  .sk-steps__list li { gap: 6px 18px; }
  .sk-reply__card .sk-seal-red { width: 84px; height: 84px; top: -40px; right: 12px; }
}
@media print { .sk-nav, .sk-back { display: none !important; } }

/* =================================================================
 * 1.2 — 세 친구와 3D 말랑 테마
 * ================================================================= */
.sk {
  --bg: #fbf8f3;
  --surface: #f3eee6;
  --surface-2: #e7e0d5;
  --sun: #f4c430;
  --sun-edge: #c79a14;
  --pink: #ff8fa6;
  --butter: #fff3c4;
  --peach: #fde3d3;
  --sky: #e3e9f6;
  --mint: #dff1ef;
  --clay: 0 22px 44px -24px rgba(31, 48, 56, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.7);
}
body.sk-canvas { background: #fbf8f3; }

/* 로고 */
.sk-nav__mark { display: inline-flex; align-items: center; gap: 10px; }
.sk-nav__mark b { color: var(--sun); font-weight: 800; }
.sk-logo { width: 36px; height: auto; flex: none; transform-origin: 30% 90%; }
@media (hover: hover) and (pointer: fine) {
  .sk-nav__mark:hover .sk-logo { animation: sk-wiggle 0.6s var(--ease-out); }
}
@keyframes sk-wiggle { 25% { transform: rotate(-10deg); } 55% { transform: rotate(7deg); } 80% { transform: rotate(-3deg); } }

/* 눌리는 입체 버튼 */
.sk .sk-btn, .sk .sk-bar-btn, .sk .sk-cell, .sk .sk-nav__act {
  --edge: #4a34a8;
  box-shadow: 0 5px 0 var(--edge), 0 16px 24px -14px rgba(31, 48, 56, 0.55);
  transition: transform 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out), background-color 0.18s ease;
}
.sk .sk-bar-btn, .sk .sk-cell--ink, .sk .sk-nav__act { --edge: #0b161b; }
.sk .sk-cell { --edge: #cfc5b6; }
.sk .sk-btn--sun { background: var(--sun); color: var(--ink); --edge: var(--sun-edge); }
.sk .sk-btn--ghost { --edge: #cfc5b6; }
.sk .sk-nav__act { box-shadow: 0 3px 0 var(--edge); }
.sk .sk-btn:active, .sk .sk-bar-btn:active, .sk .sk-cell:active, .sk .sk-nav__act:active {
  transform: translateY(4px); box-shadow: 0 1px 0 var(--edge), 0 6px 12px -8px rgba(31, 48, 56, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .sk .sk-btn:hover, .sk .sk-bar-btn:hover, .sk .sk-cell:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge), 0 20px 28px -14px rgba(31, 48, 56, 0.55); }
  .sk .sk-btn--sun:hover { background: #f7cf52; }
}

/* 도장과 동그라미에 말랑한 입체감 */
.sk-slot.is-stamped .sk-slot__ring, .sk-slot.is-done .sk-slot__ring, .sk-curr__ring, .sk-rules__seal, .sk-marquee__ring, .sk-mycard__dots li.is-stamped {
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18), inset 0 4px 0 rgba(255, 255, 255, 0.25), 0 8px 14px -8px rgba(196, 22, 28, 0.6);
}
.sk-dcard, .sk-mycard, .sk-options label, .sk-qa__mark { box-shadow: var(--clay); }
.sk-dcard { border-radius: 36px; }

/* ---------------- 첫 화면: 무대 ---------------- */
.sk-stage { position: relative; background: var(--ink); color: #fff; padding-top: clamp(32px, 5vw, 72px); overflow: hidden; }
.sk-stage__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(74svh, 720px); }
.sk .sk-stage__title { display: grid; font-size: clamp(3.25rem, 1.4rem + 6.2vw, 7.5rem); line-height: 0.94; letter-spacing: -0.05em; color: #fff; }
.sk-stage__title b { color: var(--sun); font-weight: 800; }
.sk .sk-stage__ko { margin-top: 22px; font-size: var(--step-lead); font-weight: 800; color: var(--sun); }
.sk .sk-stage__lead { margin-top: 14px; font-size: var(--step-lead); line-height: 1.5; color: #d5dee2; max-width: 23em; }
.sk-stage__acts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.sk-stage .sk-link { color: #fff; }

.sk-stage__scene { position: relative; width: 100%; aspect-ratio: 1.2; }
.sk-stage__disc {
  position: absolute; left: 50%; top: 54%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--mint); box-shadow: inset 0 -26px 0 rgba(13, 116, 128, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.sk-stage__scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.sk-3d__still { position: absolute; left: 8%; bottom: 14%; width: 84%; height: auto; transition: opacity 0.5s ease; pointer-events: none; }
[data-friends3d].is-3d .sk-3d__still { opacity: 0; }

.sk-3d__bubble {
  position: absolute; left: var(--bx, 50%); top: var(--by, 20%); z-index: 3; max-width: 15em;
  padding: 12px 18px; border-radius: 22px; background: #fff; color: var(--ink);
  font-size: var(--step-body); font-weight: 700; line-height: 1.4; text-align: center;
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -100%) scale(0.6); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.sk-3d__bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.sk-3d__bubble.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)) scale(1); }
.sk-3d__bubble[data-who="sable"] { background: var(--butter); }
.sk-3d__bubble[data-who="peter"] { background: var(--peach); }
.sk-3d__bubble[data-who="luna"] { background: var(--sky); }

/* 세 친구 그림판: 배너 그림을 세로 띠로 나눠 한 명씩 숨 쉬듯 움직여요 */
.sk-f2d { position: absolute; left: 8%; bottom: 12%; width: 84%; aspect-ratio: 971 / 668; z-index: 1; touch-action: pan-y; user-select: none; }
.sk-f2d__ch { position: absolute; inset: 0; }
.sk-f2d__idle { width: 100%; height: 100%; animation: sk-breathe 3.2s ease-in-out infinite; }
.sk-f2d img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
[data-friends3d].is-2d .sk-3d__still { display: none; }
@keyframes sk-breathe { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-1.2%) scale(1.012, 0.988); } }
/* 수업 카드: 평소엔 잔잔하게 숨만 쉬고, 말하는 동안에만 모션(입·몸이 조금씩 움직이는 그림)으로 바꿔요 */
.sk-teacher.is-2d { inset: 0; }
.sk-f2d__talk { position: relative; width: 100%; height: 100%; transform-origin: 50% 96%; animation: sk-breathe 3.6s ease-in-out infinite; }
.sk-f2d__talk img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 모션 그림은 둘레에 여유가 있어요: 높이를 맞추고(키 860 / 그림 920) 발밑 가운데에 세워요 */
.sk-f2d__talk.has-mo img { position: absolute; left: 50%; bottom: 0; width: auto; height: 107%; max-width: none; translate: -50% 0; }
.sk-f2d__talk .sk-f2d__mo { visibility: hidden; }
.sk-f2d__talk.is-moving .sk-f2d__mo { visibility: visible; }
.sk-f2d__talk.is-moving > img:first-child { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sk-f2d__talk { animation: none; } }
@media (prefers-reduced-motion: reduce) { .sk-f2d__idle { animation: none; } }

@keyframes sk-ping { 0% { box-shadow: 0 0 0 0 rgba(196, 22, 28, 0.5); } 100% { box-shadow: 0 0 0 12px rgba(196, 22, 28, 0); } }

.sk-stage__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(24px, 3vw, 40px); padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sk-stage__facts li { display: grid; gap: 4px; }
.sk-stage__facts b { font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; }
.sk-stage__facts span { color: #b9c6cc; }

.sk-marquee { background: var(--sun); color: var(--ink); overflow: hidden; transform: rotate(-1.5deg); margin: 8px -2% -12px; padding-block: 14px; box-shadow: 0 -6px 0 rgba(0, 0, 0, 0.12) inset; }
.sk-marquee__track { display: flex; gap: 40px; width: max-content; animation: sk-marquee 46s linear infinite; }
.sk-marquee:hover .sk-marquee__track { animation-play-state: paused; }
.sk-marquee__item { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.02em; white-space: nowrap; }
.sk-marquee__ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--seal); color: #fff; transform: rotate(-10deg); }
.sk-marquee__ring .sk-ic { width: 22px; height: 22px; }
@keyframes sk-marquee { to { transform: translateX(-50%); } }

/* ---------------- 함께 배우는 세 친구 ---------------- */
.sk-friends { padding-block: clamp(72px, 8vw, 128px); margin: clamp(8px, 1.4vw, 20px); border-radius: clamp(36px, 5vw, 72px); background: #fff; box-shadow: 0 30px 60px -40px rgba(31, 48, 56, 0.25); }
.sk-friends__top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(120px, 12vw, 170px); }
.sk-friends__top h2 { font-size: var(--step-head); }
.sk-friends__top p { font-size: var(--step-lead); line-height: 1.45; max-width: 24em; }
.sk-friends__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.sk-friend { position: relative; border-radius: 36px; padding: 0 28px 32px; display: grid; gap: 10px; align-content: start; box-shadow: var(--clay); transform-style: preserve-3d; }
.sk-friend--sable { background: var(--butter); }
.sk-friend--peter { background: var(--peach); }
.sk-friend--luna { background: var(--sky); }
/* 키 순서: Sable이 가장 크고, 그다음 Luna, 그다음 Peter */
.sk-friend--luna { --fs: 0.9; }
.sk-friend--peter { --fs: 0.8; }
.sk-friend__pic { position: relative; height: 200px; }
.sk-friend__pic img { position: absolute; left: 50%; bottom: 0; width: calc(min(300px, 84%) * var(--fs, 1)); height: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 16px rgba(31, 48, 56, 0.2)); transition: transform 0.45s var(--ease-out); }
/* 인사 영상: 흰 배경을 카드 색에 곱해서 지워요. 동작 줄이기에서는 그림만 보여요 */
.sk-friend:has(.has-vid) { transform-style: flat; }
.sk-friend__vid { position: absolute; left: 50%; bottom: -22px; width: calc(min(440px, 130%) * var(--fs, 1)); aspect-ratio: 1; transform: translateX(-50%); mix-blend-mode: multiply; filter: brightness(1.06) contrast(1.04); pointer-events: none; opacity: 0; }
.sk-friend__key { position: absolute; left: 50%; bottom: -22px; width: calc(min(440px, 130%) * var(--fs, 1)); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.sk-friend__vid.is-keyed { opacity: 0; }
.sk-friend__pic.is-keyed img { opacity: 0; }
.sk-friend__pic.has-vid { cursor: pointer; }
.sk-friend__voice { position: absolute; top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink, #1f3038); box-shadow: 0 6px 14px rgba(31, 48, 56, 0.14); cursor: pointer; }
.sk-friend__voice .sk-ic { width: 22px; height: 22px; }
.sk-friend__voice.is-on { background: #6a4fd6; color: #fff; }
.sk-friend__voice:focus-visible { outline: 3px solid #6a4fd6; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .sk-friend__vid, .sk-friend__key { display: none; }
  .sk-friend__pic.is-keyed img { opacity: 1; }
}
.sk .sk-friend__role { justify-self: start; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: var(--step-small); font-weight: 800; }
.sk-friend h3 { font-size: var(--step-sub); }
.sk-friend h3 span { font-size: var(--step-body); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.sk .sk-friend__say { margin-top: 6px; font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.35; }
@media (hover: hover) and (pointer: fine) {
  .sk-friend:hover .sk-friend__pic img { transform: translateX(-50%) translateY(-16px) rotate(-4deg); }
}

/* 카드 속 친구 */
.sk-who { display: flex; align-items: center; gap: 10px; font-size: var(--step-small) !important; line-height: 1.3; }
.sk-who img { width: 44px; height: 52px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 4px rgba(31, 48, 56, 0.18)); }
.sk-who b { font-weight: 800; }
.sk-dcard__ch { width: clamp(96px, 14vw, 140px); height: auto; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.2)); animation: sk-pop 0.6s var(--ease-out) both; }
.sk-finish__trio { width: min(320px, 82%); height: auto; animation: sk-pop 0.6s var(--ease-out) both; }
@keyframes sk-pop { from { opacity: 0; transform: translateY(24px) scale(0.85); } }
.sk-dcard .sk-finish .sk-seal-red { margin-top: -40px; width: 110px; height: 110px; }

/* 마지막 안내 · 잠금 · 내 수업 */
.sk-reply__ch { position: absolute; left: 28px; top: -112px; width: 112px; height: auto; transform: rotate(-2deg); animation: sk-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.25)); }
@keyframes sk-bob { 50% { transform: rotate(-2deg) translateY(-8px); } }
.sk-lock__ch { width: 120px; height: auto; margin-top: -110px; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.25)); }
.sk-my__trio { width: min(300px, 80%); height: auto; }

/* 커서를 따라 기우는 카드 */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-tilt] { transition: transform 0.25s var(--ease-out); will-change: transform; }
}

/* 스크롤하면 무대가 살짝 멀어져요 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sk-stage__scene { animation: sk-stage-away linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes sk-stage-away { to { transform: translateY(-10%) scale(0.92); opacity: 0.6; } }
  }
}

@media (max-width: 900px) {
  .sk-stage__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .sk-stage__scene { aspect-ratio: 1.15; margin-inline: -4%; width: 108%; }
  .sk-stage__facts { grid-template-columns: 1fr 1fr; }
  .sk-friends__top { grid-template-columns: 1fr; }
  .sk-friends__list { grid-template-columns: 1fr; row-gap: 150px; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .sk .sk-stage__title { font-size: clamp(3rem, 15vw, 4.2rem); }
  .sk-marquee__item { font-size: var(--step-body); }
  .sk-marquee__ring { width: 36px; height: 36px; }
  .sk-reply__ch { width: 88px; top: -88px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-marquee__track { animation: none; }
}

/* 쓰다듬으면 퐁퐁 올라오는 하트 */
.sk-3d__heart { position: absolute; z-index: 4; width: 30px; height: 30px; pointer-events: none; animation: sk-heart 1.25s var(--ease-out) forwards; }
.sk-3d__heart svg { width: 100%; height: 100%; fill: #ff6f9a; filter: drop-shadow(0 4px 6px rgba(255, 111, 154, 0.45)); }
@keyframes sk-heart {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  18% { opacity: 1; transform: translate(-50%, -90%) scale(1.15) rotate(var(--rot)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -300%) scale(0.8) rotate(var(--rot)); }
}
.sk-logo { width: 40px; height: 40px; object-fit: contain; }

/* 8주 주제 줄: 남색 위로 조용히 흐르는 얇은 글자 줄 */
.sk .sk-marquee {
  background: none; color: #c9d4d9; transform: none; margin: 0; padding-block: 22px 26px; box-shadow: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.sk .sk-marquee__track { gap: 0; animation-duration: 60s; }
.sk .sk-marquee__item { gap: 10px; font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; }
.sk .sk-marquee__item b { font-weight: 700; font-size: var(--step-small); color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.sk .sk-marquee__item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); margin-inline: 28px; }
/* 주제 줄: 남색 무대에 이어지는 더 짙은 띠. 가는 선 사이로 흰 글자와 보라 번호가 흘러가요 */
.sk .sk-marquee { position: relative; background: #16232a; color: #eef2f4; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-block: 20px; -webkit-mask-image: none; mask-image: none; }
.sk .sk-marquee__track { -webkit-mask-image: none; }
.sk-marquee::before, .sk-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 1; pointer-events: none; }
.sk-marquee::before { left: 0; background: linear-gradient(90deg, #16232a, transparent); }
.sk-marquee::after { right: 0; background: linear-gradient(270deg, #16232a, transparent); }
.sk .sk-marquee__item { gap: 12px; font-weight: 500; letter-spacing: -0.005em; }
.sk .sk-marquee__item b { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding-inline: 8px; border: 1px solid rgba(185, 168, 255, 0.45); border-radius: 999px; color: #c9bcff; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.sk .sk-marquee__item::after { width: 9px; height: 9px; border-radius: 0; margin-inline: 34px; background: #b9a8ff; opacity: 0.7; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sk-3d__bubble { width: max-content; max-width: min(15em, 70%); word-break: keep-all; }

/* 듣기 버튼: 스피커 아이콘만 (글자는 화면 읽기용으로만 남겨요) */
.sk .sk-listen { width: 60px; padding: 0; justify-content: center; }
.sk .sk-listen span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sk .sk-listen .sk-ic { width: 26px; height: 26px; }
.sk .sk-listen, .sk .sk-round { box-shadow: 0 4px 0 rgba(31, 48, 56, 0.12); transition: transform 0.14s var(--ease-out), background-color 0.2s ease; }
.sk .sk-listen:active { transform: translateY(2px); }

/* 어두운 무료 체험 칸에서는 버튼을 밝게 */
.sk .sk-try .sk-round { background: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; }
.sk .sk-try .sk-round--ink { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-edge); }
.sk .sk-try .sk-listen { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.sk .sk-try .sk-listen[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* ---------------- 왜 지금 AI 교육인가 ---------------- */
.sk-why { padding-block: clamp(96px, 11vw, 170px) 0; background: var(--bg); overflow-x: clip; }
.sk .sk-why__title { font-size: var(--step-head); max-width: 12em; }
/* 바르게 쓰는 법: 아래에 보라색 지그재그 줄 */
.sk .sk-zig { background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2712%27 viewBox=%270 0 24 12%27%3E%3Cpath d=%27M0 10 L6 2 L12 10 L18 2 L24 10%27 fill=%27none%27 stroke=%27%236a4fd6%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") repeat-x left bottom / 1.2em 0.6em; display: inline-block; line-height: 1.05; padding-bottom: 0.62em; }
.sk .sk-why__statement {
  margin-top: clamp(40px, 5vw, 72px); max-width: 30em;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.6rem); font-weight: 700; line-height: 1.45; letter-spacing: -0.03em;
}
.sk-why__statement span { transition: color 0.35s ease; }
.sk-why__statement.is-live span { color: rgba(31, 48, 56, 0.18); }
.sk-why__statement.is-live span.is-lit { color: var(--ink); }
.sk-why__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 104px); }
.sk-why__item { position: relative; background: var(--paper); border-radius: 32px; padding: 32px 28px 36px; display: grid; gap: 14px; align-content: start; box-shadow: var(--clay); }
.sk-why__item:nth-child(1) { background: var(--sky); }
.sk-why__item:nth-child(2) { background: var(--peach); }
.sk-why__item:nth-child(3) { background: var(--butter); }
.sk .sk-why__no { position: absolute; top: 26px; right: 28px; font-weight: 800; font-size: var(--step-small); color: var(--muted); letter-spacing: 0.06em; }
.sk-why__ic { width: 56px; height: 56px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--accent); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.06); }
.sk-why__ic .sk-ic { width: 26px; height: 26px; }
.sk-why__item h3 { font-size: var(--step-sub); margin-top: 8px; }
.sk-why__item p { line-height: 1.6; }
.sk-why__end { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 72px); margin: clamp(56px, 7vw, 104px) calc(50% - 50vw) 0; padding: clamp(56px, 7vw, 112px) max(24px, calc(50vw - 560px)); background: radial-gradient(120% 140% at 85% 10%, #2e3f6b 0%, transparent 55%), linear-gradient(135deg, #1b2a31 0%, var(--ink) 55%, #2a2350 100%); color: #fff; text-align: left; }
/* 세 친구 뒤 보랏빛 동그란 빛 */
.sk-why__glow { position: absolute; z-index: -1; left: max(24px, calc(50vw - 560px)); top: 50%; width: min(440px, 46vw); aspect-ratio: 1; transform: translate(-8%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 120, 255, 0.55), rgba(106, 79, 214, 0.18) 60%, transparent); filter: blur(6px); }
/* 작은 별 반짝이 */
.sk-why__stars i { position: absolute; z-index: -1; width: 14px; height: 14px; background: var(--sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0.85; }
.sk-why__stars i:nth-child(1) { left: 8%; top: 18%; }
.sk-why__stars i:nth-child(2) { left: 38%; top: 12%; width: 9px; height: 9px; opacity: 0.6; }
.sk-why__stars i:nth-child(3) { right: 9%; top: 22%; width: 18px; height: 18px; }
.sk-why__stars i:nth-child(4) { right: 22%; bottom: 14%; width: 10px; height: 10px; background: #fff; opacity: 0.5; }
.sk-why__stars i:nth-child(5) { left: 30%; bottom: 12%; width: 12px; height: 12px; background: #b9a6ff; }
@media (prefers-reduced-motion: no-preference) {
  .sk-why__stars i { animation: sk-twinkle 2.6s ease-in-out infinite; }
  .sk-why__stars i:nth-child(2n) { animation-delay: 0.9s; }
  .sk-why__stars i:nth-child(3n) { animation-delay: 1.6s; }
}
@keyframes sk-twinkle { 50% { transform: scale(0.55) rotate(20deg); opacity: 0.35; } }
.sk-why__trio { width: min(360px, 44%); height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5)); }
.sk .sk-why__slogan { display: grid; gap: clamp(10px, 1.2vw, 16px); color: #fff; letter-spacing: -0.03em; }
.sk .sk-why__kicker { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--sun); font-size: var(--step-small); font-weight: 800; letter-spacing: 0.02em; }
.sk-why__kicker .sk-ic { width: 16px; height: 16px; }
.sk .sk-why__line1 { font-size: clamp(1.15rem, 0.9rem + 1vw, 1.75rem); font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.sk .sk-why__line2 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 800; line-height: 1.1; }
.sk-why__line2 mark { position: relative; z-index: 0; color: var(--ink); background: none; padding: 0 0.12em; white-space: nowrap; }
.sk-why__line2 mark::before { content: ""; position: absolute; z-index: -1; inset: 0.12em -0.04em 0.04em; border-radius: 0.28em; background: var(--sun); transform: rotate(-1.5deg); }
@media (max-width: 900px) {
  .sk-why__list { grid-template-columns: 1fr; }
  .sk-why__end { flex-direction: column; text-align: center; }
  .sk .sk-why__kicker { justify-self: center; }
  .sk-why__glow { left: 50%; top: 28%; transform: translate(-50%, -50%); width: 80vw; }
  .sk-why__trio { width: min(260px, 80%); }
}

/* 주차 사진: 세 친구가 알려주는 장면 */
.sk-row__pic { position: relative; border-radius: 22px; }
.sk .sk-row__col img { aspect-ratio: 4 / 5; }
.sk-row__who {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: var(--step-small); font-weight: 800;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
}
.sk-row__who { bottom: auto; top: 12px; }

/* ---------------- 세 친구가 가르치는 카드 ---------------- */
.sk-dcard.is-nudge { animation: sk-nudge 0.35s; }
.sk-dcard--say { justify-content: center; }
.sk-say { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: clamp(12px, 3vw, 28px); align-items: end; }
.sk-say__ch { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(31, 48, 56, 0.2)); animation: sk-pop 0.5s var(--ease-out) both; }
.sk-say__bubble { position: relative; padding: clamp(18px, 3vw, 28px); border-radius: 28px 28px 28px 8px; background: var(--butter); align-self: center; animation: sk-pop 0.5s var(--ease-out) 0.08s both; }
.sk-say--peter .sk-say__bubble { background: var(--peach); }
.sk-say--luna .sk-say__bubble { background: var(--sky); }
.sk-say__bubble b { display: block; font-size: var(--step-small); font-weight: 800; margin-bottom: 6px; color: var(--accent); }
.sk .sk-say__bubble p { font-size: var(--step-lead); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.sk-say__pic { display: block; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; height: auto; margin-top: 14px; border-radius: 18px; object-fit: cover; background: #fff; animation: sk-fade-in 0.3s ease both; }
@media (max-height: 760px) { .sk-say__pic { max-width: 300px; } }

.sk-choices { display: grid; gap: 10px; }
.sk .sk-choice {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 18px; border: 0; border-radius: 20px;
  background: var(--surface); font-size: var(--step-lead); font-weight: 700; text-align: left;
  box-shadow: 0 4px 0 var(--surface-2); transition: transform 0.14s var(--ease-out), background-color 0.2s ease;
}
.sk .sk-choice span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: var(--step-small); font-weight: 800; }
.sk .sk-choice:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--surface-2); }
.sk .sk-choice.is-right { background: var(--accent); color: #fff; box-shadow: 0 4px 0 #4a34a8; }
.sk .sk-choice.is-right span { color: var(--accent); }
.sk .sk-choice.is-wrong span { color: var(--seal); }
.sk .sk-choice.is-wrong { background: #f6d4d6; color: var(--seal); opacity: 0.8; }
.sk .sk-choice:disabled { cursor: default; }

.sk-sort { display: grid; gap: 16px; }
.sk .sk-sort__count { font-size: var(--step-small); font-weight: 800; color: var(--muted); }
.sk-sort__item {
  padding: clamp(22px, 4vw, 34px) 20px; border-radius: 24px; background: var(--butter); text-align: center;
  font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3;
  box-shadow: var(--clay); animation: sk-pop 0.4s var(--ease-out) both;
}
.sk-sort__bins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sk .sk-sort__bin {
  min-height: 70px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--step-lead); font-weight: 800; background: var(--surface); box-shadow: 0 4px 0 var(--surface-2);
  transition: transform 0.14s var(--ease-out), background-color 0.2s ease;
}
.sk .sk-sort__bin[data-ai="1"] { background: #dff1ef; }
.sk .sk-sort__bin:active:not(:disabled) { transform: translateY(3px); }
.sk .sk-sort__bin.is-right { background: var(--accent); color: #fff; }
.sk .sk-sort__bin.is-wrong { background: var(--seal); color: #fff; }
.sk .sk-sort__why { min-height: 3em; font-size: var(--step-body); }
.sk-sort__end { display: grid; justify-items: center; gap: 10px; text-align: center; }
.sk-sort__end img { width: 120px; height: auto; animation: sk-pop 0.5s var(--ease-out) both; }
.sk .sk-sort__score { font-size: var(--step-sub); font-weight: 800; }
.sk .sk-sort__score b { font-size: var(--step-head); color: var(--accent); }
@media (max-width: 600px) {
  .sk-say { grid-template-columns: 1fr; justify-items: center; }
  .sk-say__ch { width: 120px; }
  .sk-say__bubble { border-radius: 28px; }
}

/* 수업 카드의 3D 선생님 */
.sk-say__slot { position: relative; width: 100%; aspect-ratio: 440 / 640; }
.sk-say__slot > img { width: 100%; height: 100%; object-fit: contain; }
.sk-say__slot.has-3d > img { visibility: hidden; }
.sk-say__slot .sk-say__ch { animation: none; }
.sk-teacher { position: absolute; inset: -14% -22% -4%; z-index: 1; }
.sk-course > .sk-teacher { inset: auto; left: -9999px; top: 0; width: 300px; height: 420px; }
.sk-teacher canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.sk-ask { display: flex; align-items: center; gap: 16px; }
.sk-say__slot--mini { width: clamp(76px, 12vw, 104px); flex: none; }
.sk .sk-ask__who { font-size: var(--step-small); margin-bottom: 4px; }
.sk-ask__who b { font-weight: 800; color: var(--accent); }
@media (max-width: 600px) {
  .sk-say .sk-say__slot { width: 140px; }
}

/* 분류 게임 바구니: 2개든 3개든 나란히 */
.sk-sort__bins { grid-template-columns: repeat(var(--n, 2), 1fr); }
.sk .sk-sort__bin[data-ai="1"] { background: var(--surface); }
.sk .sk-sort__bin:nth-child(1) { background: #dff1ef; }
.sk .sk-sort__bin:nth-child(2) { background: var(--peach); }
.sk .sk-sort__bin:nth-child(3) { background: var(--sky); }
.sk .sk-sort__bin.is-right { background: var(--accent); color: #fff; }
.sk .sk-sort__bin.is-wrong { background: var(--seal); color: #fff; }
.sk-sort__bins[style*="--n:3"] .sk-sort__bin { font-size: var(--step-body); flex-direction: column; gap: 4px; min-height: 84px; border-radius: 24px; padding: 8px; }
.sk .sk-novoice { margin-top: 4px; padding: 10px 16px; border-radius: 16px; background: var(--butter); color: var(--ink); font-size: var(--step-small); font-weight: 600; text-align: center; }
.sk .sk-try .sk-novoice { background: rgba(255, 255, 255, 0.92); }

/* 밝은 버튼(다시 해 보기 등): 마우스를 올려도 밝은 바탕에 진한 글자 */
@media (hover: hover) and (pointer: fine) {
  .sk .sk-btn--ghost:hover { background: #d9cfbf; color: var(--ink); }
}

/* 카드 넘기기: 나가는 카드와 들어오는 카드가 같은 자리에서 겹쳐요 */
.sk-deck__stage { display: grid; }
.sk-deck__stage > .sk-dcard { grid-area: 1 / 1; }
.sk-dcard { animation: sk-card-in 0.55s var(--ease-out) both; will-change: transform, opacity; }
@keyframes sk-card-in { from { opacity: 0; transform: translateX(var(--from, 40px)) rotate(var(--rot, 0deg)) scale(0.97); } }
.sk-dcard.is-leaving { z-index: 0; pointer-events: none; animation: sk-card-out 0.4s var(--ease-in-out) forwards; }
@keyframes sk-card-out {
  from { opacity: 1; transform: var(--from-x, none); }
  to { opacity: 0; transform: translateX(var(--to, -60px)) rotate(var(--rot-out, -3deg)) scale(0.94); }
}
.sk-dcard.is-dragging { animation: none; cursor: grabbing; }
.sk-dcard.is-snap { transition: transform 0.35s var(--ease-out); }
.sk-dcard.is-leaving .sk-say__slot.has-3d > img { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .sk-dcard, .sk-dcard.is-leaving { animation: none; }
  .sk-dcard.is-leaving { display: none; }
}

/* ---------------- 미니 게임: 끌어다 놓기 ---------------- */
.sk-drag { display: grid; gap: 14px; }
.sk .sk-drag__hint { display: flex; align-items: center; gap: 8px; font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.sk-drag__pile { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; min-height: 56px; }
.sk .sk-chip {
  position: relative; z-index: 2; padding: 12px 16px; border: 0; border-radius: 18px; background: #fff;
  font-size: var(--step-body); font-weight: 700; line-height: 1.3; color: var(--ink); cursor: grab; touch-action: none;
  box-shadow: 0 4px 0 var(--surface-2), 0 10px 18px -12px rgba(31, 48, 56, 0.5); transform: rotate(var(--r, 0deg));
  transition: transform 0.25s var(--ease-out), box-shadow 0.2s ease;
}
.sk .sk-chip.is-drag { z-index: 20; cursor: grabbing; transition: none; box-shadow: 0 18px 30px -12px rgba(31, 48, 56, 0.5); }
.sk .sk-chip.is-picked { outline: 3px solid var(--accent); transform: translateY(-4px) rotate(0deg); }
.sk .sk-chip.is-back { transition: transform 0.35s var(--ease-out); animation: sk-nudge 0.35s; }
.sk .sk-chip.is-placed { cursor: default; transform: none; padding: 6px 10px; font-size: var(--step-small); border-radius: 12px; box-shadow: none; animation: sk-pop 0.35s var(--ease-out) both; }
.sk-drag__bins { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 10px; }
.sk-bin {
  min-height: 150px; border-radius: 24px; padding: 12px; display: grid; align-content: start; gap: 8px;
  border: 3px dashed rgba(31, 48, 56, 0.18); transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}
.sk-bin:nth-child(1) { background: #dff1ef; }
.sk-bin:nth-child(2) { background: var(--peach); }
.sk-bin:nth-child(3) { background: var(--sky); }
.sk-bin__head { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: var(--step-body); }
.sk-bin__in { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sk-bin.is-over { transform: scale(1.04); border-color: var(--accent); }
.sk-bin.is-hop { animation: sk-bin-hop 0.45s var(--ease-out); }
.sk-bin.is-no { animation: sk-nudge 0.35s; }
@keyframes sk-bin-hop { 40% { transform: translateY(-8px) scale(1.03); } }

/* ---------------- 미니 게임: 숨은그림찾기 ---------------- */
.sk-hide { display: grid; gap: 12px; }
.sk .sk-hide__count { font-weight: 700; }
.sk-hide__count b { font-size: var(--step-sub); color: var(--accent); }
.sk-hide__pic { border-radius: 22px; overflow: hidden; box-shadow: var(--clay); }
.sk-hide__pic svg { display: block; width: 100%; height: auto; cursor: pointer; }
.sk-hide__pic [data-find] { cursor: pointer; }
.sk-hide__ring { fill: none; stroke: var(--seal); stroke-width: 3.5; stroke-dasharray: 260; stroke-dashoffset: 260; animation: sk-ring 0.5s var(--ease-out) forwards; }
@keyframes sk-ring { to { stroke-dashoffset: 0; } }
.sk-hide__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-hide__list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: var(--step-small); color: var(--muted); }
.sk-hide__list li.is-found { background: var(--accent); color: #fff; }
.sk-hide__list li.is-found span { text-decoration: line-through; }
@media (max-width: 600px) {
  .sk-drag__bins[style*="--n:3"] { grid-template-columns: 1fr; }
  .sk-bin { min-height: 110px; }
}

/* 카드 틀은 그대로, 내용만 바뀌어요 (앞의 '겹치며 넘어가기'를 대신해요) */
.sk-deck__stage > .sk-dcard { display: grid; animation: none; transition: background-color 0.35s ease, color 0.35s ease; }
.sk-dcard__inner { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; min-width: 0; animation: sk-inner-in 0.42s var(--ease-out) both; }
.sk-dcard__inner.is-out { pointer-events: none; animation: sk-inner-out 0.28s var(--ease-in-out) forwards; }
@keyframes sk-inner-in { from { opacity: 0; transform: translateX(var(--from, 24px)); } }
@keyframes sk-inner-out { to { opacity: 0; transform: translateX(var(--to, -24px)); } }
.sk-dcard__inner.is-dragging { animation: none; cursor: grabbing; }
.sk-dcard__inner.is-snap { transition: transform 0.35s var(--ease-out); }
.sk-dcard--finish .sk-dcard__inner { align-items: center; text-align: center; }
.sk-dcard--together .sk-dcard__inner { justify-content: flex-start; }
.sk-dcard--say .sk-dcard__inner { justify-content: center; }
.sk-dcard__inner.is-out .sk-say__slot.has-3d > img { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .sk-dcard__inner, .sk-dcard__inner.is-out { animation: none; }
  .sk-dcard__inner.is-out { display: none; }
}

/* 약속 퀴즈: 틀린 답은 흐리게, 다시 고를 수 있어요 */
.sk .sk-q__btn.is-tried { opacity: 0.4; background: #f6d4d6; color: var(--seal); }
.sk-card-q.is-wrong .sk-q__btn:not(.is-tried):not(:disabled) { background: var(--surface); color: var(--ink); }

/* 분류 게임 그림 카드 */
.sk .sk-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; width: clamp(104px, 22%, 136px); padding: 12px 10px 10px; text-align: center; }
.sk-chip__pic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--butter); color: var(--ink); }
.sk-chip:nth-child(3n+2) .sk-chip__pic { background: var(--peach); }
.sk-chip:nth-child(3n) .sk-chip__pic { background: var(--sky); }
.sk-chip__pic .sk-ic { width: 28px; height: 28px; }
.sk-chip__txt { font-size: var(--step-small); font-weight: 700; line-height: 1.3; word-break: keep-all; }
.sk .sk-chip.is-placed { flex-direction: row; width: auto; padding: 4px 10px 4px 4px; gap: 6px; }
.sk .sk-chip.is-placed .sk-chip__pic { width: 28px; height: 28px; border-radius: 9px; }
.sk .sk-chip.is-placed .sk-chip__pic .sk-ic { width: 16px; height: 16px; }
.sk .sk-chip * { pointer-events: none; }
/* 게임 카드의 실사 사진 */
.sk-chip__photo { width: 100%; aspect-ratio: 1; height: auto; border-radius: 12px; object-fit: cover; display: block; background: var(--surface-2); }
.sk .sk-chip:has(.sk-chip__photo) { width: clamp(120px, 24%, 168px); padding: 8px 8px 10px; }
.sk .sk-chip.is-placed .sk-chip__photo { width: 36px; height: 36px; border-radius: 8px; }
.sk .sk-chip.is-placed:has(.sk-chip__photo) { width: auto; padding: 4px 10px 4px 4px; }
.sk-sort__photo { display: block; width: min(260px, 60vw); aspect-ratio: 1; height: auto; margin: 0 auto 12px; border-radius: 18px; object-fit: cover; }
@media (max-height: 760px) { .sk-sort__photo { width: min(180px, 50vw); } }

/* 카드는 제자리, 안의 내용만 조용히 바뀌어요 (움직임 없이 빠른 페이드) */
.sk-deck__stage > .sk-dcard { min-height: clamp(460px, 62vh, 580px); transition: background-color 0.3s ease, color 0.3s ease; }
.sk-dcard__inner { animation: sk-fade-in 0.26s ease both; }
.sk-dcard__inner.is-out { animation: sk-fade-out 0.14s ease forwards; }
@keyframes sk-fade-in { from { opacity: 0; } }
@keyframes sk-fade-out { to { opacity: 0; } }
.sk-dcard__inner .sk-say__ch, .sk-dcard__inner .sk-say__bubble, .sk-dcard__inner .sk-sort__item,
.sk-dcard__inner .sk-dcard__ch, .sk-dcard__inner .sk-finish__trio { animation: none; }
@media (max-width: 600px) { .sk-deck__stage > .sk-dcard { min-height: clamp(420px, 70vh, 560px); } }

/* 같은 캐릭터가 이어서 말할 때: 말풍선 글만 살짝 바뀌어요 */
.sk-say__bubble.is-swap p { animation: sk-fade-in 0.28s ease both; }

/* ---------------- 파트별 이름표와 카드 색 ---------------- */
.sk-deck__stage > .sk-dcard[data-part="learn"] { background: #ffffff; }
.sk-deck__stage > .sk-dcard[data-part="try"] { background: #e9f6f3; }
.sk-deck__stage > .sk-dcard[data-part="game"] { background: #fff5d6; }
.sk-deck__stage > .sk-dcard[data-part="think"] { background: #f1ecfb; }
.sk-deck__stage > .sk-dcard[data-part="quiz"] { background: #fdece4; }
.sk-deck__stage > .sk-dcard[data-part="together"] { background: #e7eefb; }
.sk-deck__stage > .sk-dcard[data-part="talk"] { background: #f6eee4; }
.sk .sk-partchip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2px;
  padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  font-size: var(--step-small) !important; font-weight: 800; letter-spacing: -0.01em; box-shadow: 0 2px 0 rgba(31, 48, 56, 0.08);
}
.sk-partchip b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; }
[data-part="learn"] .sk-partchip b { background: #b88a12; }
[data-part="try"] .sk-partchip b { background: var(--accent); }
[data-part="game"] .sk-partchip b { background: #d08a00; }
[data-part="think"] .sk-partchip b { background: #7b5cd6; }
[data-part="quiz"] .sk-partchip b { background: var(--seal); }
[data-part="together"] .sk-partchip b { background: #3f6fd0; }
[data-part="talk"] .sk-partchip b { background: #8b5a3a; }
[data-part="learn"] .sk-partchip { background: var(--butter); }
/* 진행 막대도 파트 색으로 */
.sk-deck__progress i.is-on[data-part="learn"] { background: #b88a12; }
.sk-deck__progress i.is-on[data-part="try"] { background: var(--accent); }
.sk-deck__progress i.is-on[data-part="game"] { background: #d08a00; }
.sk-deck__progress i.is-on[data-part="think"] { background: #7b5cd6; }
.sk-deck__progress i.is-on[data-part="quiz"] { background: var(--seal); }
.sk-deck__progress i.is-on[data-part="together"] { background: #3f6fd0; }
.sk-deck__progress i.is-on[data-part="talk"] { background: #8b5a3a; }

/* 숨은그림찾기: 실사 사진 위의 찾을 곳 */
.sk-hide__pic.is-photo { position: relative; }
.sk-hide__pic.is-photo img { display: block; width: 100%; height: auto; user-select: none; }
.sk .sk-hide__spot { position: absolute; border: 0; padding: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.sk .sk-hide__spot.is-found { box-shadow: 0 0 0 4px var(--seal), 0 0 0 9px rgba(196, 22, 28, 0.25); animation: sk-pop 0.35s var(--ease-out) both; }
.sk .sk-hide__spot:focus-visible { outline: 3px solid var(--accent); }
.sk-hide__again { display: flex; justify-content: center; }
.sk-hide__again[hidden] { display: none; }

/* ---------------- 포인트 색: 보라 (아이들이 좋아하는 색) ---------------- */
.sk { --accent-strong: #5a40c8; --pink: #ff7fa3; --sky2: #5fb2ff; }
.sk .sk-btn:focus-visible, .sk :focus-visible { outline-color: var(--accent); }
.sk-stage__disc { background: #efe9ff; box-shadow: inset 0 -26px 0 rgba(106, 79, 214, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.sk .sk-sort__bin:nth-child(1), .sk-bin:nth-child(1) { background: #efe9ff; }
.sk-deck__stage > .sk-dcard[data-part="try"] { background: #eef6ff; }
[data-part="try"] .sk-partchip b, .sk-deck__progress i.is-on[data-part="try"] { background: #3f86e6; }

/* ---------------- 참 잘했어요 도장 (멘토 얼굴) ---------------- */
.sk-stamp { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(31, 48, 56, 0.18)); }
.sk .sk-slot__ring.is-stamp, .sk-slot.is-done .sk-slot__ring.is-stamp {
  background: none; border: 0; box-shadow: none; color: inherit; transform: rotate(-8deg); overflow: visible;
}
.sk-slot.is-new .sk-slot__ring.is-stamp { animation: sk-stamp 0.55s var(--ease-out) both; }
.sk .sk-seal-red.sk-seal--mentor { border: 0; width: 170px; height: 170px; background: none; color: inherit; transform: rotate(-8deg); }
.sk .sk-seal-red.sk-seal--mentor.is-pressed { opacity: 1; animation: sk-stamp 0.6s var(--ease-out) both; }
.sk-dcard .sk-finish .sk-seal-red.sk-seal--mentor { margin-top: -30px; width: 150px; height: 150px; }

/* 파트 이름표는 카드 틀 왼쪽 위에 고정 */
.sk-deck__stage > .sk-dcard { position: relative; }
.sk-dcard > .sk-partchip { position: absolute; top: 18px; left: 22px; z-index: 3; margin: 0; }
.sk-dcard > .sk-partchip.is-swap { animation: sk-fade-in 0.3s ease both; }
.sk-dcard[data-part] .sk-dcard__inner { padding-top: 34px; }
.sk-dcard > .sk-partchip[data-part="learn"] { background: var(--butter); }
.sk-dcard > .sk-partchip[data-part="learn"] b { background: #b88a12; }
.sk-dcard > .sk-partchip[data-part="try"] b { background: #3f86e6; }
.sk-dcard > .sk-partchip[data-part="game"] b { background: #d08a00; }
.sk-dcard > .sk-partchip[data-part="think"] b { background: #7b5cd6; }
.sk-dcard > .sk-partchip[data-part="quiz"] b { background: var(--seal); }
.sk-dcard > .sk-partchip[data-part="together"] b { background: #3f6fd0; }
.sk-dcard > .sk-partchip[data-part="talk"] b { background: #8b5a3a; }
.sk-stampcard--course .sk-slot__ring.is-stamp { width: clamp(70px, 8.4vw, 100px); }

/* 숫자로 보는 지금: '막을 수 없다면' 섹션과 같은 밝은 바탕, 파스텔 카드, 보라 강조 */
.sk-alert { padding-block: clamp(72px, 8vw, 128px); margin: clamp(8px, 1.4vw, 20px); border-radius: clamp(36px, 5vw, 72px); background: #efeafc; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(106, 79, 214, 0.08); }
.sk .sk-alert__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--accent); font-weight: 800; font-size: var(--step-small); box-shadow: var(--clay); }
.sk-alert__kicker .sk-ic { width: 18px; height: 18px; }
.sk .sk-alert__title { margin-top: 20px; font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.12; max-width: 16em; }
.sk .sk-alert__lead { margin-top: 20px; font-size: var(--step-lead); line-height: 1.5; color: var(--muted); max-width: 34em; }
.sk-alert__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(44px, 6vw, 80px); }
.sk-alert__item { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border-radius: 32px; box-shadow: var(--clay); }
.sk-alert__item:nth-child(1) { background: var(--sky); }
.sk-alert__item:nth-child(2) { background: var(--peach); }
.sk-alert__item:nth-child(3) { background: var(--butter); }
.sk-alert__item:nth-child(4) { background: var(--mint); }
.sk .sk-alert__num { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.sk .sk-alert__item p { line-height: 1.6; }
/* 출처는 카드 맨 아래에 작고 흐리게 */
.sk .sk-alert__src { margin-top: auto; padding-top: 8px; font-size: 0.75rem; line-height: 1.5; color: var(--muted); opacity: 0.7; text-decoration: underline; text-underline-offset: 3px; word-break: keep-all; }
.sk .sk-alert__src:hover, .sk .sk-alert__src:focus-visible { color: var(--ink); opacity: 1; }
.sk .sk-alert__note { margin-top: 20px; font-size: var(--step-small); color: var(--muted); }
.sk .sk-alert__end { display: grid; gap: 10px; margin-top: clamp(40px, 5vw, 72px); letter-spacing: -0.03em; }
.sk .sk-alert__end1 { font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.6rem); font-weight: 600; color: var(--muted); }
.sk .sk-alert__end2 { font-size: clamp(1.9rem, 1.1rem + 3vw, 3.75rem); font-weight: 800; line-height: 1.15; color: var(--ink); }
.sk-alert__end2 mark { position: relative; z-index: 0; color: #fff; background: none; padding: 0 0.14em; white-space: nowrap; }
.sk-alert__end2 mark::before { content: ""; position: absolute; z-index: -1; inset: 0.1em -0.04em 0.02em; border-radius: 0.28em; background: var(--accent); transform: rotate(-1.2deg); }
@media (max-width: 1000px) { .sk-alert__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sk-alert__list { grid-template-columns: 1fr; } }
/* 숫자 카드 위 작은 그래프: 강조 하나만 보라, 나머지는 흐린 먹색 */
.sk-alert__chart { margin: 0 0 6px; display: grid; gap: 8px; }
.sk-alert__fig { display: block; width: 100%; height: 112px; overflow: visible; }
.sk .sk-alert__chart figcaption { font-size: var(--step-small); font-weight: 700; color: var(--muted); }
.sk-alert__kid { fill: rgba(31, 48, 56, 0.16); }
.sk-alert__kid.is-hot { fill: var(--accent); }
.sk-alert__base { stroke: rgba(31, 48, 56, 0.2); stroke-width: 1; }
.sk-alert__bar path { fill: rgba(31, 48, 56, 0.2); transform-box: fill-box; transform-origin: 50% 100%; }
.sk-alert__bar.is-hot path { fill: var(--accent); }
.sk-alert__val { fill: var(--ink); font-size: 15px; font-weight: 800; text-anchor: middle; }
.sk-alert__yr { fill: var(--muted); font-size: 13px; font-weight: 600; text-anchor: middle; }
.sk-alert__bar:hover path { filter: brightness(1.15); }
@media (prefers-reduced-motion: no-preference) {
  .sk-alert__list:not(.is-in) .sk-alert__bar path { transform: scaleY(0); }
  .sk-alert__list:not(.is-in) .sk-alert__val, .sk-alert__list:not(.is-in) .sk-alert__kid { opacity: 0; }
  .sk-alert__bar path { transition: transform 0.9s var(--ease-out) 0.25s; }
  .sk-alert__val { transition: opacity 0.4s ease 0.9s; }
  .sk-alert__kid { transition: opacity 0.35s ease calc(0.2s + var(--k) * 0.03s); }
  .sk-alert__kid.is-hot { animation: sk-alert-pulse 1.8s ease-in-out 1.4s infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes sk-alert-pulse { 50% { transform: scale(1.18); } }

/* 출처와 저작권 */
.sk-credits { padding-block: clamp(48px, 6vw, 96px); }
.sk-credits__group + .sk-credits__group { margin-top: clamp(36px, 4vw, 56px); }
.sk .sk-credits__group h2 { font-size: var(--step-sub); margin-bottom: 14px; }
.sk-credits__group ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.sk-credits__group li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: var(--surface); }
.sk-credits__group a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sk-credits__group span { font-size: var(--step-small); color: var(--muted); }
.sk .sk-credits__note { margin-top: 32px; color: var(--muted); }

/* 이용약관 · 환불 정책 · 개인정보 처리방침: 읽기 좋은 글 폭 */
.sk-legal { padding-block: clamp(48px, 6vw, 96px); }
.sk-legal .sk-wrap { max-width: 760px; }
.sk .sk-legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 24px; }
.sk .sk-legal h2 { font-size: var(--step-sub); margin: 36px 0 10px; }
.sk .sk-legal p, .sk .sk-legal li { line-height: 1.75; }
.sk-legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.sk-legal em { color: var(--muted); }
.sk-legal mark { background: #fff1b8; padding: 0 4px; border-radius: 4px; }

/* 레슨 카드 위 소개 영상 */
.sk-intro { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(16px, 3vw, 36px); align-items: center; margin: 0 0 clamp(24px, 3vw, 40px); padding: clamp(14px, 2vw, 20px); border-radius: 32px; background: #efeafc; box-shadow: var(--clay); }
.sk-intro__vid { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 22px; background: #000; object-fit: cover; }
.sk-intro figcaption { display: grid; gap: 8px; }
.sk .sk-intro figcaption b { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-sub); color: var(--accent); }
.sk-intro figcaption .sk-ic { width: 22px; height: 22px; }
.sk .sk-intro figcaption span { font-size: var(--step-lead); line-height: 1.5; }
/* 영상 카드: 카드 안에 영상과 안내를 나란히 */
.sk-dcard--video { background: #efeafc; }
.sk-dcard--video .sk-intro { margin: 0; padding: 0; background: none; box-shadow: none; }
.sk-intro__gate { font-size: var(--step-small); font-weight: 700; color: var(--accent); }
.sk-dcard.is-watched .sk-intro__gate { color: #1a7f4b; }
@media (max-width: 700px) { .sk-intro { grid-template-columns: 1fr; } .sk-intro__vid { max-width: 360px; margin-inline: auto; } }

/* ---------------- 수강 신청 · 아이 고르기 · 형제 수료증 ---------------- */
.sk .sk-enroll { background: var(--bg); padding-block: clamp(120px, 14vw, 180px) clamp(64px, 8vw, 120px); }
.sk .sk-enroll__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sk .sk-enroll__side { display: grid; gap: 12px; position: sticky; top: 110px; }
.sk .sk-eyebrow { margin: 0; font-size: var(--step-small); font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.sk .sk-enroll__side h1 { margin: 0; font-size: var(--step-sub); line-height: 1.15; letter-spacing: -0.03em; }
.sk .sk-enroll__meta { margin: 0; color: var(--muted); }
.sk .sk-enroll__price { margin: 6px 0 0; font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; }
.sk .sk-enroll__trio { width: min(320px, 80%); height: auto; margin-top: 12px; }
.sk .sk-enroll__card { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.sk .sk-enroll__card h2 { margin: 0; font-size: var(--step-lead); letter-spacing: -0.02em; }
.sk .sk-enroll__card form { display: grid; gap: 18px; }
.sk .sk-enroll__err { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #9b1c22; font-weight: 600; }
.sk .sk-enroll__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.sk .sk-enroll__go { justify-self: start; }
.sk .sk-enroll__small { margin: 0; font-size: var(--step-small); }
.sk .sk-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.sk .sk-pick legend { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; padding: 0; }
.sk .sk-pick__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.sk .sk-pick__kid { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 44px; border: 1.5px solid var(--surface-2); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.sk .sk-pick__kid input { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.sk .sk-pick__kid:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.sk .sk-pick__kid.is-off { opacity: 0.5; cursor: not-allowed; }
.sk .sk-pick__name { font-weight: 700; }
.sk .sk-pick__kid small { color: var(--muted); font-size: var(--step-small); }
.sk .sk-pick__kid--new { border-style: dashed; }
.sk .sk-pick__new { display: grid; gap: 12px; }
.sk .sk-pick__new[hidden] { display: none; }
.sk .sk-pick__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk .sk-pick__row label, .sk .sk-pick__birth { display: grid; gap: 6px; font-weight: 600; font-size: var(--step-small); }
.sk .sk-pick__birth small { font-weight: 400; color: var(--muted); }
.sk .sk-enroll input:not([type=radio]):not([type=checkbox]) { min-height: 50px; border: 1.5px solid var(--surface-2); border-radius: 12px; background: var(--paper); padding: 0 14px; font: inherit; font-size: var(--step-body); color: var(--ink); width: 100%; }
.sk .sk-enroll input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sk .sk-enroll input.is-fixed { background: var(--surface); color: var(--muted); }
.sk .sk-notice { padding: 14px 16px; border-radius: 12px; background: #fff7dd; border-left: 4px solid #e0b100; }
.sk .sk-notice b { display: block; }
.sk .sk-notice p { margin: 4px 0 0; font-size: var(--step-small); color: #5a4a12; }
.sk .sk-agree { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.sk .sk-agree input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }

/* 같은 과정을 듣는 아이가 여럿이면 위에서 골라요 */
.sk .sk-kidtabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 40px; }
.sk:has(> .sk-kidtabs) { background: var(--bg); }
.sk:has(> .sk-kidtabs) + .sk-course { padding-top: 20px; }
.sk .sk-enroll .sk-kidtabs { padding-top: 0; margin: -40px auto 32px; }
.sk .sk-kidtabs a { padding: 8px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.sk .sk-kidtabs a[aria-current] { background: var(--ink); color: #fff; }

/* 수료: 수료증 여러 장, 형제 수료증 */
.sk .sk-grad__prints { display: grid; gap: 8px; justify-items: start; }
.sk .sk-grad__certs { display: grid; gap: 28px; }
.sk .sk-sib { display: grid; gap: 10px; justify-items: start; padding: 16px 18px; border-radius: 14px; background: var(--accent-tint); }
.sk .sk-sib p { margin: 0; }
.sk .sk-my__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.sk .sk-my__hint { color: var(--muted); }

@media (max-width: 900px) {
  .sk .sk-enroll__grid { grid-template-columns: 1fr; }
  .sk .sk-enroll__side { position: static; }
  .sk .sk-enroll__trio { display: none; }
}
@media (max-width: 560px) {
  .sk .sk-pick__row { grid-template-columns: 1fr; }
}

/* ---------------- 내 계정 · 장바구니 · 결제 (우커머스 화면) ---------------- */
.sk.sk-shop { background: transparent; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 120px); }
.sk .sk-shop__head { display: grid; gap: 8px; margin-bottom: clamp(24px, 4vw, 44px); }
.sk .sk-shop__head h1 { font-size: var(--step-sub); line-height: 1.15; }
.sk .sk-shop__body { min-width: 0; }
.sk-shop .woocommerce { display: grid; gap: clamp(20px, 3vw, 36px); }
.sk-shop--account .woocommerce:has(> .sk-acnav) { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
.sk-shop .woocommerce::before, .sk-shop .woocommerce::after { content: none; }
.sk-shop .woocommerce-MyAccount-navigation, .sk-shop .woocommerce-MyAccount-content { float: none; width: auto; margin: 0; }

/* 메뉴 */
.sk .sk-acnav { position: sticky; top: 92px; background: var(--paper); border-radius: 22px; padding: 10px; box-shadow: var(--clay); }
.sk .sk-acnav ul { display: grid; gap: 2px; margin: 0; padding: 0; }
.sk .sk-acnav li { margin: 0; padding: 0; list-style: none; }
.sk .sk-acnav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; color: var(--ink); transition: background-color 0.18s ease; }
.sk .sk-acnav a .sk-ic { color: var(--muted); }
.sk .sk-acnav a:hover { background: var(--surface); }
.sk .sk-acnav a[aria-current] { background: var(--accent-tint); color: var(--accent); }
.sk .sk-acnav a[aria-current] .sk-ic { color: var(--accent); }
.sk .sk-acnav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--surface-2); }
.sk .sk-acnav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }

/* 본문 카드 */
.sk-shop .woocommerce-MyAccount-content { background: var(--paper); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--clay); display: grid; gap: 18px; align-content: start; }
.sk-shop h2, .sk-shop h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.sk-shop p { margin: 0; }
.sk-shop :where(a:not(.sk-btn):not(.button)) { color: var(--accent); text-underline-offset: 3px; }

/* 버튼 */
.sk-shop .button, .sk-shop button[type=submit], .sk-shop .woocommerce-Button, .sk-shop .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 0 #4a34a8; cursor: pointer; transition: transform 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out), background-color 0.18s ease;
}
.sk-shop .button:hover, .sk-shop button[type=submit]:hover, .sk-shop .wc-block-components-button:not(.is-link):hover { background: #5a40c8; color: #fff; }
.sk-shop .button:active, .sk-shop button[type=submit]:active { transform: translateY(3px); box-shadow: 0 1px 0 #4a34a8; }
.sk .sk-btn--small { min-height: 40px; padding: 0 18px; font-size: var(--step-small); --edge: #4a34a8; box-shadow: 0 3px 0 var(--edge); }

/* 입력칸 */
.sk-shop .input-text, .sk-shop input[type=text], .sk-shop input[type=email], .sk-shop input[type=password], .sk-shop input[type=tel], .sk-shop input[type=month], .sk-shop select, .sk-shop textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--surface-2); border-radius: 12px; background: var(--paper);
  font: inherit; font-size: var(--step-body); color: var(--ink);
}
.sk-shop textarea { padding: 12px 14px; min-height: 110px; }
.sk-shop .input-text:focus, .sk-shop input:focus, .sk-shop select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sk-shop .form-row { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.sk-shop .form-row label { font-weight: 600; font-size: var(--step-small); }
.sk-shop .form-row-first, .sk-shop .form-row-last { width: auto; float: none; }
.sk-shop .woocommerce-EditAccountForm, .sk-shop .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.sk-shop .woocommerce-EditAccountForm > *:not(.form-row-first):not(.form-row-last), .sk-shop .woocommerce-address-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1; }
.sk-shop fieldset { border: 1.5px solid var(--surface-2); border-radius: 18px; padding: 18px; margin: 6px 0 14px; }
.sk-shop legend { font-weight: 800; padding: 0 6px; }
.sk-shop .clear { display: none; }
.sk-shop em, .sk-shop .description { font-size: var(--step-small); color: var(--muted); font-style: normal; }

/* 표 (주문 내역 등) */
.sk-shop table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--surface-2); border-radius: 18px; overflow: hidden; font-size: var(--step-small); }
.sk-shop table.shop_table th, .sk-shop table.shop_table td { padding: 14px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--surface-2); vertical-align: middle; }
.sk-shop table.shop_table thead th { background: var(--surface); font-weight: 700; color: var(--muted); }
.sk-shop table.shop_table tr:last-child > * { border-bottom: 0; }
.sk-shop table.shop_table tfoot th { color: var(--muted); font-weight: 600; }
.sk-shop table.shop_table .button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; height: auto; margin: 0; padding: 0 16px; font-size: var(--step-small); box-shadow: 0 3px 0 #4a34a8; }
.sk-shop table.shop_table td .button + .button { margin-left: 6px; }
.sk-shop .woocommerce-orders-table__cell-order-status { font-weight: 700; }
.sk-shop .woocommerce-pagination { display: flex; gap: 10px; }
.sk-shop mark { background: var(--accent-tint); color: var(--accent); padding: 0 6px; border-radius: 6px; }

/* 주소 */
.sk-shop .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.sk-shop .woocommerce-Addresses::before, .sk-shop .woocommerce-Addresses::after { content: none; }
.sk-shop .woocommerce .woocommerce-Addresses .woocommerce-Address { width: auto; max-width: 480px; float: none; border: 1.5px solid var(--surface-2); border-radius: 20px; padding: 20px; display: grid; gap: 10px; }
.sk-shop .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sk-shop .woocommerce-Address-title::before, .sk-shop .woocommerce-Address-title::after { content: none; }
.sk-shop .woocommerce-Address-title h2 { font-size: var(--step-body); }
.sk-shop .woocommerce-Address-title .edit { float: none; font-weight: 700; font-size: var(--step-small); }
.sk-shop address { font-style: normal; color: var(--muted); line-height: 1.7; }

/* 알림 */
.sk-shop .woocommerce-message, .sk-shop .woocommerce-info, .sk-shop .woocommerce-error {
  list-style: none; margin: 0; padding: 14px 18px; border: 0; border-radius: 14px; background: var(--accent-tint); color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.sk-shop .woocommerce-message::before, .sk-shop .woocommerce-info::before, .sk-shop .woocommerce-error::before { content: none; }
.sk-shop .woocommerce-error { background: #fdecec; color: #9b1c22; }
.sk-shop .woocommerce-message .button, .sk-shop .woocommerce-info .button { order: 2; min-height: 38px; }
.sk-shop .woocommerce-notices-wrapper:empty { display: none; }

/* 로그인·가입 */
.sk-shop .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sk-shop .u-column1, .sk-shop .u-column2 { width: auto; float: none; }
.sk-shop .woocommerce-form-login, .sk-shop .woocommerce-form-register, .sk-shop .woocommerce-ResetPassword {
  background: var(--paper); border: 0; border-radius: 24px; padding: clamp(20px, 3vw, 32px); margin: 0; box-shadow: var(--clay);
}
.sk-shop .woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; margin-right: 14px; font-weight: 600; }
.sk-shop .lost_password { margin-top: 12px; font-size: var(--step-small); }

/* 장바구니·결제 블록 */
.sk-shop .wp-block-woocommerce-cart, .sk-shop .wp-block-woocommerce-checkout { background: var(--paper); border-radius: 28px; padding: clamp(20px, 3vw, 40px); box-shadow: var(--clay); font-family: inherit; }
.sk-shop .wc-block-components-button:not(.is-link) { width: 100%; min-height: 54px; }

/* 내 계정 첫 화면 */
.sk .sk-dash { display: grid; gap: 28px; }
.sk .sk-dash__hello { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 22px; background: var(--accent-tint); }
.sk .sk-dash__hello h2 { font-size: var(--step-lead); }
.sk .sk-dash__trio { width: 140px; height: auto; flex: none; }
.sk .sk-dash__sec { display: grid; gap: 12px; }
.sk .sk-dash__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sk .sk-dash__classes { display: grid; gap: 10px; margin: 0; padding: 0; }
.sk .sk-dash__class { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(80px, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--surface-2); border-radius: 18px; }
.sk .sk-dash__class div { display: grid; gap: 2px; }
.sk .sk-dash__class div span { font-size: var(--step-small); }
.sk .sk-dash__class.is-off { opacity: 0.6; }
.sk .sk-dash__bar { height: 10px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.sk .sk-dash__bar i { display: block; height: 100%; border-radius: inherit; background: var(--seal); }
.sk .sk-dash__empty { display: grid; gap: 12px; justify-items: start; padding: 20px; border: 1.5px dashed var(--surface-2); border-radius: 18px; }
.sk .sk-dash__go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.sk .sk-dash__go a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--surface); color: var(--ink) !important; text-decoration: none; transition: background-color 0.18s ease, transform 0.18s var(--ease-out); }
.sk .sk-dash__go a:hover { background: var(--surface-2); transform: translateY(-2px); }
.sk .sk-dash__ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--paper); color: var(--accent); }
.sk .sk-dash__go small { color: var(--muted); font-size: var(--step-small); }

/* 우리 아이 화면 카드를 같은 결로 */
.sk-shop .sk-kids__card { border: 1.5px solid var(--surface-2); border-radius: 20px; }

@media (max-width: 860px) {
  .sk-shop--account .woocommerce:has(> .sk-acnav) { grid-template-columns: 1fr; }
  .sk .sk-acnav { position: static; padding: 6px; overflow-x: auto; }
  .sk .sk-acnav ul { display: flex; gap: 4px; width: max-content; }
  .sk .sk-acnav a { padding: 10px 14px; white-space: nowrap; }
  .sk .sk-acnav .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 600px) {
  .sk .sk-dash__go { grid-template-columns: 1fr; }
  .sk .sk-dash__class { grid-template-columns: 1fr auto; }
  .sk .sk-dash__bar { grid-column: 1 / -1; grid-row: 2; }
  .sk .sk-dash__trio { width: 90px; }
  .sk-shop .woocommerce-EditAccountForm, .sk-shop .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
  .sk-shop table.shop_table_responsive thead { display: none; }
  .sk-shop table.shop_table_responsive tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--surface-2); }
  .sk-shop table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; }
  .sk-shop table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--muted); }
}
.sk-shop .woocommerce-input-wrapper { display: block; width: 100%; }
.sk-shop .woocommerce-Address-title h2 { text-align: left; }
.sk-shop .woocommerce form .form-row, .sk-shop .woocommerce-page form .form-row { width: auto; float: none; }
@media (max-width: 600px) {
  .sk .sk-dash__hello { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sk-shop table.shop_table_responsive tr > th { display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; border: 0; background: none; }
  .sk-shop table.shop_table_responsive tr > th::before { content: attr(data-title); font-weight: 600; color: var(--muted); }
  .sk-shop table.shop_table_responsive td .button { width: 100%; }
}
.sk-shop .button, .sk-shop button[type=submit] { line-height: 1.2; padding-block: 0; }

/* 관리자: 목소리 한 번에 만들기 */
.sk-voicebatch { position: fixed; right: 16px; bottom: 16px; z-index: 9999; width: min(340px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); }
.sk-voicebatch p { margin: 0; font-size: var(--step-small); }
.sk-voicebatch progress { width: 100%; height: 10px; accent-color: var(--accent); }

/* 말풍선 위로 날아다니는 작은 그림 (어린 과정) */
.sk-fx { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.sk-fx img { position: absolute; left: var(--x); top: 0; width: clamp(48px, 6vw, 72px); height: auto; translate: -50% -78%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.15)); animation: sk-fx-in 0.7s var(--ease-out) var(--d) both, sk-fx-float 2.6s ease-in-out calc(var(--d) + 0.7s) infinite; }
.sk-fx img:nth-child(2) { animation-duration: 0.7s, 3.1s; }
.sk-fx img:nth-child(3) { animation-duration: 0.7s, 2.2s; }
@keyframes sk-fx-in { from { opacity: 0; transform: translate(0, 60px) scale(0.2) rotate(calc(var(--r) * -3)); } to { opacity: 1; transform: translate(0, 0) scale(1) rotate(var(--r)); } }
@keyframes sk-fx-float {
  0%, 100% { transform: translate(0, 0) rotate(var(--r)); }
  33% { transform: translate(8px, -14px) rotate(calc(var(--r) * -1)); }
  66% { transform: translate(-8px, -6px) rotate(calc(var(--r) * 0.5)); }
}
@media (prefers-reduced-motion: reduce) { .sk-fx img { animation: none; } }

/* 나이 탭 아래 안내 */
.sk .sk-tabs__note { margin: 10px 0 0; font-size: var(--step-small); line-height: 1.5; color: var(--muted); word-break: keep-all; }
.sk .sk-price__note { margin: -6px 0 18px; font-size: 1rem; max-width: none; line-height: 1.5; color: var(--muted); word-break: keep-all; }
.sk .sk-plate__head { display: grid; gap: 0; }

/* 끌어서 넣는 게임: 바구니를 카드 바로 옆에 둬요 (넓은 화면은 양옆, 좁은 화면은 화면 아래에 붙어 있어요) */
.sk-drag__board { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .sk-drag__board { grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr) minmax(150px, 1fr); grid-template-areas: "b1 pile b2"; align-items: stretch; }
  .sk-drag__board[style*="--n:3"] { grid-template-areas: "b1 pile b2" "b1 b3 b2"; }
  .sk-drag__board .sk-drag__bins { display: contents; }
  .sk-drag__board .sk-bin:nth-child(1) { grid-area: b1; }
  .sk-drag__board .sk-bin:nth-child(2) { grid-area: b2; }
  .sk-drag__board .sk-bin:nth-child(3) { grid-area: b3; min-height: 120px; }
  .sk-drag__board .sk-drag__pile { grid-area: pile; align-content: start; }
  .sk-drag__board .sk-bin { min-height: 260px; }
  .sk-drag__board .sk-bin__head { position: sticky; top: 96px; flex-direction: column; text-align: center; }
  .sk .sk-drag__board .sk-chip:has(.sk-chip__photo) { width: clamp(120px, 30%, 160px); }
}
@media (max-width: 719px) {
  .sk-drag__board .sk-drag__bins { position: sticky; bottom: 8px; z-index: 5; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 8px; }
  .sk-drag__board .sk-drag__bins[style*="--n:3"] { grid-template-columns: repeat(3, 1fr); }
  .sk-drag__board .sk-bin { min-height: 92px; padding: 8px; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(31, 48, 56, 0.45); }
  .sk-drag__board .sk-bin__head { font-size: var(--step-small); flex-wrap: wrap; }
  .sk-drag__board .sk-bin__in { max-height: 76px; overflow-y: auto; }
  .sk .sk-drag__board .sk-chip:has(.sk-chip__photo) { width: calc(50% - 5px); }
  .sk .sk-drag__board .sk-chip.is-placed:has(.sk-chip__photo) { width: auto; }
}
