/* 크리에이터 제휴 프로그램 (WEB-N-125, Beta) — affiliate.html 전용. 모든 규칙은 .aff 아래에서만. */
.aff {
  --bg:#fffdf8; --ink:#18181b; --ink2:#3f3f46; --muted:#71717a; --line:#e7e1d4;
  --amber:#f59e0b; --brand:#d97706; --brand-d:#b45309; --brand-soft:#fff4dd;
  --night:#111318; --night2:#1b1e26; --night-line:#2a2e39; --night-ink:#e9e9ee; --night-muted:#9a9db0;
  --ok:#15803d; --ok-bg:#ecfdf3; --red:#dc2626; --red-bg:#fef2f2;
  --serif:"Noto Serif KR","Nanum Myeongjo","Batang",serif;
  background:var(--bg); color:var(--ink); font-size:15.5px; line-height:1.65; word-break:keep-all;
}
.aff *, .aff *::before, .aff *::after { box-sizing:border-box; }
.aff img { max-width:100%; display:block; }
.aff a { color:inherit; }
.aff-wrap { max-width:1180px; margin:0 auto; padding:0 24px; }
.aff h1, .aff h2, .aff h3 { margin:0; font-weight:800; letter-spacing:-.015em; }
.aff h2 { font-size:30px; line-height:1.3; margin:0 0 8px; }
.aff-mute { color:var(--muted); font-size:13.5px; }
.aff-center { text-align:center; margin-top:14px; }
.aff-eyebrow { font-size:12.5px; font-weight:900; letter-spacing:.14em; color:var(--brand-d); margin-bottom:8px; }
.aff-bl { color:var(--ink2); margin:0 0 24px; font-size:16px; max-width:760px; }
.aff-band { padding:64px 0; }
.aff-band.alt { background:#fbf8f1; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.aff-band.night { background:var(--night); color:var(--night-ink); }
.aff-band.night .aff-eyebrow { color:var(--amber); }
.aff-band.night .aff-bl { color:var(--night-muted); }
.aff-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border:0; border-radius:14px; background:linear-gradient(180deg,#f59e0b,#d97706); color:#fff !important; font-weight:900; font-size:16px; cursor:pointer; box-shadow:0 6px 18px rgba(217,119,6,.28); text-decoration:none; }
.aff-btn:hover { filter:brightness(1.05); }
.aff-btn.ghost { background:#fff; color:var(--brand-d) !important; border:1px solid #f1d7a8; box-shadow:none; }
.aff-btn.wide { width:100%; }
.aff-btn:disabled { opacity:.6; cursor:wait; }
.aff-beta { display:inline-block; font-size:11px; font-weight:900; letter-spacing:.04em; color:#fff; background:var(--brand); border-radius:999px; padding:1px 8px; vertical-align:1px; }

/* ① 히어로 */
.aff-hero { padding:56px 0 48px; }
.aff-hero-grid { display:grid; grid-template-columns:1fr 1.05fr; gap:44px; align-items:center; }
.aff-kicker { display:inline-block; color:var(--brand-d); background:var(--brand-soft); font-weight:800; font-size:12.5px; padding:3px 12px; border-radius:999px; }
.aff-hero h1 { font-family:var(--serif); font-size:46px; line-height:1.22; margin:16px 0 0; letter-spacing:-.02em; }
.aff-hero h1 em { font-style:normal; color:var(--brand); }
.aff-lead { color:var(--ink2); font-size:17px; margin:16px 0 22px; }
.aff-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 24px; max-width:520px; }
.aff-stat { background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px 14px 12px; }
.aff-stat b { display:block; font-size:32px; font-weight:900; letter-spacing:-.02em; line-height:1.1; }
.aff-stat b small { font-size:17px; }
.aff-stat span { font-size:12.5px; color:var(--muted); }
.aff-cta { display:flex; gap:10px; flex-wrap:wrap; }
.aff-beta-note { margin:18px 0 0; font-size:13.5px; color:var(--ink2); background:#fff; border:1px dashed #f1d7a8; border-radius:12px; padding:10px 14px; max-width:560px; }
.aff-hero-img { border-radius:20px; overflow:hidden; aspect-ratio:16/9; box-shadow:0 24px 60px rgba(0,0,0,.18); background:var(--night2); }
.aff-hero-img img { width:100%; height:100%; object-fit:cover; }
.aff-hero-img .aff-cv-frame { height:100%; border-radius:0; }
.aff-hero-play { display:block; position:relative; width:100%; height:100%; border:0; padding:0; background:none; cursor:pointer; }
.aff-hero-play:focus-visible { outline:3px solid var(--amber); outline-offset:-3px; }
.aff-hero-play .play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:72px; height:72px; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; display:grid; place-items:center; font-size:26px; padding-left:5px; transition:transform .15s, background .15s; }
.aff-hero-play:hover .play { transform:translate(-50%,-50%) scale(1.08); background:var(--amber); }
.aff-hero-play .lbl { position:absolute; left:14px; bottom:12px; background:rgba(0,0,0,.6); color:#fff; font-size:13px; font-weight:800; padding:4px 10px; border-radius:999px; }
.aff-hero-watch { display:block; margin-top:8px; font-weight:800; }

/* ② 철학 */
.aff-manifesto p { font-family:var(--serif); font-size:21px; line-height:1.75; margin:0 0 18px; color:var(--night-ink); max-width:820px; }
.aff-manifesto p.dim { color:var(--night-muted); font-size:17px; }
.aff-manifesto .strike { text-decoration:line-through; text-decoration-color:rgba(245,158,11,.7); text-decoration-thickness:2px; }
.aff-jinsim { font-family:var(--serif); font-size:88px; font-weight:900; color:var(--amber); line-height:1; margin:6px 0 12px; letter-spacing:.04em; }
.aff-motto { font-family:var(--serif); font-size:22px; color:#fff; }
.aff-motto small { display:block; font-family:inherit; font-size:13px; color:var(--night-muted); margin-top:6px; }
.aff-proof { margin-top:30px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.aff-proof div { border:1px solid var(--night-line); border-radius:14px; padding:14px 16px; font-size:13.5px; color:var(--night-muted); }
.aff-proof b { display:block; color:#fff; font-size:17px; margin-bottom:2px; }

/* ③ 역할 */
.aff-roles { display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:stretch; }
.aff-role { background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; }
.aff-role .tag { font-size:12px; font-weight:900; letter-spacing:.1em; color:var(--muted); }
.aff-role h3 { margin:6px 0 10px; font-size:21px; }
.aff-role ul { margin:0; padding-left:18px; color:var(--ink2); font-size:14.5px; list-style:disc; }
.aff-role.os { border-color:#e7d6b4; }
.aff-role.cr { background:linear-gradient(180deg,#fff,#fff6e4); border-color:#f1d7a8; }
.aff-amp { display:grid; place-items:center; font-family:var(--serif); font-size:30px; color:var(--brand); }
.aff-split-line { margin-top:20px; text-align:center; font-family:var(--serif); font-size:21px; }
.aff-split-line em { font-style:normal; color:var(--brand-d); font-weight:800; }

/* ④ 몫 · 계산기 · 등급 */
.aff-shares { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.aff-share { background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; }
.aff-share .k { font-size:13px; font-weight:800; color:var(--muted); }
.aff-share .v { font-size:44px; font-weight:900; letter-spacing:-.02em; line-height:1.15; }
.aff-share .v small { font-size:20px; }
.aff-share .v .arrow { color:var(--muted); font-weight:400; font-size:28px; margin:0 6px; }
.aff-share .v small.up { font-size:15px; font-weight:800; color:var(--amber, #d97706); margin-right:4px; vertical-align:.45em; }
.aff-share p { margin:6px 0 0; font-size:14px; color:var(--ink2); }
.aff-calc { display:grid; grid-template-columns:1.15fr 1fr; gap:16px; margin-top:16px; }
.aff-calc-in, .aff-calc-out { background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; }
.aff-prow { display:grid; grid-template-columns:1fr auto; gap:6px 14px; align-items:center; padding:12px 0; border-bottom:1px dashed var(--line); }
.aff-prow .pn b { font-size:15.5px; }
.aff-prow .pn > span { display:block; font-size:12.5px; color:var(--muted); }
.aff-prow .per { color:var(--brand-d); font-weight:800; }
.aff-step { display:flex; align-items:center; gap:6px; }
.aff-step button { width:34px; height:34px; border-radius:10px; border:1px solid var(--line); background:#faf7f0; font-size:18px; cursor:pointer; color:var(--ink); }
.aff-step output { min-width:44px; text-align:center; font-weight:900; font-size:18px; font-variant-numeric:tabular-nums; }
.aff-prow input[type=range] { grid-column:1 / -1; width:100%; accent-color:var(--brand); }
.aff-calc-out { background:linear-gradient(180deg,#fff,#fff8ea); display:flex; flex-direction:column; }
.aff-big { font-size:44px; font-weight:900; letter-spacing:-.03em; font-variant-numeric:tabular-nums; line-height:1.15; margin:4px 0; }
.aff-formula { margin-top:auto; padding-top:14px; font-size:13px; color:var(--ink2); border-top:1px dashed var(--line); }
/* 월 구독 고정 수익 (2026-11-28) — 결과 칸 아래쪽 빈자리 */
.aff-recur { margin-top:18px; padding:14px 16px; border-radius:14px; background:#fff; border:1px solid var(--line); }
.aff-recur-v { font-size:28px; font-weight:900; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.2; color:var(--brand-d); margin:2px 0 4px; }
.aff-recur p { margin:0; font-size:13px; line-height:1.55; }
.aff-warn { margin-top:10px; font-size:12.5px; color:var(--muted); }
.aff-tiers { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
.aff-tier { border-radius:18px; padding:20px; border:1px solid var(--line); background:#fff; }
.aff-tier .nm { font-weight:900; font-size:20px; letter-spacing:.02em; }
.aff-tier p { margin:6px 0 0; font-size:14px; color:var(--ink2); }
.aff-tier.vip { background:linear-gradient(180deg,#fff,#fff4dd); border-color:#f1d7a8; }
.aff-tier.vvip { background:var(--night); color:var(--night-ink); border-color:var(--night); }
.aff-tier.vvip p { color:var(--night-muted); }
.aff-tier.vvip .nm { color:var(--amber); }
.aff-tier .q { font-family:var(--serif); font-size:15px; color:#fff; margin-top:10px; }

/* ⑤ 약속 */
.aff-promise { display:grid; grid-template-columns:.95fr 1.05fr; gap:36px; align-items:center; }
.aff-promise .img { border-radius:18px; overflow:hidden; aspect-ratio:16/10; }
.aff-promise .img img { width:100%; height:100%; object-fit:cover; }
.aff-pl { list-style:none; margin:0; padding:0; counter-reset:p; }
.aff-pl li { position:relative; padding:14px 0 14px 54px; border-bottom:1px solid var(--line); }
.aff-pl li:last-child { border-bottom:0; }
.aff-pl li::before { counter-increment:p; content:counter(p); position:absolute; left:0; top:14px; width:38px; height:38px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-weight:900; font-family:var(--serif); font-size:18px; }
.aff-pl b { display:block; font-size:17px; }
.aff-pl span { font-size:14px; color:var(--ink2); }
.aff-stars { color:var(--amber); letter-spacing:2px; }
.aff-stars s { color:#d6d0c4; text-decoration:none; }

/* ⑥ 성과 비교 */
.aff-vs { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.aff-vsc { border-radius:18px; padding:22px; background:#fff; border:1px solid var(--line); }
.aff-vsc.win { border:2px solid var(--brand); background:linear-gradient(180deg,#fff,#fff6e4); }
.aff-vsc .lbl { font-size:12.5px; font-weight:900; color:var(--muted); letter-spacing:.06em; }
.aff-vsc.win .lbl { color:var(--brand-d); }
.aff-vsc .nums { display:flex; gap:22px; margin:8px 0; flex-wrap:wrap; }
.aff-vsc .nums span { display:block; font-size:12.5px; color:var(--muted); }
.aff-vsc .nums b { font-size:30px; font-variant-numeric:tabular-nums; }
.aff-rate { height:10px; border-radius:999px; background:#efe9dc; overflow:hidden; margin-top:6px; }
.aff-rate i { display:block; height:100%; background:linear-gradient(90deg,#fbbf24,#d97706); }
.aff-vsc p { margin:8px 0 0; font-size:13.5px; color:var(--ink2); }
.aff-quote { margin-top:22px; font-family:var(--serif); font-size:20px; text-align:center; }

/* ⑦ 혜택 */
.aff-benefits { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.aff-ben { background:var(--night2); border:1px solid var(--night-line); border-radius:16px; padding:18px; }
.aff-ben .no { font-family:var(--serif); color:var(--amber); font-size:22px; font-weight:900; }
.aff-ben b { display:block; color:#fff; font-size:15.5px; margin:6px 0 4px; }
.aff-ben p { margin:0; font-size:13px; color:var(--night-muted); }
.aff-soon { display:inline-block; margin-top:10px; font-size:11px; font-weight:800; color:var(--amber); border:1px solid rgba(245,158,11,.5); border-radius:999px; padding:0 8px; }

/* ⑧ 구독자 */
.aff-split { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; }
.aff-ticks { list-style:none; padding:0; margin:16px 0 10px; }
.aff-ticks li { padding:8px 0 8px 30px; position:relative; font-size:15px; }
.aff-ticks li::before { content:"✓"; position:absolute; left:0; top:9px; width:22px; height:22px; border-radius:50%; background:var(--ok-bg); color:var(--ok); display:grid; place-items:center; font-weight:900; font-size:12px; }
.aff-ticks li span { display:block; font-size:13px; color:var(--muted); }
.aff-pv { background:#fff; border:1px solid var(--line); border-radius:20px; padding:18px; box-shadow:0 20px 50px rgba(120,80,0,.10); }
.aff-collab { display:inline-flex; align-items:center; gap:10px; padding:6px 14px 6px 6px; border:1px solid var(--line); border-radius:999px; background:#fff; font-weight:800; font-size:14px; }
.aff-av { width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,#f9a8d4,#a78bfa 60%,#60a5fa); color:#fff; display:grid; place-items:center; font-weight:900; font-size:14px; flex:0 0 auto; }
.aff-av.c1 { background:linear-gradient(135deg,#86efac,#22d3ee); }
.aff-av.c2 { background:linear-gradient(135deg,#fcd34d,#fb923c); }
.aff-av.c3 { background:linear-gradient(135deg,#93c5fd,#6366f1); }
.aff-av.c4 { background:linear-gradient(135deg,#fb7299,#f9a8d4); }
.aff-collab .osb { width:34px; height:34px; border-radius:10px; background:var(--night); color:var(--amber); display:grid; place-items:center; font-weight:900; font-size:12px; }
.aff-collab .xx { color:#c4bba9; font-weight:400; }
.aff-plist { margin-top:12px; display:grid; gap:8px; }
.aff-plist .pi { display:flex; justify-content:space-between; align-items:center; border:1px solid var(--line); border-radius:12px; padding:10px 12px; font-size:14px; gap:10px; }
.aff-plist .was { color:#a1a1aa; text-decoration:line-through; font-size:12.5px; margin-right:6px; }
.aff-plist b { font-variant-numeric:tabular-nums; }
.aff-plist .off { background:var(--red-bg); color:var(--red); font-weight:900; font-size:12px; padding:1px 7px; border-radius:7px; margin-left:6px; }
.aff-lock { font-size:12.5px; color:var(--ok); margin:10px 0 0; }

/* ⑨ 시작 · 정산 */
.aff-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px; }
.aff-stp { background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px; }
.aff-stp .n { font-size:11.5px; font-weight:900; color:var(--brand-d); letter-spacing:.06em; }
.aff-stp b { display:block; font-size:16.5px; margin:4px 0; }
.aff-stp p { margin:0; font-size:13.5px; color:var(--ink2); }
.aff-url { display:inline-block; margin-top:8px; font-family:ui-monospace,Consolas,monospace; font-size:13px; background:#f6f3ec; border-radius:8px; padding:3px 9px; }
.aff-pay { list-style:none; margin:22px 0 0; padding:0; background:#fff; border:1px solid var(--line); border-radius:16px; }
.aff-pay li { display:grid; grid-template-columns:130px 1fr; gap:10px; padding:13px 18px; border-bottom:1px solid var(--line); font-size:14.5px; }
.aff-pay li:last-child { border-bottom:0; }
.aff-pay a { color:var(--brand-d); font-weight:700; white-space:nowrap; }
.aff-pay li > b { color:var(--ink2); }

/* ⑩ 협업 영상 */
.aff-cv-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:12px; }
.aff-cv-creator { grid-column:1 / -1; background:#fff; border:1px solid var(--line); border-radius:18px; padding:16px; }
.aff-cv-creator.one { grid-column:auto; }
.aff-cv-who { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.aff-cv-who b { display:block; font-size:15.5px; }
.aff-cv-who div span { font-size:12.5px; color:var(--muted); }
.aff-cv-n { margin-left:auto; font-size:12px; color:var(--muted); font-weight:700; }
.aff-cv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.aff-cv-creator.one .aff-cv-grid { grid-template-columns:1fr; }
.aff-cv-th { display:block; width:100%; aspect-ratio:16/9; border:0; padding:0; border-radius:12px; background:#1b1e26 center/cover no-repeat; position:relative; overflow:hidden; cursor:pointer; }
.aff-cv-th:focus-visible { outline:3px solid var(--amber); outline-offset:2px; }
.aff-cv-th .play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:48px; height:48px; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; display:grid; place-items:center; font-size:16px; padding-left:3px; }
.aff-cv-th.bili { background:linear-gradient(135deg,#fb7299,#ffb3c9); }
.aff-cv-th .bl-logo { position:absolute; left:12px; bottom:9px; color:#fff; font-weight:900; font-size:15px; }
.aff-cv-frame { position:relative; width:100%; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000; }
.aff-cv-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.aff-cv-tag { display:inline-block; margin-top:8px; font-size:11px; font-weight:800; padding:1px 8px; border-radius:999px; }
.aff-cv-tag.fast_ref { background:#fff1db; color:#b45309; }
.aff-cv-tag.biped_plus { background:#efe9ff; color:#6d28d9; }
.aff-cv-tag.sls { background:#dff6fb; color:#0e7490; }
.aff-cv-start { font-size:11px; color:var(--muted); margin-left:6px; }
.aff-cv-t { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:4px; font-size:13.5px; font-weight:700; line-height:1.45; text-decoration:none; }
.aff-cv-t:hover { text-decoration:underline; }

/* ⑪ FAQ */
.aff-faq { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
.aff-qa { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; font-size:14px; color:var(--ink2); }
.aff-qa b { display:block; margin-bottom:4px; color:var(--ink); font-size:15px; }
.aff-qa a { color:var(--brand-d); font-weight:700; }

/* ⑫ 신청서 */
.aff-form { display:grid; grid-template-columns:1fr 1fr; gap:16px 18px; background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px; }
.aff-form .f.full { grid-column:1 / -1; }
.aff-form label, .aff-form .lbl { display:block; font-size:13px; font-weight:800; margin-bottom:6px; }
.aff-form i { color:var(--red); font-style:normal; }
.aff-form input[type=text], .aff-form input[type=email], .aff-form input[type=url], .aff-form textarea {
  width:100%; border:1px solid #ddd5c5; border-radius:10px; background:#fdfcf9; padding:10px 12px; font:inherit; font-size:14.5px; color:var(--ink); }
.aff-form input:focus, .aff-form textarea:focus { outline:2px solid #f6c56b; border-color:var(--brand); }
.aff-form .hint { font-size:12px; color:var(--muted); margin-top:5px; }
.aff-form .cnt { font-weight:700; font-size:12px; color:var(--muted); margin-left:6px; }
.aff-chrow { display:flex; gap:8px; margin-bottom:8px; }
.aff-chrow input { flex:1; min-width:0; }
.aff-chrow .rm { width:44px; flex:0 0 auto; border:1px solid #ddd5c5; border-radius:10px; background:#fff; color:var(--muted); font-size:18px; cursor:pointer; }
.aff-chrow .rm:disabled { visibility:hidden; }
.aff-addbtn { border:1px dashed #e0b56a; background:var(--brand-soft); color:var(--brand-d); font-weight:800; font-size:14px; border-radius:10px; padding:8px 16px; cursor:pointer; }
.aff-addbtn:disabled { opacity:.45; cursor:not-allowed; }
.aff-prefix { display:flex; align-items:center; border:1px solid #ddd5c5; border-radius:10px; background:#fdfcf9; overflow:hidden; }
.aff-prefix span { padding:0 2px 0 12px; color:var(--muted); font-size:14px; white-space:nowrap; }
.aff-prefix input { border:0 !important; background:transparent !important; padding-left:2px !important; }
.aff-pills { display:flex; gap:8px; flex-wrap:wrap; }
.aff-pill { margin:0 !important; font-weight:400 !important; cursor:pointer; }
.aff-pill input { position:absolute; opacity:0; width:1px; height:1px; }
.aff-pill span { display:inline-block; border:1px solid #ddd5c5; border-radius:999px; padding:6px 14px; font-size:13.5px; background:#fdfcf9; }
.aff-pill input:checked + span { border-color:var(--brand); background:var(--brand-soft); color:var(--brand-d); font-weight:800; }
.aff-pill input:focus-visible + span { outline:2px solid #f6c56b; }
/* 동의 3개 (2026-11-28 개선): 제목 + 요약 한 줄, 「보기」로 펼침 */
.aff-cons { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; }
.aff-cons-head { padding:18px 20px 14px; background:linear-gradient(180deg,#fffaf0,#fff); border-bottom:1px solid var(--line); }
.aff-cons-head b { font-size:16px; }
.aff-cons-head p { margin:4px 0 0; font-size:13.5px; color:var(--ink2); }
.aff-cons-head .ok { color:var(--ok); font-weight:700; }
.aff-form .aff-chk { display:flex; align-items:flex-start; gap:12px; margin:0; font-size:14.5px; font-weight:400; cursor:pointer; }
.aff-chk input { position:absolute; opacity:0; width:1px; height:1px; }
.aff-chk .box { flex:none; width:24px; height:24px; border-radius:50%; border:2px solid #d4cbb8; background:#fff; margin-top:1px; display:grid; place-items:center; transition:.15s; }
.aff-chk .box::after { content:""; width:10px; height:6px; border:2.5px solid #fff; border-top:0; border-right:0; transform:rotate(-45deg) translate(1px,-1px); opacity:0; }
.aff-chk input:checked + .box { background:var(--brand); border-color:var(--brand); }
.aff-chk input:checked + .box::after { opacity:1; }
.aff-chk input:focus-visible + .box { outline:3px solid #f6c56b; outline-offset:2px; }
.aff-chk .t { font-weight:700; }
.aff-chk .s { display:block; font-size:12.5px; color:var(--muted); font-weight:400; margin-top:1px; }
.aff-chk .req { color:var(--brand-d); font-weight:800; margin-right:6px; font-size:12.5px; }
.aff-form .aff-cons-all { padding:14px 20px; border-bottom:1px solid var(--line); background:var(--bg); }
.aff-cons-all .t { font-weight:900; font-size:15.5px; }
.aff-cons-item { border-bottom:1px solid #f1ece2; }
.aff-cons-item .row { display:flex; align-items:flex-start; gap:8px; padding:13px 20px; }
.aff-cons-item .row .aff-chk { flex:1; }
.aff-cons .more { flex:none; border:0; background:none; color:var(--muted); font:inherit; font-size:12.5px; cursor:pointer; padding:3px 6px; border-radius:6px; }
.aff-cons .more:hover { color:var(--brand-d); background:var(--brand-soft); }
.aff-cons .more .arr { display:inline-block; transition:transform .15s; }
.aff-cons .more[aria-expanded="true"] .arr { transform:rotate(180deg); }
.aff-cons .detail { margin:0 20px 14px 56px; padding:12px 14px; background:#fbf8f1; border-radius:12px; font-size:13px; color:var(--ink2); }
.aff-cons .detail[hidden] { display:none; }
.aff-cons .points { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.aff-cons .points li { display:grid; grid-template-columns:22px 1fr; gap:6px; }
.aff-cons .points b, .aff-cons .cards b { color:var(--ink); }
.aff-cons .cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.aff-cons .cards > div { background:#fff; border:1px solid var(--line); border-radius:10px; padding:9px 11px; }
.aff-cons .cards b { display:block; font-size:13px; }
.aff-cons .kv { display:grid; grid-template-columns:76px 1fr; gap:4px 10px; margin:0; }
.aff-cons .kv dt { color:var(--muted); }
.aff-cons .kv dd { margin:0; }
.aff-cons .detail a, .aff-cons-foot a { color:var(--brand-d); font-weight:800; text-decoration:none; }
.aff-cons .detail .foot { margin-top:10px; }
.aff-cons-foot { padding:12px 20px; font-size:12.5px; color:var(--muted); background:var(--bg); }
.aff-form #aff-submit:disabled { background:#e7e1d4; color:#a1a1aa; box-shadow:none; cursor:not-allowed; }
.aff-cons-hint { text-align:center; font-size:12.5px; color:var(--muted); margin:8px 0 0; }
@media (max-width: 560px) {
  .aff-cons .detail { margin-left:20px; }
  .aff-cons .cards { grid-template-columns:minmax(0,1fr); }
}
.aff-message { margin:0 0 16px; padding:14px 16px; border-radius:12px; font-size:14.5px; }
.aff-message.ok { background:var(--ok-bg); color:var(--ok); }
.aff-message.err { background:var(--red-bg); color:var(--red); }

/* ⑬ 클로징 */
.aff-closing { position:relative; min-height:520px; display:grid; align-items:end; overflow:hidden; background:var(--night); }
.aff-closing > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; }
.aff-closing .ct { position:relative; padding:56px 0 48px; background:linear-gradient(180deg,rgba(17,19,24,0),rgba(17,19,24,.92) 45%); color:#fff; }
.aff-closing p { font-family:var(--serif); font-size:18px; color:#d9dae2; margin:0 0 10px; max-width:760px; line-height:1.8; }
.aff-closing h2 { font-family:var(--serif); font-size:50px; margin:14px 0 22px; }
.aff-closing h2 em { font-style:normal; color:var(--amber); }
.aff-foot { padding-top:22px; padding-bottom:30px; font-size:13px; color:var(--muted); }
.aff-foot a { color:var(--brand-d); font-weight:700; }

/* 폰: 아래 고정 신청 버튼 (신청서가 보이면 숨김 — affiliate.js) */
.aff-sticky { display:none; }

/* 그리드 칸이 그림 · 긴 글자의 원래 너비로 늘어나 화면 밖으로 나가지 않게 */
.aff-hero-grid > *, .aff-calc > *, .aff-split > *, .aff-promise > *, .aff-vs > *, .aff-shares > *,
.aff-form > *, .aff-faq > *, .aff-cv-list > *, .aff-roles > *, .aff-steps > *, .aff-tiers > *,
.aff-proof > *, .aff-benefits > *, .aff-cv-grid > *, .aff-stats > * { min-width:0; }

@media (max-width: 1000px) { .aff-benefits { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 860px) {
  .aff-hero-grid, .aff-calc, .aff-split, .aff-promise, .aff-vs, .aff-shares, .aff-form, .aff-faq, .aff-cv-list { grid-template-columns:minmax(0,1fr); }
  .aff-roles { grid-template-columns:minmax(0,1fr); }
  .aff-steps, .aff-tiers, .aff-proof, .aff-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .aff-cv-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .aff-hero h1 { font-size:34px; } .aff-jinsim { font-size:64px; } .aff-closing h2 { font-size:34px; }
  .aff h2 { font-size:24px; }
  .aff-band { padding:48px 0; }
}
@media (max-width: 560px) {
  .aff-wrap { padding:0 16px; }
  .aff-stats, .aff-steps, .aff-tiers, .aff-proof, .aff-benefits, .aff-cv-grid { grid-template-columns:minmax(0,1fr); }
  .aff-stat b { font-size:26px; }
  .aff-pay li { grid-template-columns:1fr; gap:2px; }
  .aff-sticky { display:block; position:fixed; left:12px; right:12px; bottom:12px; z-index:40; text-align:center; padding:14px; border-radius:14px; background:linear-gradient(180deg,#f59e0b,#d97706); color:#fff !important; font-weight:900; text-decoration:none; box-shadow:0 10px 30px rgba(0,0,0,.25); transition:opacity .2s; }
  .aff-sticky.off { opacity:0; pointer-events:none; }
  .aff-foot { padding-bottom:90px; }
}

/* 등급 (WEB-N-130): 계산기 등급 고르기 · 등급 칸 비율 표 */
.aff-tier-pick { display:flex; gap:6px; margin-bottom:12px; }
.aff-tier-pick button { border:1px solid var(--line); background:#fff; border-radius:999px; padding:5px 14px; font-weight:800; font-size:13px; cursor:pointer; color:var(--ink2); }
.aff-tier-pick button.on { background:var(--ink, #18181b); border-color:var(--ink, #18181b); color:#fff; }
.aff-tier-rates { list-style:none; padding:0; margin:10px 0 4px; display:grid; gap:4px; }
.aff-tier-rates li { display:flex; justify-content:space-between; gap:10px; font-size:13.5px; border-bottom:1px dashed var(--line); padding:3px 0; min-width:0; }
.aff-tier-rates li span { color:var(--ink2); }
.aff-tier-rates li b { white-space:nowrap; font-variant-numeric:tabular-nums; }
.aff-tier .aff-tier-qual { font-size:12.5px; margin-top:8px; }

/* 히어로 「최대」 (VIP 기준, WEB-N-130) */
.aff-stat b small.up { display:block; font-size:12px; font-weight:800; color:var(--amber, #d97706); letter-spacing:.02em; margin-bottom:-2px; }
.aff-stat-note { font-size:12.5px; color:var(--muted); margin:8px 0 16px; }
