/* ═══════════════════════════════════════════════════════════════════════════
   renewal.css — 웹 리뉴얼(앱 B안 · 단계형) 공통 조각.
   앱(Flutter AppTheme · lib/widgets/form_widgets.dart)과 같은 토큰: Pretendard, 보라 #6B4EFF, 회색 5단계,
   입력창 #F7F7F9 · 라운드 12, 버튼 50px · 라운드 14, 연보라 #F3F0FF, 완료 초록.
   리뉴얼한 페이지에만 링크한다(다른 페이지의 style.css 와 섞이지 않게 모두 rn- 접두어).
   ═══════════════════════════════════════════════════════════════════════════ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");

:root {
    --rn-p: #6B4EFF; --rn-pd: #4A32CC; --rn-bg: #FAFAFB; --rn-fill: #F7F7F9; --rn-tint: #F3F0FF;
    --rn-g900: #1A1826; --rn-txt: #1A1A2E; --rn-g600: #5A5670; --rn-g400: #8B87A0; --rn-g200: #DEDCE8; --rn-g100: #F1F0F6;
    --rn-border: #F1F1F5; --rn-warn: #EF4444; --rn-ok: #22C55E; --rn-info: #1565C0;
    --rn-done-bg: #E8F5E9; --rn-done-fg: #2E7D32;
    --rn-tab: 0px;                       /* 하단 탭바 높이 — 탭바가 있는 페이지는 body.has-tab */
}
body.main.rn-body {
    background: var(--rn-bg);
    color: var(--rn-txt);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.rn-body.has-tab { --rn-tab: 60px; }
/* 사이트 CSS 가 body 를 세로 flex + align-items:center 로 두어 자식이 글 너비로 줄어든다 — 리뉴얼 페이지는 가로로 꽉 채운다 */
body.main.rn-body { align-items: stretch; }
body.main.rn-body > * { width: 100%; flex-shrink: 0; }   /* body 가 100% 높이 flex 라 긴 페이지에서 자식(사진 머리 · 앱바)이 눌려 0 이 되는 것을 막는다 */
body.main.rn-body > .bd-fab, body.main.rn-body > .rn-toast, body.main.rn-body > .board-toast, body.main.rn-body > .board-modal-backdrop { width: auto; }
.rn-body [hidden] { display: none !important; }   /* 사이트 CSS 의 display 가 hidden 속성을 덮지 않게 */
.rn-body *, .rn-body *::before, .rn-body *::after { box-sizing: border-box; }
.rn-body button, .rn-body input, .rn-body select { font-family: inherit; }

/* ── 앱바 ── */
.rn-appbar { position: sticky; top: 0; z-index: 50; height: 52px; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid var(--rn-border); }
.rn-appbar h1 { margin: 0; font-size: 17px; font-weight: 700; color: var(--rn-txt); letter-spacing: -.2px; }
.rn-appbar .rn-back { position: absolute; left: 8px; top: 0; width: 44px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--rn-txt); font-size: 0; text-decoration: none; cursor: pointer; background: none; border: 0; }
.rn-appbar .rn-back::before { content: ''; display: block; width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; }   /* display 는 꼭 — 사이트 style.css 가 모든 ::before 를 display:none 으로 둔다 */
.rn-appbar .rn-back.close::before { content: '\2715'; width: auto; height: auto; border: 0; transform: none; margin: 0; font-size: 20px; line-height: 1; }
.rn-appbar .rn-right { position: absolute; right: 12px; top: 0; height: 52px; display: flex; align-items: center; gap: 6px; }

/* ── 단계 진행 ── */
.rn-steps { background: #fff; border-bottom: 1px solid var(--rn-border); padding: 14px 20px 12px; }
.rn-steps .bars { display: flex; gap: 6px; }
.rn-steps .bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--rn-g200); }
.rn-steps .bars i.on { background: var(--rn-p); }
.rn-steps .names { display: flex; margin-top: 6px; }
.rn-steps .names span { flex: 1; text-align: center; font-size: 11px; font-weight: 500; color: var(--rn-g400); }
.rn-steps .names span.on { font-weight: 700; color: var(--rn-p); }

/* ── 머리 ── */
.rn-head { padding: 24px 20px 4px; }
.rn-head .step { font-size: 12px; font-weight: 700; color: var(--rn-p); letter-spacing: .5px; }
.rn-head h2 { margin: 4px 0 0; font-size: 24px; font-weight: 800; color: var(--rn-g900); letter-spacing: -.4px; line-height: 1.25; }
.rn-head p { margin: 8px 0 0; font-size: 13px; color: var(--rn-g400); line-height: 1.4; }

/* ── 폼 ── */
.rn-page { padding-bottom: calc(130px + var(--rn-tab)); }   /* 아래 고정 버튼 자리 */
.rn-form { padding: 0 20px; }
.rn-field { margin-top: 16px; }
.rn-field.tight { margin-top: 8px; }
.rn-label { display: flex; align-items: baseline; gap: 2px; font-size: 13px; font-weight: 600; color: var(--rn-txt); }
.rn-label .req { color: var(--rn-warn); }
.rn-label .sub { font-size: 11px; font-weight: 400; color: var(--rn-g400); margin-left: 4px; }
.rn-input { display: block; width: 100%; height: 50px; margin-top: 6px; padding: 0 16px; border: 1px solid var(--rn-g200); border-radius: 12px; background: var(--rn-fill); font-size: 14px; color: var(--rn-g900); outline: none; -webkit-appearance: none; appearance: none; }
.rn-input:focus { border-color: var(--rn-p); background: #fff; }
.rn-input::placeholder { color: var(--rn-g400); }
.rn-input[readonly] { background: var(--rn-g100); color: var(--rn-g600); }
select.rn-input { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B87A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input[type="date"].rn-input { line-height: 48px; }
.rn-readonly { display: flex; align-items: center; height: 50px; margin-top: 6px; padding: 0 16px; border: 1px solid var(--rn-g200); border-radius: 12px; background: var(--rn-g100); font-size: 14px; color: var(--rn-txt); }
.rn-row { display: flex; gap: 8px; align-items: flex-start; }
.rn-row .rn-input, .rn-row .rn-pw { flex: 1; min-width: 0; }
.rn-side { flex: none; height: 36px; margin-top: 13px; padding: 0 14px; border: 1px solid var(--rn-p); border-radius: 10px; background: #fff; color: var(--rn-p); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.rn-side:disabled { border-color: var(--rn-g200); background: var(--rn-g100); color: var(--rn-g400); cursor: default; }
.rn-side.done, .rn-side.done:disabled { border-color: var(--rn-done-bg); background: var(--rn-done-bg); color: var(--rn-done-fg); }
.rn-pw { position: relative; }
.rn-pw .rn-input { padding-right: 56px; }
.rn-pw button { position: absolute; right: 8px; top: 6px; height: 50px; padding: 0 8px; border: 0; background: none; font-size: 12px; color: var(--rn-g400); cursor: pointer; }
.rn-timer { position: absolute; right: 14px; top: 6px; height: 50px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--rn-warn); }
.rn-help { margin-top: 6px; padding-left: 2px; font-size: 11px; color: var(--rn-g400); line-height: 1.4; }
.rn-help.ok { color: var(--rn-ok); }
.rn-help.err { color: var(--rn-warn); }
.rn-help.info { color: var(--rn-info); }
.rn-help:empty { display: none; }

/* 칩 (여러 개 · 하나) — <label class="rn-chip"><input type="checkbox|radio"> 글</label>, renewal.js 가 .on 을 맞춘다 */
.rn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding: 10px; border: 1px solid var(--rn-g200); border-radius: 10px; background: #fff; }
.rn-chips.bare { padding: 0; border: 0; background: none; }
.rn-chip { position: relative; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--rn-g200); border-radius: 20px; background: #fff; color: var(--rn-g600); font-size: 13px; line-height: 1.2; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.rn-chip input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; pointer-events: none; }
.rn-chip.on { border-color: var(--rn-p); background: var(--rn-tint); color: var(--rn-p); font-weight: 600; }

/* 성별 토글 */
.rn-seg { display: flex; gap: 4px; height: 44px; margin-top: 6px; padding: 4px; border-radius: 12px; background: var(--rn-g100); }
.rn-seg label { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--rn-g600); cursor: pointer; user-select: none; }
.rn-seg label.on { background: #fff; color: var(--rn-p); font-weight: 700; box-shadow: 0 1px 3px rgba(26, 26, 46, .08); }
.rn-seg input { display: none; }

/* 버튼 */
.rn-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--rn-p); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.rn-btn:disabled { opacity: .5; cursor: default; }
.rn-btn.ghost { background: var(--rn-g100); color: var(--rn-g600); }
.rn-btn.done, .rn-btn.done:disabled { background: var(--rn-done-fg); opacity: 1; }
.rn-btn.outline { background: #fff; color: var(--rn-p); border: 1px solid var(--rn-p); }
.rn-bottom { position: fixed; left: 50%; bottom: var(--rn-tab); transform: translateX(-50%); z-index: 40; width: 100%; max-width: 720px; padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--rn-border); }
.rn-bottom .rn-foot { margin-top: 10px; text-align: center; font-size: 12px; color: var(--rn-g400); }
.rn-bottom .rn-foot a { color: var(--rn-p); font-weight: 600; text-decoration: none; }
.rn-bottom .rn-foot a.plain { color: var(--rn-g400); font-weight: 400; }

/* 배너 · 안내 · 약관 · 카드 */
.rn-banner { margin: 12px 20px 0; padding: 10px 14px; border-radius: 12px; background: var(--rn-tint); font-size: 12px; color: var(--rn-pd); line-height: 1.4; }
.rn-banner b { font-weight: 800; }
.rn-card { margin-top: 20px; padding: 14px; border: 1px solid var(--rn-g200); border-radius: 12px; background: #fff; }
.rn-agree { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--rn-txt); cursor: pointer; }
.rn-agree + .rn-agree { margin-top: 10px; }
.rn-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--rn-p); flex: none; }
.rn-agree span { flex: 1; }
.rn-agree a { font-size: 11px; color: var(--rn-p); text-decoration: underline; }
.rn-note { margin-top: 10px; font-size: 11px; color: var(--rn-g400); line-height: 1.5; text-align: center; }
.rn-links { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; }
.rn-links a { color: var(--rn-g600); text-decoration: none; }
.rn-links i { width: 1px; height: 10px; background: var(--rn-g200); }
.rn-social { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--rn-g900); }
.rn-social img { width: 32px; height: 32px; display: block; }
.rn-social .em { font-size: 12px; font-weight: 400; color: var(--rn-g600); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-social.kakao { background: rgba(254, 229, 0, .15); border-color: #FEE500; }
.rn-social.naver { background: rgba(3, 199, 90, .15); border-color: #03C75A; }

/* ── 나의정보수정 · 묶음 목록 ── */
.rn-profile { display: flex; align-items: center; gap: 12px; padding: 16px 20px 6px; }
.rn-profile .av { width: 52px; height: 52px; border-radius: 50%; background: rgba(107, 78, 255, .08); padding: 8px; flex: none; }
.rn-profile .av img { width: 100%; height: 100%; display: block; }
.rn-profile .nm { font-size: 18px; font-weight: 800; color: var(--rn-g900); }
.rn-profile .id { font-size: 12px; color: var(--rn-g400); margin-top: 2px; }
.rn-groups { margin: 8px 16px 0; background: #fff; border: 1px solid var(--rn-border); border-radius: 14px; overflow: hidden; }
.rn-group + .rn-group { border-top: 1px solid var(--rn-g100); }
.rn-group .hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.rn-group .hd .tx { flex: 1; min-width: 0; }
.rn-group .hd .t { font-size: 14px; font-weight: 700; color: var(--rn-g900); }
.rn-group .hd .s { font-size: 12px; color: var(--rn-g600); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-group .hd .act { font-size: 12px; font-weight: 600; color: var(--rn-p); flex: none; }
.rn-group .hd .chev { width: 8px; height: 8px; border-right: 1.6px solid var(--rn-g400); border-bottom: 1.6px solid var(--rn-g400); transform: rotate(45deg); margin: 0 4px 4px 0; flex: none; transition: transform .15s; }
.rn-group.open .hd .chev { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.rn-group .bd { display: none; padding: 0 16px 16px; }
.rn-group.open .bd { display: block; }
.rn-group .bd .rn-field:first-child { margin-top: 0; padding-top: 14px; border-top: 1px dashed var(--rn-g100); }
.rn-actions { display: flex; gap: 8px; margin-top: 16px; }
.rn-actions .rn-btn { height: 44px; border-radius: 12px; font-size: 14px; }
.rn-actions .rn-btn.ghost { flex: 0 0 96px; }
.rn-linkbtn { display: block; width: 100%; margin: 28px 0 40px; padding: 0; border: 0; background: none; text-align: center; font-size: 12px; color: var(--rn-g400); text-decoration: underline; cursor: pointer; }
.rn-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 13px; color: var(--rn-txt); }
.rn-toggle-row + .rn-toggle-row { border-top: 1px solid var(--rn-g100); }
.rn-section-title { margin: 18px 20px 8px; font-size: 13px; font-weight: 700; color: var(--rn-g400); letter-spacing: .5px; }

/* ── 나의 메뉴 · 대시보드(앱 B안) ── */
.rn-chipbtn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 14px; background: var(--rn-g100); font-size: 12px; font-weight: 600; color: var(--rn-g600); text-decoration: none; }
.rn-chipbtn img { width: 16px; height: 16px; display: block; }
.rn-hello { display: flex; align-items: center; gap: 12px; padding: 16px 16px 6px; }
.rn-hello .av { width: 56px; height: 56px; border-radius: 50%; background: rgba(107, 78, 255, .08); padding: 9px; flex: none; }
.rn-hello .av img { width: 100%; height: 100%; display: block; }
.rn-hello .hi { font-size: 12px; color: var(--rn-g400); }
.rn-hello .nm { font-size: 20px; font-weight: 800; color: var(--rn-g900); letter-spacing: -.3px; }
.rn-balance { margin: 8px 16px 0; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--rn-border); display: flex; align-items: center; gap: 12px; }
.rn-balance .amt { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.rn-balance .amt img { width: 24px; height: 24px; flex: none; }
.rn-balance .amt .l { font-size: 11px; color: var(--rn-g400); }
.rn-balance .amt .v { font-size: clamp(15px, 5.2vw, 20px); font-weight: 800; color: var(--rn-g900); letter-spacing: -.3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 좁은 폰(360 이하)에서는 글자를 줄여 '832,440' 이 잘리지 않게(앱 FittedBox 와 같은 뜻) */
.rn-balance .div { width: 1px; height: 36px; background: var(--rn-g100); flex: none; }
.rn-balance .btns { display: flex; flex-direction: column; gap: 6px; flex: none; }
.rn-balance .btns a { display: block; width: 56px; padding: 7px 0; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 700; text-decoration: none; background: var(--rn-p); color: #fff; }
.rn-balance .btns a.ex { background: var(--rn-tint); color: var(--rn-pd); }
.rn-stats { margin: 10px 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rn-stat { padding: 12px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--rn-border); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.rn-stat img { width: 26px; height: 26px; display: block; }
.rn-stat .v { font-size: 16px; font-weight: 800; color: var(--rn-g900); line-height: 1; }
.rn-stat .l { font-size: 11px; color: var(--rn-g400); line-height: 1; }
.rn-quick { display: flex; gap: 6px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
.rn-quick::-webkit-scrollbar { display: none; }
.rn-quick a { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 16px; background: #fff; border: 1px solid var(--rn-g200); font-size: 12px; font-weight: 600; color: var(--rn-txt); text-decoration: none; }
.rn-quick a img { width: 16px; height: 16px; display: block; }
.rn-badge { display: inline-block; padding: 2px 7px; border-radius: 10px; background: var(--rn-warn); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.2; }
.rn-referral { margin: 12px 16px 0; padding: 10px 14px; border-radius: 12px; background: var(--rn-tint); display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rn-pd); line-height: 1.3; cursor: pointer; }
.rn-referral svg { flex: none; }
.rn-referral span { flex: 1; }
.rn-referral .t { display: block; font-size: 12px; }               /* 한 문장 안에 코드를 넣으면 좁은 폰에서 어색하게 꺾여 두 줄로 나눴다(앱과 같게) */
.rn-referral .code { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-referral .cp { flex: none; padding: 6px 10px; border-radius: 8px; background: #fff; font-weight: 700; }
.rn-menu { margin: 0 16px; background: #fff; border-radius: 14px; border: 1px solid var(--rn-border); overflow: hidden; }
.rn-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 13px; font-weight: 500; color: var(--rn-txt); text-decoration: none; border-bottom: 1px solid var(--rn-g100); }
.rn-menu a:last-child { border-bottom: 0; }
.rn-menu a img { width: 26px; height: 26px; display: block; }
.rn-menu a span { flex: 1; }
.rn-menu a i { width: 7px; height: 7px; border-right: 1.6px solid var(--rn-g400); border-bottom: 1.6px solid var(--rn-g400); transform: rotate(-45deg); margin-right: 3px; }
.rn-logout { display: block; width: calc(100% - 32px); margin: 16px 16px 0; padding: 14px; border: 1px solid var(--rn-g200); border-radius: 12px; background: none; text-align: center; font-size: 13px; font-weight: 600; color: var(--rn-g400); text-decoration: none; cursor: pointer; }
.rn-toast { position: fixed; left: 50%; bottom: calc(80px + var(--rn-tab)); transform: translateX(-50%); z-index: 60; padding: 10px 16px; border-radius: 20px; background: rgba(26, 26, 46, .92); color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.rn-toast.on { opacity: 1; }
.rn-coupon { margin: 12px 16px 0; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rn-border); }
.rn-coupon .t { font-size: 13px; font-weight: 700; color: var(--rn-g900); }
.rn-coupon .s { font-size: 11px; color: var(--rn-g400); margin-top: 2px; }
.rn-coupon .rn-row { margin-top: 8px; }
.rn-coupon .rn-input { height: 44px; margin-top: 0; }
.rn-coupon .rn-side { margin-top: 4px; }

/* ── 상담사 카드 (앱 A안 · counselor_card.dart) ── */
.cs-list { padding: 0 16px; }
.cs-card { position: relative; margin-top: 12px; padding: 12px; background: #fff; border: 1px solid var(--rn-border); border-radius: 16px; }
.cs-card .cs-main { display: flex; gap: 12px; text-decoration: none; color: inherit; }
.cs-photo { position: relative; width: 80px; height: 96px; border-radius: 12px; overflow: hidden; flex: none; background: var(--rn-g100); }
.cs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-photo .dot { position: absolute; right: 6px; bottom: 6px; width: 10px; height: 10px; border-radius: 5px; border: 2px solid #fff; background: var(--rn-g200); }
.cs-photo .dot.online { background: #22C55E; } .cs-photo .dot.busy { background: #3B82F6; } .cs-photo .dot.offline { background: #D1D5DB; }
.cs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-right: 66px; }
.cs-line1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cs-name { font-size: 15px; font-weight: 700; color: var(--rn-g900); }
.cs-code { display: inline-block; padding: 2px 7px; border-radius: 8px; background: var(--rn-tint); color: var(--rn-p); font-size: 12px; font-weight: 800; line-height: 1.3; }
.cs-cat { padding: 2px 7px; border-radius: 8px; font-size: 10px; font-weight: 700; line-height: 1.3; }
.cs-cat.tarot { background: rgba(139, 92, 246, .1); color: #8B5CF6; } .cs-cat.saju { background: rgba(59, 130, 246, .1); color: #3B82F6; } .cs-cat.sinjeom { background: rgba(236, 72, 153, .1); color: #EC4899; }
.cs-flag { padding: 2px 6px; border-radius: 6px; background: #FFF8E1; color: #B45309; font-size: 10px; font-weight: 800; line-height: 1.3; }
.cs-intro { font-size: 13px; color: var(--rn-g600); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.cs-payback { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: linear-gradient(90deg, #FF6F00, #FFA000); color: #fff; font-size: 11px; font-weight: 700; }
.cs-line3 { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.cs-price { font-size: 14px; font-weight: 800; color: var(--rn-g900); }
.cs-price em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--rn-g400); margin-left: 2px; }
.cs-orig { font-size: 11px; color: var(--rn-g400); text-decoration: line-through; }
.cs-review { font-size: 12px; color: var(--rn-g600); }
.cs-review b { font-weight: 700; color: var(--rn-g900); }
.cs-status { position: absolute; top: 12px; right: 12px; padding: 5px 9px; border: 0; border-radius: 12px; font-size: 11px; font-weight: 700; color: #fff; cursor: pointer; }
.cs-status.online { background: #22C55E; } .cs-status.busy { background: #3B82F6; } .cs-status.offline { background: #E5E7EB; color: #6B7280; }
.cs-heart { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 0; cursor: pointer; }
.cs-heart::before { content: ''; display: block; width: 22px; height: 22px; margin: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B87A0' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.6 4.5 7 4.5c2 0 3.5 1 5 3 1.5-2 3-3 5-3 3.4 0 5.6 3.5 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.cs-heart.on::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EF4444' stroke='%23EF4444' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.6 4.5 7 4.5c2 0 3.5 1 5 3 1.5-2 3-3 5-3 3.4 0 5.6 3.5 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E"); }
.cs-tags { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.cs-tags::-webkit-scrollbar { display: none; }
.cs-tags span { flex: none; padding: 4px 9px; border-radius: 12px; background: var(--rn-tint); color: var(--rn-pd); font-size: 11px; font-weight: 600; white-space: nowrap; }
.cs-more { margin: 16px 16px 0; }
.cs-more a { display: block; height: 44px; line-height: 44px; border: 1px solid var(--rn-g200); border-radius: 12px; background: #fff; text-align: center; color: var(--rn-g600); font-size: 13px; font-weight: 600; text-decoration: none; }

/* ── 상담사 상세 (앱 A안 · counselor_detail_screen.dart) ── */
.cs-hero { position: relative; height: 300px; overflow: hidden; background: var(--rn-g100); }
.cs-hero img.bg, .cs-hero img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(26, 26, 46, .85) 100%); }
.cs-hero .kw { position: absolute; top: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 62%; }
.cs-hero .kw span { padding: 4px 9px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--rn-p); font-size: 11px; font-weight: 700; }
.cs-hero .cs-heart { top: 8px; left: 8px; right: auto; bottom: auto; background: rgba(255, 255, 255, .85); border-radius: 18px; }
.cs-hero .info { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.cs-hero .pills { display: flex; gap: 6px; }
.cs-hero .pill { padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .22); color: #fff; }
.cs-hero .pill.online { background: #22C55E; } .cs-hero .pill.busy { background: #3B82F6; } .cs-hero .pill.offline { background: rgba(255, 255, 255, .35); }
.cs-hero .nm { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.cs-hero .nm .cs-code { background: rgba(255, 255, 255, .92); }
.cs-hero .tl { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.cs-stats { display: flex; margin: 12px 16px 0; background: #fff; border: 1px solid var(--rn-border); border-radius: 14px; overflow: hidden; }
.cs-stats > * { flex: 1; padding: 12px 6px; text-align: center; text-decoration: none; color: inherit; cursor: pointer; }
.cs-stats > * + * { border-left: 1px solid var(--rn-g100); }
.cs-stats .v { font-size: 16px; font-weight: 800; color: var(--rn-g900); }
.cs-stats .v em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--rn-g400); }
.cs-stats .l { font-size: 11px; color: var(--rn-g400); margin-top: 2px; }
.cs-tabs { position: sticky; top: 52px; z-index: 40; display: flex; margin-top: 12px; background: #fff; border-top: 1px solid var(--rn-border); border-bottom: 1px solid var(--rn-border); }
.cs-tabs .link { flex: 1; padding: 13px 0; border-bottom: 2px solid transparent; text-align: center; font-size: 14px; font-weight: 600; color: var(--rn-g400); cursor: pointer; user-select: none; }
.cs-tabs .link.active { color: var(--rn-p); font-weight: 800; border-bottom-color: var(--rn-p); }
.cs-tabs .link em { font-style: normal; color: var(--rn-p); }
.cs-pane { padding-bottom: calc(110px + var(--rn-tab)); }
.cs-sec { margin: 12px 16px 0; padding: 14px; background: #fff; border: 1px solid var(--rn-border); border-radius: 14px; }
.cs-sec .t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--rn-g900); }
.cs-sec .t .d { font-size: 11px; font-weight: 500; color: var(--rn-g400); }
.cs-sec .t .sp { flex: 1; }
.cs-sec .t a { font-size: 12px; font-weight: 700; color: var(--rn-p); text-decoration: none; }
.cs-sec .b { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--rn-txt); word-break: break-word; }
.cs-sec .b img { max-width: 100%; height: auto; }
.cs-sec .b ul { padding-left: 18px; margin: 0; }
.cs-sec .b.muted { color: var(--rn-g400); }
.cs-sec .fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cs-sec .fields span { padding: 5px 10px; border-radius: 14px; border: 1px solid var(--rn-g200); font-size: 12px; color: var(--rn-g600); }
.cs-bottom { position: fixed; left: 50%; bottom: var(--rn-tab); transform: translateX(-50%); z-index: 45; width: 100%; max-width: 720px; display: flex; gap: 8px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--rn-border); }
.cs-bottom .sq { flex: none; width: 48px; height: 50px; border: 1px solid var(--rn-g200); border-radius: 12px; background: #fff; color: var(--rn-g600); font-size: 11px; font-weight: 700; cursor: pointer; }
.cs-bottom .go { flex: 1; height: 50px; border: 0; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.cs-bottom .go.online { background: var(--rn-p); } .cs-bottom .go.busy { background: #3B82F6; } .cs-bottom .go.offline { background: #9CA3AF; }

/* ── 쿠폰함 (앱 A안 소프트 카드 · myMenu/sub/couponView.html) ── */
.cp-page { padding: 12px 16px calc(24px + var(--rn-tab)); display: flex; flex-direction: column; gap: 16px; }
.cp-sec { display: flex; flex-direction: column; gap: 10px; }
.cp-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--rn-g900); letter-spacing: -.2px; }
.cp-title svg { color: var(--rn-p); flex: none; }
.cp-sub { font-size: 12px; color: var(--rn-g400); line-height: 1.4; margin-top: -6px; }
.cp-cards { display: flex; flex-direction: column; gap: 8px; }
.cp-disc { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #D6C9FF; }
.cp-disc.off { background: var(--rn-g100); border-color: var(--rn-g100); }
.cp-disc .b { flex: 1; min-width: 0; }
.cp-disc .d { font-size: 17px; font-weight: 800; color: var(--rn-p); letter-spacing: -.3px; }
.cp-disc .n { font-size: 13px; color: var(--rn-g900); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-disc .m { font-size: 11px; color: var(--rn-g400); margin-top: 4px; }
.cp-disc.off .d, .cp-disc.off .n { color: var(--rn-g400); }
.cp-pill { flex: none; padding: 4px 9px; border-radius: 8px; background: var(--rn-g100); color: var(--rn-g400); font-size: 11px; font-weight: 700; white-space: nowrap; }
.cp-pill.ok { background: var(--rn-done-bg); color: var(--rn-done-fg); }
.cp-page .rn-coupon { margin: 0; padding: 16px; }
.cp-code .t { font-size: 15px; }
.cp-code .rn-row { margin-top: 12px; align-items: center; }
.cp-code .rn-input { height: 48px; margin-top: 0; }
.cp-code .rn-side { height: 48px; margin-top: 0; padding: 0 18px; border-radius: 12px; border-color: var(--rn-p); background: var(--rn-p); color: #fff; }
.cp-list { background: #fff; border-radius: 14px; border: 1px solid var(--rn-border); overflow: hidden; }
.cp-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--rn-g100); }
.cp-row:last-child { border-bottom: 0; }
.cp-row img { width: 24px; height: 24px; flex: none; }
.cp-row .b { flex: 1; min-width: 0; }
.cp-row .p { font-size: 15px; font-weight: 800; color: var(--rn-g900); }
.cp-row .r { font-size: 12px; color: var(--rn-g600); margin-top: 2px; }
.cp-row .m { font-size: 11px; color: var(--rn-g400); margin-top: 2px; }
.cp-row.dim .p, .cp-row.dim .r { color: var(--rn-g400); }
.cp-get { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--rn-p); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.cp-get:disabled { opacity: .5; cursor: default; }
.cp-empty { padding: 40px 24px; text-align: center; }
.cp-empty img { width: 64px; height: 64px; opacity: .85; }
.cp-empty .t { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--rn-g600); }
.cp-empty .d { margin-top: 6px; font-size: 13px; color: var(--rn-g400); }
.cp-more { display: flex; justify-content: center; }
.cp-more button { height: 40px; padding: 0 40px; border-radius: 10px; border: 1px solid var(--rn-g200); background: #fff; font-size: 13px; color: var(--rn-g600); cursor: pointer; }
