
  /* ============================================
     디자인 토큰
     - Primary Navy: #14304F (신뢰감, 교육 브랜드)
     - Accent Gold: #C9962E (프리미엄, CTA 강조)
     - Background: #F5F6F8
     - Text: #1F2937 / #6B7280
     - Error: #D64545 / Success: #2E7D5B
     - 5060 타겟이므로 기본 폰트 크기를 크게(16px 기준이 아닌 17~18px) 설정
  ============================================ */
  :root {
    --navy: #14304F;
    --navy-dark: #0D2038;
    --blue: #0057FF;
    --gold: #C9962E;
    --gold-dark: #B0801E;
    --bg: #F5F6F8;
    --card-bg: #FFFFFF;
    --text: #1F2937;
    --text-sub: #6B7280;
    --border: #E2E5EA;
    --error: #D64545;
    --radius: 14px;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }

  .db-form-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .db-form-header {
    text-align: center;
    margin-bottom: 28px;
  }

  .db-form-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
  }

  .db-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.4;
  }

  .db-form-subtitle {
    font-size: 16px;
    color: var(--text-sub);
    margin: 0;
  }

  .db-form-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(20, 48, 79, 0.08);
    padding: 32px 24px;
    width: 100%;
    min-width: 0;
  }

  .db-field {
    margin-bottom: 20px;
    min-width: 0;
  }

  .db-field label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }

  .db-field .required {
    color: var(--gold-dark);
    margin-left: 2px;
  }

  .db-field input[type="text"],
  .db-field input[type="tel"],
  .db-field input[type="email"] {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    font-size: 17px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
    transition: border-color 0.15s ease;
  }

  .db-field input:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
  }

  .db-field input::placeholder {
    color: #A6ADB8;
  }

  /* 국내/해외 토글 */
  .db-phone-region-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
  }

  .db-region-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14.5px;
    font-weight: 700;
    text-align: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #FCFCFD;
    color: var(--text-sub);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
  }

  .db-region-btn.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
  }

  /* 국내 전화번호 3블록 */
  .db-phone-domestic-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  .db-phone-prefix-select {
    flex: 0 0 108px;
    height: 52px;
    line-height: 48px;
    padding: 0 26px 0 12px;
    font-size: 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 13px;
  }

  .db-phone-domestic-row .db-phone-sep {
    flex: 0 0 auto;
    color: var(--text-sub);
    font-weight: 700;
  }

  .db-phone-mid,
  .db-phone-last {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 52px;
    padding: 0 6px;
    font-size: 17px;
    text-align: center;
    letter-spacing: 0.05em;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
  }

  .db-phone-prefix-select:focus,
  .db-phone-mid:focus,
  .db-phone-last:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
  }

  /* 해외 전화번호 */
  .db-phone-intl-row {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .db-phone-intl-row.show {
    display: flex;
  }

  .db-phone-country-select {
    flex: 0 0 128px;
    height: 52px;
    line-height: 48px;
    padding: 0 26px 0 10px;
    font-size: 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 13px;
  }

  .db-phone-intl-number {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 52px;
    padding: 0 12px;
    font-size: 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
  }

  .db-phone-country-select:focus,
  .db-phone-intl-number:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
  }

  .db-phone-domestic-row.hide-block {
    display: none;
  }

  @media (max-width: 500px) {
    .db-phone-prefix-select { flex-basis: 82px; height: 50px; line-height: 46px; padding: 0 20px 0 8px; font-size: 13px; background-size: 11px; background-position: right 7px center; }
    .db-phone-mid, .db-phone-last { height: 50px; padding: 0 2px; font-size: 16px; }
    .db-phone-country-select { flex-basis: 100px; height: 50px; line-height: 46px; font-size: 12.5px; padding: 0 20px 0 8px; }
    .db-phone-intl-number { height: 50px; }
  }

  @media (max-width: 340px) {
    .db-phone-prefix-select { flex-basis: 74px; font-size: 12px; }
  }
  .db-email-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  .db-email-row input[type="text"] {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 52px;
    padding: 0 10px;
    font-size: 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
  }

  .db-email-row input[type="text"]:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
  }

  .db-email-row input[type="text"]:disabled {
    background: #EFF1F4;
    color: var(--text-sub);
  }

  .db-email-at {
    flex: 0 0 auto;
    font-size: 17px;
    color: var(--text-sub);
    font-weight: 700;
  }

  .db-email-domain-select {
    flex: 0 0 100px;
    min-width: 0;
    height: 52px;
    line-height: 48px;
    padding: 0 22px 0 8px;
    font-size: 13px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    color: var(--text);
    background: #FCFCFD;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 11px;
  }

  .db-email-domain-select:focus {
    outline: none;
    border-color: var(--navy);
  }

  @media (max-width: 500px) {
    .db-email-row { gap: 4px; }
    .db-email-row input[type="text"] { font-size: 14px; padding: 0 6px; }
    .db-email-at { font-size: 14px; }
    .db-email-domain-select { flex-basis: 88px; font-size: 11.5px; padding: 0 18px 0 6px; }
  }

  .db-field-error {
    display: none;
    font-size: 13px;
    color: var(--error);
    margin-top: 6px;
  }

  .db-field.has-error input {
    border-color: var(--error);
  }

  .db-field.has-error .db-field-error {
    display: block;
  }

  /* 동의 섹션 */
  .db-consent-box {
    background: #F7F8FA;
    border-radius: 10px;
    padding: 18px 16px;
    margin: 24px 0 28px;
  }

  .db-consent-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    font-size: 16px;
  }

  .db-consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--text-sub);
  }

  .db-consent-item input[type="checkbox"],
  .db-consent-all input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--navy);
    cursor: pointer;
  }

  .db-consent-item label,
  .db-consent-all label {
    cursor: pointer;
    flex: 1;
  }

  .db-consent-item .consent-required-tag {
    color: var(--navy);
    font-weight: 700;
    margin-right: 4px;
  }

  .db-consent-item .consent-optional-tag {
    color: var(--text-sub);
    font-weight: 700;
    margin-right: 4px;
  }

  .db-consent-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
    font-family: inherit;
  }

  /* 약관 상세 팝업(모달) */
  .db-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .db-modal-overlay.open {
    display: flex;
  }

  .db-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .db-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .db-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
  }

  .db-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--text-sub);
    cursor: pointer;
    padding: 4px;
  }

  .db-modal-body {
    padding: 18px 20px 22px;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    overflow-y: auto;
  }

  .db-modal-body strong {
    color: var(--text);
  }

  /* 마케팅 동의 권장 안내 문구 */
  .db-marketing-hint {
    font-size: 12.5px;
    color: var(--error);
    margin: 4px 0 0 30px;
  }

  .db-viewer-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #FFF7EA;
    border: 1px solid #F0DDB0;
    border-radius: 999px;
    padding: 8px 16px;
    margin: 0 auto 14px;
    width: fit-content;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold-dark);
    animation: db-bubble-float 2.4s ease-in-out infinite;
  }

  .db-viewer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E0483E;
    flex-shrink: 0;
    animation: db-dot-pulse 1.4s ease-in-out infinite;
  }

  @keyframes db-bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  @keyframes db-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }

  .db-submit-btn {
    width: 100%;
    padding: 17px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: var(--blue);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
  }

  .db-submit-btn:hover,
  .db-submit-btn:active {
    background: var(--navy);
  }

  .db-submit-btn:disabled {
    background: #B7BEC9;
    cursor: not-allowed;
  }

  .db-form-notice {
    text-align: center;
    font-size: 13px;
    color: var(--text-sub);
    margin-top: 14px;
  }

  .db-mobile-break {
    display: none;
  }

  @media (max-width: 480px) {
    .db-mobile-break { display: block; content: ""; }
  }

  @media (max-width: 400px) {
    .db-form-title { font-size: 22px; }
    .db-form-card { padding: 24px 18px; }
  }

  /* ============================================
     신규: 단일 컬럼 세로 레이아웃
     순서: 카운트다운 → 썸네일 → 신청폼 → 상세콘텐츠 → 혜택체크리스트
  ============================================ */
  .db-page-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 90px;
  }

  @media (max-width: 900px) {
    .db-page-grid {
      padding: 16px 16px 90px;
      gap: 20px;
    }
  }

  /* 상단 이탈 경고 배너 */
  .db-warning-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--error);
    color: #fff;
    text-align: center;
    padding: 18px 14px;
    border-radius: 10px;
  }

  .db-warning-icon {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    animation: db-blink 1.1s ease-in-out infinite;
  }

  .db-warning-text {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 480px) {
    .db-warning-banner { padding: 15px 12px; gap: 6px; }
    .db-warning-icon { font-size: 18px; }
    .db-warning-text { font-size: 13px; }
  }

  /* 선착순 마감 카운트다운 */
  .db-countdown-box {
    width: 100%;
    background: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 28px 12px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .db-countdown-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .db-countdown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .db-countdown-label,
  .db-countdown-unit {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }

  .db-countdown-num {
    width: 46px;
    min-width: 46px;
    height: 42px;
    background: #fff;
    color: #000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
  }

  .db-countdown-colon {
    width: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
  }

  @keyframes db-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }

  .db-remain-blink {
    display: inline-block;
    color: #ff2d2d;
    animation: db-blink 1s ease-in-out infinite;
  }

  @media (max-width: 480px) {
    .db-countdown-box { padding: 20px 8px; }
    .db-countdown-title { font-size: 15px; margin-bottom: 12px; }
    .db-countdown-row { gap: 3px; }
    .db-countdown-label, .db-countdown-unit { font-size: 11px; }
    .db-countdown-num { width: 32px; min-width: 32px; height: 32px; font-size: 18px; border-radius: 3px; }
    .db-countdown-colon { width: 6px; font-size: 18px; }
  }

  /* 썸네일 */
  .db-thumb-img {
    width: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
  }

  .db-thumb-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 혜택 체크리스트 */
  .db-benefit-wrap {
    display: flex;
    gap: 20px;
  }

  .db-benefit-card {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px 22px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  }

  .db-benefit-card.gift {
    border: 2px solid #FFD600;
  }

  .db-benefit-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 14px;
  }

  .db-benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .db-benefit-list li {
    font-size: 14.5px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
  }

  .db-benefit-list li:last-child {
    border-bottom: none;
  }

  @media (max-width: 700px) {
    .db-benefit-wrap { flex-direction: column; gap: 14px; }
    .db-benefit-card { padding: 18px 16px; }
    .db-benefit-title { font-size: 16px; }
    .db-benefit-list li { font-size: 13.5px; }
  }

  /* 신규: 폼 박스 내 상단 타이틀 (기존 db-form-header 대체) */
  .db-form-inbox-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.5;
    margin: 0 0 20px;
  }

  @media (max-width: 400px) {
    .db-form-inbox-title { font-size: 19px; }
  }

  /* 신규: 상세 콘텐츠 (마케팅 카피 + 이미지 갤러리) */
  .db-detail-content {
    background: #fff;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(20, 48, 79, 0.06);
  }

  .db-detail-eyebrow {
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }

  .db-detail-headline {
    text-align: center;
    font-size: 23px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.5;
    margin: 0 0 28px;
  }

  .db-detail-info-card {
    background: #F7F8FA;
    border-radius: 12px;
    padding: 22px 20px;
    margin-bottom: 24px;
  }

  .db-detail-info-card p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
  }

  .db-detail-info-card p:last-child { margin-bottom: 0; }

  .db-detail-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin: 32px 0 14px;
    line-height: 1.5;
  }

  .db-detail-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 14px;
  }

  .db-detail-checklist {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
  }

  .db-detail-checklist li {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.7;
    padding: 6px 0;
  }

  .db-detail-stat-box {
    display: flex;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    margin: 24px 0;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
  }

  .db-detail-stat-item strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
  }

  .db-detail-stat-item span {
    font-size: 12.5px;
    color: #C6D2E0;
  }

  .db-detail-quote-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
  }

  .db-detail-quote {
    background: #F7F8FA;
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-sub);
    font-style: italic;
  }

  .db-detail-toc {
    background: #FFF7EA;
    border: 1px solid #F0DDB0;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 24px 0;
  }

  .db-detail-toc ol {
    margin: 0;
    padding-left: 20px;
  }

  .db-detail-toc li {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.9;
  }

  .db-detail-gallery {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    line-height: 0;
    font-size: 0;
  }

  .db-detail-gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
  }

  @media (max-width: 500px) {
    .db-detail-headline { font-size: 19px; }
  }
  .db-gauge-box {
    width: 100%;
    padding: 16px 16px 22px;
    background: #F7F8FA;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
  }

  .db-gauge-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 26px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
  }

  .db-gauge-dot {
    width: 9px;
    height: 9px;
    background: #ff0000;
    border-radius: 50%;
    animation: db-blink 1s ease-in-out infinite;
  }

  .db-gauge-bar-wrap {
    position: relative;
    width: 100%;
  }

  .db-gauge-bar {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
  }

  .db-gauge-fill {
    width: 75%;
    height: 100%;
    background: var(--navy);
    border-radius: 999px;
    transition: width 0.3s ease;
  }

  .db-gauge-bubble {
    position: absolute;
    left: 75%;
    top: -38px;
    transform: translateX(-50%);
    padding: 5px 11px;
    background: #ff0000;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
  }

  .db-gauge-bubble::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #ff0000;
  }

  /* 하단 플로팅 배너 - 전체 화면 공통 노출 */
  .db-floating-banner {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    z-index: 999999;
    padding: 12px 14px;
    box-sizing: border-box;
  }

  .db-floating-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
  }

  .db-floating-text {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
  }

  .db-floating-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }

  .db-floating-timer-label {
    font-size: 14px;
    font-weight: 800;
    color: #111;
  }

  .db-floating-timer strong {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .db-floating-timer strong span {
    display: inline-block;
    min-width: 1.15em;
    text-align: center;
  }

  .db-floating-btn {
    flex-shrink: 0;
    width: 96px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    line-height: 1.2;
    padding: 0 6px;
  }

  .db-floating-btn:hover,
  .db-floating-btn:active {
    background: var(--navy);
  }

  @media (max-width: 768px) {
    .db-floating-banner { padding: 10px 12px; }
    .db-floating-inner { width: 100%; justify-content: space-between; gap: 8px; }
    .db-floating-text { display: none; }
    .db-floating-timer { gap: 5px; }
    .db-floating-timer-label { font-size: 12px; }
    .db-floating-timer strong { font-size: 18px; }
    /* 모바일: 2줄 방지 — width 90px */
    .db-floating-btn { width: 90px; height: 38px; font-size: 13px; white-space: nowrap; }
  }


/* ===== shell: header / footer / page layout ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-height: 36px;
}
.header-logo img {
  height: 36px;
  width: auto;
  display: block;
}
/* 로고 텍스트 — 브랜드명만 바꾸면 됨 */
.logo-text {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy, #14304F);
  white-space: nowrap;
  font-family: inherit;
}
.logo-text--footer {
  height: 28px;
  font-size: 16px;
  font-weight: 700;
  color: #e4e4e4;
}
.header-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav a { color: inherit; text-decoration: none; }
.header-nav a:hover { color: var(--navy); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-actions a {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
}
.header-actions .btn-apply {
  background: var(--navy);
  color: #fff !important;
  padding: 8px 14px;
}
.header-actions .btn-apply:hover { background: var(--navy-dark); }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #111;
}
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.4);
}
.mobile-drawer.open { display: block; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: #fff;
  padding: 20px 16px;
  overflow-y: auto;
}
.mobile-drawer-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.drawer-close {
  border: 0;
  background: none;
  color: #6b7280;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* page-body + db-page-grid: 원본과 동일하게 섹션 간 gap (PC 24px / 모바일 20px) */
.page-body.db-page-grid {
  max-width: 720px;
  margin: 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 20px 120px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .page-body.db-page-grid {
    padding: 16px 16px 120px;
    gap: 20px;
  }
}
.page-body > .db-warning-banner,
.page-body > .db-countdown-box,
.page-body > .db-thumb-img,
.page-body > #dbFormCol,
.page-body > .db-detail-content {
  width: 100%;
  min-width: 0;
}

.site-footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 40px 16px 100px;
  font-size: 13px;
  line-height: 1.7;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img {
  height: 28px;
  width: auto;
  opacity: .9;
}
.footer-logo .logo-text {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}
.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 12px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-biz p { margin: 0 0 4px; color: #999; font-size: 12px; }
.footer-biz strong { color: #ccc; font-weight: 600; }
.footer-copy {
  margin-top: 20px;
  font-size: 11px;
  color: #777;
}

@media (min-width: 900px) {
  .header-logo img { height: 42px; }
  .header-logo .logo-text {
    height: 42px;
    font-size: 24px;
  }
}
/* 헤더: 로고 + 수강신청만 */
.header-inner { justify-content: space-between; }
.header-actions { margin-left: auto; }
.footer-links { display: none; }

/* ensure no horizontal scroll */
html, body { overflow-x: hidden; }
.db-detail-gallery,
.db-thumb-img,
.db-form-card,
.db-countdown-box,
.db-warning-banner { min-width: 0; }
.db-detail-gallery img,
.db-thumb-img img { width: 100%; height: auto; display: block; }
/* ===== 접수 완료 팝업 ===== */
.db-done-modal {
  position: relative;
  max-width: 380px;
  padding: 36px 24px 26px;
  align-items: center;
  text-align: center;
}
.db-done-close { position: absolute; top: 10px; right: 12px; }
.db-done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2E7D5B;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 64px;
  margin-bottom: 18px;
}
.db-done-title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
}
.db-done-text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.db-done-kakao {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: #FEE500;
  color: #191919;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.db-done-kakao:hover { filter: brightness(0.96); }
