/* 참가자 상세페이지 — 포스터급, 캠페인별 BI 테마(--lp-*)로 변주. 모바일 우선 */
/* 디스플레이 폰트(Black Han Sans·Do Hyeon·Jua)는 base.css에서 공통 로드 */

:root {
  /* 테마 미주입 시 기본값(코발트) */
  --lp-hero-bg: #1B2350; --lp-hero-bg2: #232C63;
  --lp-primary: #3D5AFE; --lp-pop: #FFD60A; --lp-pop-ink: #1B2350;
  --lp-ink: #15172B; --lp-surface2: #F1F3FF;
  --lp-display: 'Jalnan2', 'Pretendard Variable', sans-serif;
}
body { background: var(--color-surface-2); color: var(--lp-ink); word-break: keep-all; overflow-wrap: anywhere; }
.wrap { max-width: 560px; margin: 0 auto; padding: 14px 14px calc(104px + env(safe-area-inset-bottom)); }
.disp { font-weight: 700; }

/* 랜딩 내 버튼/폼 포인트색을 테마 primary로 */
.btn--primary { background: var(--lp-primary); border-color: var(--lp-primary); }
.btn--primary:hover { background: var(--lp-primary); border-color: var(--lp-primary); filter: brightness(.93); box-shadow: 0 8px 20px color-mix(in srgb, var(--lp-primary) 35%, transparent); }
.input:focus, .textarea:focus { border-color: var(--lp-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-primary) 18%, transparent); }
.field__label .req { color: var(--lp-primary); }
a { color: var(--lp-primary); }

/* ── 히어로 (다크 + 둥근 디스플레이 + 도형) ── */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 40px 22px 52px;
  background: radial-gradient(120% 80% at 50% -10%, var(--lp-hero-bg2), var(--lp-hero-bg));
  color: #fff; border-radius: 0 0 32px 32px;
}
/* 장식 원은 항상 콘텐츠 뒤 — z-index가 없으면 DOM 순서상 패널 위로 올라와 이름을 가린다 */
.hero::before, .hero::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; filter: blur(2px); opacity: .35; }
.hero::before { width: 130px; height: 130px; background: var(--lp-primary); top: -30px; right: -20px; }
.hero::after { width: 90px; height: 90px; background: var(--lp-pop); bottom: 40px; left: -24px; opacity: .25; }
.star { display: none; }
.hero__badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; position: relative; z-index: 1; }
.pbadge { font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: var(--radius-pill); background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.pbadge--pop { background: var(--lp-pop); color: var(--lp-pop-ink); }
.hero__tag { display: none; }
.hero__panel {
  position: relative; z-index: 1; background: #fff; border-radius: 28px; padding: 30px 26px; margin: 0 auto; max-width: 360px;
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}
.hero__eyebrow { font-weight: 700; color: var(--lp-primary); font-size: 15px; display: block; margin-bottom: 10px; }
.hero__title {
  font-family: var(--lp-display); font-weight: 400; line-height: 1.16; letter-spacing: -0.01em;
  font-size: clamp(38px, 11vw, 58px); color: var(--lp-hero-bg);
  word-break: keep-all; text-wrap: balance;
}
.hero__sub { position: relative; z-index: 1; color: rgba(255,255,255,.88); margin: 24px auto 0; font-size: 16px; line-height: 1.55; max-width: 40ch; }
.hero__sub .rich-p { margin: 0 0 20px; }
.hero__sub .rich-p:last-child, .hero__sub .rich-list:last-child { margin-bottom: 0; }
/* 첫 문단 = 리드(시선 잡기) */
.hero__sub .rich-p:first-child { font-size: 19px; font-weight: 600; color: #fff; line-height: 1.5; margin-bottom: 22px; }
/* ★ 항목 카드화 */
.hero__sub ul.rich-list { width: 100%; max-width: 360px; margin: 6px auto 22px; gap: 10px; text-align: left; }
.hero__sub ul.rich-list li { background: rgba(255,255,255,.10); border-radius: 13px; padding: 13px 16px 13px 42px; color: #fff; font-weight: 600; line-height: 1.45; }
.hero__sub ul.rich-list li::before { content: '★'; background: none; width: auto; height: auto; border-radius: 0; left: 16px; top: 13px; font-size: 15px; color: var(--lp-pop); }
.hero__sub ol.rich-list { margin: 6px auto 22px; width: fit-content; text-align: left; }
/* 강조 */
.hero__sub .hl { color: var(--lp-pop); font-weight: 700; }
.hero__sub .hl-line { color: var(--lp-pop); font-weight: 700; }
.prose .hl, .prose .hl-line { color: var(--lp-primary); font-weight: 700; }
/* 제목 아래 핵심 정보 (상태·모집기간·리워드) */
.hero__facts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; position: relative; z-index: 1; }
.hfact { font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); color: #fff; }
.hfact--status { background: var(--lp-pop); color: var(--lp-pop-ink); font-weight: 700; }
.hfact--status.is-closed { background: rgba(255,255,255,.16); color: rgba(255,255,255,.65); }

/* ── 섹션 = 흰 밴드 하나로 통일 (면분리) ──
   WHY: 다크카드/맨바닥/연회색카드/테두리표가 섞이면 같은 위계의 섹션이 서로 다른 무게로 읽힌다.
   그릇을 하나로 두고, 진짜 강조 하나(리워드)만 .sec--dark 로 뺀다. */
.sec {
  margin-top: 20px; background: #fff; border-radius: 18px; padding: 26px 20px;
  box-shadow: 0 1px 3px rgba(10,10,11,.05);
}
.sec__title { font-family: var(--font-ui); font-weight: 800; letter-spacing: -0.02em; font-size: 20px; color: var(--lp-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
/* 아이콘 색은 테마에서 상속 — 다색 고채도는 캠페인 배색과 충돌해 폐기 */
.sec__ic { width: 22px; height: 22px; flex: none; color: var(--lp-primary); }
.sec__badge { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--lp-surface2); color: var(--lp-primary); }
.prose { color: #4A4F5C; line-height: 1.75; font-size: 15.5px; }

/* 밴드 안 묶음 — 같은 질문에 답하는 것끼리 한 그릇에 담되 헤어라인으로만 나눈다 */
.grp + .grp { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--color-border); }

/* 유일한 강조 밴드 — 리워드 */
.sec--dark { background: var(--lp-hero-bg); color: #fff; box-shadow: 0 8px 22px rgba(10,10,11,.12); }
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__badge { background: rgba(255,255,255,.14); color: #fff; }
.sec--dark .sec__ic { color: var(--lp-pop); }

/* 부수 정보 — 밴드를 벗겨 회색 바닥 위에 얹는다(강-중-약의 '약') */
.sec--bare { background: transparent; box-shadow: none; padding: 10px 6px 0; margin-top: 24px; }
.sec--bare .sec__title { font-size: 16px; color: var(--color-ink-muted); margin-bottom: 12px; }
.sec--bare .sec__ic { width: 19px; height: 19px; color: var(--color-ink-muted); }

/* 참가 자격 — 한 문장뿐이면 임팩트가 없다. 문장은 키우고 대상은 칩으로 세운다 */
.elig__lead { font-size: 16.5px; font-weight: 600; line-height: 1.6; color: #3A3F4A; }
.elig__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.elig__chip { font-size: 13.5px; font-weight: 700; padding: 7px 13px; border-radius: var(--radius-pill); background: var(--lp-surface2); color: var(--lp-primary); }

.benefits { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.benefits li { display: flex; gap: 11px; align-items: flex-start; }
.benefits li .chk { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--lp-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
/* 체크 글리프 — 글자 ✓는 폰트가 그려 기기마다 두께·위치가 흔들린다. 색만 자리에서 상속(currentColor) */
.chk__ic { width: 13px; height: 13px; }
.ico-inline { width: 13px; height: 13px; vertical-align: -2px; }
.done__ic { width: 38px; height: 38px; }
.benefits li span:last-child { padding-top: 1px; line-height: 1.55; font-size: 15.5px; color: #3A3F4A; }

/* 리워드 */
.reward-card { color: #fff; }
.reward-card b { font-family: var(--font-ui); font-weight: 800; font-size: 34px; color: var(--lp-pop); display: inline-block; margin: 4px 0; font-variant-numeric: tabular-nums; }
.reward-table { width: 100%; border-collapse: collapse; }
.reward-table th, .reward-table td { padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; color: rgba(255,255,255,.92); text-align: left; }
.reward-table th { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.reward-table td.num, .reward-table th.num { text-align: right; }
.reward-table td.num b { font-family: var(--font-ui); font-weight: 800; color: var(--lp-pop); font-size: 18px; margin: 0; font-variant-numeric: tabular-nums; }
.reward-table tr:last-child td { border-bottom: 0; }
.reward-note { margin-top: 12px; color: rgba(255,255,255,.7); font-size: 13px; }

/* 참여 방법 Step 1·2·3 */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--lp-surface2); border-radius: 16px; padding: 18px; }
.step__n { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--lp-primary); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step__t { font-weight: 800; font-size: 16px; color: var(--lp-ink); }
.step__d { color: #5A5F6B; font-size: 14px; line-height: 1.55; margin-top: 3px; }

/* 일정 표 */
.sched { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 12px; border: 0; font-size: 15px; }
.sched th { background: var(--lp-hero-bg); color: #fff; font-weight: 700; padding: 12px 14px; text-align: left; font-size: 14px; }
.sched td { padding: 12px 14px; border-bottom: 1px solid #F0F0F2; }
.sched td:first-child { font-weight: 700; color: var(--lp-primary); width: 84px; }
.sched tr:last-child td { border-bottom: 0; }
.sched tbody tr:nth-child(even) { background: var(--lp-surface2); }

/* 주의사항 */
.cautions { list-style: none; counter-reset: ca; display: flex; flex-direction: column; gap: 13px; }
.cautions li { counter-increment: ca; position: relative; padding-left: 32px; color: #5A5F6B; font-size: 14px; line-height: 1.6; }
.cautions li::before { content: counter(ca); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--color-surface-2); color: var(--color-ink-muted); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* 자동변환 리스트(소개·프로즈) */
.rich-p { margin: 0 0 9px; line-height: 1.55; } .rich-p:last-child { margin-bottom: 0; }
.rich-list { list-style: none; margin: 0 0 9px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rich-list:last-child { margin-bottom: 0; }
.rich-list li { position: relative; padding-left: 22px; line-height: 1.5; }
ul.rich-list li::before { content: ''; position: absolute; left: 7px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-primary); }
ol.rich-list { counter-reset: ri; } ol.rich-list li { counter-increment: ri; }
ol.rich-list li::before { content: counter(ri); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px; background: var(--lp-surface2); color: var(--lp-primary); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
/* 붙여넣은 문건 소제목 = 섹션 헤더 밴드 (작성가이드/참고하세요 구분) */
.rich-h { background: var(--lp-surface2); border-left: 4px solid var(--lp-primary); border-radius: 8px; padding: 11px 14px; font-weight: 800; font-size: 16px; color: var(--lp-ink); margin: 24px 0 12px; letter-spacing: -0.01em; }
.rich-h:first-child { margin-top: 4px; }
.rich-hr { border: 0; border-top: 1px solid var(--color-border); margin: 18px 0; }

/* 주차 미션 (제출 페이지) */
.wk-title { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--lp-ink); margin: 4px 0 14px; }
.wk-refs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.wk-ref { font-size: 15px; line-height: 1.5; }
.wk-ref--sub { font-size: 13px; }
.wk-ref__tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--lp-surface2); color: var(--color-ink-muted); margin-right: 7px; letter-spacing: .02em; vertical-align: middle; }
.wk-ref__tag--hot { background: var(--lp-primary); color: #fff; }
.wk-ref__a { color: var(--lp-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wk-ref--sub .wk-ref__a { font-weight: 600; color: var(--color-ink-muted); }
.wk-kw { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.wk-kw__label { font-size: 11px; font-weight: 700; color: var(--lp-primary); letter-spacing: .04em; text-transform: uppercase; }
.wk-kw__chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.wk-kw__chip { background: var(--lp-surface2); color: var(--lp-primary); font-weight: 700; font-size: 14px; padding: 6px 13px; border-radius: var(--radius-pill); }
/* 작성가이드·유의사항은 같은 종류의 글(운영자가 쓴 프로즈)이라 타이포를 공유한다.
   ⚠ 예전엔 .wk-body에만 규칙이 있어 유의사항은 빈 줄 높이가 0이었다(문단 구분 소멸). */
.wk-body, .wk-cautions { color: #4A4F5C; font-size: 15.5px; }
/* 문단 사이는 줄 간격보다 확실히 넓어야 '문단'으로 읽힌다.
   줄 간격 15.5×1.6≈25px < 문단 간격 8+24=32px. */
.wk-body .rich-p, .wk-cautions .rich-p { margin: 0 0 8px; line-height: 1.6; }
.wk-body .rich-list, .wk-cautions .rich-list { gap: 7px; margin: 0 0 8px; }
.wk-body .rich-list li, .wk-cautions .rich-list li { line-height: 1.55; }
/* 작성가이드 소제목(##헤딩) = 단순 컬러 heading2 (인용구 박스 아님) */
.wk-body .rich-h, .wk-cautions .rich-h {
  background: none; border: 0; border-radius: 0; padding: 0;
  color: var(--lp-primary); font-size: 17px; font-weight: 800;
  margin: 22px 0 8px; line-height: 1.3;
}
.wk-body .rich-h:first-child, .wk-cautions .rich-h:first-child { margin-top: 0; }
.wk-body .rich-hr, .wk-cautions .rich-hr { margin: 16px 0; }
/* 운영자가 친 빈 줄 1개 = 한 줄 높이만큼 비운다(0이면 문단을 나눈 티가 안 난다) */
.wk-body .rich-blank, .wk-cautions .rich-blank { height: 24px; }

/* 교재 상시 배너 = 버튼형 (상단) */
.edu-banner { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--lp-primary); color: #fff; border-radius: 12px; padding: 15px 18px; margin-bottom: 18px; text-decoration: none; font-weight: 800; box-shadow: 0 6px 16px color-mix(in srgb, var(--lp-primary) 30%, transparent); transition: filter .15s, transform .12s; }
.edu-banner:hover { filter: brightness(.94); transform: translateY(-1px); }
.edu-banner:active { transform: translateY(0); }
.edu-banner__tag { flex: none; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); color: #fff; padding: 4px 10px; border-radius: 6px; }
.edu-banner__txt { font-weight: 800; }
.edu-banner__go { flex: none; font-weight: 800; }

/* 이번 주 미션 자료 세트 */
.wk-set { background: var(--lp-surface2); border: 0; border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.wk-set__head { font-size: 12px; font-weight: 800; color: var(--lp-primary); letter-spacing: .03em; margin-bottom: 12px; }
.wk-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.wk-row + .wk-row { border-top: 1px solid var(--color-border); }
.wk-row__tag { flex: none; width: 56px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--lp-primary); padding: 6px 0; border-radius: 7px; }
.wk-row__val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
/* 아티클: 한 줄 + 길면 … */
.wk-row__val .wk-ref__a { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; font-size: 15px; }
.wk-ref__nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wk-ref__go { flex: none; }
/* 키워드 칩: 넘치면 가로 스크롤(줄바꿈 X) */
.wk-row--kw .wk-row__val { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 주차 제출 대시보드 — 회차 리스트형 */
.sb { background: var(--lp-surface2); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.sb__top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sb__top button { margin-left: auto; }
.sb__bar { height: 8px; border-radius: 99px; background: rgba(0,0,0,.08); margin-top: 12px; overflow: hidden; }
.sb__bar span { display: block; height: 100%; background: var(--lp-primary); border-radius: 99px; transition: width .4s ease; }
.wklist { display: flex; flex-direction: column; gap: 14px; }
.wk-card { border: 0; border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.wk-card.is-open { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.wk-card.is-soon { opacity: .55; }
.wk-card__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wk-card__n { font-weight: 800; font-size: 17px; }
.wk-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 7px; }
.wk-badge--open { background: var(--lp-primary); color: #fff; }
.wk-badge--closed { background: var(--lp-surface2); color: var(--color-ink-muted); }
.wk-badge--soon { background: var(--lp-surface2); color: var(--color-ink-faint); }
.wk-badge--done { background: #E7F7EE; color: #1A9D54; }
.wk-badge--todo { background: #FFF3E0; color: #C77700; }
.wk-badge--star { background: #FFF0C2; color: #9A6B00; }
.wk-due { margin-left: auto; font-size: 13px; color: var(--color-ink-muted); }
.wk-submitbox { background: color-mix(in srgb, var(--lp-primary) 9%, #fff); border-radius: 14px; padding: 16px; margin-top: 18px; }
/* 제출 각주 — 경고 색면으로 강조하면 정작 CTA(제출 버튼)와 무게가 겹친다.
   입력칸 아래 각주로 낮춘다(※ 표기 + 보조 잉크). */
.wk-note { margin: 10px 2px 0; font-size: 12.5px; line-height: 1.55; color: var(--color-ink-muted); }
.wk-note b { color: var(--lp-ink); font-weight: 700; }
.wk-submit__label { font-size: 14px; font-weight: 800; color: var(--lp-ink); margin: 0 0 10px; }
.wk-submit__done { color: #1A9D54; font-weight: 700; }
.wk-submit { display: flex; gap: 8px; margin-top: 0; }
.wk-submit .input { flex: 1; min-width: 0; border: 0; background: #fff; }
.wk-submit .input:focus { box-shadow: inset 0 0 0 2px var(--lp-primary); }
.wk-done-url { margin-top: 12px; font-size: 14px; }
.wk-done-url a { color: var(--lp-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* 회차 칩 탭 — 한 번에 한 회차만 */
.hero__edu { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--lp-primary); background: var(--lp-surface2); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.sb__who { min-width: 0; }
.wkchips { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; margin: 16px 0; padding: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; touch-action: pan-y; }
.wkchips::-webkit-scrollbar { display: none; }
.wkchips.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.wkchip { position: relative; flex: none; min-width: 62px; border: 1px solid var(--color-border); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.wkchip__star { position: absolute; top: -7px; right: -5px; font-size: 13px; color: #E8A700; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.wkchip__n { font-size: 15px; font-weight: 800; color: var(--lp-ink); }
.wkchip__st { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--lp-surface2); color: var(--color-ink-faint); }
/* 상태별 색 구분: 오픈=파랑 / D-day·임박=빨강 / 완료=초록 / 마감=회색 / 대기=흐림 */
.wkchip.is-open { border-color: color-mix(in srgb, var(--lp-primary) 45%, var(--color-border)); }
.wkchip.is-open .wkchip__st { background: color-mix(in srgb, var(--lp-primary) 14%, #fff); color: var(--lp-primary); }
.wkchip.is-urgent { border-color: #F2B8B5; }
.wkchip.is-urgent .wkchip__st { background: #FDE7E6; color: #DC2F26; }
.wkchip.is-done { border-color: #BFE8D0; }
.wkchip.is-done .wkchip__st { background: #E7F7EE; color: #1A9D54; }
.wkchip.is-closed .wkchip__st { background: var(--lp-surface2); color: var(--color-ink-muted); }
.wkchip.is-soon { opacity: .55; }
.wkchip.is-soon .wkchip__st { background: var(--lp-surface2); color: var(--color-ink-faint); }
.wkchip.is-active { border-color: var(--lp-primary); background: var(--lp-surface2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lp-primary) 18%, transparent); }
.wkchip.is-active .wkchip__n { color: var(--lp-primary); }
.wk-dday { color: var(--lp-primary); }
/* 작성가이드 접이식(공통, 1회) */
/* 접이식 카드(작성가이드·유의사항) — 흰 바닥에 테두리만 두르면 섹션 경계가 안 읽힌다.
   면(배경)으로 구분하고, 펼치면 본문만 흰 면으로 떠올려 읽는 구간을 분리한다. */
.wkguide { margin-top: 12px; border: 1px solid var(--color-border); border-radius: 12px; padding: 0 16px; background: var(--lp-surface2); overflow: hidden; }
.wkguide[open] { box-shadow: 0 1px 3px rgba(10,10,11,.05); }
.wkguide summary { padding: 15px 2px; font-weight: 800; cursor: pointer; color: var(--lp-primary); list-style: none; }
.wkguide summary::-webkit-details-marker { display: none; }
.wkguide summary::before { content: '▸ '; }
.wkguide[open] summary::before { content: '▾ '; }
.wkguide[open] summary { border-bottom: 1px solid var(--color-border-strong); }
.wkguide .wk-body, .wkguide .wk-cautions {
  margin: 0 -16px; padding: 16px; background: #fff; border-top: 1px solid var(--color-border);
}
.wkguide__badge { display: inline-block; margin-left: 6px; background: var(--lp-primary); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; vertical-align: 1px; }
/* 섹션 — 학습 자료 / 이번 주 미션 (시스템 구획) */
.ssec { margin-top: 28px; }
.ssec:first-child { margin-top: 4px; }
.ssec__h { display: flex; align-items: center; gap: 9px; font-family: var(--font-display, inherit); font-size: 18px; font-weight: 800; color: var(--lp-ink); letter-spacing: -.01em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--lp-ink); }
.ssec__ic { width: 19px; height: 19px; flex: none; color: var(--lp-primary); }
.ssec--mission .ssec__h { border-bottom-color: var(--lp-primary); }
/* 교재 바로가기 버튼 */
.resbtn { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 16px; font-weight: 800; color: #fff; background: var(--lp-primary); padding: 15px 20px; border-radius: 12px; text-decoration: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--lp-primary) 30%, transparent); }
.resbtn__ic { flex: none; }
.resbtn__go { opacity: .9; }
.wk-row__val .wk-kw__chip { font-size: 14px; flex: none; }
/* 제출완료 상태 입력칸(읽기전용) */
.wk-submit .input:disabled { background: var(--lp-surface2); color: var(--color-ink-muted); cursor: default; }

/* 인증 후 헤더 — 신원·진행·로그아웃 (흰 패널 위, 다크 잉크 텍스트) */
.hero--auth { padding-top: 24px; padding-bottom: 30px; }
.hero--auth .hero__panel { max-width: 420px; padding: 22px 24px; text-align: left; }
.shead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.shead__id { min-width: 0; text-align: left; }
.shead__name { font-size: 22px; font-weight: 800; color: var(--lp-ink); margin-top: 4px; }
.shead__name b { font-weight: 800; }
.shead__out { flex: none; background: var(--lp-surface2); color: var(--color-ink-muted); border-color: transparent; }
.shead__out:hover { background: var(--color-border); }
.shead__prog { margin-top: 18px; text-align: left; }
.shead__progtop { display: flex; justify-content: space-between; align-items: baseline; color: var(--color-ink-muted); font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.shead__progtop b { font-size: 18px; font-weight: 800; color: var(--lp-primary); font-variant-numeric: tabular-nums; }
.shead__progtop b i { font-style: normal; font-size: 14px; color: var(--color-ink-faint); }
.shead__bar { height: 8px; border-radius: 99px; background: var(--lp-surface2); overflow: hidden; }
.shead__bar span { display: block; height: 100%; background: var(--lp-primary); border-radius: 99px; transition: width .4s ease; }

/* 제출 섹션 강조 */
.wk-submit__title { font-weight: 800; font-size: 17px; color: var(--lp-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.wk-submit__title::before { content: ''; width: 6px; height: 20px; border-radius: 3px; background: var(--lp-primary); }

/* 신청 — 블로그 URL 확인 미리보기 */
.blogrow { display: flex; gap: 8px; }
.blogrow .input { flex: 1; min-width: 0; }
.blogrow .btn { flex: none; }
.blogprev { margin-top: 12px; display: flex; gap: 12px; align-items: center; background: var(--lp-surface2); border-radius: 12px; padding: 12px; }
.blogprev__img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: #fff; }
.blogprev__body { min-width: 0; }
.blogprev__t { font-weight: 800; font-size: 15px; color: var(--lp-ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.blogprev__d { font-size: 13px; color: var(--color-ink-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blogprev__ok { font-size: 12px; font-weight: 700; color: var(--lp-primary); margin-top: 5px; }
.blogprev__empty { font-size: 13px; color: var(--color-ink-muted); }

/* ── 플로팅 CTA (dock) ──
   WHY: 예전엔 신청 카드 안 position:sticky였다 — 그 섹션이 뷰포트에 들어올 때만 붙어
   사실상 안 보였다. 페이지 어디서든 보이도록 fixed로 띄우고, 마감이어도 숨기지 않고
   상태(모집 마감)를 말한다. 숨기면 사용자가 '신청 방법을 못 찾은 것'과 구분할 수 없다. */
.cta-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 62%, rgba(255,255,255,0));
}
/* .btn은 inline-flex라 margin:auto가 안 먹는다 — 블록으로 바꿔야 중앙에 온다 */
.cta-dock__btn { display: flex; max-width: 528px; margin: 0 auto; height: 54px; font-size: 16px; font-weight: 700; box-shadow: 0 6px 20px color-mix(in srgb, var(--lp-primary) 30%, transparent); }
.cta-dock__btn:disabled { background: var(--color-surface-2); border-color: var(--color-border-strong); color: var(--color-ink-faint); box-shadow: none; opacity: 1; }

/* ── 신청 바텀시트 ── */
body.is-locked { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
/* display:flex가 UA의 [hidden]{display:none}을 덮어써 숨긴 스크림이 페이지 전체 클릭을 먹었다.
   hidden일 때를 명시적으로 끈다. */
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(10,10,11,.5); opacity: 0; transition: opacity .22s var(--ease-out); }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92dvh;
  display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .26s var(--ease-out);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; gap: 10px; padding: 20px 20px 12px; }
.sheet__title { font-family: var(--font-ui); font-weight: 800; letter-spacing: -.02em; font-size: 20px; color: var(--lp-ink); }
.sheet__x { margin-left: auto; flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--color-surface-2); color: var(--color-ink-muted); cursor: pointer; }
.sheet__x:hover { background: var(--color-border); color: var(--lp-ink); }
.sheet__x svg { width: 16px; height: 16px; }
.sheet__body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 20px 8px; }
.sheet__body .field:last-of-type { margin-bottom: var(--space-4); }
.sheet__foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); }
.sheet__foot .btn { height: 54px; font-size: 16px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .sheet__panel, .sheet__scrim { transition: none; }
}

/* 완료 */
.done { text-align: center; padding: 64px 20px; }
.done__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--lp-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 22px; animation: pop .4s var(--ease-out) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h1, .done__title { font-family: var(--font-ui); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(26px, 7vw, 34px); color: var(--lp-ink); line-height: 1.25; }
.done__icon { background: var(--lp-primary); }

.center { text-align: center; } .muted { color: #6B7280; }
.linkbtns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .done__icon { animation: none; } }

/* 라디오 선택(우수활동자 여부 등) */
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--color-border); border-radius: 12px; cursor: pointer; font-weight: 600; color: var(--lp-ink); transition: border-color .12s, background .12s; }
.radio-pill input { accent-color: var(--lp-primary); }
.radio-pill:has(input:checked) { border-color: var(--lp-primary); background: var(--lp-surface2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lp-primary) 16%, transparent); }

/* 마무리 · 리워드 신청 폼 */
.wru-intro p { margin: 0 0 10px; line-height: 1.6; font-size: 15.5px; }
.wru-intro p:last-child { margin-bottom: 0; }
.wru-stars { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.wru-stars li { position: relative; padding-left: 26px; line-height: 1.5; }
.wru-stars li::before { content: '★'; position: absolute; left: 0; top: 0; color: var(--lp-pop); font-size: 16px; }
.wru-cta { margin-top: 14px !important; padding: 14px 16px; background: var(--lp-surface2); border-radius: 12px; font-weight: 600; color: var(--lp-ink); line-height: 1.6; }
.wru-tiers { list-style: none; padding: 0; margin: 0; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.wru-tiers li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--color-border); }
.wru-tiers li:last-child { border-bottom: 0; }
.wru-tiers li:nth-child(odd) { background: var(--lp-surface2); }
.wru-range { font-weight: 600; color: var(--lp-ink); }
.wru-amt { font-weight: 800; color: var(--lp-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wru-notes { margin-top: 14px; }
.wru-notes p { margin: 0 0 6px; font-size: 13px; color: #6B7280; line-height: 1.55; }
