/* DESIGN.md 기준: 연수원 디자인 언어(네이비·회색 서브탭·얇은 선 게시판) */
:root {
  --navy: #001871;
  --navy-deep: #0E152D;
  --ink: #111;
  --ink-2: #333;
  --gray-1: #666;
  --gray-2: #777;
  --gray-tab: #808388;
  --gray-tab-2: #3C3F45;
  --line: #ddd;
  --line-strong: #111;
  --bg-soft: #f5f5f5;
  --accent-blue: #0075C8;
  --danger: #d6001c;
  --ok: #0a7a3f;
  --wrap: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "NanumSquareNeo", "NanumSquare Neo", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 유틸바 */
.util { background: var(--navy); color: #fff; font-size: 13px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.util .left { opacity: .85; letter-spacing: .02em; }
.util .right { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 20px; border-radius: 32px; background: rgba(255,255,255,.12); font-weight: 700; }
.pill:hover { background: rgba(255,255,255,.22); }

/* 헤더 */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; height: 88px; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; flex-shrink: 0; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand b em { font-style: normal; color: var(--navy); }
.brand small { font-size: 11px; color: var(--gray-2); letter-spacing: .04em; }
.gnb { display: flex; margin-left: auto; height: 100%; }
.gnb a { display: flex; align-items: center; padding: 0 22px; font-size: 17px; font-weight: 700; height: 100%; position: relative; }
.gnb a.on { color: var(--navy); }
.gnb a.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--navy); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn svg { display: block; width: 24px; height: 24px; }

/* 히어로 */
.hero {
  position: relative; height: 260px; color: #fff; text-align: center;
  background:
    linear-gradient(rgba(14,21,45,.55), rgba(14,21,45,.70)),
    radial-gradient(120% 140% at 20% 20%, #3a4a7a 0%, #1b2550 45%, #0E152D 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 22px);
}
.hero h1 { position: relative; margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.hero p { position: relative; margin: 10px 0 40px; font-size: 13px; letter-spacing: .22em; opacity: .85; }
.hero.home { height: 340px; }
.hero.home h1 { font-size: 40px; }
.hero.home .lead { position: relative; margin: 6px 0 0; font-size: 17px; letter-spacing: 0; opacity: .95; }

/* 서브탭 */
.subtabs { position: relative; margin-top: -64px; z-index: 2; }
.subtabs .wrap { max-width: 1132px; }
.subtabs ul { display: flex; list-style: none; margin: 0; padding: 0; border-radius: 8px 8px 0 0; overflow: hidden; background: var(--gray-tab); }
.subtabs li { flex: 1; position: relative; }
.subtabs li + li::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.35); }
.subtabs a { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 64px; color: #fff; font-weight: 700; font-size: 16px; }
.subtabs a:hover { background: var(--gray-tab-2); }
.subtabs a.on { background: #fff; color: var(--navy); }
.subtabs a small { font-size: 11px; font-weight: 400; opacity: .8; line-height: 1.2; }
.subtabs li.on + li::before, .subtabs li:has(+ li.on)::before { display: none; }

/* 페이지 제목 */
.ptitle { text-align: center; padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.ptitle h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.crumb { margin-top: 10px; font-size: 13px; color: var(--gray-2); display: flex; justify-content: center; align-items: center; gap: 10px; }
.crumb .home { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.crumb span + span::before { content: "›"; margin-right: 10px; color: #bbb; }

main { padding: 48px 0 96px; min-height: 50vh; }
.narrow { max-width: 880px; margin: 0 auto; }

/* 공통 요소 */
h3.sec { font-size: 22px; font-weight: 800; margin: 0 0 16px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
h3.sec::before { content: ""; width: 6px; height: 22px; background: var(--navy); }
.sec-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sec-row h3.sec { margin: 0; }
.more { font-size: 14px; color: var(--gray-1); }
.more:hover { color: var(--navy); }
.box { background: var(--bg-soft); padding: 24px 28px; }
.note { font-size: 14px; color: var(--gray-1); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border: 1px solid currentColor; line-height: 1.5; }
.badge.navy { color: var(--navy); }
.badge.gray { color: var(--gray-2); }
.badge.ok { color: var(--ok); }
.badge.red { color: var(--danger); }
.demo-flag { background: #fff6d6; color: #6b5200; font-size: 13px; text-align: center; padding: 8px 16px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; background: var(--ink-2); color: #fff; border: 1px solid var(--ink-2); font-weight: 700; cursor: pointer; }
.btn:hover { background: #000; }
.btn.navy { background: var(--navy); border-color: var(--navy); }
.btn.line { background: #fff; color: var(--ink-2); }
.btn.line:hover { background: var(--bg-soft); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btns { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }

/* 홈: 바로가기 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line-strong); border-left: 1px solid var(--line); margin-bottom: 64px; }
.quick a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 170px; transition: background .15s; }
.quick a:hover { background: var(--bg-soft); }
.quick i { font-size: 30px; color: var(--navy); }
.quick b { font-size: 18px; font-weight: 800; margin-top: 6px; }
.quick span { font-size: 14px; color: var(--gray-1); }
.home-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.home-grid > section { min-width: 0; }

/* 게시판 목록 */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--line-strong); }
.board th { background: var(--bg-soft); font-weight: 700; font-size: 15px; height: 56px; border-bottom: 1px solid var(--line); }
.board td { height: 56px; border-bottom: 1px solid var(--line); padding: 10px 12px; font-size: 15px; }
.board td.c { text-align: center; color: var(--gray-2); white-space: nowrap; }
.board tr.click { cursor: pointer; }
.board tr.click:hover td { background: #fafafa; }
.list-simple { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line-strong); }
.list-simple li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.list-simple li:hover b { color: var(--navy); }
.list-simple b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-simple time { color: var(--gray-2); font-size: 14px; flex-shrink: 0; }

/* 게시글 보기 */
.view { border-top: 1px solid var(--line-strong); }
.view .vTit { font-size: 22px; font-weight: 800; padding: 22px 0; margin: 0; border-bottom: 1px solid var(--line); }
.view .meta { display: flex; gap: 20px; font-size: 13px; color: var(--gray-2); padding: 14px 0; border-bottom: 1px solid var(--line); }
.view .body { padding: 36px 0 48px; white-space: pre-wrap; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.faq-cats button { height: 40px; padding: 0 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.faq-cats button.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.faq { border-top: 2px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 20px 8px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\e942"; font-family: xeicon; margin-left: auto; color: var(--gray-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .q, .faq .a { flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.faq .q { background: var(--navy); color: #fff; }
.faq .ans { display: flex; gap: 14px; padding: 20px 8px 24px; background: var(--bg-soft); white-space: pre-wrap; }
.faq .a { border: 1px solid var(--navy); color: var(--navy); background: #fff; }
.faq-cta { margin-top: 32px; text-align: center; }

/* 일정표 */
.term-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.term-tabs button { height: 48px; padding: 0 28px; background: none; border: 0; font-weight: 700; color: var(--gray-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.term-tabs button.on { color: var(--navy); border-color: var(--navy); }
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--line-strong); margin-bottom: 40px; }
.info-table th { width: 180px; text-align: left; background: var(--bg-soft); padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; vertical-align: top; }
.info-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }

/* 폼 */
.form { border-top: 2px solid var(--line-strong); }
.field { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.field > label, .field > .lbl { background: var(--bg-soft); padding: 18px 20px; font-weight: 700; font-size: 15px; }
.field > label .req, .field > .lbl .req { color: var(--danger); margin-left: 2px; }
.field > div { padding: 12px 16px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; max-width: 420px; height: 44px; padding: 0 14px; border: 1px solid #ccc; background: #fff; border-radius: 0;
}
.field textarea { max-width: 100%; height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.field .hint { font-size: 13px; color: var(--gray-2); margin-top: 6px; }
.field .err { font-size: 13px; color: var(--danger); margin-top: 6px; font-weight: 700; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .ok-msg { font-size: 13px; color: var(--ok); margin-top: 6px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #ccc; cursor: pointer; background: #fff; }
.radios input { accent-color: var(--navy); }
.radios label:has(input:checked) { border-color: var(--navy); color: var(--navy); font-weight: 700; box-shadow: inset 0 0 0 1px var(--navy); }
.agree { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); font-size: 14px; color: var(--gray-1); }
.agree label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 36px; border: 1px solid var(--line); }
.steps div { padding: 18px 20px; font-size: 14px; color: var(--gray-1); }
.steps div + div { border-left: 1px solid var(--line); }
.steps b { display: block; color: var(--navy); font-size: 13px; letter-spacing: .08em; }
.steps strong { display: block; color: var(--ink); font-size: 16px; margin: 2px 0; }

/* 결과 */
.result { border: 2px solid var(--navy); padding: 32px; text-align: center; margin-top: 8px; }
.result i { font-size: 44px; color: var(--navy); }
.result h4 { font-size: 22px; margin: 8px 0; }
.result.fail { border-color: var(--danger); }
.result.fail i { color: var(--danger); }
.status-card { border-top: 2px solid var(--line-strong); }
.status-row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.status-row > div:first-child { background: var(--bg-soft); padding: 18px 20px; font-weight: 700; }
.status-row > div:last-child { padding: 18px 20px; }

/* 납입확인서(인쇄) */
.cert { max-width: 720px; margin: 32px auto 0; border: 1px solid var(--ink); padding: 56px 64px; background: #fff; }
.cert h4 { text-align: center; font-size: 30px; letter-spacing: .5em; margin: 0 0 40px; }
.cert table { width: 100%; border-collapse: collapse; }
.cert th, .cert td { border: 1px solid var(--ink); padding: 12px 16px; font-size: 15px; }
.cert th { width: 140px; background: var(--bg-soft); }
.cert p { text-align: center; margin: 40px 0 8px; }
.cert .issuer { text-align: center; font-size: 20px; font-weight: 800; margin-top: 32px; }

/* 퀵메뉴 */
.quickmenu { position: fixed; right: 0; top: 40%; z-index: 30; display: flex; flex-direction: column; background: var(--navy); border-radius: 8px 0 0 8px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.quickmenu a { color: #fff; width: 64px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; text-align: center; line-height: 1.25; }
.quickmenu a + a { border-top: 1px solid rgba(255,255,255,.15); }
.quickmenu a:hover { background: rgba(255,255,255,.12); }
.quickmenu i { font-size: 20px; }

/* 푸터 */
.footer { background: var(--navy-deep); color: #fff; font-size: 14px; }
.footer .links { border-bottom: 1px solid rgba(255,255,255,.2); }
.footer .links .wrap { display: flex; gap: 28px; height: 56px; align-items: center; font-weight: 700; }
.footer .info { padding: 32px 16px 40px; color: rgba(255,255,255,.75); line-height: 1.9; }
.footer .info b { color: #fff; font-size: 16px; display: block; margin-bottom: 6px; }
.footer .copy { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

.loading { text-align: center; padding: 80px 0; color: var(--gray-2); }
.empty { text-align: center; padding: 48px 0; color: var(--gray-2); border-bottom: 1px solid var(--line); }

/* 반응형 */
@media (max-width: 1024px) {
  .gnb { display: none; position: absolute; top: 88px; left: 0; right: 0; background: #fff; flex-direction: column; height: auto; border-bottom: 2px solid var(--navy); }
  .gnb.open { display: flex; }
  .gnb a { height: 56px; border-top: 1px solid var(--line); }
  .gnb a.on::after { display: none; }
  .menu-btn { display: block; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .util .left { display: none; }
  .util .wrap { justify-content: flex-end; }
  .header .wrap { height: 68px; }
  .gnb { top: 68px; }
  .brand b { font-size: 17px; }
  .hero { height: 220px; }
  .hero.home { height: 280px; }
  .hero h1, .hero.home h1 { font-size: 26px; }
  .hero.home .lead { font-size: 15px; padding: 0 16px; }
  .subtabs { margin-top: -52px; }
  .subtabs .wrap { padding: 0; }
  .subtabs ul { border-radius: 0; overflow-x: auto; }
  .subtabs li { flex: 0 0 auto; min-width: 33.33%; }
  .subtabs a { height: 52px; font-size: 14px; padding: 0 12px; }
  .ptitle h2 { font-size: 24px; }
  main { padding: 32px 0 72px; }
  .quick a { min-height: 140px; padding: 20px 16px; }
  .field, .status-row { grid-template-columns: 1fr; }
  .field > label, .field > .lbl, .status-row > div:first-child { padding: 12px 16px; }
  .info-table th { width: 96px; padding: 14px 12px; }
  .info-table td { padding: 14px 12px; }
  .steps { grid-template-columns: 1fr; }
  .steps div + div { border-left: 0; border-top: 1px solid var(--line); }
  .board .hide-m { display: none; }
  .cert { padding: 32px 20px; }
  .quickmenu { display: none; }
}

/* 출석체크 */
.att-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 32px; padding: 0; border: 1px solid var(--line); counter-reset: none; }
.att-steps li { padding: 16px 12px; text-align: center; font-weight: 700; color: var(--gray-2); font-size: 16px; }
.att-steps li + li { border-left: 1px solid var(--line); }
.att-steps li b { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; align-items: center; justify-content: center; font-size: 13px; margin-right: 8px; }
.att-steps li.on { color: var(--navy); background: #eef1fb; box-shadow: inset 0 -3px 0 var(--navy); }
.att-steps li.done { color: var(--ok); }
.att-steps li.done b { background: var(--ok); color: #fff; border-color: var(--ok); }
.att-actions { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 24px; }
.btn.big { height: 60px; font-size: 18px; }
.remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-1); margin-top: 12px; cursor: pointer; }
.remember input { width: 18px; height: 18px; }
.remember.strong { color: var(--ink); font-weight: 700; background: #fff8e6; border: 1px solid #f6c77a; padding: 14px 16px; margin-top: 16px; }
/* 게시판 */
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.board-top .btn { height: 44px; padding: 0 20px; }
.refund-note { border: 2px solid var(--navy); padding: 20px 24px; margin-bottom: 24px; background: #f7f9ff; }
.refund-note > b { font-size: 17px; color: var(--navy); }
.refund-note p { margin: 8px 0 0; font-size: 15px; }
.refund-flow { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 4px; }
.refund-flow li { background: #fff; border: 1px solid var(--line); padding: 4px 12px; font-size: 14px; font-weight: 700; }
.refund-flow li + li::before { content: '→'; margin-right: 8px; color: var(--gray-2); font-weight: 400; }
.answer { background: var(--bg-soft); border-left: 4px solid var(--navy); padding: 18px 22px; margin-top: 16px; }
.answer > div { margin-top: 8px; white-space: pre-wrap; }
.answer.wait { border-left-color: var(--line-strong); }
@media (max-width: 720px) {
  .att-actions { grid-template-columns: 1fr; }
  .att-steps li { font-size: 14px; padding: 12px 6px; }
  .att-steps li b { display: flex; margin: 0 auto 4px; }
  .refund-note { padding: 16px; }
}

@media print {
  body * { visibility: hidden; }
  .cert, .cert * { visibility: visible; }
  .cert { position: absolute; left: 0; top: 0; margin: 0; border: 0; width: 100%; max-width: none; }
}

/* 연수자료 */
.lead-note { background: var(--bg-soft, #f5f6f8); padding: 14px 18px; margin: 0 0 20px; font-size: 15px; }
.mt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #e3e5ea; background: #fff; margin-bottom: 8px; }
.mt-group { margin-top: 28px; }
.mt-group h3 { font-size: 19px; margin: 0 0 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.mt-group h3 small { font-size: 13px; color: #777; font-weight: 400; }
.deck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.deck { display: flex; flex-direction: column; text-align: left; border: 1px solid #e3e5ea; background: #fff; padding: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; font: inherit; color: inherit; }
.deck:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,24,113,.12); }
.deck-cover { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.deck-cover i { font-size: 34px; } .deck-cover em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .9; }
.deck-cover.k0 { background: linear-gradient(135deg, #001871, #0075C8); } .deck-cover.k1 { background: linear-gradient(135deg, #0E152D, #3a4a8c); }
.deck-cover.k2 { background: linear-gradient(135deg, #0075C8, #19a7c9); } .deck-cover.k3 { background: linear-gradient(135deg, #8a5a2b, #d38f53); }
.deck-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.deck-body b { font-size: 16px; line-height: 1.4; } .deck-body small { color: #666; } .deck-body span { color: #444; font-size: 14px; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,30,.92); display: flex; flex-direction: column; }
.viewer-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #fff; }
.viewer-bar b { font-size: 16px; } .viewer-bar span { color: rgba(255,255,255,.7); font-size: 14px; flex: 1; }
.viewer-bar .btn.line { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.viewer-frame { flex: 1; padding: 0 16px 16px; display: flex; }
.viewer-frame iframe { flex: 1; border: 0; background: #fff; width: 100%; }
.viewer-frame.empty { flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 16px; }

/* 쿼카 챗봇 */
.qbot-btn { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 20px 0 6px; border: 0; border-radius: 30px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,24,113,.3); }
.qbot-btn.on .qbot-label { display: none; } .qbot-btn.on { padding: 0 6px; }
.qbot-face { width: 48px; height: 48px; background: #fff; border-radius: 50%; display: block; padding: 3px; flex: none; }
.qbot-face svg { width: 100%; height: 100%; display: block; overflow: visible; }
.qbot-face.sm { width: 40px; height: 40px; background: #f4ead9; }
.qbot { position: fixed; right: 22px; bottom: 94px; z-index: 61; width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 120px); background: #fff; border: 1px solid #dfe2ea; box-shadow: 0 18px 50px rgba(0,0,0,.18); display: flex; flex-direction: column; }
.qbot[hidden] { display: none; }
.qbot header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--navy); color: #fff; }
.qbot header div { flex: 1; } .qbot header b { display: block; } .qbot header small { opacity: .75; font-size: 12px; }
.qbot header button { background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.qbot-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f7fb; }
.qbot-msg { max-width: 86%; padding: 10px 13px; font-size: 14px; line-height: 1.6; border-radius: 14px; }
.qbot-msg.bot { background: #fff; border: 1px solid #e3e5ea; border-top-left-radius: 4px; align-self: flex-start; }
.qbot-msg.me { background: var(--navy); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.qbot-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qbot-acts a { font-size: 13px; font-weight: 700; color: var(--navy); border: 1px solid var(--navy); padding: 3px 10px; border-radius: 14px; }
.qbot-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid #eee; }
.qbot-chips button { flex: none; border: 1px solid #d6dae6; background: #fff; border-radius: 16px; padding: 5px 11px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.qbot form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid #eee; }
.qbot form input { flex: 1; height: 40px; border: 1px solid #d6dae6; padding: 0 12px; font: inherit; font-size: 14px; }
.qbot form button { width: 40px; height: 40px; border: 0; background: var(--navy); color: #fff; cursor: pointer; font-size: 18px; }
@media (max-width: 720px) {
  .qbot-btn { right: 14px; bottom: 14px; height: 54px; } .qbot-btn .qbot-face { width: 42px; height: 42px; }
  .qbot { right: 8px; left: 8px; width: auto; max-width: none; bottom: 78px; height: 70vh; }
  .deck-grid { grid-template-columns: 1fr; }
  .viewer-frame { padding: 0; }
}

/* 쿼카 캐릭터 (서울대·연구원·교사) */
.hero.home { height: 400px; overflow: hidden; }
.hero-qk { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; gap: 14px; align-items: flex-end; z-index: 1; pointer-events: none; }
.hero-qk img { height: 132px; width: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.22)); }
.hero-qk img:nth-child(2) { height: 146px; }
.hero.home h1, .hero.home p { transform: translateY(-58px); }
.qbot-face.img { overflow: hidden; background: #fff; }
.qbot-face.img img { width: 100%; height: 150%; object-fit: cover; object-position: 50% 0; display: block; }
@media (max-width: 760px) {
  .hero.home { height: 330px; }
  .hero-qk img { height: 96px; }
  .hero-qk img:nth-child(2) { height: 106px; }
  .hero.home h1, .hero.home p { transform: translateY(-44px); }
}

/* ───── v3: 머리·서브 화면·시간표 다듬기 ───── */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #eef1fb; object-fit: cover; object-position: 50% 8%; flex-shrink: 0; }
.brand span { display: flex; flex-direction: column; line-height: 1.3; }
.brand small { font-size: 12px; letter-spacing: 0; color: var(--gray-1); }
.gnb a { padding: 0 18px; }
.gnb a.on::after { left: 18px; right: 18px; }

.hero::before { display: none; }
.hero { background: linear-gradient(105deg, #0b1c5e 0%, #001871 55%, #1a2f8a 100%); }
.hero.home .eyebrow { margin: 0 0 14px; font-size: 14px; letter-spacing: .02em; font-weight: 700; opacity: .8; }
.hero.home .lead { font-size: 18px; opacity: .92; }
.hero.sub { height: 168px; text-align: left; display: block; overflow: hidden; }
.hero.sub .wrap { height: 100%; max-width: 1132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.hero.sub h1 { font-size: 32px; }
.hero.sub p { margin: 8px 0 0; font-size: 15px; letter-spacing: 0; opacity: .85; }
.hero.sub img { height: 150px; width: auto; align-self: flex-end; margin-bottom: -14px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); flex-shrink: 0; }
.subtabs { margin-top: 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.subtabs ul { border-radius: 0; background: none; gap: 4px; }
.subtabs li { flex: 0 0 auto; }
.subtabs li + li::before { display: none; }
.subtabs a { height: 56px; padding: 0 22px; color: var(--gray-1); flex-direction: row; position: relative; }
.subtabs a small { display: none; }
.subtabs a:hover { background: none; color: var(--ink); }
.subtabs a.on { background: none; color: var(--navy); }
.subtabs a.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--navy); }
.ptitle { text-align: left; padding: 36px 0 0; border: 0; }
.ptitle .wrap { max-width: 1132px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ptitle h2 { font-size: 26px; }
.crumb { margin: 0; }
.ptitle + main { padding-top: 28px; }
main > .wrap { max-width: 1132px; }
.att-steps { border-radius: 10px; overflow: hidden; }
.btn { border-radius: 6px; }
.box { border-radius: 10px; }

/* 시간표 */
.tt-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tt-tabs button { display: flex; align-items: baseline; justify-content: center; gap: 10px; height: 60px; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--gray-1); }
.tt-tabs button b { font-size: 19px; font-weight: 800; }
.tt-tabs button span { font-size: 14px; }
.tt-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tt-sum { margin: 0 0 18px; font-size: 15px; color: var(--gray-1); }
.tt-sum b { color: var(--ink); }
.tt-grid { display: grid; gap: 16px; align-items: start; }
.tt-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.tt-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.tt-day { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.tt-day header { display: flex; align-items: baseline; gap: 8px; padding: 16px 18px; background: #f3f5fb; border-bottom: 1px solid var(--line); }
.tt-day header b { font-size: 18px; font-weight: 800; color: var(--navy); }
.tt-day header span { font-weight: 700; }
.tt-day header em { font-style: normal; margin-left: auto; font-size: 13px; color: var(--gray-1); }
.tt-day header i { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--danger); padding: 1px 8px; border-radius: 20px; }
.tt-day.today { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.tt-day ol { list-style: none; margin: 0; padding: 0; }
.tt-day li { display: flex; gap: 14px; padding: 16px 18px; }
.tt-day li + li { border-top: 1px solid #eee; }
.tt-time { flex: 0 0 52px; display: flex; flex-direction: column; line-height: 1.35; font-variant-numeric: tabular-nums; }
.tt-time b { font-size: 16px; font-weight: 800; }
.tt-time span { font-size: 13px; color: var(--gray-2); }
.tt-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tt-body small { font-size: 12px; font-weight: 700; color: var(--navy); }
.tt-body strong { font-size: 16px; font-weight: 700; line-height: 1.45; }
.tt-who { font-size: 14px; color: var(--gray-1); display: inline-flex; align-items: center; gap: 4px; }
.tt-who.tbd { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--gray-2); background: var(--bg-soft); padding: 2px 8px; border-radius: 20px; }

@media (max-width: 1024px) {
  .tt-grid.n2, .tt-grid.n3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand img { width: 36px; height: 36px; }
  .brand small { display: none; }
  .hero.sub { height: 128px; }
  .hero.sub h1 { font-size: 24px; }
  .hero.sub p { font-size: 13px; }
  .hero.sub img { height: 104px; margin-bottom: -10px; }
  .subtabs ul { overflow-x: auto; }
  .subtabs li { min-width: 0; }
  .subtabs a { height: 48px; padding: 0 14px; white-space: nowrap; }
  .subtabs a.on::after { left: 14px; right: 14px; }
  .ptitle { padding-top: 24px; }
  .ptitle h2 { font-size: 22px; }
  .crumb { display: none; }
  .tt-tabs button { flex-direction: column; align-items: center; gap: 0; height: 64px; justify-content: center; }
  .tt-tabs button span { font-size: 12px; }
  .tt-day li { padding: 14px; gap: 12px; }
}

/* ───── v5: 파스텔 블루·둥근 카드·알약 버튼(naea.snu.ac.kr 참고) + 쿼카 움직임 ───── */
:root {
  --blue: #1268d3; --blue-deep: #0a3fa0; --soft: #f2f8fd; --soft-2: #e4effb; --title: #1b2a5c;
  --line: #e3e8f0; --line-strong: #1b2a5c; --bg-soft: #f5f8fc; --gray-1: #5b657a; --gray-2: #7a8499;
  --shadow: 0 10px 30px rgba(27,42,92,.08);
}
body { font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #1f2740; letter-spacing: -.012em; }

/* 맨 위 줄과 머리 */
.util { background: #f6f9fd; color: var(--gray-1); border-bottom: 1px solid var(--line); }
.util .wrap { height: 40px; }
.util .left { opacity: 1; letter-spacing: 0; }
.util .right { gap: 0; }
.pill { height: auto; padding: 0 12px; border-radius: 0; background: none; font-weight: 500; color: #4a5568; }
.pill + .pill { border-left: 1px solid #d5dbe6; }
.pill:hover { background: none; color: var(--blue); }
.pill i { color: var(--blue); font-size: 15px; }
.header { border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(27,42,92,.05); }
.brand b { color: var(--title); font-size: 21px; }
.brand b em { color: var(--blue); }
.brand img { background: var(--soft-2); }
.gnb a { font-weight: 600; color: #2b3350; transition: color .15s; }
.gnb a:hover, .gnb a.on { color: var(--blue); }
.gnb a.on::after { background: var(--blue); border-radius: 3px 3px 0 0; }

/* 버튼 */
.btn { border-radius: 12px; border: 0; background: #2b3350; transition: transform .15s, filter .15s, background .15s; }
.btn.navy { background: linear-gradient(95deg, #1268d3, #001871); box-shadow: 0 6px 16px rgba(18,104,211,.24); }
.btn.navy:hover { background: linear-gradient(95deg, #1268d3, #001871); filter: brightness(1.1); transform: translateY(-1px); }
.btn.line { background: #fff; color: var(--title); border: 1px solid #cfd8e8; }
.btn.white { background: #fff; color: var(--blue); }
.btn.white:hover { background: var(--soft); }

/* 쿼카: 숨쉬기 · 깡충 · 올리면 폴짝 · 누르면 갸웃 */
.qk { --k: 4px; --kr: 1deg; appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; position: relative; display: block; transform-origin: 50% 100%; transform: translateX(calc(var(--lx, 0) * var(--k))) rotate(calc(var(--lx, 0) * var(--kr))); transition: transform .5s cubic-bezier(.2,.8,.3,1); -webkit-tap-highlight-color: transparent; }
.qk span { display: block; transform-origin: 50% 100%; animation: qk-hop 7s ease-in-out infinite; }
.qk img { display: block; width: auto; transform-origin: 50% 100%; animation: qk-breath 3.6s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(27,42,92,.13)); }
.qk:hover span { animation: qk-jump .55s cubic-bezier(.3,1.4,.5,1); }
.qk.boing span { animation: qk-boing .7s ease-in-out; }
.qk:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 20px; }
@keyframes qk-breath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.028); } }
@keyframes qk-hop { 0%, 58%, 100% { transform: translateY(0) scale(1, 1); } 64% { transform: translateY(2px) scale(1.04, .95); } 72% { transform: translateY(-16px) scale(.98, 1.03); } 80% { transform: translateY(0) scale(1.03, .97); } 86% { transform: translateY(0) scale(1, 1); } }
@keyframes qk-sway { 0%, 34%, 100% { transform: rotate(0); } 48% { transform: rotate(-2.4deg); } 60%, 72% { transform: rotate(1.2deg); } 86% { transform: rotate(0); } }
@keyframes qk-jump { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(3px) scale(1.05, .94); } 55% { transform: translateY(-22px) scale(.97, 1.04); } 80% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
@keyframes qk-boing { 0% { transform: rotate(0); } 20% { transform: rotate(-7deg) translateY(-10px); } 40% { transform: rotate(6deg) translateY(-14px); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } 100% { transform: none; } }
@keyframes qk-orb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes qk-tw { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
@keyframes qk-wig { 0%, 100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-12deg) scale(1.12); } 65% { transform: rotate(9deg) scale(1.12); } }
@keyframes qk-up { 40% { transform: translateY(-5px); } }
@keyframes qk-dots { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* 홈 첫 화면 */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #e6f1fd 0%, #ecf0fd 55%, #f0e9fb 100%); }
.orb { position: absolute; border-radius: 50%; pointer-events: none; animation: qk-orb 9s ease-in-out infinite; }
.orb.o1 { width: 420px; height: 420px; left: -130px; top: -170px; background: rgba(255,255,255,.55); }
.orb.o2 { width: 260px; height: 260px; left: 38%; bottom: -150px; background: rgba(18,104,211,.07); animation-delay: -3s; }
.orb.o3 { width: 520px; height: 520px; right: -150px; top: -130px; background: rgba(255,255,255,.42); animation-delay: -6s; }
.home-hero .wrap { position: relative; max-width: 1132px; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 480px; padding-top: 36px; padding-bottom: 100px; }
.hh-text { min-width: 0; }
.hh-text .eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: #3b4a78; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.chip.sm { height: 22px; padding: 0 8px; font-size: 12px; margin-right: 8px; background: var(--soft-2); color: var(--blue); vertical-align: 1px; }
.hh-text h1 { margin: 0; font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; color: var(--title); }
.hh-text h1 em { font-style: normal; color: var(--blue); }
.hh-text .lead { margin: 14px 0 0; font-size: 19px; color: #4a5568; }
.hh-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; min-height: 34px; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: #fff; border: 1px solid #cfe0f5; font-size: 14px; color: #2b3350; }
.tag b { color: var(--blue); font-weight: 800; }
.tag.soft { background: #fff5d9; border-color: #ffe4a3; color: #6d5200; font-weight: 500; }
.hh-btns { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hh-btns .btn { height: 54px; padding: 0 28px; border-radius: 27px; font-size: 16px; }
.hh-stage { --lx: 0; flex: 0 0 auto; position: relative; display: flex; align-items: flex-end; padding: 70px 20px 18px; }
.hh-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 44px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,42,92,.20), rgba(27,42,92,.06) 70%, transparent); }
.hh-stage .qk img { height: 240px; }
.qk.q1 { --k: 3px; --kr: .8deg; } .qk.q1 span { animation-delay: -1s; }
.qk.q2 { --k: 6px; --kr: 1.4deg; margin: 0 -16px; z-index: 1; } .hh-stage .qk.q2 img { height: 282px; animation-delay: -1.2s; } .qk.q2 span { animation-name: qk-sway; animation-duration: 8s; }
.qk.q2:hover span { animation-name: qk-jump; animation-duration: .55s; } .qk.q2.boing span { animation-name: qk-boing; animation-duration: .7s; }
.qk.q3 { --k: 4px; --kr: 1deg; } .qk.q3 span { animation-delay: -4.4s; } .qk.q3 img { animation-delay: -2.3s; }
.spk { position: absolute; width: 18px; height: 18px; background: #ffc94d; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: qk-tw 3.2s ease-in-out infinite; pointer-events: none; }
.spk.s1 { left: 2%; top: 34%; } .spk.s2 { right: 3%; top: 26%; width: 14px; height: 14px; background: #7fb4f5; animation-delay: -1s; }
.spk.s3 { left: 20%; top: 14%; width: 11px; height: 11px; background: #f5a3c0; animation-delay: -2s; } .spk.s4 { right: 20%; top: 12%; width: 12px; height: 12px; animation-delay: -1.6s; }
.hh-say { position: absolute; left: 50%; top: 4px; transform: translateX(-50%) translateY(6px); width: max-content; max-width: 320px; min-height: 42px; padding: 10px 16px; background: #fff; border-radius: 18px; font-size: 14.5px; font-weight: 500; color: #2b3350; text-align: center; box-shadow: 0 8px 22px rgba(27,42,92,.12); opacity: 0; transition: opacity .3s, transform .3s; z-index: 3; }
.hh-say.on { opacity: 1; transform: translateX(-50%); }
.hh-say::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); border-radius: 3px; }

/* 홈: 바로가기 카드(첫 화면에 걸침)와 다가오는 연수 */
.is-home main { padding-top: 0; }
.is-home .quickmenu { display: none; }
.dock { position: relative; z-index: 3; margin: -64px 0 56px; display: grid; grid-template-columns: 1fr 300px; background: #fff; border-radius: 24px; box-shadow: 0 16px 40px rgba(27,42,92,.10); overflow: hidden; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 8px; border-radius: 16px; transition: background .15s, transform .15s; }
.tile:hover { background: var(--soft); transform: translateY(-2px); }
.tile .ic { width: 60px; height: 60px; border-radius: 18px; background: #eaf3fd; color: var(--blue); display: grid; place-items: center; font-size: 28px; margin-bottom: 8px; transition: background .15s, color .15s; }
.tile:hover .ic { background: var(--blue); color: #fff; }
.tile:hover .ic i, .quickmenu a:hover i, .qbot-btn:hover .qbot-face { animation: qk-wig .5s; }
.tile b { font-size: 16px; font-weight: 700; color: #1f2740; }
.tile small { font-size: 13px; color: var(--gray-2); }
.next { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 28px 26px; color: #fff; background: linear-gradient(150deg, #1268d3, #0a3fa0 60%, #001871); }
.next::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); }
.next small { font-size: 13px; font-weight: 500; opacity: .85; }
.next strong { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 8px; font-size: 30px; font-weight: 800; }
.next strong em { font-style: normal; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 14px; background: #ffd24d; color: #3d2e00; }
.next p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; opacity: .95; }
.next .btn { position: relative; z-index: 1; align-self: flex-start; height: 44px; padding: 0 18px; border-radius: 22px; font-size: 15px; }

/* 홈: 시간표 카드 · 공지 · 한눈에 보기 */
.hcard { margin-bottom: 56px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.hcard > header { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 24px; color: #fff; background: linear-gradient(95deg, #1268d3, #0a3fa0); }
.hcard h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.hcard header a { display: inline-flex; align-items: center; font-size: 14px; opacity: .92; }
.hcard-b { padding: 22px 24px 6px; }
.nlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nlist li { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nlist li:hover { border-color: #b9d4f5; box-shadow: var(--shadow); transform: translateY(-1px); }
.nlist time { flex: 0 0 58px; height: 58px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.nlist time b { font-size: 22px; font-weight: 800; } .nlist time span { font-size: 11px; opacity: .9; }
.nlist p { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.nlist li > i { color: #a9b4c8; font-size: 20px; }
.glance { background: var(--soft); border-radius: 20px; padding: 8px 22px; }
.glance dl { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 14px 0; }
.glance dl + dl { border-top: 1px dashed #cfe0f5; }
.glance dt { flex: 0 0 100px; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.glance dd { margin: 0; font-size: 15px; } .glance dd b { color: var(--danger); } .glance dd a { color: var(--blue); font-weight: 700; text-decoration: underline; }
h3.sec { color: var(--title); }
h3.sec::before { height: 20px; border-radius: 3px; background: var(--blue); }

/* 서브 화면 */
.hero.sub { position: relative; height: 176px; color: var(--title); background: linear-gradient(105deg, #e6f1fd 0%, #ecf0fd 55%, #f0e9fb 100%); }
.hero.sub h1 { color: var(--title); } .hero.sub p { color: #4a5568; opacity: 1; }
.hero.sub .qk.solo { align-self: flex-end; flex-shrink: 0; }
.hero.sub .qk img { height: 150px; margin: 0; align-self: auto; filter: drop-shadow(0 6px 8px rgba(27,42,92,.14)); }
.subtabs { background: #fff; border-bottom: 1px solid var(--line); }
.subtabs ul { gap: 8px; padding: 12px 0; }
.subtabs a { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--soft); color: #4a5568; font-size: 15px; font-weight: 600; }
.subtabs a:hover { background: var(--soft-2); color: var(--blue); }
.subtabs a.on { background: var(--blue); color: #fff; }
.subtabs a.on::after { display: none; }
.ptitle h2 { color: var(--title); }
.crumb .home { background: var(--blue); }
.box { background: var(--soft); border-radius: 16px; }
.badge { border-radius: 6px; }

/* 시간표 */
.tt-tabs button { border-radius: 14px; }
.tt-tabs button.on { background: var(--blue); border-color: var(--blue); }
.tt-day { border-radius: 16px; }
.tt-day header { background: var(--soft); }
.tt-day header b, .tt-body small { color: var(--blue); }
.tt-day.today { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

/* 작은 것들: 옆 바로가기, 맨 위로, 도우미, 불러오는 중, 빈 화면, 바닥의 쿼카 */
.quickmenu { background: #fff; border: 1px solid var(--line); border-right: 0; border-radius: 16px 0 0 16px; box-shadow: 0 8px 28px rgba(27,42,92,.14); }
.quickmenu a { width: 68px; color: #2b3350; font-weight: 500; }
.quickmenu a + a { border-top: 1px solid var(--line); }
.quickmenu a:hover { background: var(--soft); color: var(--blue); }
.quickmenu i { color: var(--blue); font-size: 22px; }
.to-top { position: fixed; right: 28px; bottom: 96px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; line-height: 1; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top i { font-size: 18px; } .to-top:hover i { animation: qk-up .5s; }
.qbot-btn { background: linear-gradient(95deg, #1268d3, #001871); }
.qbot { border-radius: 20px; overflow: hidden; }
.qbot header { background: linear-gradient(95deg, #1268d3, #0a3fa0); }
.loading::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue); box-shadow: 18px 0 0 #8ab8ee, -18px 0 0 #8ab8ee; animation: qk-dots 1s ease-in-out infinite; }
.empty { border: 0; border-radius: 16px; background: var(--soft); padding: 28px 16px 32px; }
.empty::before { content: ""; display: block; width: 62px; height: 86px; margin: 0 auto 10px; background: url(img/quoka-teacher.webp) center / contain no-repeat; }
.footer { position: relative; }
.ft-peek { position: absolute; left: max(24px, calc(50% - 550px)); top: -54px; height: 54px; overflow: hidden; }
.ft-peek img { display: block; height: 150px; width: auto; transform: translateY(12px); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.ft-peek:hover img { transform: translateY(0); }

/* FAQ · 폼 */
.faq-cats button { border-radius: 20px; }
.faq-cats button.on { background: var(--blue); border-color: var(--blue); }
.faq .q, .faq .a { border-radius: 8px; } .faq .q { background: var(--blue); } .faq .a { border-color: var(--blue); color: var(--blue); }
.faq .ans { border-radius: 0 0 12px 12px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea { border-radius: 10px; border-color: #cfd8e8; }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--blue); border-color: var(--blue); }
.radios label { border-radius: 10px; border-color: #cfd8e8; }
.agree, .steps { border-radius: 14px; } .result { border-radius: 16px; border-color: var(--blue); } .result i { color: var(--blue); }

@media (max-width: 1024px) {
  .hh-text h1 { font-size: 42px; }
  .hh-stage .qk img { height: 196px; } .hh-stage .qk.q2 img { height: 230px; }
  .dock { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .util .wrap { height: 36px; }
  .home-hero .wrap { flex-direction: column; text-align: center; gap: 6px; min-height: 0; padding-top: 30px; padding-bottom: 84px; }
  .hh-text .eyebrow { justify-content: center; font-size: 13px; margin-bottom: 12px; }
  .hh-text h1 { font-size: 32px; }
  .hh-text .lead { font-size: 15px; margin-top: 8px; }
  .hh-tags { justify-content: center; margin-top: 16px; } .tag { height: 30px; padding: 0 11px; font-size: 13px; }
  .hh-btns { justify-content: center; margin-top: 20px; } .hh-btns .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .hh-stage { padding: 66px 8px 14px; } .hh-stage::before { height: 30px; }
  .hh-stage .qk img { height: 138px; } .hh-stage .qk.q2 img { height: 162px; } .qk.q2 { margin: 0 -10px; }
  .hh-say { font-size: 13.5px; max-width: 270px; }
  .orb.o3 { width: 300px; height: 300px; }
  .dock { margin: -56px 0 40px; border-radius: 20px; }
  .tiles { padding: 10px 6px; }
  .tile { padding: 12px 2px; } .tile .ic { width: 48px; height: 48px; border-radius: 14px; font-size: 23px; margin-bottom: 6px; }
  .tile b { font-size: 13px; line-height: 1.35; } .tile small { display: none; }
  .next { padding: 22px 20px; } .next strong { font-size: 26px; }
  .hcard { margin-bottom: 40px; border-radius: 16px; } .hcard > header { height: 54px; padding: 0 16px; } .hcard-b { padding: 16px 14px 4px; }
  .nlist li { gap: 12px; padding: 10px 12px 10px 10px; } .nlist time { flex-basis: 52px; height: 52px; } .nlist p { white-space: normal; font-size: 15px; }
  .glance { padding: 6px 16px; } .glance dt { flex-basis: 84px; }
  .hero.sub { height: 132px; } .hero.sub .qk img { height: 110px; }
  .subtabs .wrap { padding: 0 16px; } .subtabs ul { padding: 10px 0; } .subtabs a { height: 38px; padding: 0 14px; }
  .to-top { right: 17px; bottom: 80px; }
  .ft-peek { top: -44px; height: 44px; } .ft-peek img { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .qk span, .qk img, .orb, .spk, .loading::before { animation: none !important; }
  .qk, .ft-peek img, .tile, .nlist li, .hh-say { transition: none; }
}

/* ───── v6: 새 캐릭터(얼굴 따로) + 포인트 컬러 핑크 ───── */
:root { --pink: #e2578c; --pink-deep: #b83868; --pink-soft: #fdeef4; --pink-line: #f7c6d8; }
::selection { background: #fbd3e2; }
.brand img { object-fit: contain; object-position: 50% 50%; background: var(--pink-soft); padding: 3px; }
.qbot-face.img { overflow: hidden; background: #fff; padding: 4px; }
.qbot-face.img img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; }
.qbot-face.sm.img { background: var(--pink-soft); }
.hero.sub .qk.solo { margin-bottom: 10px; }
.hero.sub .wrap::after { content: ""; position: absolute; right: 8px; bottom: 6px; width: 120px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,42,92,.16), transparent); pointer-events: none; }
.hero.sub .qk.solo { z-index: 1; }
.home-hero, .hero.sub { background: linear-gradient(105deg, #e6f1fd 0%, #eef0fd 55%, #fdeaf2 100%); }
.orb.o2 { background: rgba(226,87,140,.08); }
.chip { background: var(--pink); }
.chip.sm { background: var(--pink-soft); color: var(--pink-deep); }
.hh-text h1 em, .brand b em { color: var(--pink); }
.tag.soft { background: var(--pink-soft); border-color: var(--pink-line); color: var(--pink-deep); }
.hh-btns .btn.line:hover { border-color: var(--pink); color: var(--pink-deep); background: #fff; }
.gnb a.on::after { background: var(--pink); }
h3.sec::before { background: var(--pink); }
.next strong em { background: #fff; color: var(--pink-deep); }
.tile:hover .ic { background: var(--pink); }
.tile:hover { background: var(--pink-soft); }
.nlist li:hover { border-color: var(--pink-line); }
.nlist li:hover > i { color: var(--pink); }
.glance dd a, .more:hover { color: var(--pink-deep); }
.tt-day header i { background: var(--pink); }
.tt-who.tbd { background: var(--pink-soft); color: var(--pink-deep); }
.spk.s1 { background: #f7a1c0; } .spk.s3 { background: #ffc94d; }
.to-top { color: var(--pink); }
.faq-cats button.on { background: var(--pink); border-color: var(--pink); }
.subtabs a:hover { color: var(--pink-deep); background: var(--pink-soft); }
.subtabs a.on:hover { color: #fff; background: var(--blue); }
@media (max-width: 760px) { .hero.sub .qk.solo { margin-bottom: 8px; } .hero.sub .wrap::after { width: 90px; right: 14px; } }

/* ───── v7: 시간표 디테일 ───── */
.tt-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 10px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.tt-flow span { display: flex; flex-direction: column; align-items: center; font-size: 11.5px; color: var(--gray-1); line-height: 1.35; text-align: center; position: relative; }
.tt-flow span + span::before { content: ""; position: absolute; left: -4px; top: 9px; width: 8px; height: 1px; background: #c5d0e2; }
.tt-flow b { font-size: 14px; font-weight: 800; color: var(--title); font-variant-numeric: tabular-nums; }
.tt-body small { display: flex; align-items: center; gap: 6px; }
.tt-body small em { font-style: normal; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 10px; background: var(--soft-2); color: var(--blue); line-height: 18px; }
.tt-body small em.lab { background: var(--pink-soft); color: var(--pink-deep); }
.tt-who { flex-wrap: wrap; } .tt-who b { font-weight: 700; color: #2b3350; } .tt-who span { font-size: 13px; color: var(--gray-2); }
.tt-who span::before { content: "·"; margin-right: 4px; }
.tt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st; }
.tt-steps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tt-steps li.on { background: var(--soft); border-color: #b9d4f5; }
.tt-steps small { font-size: 13px; font-weight: 700; color: var(--blue); }
.tt-steps small::before { content: counter(st); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; }
.tt-steps b { font-size: 15.5px; line-height: 1.45; } .tt-steps span { font-size: 13px; color: var(--gray-1); }
.tt-how { list-style: none; margin: 0; padding: 6px 22px; background: var(--soft); border-radius: 16px; counter-reset: hw; }
.tt-how li { counter-increment: hw; display: flex; gap: 14px; align-items: baseline; padding: 13px 0; } .tt-how li + li { border-top: 1px dashed #cfe0f5; }
.tt-how b { flex: 0 0 110px; color: var(--title); } .tt-how b::before { content: counter(hw) ". "; color: var(--pink); }
.tt-how span { font-size: 15px; } .tt-how a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.tt-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tt-people li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.tt-people b { font-size: 16px; } .tt-people em { font-style: normal; font-size: 13px; color: var(--blue); font-weight: 700; } .tt-people span { font-size: 13.5px; color: var(--gray-1); margin-top: 4px; }
@media (max-width: 1024px) { .tt-steps { grid-template-columns: repeat(2, 1fr); } .tt-people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .tt-steps, .tt-people { grid-template-columns: 1fr; } .tt-how { padding: 4px 16px; } .tt-how li { flex-direction: column; gap: 2px; } .tt-how b { flex: none; } }

/* ───── v10: 얼굴 캐릭터, 첫 화면 모션, 버튼·탭·입력칸 공통 규격 ───── */
/* 공통 규격: 버튼 44px(큰 것 52px), 입력칸 44px, 모서리 10px */
.btn { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; box-shadow: none; }
.btn.navy { background: var(--blue); box-shadow: 0 1px 2px rgba(18,104,211,.25); }
.btn.navy:hover { background: #0f5bbb; filter: none; transform: none; }
.btn.line:hover { background: var(--soft); }
.btn.big { height: 52px; padding: 0 28px; font-size: 16.5px; }
.btn i { font-size: 1.1em; }
.board-top .btn { height: 44px; padding: 0 18px; }
.hh-btns .btn { height: 50px; padding: 0 26px; border-radius: 25px; font-size: 16px; }
.hh-btns .btn.navy { box-shadow: 0 6px 14px rgba(18,104,211,.22); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select { height: 44px; border-radius: 10px; }
.field > label, .field > .lbl { display: flex; align-items: center; padding: 14px 20px; }
.field > div { padding: 12px 16px; }
.remember { margin: 16px 0 0; }
.remember + .btn, .remember + .btns, .form + .btn { margin-top: 18px; }
.btns { margin-top: 28px; }

/* 1기·2기 탭: 눌리는 단추처럼 */
.tt-tabs { gap: 12px; margin-bottom: 20px; padding-bottom: 4px; }
.tt-tabs button { align-items: center; height: 58px; padding: 0 12px; border-radius: 14px; border: 1px solid #d6dfee; background: linear-gradient(#fff, #f5f8fd); color: #4a5568;
  box-shadow: 0 3px 0 #d6dfee, 0 6px 14px rgba(27,42,92,.06); transition: transform .16s, box-shadow .16s, background .16s; }
.tt-tabs button .in { display: inline-flex; align-items: baseline; gap: 10px; line-height: 1; }
.tt-tabs button b { font-size: 19px; } .tt-tabs button .in span { font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tt-tabs button:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #d6dfee, 0 10px 18px rgba(27,42,92,.09); }
.tt-tabs button.on { background: linear-gradient(#2a7de0, #1268d3); border-color: #0f5bbb; color: #fff; transform: translateY(-2px);
  box-shadow: 0 5px 0 #0b4a9c, 0 12px 20px rgba(18,104,211,.26), inset 0 1px 0 rgba(255,255,255,.28); }
.tt-tabs button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c3cfe3; }
.tt-tabs button.on:active { box-shadow: 0 1px 0 #0b4a9c; }
@media (max-width: 720px) { .tt-tabs button { height: 62px; } .tt-tabs button .in { flex-direction: column; align-items: center; gap: 5px; } .tt-tabs button b { font-size: 17px; } .tt-tabs button .in span { font-size: 12.5px; } }

/* 얼굴 캐릭터 */
.qk { transform-origin: 50% 85%; transform: translate(calc(var(--lx, 0) * var(--k)), calc(var(--ly, 0) * var(--k) * .6)) rotate(calc(var(--tilt, 0deg) + var(--lx, 0) * var(--kr))); }
.qk span { position: relative; transform-origin: 50% 85%; }
.qk img { height: auto; transform-origin: 50% 90%; filter: drop-shadow(0 10px 12px rgba(27,42,92,.16)); }
.qk .lid { position: absolute; border-radius: 50%; background: #e29963; transform: scaleY(0); transform-origin: 50% 0; animation: qk-blink 4.6s infinite; pointer-events: none; }
.qk:focus-visible { border-radius: 40%; }
@keyframes qk-blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5%, 97% { transform: scaleY(1); } }
@keyframes qk-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(1.2deg); } }
@keyframes qk-tilt { 0%, 30%, 100% { transform: translateY(0) rotate(0); } 42%, 58% { transform: translateY(-4px) rotate(-6deg); } 70% { transform: translateY(0) rotate(2deg); } 80% { transform: rotate(0); } }
@keyframes qk-nod { 0%, 100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-7px) rotate(-1.5deg); } 62% { transform: translateY(2px) rotate(1deg); } }
@keyframes qk-pop { 0% { opacity: 0; transform: translateY(46px) scale(.6) rotate(var(--tilt, 0deg)); } 100% { opacity: 1; } }
@keyframes hh-rise { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }
@keyframes qk-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(16px, -14px) scale(1.04); } 66% { transform: translate(-12px, 8px) scale(.98); } }
@keyframes qk-glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }

/* 홈 첫 화면: 얼굴 셋을 크게 겹쳐 놓기 */
.hh-stage { align-items: center; padding: 78px 6px 30px; }
.hh-stage::before { left: 4%; right: 4%; top: 22%; bottom: 0; height: auto; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,.35) 62%, transparent); animation: qk-glow 7s ease-in-out infinite; }
.hh-stage .qk img, .hh-stage .qk.q2 img { height: auto; }
.hh-stage .qk.q1 img { width: 196px; } .hh-stage .qk.q2 img { width: 250px; } .hh-stage .qk.q3 img { width: 196px; }
.qk.q1 { --tilt: -7deg; --k: 5px; margin-top: 46px; } .qk.q3 { --tilt: 7deg; --k: 7px; margin-top: 58px; }
.qk.q2 { --k: 10px; margin: 0 -44px; z-index: 1; }
.qk.q1 span { animation: qk-float 6.2s ease-in-out infinite; animation-delay: -1s; }
.qk.q2 span { animation: qk-tilt 9s ease-in-out infinite; animation-delay: -2s; }
.qk.q3 span { animation: qk-nod 5.4s ease-in-out infinite; animation-delay: -3s; }
.qk.q1 .lid { animation-duration: 5.2s; animation-delay: -1.3s; } .qk.q2 .lid { animation-duration: 4.1s; } .qk.q3 .lid { animation-duration: 6.3s; animation-delay: -2.2s; }
.qk:hover span, .qk.q2:hover span { animation: qk-jump .55s cubic-bezier(.3,1.4,.5,1); }
.qk.boing span, .qk.q2.boing span { animation: qk-boing .7s ease-in-out; }
.home-hero .qk { animation: qk-pop .8s cubic-bezier(.3,1.45,.5,1) both; }
.home-hero .qk.q2 { animation-delay: .15s; } .home-hero .qk.q1 { animation-delay: .32s; } .home-hero .qk.q3 { animation-delay: .46s; }
.hh-text > * { animation: hh-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hh-text > :nth-child(2) { animation-delay: .08s; } .hh-text > :nth-child(3) { animation-delay: .18s; } .hh-text > :nth-child(4) { animation-delay: .28s; } .hh-text > :nth-child(5) { animation-delay: .38s; }
.home-hero .orb { animation: qk-drift 16s ease-in-out infinite; translate: calc(var(--lx, 0) * -16px) calc(var(--ly, 0) * -10px + var(--sy, 0) * 40px); transition: translate .9s cubic-bezier(.2,.7,.2,1); }
.home-hero .orb.o2 { animation-duration: 12s; animation-delay: -4s; translate: calc(var(--lx, 0) * 22px) calc(var(--ly, 0) * 12px + var(--sy, 0) * -30px); }
.home-hero .orb.o3 { animation-duration: 20s; animation-delay: -9s; }
.home-hero .hh-stage { translate: 0 calc(var(--sy, 0) * 26px); }
.home-hero .spk { translate: calc(var(--lx, 0) * 10px) calc(var(--ly, 0) * 8px); transition: translate .7s; }
@media (max-width: 1100px) { .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 160px; } .hh-stage .qk.q2 img { width: 204px; } .qk.q2 { margin: 0 -36px; } }
@media (max-width: 760px) {
  .hh-stage { padding: 62px 0 18px; }
  .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 112px; } .hh-stage .qk.q2 img { width: 144px; } .qk.q2 { margin: 0 -26px; }
  .qk.q1 { margin-top: 28px; } .qk.q3 { margin-top: 36px; }
}

/* 서브 화면·빈 화면·바닥·챗봇의 얼굴 */
.hero.sub .qk.solo { align-self: center; margin: 0 6px 0 0; --tilt: 4deg; }
.hero.sub .qk.solo span { animation: qk-float 6s ease-in-out infinite; }
.hero.sub .qk img { width: 132px; height: auto; }
.hero.sub .wrap::after { display: none; }
.empty { padding: 30px 16px 34px; }
.empty::before { width: 84px; height: 74px; margin-bottom: 12px; background-image: url(img/qk-teacher.webp); }
.ft-peek { top: -50px; height: 50px; }
.ft-peek img { height: auto; width: 104px; transform: translateY(12px); }
.ft-peek:hover img { transform: translateY(2px); }
.brand img { padding: 4px 2px 2px; }
.qbot-face.img { padding: 5px 3px 3px; }
@media (max-width: 760px) { .hero.sub .qk.solo { margin: 0; } .hero.sub .qk img { width: 92px; } .ft-peek { top: -42px; height: 42px; } .ft-peek img { width: 88px; } }
@media (prefers-reduced-motion: reduce) {
  .qk, .qk span, .qk img, .qk .lid, .orb, .spk, .hh-text > *, .hh-stage::before { animation: none !important; }
  .home-hero .orb, .home-hero .hh-stage, .home-hero .spk { translate: none; transition: none; }
  .tt-tabs button { transition: none; }
}
.hh-stage { --lx: inherit; }
.hh-text { flex: 1 0 auto; } .hh-text h1 { white-space: nowrap; }
.hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 172px; } .hh-stage .qk.q2 img { width: 216px; } .qk.q2 { margin: 0 -30px; }
@media (max-width: 1100px) { .hh-text { flex: 1 1 auto; } .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 148px; } .hh-stage .qk.q2 img { width: 186px; } .qk.q2 { margin: 0 -26px; } }
@media (max-width: 760px) { .hh-text h1 { white-space: normal; } .hh-stage { margin-top: 14px; } .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 108px; } .hh-stage .qk.q2 img { width: 138px; } .qk.q2 { margin: 0 -20px; } }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 760px) { .actions .btn { flex: 1 1 100%; } .qbot-btn .qbot-label { display: none; } .qbot-btn { padding: 5px; width: 56px; height: 56px; border-radius: 50%; justify-content: center; } .qbot-btn .qbot-face { width: 46px; height: 46px; } }
.btns .btn { min-width: 132px; }

/* v12: 한 세트로 다시 그린 얼굴. 귀가 가려지지 않게 흰 테두리만 살짝 겹친다 */
.hh-stage { align-items: flex-end; }
.hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 178px; } .hh-stage .qk.q2 img { width: 222px; }
.qk.q1, .qk.q3 { margin-top: 0; } .qk.q2 { margin: 0 -14px 26px; }
.qk img { filter: drop-shadow(0 8px 12px rgba(27,42,92,.16)); }
.empty::before { width: 84px; height: 82px; }
@media (max-width: 1100px) { .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 150px; } .hh-stage .qk.q2 img { width: 188px; } .qk.q2 { margin: 0 -12px 22px; } }
@media (max-width: 760px) { .hh-stage .qk.q1 img, .hh-stage .qk.q3 img { width: 104px; } .hh-stage .qk.q2 img { width: 130px; } .qk.q1, .qk.q3 { margin-top: 0; } .qk.q2 { margin: 0 -9px 16px; } }

/* v13: 연수비 납입증명서 */
.cert-view { margin: 32px auto 0; max-width: 794px; }
.cert-fit { margin: 0 auto; box-shadow: 0 0 0 1px var(--line, #dcdfe5), 0 14px 34px rgba(0, 24, 113, .1); overflow: hidden; }
.cert-btns { justify-content: center; }
@page { size: A4; margin: 0; }
@media print {
  .cert-sheet, .cert-sheet * { visibility: visible; }
  .cert-view { margin: 0; max-width: none; }
  .cert-fit { position: fixed; left: 0; top: 0; width: 794px !important; height: 1123px !important; box-shadow: none; overflow: visible; }
  .cert-sheet { transform: none !important; }
}
