/* 제도 책상 세계관 공용 스타일 (desk.html, course.html) */
  :root {
    --board-grain: url("assets/board-grain.svg");
    --desk: #ecebe7;
    --sheet: #4b4b4c;
    --chalk: #eeeeea;
    --tape: repeating-linear-gradient(-45deg, #a3a19e 0 7px, #dddbd6 7px 14px);
    --sheet-w: min(100%, calc((100svh - 400px) * 1.5));
  }
  html, body.desk { overflow-x: clip; }
  body.desk { background: var(--desk); color: var(--ink); min-height: 100svh; }

  /* 책상 끝 너머의 어둠 (헤더가 여기에 놓인다) */
  .edge { position: fixed; inset: 0 0 auto 0; height: 58px; background: #141414; z-index: 2; box-shadow: 0 2px 0 #bdb9b2; }
  .on-desk-bar { --sh-bg: #fbfaf7; --sh-line: rgba(47,43,44,.18); }
  .on-desk-bar .sh-home, .on-desk-bar .sh-sites, .on-desk-bar .sh-pill { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 12px -8px rgba(0,0,0,.35); }

  /* 책상 위 소품 (화면 끝까지 흩어진 배경) */
  .props-m { display: none; }
  .props { opacity: .45; position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

  .desk-main { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 70px 28px 40px; }

  /* 바리케이드 위 새하루: 책상에 테이프로 붙인 그림 */
  .title { display: block; width: min(600px, 100%); height: auto; margin: 0 auto; overflow: visible; }
  .title .t-main { font-size: 62px; }
  .title .t-sub { font-size: 22px; }

  /* 마스킹 테이프 메모 */
  .title-tape { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto; }
  .mt { position: relative; display: inline-block; background: rgba(236, 226, 198, .92); color: #2f2b2c; box-shadow: 0 1px 2px rgba(0,0,0,.1);
    clip-path: polygon(0 6%, 2% 0, 4% 8%, 6% 0, 94% 0, 96% 9%, 98% 0, 100% 7%, 100% 94%, 98% 100%, 96% 91%, 94% 100%, 6% 100%, 4% 92%, 2% 100%, 0 93%);
    background-image: linear-gradient(90deg, transparent 0 98%, rgba(255,255,255,.25) 98%), repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 2px, transparent 2px 5px); }
  .mt.main { padding: 8px 34px 6px; font-size: clamp(34px, 4.4vw, 52px); transform: rotate(-2deg); }
  .mt.sub { padding: 5px 22px 3px; font-size: clamp(15px, 1.5vw, 19px); color: #4d4a4b; transform: rotate(1.3deg) translateX(30px); }
  .caution { position: absolute; top: -14px; right: -34px; padding: 4px 16px; transform: rotate(12deg); font-size: 15px; color: #2f2b2c;
    background: repeating-linear-gradient(-45deg, #a3a19e 0 7px, #dddbd6 7px 14px); text-shadow: 0 0 3px #dddbd6, 0 0 2px #dddbd6; }
  body[data-title="tape"] .title-crayon, body[data-title="crayon"] .title-tape { display: none; }
  .site-card {
    position: relative; width: min(400px, 100%); margin: 0 auto; padding: 12px 12px 14px;
    background: #fbfaf7; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 24px -14px rgba(0,0,0,.35);
    transform: rotate(-1.2deg); text-align: center;
  }
  .site-art { position: relative; width: 100%; aspect-ratio: 290 / 110; overflow: hidden; border: 1px solid #d6d2cb; }
  .site-art .zoom { position: absolute; left: -45%; top: 0; width: 190%; aspect-ratio: 900 / 250; transform: translateY(-2%); }
  .site-art img { position: absolute; display: block; }
  .site-art .bg, .site-art .fence { inset: 0; width: 100%; height: 100%; }
  .site-art .bg { filter: saturate(.85); }
  /* 발끝(48.6%, 60.6%)이 널빤지 윗면(50.4%, 56%)에 닿는 자리 — 새하루 홈과 같은 계산 */
  .site-art .who { left: 9.9%; top: -46.9%; width: 83.3%; transform-origin: 49% 60%; animation: bob 2.6s ease-in-out infinite; }
  @keyframes bob { 0%, 48%, 100% { transform: none; } 12% { transform: translateY(-3px) rotate(-1.2deg); } 24% { transform: none; } }
  .site-card h1 { margin: 10px 0 0; font-size: 24px; }
  .site-card p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
  .tape { position: absolute; width: 70px; height: 20px; background: var(--tape); opacity: .9; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
  .tape.tl { top: -9px; left: -18px; transform: rotate(-32deg); }
  .tape.tr { top: -9px; right: -18px; transform: rotate(30deg); }

  /* 세 도면 */
  .sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); margin-top: clamp(28px, 4svh, 48px); align-items: stretch; }
  .card > .paper { height: 100%; }
  .paper::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(238,238,234,.35); pointer-events: none; }
  .card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
  .card:nth-child(1) { transform: rotate(-2deg); }
  .card:nth-child(2) { transform: rotate(1.2deg) translateY(10px); }
  .card:nth-child(3) { transform: rotate(-1deg); }
  .sheet { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 16px rgba(0,0,0,.28)); transition: filter .3s; }
  .card:hover .sheet, .card:focus-visible .sheet { filter: drop-shadow(0 18px 22px rgba(0,0,0,.34)); }
  .card:focus-visible { outline: none; }
  .sheet-title { fill: var(--chalk); font-size: 34px; }
  .sheet-sub { fill: #bdbdb8; font-size: 17px; }
  .sheet-no { fill: var(--chalk); font-size: 22px; }

  /* 분필 선: 평소엔 다 그려져 있고, 올려 두면(또는 처음 열 때) 다시 그린다 */
  .draw > * { fill: none; stroke: var(--chalk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .draw .thin { stroke-width: 1.2; opacity: .7; }
  .draw .gold { stroke: #f3dd8e; }
  .card.is-drawing .draw > *, .card:hover .draw > *, .card:focus-visible .draw > * {
    stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s ease-out forwards; animation-delay: calc(var(--d, 0) * .08s + .1s);
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  /* 삼각자: 도면 위에 놓인 투명 아크릴. 올려 두면 미끄러진다 */
  .square { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
  .square .body { fill: rgba(236, 240, 238, .2); stroke: rgba(236,240,238,.75); stroke-width: 1.6; fill-rule: evenodd; }
  .square .ticks { stroke: rgba(236,240,238,.7); stroke-width: 1.2; }
  .card:hover .square, .card:focus-visible .square { transform: var(--slide); }

  /* 도면 아래 메모 */
  .meta { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; padding: 0 4px; font-size: 14px; color: var(--ink-soft); }
  .meta .go { margin-left: auto; color: var(--ink); white-space: nowrap; }
  .meta .go::before { content: ""; display: inline-block; margin-right: 6px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .2s; }
  .card:hover .meta .go::before { transform: translateX(3px); }
  .meta, .next, .foot-row { text-shadow: 0 0 6px var(--desk), 0 0 3px var(--desk), 0 0 1px var(--desk); }
  .next { display: block; margin-top: 2px; padding: 0 4px; font-size: 13px; color: var(--ink-soft); }


  /* 보드: 원래 홈 카드 그대로, 책상에 줄무늬 테이프로 붙였다 */
  .paper { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px 30px 28px; background: var(--board-grain), #4b4b4c; color: #f2f2f2; border-radius: 2px; border: 1.5px solid #2c2b2a;
    box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 14px 22px -12px rgba(0,0,0,.5); transition: box-shadow .3s, transform .3s; }
  .card:hover .paper, .card:focus-visible .paper { box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 22px 30px -12px rgba(0,0,0,.55); transform: translateY(-3px); }
  .art { display: block; width: min(240px, 100%); margin: 0 auto 10px; }
  .art svg { display: block; width: 100%; height: auto; }
  .card:hover .art path:not([stroke-dasharray]), .card.is-drawing .art path:not([stroke-dasharray]) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s ease-out forwards; animation-delay: calc(var(--d, 0) * .06s); }
  .c-sub { font-size: 13px; opacity: .86; }
  .c-title { font-size: 21px; }
  .c-desc { font-size: 15px; line-height: 1.6; opacity: .86; }

  /* 표제란: 도면 오른쪽 아래 표처럼 */
  .tblock { display: grid; grid-template-columns: auto 1fr auto; width: 100%; margin-top: auto; border: 1px solid rgba(242,242,242,.4); font-size: 13px; }
  .paper .c-desc { margin-bottom: 14px; }
  .tb-k, .tb-v, .tb-go { padding: 7px 10px; }
  .tb-k { opacity: .7; border-right: 1px solid rgba(242,242,242,.25); }
  .tb-v { border-right: 1px solid rgba(242,242,242,.4); }
  .tb-k:nth-last-child(2), .tb-v:last-child { border-bottom: 0; }
  .tblock > :nth-child(4) { border-bottom: 0; }
  .tb-go { grid-column: 3; grid-row: 1; display: flex; align-items: center; border-bottom: 0; font-size: 14px; white-space: nowrap; }
  .card:hover .tb-go { background: rgba(242,242,242,.1); }
  .c-time { margin-top: 6px; padding: 3px 12px; border: 1px solid rgba(242,242,242,.5); border-radius: 999px; font-size: 13px; }
  .c-go { margin-top: 10px; font-size: 15px; }
  .card:hover .c-go { text-decoration: underline; text-underline-offset: 4px; }

  /* 수강권: 티켓이 있는 수업에는 표가 끼워진다 */
  .stub { position: absolute; top: -14px; right: 18px; padding: 4px 12px; background: #fbfaf7; border: 1.5px dashed #8b8786; border-radius: 4px; font-size: 13px; transform: rotate(4deg); box-shadow: 0 4px 8px -4px rgba(0,0,0,.3); display: none; }
  body.has-ticket .card .stub { display: block; }

  .foot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 34px; font-size: 13px; color: var(--ink-soft); }
  .foot-row button { font: inherit; color: inherit; background: none; border: 1px dashed #a3a19e; border-radius: 999px; padding: 2px 10px; cursor: pointer; }
  .foot-row .build { color: var(--ink); border-style: solid; border-color: #8b8786; }

  /* 도면 → 칠판 */
  .card.is-zoom { z-index: 40; transition-duration: .7s; }
  .card.is-zoom .stub { opacity: 0; }
  .chalk-view { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 76px 20px 28px; background: var(--sheet); color: var(--chalk); opacity: 0; pointer-events: none; transition: opacity .4s; box-shadow: inset 0 0 0 14px #8a6d52, inset 0 0 120px rgba(0,0,0,.35); overflow-y: auto; }
  body.is-chalk .chalk-view { opacity: 1; pointer-events: auto; }
  .cv-back { position: absolute; top: 74px; left: 28px; font: inherit; font-size: 14px; color: var(--chalk); background: none; border: 1px solid rgba(238,238,234,.35); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
  .cv { width: min(980px, 100%); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
  .cv > * { min-width: 0; }
  .cv-art svg { width: 100%; height: auto; max-height: 46svh; display: block; }
  #cvArt .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
  body.is-chalk #cvArt .ln { animation: draw .8s ease-out forwards; animation-delay: calc(var(--d, 0) * .08s + .3s); }
  .cv-code { margin: 0; font-size: 20px; color: #bdbdb8; }
  .cv-sub { margin: 10px 0 0; font-size: 22px; color: #c8c8c8; }
  .cv h2 { margin: 0 0 14px; font-weight: 400; font-size: 52px; line-height: 1.2; }
  .cv ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: 23px; line-height: 1.7; }
  .cv li::before { content: "□ "; }
  .cv-next { margin: 0 0 18px; font-size: 14px; color: #bdbdb8; }
  .cv-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--chalk); color: #2a2827; text-decoration: none; font-size: 15px; }

  /* 좁은 화면: 세로로 쌓고 스크롤 */
  @media (max-width: 860px) {
    .sheets { grid-template-columns: minmax(0, 1fr); gap: 64px; max-width: min(460px, 82vw); margin-left: auto; margin-right: auto; }
    .props-d { display: none; }
    .props-m { display: block; }
    .title { width: min(420px, 92vw); }
    .caution { right: -6px; top: -18px; font-size: 13px; }
    .mt.sub { font-size: 13px; padding: 4px 14px 3px; transform: rotate(1.3deg); white-space: nowrap; }
    .card:nth-child(2) { transform: rotate(1.2deg); }
    .desk-main { padding: 108px 18px 32px; }
    .cv { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cv-art svg { max-height: 30svh; }
    .cv h2 { font-size: 40px; } .cv ul { font-size: 20px; }
    .chalk-view { place-items: start center; padding-top: 124px; }
  }


/* ── 보드 뒤집기 ── */
.flip-stage { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 70px 20px 24px; perspective: 1800px; }
.flip-stage[hidden] { display: none; }
.flip-shade { position: absolute; inset: 0; background: rgba(40, 34, 28, 0); backdrop-filter: blur(0); transition: background .5s, backdrop-filter .5s; }
.flip-stage.is-open .flip-shade { background: rgba(40, 34, 28, .32); backdrop-filter: blur(2px); }
.flip-card { position: relative; width: min(1080px, 100%); height: min(660px, calc(100svh - 100px)); transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3,.7,.2,1); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.front .paper { height: 100%; }
.face.back { transform: rotateY(180deg); overflow: auto; color: var(--ink);
  background: var(--back-grain, none), #f1eee7; border: 1.5px solid #2c2b2a; border-radius: 2px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.6);
  padding: 34px 38px 30px; }
.face.back::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(47,43,44,.18); pointer-events: none; }
.bk-head { display: flex; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid #2f2b2c; }
.bk-head > div { flex: 1; }
.bk-sub { margin: 0; font-size: 14px; color: var(--ink-soft); }
.bk-head h2 { margin: 2px 0 0; font-size: 28px; }
.bk-time { padding: 3px 12px; border: 1px solid #8b8786; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.bk-close { font: inherit; font-size: 13px; color: var(--ink); background: #fbfaf7; border: 1px solid rgba(47,43,44,.25); border-radius: 999px; padding: 6px 14px; cursor: pointer; white-space: nowrap; }
.bk-close:hover { border-color: var(--ink); }
.bk-grid { display: grid; grid-template-columns: 1fr 1.15fr .95fr; gap: 0; margin-top: 4px; }
.bk-col { padding: 18px 22px 6px; border-right: 1px solid rgba(47,43,44,.15); }
.bk-col:first-child { padding-left: 0; }
.bk-col:last-child { border-right: 0; padding-right: 0; }
.bk-col h3 { margin: 0 0 10px; font-weight: 400; font-size: 21px; }
.bk-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.bk-steps li { counter-increment: s; position: relative; padding: 0 0 14px 34px; }
.bk-steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border: 1.5px solid #2f2b2c; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.bk-steps b { display: block; font-size: 15px; }
.bk-steps span { display: block; font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }
.bk-prep { list-style: none; margin: 0; padding: 0; }
.bk-prep li { position: relative; padding: 5px 0 5px 24px; font-size: 14px; border-bottom: 1px dashed #d3cdc2; }
.bk-prep li:last-child { border-bottom: 0; }
.bk-prep li::before { content: ""; position: absolute; left: 1px; top: 10px; width: 12px; height: 12px; border: 1.5px solid #2f2b2c; }
.bk-clip { position: relative; margin: 16px 0 0; padding: 8px; background: #fff; box-shadow: 0 6px 12px -8px rgba(0,0,0,.4); transform: rotate(-1.5deg); }
.bk-clip img { display: block; width: 100%; height: auto; }
.bk-clip .clip { position: absolute; top: -12px; left: 22px; width: 26px; height: 34px; border: 2.5px solid #6b6563; border-radius: 12px 12px 4px 4px; border-bottom-color: transparent; }
.bk-tickets { display: grid; gap: 12px; }
.tk { position: relative; display: grid; grid-template-columns: 1fr 40px; background: #f7f1e1; border: 1.5px solid #2f2b2c; border-radius: 6px; }
.tk-body { padding: 12px 14px; border-right: 2px dashed #2f2b2c; }
.tk-body h4 { margin: 0 0 6px; font-size: 15px; }
.tk-body dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0 0 10px; font-size: 13px; }
.tk-body dt { color: var(--ink-soft); }
.tk-body dd { margin: 0; }
.tk-body p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.tk-body a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #2f2b2c; color: #fff; text-decoration: none; font-size: 13px; }
.tk-stub { display: grid; place-items: center; writing-mode: vertical-rl; font-size: 16px; letter-spacing: 3px; }
.tk::before, .tk::after { content: ""; position: absolute; right: 31px; width: 16px; height: 16px; border-radius: 50%; background: #f1eee7; border: 1.5px solid #2f2b2c; }
.tk::before { top: -9px; } .tk::after { bottom: -9px; }
.tk.is-mine { background: #f3dd8e; }
.bk-enter { display: block; margin-top: 14px; padding: 12px 16px; text-align: center; border-radius: 999px; background: #2f2b2c; color: #fff; text-decoration: none; font-size: 15px; }
.bk-enter[hidden] { display: none; }

@media (max-width: 860px) {
  .flip-stage { padding: 104px 12px 12px; }
  .flip-card { height: calc(100svh - 116px); }
  .face.back { padding: 24px 22px 22px; }
  .bk-head { flex-wrap: wrap; }
  .bk-head > div { flex-basis: 100%; }
  .bk-close { margin-left: auto; }
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-col, .bk-col:first-child, .bk-col:last-child { padding: 16px 0 6px; border-right: 0; border-bottom: 1px solid rgba(47,43,44,.15); }
  .bk-col:last-child { border-bottom: 0; }
}

.bk-h2 { margin-top: 10px !important; }
.bk-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.print { position: relative; display: block; padding: 6px 6px 8px; background: #fff; border: 0; cursor: zoom-in; font: inherit; color: inherit; text-align: left;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 14px -10px rgba(0,0,0,.45); transform: rotate(var(--r, 0deg)); transition: transform .25s; }
.print:hover, .print:focus-visible { transform: rotate(0deg) scale(1.04); z-index: 1; outline: none; }
.print img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #eee; }
.print span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-soft); }
.print.is-student span { color: var(--ink); }
.print.is-student::after { content: "수강생"; position: absolute; top: -8px; right: -6px; padding: 1px 8px; font-size: 11px; background: #f3dd8e; border: 1px solid #2f2b2c; border-radius: 999px; transform: rotate(6deg); }
.print-big { position: fixed; inset: 0; z-index: 95; display: grid; place-content: center; justify-items: center; margin: 0; padding: 24px; background: rgba(30, 26, 22, .55); cursor: zoom-out; }
.print-big[hidden] { display: none; }
.print-big img { display: block; max-width: min(960px, 92vw); max-height: 78svh; width: auto; height: auto; padding: 10px 10px 0; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.print-big figcaption { width: 100%; max-width: min(960px, 92vw); padding: 8px 12px 12px; background: #fff; font-size: 14px; }
@media (max-width: 860px) {
  .bk-samples { gap: 12px 10px; }
}

.title-crayon .t-sub-html { margin: 2px auto 0; max-width: 34em; text-align: center; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: #5f5a5b; filter: url(#crayon-s); }

/* ── 뒷면 색인 탭 + 패널 ── */
.face.back { display: flex; flex-direction: column; overflow: hidden; }
.bk-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 0; padding: 0 0 0 2px; border-bottom: 1.5px solid #2f2b2c; }
.bk-tabs button { position: relative; top: 1.5px; font: inherit; font-size: 14px; color: var(--ink-soft); background: #e6e1d6; border: 1.5px solid #2f2b2c; border-bottom: 0; border-radius: 8px 8px 0 0; padding: 7px 16px 6px; cursor: pointer; }
.bk-tabs button:hover { color: var(--ink); background: #ece7dc; }
.bk-tabs button[aria-selected="true"] { color: var(--ink); background: #f1eee7; padding-bottom: 8px; margin-bottom: -1.5px; }
.bk-panel { flex: 1; min-height: 0; overflow: auto; padding: 20px 2px 6px; }
.bk-panel h3 { margin: 0 0 10px; font-weight: 400; font-size: 21px; }
.bk-panel h3 + * { margin-top: 0; }
.bk-panel * + h3 { margin-top: 18px; }
.pn-lead { margin: 0 0 14px; line-height: 1.7; color: var(--ink-soft); }
.pn-note { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.bk-steps small { display: block; margin-top: 2px; font-size: 12px; color: #8b8786; }
.ext { display: inline-block; margin-top: 8px; color: var(--ink); font-size: 14px; text-underline-offset: 3px; }

.pn-over { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: start; }
.pn-media { margin: 0; }
.pn-media figcaption { display: grid; gap: 4px; margin-top: 12px; font-size: 14px; line-height: 1.6; }
.pn-media figcaption span { color: var(--ink-soft); }
.pn-phone { display: block; width: min(220px, 70%); margin: 0 auto; padding: 10px; border-radius: 28px; background: #2f2b2c; box-shadow: 0 16px 24px -14px rgba(0,0,0,.5); }
.pn-phone img { display: block; width: 100%; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; border-radius: 20px; }
.pn-video { display: block; padding: 8px; background: #fff; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45); transform: rotate(-1deg); }
.pn-video video { display: block; width: 100%; max-height: 360px; object-fit: cover; background: #222; }
.pn-wide { max-width: 760px; }
.pn-shot { display: block; width: 100%; height: auto; padding: 8px; background: #fff; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45); }
.pn-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }

.bk-samples.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
.print .when { margin-top: 6px; font-size: 11px; color: #8b8786; }
.print .when + span { margin-top: 0; color: var(--ink); font-size: 13px; }

.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.work { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; background: #fff; color: inherit; text-decoration: none; font: inherit; text-align: left; border: 0; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45); cursor: pointer; transition: transform .2s; }
.work:hover { transform: translateY(-3px); }
.work img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.work b { font-size: 15px; padding: 0 4px; }
.work span { font-size: 13px; line-height: 1.6; padding: 0 4px; color: var(--ink-soft); }
.work .url { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.work .wip { position: absolute; top: 14px; left: 14px; padding: 1px 8px; font-size: 11px; color: var(--ink); background: #f3dd8e; border: 1px solid #2f2b2c; border-radius: 999px; text-decoration: none; }
.work.wait { align-items: center; justify-content: center; min-height: 220px; background: transparent; border: 1.5px dashed #a3a19e; box-shadow: none; text-align: center; }
.work.wait .plus { font-size: 28px; color: var(--ink-soft); }
.bk-tickets.two { grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); }
.tk-note { margin: -4px 0 10px; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .pn-over, .pn-2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bk-samples.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -2px; margin-right: -2px; }
  .bk-tabs::-webkit-scrollbar { display: none; }
  .bk-tabs button { flex: 0 0 auto; padding: 6px 11px 5px; font-size: 13px; }
  .pn-video video { max-height: 210px; }
  .pn-phone { width: 150px; }
  .bk-tickets.two { grid-template-columns: minmax(0, 1fr); }
}

/* ── 뒷면: 한 장으로 이어지는 세로 스크롤 ── */
.bk-panel { scroll-behavior: smooth; padding-top: 6px; overflow-x: hidden; }
.bk-sec { padding: 22px 0 26px; border-bottom: 1px dashed rgba(47,43,44,.25); }
.bk-sec:last-child { border-bottom: 0; padding-bottom: 40px; }
.sec-h { margin: 0 0 14px; font-weight: 400; font-size: 26px; }
.bk-sec h3 { font-size: 19px; }
.bk-goals { list-style: none; margin: 0 0 22px; padding: 14px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; background: rgba(255,255,255,.55); border: 1px solid rgba(47,43,44,.15); }
.bk-goals li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.6; }
.bk-goals li::before { content: "✓"; position: absolute; left: 2px; top: 0; font-weight: 700; }
@media (max-width: 860px) {
  .bk-goals { grid-template-columns: minmax(0, 1fr); }
  .sec-h { font-size: 23px; }
}

.flip-stage.no-anim .flip-shade, .flip-stage.no-anim .flip-card { transition: none !important; }
.pn-gap { height: 26px; }
.bk-panel .sub-h { margin-top: 26px; padding-top: 18px; border-top: 1px dashed rgba(47,43,44,.2); }


/* ── 수업 페이지 = 책상 위에 펼친 큰 종이 (페이지 스크롤) ── */
/* 책상에서 뒤집을 때도 같은 자리·같은 폭으로 펼쳐져서, 넘어간 페이지와 이어진다 */
.flip-stage { place-items: start center; padding: 70px 28px 0; }
.flip-card { width: min(1180px, 100%); height: calc(100svh - 70px); }
.face.back { border-bottom: 0; border-radius: 2px 2px 0 0; }

body.is-page .desk-main { position: fixed; left: 0; right: 0; top: 0; pointer-events: none; }
body.is-page .flip-stage { position: relative; inset: auto; display: block; padding: 70px 28px 0; perspective: none; z-index: 1; min-height: 100svh; }
body.is-page .flip-shade { position: fixed; background: rgba(40, 34, 28, .32); backdrop-filter: blur(2px); transition: none; }
body.is-page .flip-card { height: auto; margin: 0 auto; transform: none !important; transition: none; transform-style: flat; }
body.is-page .face.front { display: none; }
body.is-page .face.back { position: relative; inset: auto; transform: none; overflow: visible !important; display: block; min-height: calc(100svh - 70px); padding-bottom: 60px; }
body.is-page .bk-panel { overflow: visible; padding-top: 0; }
body.is-page .bk-tabs { position: sticky; top: 0; z-index: 3; margin: 14px -38px 0; padding: 12px 38px 0; background: #f1eee7; }
body.is-page .face.back { backface-visibility: visible; -webkit-backface-visibility: visible; transition: none; }
body.is-leaving .face.back { transition: transform .38s ease-in, opacity .38s ease-in; }
body.is-leaving .face.back { transform: translateY(40px) !important; opacity: 0; }
body.is-leaving .flip-shade { opacity: 0; transition: opacity .38s; }
@media (max-width: 860px) {
  .flip-stage, body.is-page .flip-stage { padding: 104px 10px 0; }
  .flip-card { height: calc(100svh - 104px); }
  body.is-page .face.back { min-height: calc(100svh - 104px); }
  body.is-page .bk-tabs { margin: 14px -22px 0; padding: 10px 22px 0; }
}


/* ── 반듯하게: 책상 위 물건(보드·사진·영상·테이프·수강권)은 기울이지 않는다 ── */
.card:nth-child(1), .card:nth-child(2), .card:nth-child(3) { transform: none; }
.mt.main, .mt.sub, .site-card, .print, .print:hover, .print:focus-visible, .pn-video, .bk-clip, .stub, .print.is-student::after { transform: none; }
.print:hover, .print:focus-visible { transform: translateY(-2px); }
@media (max-width: 860px) {
  .card:nth-child(2), .mt.sub { transform: none; }
}


/* ══ 소개 = 원페이지 ══
   책상에서는 보드가 뒤집히며 화면을 가득 채울 때까지 펼쳐지고,
   그 마지막 장면과 같은 모습(종이가 바탕인 한 페이지)으로 소개 페이지가 열린다. */
.flip-stage, body.is-page .flip-stage { padding: 0; place-items: stretch; }
.flip-card { width: 100%; height: 100svh; }
.face.back { border: 0; border-radius: 0; box-shadow: none; }
.pg-back { display: none; }

body.is-page { background: #f1eee7; }
body.is-page .props, body.is-page .desk-main, body.is-page .flip-shade, body.is-page .sh-bar, body.is-page .bk-close { display: none; }
body.is-page .flip-stage { position: relative; display: block; min-height: 100svh; }
body.is-page .flip-card { width: 100%; height: auto; }
body.is-page .face.back { min-height: 100svh; padding: 70px clamp(20px, 5vw, 72px) 90px; }
body.is-page .face.back > :not(.pg-back) { max-width: 1080px; margin-left: auto; margin-right: auto; }
body.is-page .face.back::before { position: fixed; inset: 12px; }
body.is-page .bk-tabs { margin-top: 14px; margin-left: auto; margin-right: auto; padding: 12px 0 0; }
body.is-page .pg-back { display: grid; position: fixed; left: 14px; top: 13px; z-index: 5; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fbfaf7; color: var(--ink); border: 1px solid rgba(47,43,44,.18); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 12px -8px rgba(0,0,0,.35); }
body.is-page .pg-back:hover { border-color: var(--ink); }
body.is-page .pg-back svg { width: 17px; height: 17px; }
body.is-leaving .face.back { transform: none !important; opacity: 0; transition: opacity .3s ease-in; }
@media (max-width: 860px) {
  .flip-stage, body.is-page .flip-stage { padding: 0; }
  .flip-card { height: 100svh; }
  body.is-page .face.back { padding: 64px 20px 70px; }
  body.is-page .bk-tabs { margin-left: 0; margin-right: 0; padding: 10px 0 0; }
}
/* 뒤집히는 중의 종이도 소개 페이지와 같은 여백·폭 (마지막 장면 = 첫 화면) */
.face.back { padding: 70px clamp(20px, 5vw, 72px) 0; }
.face.back > :not(.pg-back) { width: 100%; max-width: 1080px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .face.back { padding: 64px 20px 0; } }
/* 좁은 화면: 위에 붙은 탭이 왼쪽 위 뒤로 가기와 겹치지 않게 */
@media (max-width: 1240px) { body.is-page .bk-tabs { padding-left: 46px; } }

/* 색인 탭: 신청만 강조색 */
.bk-tabs button.is-apply { background: #f3dd8e; color: var(--ink); }
.bk-tabs button.is-apply:hover { background: #f0d577; }
.bk-tabs button.is-apply[aria-selected="true"] { background: #f3dd8e; }

/* ── 핵심 문구 (큰 제목 대신) ── */
.lead-note { text-align: center; margin: 6px auto 0; }
.ln-main { margin: 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; letter-spacing: -.5px; color: #2f2b2c; filter: url(#crayon-s); }
.ln-sub { margin: 8px 0 0; font-size: clamp(15px, 1.4vw, 18px); color: #6a6466; }

.ln-sub { margin-top: 12px; font-size: clamp(17px, 1.7vw, 21px); color: #2f2b2c; }
.ln-sub mark { padding: 2px 10px 1px; color: inherit; background: linear-gradient(transparent 38%, #f3dd8e 38%, #f3dd8e 88%, transparent 88%); }
/* 페이지 맨 바깥 바탕도 각 장면 색으로 (스크롤 끝·가장자리에서 흰색이 비치지 않게) */
html:has(body.desk) { background: #ecebe7; }
html:has(body.is-page) { background: #f1eee7; }
html:has(body.classroom) { background: #4b4b4c; }

/* 강조 문구가 위, 질문이 아래 */
.lead-note .ln-sub { margin: 0 0 10px; }
.lead-note .ln-main { margin: 0; }

/* 1) 책상: 내용이 화면 세로 가운데에 */
.desk-main { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 40px; box-sizing: border-box; }
body.is-page .desk-main { min-height: 0; }
@media (max-width: 860px) { .desk-main { justify-content: flex-start; padding-top: 96px; } }

/* 2) 과정 목표: 강의 제목 바로 아래 */
.bk-goals-top { margin: 14px 0 4px; }

/* 3) 바이브코딩이란?: 비교 카드는 책상 위 보드와 같은 짙은 보드 */
.vibe-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 4px 0 14px; }
.vc { position: relative; padding: 24px 24px 20px; color: #f2f2f2; background: var(--board-grain), #4b4b4c; border: 1.5px solid #2c2b2a; border-radius: 2px; }
.vc::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(238,238,234,.28); pointer-events: none; }
.vc-step { margin: 0; font-size: 13px; opacity: .7; }
.vc h4 { margin: 2px 0 8px; font-size: 18px; font-weight: 500; }
.vc img { display: block; width: min(220px, 80%); height: auto; margin: 4px 0 10px; }
.vc p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; opacity: .9; }
.vc dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(242,242,242,.25); font-size: 13.5px; }
.vc dt { opacity: .65; }
.vc dd { margin: 0; }
@media (max-width: 860px) { .vibe-cards { grid-template-columns: minmax(0, 1fr); } }

/* 가이드 소개 (소개 페이지: 누구인지만) */
.guide-who { display: flex; gap: 22px; align-items: flex-start; }
.guide-who img { width: 110px; height: auto; flex: none; }
.guide-who h3 { margin: 2px 0 6px !important; }
@media (max-width: 860px) { .guide-who { gap: 14px; } .guide-who img { width: 80px; } }

/* 수업 페이지: 내용이 다 채워진 뒤에 보여 준다 (머리글이 늦게 채워지며 아래가 밀리지 않게) */
body[data-open]:not(.is-page) { visibility: hidden; }
.pn-video video { height: auto; }

/* 제목 아래 굵은 선은 뺀다 */
.bk-head { border-bottom: 0; padding-bottom: 4px; }

/* 다음 수업 안내 (원래 소개 페이지처럼) */
.next-note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 6px; padding: 11px 18px 11px 12px;
  background: #fbfaf7; border: 1px solid rgba(47,43,44,.18); border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 15px; }
.next-note[hidden] { display: none; }
.next-note:hover { border-color: var(--ink); }
.nn-tag { padding: 3px 10px; border-radius: 999px; background: #2f2b2c; color: #f2f2f2; font-size: 13px; }
.next-note b { font-weight: 500; font-size: 17px; }
.nn-facts { color: var(--ink-soft); font-size: 14px; }
.nn-go { text-decoration: underline; text-underline-offset: 4px; }

/* 홈: 푸터까지 한 화면 안에 (불필요한 스크롤 없음) */
body.desk:not(.is-page) .desk-main { min-height: calc(100svh - 30px); }
body.desk:not(.is-page) > .sh-foot { min-height: 30px; padding-top: 0; padding-bottom: 0; }
/* 비교 카드 그림은 가운데 */
.vc img { margin: 6px auto 12px; }

/* 예시 화면: 원래 소개 페이지와 같은 비율 */
.pn-phone { display: block; width: min(100%, 270px); margin: 0 auto; padding: 10px; background: #1f1f1f; border-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pn-screen { position: relative; display: block; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 31px; background: #fff; }
.pn-screen::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 9px; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #1f1f1f; }
.pn-phone.is-dark .pn-screen { background: #0f0f0f; }
.pn-screen img, .pn-screen video { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.pn-screen .cover { object-fit: cover; object-position: 67.7% top; }
.pn-screen .contain { object-fit: contain; object-position: center; background: #0f0f0f; }
.pn-village { display: block; max-width: 640px; border-radius: 14px; overflow: hidden; border: 1px solid #e6e1d8; background: #fff; }
.pn-village video { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .pn-phone { width: min(100%, 240px); } }

/* 탭 왼쪽 여백: 뒤로 가기와 실제로 겹치는 좁은 화면에서만 */
@media (max-width: 1240px) { body.is-page .bk-tabs { padding-left: 0; } }
@media (max-width: 960px) { body.is-page .bk-tabs { padding-left: 46px; } }

/* 교실로 들어갈 때: 보드 위 내용이 지워진 빈 칠판만 커진다 */
.card.is-wiping .paper > *, .card.is-wiping .stub { opacity: 0; transition: opacity .2s ease-out; }
.card.is-wiping .paper { box-shadow: none; }

/* 가이드의 작업 설명: 수업에서 하는 일 위 */
.pn-work { display: grid; gap: 4px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px dashed rgba(47,43,44,.2); font-size: 15px; line-height: 1.7; }
.pn-work b { font-weight: 500; font-size: 17px; }
.pn-work span { color: var(--ink-soft); }
.pn-work .ext { margin-top: 2px; }

/* 교실로 들어가는 칠판: 화면 전체 크기 그대로, 오려 낸 창만 넓어진다 (교실 칠판과 같은 질감) */
.enter-board { position: fixed; inset: 0; z-index: 80; pointer-events: none; background: var(--board-grain), #4b4b4c; }

/* ── 제작소: 책상 위 의뢰서 한 장 ── */
.order-note { display: flex; align-items: center; gap: 16px; width: min(560px, 100%); margin: 26px auto 0; padding: 10px 22px 10px 12px;
  background: #fbfaf7; border: 1px solid #e2ded6; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 12px 20px -14px rgba(0,0,0,.4);
  font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.order-note:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 26px -14px rgba(0,0,0,.45); }
.order-note img { width: 96px; height: auto; flex: none; }
.on-text { display: grid; gap: 1px; flex: 1; }
.on-text small { font-size: 12.5px; color: var(--ink-soft); }
.on-text b { font-weight: 500; font-size: 18px; }
.on-go { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.order-note:hover .on-go { color: var(--ink); }

/* 펼쳐진 의뢰서 */
.order-stage { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.order-stage[hidden] { display: none; }
.order-shade { position: absolute; inset: 0; background: rgba(40, 34, 28, .32); backdrop-filter: blur(2px); animation: fadeIn .25s ease-out; }
.order-paper { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: center; width: min(860px, 100%);
  padding: 44px 46px 40px; background: #fbfaf7; border: 1px solid #e2ded6; border-radius: 2px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
  color: var(--ink); animation: unfoldPaper .45s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 70%; }
.order-paper::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(47,43,44,.14); pointer-events: none; }
@keyframes unfoldPaper { from { opacity: 0; transform: translateY(24px) scaleY(.85); } }
@keyframes fadeIn { from { opacity: 0; } }
.order-paper .pop-close { position: absolute; top: 18px; right: 18px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.op-tag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #efece6; font-size: 13px; }
.order-paper h2 { margin: 0 0 14px; font-size: 30px; font-weight: 500; }
.op-lead { margin: 0 0 14px; font-size: 17px; line-height: 1.75; color: #4d4a4b; }
.op-note { margin: 0 0 18px; font-size: 15px; }
.op-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: #2f2b2c; color: #fff; text-decoration: none; font-size: 15px; }
.op-btn:hover { background: #000; }
.op-art { width: 100%; height: auto; }
@media (max-width: 860px) {
  .order-note { margin-top: 30px; }
  .order-note img { width: 72px; }
  .order-paper { grid-template-columns: minmax(0, 1fr); padding: 34px 26px 28px; gap: 10px; }
  .op-art { order: -1; width: 200px; margin: 0 auto; }
  .order-paper h2 { font-size: 26px; }
  .op-lead { font-size: 15.5px; }
}

/* 휴대폰 탭: 원래 소개 페이지처럼 짧은 이름, '바이브코딩이란?'은 숨김 (내용은 스크롤로 그대로 읽힌다) */
@media (max-width: 560px) {
  .bk-tabs .tl, .bk-tabs .tab-more { display: none; }
  .bk-tabs { gap: 3px; }
  .bk-tabs button { padding: 6px 10px 5px; font-size: 13px; }
}
@media (max-width: 560px) {
  .bk-tabs { gap: 2px; }
  .bk-tabs button { padding: 6px 8px 5px; }
}

/* 다음 수업 안내: 다른 줄과 같은 폭·같은 가운데 */
.face.back > .next-note { display: flex; margin: 12px auto 6px; }
.face.back > .next-note[hidden] { display: none; }

/* 색인 탭: 가운데 정렬, 고른 탭은 종이와 한 장으로 이어지고 나머지는 한 겹 뒤로 */
.bk-tabs { justify-content: center; }
body.is-page .bk-tabs { padding-left: 0; padding-right: 0; }
.bk-tabs button { background: #dcd6ca; color: rgba(47,43,44,.55); border-color: rgba(47,43,44,.45); }
.bk-tabs button:hover { background: #e6e1d6; color: var(--ink); }
.bk-tabs button[aria-selected="true"] { background: #f1eee7; color: var(--ink); border-color: #2f2b2c; box-shadow: inset 0 3px 0 #2f2b2c; z-index: 1; }
.bk-tabs button.is-apply { background: #ecd88f; color: rgba(47,43,44,.75); }
.bk-tabs button.is-apply[aria-selected="true"] { background: #f3dd8e; color: var(--ink); }
/* 좁은 화면: 왼쪽 위 뒤로 가기와 겹치지 않게 양쪽을 똑같이 비운다 */
@media (max-width: 960px) { body.is-page .bk-tabs { padding-left: 46px; padding-right: 46px; } }
@media (max-width: 560px) { body.is-page .bk-tabs { padding-left: 40px; padding-right: 40px; } }

/* 휴대폰: 제작소 메모는 화면 아래에 붙어 있다 (보드를 끝까지 내리지 않아도 보이게) */
@media (max-width: 860px) {
  body.desk:not(.is-page) .order-note { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 15;
    width: auto; margin: 0; padding: 8px 16px 8px 10px; gap: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 14px 26px -12px rgba(0,0,0,.45); }
  body.desk:not(.is-page) .order-note img { width: 58px; }
  body.desk:not(.is-page) .order-note .on-text b { font-size: 16px; }
  body.desk:not(.is-page) .desk-main { padding-bottom: 96px; }
  /* 바닥의 아래 여백이 떠 있는 메모 뒤에 깔린다: 바닥을 보드 층(.desk-main, z 1) 아래로 내려 메모가 눌리게 */
  body.desk:not(.is-page) > .sh-foot { padding-bottom: 92px; z-index: 0; }
}

/* 사이트: 화면에 안 보이는 SVG 정의 묶음 (CSP 때문에 style 속성 대신 클래스) */
.svg-defs { position: absolute; width: 0; height: 0; }
/* 수강권은 열린 수업 보드에만 붙는다 */
.card.has-ticket .stub { display: block; }
/* 로그인 중 생긴 문제 안내 (소개 페이지) */
.desk-note { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  margin: 0; padding: 10px 16px; border-radius: 12px; background: #2f2b2c; color: #f2f2f2; font-size: 14px; line-height: 1.5; }
.desk-note[hidden] { display: none; }
