/*
 * wishes.css — WISHES 사용자 앱 공용 기반 (신규)
 * 출처: doc/specs/DESIGN-SYSTEM.md §4(user) + §4.8(변수/파일계획),
 *       doc/specs/VISUAL-user.md 공통 섹션(GNB·탭바·버튼·칩·카드·시트·에러배너·스켈레톤·빈상태)
 * 사용자 앱 토큰은 이 파일 한 곳이다 (옛 식당 주문 데모 스타일시트는 P1-D10 에서 제거).
 * 뷰포트: 모바일 375×812 고정(§4.3 — 반응형 브레이크포인트 개념 자체가 스펙에 없음).
 */

/* ── Pretendard 6웨이트 자체 호스팅 (admin과 동일 파일 재사용) ─────────────── */
@font-face { font-family:'Pretendard'; font-weight:400; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:500; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:600; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-SemiBold.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:700; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-Bold.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:800; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-ExtraBold.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:900; font-style:normal; font-display:swap; src:url('/static/app/fonts/pretendard/Pretendard-Black.woff2') format('woff2'); }

/* ── 토큰 (DESIGN-SYSTEM.md §4.1/§4.8) ──────────────────────────────────── */
:root {
  /* v12 컬러 시스템(2026-10-07) — 진보라 → 뉴트럴 회보라. 정본 = 사용자 정의서 v12 토큰표
     (VISUAL-user.md 상단 v12 토큰표, text.md:46-56). 본문 서술과 어긋나는 곳은 토큰표를 따른다(OQ-264) */
  --wish-bg-base: #1C1A2D;
  --wish-bg-base-rgb: 28,26,45;    /* bg-base 의 반투명 변형(페이드 · 딤 칩)용 채널 — rgba(var(--wish-bg-base-rgb), a) */
  --wish-surface: #2E2B42;
  --wish-surface-rgb: 46,43,66;
  --wish-primary: #7B0FC9;
  --wish-input-surface: #222032;   /* CHAT-002 플로팅 입력 카드 · 명령어 팝오버 전용 */
  --wish-input-placeholder: #7C7899; /* CHAT-002 입력 카드 placeholder (v12 목업) */
  --wish-bubble-char: rgba(255,255,255,.1);      /* CHAT-002·CHAT-005 캐릭터 말풍선 — 반투명 뉴트럴 그레이 */
  --wish-bubble-char-line: rgba(255,255,255,.06); /* 캐릭터 말풍선 6% 헤어라인 */
  --wish-field-surface: #262436;   /* MAKE-001~003, MY-002·003·012 입력 필드 전용 */
  /* 유저 말풍선 — CTA 와 같은 색의 그라데이션(135° · 90%). CTA 토큰과 일부러 분리해 둔다(한쪽만 바뀔 수 있다).
     ★그라데이션 값이라 linear-gradient(...) 의 색 인자로 쓸 수 없다 — background 단축 속성에만 쓴다 */
  --wish-bubble-user: linear-gradient(135deg, rgba(143,26,198,.9), rgba(230,77,183,.9));
  --wish-deep-green: #005B41;      /* CHAT-003 DISLIKE 칩 전용 */
  --wish-locked-fill: #141225;     /* CHAT-003·004 미도달/미수집 일러스트 단색 자리 (locked-surface) */
  --wish-viewer-bg: #16151E;       /* CHAT-004 일러스트 확대 뷰어 배경 */
  /* CHAT-005 STEP2 배경 프리셋 전용 — VISUAL-user.md CHAT-005 토큰참조절이 markup
     grep으로 찾은 후보 그라디언트 2종(정식 확정 팔레트 아님, 이 프리셋 용도로만 채택).
     --2 는 v12 목업이 첫 색을 옛 surface → 새 surface(#2E2B42)로 같이 옮겼다(logic.js presetBg) — surface 토큰을 따른다 */
  --wish-gradient-preset-2: linear-gradient(140deg, var(--wish-surface), var(--wish-primary));
  --wish-gradient-preset-3: linear-gradient(160deg, #5A08B8, #C433C9);
  --wish-bubble-text-char: #ECEAF6;
  --wish-bubble-text-user: #FFFFFF; /* v12: 그라데이션 유저 말풍선 위 텍스트는 순백 (v11 #F2EFF9) */
  --wish-accent: #F857B4;
  --wish-line: rgba(255,255,255,.08);

  /* 텍스트 (흰색 계열만 — primary/accent 를 본문 색으로 쓰지 않는다, §4.1) */
  --wish-text-100: #FFFFFF;
  --wish-text-80: rgba(255,255,255,.80);
  --wish-text-64: rgba(255,255,255,.64);
  --wish-text-55: rgba(255,255,255,.55);
  --wish-text-50: rgba(255,255,255,.50);
  --wish-text-48: rgba(255,255,255,.48);
  --wish-text-45: rgba(255,255,255,.45);
  --wish-text-40: rgba(255,255,255,.40);

  /* 흰색 채움 버튼 위 잉크색 — 다크 테마의 유일한 "밝은 배경 위 텍스트" 예외
     (AUTH-001 .is-primary 버튼, notes/spec-extract/user/source/markup.html L191) */
  --wish-ink: #141225;

  /* 제3자 브랜드 색 — 디자인 시스템 토큰이 아니라 해당 플랫폼 브랜드 가이드가 고정한 값
     (AUTH-001, notes/spec-extract/user/source/markup.html L192,206,213,221) */
  --wish-brand-google: #4285F4;

  /* MAKE 위저드 전용 — 라벤더 하이라이트(필수 라벨·좋은예 체크·체크리스트 완료 아이콘).
     primary/accent 둘 다 아닌 별도 파생값으로 markup에 반복 관찰됨
     (notes/spec-extract/user/source/markup.html L2997,3211,3238,3089 등) */
  --wish-highlight: #C9A4F5;       /* v12: CHAT-002 지문(나레이션) · 기억 배너 본문도 이 값 */
  --wish-highlight-strong: #D9BBFA; /* CHAT-002 기억 배너 「기억함」 700 (v12 목업) */
  --wish-memory-moon: #F7C548;     /* CHAT-002 기억 배너 달 아이콘 (v12 목업) */
  --wish-shadow-cta-publish: 0 8px 24px rgba(123,15,201,.4); /* MAKE-003/004 발행 CTA 그림자 관찰값(.35~.45) 평균 */

  /* HOME/CHAR-001 전용 — 고정 바 그림자(탭바·선택바·필터시트 공용) + 랭킹 1위 글로우 */
  --wish-shadow-fixed-bar: 0 10px 28px rgba(0,0,0,.5);
  --wish-shadow-glow-accent: 0 10px 26px rgba(248,87,180,.28);
  --wish-shadow-crown: 0 4px 12px rgba(248,87,180,.5);

  --wish-radius-card: 16px;
  --wish-radius-pill: 999px;
  --wish-pad-x: 20px;
  --wish-grid: 8px;
  --wish-font: 'Pretendard', -apple-system, sans-serif;
  --wish-list-row-h: 56px;      /* §4.3 사실상의 표준값(전역 확정 아님) */
  --wish-touch-min: 44px;       /* §4.3 터치 타깃 최소 */

  /* box-shadow 최빈값 (§4.5) */
  --wish-shadow-glow-primary: 0 2px 6px rgba(123,15,201,.5);
  --wish-shadow-sheet: 0 10px 30px rgba(13,27,72,.18);
  --wish-shadow-card: 0 4px 20px rgba(13,27,72,.05);
  --wish-shadow-focus: 0 0 0 4px rgba(123,15,201,.3);

  /* 그라디언트 — v12 에서 primary→accent(#7B0FC9→#F857B4) 2색 그라데이션이 CTA · 게이지 · 아바타 자리표시
     전부 #8F1AC6→#E64DB7 로 바뀌었다(v12 원본 소스에 옛 2색 조합 잔존 0). 값은 같지만 토큰은 둘로 나눈다:
     --wish-gradient-cta = 주요 버튼(CTA) 전용, --wish-gradient-primary-accent = 아바타 · 썸네일 자리표시 ·
     게이지 · 배너 등 장식용(이름은 호환을 위해 유지). 순위 1~3 링(.wish-rank-top3)은 v12 에서도 원값이라 별도 */
  --wish-cta-from: #8F1AC6;
  --wish-cta-to: #E64DB7;
  --wish-gradient-cta: linear-gradient(135deg, var(--wish-cta-from), var(--wish-cta-to));
  --wish-gradient-primary-accent: linear-gradient(135deg, var(--wish-cta-from), var(--wish-cta-to));
  /* CHAT-002 전송 버튼 — v12 목업 값(#911CC5→#E14AB8)이 CTA 와 미세하게 다르다(OQ-264). 토큰표 우선 원칙에 따라
     CTA 값을 쓰되, 정의서가 다르게 확정되면 이 토큰만 바꾼다 */
  --wish-gradient-send: var(--wish-gradient-cta);

  /* 시스템 바 안전 영역 — 안드로이드 앱(targetSdk 36, edge-to-edge 강제)은 WebView 위에 :root 변수
     --wishes-inset-top/-bottom(px)을 주입한다. 앱 변수를 먼저, env() 를 두 번째로 쓴다(WebView 버전별
     env(safe-area-inset-*) 지원이 달라서). 브라우저·데스크톱 프레임에서는 둘 다 없어 0px → 레이아웃 변화 없음 */
  --wish-safe-top: var(--wishes-inset-top, env(safe-area-inset-top, 0px));
  --wish-safe-bottom: var(--wishes-inset-bottom, env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }
/* hidden 속성은 브라우저 기본 스타일(display:none)로만 걸려 있어서, 우리 규칙이 그 요소에
   display:flex 를 주면 조용히 덮인다 — AUTH-001 의 실패 배너(.wish-auth-banner)가 그 상태였다
   (비어 있어 눈에 안 띄었을 뿐 자리는 차지했다). 화면 JS 는 el.hidden 으로 여닫으므로
   (ws-components.js showBanner/hideBanner) 전역에서 한 번 못 박는다. */
[hidden] { display: none !important; }

html.wish, body.wish {
  margin: 0;
  background: var(--wish-bg-base);
  color: var(--wish-text-100);
  font-family: var(--wish-font);
  word-break: keep-all;
}
/* 상단 안전 영역 — 모든 사용자 화면은 body.wish > main 구조라 body 한 곳에서 상태바 높이만큼 밀어 내린다.
   sticky 헤더(top:0 → var(--wish-safe-top))와 아래 ::before 스크림이 짝. 변수 0 이면 전부 무영향 */
body.wish { padding-top: var(--wish-safe-top); }
/* 스크롤된 내용이 투명 상태바 글자 뒤로 비치지 않게 상태바 높이만큼 배경색 띠(높이 0 이면 안 보임).
   z-index 30: 탭바(20)·sticky 헤더 위, 드로어(35)·시트·다이얼로그·뷰어 아래(그쪽은 각자 상단 패딩으로 처리) */
body.wish::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0;
  height: var(--wish-safe-top); background: var(--wish-bg-base);
  z-index: 30; pointer-events: none;
}
/* 하단 안전 영역 — 위 두 규칙의 짝(10-22 안드로이드 하단 바 민원). 고정 바(탭바 · CTA · 컴포저 · 시트)는 각자 하단 인셋을
   더하지만, 고정 바 없이 끝나는 화면(알림 · 컬렉션 · 알림 설정 · 태그 결과 등)은 마지막 줄이 내비 바 밑에 깔려 끝까지 굴려도 안 올라왔다.
   ① 화면 끝에 인셋만큼 빈 칸 — 끝 여백을 이미 인셋 포함으로 잡는 화면(탭바 화면 · 아래 :has 목록 = 본문 흐름 안에서
      --wish-safe-bottom 을 더하는 규칙 전부)은 두 번 더해지지 않게 뺀다. 새 화면이 끝 여백에 인셋을 직접 더하면 여기에도 올릴 것.
      :has 미지원 WebView 는 규칙 전체를 버린다 → 종전과 같다
   ② 내비 바 뒤로 내용이 비치지 않게 배경색 띠 — z-index 14: 컴포저(15)·탭바(20)·고정 바(25) 아래, 본문 위. 변수 0 이면 안 보임 */
body.wish > main:not(.wish-tabbar-page):not(:has(.wish-tabbar, .wish-bottom-spacer, .wish-pay-bar-spacer, .wish-msg-list, .wish-wizard, .wish-ob,
    .wish-done-screen, .wish-selectmode, .wish-my-all-spacer, .wish-cs-body, .wish-cs-all-body, .wish-cmnt-all, .wish-faq-bar))::after {
  content: ''; display: block; height: var(--wish-safe-bottom);
}
body.wish::after {
  content: ''; position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--wish-safe-bottom); background: var(--wish-bg-base);
  z-index: 14; pointer-events: none;
}
.wish a { color: inherit; text-decoration: none; }

/* ── 앱 체감 — 「웹 같은」 동작 제거 (10-26 사용자 결정 · CSS 로 걷어낼 수 있는 묶음만. 화면 전환 · <select> · type=date 교체는 범위 밖) ──
   ① 탭 하이라이트 · 포커스 테두리 — 누르는 순간 회색 사각형(안드로이드) · 반투명 덮개(iOS)가 뜨던 것. 포커스 링은 키보드(:focus-visible)에만 남긴다 —
      :where() 라 특이성 0: 화면이 직접 준 outline(.wish-field--reject-focus · :focus-visible 규칙들)은 그대로 이긴다. 입력창의 outline:none 은 디자인(테두리 없는 필드) 그대로.
   ② 글자 선택 · 이미지 콜아웃 — 길게 누르면 글자가 파랗게 잡히고 이미지에 미리보기 시트가 뜨던 것. 입력 요소는 선택 가능(캐럿 · 복사).
      복사 기능(초대 코드 · 공유 링크)은 숨은 textarea + execCommand 라 영향 없음(ws-components.js legacyCopy · page-free.js selectCode 는 그 실패 폴백).
      ★CHAT-005 발췌 선택(page-chat.js caretAt)은 caretPositionFromPoint 로 조각 위치를 잡는다 — Chromium 은 user-select:none 글자에서도 맞는 노드 · 오프셋을 준다
      (10-26 실측). WebKit 은 VisiblePosition 정규화가 user-select:none 글자를 후보에서 빼 어긋날 수 있어 iOS(-webkit-touch-callout 지원 = WebKit)에서만 조각을
      엔진 선택 가능으로 둔다 — iOS 말풍선 롱프레스는 종전처럼 글자가 같이 잡힌다(선택 기능 > 미관). 선택 모드 안의 기본 선택은 JS 가 막는다(selectstart · pointerdown).
   ③ 스크롤 물리 — 끝 튕김 · 당겨서 새로고침(안드로이드) 차단(iOS 바운스는 앱 scrollView.bounces=false 몫). 터치 기기만 스크롤바 숨김(데스크톱 375 프레임 thin 은 그대로).
      누르는 요소는 더블탭 확대 제거(touch-action: manipulation) — :where() 라 CHAT-005 핸들(none) · 이동 카드(none) · 보상 토스트(pan-y)의 기존 값이 이긴다.
   ④ iOS 입력 확대 — 16px 미만 글꼴 입력창에 포커스하면 화면이 확대되던 것. 터치 기기에서만 16px 를 최소값으로 — !important 는 .wish-kw-field .wish-input 같은
      조합 선택자(0,2,0)를 미디어 쿼리 안 단일 선택자로 이길 방법이 없어서다. maximum-scale=1 로 막는 방법은 접근성 때문에 쓰지 않는다 */
html.wish { -webkit-tap-highlight-color: transparent; }
:where(:focus:not(:focus-visible)) { outline: none; }
body.wish { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
:where(input, textarea, select, [contenteditable]:not([contenteditable="false"])) { -webkit-user-select: text; user-select: text; }
@supports (-webkit-touch-callout: none) { #ws-chat [data-seg] { -webkit-user-select: text; user-select: text; } }
img, [role="img"] { -webkit-user-drag: none; }
html.wish, body.wish { overscroll-behavior: none; }
:where(a, button, label, summary, [role="button"], [role="tab"], [role="switch"], [role="checkbox"], [role="radio"], [role="menuitem"], [role="option"], [data-action],
  .wish-btn, .wish-tabbar-item, .wish-toptabs-item, .wish-gnb-icon-btn, .wish-chip, .wish-tag-chip, .wish-list-row) { touch-action: manipulation; }
@media (pointer: coarse) {
  * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]), textarea, select { font-size: 16px !important; }
  /* MAKE 키워드 칸(폭 217 · 맥락 textarea rows 2)은 16px 로는 안내문이 잘린다(10-26 375×812 캡처) — placeholder 만 설계 크기로.
     iOS 포커스 확대는 입력 글꼴(16px) 기준이라 placeholder 크기는 무관 · 입력한 글자는 16px 그대로 */
  .wish-kw-field .wish-input::placeholder { font-size: 12.5px; }
  .wish-kw-area .wish-textarea::placeholder { font-size: 11.5px; }
  .wish-kw-area--sm .wish-textarea::placeholder { font-size: 11px; }
}
/* ── 화면 전환 (10-26 「남은 것」 — 사용자 화면은 문서(HTML)마다 따로라 바뀔 때 이전 화면이 사라지고 흰/빈 화면 → 로더 → 내용 순으로 보였다) ──
   ① 문서 간 뷰 트랜지션: 이전 화면의 스냅샷이 새 문서가 그려질 때까지 남고 160ms 교차 페이드 — 빈 화면 단계가 없어진다.
      Chrome · 안드로이드 WebView 126+ · iOS 18.2+(WKWebView) 지원, 미지원 엔진은 종전 그대로(점진). 동작 줄이기면 페이드 없이 즉시 교체.
   ② 진입 로더: 페이지 JS 가 첫 그리기를 하기 전 빈 <main> 에 스피너 — 「빈 화면」 단계를 로더로 바꾼다(JS 가 innerHTML 을 채우면 :empty 가 풀려 저절로 사라진다).
   ③ 뒤로가기 스크롤 복원은 ws-api.js(WS.Nav) — no-store 라 bfcache 가 없어 뒤로 오면 목록이 맨 위부터였다.
   ④ 문서 배경이 칠해지기 전 엔진 기본(흰색)이 비치는 것은 앱 몫 — WebView 배경색을 #1C1A2D 로(보고서 「앱 쪽 할 일」). theme-color 메타는 같은 색. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 120ms ease-out both wish-vt-out; }
::view-transition-new(root) { animation: 160ms ease-in both wish-vt-in; }
@keyframes wish-vt-out { to { opacity: 0; } }
@keyframes wish-vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* 진입 로더 = COM-002 프리로더 M(WS.Comp.loader 와 같은 모양) — 별(CTA 그라디언트 · 32×.62=20px) 1.4초 호흡 + 흰 10% 궤도 · accent 점 1.6초.
   JS 없이 그려야 해서 ::before = 별(SVG 데이터 URI, 색은 --wish-cta-from/to 값 고정), ::after = 궤도 링 + 점(점은 radial-gradient, 링째 회전).
   WS.Comp.wait 처럼 0.4초 전엔 숨김(빠른 화면에서 깜빡임 방지). 10-26 처음엔 회색 링 스피너였다 — 사용자 지적으로 앱 로더로 통일. */
main.wish:empty { min-height: 60vh; position: relative; }
/* 페이지 스켈레톤 (2026-10-26 2차) — WS.Comp.pageSkeleton. 셔머는 .wish-skeleton 그대로, 모양만 여기서. 동작 줄이기면 셔머 없이 회색 틀 */
.wish-pskel { display: flex; flex-direction: column; gap: 14px; padding: 4px var(--wish-pad-x) 32px; }
.wish-skeleton.wish-pskel-line { display: block; border-radius: 6px; flex: none; }		/* .wish-skeleton(카드 r)이 뒤에 정의돼 있어 둘 다 붙여 이긴다 */
.wish-skeleton.wish-pskel-line.wish-pskel-block { border-radius: 16px; }
.wish-skeleton.wish-pskel-line.wish-pskel-round { border-radius: 50%; }
.wish-pskel-top { display: flex; align-items: center; gap: 12px; height: 48px; }
.wish-pskel-row { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.wish-skeleton.wish-pskel-av { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.wish-skeleton.wish-pskel-av--xl { width: 72px; height: 72px; }
.wish-pskel-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wish-pskel-center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.wish-pskel-chips { display: flex; gap: 10px; }
.wish-pskel-chips > .wish-pskel-line { flex: 1; }
.wish-pskel-chat { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.wish-pskel-chat .wish-pskel-me { align-self: flex-end; }
.wish-pskel--detail { padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { .wish-pskel .wish-skeleton { animation: none; } }
.wish-home-boot-skel { padding: 16px var(--wish-pad-x) 0; }		/* 홈 세션 확인 전 카드 틀 — 첫 탭이 열리면 page-home 이 걷는다 */
main.wish:empty::before, main.wish:empty::after { content: ''; position: absolute; left: 50%; top: 38vh; visibility: hidden; }
main.wish:empty::before {
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238F1AC6'/%3E%3Cstop offset='1' stop-color='%23E64DB7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 2.5c1.9 4 4 6 8 7.5-4 1.5-6.1 3.5-8 7.5-1.9-4-4-6-8-7.5 4-1.5 6.1-3.5 8-7.5Z' fill='url(%23g)'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: wish-loader-appear 0s .4s forwards, wish-loader-pulse 1.4s ease-in-out infinite;
}
main.wish:empty::after {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;		/* 궤도 지름 32 + 점이 링에 걸치도록 위아래 4px 여유 */
  background: radial-gradient(circle at 50% 4px, var(--wish-accent) 0 2.5px, transparent 3px),
              radial-gradient(circle, transparent 15.5px, rgba(255,255,255,.1) 15.5px 16.5px, transparent 16.5px);
  filter: drop-shadow(0 0 4px rgba(248,87,180,.8));
  animation: wish-loader-appear 0s .4s forwards, wish-loader-orbit 1.6s linear infinite;
}

/* ── 타이포그래피 (DESIGN-SYSTEM.md §4.2) — 굵기 400/500/600/700/800 다섯 가지만 ── */
.wish-display      { font: 800 26px/1.2 var(--wish-font); letter-spacing: -0.02em; color: var(--wish-text-100); font-variant-numeric: tabular-nums; }
.wish-title-screen  { font: 700 22px/1.3 var(--wish-font); color: var(--wish-text-100); }
.wish-title-char    { font: 700 24px/1.0 var(--wish-font); color: var(--wish-text-100); }
.wish-title-section { font: 600 17px/1.35 var(--wish-font); color: var(--wish-text-100); }
.wish-body           { font: 400 15px/1.5 var(--wish-font); color: var(--wish-text-100); }
.wish-bubble-text     { font: 400 15px/1.55 var(--wish-font); }
.wish-narration       { font: 400 13px/1.6 var(--wish-font); font-style: normal; color: var(--wish-highlight); text-align: center; }	/* v15 정체 · 보라 틴트 (QA1013 S3) */
.wish-body-secondary  { font: 400 13px/1.5 var(--wish-font); color: var(--wish-text-64); }
.wish-label           { font: 700 15px/1.0 var(--wish-font); color: var(--wish-text-100); }
.wish-label-sub       { font: 500 14px/1.4 var(--wish-font); color: var(--wish-text-48); }
.wish-caption         { font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-64); }
.wish-micro           { font: 400 10px/1.4 var(--wish-font); color: var(--wish-text-40); }

.wish-nowrap  { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wish-tabular { font-variant-numeric: tabular-nums; }

/* ── 상단 GNB (DESIGN-SYSTEM.md §4.4, 높이 52px) ────────────────────────── */
.wish-gnb {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--wish-pad-x);
}
.wish-gnb-logo {
  font: 800 21px/1 var(--wish-font);
  letter-spacing: -.5px;
  color: var(--wish-text-100);
}
.wish-accent-dot { color: var(--wish-accent); } /* 워드마크 마침표만 accent — GNB·AUTH-001 등 공용 */
.wish-gnb-actions { display: flex; align-items: center; gap: 16px; }
.wish-gnb-icon-btn {
  position: relative;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--wish-text-100);
}
.wish-gnb-badge-dot {
  position: absolute; top: -1px; right: -1px;
  width: 7px; height: 7px;
  border-radius: 4px;
  background: var(--wish-accent);
  border: 1.5px solid var(--wish-bg-base);
}

/* ── 하단 탭바 4종 (DESIGN-SYSTEM.md §4.4, pill 플로팅) ───────────────────── */
.wish-tabbar {
  position: fixed;
  left: 16px; right: 16px; bottom: calc(22px + var(--wish-safe-bottom));	/* 앱 edge-to-edge 내비 바 위로 — .wish-tabbar-page 여백과 짝(변수 0 이면 22px 그대로) */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--wish-surface);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--wish-radius-pill);
  box-shadow: var(--wish-shadow-fixed-bar);
  z-index: 20;
}
.wish-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: var(--wish-touch-min);
  min-height: var(--wish-touch-min);
  justify-content: center;
  color: var(--wish-text-40);
}
.wish-tabbar-item.is-active { color: var(--wish-accent); }
.wish-tabbar-item .wish-tabbar-label { font: 600 10px/1.4 var(--wish-font); }
/* 하단 탭바를 쓰는 페이지 최상위 래퍼 — 탭바(bottom22+height60=82px)에 마지막
   콘텐츠가 가리지 않도록 여백 확보. 기존 .wish-bottom-spacer(100px) 관례값과
   동일하게 맞춤(CHAT-001 등 탭바 페이지 공용, 지호 확인 요청으로 추가) */
.wish-tabbar-page { padding-bottom: calc(100px + var(--wish-safe-bottom)); }

/* ── 홈 상단 탭 3종 (언더라인 인디케이터형) ─────────────────────────────── */
.wish-toptabs {
  display: flex; gap: 24px; padding: 0 var(--wish-pad-x);
  position: sticky; top: var(--wish-safe-top); z-index: 10;
  background: var(--wish-bg-base);
  border-bottom: 1px solid var(--wish-line);
}
.wish-toptabs-item {
  padding: 10px 0 12px;
  font: 500 15px/1 var(--wish-font);		/* 비활성 15/500 · 48% (text.md:75 · HOME-06 ① text.md:1060) — G142 · G224 */
  color: var(--wish-text-48);
  border-bottom: 2px solid transparent;
}
.wish-toptabs-item.is-active {
  font-weight: 700;		/* 활성 흰색 700 (HOME-06 ① text.md:1060 「HOME-01 ~ HOME-03 과 동일」) */
  color: var(--wish-text-100);
  border-bottom-color: var(--wish-accent);
}
.wish-toptabs-count { font-size: 12px; opacity: .6; margin-left: 4px; font-weight: 500; }
/* MY-007 5탭 — 375 폭에 다 안 들어간다. 원문: 「폭이 좁아지므로 자간을 -.02em으로 줄이고 가로 스크롤을 허용한다」
   (text.md:3274). sticky 는 이 요소 자신에 걸리므로 overflow-x 와 함께 써도 유지된다 */
.wish-toptabs--scroll { overflow-x: auto; scrollbar-width: none; letter-spacing: -.02em; }
.wish-toptabs--scroll::-webkit-scrollbar { display: none; }
/* 라벨 + 개수가 「내 / 캐릭터 1」로 꺾이지 않게 — 가로 스크롤 줄에서만(다른 탭 줄은 넘치면 줄어드는 종전 동작 유지) */
.wish-toptabs--scroll .wish-toptabs-item { flex: none; white-space: nowrap; }
/* HOME-06 ① 「white-space:nowrap 을 걸어 "장소 / Pick!"으로 끊기지 않게 한다」(text.md:1061) — 홈 상단 탭 줄에만 */
#ws-home .wish-toptabs-item { white-space: nowrap; }

/* ── 버튼 — pill CTA (DESIGN-SYSTEM.md §4.3, 값은 신규) ── */
.wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--wish-touch-min);
  padding: 0 24px;
  border: 0;
  border-radius: var(--wish-radius-pill);
  font: 700 15px/1 var(--wish-font);
  cursor: pointer;
}
/* v12: 주요 버튼(CTA)은 primary 단색 대신 CTA 그라데이션(토큰표 primary 행 — v12 목업의 단색 primary 버튼 26곳이 전부 그라데이션으로 바뀜).
   accent 단색 버튼(삭제 · 초기화 등 위험 동작)은 v12 에서도 단색 그대로 */
.wish-btn-primary { background: var(--wish-gradient-cta); color: var(--wish-text-100); }
.wish-btn-accent  { background: var(--wish-accent); color: var(--wish-text-100); }
.wish-btn-gradient { background: var(--wish-gradient-cta); color: var(--wish-text-100); }
/* QA1012 U18 — 빈 상태 CTA: 내용 폭 44px pill (목업 markup.html:1835 height:44px; padding:0 24px; font:600 14px) */
.wish-btn--pill44 { height: 44px; min-height: 44px; padding: 0 24px; font: 600 14px/1 var(--wish-font); }
.wish-btn-ghost {
  background: transparent;
  color: var(--wish-text-100);
  border: 1px solid var(--wish-line);
}
.wish-btn:disabled,
.wish-btn.is-disabled { opacity: .4; pointer-events: none; }

/* 위험 동작 — user 팔레트엔 전용 danger 토큰 없음, accent 텍스트가 겸한다(§4.1) */
.wish-text-danger { color: var(--wish-accent); }

/* ── 칩 (태그·필터·LIKE-DISLIKE) ───────────────────────────────────────── */
.wish-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--wish-radius-pill);
  font: 500 13px/1 var(--wish-font);
  color: var(--wish-text-64);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--wish-line);
}
.wish-chip.is-active {
  color: var(--wish-text-100);
  background: var(--wish-primary);
  border-color: transparent;
}
.wish-chip-dislike.is-active {
  background: var(--wish-deep-green);
}

/* ── 카드 (DESIGN-SYSTEM.md §4.3 — 라운드 16px) ───────────────────────────── */
.wish-card {
  background: var(--wish-surface);
  border-radius: var(--wish-radius-card);
  padding: 16px;
}
.wish-card-media {
  border-radius: var(--wish-radius-card);
  background: var(--wish-gradient-primary-accent); /* 이미지 미로딩 플레이스홀더 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wish-text-100);
  font: 800 20px/1 var(--wish-font);
  overflow: hidden;
}
.wish-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

/* ── 리스트 행 (사실상 표준 56px, §4.3) ─────────────────────────────────── */
.wish-list-row {
  min-height: var(--wish-list-row-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--wish-pad-x);
}
.wish-list-row--bordered { min-height: 0; padding: 11px var(--wish-pad-x); border-bottom: 1px solid var(--wish-line); }
/* CHAT-001 첫 진입 (2026-10-30) — 첫 화면 행이 사진과 함께 위에서부터 차례로(지연은 행마다 인라인 animation-delay) */
.wish-list-row.is-enter { animation: wish-row-enter .3s ease-out both; }
@keyframes wish-row-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wish-list-row.is-enter { animation: none; } }
/* 목적지가 아직 없는 행(MY-001 의 미착공 링크)을 비활성으로 그릴 때.
   파일 전체 관례와 같은 값이다(.wish-segment-row / .wish-toggle-row / .wish-snapshot-save-row).
   ★ 이 규칙이 없으면 클래스만 붙고 흐려지지 않는다 — MY-009 에서 실제로 그랬다. */
.wish-list-row.is-disabled { opacity: .4; pointer-events: none; }
/* 리스트/카드/썸네일 안에서 로딩 자리표시를 쓸 때 — 그라디언트 placeholder보다 셔머가 우선하도록 재정의 */
.wish-list-row-thumb.wish-skeleton,
.wish-list-row-avatar.wish-skeleton,
.wish-char-card-media.wish-skeleton,
.wish-curation-thumb.wish-skeleton,
.wish-rank-thumb.wish-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%;
  animation: wish-skeleton-shimmer 1.4s ease infinite;
}
/* 리스트행·크리에이터행·댓글행 등에서 말줄임+우측버튼을 함께 쓸 때 텍스트 컬럼 공용 */
.wish-row-text { flex: 1; min-width: 0; }

/* ── 시트(바텀시트) — 값은 신규(§7.2 Gap분석) ── */
/* z-index 스케일(2026-09-12 지호 발견·재정렬): 일시 모달류(시트딤36·시트37·
   다이얼로그오버레이38)는 상시 패널(드로어딤34·드로어35)보다 항상 위,
   토스트40보다는 항상 아래여야 한다 — 드로어 안에서 열리는 시트/다이얼로그가
   클릭 불가 상태로 깔리는 걸 막기 위함. 39는 향후 여유값. 새 오버레이 추가 시
   이 순서(드로어 < 시트/다이얼로그 < 토스트)를 유지할 것. */
/* v16.2 COM-001 D/E 공통 토큰 — 딤 rgba(10,9,20,.62) + 페이드, 시트 아래→위 슬라이드 200ms, 상단 패딩 10 · 핸들 36×4 흰색 22% (T127 · M230-232).
   좌우 · 하단 패딩은 폼 시트의 sticky 푸터(음수 마진이 이 값에 묶여 있다) 때문에 그대로 두고, 액션 · 선택 시트만 아래 .wish-sheet--action/--select 에서 16px 로 좁힌다 */
.wish-sheet-dim {
  position: fixed; inset: 0;
  background: rgba(10,9,20,.62);
  z-index: 36;
  opacity: 1;
  transition: opacity .2s ease;
  animation: wish-sheet-dim-in .2s ease-out;
}
.wish-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--wish-surface);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--wish-shadow-sheet);
  padding: 10px var(--wish-pad-x) calc(20px + var(--wish-safe-bottom));
  z-index: 37;
  transform: translateY(0);
  transition: transform .25s ease;
  animation: wish-sheet-in .2s ease-out;
}
@keyframes wish-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes wish-sheet-dim-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wish-sheet, .wish-sheet-dim { animation: none; }
}
.wish-sheet.is-hidden { transform: translateY(100%); }
.wish-sheet-dim.is-hidden { opacity: 0; pointer-events: none; }
.wish-sheet-handle {
  width: 36px; height: 4px;
  border-radius: var(--wish-radius-pill);
  background: rgba(255,255,255,.22);
  margin: 0 auto 18px;
}

/* COM-001 D · 액션 시트 (WS.Comp.actionSheet — T126-133 · M230-241) */
.wish-sheet.wish-sheet--action { padding: 10px 16px calc(14px + var(--wish-safe-bottom)); display: flex; flex-direction: column; }
.wish-sheet--action .wish-sheet-handle { flex: none; margin: 0 auto; }
.wish-as-head { display: flex; align-items: center; gap: 12px; padding: 16px 6px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wish-as-thumb {
  width: 40px; height: 40px; border-radius: 20px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--wish-bg-base); background-image: var(--wish-gradient-primary-accent);
  background-size: cover; background-position: center 25%;
  font: 700 15px var(--wish-font); color: var(--wish-text-100);
}
.wish-as-thumb.is-square { border-radius: 12px; }
.wish-as-head-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-as-title { font: 700 15px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-as-sub { font: 400 12px/1.45 var(--wish-font); color: rgba(255,255,255,.5); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; }
.wish-as-headnote { margin: 8px 6px 0; font: 400 12px/1.5 var(--wish-font); color: rgba(255,255,255,.5); }
.wish-as-list { display: flex; flex-direction: column; padding-top: 4px; }
.wish-sheet-handle + .wish-as-list { padding-top: 12px; }		/* 헤더 생략(대상이 화면에서 분명할 때 — T127) */
.wish-as-row {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 6px;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.06); background: none;
  color: var(--wish-text-100); text-align: left; cursor: pointer; width: 100%;
}
.wish-as-row:last-child { border-bottom: 0; }
.wish-as-row svg { flex: none; }
.wish-as-label-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.wish-as-label { font: 500 15px var(--wish-font); color: inherit; }
.wish-as-note { font: 400 12px/1.4 var(--wish-font); color: rgba(255,255,255,.5); }
.wish-as-row.is-danger { color: #FF6B8A; }
.wish-as-row.is-disabled { opacity: .4; cursor: default; }
.wish-as-close {
  flex: none; width: 100%; height: 50px; margin-top: 10px; border: 0; border-radius: 25px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font: 600 14.5px var(--wish-font); cursor: pointer;
  position: sticky; bottom: 0;		/* 시트 하단 고정 (T133) */
}

/* COM-001 E · 선택 시트 (WS.Comp.selectSheet — T135-139 · M242-250 · desc 형 MY-011 M6453-6458) */
.wish-sheet.wish-sheet--select { padding: 10px 16px calc(22px + var(--wish-safe-bottom)); display: flex; flex-direction: column; }
.wish-sheet--select .wish-sheet-handle { flex: none; margin: 0 auto; }
.wish-sheet--select.is-tall { max-height: 70vh; overflow: hidden; }
.wish-sheet--select.is-tall .wish-ss-list { overflow-y: auto; min-height: 0; }
.wish-ss-head { flex: none; display: flex; align-items: center; padding: 16px 8px 10px; }
.wish-ss-title { flex: 1; min-width: 0; font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-ss-x { width: 44px; height: 44px; margin: -6px -12px -6px 0;	/* 터치 타깃 ≥44px (text.md:79) — 아이콘 자리는 그대로(G013) */ display: flex; align-items: center; justify-content: center; border: 0; background: none; color: rgba(255,255,255,.7); cursor: pointer; padding: 0; }
.wish-ss-list { display: flex; flex-direction: column; gap: 2px; }
.wish-ss-row {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 8px; width: 100%;
  border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer;
}
.wish-ss-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-ss-label { font: 500 15px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-ss-row.is-selected { background: rgba(123,15,201,.18); }
.wish-ss-row.is-selected .wish-ss-label { font-weight: 700; color: var(--wish-text-100); }
.wish-ss-check { flex: none; display: flex; color: var(--wish-accent); }
.wish-ss-desc { font: 400 11.5px/1.4 var(--wish-font); color: rgba(255,255,255,.5); }
/* desc 형 — 56px · 600 14 + 설명 · 선택 = 틴트 .22 + 1.5px primary 테두리 (M6453-6458) */
.wish-sheet--select-desc .wish-ss-head { padding: 6px 4px 8px; }
.wish-sheet--select-desc .wish-ss-list { gap: 4px; }
.wish-sheet--select-desc .wish-ss-row { min-height: 56px; padding: 8px 14px; border-radius: 14px; border: 1.5px solid transparent; }
.wish-sheet--select-desc .wish-ss-label { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-sheet--select-desc .wish-ss-row.is-selected { background: rgba(123,15,201,.22); border-color: #7B0FC9; }
/* 시트 내부 하단 고정 액션 — .wish-sheet 는 overflow-y:auto 라 sticky 가 시트 바닥에 붙는다.
   (콘텐츠가 길어져 스크롤돼도 [적용]/[N개 보기] 같은 CTA가 항상 보이게)
   배경이 .wish-sheet 와 같은 surface 라 좌우/하단 여백과 완전히 안 맞아도 이음선이 안 보인다. */
.wish-sheet-footer {
  position: sticky; bottom: 0;
  margin: 12px calc(-1 * var(--wish-pad-x)) calc(-1 * (20px + var(--wish-safe-bottom)));
  padding: 12px var(--wish-pad-x) calc(20px + var(--wish-safe-bottom));
  background: var(--wish-surface);
}

/* ── 에러 배너 (§7.2 Gap분석 신규 컴포넌트 — AUTH-001 첫 실사용으로 실측값 확정,
   notes/spec-extract/user/source/markup.html L242) ─────────────────────── */
.wish-error-banner {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  border-radius: 12px;
  background: rgba(248,87,180,.12);
  border-left: 3px solid var(--wish-accent);
  padding: 11px 13px;
}
/* 텍스트 블록 — WS.Comp.errorBanner(ws-components.js)는 클래스 없는 <div>로
   제목·설명을 감싸므로 구조 선택자로도 잡는다(.wish-error-body 는 화면이
   직접 마크업을 짤 때를 위한 대체 훅으로 유지) */
.wish-error-banner .wish-error-body,
.wish-error-banner > div:first-child {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
/* WS.Comp.errorBanner가 onRetry를 받으면 배너 안쪽에 .wish-error-retry를
   같은 행에 형제로 붙인다(ws-components.js:17-33) — width:100%가 flex-basis로
   해석돼 옆 텍스트와 같은 줄에서 눌리던 문제(2026-09-13 CHAT-004 S3, 민준 진단)
   를 막기 위해 배너 안에 중첩된 경우만 자기 줄로 강제 줄바꿈시킨다.
   AUTH-001의 .wish-auth-retry(배너 밖 형제 요소, 별도 삽입)는 이 규칙의
   영향을 받지 않는다 — 셀렉터가 .wish-error-banner 내부만 잡기 때문. */
.wish-error-banner .wish-error-retry {
  flex: 1 0 100%;
  margin-top: 2px;
}
/* errorBanner(opts.links) — 해결 화면으로 가는 버튼 줄(CHAT-002 재화 부족 → MY-004 · MY-006). 재시도 버튼처럼 자기 줄을 차지한다 */
.wish-error-banner .wish-error-actions { flex: 1 0 100%; display: flex; gap: 8px; margin-top: 2px; }
.wish-error-banner .wish-error-actions > .wish-btn { flex: 1; padding: 0 12px; font-size: 14px; text-decoration: none; }
.wish-error-title { font: 600 12px var(--wish-font); color: var(--wish-text-100); }
.wish-error-desc  { font: 400 10.5px/1.5 var(--wish-font); color: var(--wish-text-64); }
/* 재시도 — 배너와 별개로 아래 놓이는 풀블리드 버튼(AUTH-001 L246).
   .wish-auth-retry 는 AUTH-001 전용 이름, .wish-error-retry 는 다른 화면 재사용용 별칭 — 동일 규칙 */
.wish-error-retry,
.wish-auth-retry {
  display: block;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--wish-primary);
  color: var(--wish-text-100);
  font: 700 14px var(--wish-font);
  cursor: pointer;
}
/* AUTH-001 실패 상태 컨테이너 — .wish-auth-actions 를 대체해 배너+재시도를 담는다
   (#ws-auth-banner 는 도윤 JS 훅용 id, CSS는 클래스만 사용) */
.wish-auth-banner {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
}

/* ── 스켈레톤 로딩 (§4.7 전 탭 공통) ───────────────────────────────────── */
.wish-skeleton {
  border-radius: var(--wish-radius-card);
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%;
  animation: wish-skeleton-shimmer 1.4s ease infinite;
}
@keyframes wish-skeleton-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ── 빈 상태 (§4.7 — 정식 브랜드 일러스트 4종 MISSING, ASSETS.md §4.2) ────── */
.wish-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px var(--wish-pad-x);
  text-align: center;
}
.wish-empty-state-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--wish-text-40);
}
.wish-empty-state-title { font: 600 15px/1.4 var(--wish-font); color: var(--wish-text-100); }
.wish-empty-state-desc  { font: 400 13px/1.5 var(--wish-font); color: var(--wish-text-64); }

/* ── AUTH-001 전용 (doc/specs/VISUAL-user.md AUTH-001,
   notes/spec-extract/user/source/markup.html L173-275) ───────────────────
   화면 루트는 <html class="wish"> 또는 <body class="wish">(공용 배경/텍스트) +
   아래 .wish-auth 로 브랜드 블록을 위에, 버튼을 아래에 고정한다. */
.wish-auth {
  min-height: calc(100vh - var(--wish-safe-top));
  display: flex;
  flex-direction: column;
}
.wish-auth-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 32px;
}
.wish-auth-mark {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #141225;		/* v18.3 AUTH-001 #1 달맞이꽃 마크 A2 프레임 #141225 (G097 — 마크 SVG 는 page-auth.js brandMark) */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 30px var(--wish-font);
  letter-spacing: -.04em;
  color: var(--wish-text-100);
}
.wish-auth-wordmark {
  font: 900 26px var(--wish-font);
  letter-spacing: -.03em;
  color: var(--wish-text-100);
}
.wish-auth-tagline {
  font: 400 13px/1.6 var(--wish-font);
  color: var(--wish-text-64);
  text-align: center;
}

/* 버튼 그룹 — 하단 1/3, 엄지 영역 */
.wish-auth-actions {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 14px;
}
.wish-auth-btn {
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--wish-text-100);
  font: 600 15px var(--wish-font);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* 아이콘+라벨 그룹 — 버튼 chrome과 내용 배치를 분리 */
.wish-auth-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.wish-auth-btn-label { font: inherit; color: inherit; }
/* 기본 수단(OS별 최상단 1개만) — 흰색 채움 */
.wish-auth-btn.is-primary {
  border: none;
  background: var(--wish-text-100);
  color: var(--wish-ink);
  font-weight: 700;
}
.wish-auth-btn[disabled] { opacity: .4; pointer-events: none; }
/* 인증 진행 중 — 눌린 버튼이 이 모습으로 전환, 나머지 버튼은 [disabled](L217) */
.wish-auth-btn.is-loading {
  background: rgba(255,255,255,.45);
  color: rgba(20,18,37,.6);
  pointer-events: none;
}
.wish-auth-spinner {
  width: 15px;
  height: 15px;
  border-radius: 8px;
  border: 2px solid rgba(20,18,37,.35);
  border-top-color: transparent;
  animation: wish-spin .7s linear infinite;
}
@keyframes wish-spin { to { transform: rotate(360deg); } }

/* 소셜 배지 — Google(원형, 브랜드가이드 고정색) */
.wish-auth-g {
  width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--wish-text-100);
  color: var(--wish-brand-google);
  display: flex; align-items: center; justify-content: center;
  font: 900 11px var(--wish-font);
}
/* 흰색 채움(.is-primary) 버튼 안에서는 대비를 위해 배지 색이 반전된다
   (Android "Google로 계속하기" 기본 버튼, L206) */
.wish-auth-btn.is-primary .wish-auth-g {
  background: var(--wish-brand-google);
  color: var(--wish-text-100);
}

/* 개발 전용 계정 선택 — 설계서에 없는 블록이다. 네이티브 브리지가 없는 환경(개발 웹)에서만
   page-auth.js 가 열며, 운영 앱에서는 hidden 인 채로 남는다. 소셜 버튼과 섞이지 않게
   점선 테두리 + 낮은 대비로 "제품 UI 아님"을 눈으로 구분되게 둔다. */
.wish-auth-dev {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 24px 0;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px;
}
.wish-auth-dev-title {
  font: 700 10.5px var(--wish-font);
  letter-spacing: .08em;
  color: var(--wish-text-45);
}
.wish-auth-dev-btn {
  min-height: var(--wish-touch-min);
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--wish-line);
  background: rgba(255,255,255,.04);
  color: var(--wish-text-80);
  font: 600 14px var(--wish-font);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
/* 마지막으로 고른 계정 — 소셜 버튼을 눌러도 이 계정으로 들어간다 */
.wish-auth-dev-btn.is-on {
  border-color: var(--wish-accent);
  color: var(--wish-text-100);
}
.wish-auth-dev-nm { font: inherit; color: inherit; }
.wish-auth-dev-id {
  font: 400 10.5px var(--wish-font);
  color: var(--wish-text-40);
}
.wish-auth-dev-btn[disabled] { opacity: .4; pointer-events: none; }
.wish-auth-dev-btn.is-loading {
  background: rgba(255,255,255,.45);
  color: rgba(20,18,37,.6);
  justify-content: center;
  pointer-events: none;
}
.wish-auth-dev-note {
  font: 400 10.5px/1.5 var(--wish-font);
  color: var(--wish-text-40);
}

/* 약관 동의 캡션 — 링크는 a 태그 */
.wish-auth-terms {
  font: 400 11px/1.7 var(--wish-font);
  color: var(--wish-text-45);
  padding: 6px 24px;
  text-align: center;
}
.wish-auth-terms a {
  color: var(--wish-text-80);
  text-decoration: underline;
}
.wish-auth-relogin {
  font: 400 10.5px var(--wish-font);
  color: var(--wish-text-40);
  text-align: center;
}
/* 약관 캡션 + 재로그인 안내를 묶는 하단 블록 */
.wish-auth-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 24px 30px;
}

/* ── 아이디 · 비밀번호 로그인 · 가입 · 찾기 (2026-11-11 · 다날 검수용, 정의서 밖 — 서버 스위치 auth.local.enabled) ──
   로그인 화면은 소셜 버튼 아래 「또는」 + 입력 2칸 + 버튼, 가입 · 찾기는 온보딩(.wish-ob) 틀을 그대로 쓴다 */
.wish-auth-biz { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; padding-top: 4px; font: 400 10px/1.6 var(--wish-font); font-style: normal; color: var(--wish-text-40); text-align: center; }
.wish-auth-biz a { color: inherit; text-decoration: none; }
.wish-auth-local { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 4px 24px 6px; }
.wish-auth-or { display: flex; align-items: center; gap: 10px; font: 500 11px var(--wish-font); color: var(--wish-text-40); }
.wish-auth-or::before, .wish-auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.wish-auth-local-form { display: flex; flex-direction: column; gap: 8px; }
.wish-auth-input {
  height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: var(--wish-field-surface); color: var(--wish-text-100); font: 500 15px var(--wish-font); outline: none;
}
.wish-auth-input:focus { border-color: var(--wish-primary); }
.wish-auth-input::placeholder { color: var(--wish-text-40); }
.wish-auth-local-err { font: 500 11.5px/1.5 var(--wish-font); color: var(--wish-accent); }
.wish-auth-local-links { display: flex; justify-content: center; align-items: center; gap: 8px; font: 500 12px var(--wish-font); color: var(--wish-text-40); }
.wish-auth-local-links a { color: var(--wish-text-64); text-decoration: none; padding: 6px 2px; }

.wish-lj .wish-ob-body { gap: 8px; }
.wish-lj .wish-ob-field { margin-top: 4px; }
.wish-lj .wish-ob-check[data-state=""] { color: var(--wish-text-45); }	/* 판정 전 안내(규칙) — 흰 글자로 판정처럼 보이지 않게 */
.wish-lj-box { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); }
.wish-lj-box-title { font: 600 13px var(--wish-font); color: var(--wish-text-80); }
.wish-lj-box-id { font: 800 18px var(--wish-font); color: var(--wish-text-100); letter-spacing: .02em; overflow-wrap: anywhere; }
.wish-lj-sec { margin-top: 16px; font: 700 13px var(--wish-font); color: var(--wish-text-80); }
.wish-lj-agrees { display: flex; flex-direction: column; margin-top: 12px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.08); }
.wish-lj-agree-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.wish-lj-agree-row:first-child { border-bottom: 1px solid rgba(255,255,255,.06); }
.wish-lj-agree { display: flex; align-items: center; gap: 10px; font: 500 13px var(--wish-font); color: var(--wish-text-80); cursor: pointer; }
.wish-lj-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--wish-primary); }
.wish-lj-view { flex: none; border: 0; background: transparent; cursor: pointer; padding: 8px 2px; font: 500 12px var(--wish-font); color: var(--wish-text-50); text-decoration: underline; }
.wish-lj-btn-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
a.wish-ob-link { text-decoration: none; }
/* 시트 — 비밀번호 변경(MY-010) */
.wish-pw-sheet { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.wish-pw-err { font: 500 11.5px/1.5 var(--wish-font); color: var(--wish-accent); }

/* 테스트 휴대폰 본인확인 — 풀스크린 3단계(ws-local-vrfy.js stubSheet · 11-11). 다날 계약 전 대체 화면.
   앱 화면(어두운 테마)과 다른 밝은 창으로 그려 「밖의 인증창으로 넘어갔다」는 실제 흐름처럼 보이게 한다. 다날 · 통신사 로고는 쓰지 않는다 */
.wish-iv { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #fff; color: #1b1d23; padding-top: var(--wish-safe-top, 0px); font-family: var(--wish-font); }
.wish-iv-head { flex: none; display: flex; align-items: center; height: 52px; padding: 0 6px; border-bottom: 1px solid #eceef2; }
.wish-iv-title { flex: 1; text-align: center; font: 700 16px var(--wish-font); }
.wish-iv-icon { width: 44px; height: 44px; border: 0; background: transparent; color: #1b1d23; font-size: 22px; line-height: 1; cursor: pointer; }
.wish-iv-band { flex: none; padding: 9px 16px; background: #fff4d6; color: #7a5300; font: 500 12px/1.4 var(--wish-font); text-align: center; }
.wish-iv-band b { font-weight: 700; }
.wish-iv-steps { flex: none; display: flex; gap: 6px; margin: 0; padding: 14px 16px 4px; list-style: none; }
.wish-iv-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 500 11px var(--wish-font); color: #9aa0ab; }
.wish-iv-steps li span { width: 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #eceef2; color: #8a909b; font: 700 11px var(--wish-font); }
.wish-iv-steps li.is-on { color: #1b1d23; font-weight: 700; }
.wish-iv-steps li.is-on span { background: #2b5cff; color: #fff; }
.wish-iv-steps li.is-done span { background: #c9d6ff; color: #2b5cff; }
.wish-iv-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 20px; display: flex; flex-direction: column; }
.wish-iv-q { margin: 4px 0 14px; font: 700 17px/1.4 var(--wish-font); }
.wish-iv-sub { margin: -8px 0 14px; font: 500 13px var(--wish-font); color: #5d636e; }
.wish-iv-carriers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wish-iv-carrier { height: 48px; border: 1px solid #d7dbe3; border-radius: 10px; background: #fff; color: #1b1d23; font: 600 13px var(--wish-font); cursor: pointer; }
.wish-iv-carrier.is-on { border-color: #2b5cff; background: #eef2ff; color: #2b5cff; box-shadow: inset 0 0 0 1px #2b5cff; }
.wish-iv-agrees { display: flex; flex-direction: column; margin-top: 20px; border: 1px solid #eceef2; border-radius: 10px; padding: 4px 12px; }
.wish-iv-agree { display: flex; align-items: center; gap: 10px; min-height: 40px; font: 500 13px var(--wish-font); color: #3a3f48; cursor: pointer; }
.wish-iv-agree em { font-style: normal; color: #2b5cff; font-size: 12px; }
.wish-iv-agree input { width: 18px; height: 18px; margin: 0; accent-color: #2b5cff; }
.wish-iv-agree--all { font-weight: 700; color: #1b1d23; border-bottom: 1px solid #eceef2; }
.wish-iv-note { margin: 16px 0 0; font: 400 12px/1.5 var(--wish-font); color: #8a909b; }
.wish-iv-label { margin: 12px 0 6px; font: 600 12.5px var(--wish-font); color: #5d636e; }
.wish-iv-label:first-of-type { margin-top: 0; }
.wish-iv-input { width: 100%; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 12px; border: 1px solid #d7dbe3; border-radius: 10px; background: #fff; color: #1b1d23; font: 500 15px var(--wish-font); outline: none; }
.wish-iv-input:focus { border-color: #2b5cff; box-shadow: 0 0 0 1px #2b5cff; }
.wish-iv-input::placeholder { color: #b3b8c2; }
.wish-iv-rrn { display: flex; align-items: center; gap: 8px; }
.wish-iv-rrn .wish-iv-input { flex: 1.4; }
.wish-iv-rrn .wish-iv-input--g { flex: none; width: 44px; padding: 0; text-align: center; }
.wish-iv-dash { color: #8a909b; }
.wish-iv-mask { flex: 1; color: #b3b8c2; letter-spacing: 2px; font-size: 13px; white-space: nowrap; }
.wish-iv-phone { display: flex; align-items: center; gap: 8px; }
.wish-iv-phone-carrier { flex: none; min-width: 64px; height: 48px; box-sizing: border-box; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d7dbe3; border-radius: 10px; background: #f6f7f9; font: 600 13px var(--wish-font); color: #3a3f48; }
.wish-iv-testcode { padding: 12px 14px; border-radius: 10px; background: #f1f4ff; color: #3a3f48; font: 500 13px var(--wish-font); margin-bottom: 12px; }
.wish-iv-testcode b { margin-left: 6px; color: #2b5cff; font: 800 18px var(--wish-font); letter-spacing: 3px; }
.wish-iv-code { display: flex; align-items: center; gap: 8px; position: relative; }
.wish-iv-code .wish-iv-input { flex: 1; padding-right: 56px; letter-spacing: 2px; }
.wish-iv-timer { position: absolute; right: 92px; font: 600 13px var(--wish-font); color: #e5484d; font-variant-numeric: tabular-nums; }
.wish-iv-resend { flex: none; height: 48px; padding: 0 14px; border: 1px solid #d7dbe3; border-radius: 10px; background: #fff; color: #3a3f48; font: 600 13px var(--wish-font); cursor: pointer; }
.wish-iv-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 10px 16px calc(14px + var(--wish-safe-bottom, 0px)); border-top: 1px solid #eceef2; background: #fff; }
.wish-iv-err { font: 500 12.5px/1.4 var(--wish-font); color: #e5484d; text-align: center; }
.wish-iv-btn { height: 52px; border: 0; border-radius: 12px; background: #2b5cff; color: #fff; font: 700 15px var(--wish-font); cursor: pointer; }
.wish-iv-btn:active { background: #1f48d6; }

/* ══════════════════════════════════════════════════════════════════════
   MAKE-000~004 · MY-012 — 제작 위저드 + 내 캐릭터 수정 (도윤 위임, WAVE2 P4-1)
   출처: doc/specs/VISUAL-user.md 해당 ID 절 + notes/spec-extract/user/source/
   markup.html L2595-3498(MAKE), L4421-4577(MY-012). 카탈로그:
   notes/wish-dev/harin/wishes-css-make.md
   ══════════════════════════════════════════════════════════════════════ */

/* ── 위저드 공용 프레임 (DESIGN-SYSTEM.md §6.4) ─────────────────────────── */
.wish-wizard { min-height: calc(100vh - var(--wish-safe-top)); display: flex; flex-direction: column; }
.wish-wizard-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 8px 20px 22px; }

.wish-wizard-header { flex: none; display: flex; align-items: center; gap: 8px; padding: 2px 18px 10px; }
.wish-wizard-header-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--wish-text-100); cursor: pointer; flex: none;
}
.wish-wizard-header-title { flex: 1; text-align: center; font: 700 15px var(--wish-font); color: var(--wish-text-100); }
/* STEP 1 진입 화면(MAKE-001/004)은 아이콘 없이 큰 타이틀 좌측 정렬로 시작 */
.wish-wizard-header-title--lg { text-align: left; font: 700 20px var(--wish-font); }
.wish-wizard-header-spacer { width: 30px; flex: none; } /* 트레일링 텍스트 없을 때 타이틀 중앙정렬 유지용 */
/* QA1012 U13 — MAKE-000 안내(굵은 제목 + 본문)와 하단 캡션 (목업 markup.html:3026-3027 · 3058) */
.wish-make-intro { display: flex; flex-direction: column; gap: 4px; }
.wish-make-intro-title { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-make-intro-body { margin: 0; font: 400 12px/1.6 var(--wish-font); color: var(--wish-text-64); }
.wish-make-intro-body b { font-weight: 700; }
.wish-caption--center { text-align: center; }
.wish-wizard-badge-mode {
  height: 22px; flex: none;
  display: inline-flex; align-items: center; padding: 0 9px;
  border-radius: 11px; background: rgba(123,15,201,.5);
  font: 800 10px var(--wish-font); letter-spacing: .04em; color: var(--wish-text-100);
}
.wish-wizard-save { font: 500 12px var(--wish-font); color: var(--wish-text-50); cursor: pointer; white-space: nowrap; }
.wish-wizard-save.is-disabled { color: var(--wish-text-40); pointer-events: none; }

/* ── 스텝 인디케이터 (6칸 BUILD / 2칸 FLAT) — 완료 primary채움+체크 / 현재 primary 테두리 / 미도달 흰24% ──
   현재 단계 = surface 배경 + 1.5px primary 테두리(정의서 공통 프레임 · MAKE-002 목업). 종전 primary 채움 + 링은
   완료(채움)와 링 · 체크로만 갈려 정의서와 달랐다 (11-09 확인요청 검증-D19) */
.wish-wizard-steps { flex: none; display: flex; align-items: center; gap: 3px; padding: 0 18px 12px; }
.wish-wizard-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.wish-wizard-step-node {
  width: 26px; height: 26px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font: 700 12px var(--wish-font);
  background: var(--wish-surface); color: rgba(255,255,255,.24);
}
.wish-wizard-step.is-done .wish-wizard-step-node { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-wizard-step.is-current .wish-wizard-step-node { background: var(--wish-surface); color: var(--wish-text-100); border: 1.5px solid var(--wish-primary); }
.wish-wizard-step-label { font: 500 10px var(--wish-font); color: rgba(255,255,255,.4); }
.wish-wizard-step.is-done .wish-wizard-step-label,
.wish-wizard-step.is-current .wish-wizard-step-label { font-weight: 600; color: var(--wish-text-100); }
.wish-wizard-steps-line { flex: 1; height: 2px; background: rgba(255,255,255,.12); }
.wish-wizard-steps-line.is-done { background: var(--wish-primary); }
/* 라벨 있는 컬럼형(MAKE-001 STEP1~3)에서만 커넥터를 원 중심 높이로 올림 */
.wish-wizard-steps-line--labeled { align-self: flex-start; margin-top: 12px; }
/* 카드 안(MY-005 성인인증 카드)에 넣을 땐 카드 패딩이 이미 있어 좌우 여백을 뺀다 */
.wish-mode-card > .wish-wizard-steps { padding: 0 0 2px; }

/* ── 하단 고정 CTA [이전]/[다음] — 필수 미충족 시 .wish-btn 기존 40% 비활성 재사용 ── */
.wish-wizard-cta { flex: none; display: flex; gap: 10px; padding: 12px 20px calc(30px + var(--wish-safe-bottom)); border-top: 1px solid var(--wish-line); }	/* v20.3:81 */
.wish-wizard-cta .wish-btn { flex: 1; height: 50px; }
.wish-wizard-cta .wish-btn-primary { flex: 2; }

/* ── 안내 카드 / 폼 카드 그룹 (surface, radius16) ───────────────────────── */
.wish-form-card { background: var(--wish-surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.wish-field-label { display: flex; align-items: center; gap: 6px; font: 600 13px var(--wish-font); color: var(--wish-text-80); }
.wish-field-counter { margin-left: auto; font: 600 11px var(--wish-font); color: var(--wish-text-40); font-variant-numeric: tabular-nums; }	/* 숫자·시간·카운터 tabular-nums (text.md:78, G007) */
.wish-field-counter.is-warning { color: var(--wish-accent); } /* 90% 초과·최소 미달 경고(§6.4) */
.wish-field-hint { font: 400 11px/1.5 var(--wish-font); color: var(--wish-text-40); }
.wish-field-error { font: 400 11px var(--wish-font); color: var(--wish-accent); }
/* QA 261020 사용자 5장 — 슬롯 편집 시트 「이미 사용한 조건이에요」(v20:3258)는 단계 병기 줄 바로 아래 빈 자리(문단 아래 여백 11 + 카드 gap 9)에
   겹쳐 그린다. 흐름 요소로 끼우면 「획득 계기」 이하가 통째로 밀렸다 — 시트 배치는 오류 유무와 무관하게 목업(v20:3201-3205) 그대로 */
/* v20.3:3312-3313 · 목업 — 슬롯 시트 획득 계기: 입력 아래 캡션(9.5px 흰 40% · [필수] 배지 800 9px #FFD3EC / accent 22%) · 계기가 2자 미만이면 [저장] 비활성(흰 10% 배경 · 흰 40% 글자) */
.wish-slot-trigger-cap { margin: 0; font: 400 9.5px/1.5 var(--wish-font); color: var(--wish-text-40); }
.wish-slot-trigger-req { display: inline-block; margin-right: 5px; padding: 2px 6px; border-radius: 6px; font: 800 9px var(--wish-font); color: #FFD3EC; background: rgba(248,87,180,.22); }
.wish-btn.wish-btn--off { background: rgba(255,255,255,.1); color: var(--wish-text-40); box-shadow: none; }
.wish-slot-cond-hint { position: relative; }
.wish-slot-cond-hint > .wish-slot-cond-dup { position: absolute; left: 0; top: 100%; white-space: nowrap; line-height: 1.5; }

/* 필수/선택/역할 배지 — 3개 시각 변형이 스펙에 그대로 관찰됨(추측 아님, 화면별로 다름) */
.wish-field-badge { display: inline-flex; align-items: center; height: 17px; padding: 2px 6px; border-radius: 6px; font: 800 9px var(--wish-font); white-space: nowrap; }
.wish-field-badge--required { background: rgba(123,15,201,.28); color: var(--wish-primary); }
.wish-field-badge--optional { background: rgba(255,255,255,.08); color: var(--wish-text-50); }
.wish-field-badge--required-text { background: none; padding: 0; color: var(--wish-highlight); } /* MAKE-004 전용 무배경 "필수" */
.wish-field-badge--required-accent { background: rgba(248,87,180,.16); color: var(--wish-accent); } /* v6 MAKE-001 ⑧ 「[선택] → [필수](accent 틴트)」 */
.wish-role-badge { display: inline-flex; align-items: center; height: 17px; padding: 2px 6px; border-radius: 6px; font: 700 8.5px var(--wish-font); white-space: nowrap; }
.wish-role-badge--visible { background: rgba(255,255,255,.08); color: var(--wish-text-64); } /* "유저에게 보이는 설명" */
.wish-role-badge--ai { background: rgba(123,15,201,.15); color: var(--wish-primary); } /* "AI에게 주는 지시" */

/* ── 48px 입력창 / 텍스트에어리어 (field-surface) ───────────────────────── */
.wish-input {
  width: 100%; height: 48px; border: 0; border-radius: 14px;
  background: var(--wish-field-surface); display: flex; align-items: center;
  padding: 0 16px; font: 400 15px var(--wish-font); color: var(--wish-text-100);
}
.wish-textarea {
  border-radius: 14px; background: var(--wish-field-surface);
  padding: 13px 16px; display: flex; flex-direction: column; gap: 9px;
  font: 400 14px/1.6 var(--wish-font); color: var(--wish-text-80);
}
/* v6 MAKE-001 ⑧ — 필수 3종 입력창. v13(:2456) 은 배경을 field-surface(#262436)로 정했다(옛 bg-base #1C1A2D 에서 변경).
   빈 상태 최소 높이 58px = 한 줄짜리 입력창(짧게 쓰라는 신호). */
.wish-textarea--sunken { background: var(--wish-field-surface); min-height: 58px; }
/* 네이티브 <input>/<textarea> 리셋 — WAVE2 프론트가 실제 폼 엘리먼트에 이 클래스들을
   직접 붙여 쓰므로(디스플레이용 <div>가 아니라), UA 기본 보더·아웃라인·리사이즈 핸들을
   지운다. 대상: 카탈로그의 "필드 박스" 계열 전부(단일행 입력으로 실사용됨) */
.wish-input,
.wish-textarea,
.wish-scene-field,
.wish-scene-textarea,
.wish-keyword-input,
.wish-keyword-context,
.wish-stage-value,
.wish-stage-textarea,
.wish-tag-input {
  border: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  resize: none;
  width: 100%;
  font-family: inherit;
}
.wish-input::placeholder,
.wish-textarea::placeholder,
.wish-scene-field::placeholder,
.wish-scene-textarea::placeholder,
.wish-keyword-input::placeholder,
.wish-keyword-context::placeholder,
.wish-stage-value::placeholder,
.wish-stage-textarea::placeholder,
.wish-tag-input::placeholder {
  color: var(--wish-text-40);
}

/* ── 3:4 이미지 업로더 (idle 점선 / uploading / filled) ──────────────────── */
.wish-uploader {
  position: relative; border-radius: 16px; border: 1.5px dashed rgba(255,255,255,.24);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; background-size: cover; background-position: center;
}
.wish-uploader--portrait { width: 186px; height: 248px; margin: 0 auto; }
.wish-uploader--slot { aspect-ratio: 3 / 4; }
.wish-uploader-icon { color: rgba(255,255,255,.5); }
.wish-uploader-label { font: 500 13px var(--wish-font); color: var(--wish-text-64); }
.wish-uploader-hint { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
.wish-uploader.is-filled { border: none; }
.wish-uploader-actions { position: absolute; bottom: 6px; right: 6px; display: flex; gap: 6px; }
.wish-uploader-badge {
  position: absolute; top: 6px; left: 6px; height: 19px;
  display: flex; align-items: center; gap: 3px; padding: 0 7px; border-radius: 10px;
  background: rgba(var(--wish-bg-base-rgb),.75); font: 700 8.5px var(--wish-font); color: var(--wish-text-100);
}
.wish-uploader-lock { position: absolute; bottom: 6px; right: 6px; color: rgba(255,255,255,.75); }
.wish-uploader.is-locked { cursor: default; }
.wish-uploader.is-locked.is-filled { opacity: .75; }
.wish-uploader[aria-disabled="true"],
.wish-uploader.is-disabled { opacity: .4; pointer-events: none; cursor: default; }

/* 범용 진행률 바 — 업로드 중 / STEP5 총량 카운터 공용 */
.wish-progress-row { display: flex; align-items: center; gap: 9px; }
.wish-progress-label { flex: none; font: 700 12px var(--wish-font); color: var(--wish-text-100); white-space: nowrap; }
.wish-progress-track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.wish-progress-fill { height: 100%; background: var(--wish-primary); }

/* ── 태그 칩 (선택=primary채움 / 미선택=아웃라인 / 직접추가=점선) ────────── */
.wish-tag-chip {
  height: 28px; padding: 0 9px 0 11px; border-radius: 14px;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font: 600 11.5px var(--wish-font);
  border: 1px solid rgba(255,255,255,.14); color: var(--wish-text-64); background: transparent;
}
.wish-tag-chip--lg { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12px; }
/* HOME-04 헤더 선택 태그 칩 — .wish-tag-chip-add(32px)와 같은 줄에 놓이는 전용 크기 */
.wish-tag-chip--header { height: 32px; padding: 0 10px 0 12px; border-radius: 16px; font: 600 12px var(--wish-font); }
.wish-tag-chip.is-selected { background: var(--wish-primary); border-color: transparent; color: var(--wish-text-100); }
.wish-tag-chip--custom { background: rgba(123,15,201,.55); border: 1px dashed rgba(255,255,255,.28); color: var(--wish-text-100); }
.wish-tag-chip:disabled, .wish-tag-chip.is-disabled { opacity: .4; pointer-events: none; }
.wish-tag-input-row { display: flex; gap: 7px; }
.wish-tag-input {
  flex: 1; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 4px; padding: 0 11px;
  font: 400 12px var(--wish-font); color: var(--wish-text-40);
}
.wish-tag-input .wish-tag-hash { font: 700 12px var(--wish-font); color: var(--wish-text-50); }
/* MAKE-001 직접 추가 입력칸 — 칸 안 고정 「#」(목업 700 · 흰 50%) + 실제 입력. 칸 모양은 .wish-input 그대로 (G595 · Q052) */
.wish-tag-input-box { flex: 1; min-width: 0; gap: 4px; cursor: text; }
.wish-tag-input-box .wish-tag-hash { flex: none; font-weight: 700; color: var(--wish-text-50); }
.wish-tag-input-field { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
.wish-tag-input-field::placeholder { color: var(--wish-text-40); }
.wish-tag-input-box.is-disabled { opacity: .4; cursor: default; }
.wish-tag-add-btn {
  flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--wish-primary); color: var(--wish-text-100); font: 600 12px var(--wish-font); cursor: pointer;
}
.wish-tag-custom-group { display: flex; flex-direction: column; gap: 7px; background: var(--wish-surface); border-radius: 14px; padding: 12px 13px; }
/* QA1014 Q8 — 제작 폼 태그 · 장소 피커 (v16.2 markup.html:3544-3555 · logic.js:474-475).
   칩 간격은 공백 문자가 아니라 flex gap: 고른 칩 줄 6 · 카테고리 묶음 사이 8 · 묶음 안 7 · 칩 사이 7 */
.wish-tag-picked { display: flex; flex-wrap: wrap; gap: 6px; }
.wish-tag-picked:empty { display: none; }
.wish-tag-ctgrys { display: flex; flex-direction: column; gap: 8px; }
.wish-tag-ctgry { display: flex; flex-direction: column; gap: 7px; }
.wish-tag-ctgry-label { font: 600 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-tag-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.wish-tag-chip--make { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid rgba(255,255,255,.14); font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.64); white-space: nowrap; }
.wish-tag-chip--make.is-selected { border-color: transparent; background: var(--wish-primary); font-weight: 600; color: var(--wish-text-100); }

/* ── 세그먼트 단일 선택 (세이프티 3/2택, 지향 3택) ────────────────────────── */
.wish-segmented { display: flex; gap: 8px; }
.wish-segmented-option {
  flex: 1; height: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font: 500 13px var(--wish-font); color: var(--wish-text-64);
}
.wish-segmented-option.is-selected { background: var(--wish-primary); border-color: transparent; color: var(--wish-text-100); font-weight: 600; }
.wish-segmented-option[aria-disabled="true"],
.wish-segmented-option.is-disabled { opacity: .4; pointer-events: none; }
/* MAKE-001 ⑥ 미인증 회원의 [19세 이상] — 40% 그대로 두되 탭은 받아 토스트를 띄운다(검증-B7 ②) */
.wish-segmented-option[data-action="grade"][aria-disabled="true"] { pointer-events: auto; cursor: default; }

/* 선택 카드형(공개/비공개 등) — 세그먼트와 달리 타이틀+설명 2줄, radius14 */
.wish-choice-card { flex: 1; border-radius: 14px; background: var(--wish-surface); padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.wish-choice-card-title { font: 600 12.5px var(--wish-font); color: var(--wish-text-100); }
.wish-choice-card-desc { font: 400 10px var(--wish-font); color: var(--wish-text-50); }
.wish-choice-card.is-selected { border: 1.5px solid var(--wish-primary); }

/* ── 토글 스위치 (댓글허용·필터·공개상태 공용, 44×26/knob20 표준화) ──────── */
.wish-toggle { width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.15); position: relative; flex: none; cursor: pointer; }
.wish-toggle-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--wish-text-100); transition: left .15s ease; }
.wish-toggle.is-on { background: var(--wish-primary); }
.wish-toggle.is-on .wish-toggle-knob { left: 21px; }

/* ── 접이식 섹션 (선택 항목 3종 / 작성 팁·예시 / 왜 설명이 필요한가요) ──── */
.wish-collapsible { display: flex; align-items: center; gap: 8px; background: var(--wish-surface); border-radius: 14px; padding: 13px 15px; cursor: pointer; }
.wish-collapsible-title { font: 500 12.5px var(--wish-font); color: var(--wish-text-100); }
/* MAKE-002 ⑤ CHAT-003 미리보기 행 미니 썸네일 18×24 — 대표 이미지(3:4 잘라 보이기) · 없으면 빈 회색 칸 (v19.2-B4) */
.wish-preview-mini-thumb { flex: none; width: 18px; height: 24px; border-radius: 4px; background: rgba(255,255,255,.12) center / cover no-repeat; }
.wish-collapsible-chevron { margin-left: auto; color: var(--wish-text-40); transition: transform .15s ease; }
.wish-collapsible.is-open .wish-collapsible-chevron { transform: rotate(180deg); }
.wish-collapsible-link { display: flex; align-items: center; gap: 5px; font: 500 10.5px var(--wish-font); color: var(--wish-text-50); cursor: pointer; }

/* ✕나쁜예 / ✓좋은예 대비 카드 */
.wish-example-pair { display: flex; flex-direction: column; gap: 6px; border-radius: 10px; background: rgba(255,255,255,.04); padding: 9px 11px; }
.wish-example-row { display: flex; gap: 6px; }
.wish-example-mark { flex: none; font: 700 10px var(--wish-font); }
.wish-example-mark--bad { color: var(--wish-text-40); }
.wish-example-mark--good { color: var(--wish-highlight); }
.wish-example-label { font: 600 9.5px var(--wish-font); }
.wish-example-text { font: 400 10.5px/1.45 var(--wish-font); }

/* ── 첫 장면(오프닝) 반복 블록 — 드래그핸들 / 삭제 / 52px 배경썸네일 ────── */
.wish-scene-card { background: var(--wish-surface); border-radius: 16px; padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; }
.wish-scene-card-head { display: flex; align-items: center; gap: 8px; }
.wish-drag-handle { flex: none; color: rgba(255,255,255,.35); cursor: grab; }
.wish-scene-title { flex: 1; font: 600 12px var(--wish-font); color: var(--wish-text-50); }
.wish-scene-delete { width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); cursor: pointer; }
.wish-scene-delete[disabled] { opacity: .4; pointer-events: none; }
.wish-scene-field { height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: flex; align-items: center; padding: 0 11px; font: 500 12.5px var(--wish-font); color: var(--wish-text-100); }
.wish-scene-textarea { border-radius: 10px; background: rgba(255,255,255,.07); padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; font: 400 11.5px/1.55 var(--wish-font); color: var(--wish-text-80); }
.wish-scene-bg-row { display: flex; gap: 8px; align-items: center; }
.wish-scene-bg-thumb { width: 52px; height: 52px; border-radius: 10px; flex: none; background-size: cover; background-position: center 40%; box-shadow: 0 0 0 1.5px var(--wish-primary); }
.wish-scene-bg-slot { width: 52px; height: 52px; border-radius: 10px; border: 1.5px dashed rgba(255,255,255,.24); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; color: rgba(255,255,255,.55); }
.wish-scene-compact { background: var(--wish-surface); border-radius: 16px; padding: 13px 14px; display: flex; align-items: center; gap: 8px; }

/* 예시 대화 카드 (유저 발화 / 캐릭터 답변 쌍) */
.wish-example-convo { border-radius: 14px; background: var(--wish-field-surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.wish-example-convo-user { font: 400 11.5px var(--wish-font); color: var(--wish-text-50); }
.wish-example-convo-char { font: 400 12px/1.55 var(--wish-font); color: var(--wish-bubble-text-char); }

/* 점선 아웃라인 CTA — 첫 장면/예시 대화/LIKE·DISLIKE 추가 공용 */
.wish-dashed-btn {
  width: 100%; height: 44px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.24);
  background: none; color: var(--wish-text-64); font: 500 12.5px var(--wish-font); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.wish-dashed-btn--sm { height: 38px; font-size: 11.5px; border-radius: 12px; }
/* v6 MAKE-001 ⑨ [+ 예문 추가] — 점선 pill(38px). 입력 행과 형태를 구분해 목록과 섞이지 않게 한다 */
.wish-dashed-btn--pill { height: 38px; font-size: 11.5px; border-radius: 19px; }
.wish-dashed-btn:disabled { opacity: .4; pointer-events: none; }

/* ── v6 MAKE-001 ⑨ 대화 예문 (말투 지침 카드 안, 헤어라인으로 「지침」과 분리) ───── */
.wish-sample-block { display: flex; flex-direction: column; gap: 7px; margin-top: 3px; padding-top: 11px; border-top: 1px solid var(--wish-line); }
.wish-sample-row { display: flex; align-items: center; gap: 8px; }
.wish-sample-no { flex: none; width: 14px; text-align: center; font: 700 11.5px var(--wish-font); color: var(--wish-accent); }

/* ── 모드 카드 (MAKE-000, FLAT/BUILD 선택 · 2px primary + 라디오) ────────── */
.wish-mode-card { background: var(--wish-surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; border: 2px solid transparent; }
.wish-mode-card.is-selected { border-color: var(--wish-primary); }
/* MAKE-000 선택 카드의 모드 배지(FLAT · BUILD)에 불을 켠다 — 정의서 v12 목업: 배지 bg primary · 흰 글자 800/10 (미선택 rgba .1 / .6). 제작 화면 카드만(data-action="mode") — 세이프티 등 다른 화면의 공용 카드는 그대로 */
.wish-mode-card[data-action="mode"] > .wish-mode-card-head:first-child > .wish-mode-card-tag:first-child { padding: 0 9px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-weight: 800; }
.wish-mode-card[data-action="mode"].is-selected > .wish-mode-card-head:first-child > .wish-mode-card-tag:first-child { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-mode-card-head { display: flex; align-items: center; gap: 9px; }
.wish-mode-card-tag { height: 22px; display: flex; align-items: center; padding: 0 8px; border-radius: 11px; background: rgba(255,255,255,.08); font: 600 10px var(--wish-font); color: var(--wish-text-64); white-space: nowrap; }
.wish-mode-card-title { font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-mode-card-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); flex: none; position: relative; margin-left: auto; }
.wish-mode-card.is-selected .wish-mode-card-radio { border-color: var(--wish-primary); }
.wish-mode-card.is-selected .wish-mode-card-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--wish-primary); }
.wish-mode-card-desc { font: 400 12px/1.6 var(--wish-font); color: var(--wish-text-64); white-space: pre-line; }
.wish-mode-card-divider { height: 1px; background: var(--wish-line); }
.wish-mode-row { display: flex; align-items: flex-start; gap: 7px; }
.wish-mode-row-mark { flex: none; font: 800 10px/1.5 var(--wish-font); padding-top: 2px; color: var(--wish-highlight); }
.wish-mode-row-text { flex: 1; font: 400 11.5px/1.5 var(--wish-font); color: rgba(255,255,255,.8); }
.wish-mode-row.is-omitted .wish-mode-row-mark,
.wish-mode-row.is-omitted .wish-mode-row-text { color: var(--wish-text-40); }

/* 임시저장 이어하기 배너 — 스펙 값 미확정(라이트 doc-chrome 색상만 관찰), 다크테마 정합 값으로 대체 */
.wish-continue-banner { display: flex; align-items: center; gap: 10px; background: rgba(123,15,201,.15); border-radius: 14px; padding: 12px 14px; }
.wish-continue-banner-text { flex: 1; font: 500 12.5px var(--wish-font); color: var(--wish-text-100); }
.wish-continue-banner-action { font: 600 12px var(--wish-font); color: var(--wish-primary); cursor: pointer; }

/* 확인 다이얼로그 (2버튼) — MAKE-000 계속/취소, MY-012 삭제 등 공용 */
.wish-dialog { background: var(--wish-bg-base); border-radius: 24px; padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 13px; box-shadow: var(--wish-shadow-sheet); }
.wish-dialog-card { border-radius: 16px; background: var(--wish-surface); padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.wish-dialog-title { font: 700 14.5px var(--wish-font); color: var(--wish-text-100); }
.wish-dialog-desc { font: 400 11.5px/1.6 var(--wish-font); color: var(--wish-text-64); }
.wish-dialog-note { font: 400 11px/1.55 var(--wish-font); color: var(--wish-text-50); }
.wish-dialog-actions { display: flex; gap: 9px; }
.wish-dialog-actions .wish-btn { flex: 1; height: 44px; }

/* 점검 안내 (P1-D23 · ADM-SYS-005 → ws-api.js WS.Gate) — 화면 전체를 덮는다. 다이얼로그 토큰 재사용, 시트(38) · 토스트(40) 위 */
.wish-maint { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: calc(24px + var(--wish-safe-top)) 24px 24px; background: var(--wish-bg-base); }
.wish-maint-card { width: 100%; max-width: 360px; border-radius: 16px; background: var(--wish-surface); padding: 20px 16px; display: flex; flex-direction: column; gap: 11px; }
.wish-maint-title { font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-maint-desc { font: 400 13px/1.6 var(--wish-font); color: var(--wish-text-64); white-space: pre-wrap; word-break: break-word; }
.wish-maint-note { font: 400 12px/1.55 var(--wish-font); color: var(--wish-text-50); }
/* v16.2 COM-004 A · 약관 동의 시트 (ws-api.js showConsent) — 제목 18/700 · 보조 13 · 전체 동의 52 · 항목 44 · 체크 22 r7 · CTA 52 */
.wish-consent { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 calc(8px + var(--wish-safe-bottom, 0px)); }
.wish-consent-head { display: flex; align-items: flex-start; gap: 12px; }
.wish-consent-title { flex: 1; font: 700 18px/1.4 var(--wish-font); color: var(--wish-text-100); }
.wish-consent-x { flex: none; width: 44px; height: 44px; margin: -6px -6px -6px 0;	/* 터치 타깃 ≥44px — G013 */ display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,.6); cursor: pointer; }
.wish-consent-desc { margin-top: -6px; font: 400 13px/1.5 var(--wish-font); color: rgba(255,255,255,.6); }
.wish-consent-all { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); font: 600 15px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
.wish-consent-list { display: flex; flex-direction: column; }
.wish-consent-item { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; }
.wish-consent-tap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.wish-consent-label { display: flex; flex-direction: column; gap: 2px; font: 500 14px/1.4 var(--wish-font); color: rgba(255,255,255,.85); }
.wish-consent-req { color: #F857B4; font-weight: 700; }
.wish-consent-opt { color: rgba(255,255,255,.5); font-weight: 700; }	/* COM-004 #3 [선택] = 흰색 50% (G064) */
.wish-consent-sub { font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-consent-sumry { margin: -2px 14px 6px 48px; font: 400 12px/1.55 var(--wish-font); color: rgba(255,255,255,.55); white-space: pre-wrap; word-break: break-word; }
.wish-consent-view { flex: none; font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.5); text-decoration: underline; text-underline-offset: 2px; padding: 10px 0 10px 8px; cursor: pointer; }
.wish-consent-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.28); display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.wish-consent-box svg { opacity: 0; }
.wish-consent-box.is-on { background: #7B0FC9; border-color: #7B0FC9; }
.wish-consent-box.is-on svg { opacity: 1; }
.wish-consent-cta { height: 52px; border: 0; border-radius: 26px; background: linear-gradient(135deg, #8F1AC6, #E64DB7); font: 700 15px var(--wish-font); color: #fff; cursor: pointer; }
.wish-consent-cta:disabled { background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); cursor: default; }
.wish-consent-full { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--wish-bg-base); padding-top: var(--wish-safe-top, 0px); }
.wish-consent-full-head { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 12px; font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-consent-full-back { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer; }
.wish-consent-full-body { flex: 1; min-height: 0; width: 100%; border: 0; background: #fff; }
/* v18.3 COM-004 B · 약관 개정 안내 (ws-api.js showNotice — COM-001 카드 위) — 아이콘 라벤더(위험 아님 · 원본 #5) · 요점 박스 흰 5% r14 · [전문 보기] 라벤더 밑줄 */
.wish-cdlg .wish-tnotice-icon { background: rgba(123,15,201,.22); color: #C9A4F5; }
.wish-tnotice-box { margin-top: 16px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); text-align: left; }
.wish-tnotice-box-k { font: 600 11.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-tnotice-box-v { font: 400 12.5px/1.55 var(--wish-font); color: rgba(255,255,255,.82); word-break: keep-all; overflow-wrap: anywhere; }
.wish-tnotice-full { margin-top: 12px; font: 500 12.5px var(--wish-font); color: #C9A4F5; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.wish-cdlg .wish-tnotice .wish-cdlg-actions { margin-top: 18px; }
.wish-maint .wish-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* 토스트 — 스펙에 정확한 치수 없음(§4.6), 기존 시트/그림자 토큰으로 안전하게 구성 */
.wish-toast {
  position: fixed; left: 50%; bottom: calc(100px + var(--wish-safe-bottom)); transform: translateX(-50%); z-index: 40;	/* v20.3:81 디자인 값 + 하단 인셋 */
  background: rgba(var(--wish-bg-base-rgb),.92); color: var(--wish-text-100); font: 500 13px var(--wish-font);
  padding: 12px 20px; border-radius: 14px; box-shadow: var(--wish-shadow-sheet); white-space: nowrap;
  opacity: 1; transition: opacity .2s ease;
}
.wish-toast.is-hidden { opacity: 0; }

/* 화면 중앙 모달 오버레이 — .wish-dialog 를 바텀시트가 아니라 중앙에 띄울 때 감싼다
   (MAKE-000 확인 다이얼로그 등, WAVE2 프론트 갭 #2) */
.wish-dialog-overlay {
  position: fixed; inset: 0; z-index: 38;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
}
.wish-dialog-overlay .wish-dialog { width: 100%; max-width: 360px; }

/* 범용 shake 피드백 + 스피너 (WAVE2 프론트 갭 #5) */
@keyframes wish-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.wish-shake { animation: wish-shake .4s; }
.wish-spinner {
  width: 16px; height: 16px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: transparent;
  animation: wish-spin .7s linear infinite;
}

/* 레이아웃 유틸 — 칩 랩/플렉스 행 컨테이너 (WAVE2 프론트 갭 #4) */
.wish-row { display: flex; align-items: center; gap: 8px; }
.wish-row-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wish-row-wrap--center { justify-content: center; }
.wish-col { display: flex; flex-direction: column; gap: 8px; }
.wish-stage-media { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }

/* ── STEP4 호감도 단계 카드 (10개 고정) ──────────────────────────────────── */
.wish-stage-card { background: var(--wish-surface); border-radius: 16px; padding: 13px; display: flex; gap: 12px; }
.wish-stage-card .wish-input::placeholder { color: rgba(255,255,255,.35); }	/* v19.2 MAKE-002 ② 단계명 · 태도 변화 예시 placeholder 흰색 35% (text.md:3153) */
.wish-stage-number { width: 24px; height: 24px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--wish-text-64); font: 700 11px var(--wish-font); display: flex; align-items: center; justify-content: center; flex: none; }
/* 1단계 카드의 대표 이미지 썸네일 — 읽기 전용(v7: 단계 카드에는 이미지 입력이 없다) */
.wish-stage-art { position: relative; width: 56px; aspect-ratio: 3 / 4; border-radius: 10px; background: rgba(255,255,255,.07); background-size: cover; background-position: center 20%; border: 1.5px dashed rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: none; }
.wish-stage-art.is-filled { border: none; }
.wish-stage-art-label { width: 56px; font: 600 8.5px/1.3 var(--wish-font); color: var(--wish-text-50); text-align: center; }
.wish-stage-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wish-stage-row-label { display: flex; align-items: center; gap: 6px; font: 600 11px var(--wish-font); color: var(--wish-text-50); }
.wish-stage-value { height: 38px; border-radius: 11px; background: rgba(255,255,255,.07); display: flex; align-items: center; padding: 0 12px; font: 400 13px var(--wish-font); color: var(--wish-text-100); }
.wish-stage-stepper { flex: 1; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.wish-stage-stepper-btn { font: 600 12px var(--wish-font); color: var(--wish-text-50); cursor: pointer; user-select: none; }
.wish-stage-stepper-btn[aria-disabled="true"] { opacity: .35; cursor: default; }	/* 슬롯 시트 호감도 0 · 100 끝 */
.wish-stage-stepper-value { font: 700 13px var(--wish-font); color: var(--wish-text-100); }
.wish-stage-textarea { border-radius: 11px; background: rgba(255,255,255,.07); padding: 9px 12px; min-height: 50px; display: flex; flex-direction: column; gap: 6px; font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-100); }

/* ── LIKE·DISLIKE 입력 블록 (각 최대 5개) ────────────────────────────────── */
.wish-keyword-block { background: var(--wish-surface); border-radius: 16px; padding: 13px; display: flex; flex-direction: column; gap: 9px; border-left: 3px solid transparent; }
.wish-keyword-block--like { border-left-color: var(--wish-primary); }
.wish-keyword-block--dislike { border-left-color: var(--wish-accent); }
.wish-keyword-block-head { display: flex; align-items: center; }
.wish-keyword-block-title { font: 700 12px var(--wish-font); color: var(--wish-text-100); }
.wish-keyword-block-count { margin-left: auto; font: 600 10.5px var(--wish-font); color: var(--wish-text-50); }
.wish-keyword-input-row { display: flex; align-items: center; gap: 8px; }
.wish-keyword-input { flex: 1; min-height: 40px; border-radius: 11px; background: var(--wish-field-surface); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: 400 12.5px var(--wish-font); color: var(--wish-text-40); }
.wish-keyword-remove { width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,.4); }
.wish-keyword-context { min-height: 44px; border-radius: 11px; background: var(--wish-field-surface); padding: 9px 12px; display: flex; flex-direction: column; gap: 5px; font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-40); }
.wish-intensity-row { display: flex; align-items: center; gap: 7px; }
/* QA1014 Q10 — 강도 pill · 추천 칩은 글자를 세로 가운데로(종전 inline 상자라 글자가 위로 붙었다) */
.wish-intensity-option { height: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border-radius: 13px; border: 1px solid rgba(255,255,255,.14); font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.55); cursor: pointer; }
.wish-intensity-option.is-selected { background: var(--wish-primary); border-color: transparent; color: var(--wish-text-100); font-weight: 600; }
.wish-preset-chip { height: 26px; flex: none; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 13px; border: 1px solid rgba(123,15,201,.7); color: rgba(255,255,255,.75); font: 500 10.5px var(--wish-font); cursor: pointer; white-space: nowrap; }
.wish-preset-chip--dislike { border-color: rgba(248,87,180,.6); }
.wish-reaction-example { display: flex; flex-direction: column; gap: 6px; border-radius: 11px; background: rgba(255,255,255,.04); padding: 10px 11px; }
/* ── QA1014 Q10 LIKE · DISLIKE 편집기 (v16.2 markup.html:3964-4016 · text.md:2928-2953, 2997-3006) ──
   머리(카드 밖) → 가로 스크롤 추천 칩 한 줄 → LIKE · DISLIKE 카드(위 .wish-keyword-block) → 「왜 설명이」 상자 → 강도 안내 */
.wish-kw-section { display: flex; flex-direction: column; gap: 10px; }
.wish-kw-head { display: flex; flex-direction: column; gap: 3px; }
.wish-kw-title { display: flex; align-items: center; gap: 6px; font: 700 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-kw-head-intro { margin: 0; font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.55); }
/* v20.3:3212-3216 키워드 작성 가이드 카드(목업 inline) — 라벤더 12% 바탕 · 40% 테두리, ! 22px 원 #C9A4F5(굵기 정의서 v20.3:79 가 900 금지 → 800), 칩 2개(좋은 예 · 나쁜 예 취소선) */
.wish-kw-guide { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(201,164,245,.12); border: 1px solid rgba(201,164,245,.4); }
.wish-kw-guide-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--wish-highlight); color: var(--wish-bg-base); display: flex; align-items: center; justify-content: center; font: 800 13px var(--wish-font); }
.wish-kw-guide-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wish-kw-guide-title { font: 700 12.5px/1.45 var(--wish-font); color: var(--wish-text-100); }
.wish-kw-guide-title b { font-weight: inherit; color: #FFD3EC; }
.wish-kw-guide-desc { font: 400 11px/1.5 var(--wish-font); color: rgba(255,255,255,.65); }
.wish-kw-guide-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.wish-kw-guide-chip { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 12px; font: 600 11px var(--wish-font); color: var(--wish-text-100); background: rgba(123,15,201,.35); }
.wish-kw-guide-chip.is-bad { background: rgba(255,255,255,.06); font-weight: 500; color: var(--wish-text-50); text-decoration: line-through; text-decoration-color: rgba(248,87,180,.8); }
.wish-kw-presets { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.wish-kw-presets::-webkit-scrollbar { display: none; }
/* 카드 안 키워드 칸 — 칸 사이 간격 7, 둘째 칸부터 헤어라인으로 나눈다 */
.wish-kw-item { display: flex; flex-direction: column; gap: 7px; }
.wish-kw-item + .wish-kw-item { padding-top: 11px; border-top: 1px solid rgba(255,255,255,.08); }
.wish-kw-sub { display: flex; flex-direction: column; gap: 5px; }
.wish-kw-label { flex: none; display: flex; align-items: center; gap: 5px; font: 600 10.5px var(--wish-font); color: rgba(255,255,255,.55); }
.wish-kw-badge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); font: 800 8.5px var(--wish-font); color: rgba(255,255,255,.5); white-space: nowrap; }
.wish-kw-badge--required { background: rgba(123,15,201,.3); color: var(--wish-highlight); }
/* 칸 안 카운터 — 한 줄(키워드)은 오른쪽 끝, 여러 줄(맥락 · 반응)은 오른쪽 아래 9.5px */
.wish-kw-field { flex: 1; min-width: 0; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 11px; background: var(--wish-field-surface); }
.wish-kw-area { display: flex; flex-direction: column; gap: 5px; min-height: 44px; padding: 9px 12px; border-radius: 11px; background: var(--wish-field-surface); }
.wish-kw-area--sm { gap: 4px; min-height: 40px; padding: 8px 11px; border-radius: 10px; }
.wish-kw-field .wish-input { flex: 1; min-width: 0; height: 38px; padding: 0; border-radius: 0; background: none; font: 400 12.5px var(--wish-font); }
.wish-kw-area .wish-textarea { display: block; min-height: 0; padding: 0; border-radius: 0; background: none; font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-100); }
.wish-kw-area--sm .wish-textarea { font-size: 11px; }
.wish-kw-field .wish-field-counter, .wish-kw-area .wish-field-counter { flex: none; margin-left: 0; font: 400 9.5px var(--wish-font); color: rgba(255,255,255,.4); }
.wish-kw-area .wish-field-counter { align-self: flex-end; }
.wish-kw-field .wish-field-counter.is-warning, .wish-kw-area .wish-field-counter.is-warning { color: var(--wish-accent); }
/* 접이식 머리 — 반응 예시(600 10.5 65%) · 왜 설명이(600 10.5 60%), 셰브런은 오른쪽 끝 */
.wish-kw-fold { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.wish-kw-fold-title { font: 600 10.5px var(--wish-font); color: rgba(255,255,255,.65); }
.wish-kw-fold-chev { margin-left: auto; display: flex; color: rgba(255,255,255,.4); }
.wish-kw-intro { margin: 0; font: 400 10px/1.5 var(--wish-font); color: rgba(255,255,255,.5); }
.wish-kw-hint { margin: 0; font: 400 9.5px var(--wish-font); color: rgba(255,255,255,.4); }
/* 「+ LIKE 추가」 — 카드 안 맨 아래 h38 r12 1.5px 점선 22% */
.wish-dashed-btn.wish-kw-add { height: 38px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.22); font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.6); }
/* 「왜 설명이 필요한가요?」 상자 — r12 · 흰 4% · 10 12 · 간격 6 · ✓ #C9A4F5 */
.wish-kw-why { display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: rgba(255,255,255,.04); padding: 10px 12px; }
.wish-kw-why-title { font: 600 10.5px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-kw-why-row { display: flex; gap: 6px; }
.wish-kw-why-mark { flex: none; font: 700 10px var(--wish-font); color: rgba(255,255,255,.4); }
.wish-kw-why-text { flex: 1; font: 400 10.5px/1.45 var(--wish-font); color: rgba(255,255,255,.4); }
.wish-kw-why-row.is-good .wish-kw-why-mark { color: var(--wish-highlight); }
.wish-kw-why-row.is-good .wish-kw-why-text { color: rgba(255,255,255,.8); }
.wish-kw-foot { margin: 0; font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.5); }

/* ── 일러스트 컬렉션 그리드 (2열, STEP5) ─────────────────────────────────── */
.wish-collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wish-collection-caption { font: 400 10px var(--wish-font); color: var(--wish-text-64); }
.wish-collection-caption.is-muted { color: var(--wish-text-40); }
/* 수집 총량 세그먼트 [5장·10장·20장] — 등록 수(기본 일러스트 포함)보다 작은 값 · 수정 허브의 발행 총량 미만은 비활성 + 취소선 */
.wish-segmented--total .wish-segmented-option[aria-disabled="true"] { text-decoration: line-through; }
/* 등록 수 > 총량 (이관 데이터 — 216 #27~29 의 23 / 20) — 카운터를 경고색으로. 저장은 검증이 막는다 */
.wish-progress-row.is-over .wish-progress-fill { background: var(--wish-accent); }
.wish-progress-row.is-over .wish-progress-label { color: var(--wish-accent); }

/* ── STEP6 입력 요약 체크리스트 — 완료/미완료(필수)/미입력(선택) ─────────── */
.wish-checklist-row { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-checklist-icon { flex: none; width: 14px; height: 14px; color: var(--wish-text-40); }
.wish-checklist-label { flex: 1; font: 500 12px var(--wish-font); color: var(--wish-text-100); }
.wish-checklist-meta { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
.wish-checklist-row.is-done .wish-checklist-icon { color: var(--wish-highlight); }
.wish-checklist-row.is-done .wish-checklist-label { color: var(--wish-text-80); }
.wish-checklist-row.is-missing .wish-checklist-icon,
.wish-checklist-row.is-missing .wish-checklist-label { color: var(--wish-accent); }
.wish-checklist-row.is-skipped .wish-checklist-icon,
.wish-checklist-row.is-skipped .wish-checklist-label { color: var(--wish-text-40); }
.wish-checklist-meta.is-accent { color: var(--wish-accent); }	/* 일러스트 컬렉션 총량 미달 「미입력」 (사용자 결정 10-13) */
/* FLAT(make-004 컷 ② ⑩) — 카드 없이 제목 600 12.5 · 행 사이 6px, 메타 10.5 */
.wish-checklist--flat { display: flex; flex-direction: column; gap: 6px; }
.wish-field-label.wish-checklist-head--flat { font-size: 12.5px; }
.wish-checklist--flat .wish-checklist-meta { font-size: 10.5px; }
/* BUILD(make-003 컷 ① ②) — 카드 #2E2B42 r16 13px 14px · 안쪽 제목 600 13 · 행은 칸 없이 · 18px 원형 아이콘(완료 primary ✓ · 필수 미입력 accent ! · 선택 미입력 흰 14% –) */
.wish-checklist--build { padding: 13px 14px; gap: 8px; }
.wish-checklist-title { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-checklist--build .wish-checklist-row { padding: 0; background: none; border-radius: 0; }
.wish-checklist--build .wish-checklist-icon { width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: 800 10px var(--wish-font); color: var(--wish-text-100); background: rgba(255,255,255,.14); }
.wish-checklist--build .wish-checklist-label { color: var(--wish-text-100); }
.wish-checklist--build .is-done .wish-checklist-icon { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-checklist--build .is-done .wish-checklist-label { color: rgba(255,255,255,.85); }
.wish-checklist--build .is-missing .wish-checklist-icon { background: var(--wish-accent); color: var(--wish-text-100); }
.wish-checklist--build .is-missing .wish-checklist-label { color: var(--wish-text-100); }
.wish-checklist--build .is-skipped .wish-checklist-icon { color: var(--wish-text-100); }
.wish-checklist--build .is-skipped .wish-checklist-label { color: var(--wish-text-40); }

/* ── 완성 미리보기 (MAKE-003 ① 「캐릭터 상세 미리보기」 — v20.3:3358 · 목업 라벨 600 12px 흰 60% · 라벨-카드 간격 9) ──────────────── */
.wish-preview-block { display: flex; flex-direction: column; gap: 9px; }
.wish-preview-label { font: 600 12px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-preview-card { border-radius: 16px; overflow: hidden; background: var(--wish-surface); }
.wish-preview-card-hero { position: relative; height: 150px; background-size: cover; background-position: center 18%; }
.wish-preview-card--detail { background: var(--wish-bg-base); padding-bottom: 16px; }	/* MAKE-003 [캐릭터 상세] = CHAR-001 축소 렌더(renderReadOnly) — 히어로 오버레이가 bg-base 로 끝나서 바탕을 맞춘다 */
.wish-preview-card-hero--34 { aspect-ratio: 3 / 4; height: auto; }	/* v15.5 CHAR-001 미리보기 카드만 3:4 (openingPreview · chat003Preview 는 150px 유지) */
.wish-preview-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--wish-surface-rgb),0) 40%, var(--wish-surface) 100%); }
.wish-preview-card-body { position: relative; margin-top: -16px; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.wish-preview-card-name { font: 700 17px var(--wish-font); color: var(--wish-text-100); }
.wish-preview-card-desc { font: 400 12px var(--wish-font); color: var(--wish-text-64); }
.wish-preview-card-tags { display: flex; gap: 5px; }
.wish-preview-card-tag { font: 400 10px var(--wish-font); color: var(--wish-text-50); background: rgba(255,255,255,.08); padding: 3px 7px; border-radius: 8px; }
/* v20.3 MAKE-004 ⑨ 완성 요약 카드(목업 make-004 컷 ②) — 가로 카드 */
.wish-make-summary { display: flex; gap: 12px; background: var(--wish-surface); border-radius: 16px; padding: 13px; }
.wish-make-summary-thumb { flex: none; width: 56px; height: 74px; border-radius: 12px; background: var(--wish-field-surface) center 20% / cover no-repeat; }
.wish-make-summary-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wish-make-summary-name { font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-make-summary-desc { font: 400 11.5px/1.45 var(--wish-font); color: var(--wish-text-64); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-make-summary-meta { font: 500 10.5px var(--wish-font); color: var(--wish-text-45); }

/* ── 체크박스 행 (가이드라인 동의) ────────────────────────────────────────── */
.wish-checkbox-row { display: flex; align-items: flex-start; gap: 9px; border-radius: 12px; padding: 12px 13px; cursor: pointer; }
.wish-checkbox-box { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.wish-checkbox-box.is-checked { background: var(--wish-primary); }
.wish-checkbox-label { flex: 1; font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-80); }
/* v20.3:3128 — 제작 발행 화면 가이드라인 체크박스 = 카드(surface #2E2B42 · 라운드 14 · 패딩 12/13). 가입 탈퇴(page-my-account) 같은 기존 .wish-checkbox-row 는 그대로 */
.wish-checkbox-row--card { background: var(--wish-surface); border-radius: 14px; }
/* v20.3:3399-3406 · 3124-3128 — 가이드라인 안내 문구: 카드 없이 bg-base 위 · 12/400 · 1.6 · 흰 50% · 링크만 #C9A4F5 600 nowrap.
   위 카드에서 16px(= .wish-wizard-body gap) · 체크박스까지 12px(gap 16 에서 −4) */
/* v20.4 MAKE-003 ⑤ · MAKE-004 ⑫(text.md:3149 · 3424) — 양끝 정렬(어절 단위 줄바꿈 · 마지막 줄은 왼쪽 정렬). <br> 앞 줄도 그 문단의 마지막 줄이라 왼쪽 */
.wish-guide-note { margin: 0 0 -4px; font: 400 12px/1.6 var(--wish-font); color: var(--wish-text-50); text-wrap: pretty;
  text-align: justify; text-align-last: left; word-break: keep-all; }
.wish-guide-note-link { font-weight: 600; color: var(--wish-highlight); white-space: nowrap; cursor: pointer; }

/* v20.3:3370-3375 · 3393-3397 — MAKE-003 ③④ · MAKE-004 ⑪ 공개 영역(목업 inline). 바깥 카드 없음 — 제목 + 공개/비공개 카드 2장(field-surface · r14 · 11/12),
   ④ 코멘트 카드(field-surface · r14 · 12/13) · 댓글 허용 행(surface · r14 · 11/13 · 토글 38×22) */
.wish-make-public { display: flex; flex-direction: column; gap: 8px; }
.wish-make-public > .wish-field-label { color: var(--wish-text-100); }
.wish-make-public .wish-segmented { gap: 9px; }
.wish-make-public .wish-choice-card { background: var(--wish-field-surface); border: 1.5px solid transparent; }
.wish-make-public .wish-choice-card.is-selected { border-color: var(--wish-primary); }
.wish-make-public .wish-choice-card:not(.is-selected) .wish-choice-card-title { color: rgba(255,255,255,.7); }
.wish-make-public .wish-choice-card-desc { color: var(--wish-text-55); }
.wish-make-cmnt { display: flex; flex-direction: column; gap: 6px; border-radius: 14px; background: var(--wish-field-surface); padding: 12px 13px; }
.wish-make-cmnt .wish-field-label { font: 600 11.5px var(--wish-font); color: rgba(255,255,255,.7); }
.wish-make-cmnt .wish-textarea--bare { background: transparent; padding: 0; border-radius: 0; font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-80); }
.wish-make-cmnt .wish-field-counter { align-self: flex-end; margin-left: 0; font: 400 10px var(--wish-font); }
.wish-make-allow { display: flex; align-items: center; justify-content: space-between; background: var(--wish-surface); border-radius: 14px; padding: 11px 13px; }
.wish-make-allow-label { font: 500 12px var(--wish-font); color: var(--wish-text-80); }
.wish-make-allow .wish-toggle { width: 38px; height: 22px; border-radius: 11px; }
.wish-make-allow .wish-toggle-knob { top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 8px; }
.wish-make-allow .wish-toggle.is-on .wish-toggle-knob { left: 19px; }

/* ── 발행 CTA (그라디언트) + 완료 화면 ───────────────────────────────────── */
.wish-btn-publish {
  width: 100%; height: 52px; border: 0; border-radius: 26px;
  background: var(--wish-gradient-cta); color: var(--wish-text-100);
  font: 700 15px var(--wish-font); cursor: pointer;
  box-shadow: var(--wish-shadow-cta-publish);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wish-btn-publish:disabled, .wish-btn-publish.is-disabled { opacity: .4; pointer-events: none; }
/* accent 단색 변형 — CHAT-002 ⑪ 답변 추천 · ✎ 새로운 대답 시트 CTA (목업 markup.html:2115 #F857B4 · 핑크 그림자 · ⟳16 간격 7, QA1012 U10).
   기본 .wish-btn-publish(발행 · 결제 등 그라디언트)는 그대로 */
.wish-btn-publish--accent { background: var(--wish-accent); color: #EEEEEE; box-shadow: 0 10px 24px rgba(248,87,180,.35); gap: 7px; }

/* 화면 하단 고정 CTA 컨테이너 — 스크롤과 무관하게 항상 노출(CHAR-001 "대화 시작하기" 등).
   콘텐츠 쪽에는 이 바 높이만큼 하단 여백(.wish-bottom-spacer)을 함께 둘 것. */
.wish-fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 20px 20px calc(30px + var(--wish-safe-bottom));	/* v20.3:81 디자인 값 + 하단 인셋 */
  background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0), var(--wish-bg-base) 45%);
}
.wish-bottom-spacer { height: calc(100px + var(--wish-safe-bottom)); }

.wish-done-screen { min-height: calc(100vh - var(--wish-safe-top)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 34px; text-align: center; }
.wish-done-image { width: 96px; height: 128px; border-radius: 16px; background-size: cover; background-position: center 18%; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.wish-done-title { font: 700 18px var(--wish-font); color: var(--wish-text-100); }
.wish-done-desc { font: 400 12.5px/1.6 var(--wish-font); color: var(--wish-text-64); }
.wish-done-actions { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.wish-btn--block { width: 100%; }

/* 상태 배지 — 완료화면 "검수 대기" + MY-012 "공개"/"검수 대기"/"반려" 공용 */
.wish-status-badge { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 12px; background: rgba(255,255,255,.08); font: 600 10.5px var(--wish-font); color: var(--wish-text-64); }
.wish-status-badge--sm { height: 18px; padding: 0 7px; border-radius: 9px; font-size: 9.5px; font-weight: 700; }
.wish-status-badge--public { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-status-badge--pending { background: rgba(255,255,255,.08); color: var(--wish-text-64); }
.wish-status-badge--rejected { background: rgba(248,87,180,.15); color: var(--wish-accent); }

/* 저장 실패 / 반려 사유 카드 — 좌측 accent 보더, 우상단 모서리만 라운드 */
.wish-save-failed-card { background: rgba(248,87,180,.1); border-left: 3px solid var(--wish-accent); border-radius: 0 12px 12px 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.wish-save-failed-title { font: 700 12px var(--wish-font); color: var(--wish-accent); }
.wish-save-failed-desc { font: 400 11.5px/1.55 var(--wish-font); color: var(--wish-text-64); }
.wish-save-failed-action { font: 600 11px var(--wish-font); color: var(--wish-text-64); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════════════
   MY-012 — 내 캐릭터 수정 · 그룹 선택형
   ══════════════════════════════════════════════════════════════════════ */
.wish-summary-header { display: flex; align-items: center; gap: 13px; background: var(--wish-surface); border-radius: 16px; padding: 14px; }
.wish-summary-image { width: 72px; height: 72px; border-radius: 18px; flex: none; background-size: cover; background-position: center 22%; }
.wish-summary-name { font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-summary-meta { font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-summary-preview-link { font: 600 11px var(--wish-font); color: var(--wish-text-64); cursor: pointer; }

.wish-group-list { display: flex; flex-direction: column; }
.wish-group-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--wish-line); cursor: pointer; }
.wish-group-row-name { font: 600 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-group-row-summary { font: 400 11px var(--wish-font); color: var(--wish-text-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-group-row-chevron { flex: none; color: rgba(255,255,255,.35); }

.wish-danger-zone { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--wish-line); padding-top: 14px; }
.wish-danger-row { display: flex; align-items: center; gap: 10px; background: var(--wish-surface); border-radius: 14px; padding: 13px 14px; }
.wish-danger-row-title { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-danger-row-desc { font: 400 10.5px/1.45 var(--wish-font); color: var(--wish-text-50); }
.wish-danger-delete { display: flex; align-items: center; height: 46px; font: 600 13px var(--wish-font); color: var(--wish-accent); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════════════
   HOME-01~05 · SRCH-001 · CHAR-001 (도윤 위임, WAVE3 P5-1)
   출처: doc/specs/VISUAL-user.md 해당 ID 절 + notes/spec-extract/user/source/
   markup.html L276-1361. 카탈로그: notes/wish-dev/harin/wishes-css-home.md
   ══════════════════════════════════════════════════════════════════════ */

/* ── 가로 스크롤 공용 유틸(장르칩·태그칩 행 등) ───────────────────────────── */
.wish-chip-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.wish-chip-scroll::-webkit-scrollbar { display: none; }
/* 가로 스크롤 줄의 칩은 줄어들지 않는다 — flex 기본 shrink 로 폭이 깎이면 칩 안 글자가 「# / 학원물」 두 줄로 꺾였다
   (CHAT-003 드로어 요약 카드 · 375 폭). 넘치면 줄이 가로 스크롤된다(이 유틸의 원래 목적) */
.wish-chip-scroll > .wish-tag-chip, .wish-chip-scroll > .wish-chip { flex: none; white-space: nowrap; }

/* ── 섹션 헤더 공용(타이틀+근거태그+더보기) ───────────────────────────────── */
.wish-section-header { display: flex; align-items: center; gap: 8px; }
.wish-section-title { font: 600 17px var(--wish-font); color: var(--wish-text-100); }
.wish-link-more { margin-left: auto; font: 500 12px var(--wish-font); color: var(--wish-text-50); cursor: pointer; white-space: nowrap; }
.wish-link-more--block { display: block; margin: 8px auto 0; text-align: center; width: fit-content; }
.wish-caption-meta { margin-left: auto; font: 400 11px var(--wish-font); color: var(--wish-text-40); white-space: nowrap; }
.wish-list-end { text-align: center; font: 400 11px var(--wish-font); color: var(--wish-text-40); padding-top: 14px; }

/* ── 캐릭터 카드 공통 스펙 (HOME-01/02/04/05/06 · MY-007 전체 공유) ──────────
   v15.5 2열 카드 이미지 3:4 통일(HOME-02 TOP 3 = .wish-rank-top3-media 도 3:4) — 타이포는 모든 카드 동일 */
.wish-char-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--wish-surface); cursor: pointer; }
.wish-char-card-media {
  position: relative; width: 100%; aspect-ratio: 3 / 4; height: auto;
  background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%;
  display: flex; align-items: center; justify-content: center;
  font: 700 34px var(--wish-font); color: rgba(255,255,255,.45);
}
.wish-char-card-like {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
  border: none; background: rgba(var(--wish-bg-base-rgb),.4); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--wish-text-100);
}
/* liked 상태 — 하트 svg가 stroke/fill="currentColor"면 이 색으로 동기 반영됨 */
.wish-char-card-like.is-liked { color: var(--wish-accent); }
/* 스켈레톤 = 3:4 이미지 블록(.wish-char-card-media) + 이름 · 소개 2줄 — 고정 높이 없이 내용으로 정해진다(v13:733) */
.wish-char-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; }
.wish-char-card-name { font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-char-card-desc { font: 400 12px/1.35 var(--wish-font); color: var(--wish-text-64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-char-card-tags { display: flex; gap: 4px; margin-top: 2px; }
.wish-char-card-tag { font: 400 10px var(--wish-font); color: var(--wish-text-55); background: rgba(255,255,255,.08); padding: 3px 7px; border-radius: 8px; }
.wish-char-card-stats { display: flex; align-items: center; gap: 10px; margin-top: 1px; color: var(--wish-text-40); }
.wish-char-card-stat { display: flex; align-items: center; gap: 4px; font: 400 11px var(--wish-font); }
.wish-char-card-stat.is-liked { color: var(--wish-accent); }

/* 카드 좌상단 오버레이 배지(NEW·등록시점·순위+등락 공용) */
.wish-card-overlay-badge {
  position: absolute; top: 8px; left: 8px; height: 22px;
  display: flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 11px;
  background: rgba(var(--wish-bg-base-rgb),.62); font: 700 10px var(--wish-font); color: var(--wish-text-100); white-space: nowrap;
}
.wish-card-overlay-badge--new { background: var(--wish-accent); }

/* MY-007 좋아요 탭 편집 모드 — 카드 좌상단 선택 표시.
   공유 컴포넌트 WS.Comp.charCard 는 5개 화면이 함께 쓰고 선택 슬롯이 없다. 그 안의
   .wish-char-card-media 가 position:relative 지만 거기에 주입할 방법이 없어서,
   래퍼가 자체 배치 기준을 만들고 그 위에 체크를 얹는다(컴포넌트는 건드리지 않는다).
   위치·크기·배경은 바로 위 .wish-card-overlay-badge 관례를 그대로 따른다. */
.wish-pick-wrap { position: relative; min-width: 0; } /* 그리드 아이템(1fr) — min-width:auto 면 카드 내용폭(546px)으로 열이 벌어진다 */
.wish-pick-check {
  position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 11px;
  background: rgba(var(--wish-bg-base-rgb),.62); border: 1.5px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); z-index: 2;
}
.wish-pick-check.is-picked { background: var(--wish-primary); border-color: transparent; }

/* ── 가로 스와이프 배너 (HOME-01 EVENT) ──────────────────────────────────── */
.wish-banner {
  position: relative; height: 150px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--wish-surface) 0%, var(--wish-primary) 55%, var(--wish-accent) 130%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
}
/* v20.3:788-790 — 2장 이상이면 트랙(translateX)이 옮겨 가며 전환 300ms. 복제 장이 앞뒤에 있어 마지막↔첫 장도 같은 방향으로 이어진다 */
.wish-banner-view { overflow: hidden; border-radius: 16px; }
.wish-banner-track { display: flex; transition: transform .3s ease; will-change: transform; }
.wish-banner-track > .wish-banner { flex: 0 0 100%; min-width: 0; box-sizing: border-box; }
.wish-banner-badge { position: absolute; top: 16px; left: 20px; font: 700 10px var(--wish-font); letter-spacing: 1px; background: rgba(255,255,255,.16); padding: 4px 8px; border-radius: 10px; color: var(--wish-text-100); }
.wish-banner-title { font: 700 18px/1.3 var(--wish-font); color: var(--wish-text-100); }
/* 배너 스켈레톤 (2026-10-26) — 추천 응답 전(.wish-banner--skel) · 이미지 배너는 안쪽 층이 이미지를 받기 전까지 셔머가 비친다 */
.wish-banner.wish-banner--skel, .wish-banner.wish-banner--image {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%; animation: wish-skeleton-shimmer 1.4s ease infinite;
}
.wish-banner-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* 홈 첫 진입 순서 (2026-10-26) — 배너가 먼저, 캐릭터 섹션은 배너 이미지가 온 뒤 위에서부터 차례로(page-home stageReveal) */
[data-pane="recommend"].is-staged > .wish-wizard-body > [data-sec]:not([data-sec="loading"]),
[data-pane="recommend"].is-staged .wish-wizard-body > [data-sec]:not([data-sec="loading"]) { opacity: 0; transform: translateY(10px); }
[data-pane="recommend"].is-staged.is-in .wish-wizard-body > [data-sec] { animation: wish-stage-up .34s ease-out both; }
[data-pane="recommend"].is-staged.is-in .wish-wizard-body > [data-sec]:nth-of-type(2) { animation-delay: .07s; }
[data-pane="recommend"].is-staged.is-in .wish-wizard-body > [data-sec]:nth-of-type(3) { animation-delay: .14s; }
[data-pane="recommend"].is-staged.is-in .wish-wizard-body > [data-sec]:nth-of-type(4) { animation-delay: .21s; }
[data-pane="recommend"].is-staged.is-in .wish-wizard-body > [data-sec]:nth-of-type(n+5) { animation-delay: .28s; }
@keyframes wish-stage-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wish-banner .wish-banner-dots { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .wish-banner.wish-banner--skel, .wish-banner.wish-banner--image { animation: none; } }
/* 레이지 이미지 자리 (2026-10-26) — 화면 근처에 오기 전(data-bg) · 받는 중(.is-bg-loading) 셔머. 선택자를 두 번 써 자리별 그라디언트 자리표시(0,1,0~0,2,0)를 이긴다 */
[data-bg][data-bg], .is-bg-loading.is-bg-loading {
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%);
  background-size: 400% 100%; animation: wish-skeleton-shimmer 1.4s ease infinite;
}
@media (prefers-reduced-motion: reduce) { [data-bg][data-bg], .is-bg-loading.is-bg-loading { animation: none; } }
.wish-banner-desc { font: 400 12px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-banner-dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 5px; align-items: center; }
.wish-banner-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.wish-banner-dot.is-active { width: 18px; background: var(--wish-text-100); }

/* ── 테마 큐레이션 리스트 카드 (HOME-01 §6) ───────────────────────────────── */
.wish-curation-row { display: flex; align-items: center; gap: 12px; background: var(--wish-surface); border-radius: 16px; padding: 12px; cursor: pointer; }
.wish-curation-thumb { width: 56px; height: 56px; border-radius: 16px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 22%; flex: none; display: flex; align-items: center; justify-content: center; font: 700 20px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-curation-title { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-curation-desc { font: 400 12px/1.35 var(--wish-font); color: var(--wish-text-64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-curation-meta { font: 400 10px var(--wish-font); color: var(--wish-text-40); }

/* ── 실시간 랭킹 TOP5 티저 (HOME-01 §8, 행높이 96px) ──────────────────────── */
.wish-rank-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--wish-line); cursor: pointer; min-height: 96px; }
.wish-rank-thumb-wrap { position: relative; flex: none; }
.wish-rank-thumb { width: 72px; height: 72px; border-radius: 18px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 22%; display: flex; align-items: center; justify-content: center; font: 700 24px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-rank-badge { position: absolute; bottom: -4px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--wish-primary); color: var(--wish-text-100); font: 700 10px var(--wish-font); display: flex; align-items: center; justify-content: center; }
.wish-rank-badge.is-outside-top3 { background: var(--wish-surface); }
.wish-rank-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.wish-rank-name-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-rank-name { font: 600 15px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-rank-change { font: 600 10px var(--wish-font); background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 7px; flex: none; color: var(--wish-text-40); }
.wish-rank-change.is-up, .wish-rank-change.is-new { color: var(--wish-accent); }

/* ── 기간/세그먼트 트랙 (HOME-02 실시간·일간·주간) ─────────────────────────── */
.wish-segment-row { display: flex; align-items: center; gap: 10px; }
/* CHAT-002 ✦ 답변 추천 — 행 오른쪽 끝 (정의서 1313 「우측은 보조 액션 ✦ 하나뿐」, QA1012 U6) */
.wish-segment-row .wish-segment-suggest { flex: none; margin-left: auto; }
.wish-segment-track { display: flex; flex: none; background: var(--wish-surface); border-radius: 17px; padding: 2px; }
.wish-segment-btn { flex: 1; height: 30px; padding: 0 14px; border: 0; background: none; border-radius: 15px; font: 500 12px var(--wish-font); color: var(--wish-text-64); cursor: pointer; white-space: nowrap; }
.wish-segment-btn.is-active { background: var(--wish-primary); color: var(--wish-text-100); font-weight: 700; }
.wish-segment-caption { margin-left: auto; font: 400 10px var(--wish-font); color: var(--wish-text-40); }
/* 반투명 트랙 변형(CHAT-002 대사/*행동*/!명령어 3택 — 스펙이 이 화면만
   rgba(255,255,255,.06) 트랙을 명시, radius17은 기본값과 동일해서 배경만 덮음) */
.wish-segment-track--dim { background: rgba(238,238,238,.06); padding: 3px; }
/* CHAT-002 모드 세그먼트 [대사 · *행동* · !명령어] — 정의서 v12 목업: 선택 = accent 단색 · #EEEEEE 600/12 · 28px r14 / 미선택 rgba(238,238,238,.5) */
.wish-segment-track--dim .wish-segment-btn { height: 28px; padding: 0 13px; border-radius: 14px; font-weight: 600; color: rgba(238,238,238,.5); }
.wish-segment-track--dim .wish-segment-btn.is-active { background: var(--wish-accent); color: #EEEEEE; font-weight: 600; }
/* 생성중/명령어없음 등 일시 비활성 — 기존 트랙·버튼에 추가하는 상태 모디파이어 */
.wish-segment-row.is-disabled { opacity: .4; pointer-events: none; }
.wish-segment-btn:disabled, .wish-segment-btn.is-disabled { opacity: .4; pointer-events: none; }

/* ── TOP3 강조 카드 (HOME-02, 2px 그라디언트 테두리 + 알파 등급) ──────────── */
.wish-rank-top3 {
  padding: 2px; border-radius: 19px;
  background: linear-gradient(135deg, var(--wish-primary), var(--wish-accent));
}
.wish-rank-top3.is-rank-2 { background: linear-gradient(135deg, rgba(123,15,201,.55), rgba(248,87,180,.55)); }
.wish-rank-top3.is-rank-3 { background: linear-gradient(135deg, rgba(123,15,201,.3), rgba(248,87,180,.3)); }
.wish-rank-top3-inner { border-radius: 17px; overflow: hidden; background: var(--wish-surface); display: flex; flex-direction: column; cursor: pointer; }
.wish-rank-top3-media {
  position: relative; width: 100%; aspect-ratio: 3 / 4; height: auto;
  background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%;
  display: flex; align-items: center; justify-content: center; font: 700 46px var(--wish-font); color: rgba(255,255,255,.42);
}
/* 크라운 배지 — 1위만 accent+글로우, 2·3위는 중립(무채색) */
.wish-rank-top3-crown {
  position: absolute; top: 10px; left: 10px; height: 26px; padding: 0 10px; border-radius: 13px;
  background: rgba(var(--wish-bg-base-rgb),.62); color: var(--wish-text-100); font: 700 13px var(--wish-font);
  display: flex; align-items: center; gap: 2px;
}
.wish-rank-top3-crown-suffix { font-size: 9px; opacity: .85; }
.wish-rank-top3.is-rank-1 { box-shadow: var(--wish-shadow-glow-accent); }
.wish-rank-top3.is-rank-1 .wish-rank-top3-crown { background: var(--wish-accent); box-shadow: var(--wish-shadow-crown); }
.wish-rank-top3-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; }

/* 4~50위 리스트 카드는 .wish-char-card 재사용 + 순위 오버레이(.wish-card-overlay-badge) 조합.
   오버레이 배지 내부에 순위+등락을 함께 넣을 때는 .wish-rank-change(자체 pill배경) 대신
   이 무배경 변형을 쓴다 — 배지가 이중 pill로 겹쳐 보이는 문제 방지 */
.wish-rank-change-plain { font: 600 9px var(--wish-font); color: var(--wish-text-40); }	/* ▼·—=흰색 40% (HOME-02 ④ text.md:916) — G194 */
.wish-rank-change-plain.is-up, .wish-rank-change-plain.is-new { color: var(--wish-accent); }

/* ── 급상승 태그 (HOME-02 하단 고정) ──────────────────────────────────────── */
.wish-rise-tag { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.wish-rise-tag-label { font: 500 12px var(--wish-font); color: var(--wish-text-100); }
.wish-rise-tag-pct { font: 600 11px var(--wish-font); color: var(--wish-accent); }

/* ── 태그 카테고리 그룹 (HOME-03) ─────────────────────────────────────────── */
.wish-tag-group { display: flex; flex-direction: column; gap: 10px; background: var(--wish-surface); border-radius: 16px; padding: 14px 16px; }
.wish-tag-group-head { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wish-tag-group-name { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-tag-group-count { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
.wish-tag-group-chevron { margin-left: auto; color: rgba(255,255,255,.5); transition: transform .2s ease; }
.wish-tag-group-head.is-open .wish-tag-group-chevron { transform: rotate(180deg); }
/* [실험] 카테고리 펼칠 때 칩이 슬라이드-인 (접기는 즉시 — 재렌더 방식이라 확장만 애니). 태그 그룹에만 스코프 */
.wish-tag-group > .wish-row-wrap { animation: wish-tag-slide .18s ease-out; }
@keyframes wish-tag-slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.wish-tag-chip-count { font: 400 10px var(--wish-font); color: var(--wish-text-40); }
.wish-tag-chip.is-selected .wish-tag-chip-count { color: rgba(255,255,255,.7); }

/* ── 하단 고정 선택 바 (HOME-03, bottom 86px — 탭바 위 슬라이드업) ────────── */
.wish-selection-bar-wrap {
  position: fixed; left: 0; right: 0; bottom: calc(86px + var(--wish-safe-bottom)); padding: 12px 16px; z-index: 21;	/* v20.3:81 탭바(22px+인셋) 위 */
  background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0), rgba(var(--wish-bg-base-rgb),.96) 40%);
}
.wish-selection-bar {
  background: var(--wish-surface); border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--wish-shadow-fixed-bar);
}
.wish-selection-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wish-selection-bar-meta { font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-selection-bar-reset { cursor: pointer; text-decoration: underline; }
.wish-selection-bar-preview { font: 600 12px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-selection-bar-cta {
  flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 22px;
  background: var(--wish-gradient-cta); color: var(--wish-text-100);
  font: 700 13px var(--wish-font); cursor: pointer; box-shadow: var(--wish-shadow-cta-publish);
}
.wish-selection-bar-cta:disabled, .wish-selection-bar-cta.is-disabled { opacity: .4; pointer-events: none; background: rgba(255,255,255,.12); box-shadow: none; }

/* ── 태그 검색 입력 필드 (HOME-03 검색 / SRCH-001 검색 헤더 공용) ─────────── */
.wish-search-field { flex: 1; height: 44px; border-radius: 22px; background: var(--wish-surface); display: flex; align-items: center; gap: 9px; padding: 0 16px; }
/* QA1012 T2 — HOME-03 은 세로 flex(.wish-wizard-body) 안이라 flex:1(basis 0)이 height 를 무시하고 홀쭉해진다. 세로 배치에서는 44px 고정 */
.wish-search-field--stack { flex: none; }
.wish-search-field-icon { flex: none; color: rgba(255,255,255,.5); }
.wish-search-field-input { flex: 1; background: none; border: 0; outline: none; font: 400 14px var(--wish-font); color: var(--wish-text-100); width: 100%; }
.wish-search-field-input::placeholder { color: var(--wish-text-40); }

/* 태그 자동완성 드롭다운(HOME-03) */
.wish-suggest-dropdown { background: var(--wish-surface); border-radius: 14px; margin-top: 8px; overflow: hidden; }
.wish-suggest-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; }
.wish-suggest-row:not(:last-child) { border-bottom: 1px solid var(--wish-line); }

/* ── 툴바(결과수/정렬/필터, HOME-04·05 공용) ─────────────────────────────── */
.wish-toolbar { display: flex; align-items: center; gap: 10px; }
.wish-toolbar-count { flex: 1; font: 600 14px var(--wish-font); color: var(--wish-text-100); }
/* 정렬칩 등 가로스크롤 요소를 toolbar/헤더 행 안에 넣을 때 — flex 자식이 스크롤 폭을 갖도록 */
.wish-toolbar-chips { flex: 1; min-width: 0; }
/* HOME-05 등 "뒤로가기 + 타이틀/서브카피" 헤더 공용 컬럼 */
.wish-header-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 3px; }
.wish-header-subcopy { font: 400 12px var(--wish-font); color: var(--wish-text-50); }
.wish-toolbar-sort { display: flex; align-items: center; gap: 5px; font: 500 12px var(--wish-font); color: rgba(255,255,255,.7); cursor: pointer; }
.wish-toolbar-filter { position: relative; cursor: pointer; color: var(--wish-text-100); }
.wish-toolbar-filter-badge {
  position: absolute; top: -5px; right: -6px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--wish-accent); display: flex; align-items: center; justify-content: center;
  font: 700 9px var(--wish-font); color: var(--wish-text-100); border: 1.5px solid var(--wish-bg-base);
}

/* 헤더 선택 태그 칩 바(HOME-04) — 채움 칩(x삭제) + 점선 [+] */
.wish-tag-chip-add { width: 32px; height: 32px; border-radius: 16px; border: 1px dashed rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; color: rgba(255,255,255,.6); }

/* ── 검색 결과 리스트 (SRCH-001) ──────────────────────────────────────────── */
.wish-recent-row { display: flex; align-items: center; gap: 10px; height: 42px; cursor: pointer; color: var(--wish-text-100); }
.wish-recent-row-icon { flex: none; color: rgba(255,255,255,.4); }
.wish-recent-row-text { flex: 1; font: 400 14px var(--wish-font); }
.wish-recent-row-remove { flex: none; color: rgba(255,255,255,.35); cursor: pointer; }

.wish-popular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.wish-popular-row { display: flex; align-items: center; gap: 10px; height: 34px; }
.wish-popular-rank { width: 12px; font: 700 13px var(--wish-font); color: var(--wish-text-50); }
.wish-popular-rank.is-top5 { color: var(--wish-accent); }
.wish-popular-name { flex: 1; font: 400 13px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-popular-change { font: 600 10px var(--wish-font); color: var(--wish-text-40); }
.wish-popular-change.is-up, .wish-popular-change.is-new { color: var(--wish-accent); }

.wish-list-row-thumb { width: 56px; height: 56px; border-radius: 16px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 22%; display: flex; align-items: center; justify-content: center; font: 700 20px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-list-row-avatar { width: 48px; height: 48px; border-radius: 24px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; display: flex; align-items: center; justify-content: center; font: 700 17px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-list-row-title { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-list-row-desc { font: 400 12px var(--wish-font); color: var(--wish-text-64); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-list-row-meta { font: 400 10px var(--wish-font); color: var(--wish-text-40); }

.wish-btn-follow { flex: none; height: 32px; padding: 0 16px; border-radius: 16px; background: none; border: 1.5px solid var(--wish-primary); color: var(--wish-text-100); font: 600 12px var(--wish-font); cursor: pointer; white-space: nowrap; }
.wish-btn-follow.is-following { background: var(--wish-primary); }

.wish-tag-row-hash { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font: 700 14px var(--wish-font); color: rgba(255,255,255,.6); flex: none; }
.wish-tag-row-count { font: 400 12px var(--wish-font); color: var(--wish-text-40); }

/* 검색어 일치 강조 — 색상 아닌 흰100%+볼드 */
.wish-search-highlight { color: var(--wish-text-100); font-weight: 700; }

/* ── CHAR-001 히어로 ─────────────────────────────────────────────────────── */
/* 세로가 긴 원본(3:4 · 2:3)을 가운데 기준으로 자르면 머리가 날아간다 — 목업 CHAR-001 hero 값 center 18% / cover (QA1013 강서진) */
.wish-hero { position: relative; width: 100%; aspect-ratio: 3 / 4; height: auto; background-color: var(--wish-surface); background-size: cover; background-position: center 18%; display: flex; align-items: center; justify-content: center; }
.wish-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0) 35%, var(--wish-bg-base) 100%); }
/* 히어로 사진 받는 중 (2026-10-30) — 카드에서 받아 둔 작은 사진을 흐리게(블러업), 없으면 어두운 셔머(종전 보라 · 분홍 그라디언트 자리표시는 걷었다). 큰 사진이 오면 .is-done 으로 걷혀 페이드인 */
.wish-hero { overflow: hidden; }
.wish-hero-wait { position: absolute; inset: 0; background: var(--wish-surface); transition: opacity .4s ease; }
.wish-hero-wait.is-shimmer { background-image: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%); background-size: 400% 100%; animation: wish-skeleton-shimmer 1.4s ease infinite; }
.wish-hero-thumb { position: absolute; inset: -12px; background-size: cover; background-position: center 18%; filter: blur(8px); transform: scale(1.03); }
.wish-hero-wait.is-done { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .wish-hero-wait { transition: none; } .wish-hero-wait.is-shimmer { animation: none; } }
.wish-hero-actions { position: absolute; top: 10px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; }
.wish-hero-icon-btn { width: 36px; height: 36px; border-radius: 18px; background: rgba(var(--wish-bg-base-rgb),.5); border: none; color: var(--wish-text-100); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* QA1012 T3 — ⋯ 더보기 액션 시트 (목업 markup.html:1715-1749 · text.md:1116). 행·구분선은 시트 좌우 여백까지 꽉 채운다 */
/* v16.2 — 수치는 COM-001 D 액션 시트에 맞춘다(T126-133 · M230-241): 썸네일 40 · 이름 15/700 · 보조 12 · 50% · 행 52 · 아이콘 20 · 라벨 15/500 · 구분선 6% · [닫기] 50 */
.wish-more-head { display: flex; align-items: center; gap: 12px; margin: 0 calc(-1 * var(--wish-pad-x)); padding: 0 var(--wish-pad-x) 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wish-more-thumb { width: 40px; height: 40px; border-radius: 12px; flex: none; background-color: var(--wish-surface); background-image: var(--wish-gradient-primary-accent); background-size: cover; background-position: center top; }
.wish-more-head-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wish-more-name { font: 700 15px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-more-sub { font: 400 12px var(--wish-font); color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-more-badge { flex: none; height: 18px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 9px; background: rgba(123,15,201,.55); font: 700 10px var(--wish-font); color: var(--wish-text-100); }
.wish-more-list { display: flex; flex-direction: column; margin: 0 calc(-1 * var(--wish-pad-x)); padding-top: 4px; }
.wish-more-row { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 var(--wish-pad-x); border: none; border-bottom: 1px solid rgba(255,255,255,.06); background: none; color: var(--wish-text-100); text-align: left; cursor: pointer; }
.wish-more-row:last-child { border-bottom: none; }
.wish-more-row svg { flex: none; }
.wish-more-label { flex: 1; min-width: 0; font: 500 15px var(--wish-font); color: var(--wish-text-100); }
.wish-more-meta { flex: none; font: 400 12px var(--wish-font); color: var(--wish-text-40); }
.wish-more-row.is-disabled { opacity: .4; cursor: default; }
.wish-more-row--danger { color: #FF6B8A; }	/* 파괴적 항목 — 맨 아래 #FF6B8A (T130 · 아이콘은 currentColor) */
.wish-more-row--danger .wish-more-label { color: #FF6B8A; }
.wish-more-note { margin: 12px 0 0; font: 400 10.5px/1.5 var(--wish-font); color: var(--wish-text-40); }
.wish-more-cancel { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-top: 10px; border: none; border-radius: 25px; background: rgba(255,255,255,.08); font: 600 14.5px var(--wish-font); color: rgba(255,255,255,.8); cursor: pointer; }

.wish-char-header { padding: 0 20px; display: flex; flex-direction: column; gap: 16px; margin-top: -44px; position: relative; }
.wish-char-name-row { display: flex; align-items: flex-end; gap: 12px; }
.wish-char-name { flex: 1; font: 700 24px/1 var(--wish-font); color: var(--wish-text-100); }
.wish-char-desc { font: 400 15px/1.5 var(--wish-font); color: var(--wish-text-64); }
.wish-char-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.wish-char-tag { font: 400 12px var(--wish-font); color: var(--wish-text-64); background: rgba(255,255,255,.08); padding: 5px 10px; border-radius: 12px; }
.wish-char-stats { display: flex; gap: 14px; align-items: center; color: var(--wish-text-50); }
.wish-char-stat { display: flex; align-items: center; gap: 5px; font: 400 12px var(--wish-font); }
/* QA 261020 사용자 2장 — 켜짐 하트의 accent 래퍼(인라인 span)가 글자 줄 높이를 만들어 줄이 내려앉던 것. 래퍼를 아이콘 크기로 접어
   켜짐 · 꺼짐 하트가 같은 자리에 선다(v20:1462 · 크기 · 색은 그대로) */
.wish-char-stat > .wish-accent-dot { display: flex; }

.wish-fav-btn {
  width: 50px; height: 50px; border-radius: 25px; flex: none;
  backdrop-filter: blur(6px); background: rgba(var(--wish-bg-base-rgb),.45); border: 1.5px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--wish-text-100);
}
/* liked 상태 — 하트 svg가 stroke/fill="currentColor"면 이 색으로 동기 반영됨 */
.wish-fav-btn.is-active { border-color: var(--wish-accent); color: var(--wish-accent); }
.wish-fav-btn-count { font: 600 10px var(--wish-font); }

.wish-creator-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--wish-line); border-bottom: 1px solid var(--wish-line); }
.wish-creator-avatar { width: 36px; height: 36px; border-radius: 18px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; display: flex; align-items: center; justify-content: center; font: 700 13px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-creator-name { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-creator-meta { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
/* CHAR-001 ④ 세계관 본문 「13/1.6, 흰색 64%」(text.md:1464) — G331 · Q119 */
.wish-body-secondary.wish-char-world-cn { line-height: 1.6; }

/* 첫 장면 선택 라디오 카드 — .wish-mode-card-radio 와 별개(이미 배포된 클래스명 보존) */
.wish-opening-card {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  padding: 10px 12px; border-radius: 14px; border: 1.5px solid transparent;
}
.wish-opening-card.is-selected { border-color: var(--wish-primary); background: rgba(123,15,201,.08); }
.wish-opening-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); flex: none; margin-top: 2px; position: relative; }
.wish-opening-card.is-selected .wish-opening-radio { border-color: var(--wish-primary); }
.wish-opening-card.is-selected .wish-opening-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--wish-primary); }
.wish-opening-title { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-opening-desc { font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-64); }

/* 댓글 */
.wish-comment-composer { display: flex; align-items: center; gap: 9px; background: var(--wish-surface); border-radius: 22px; padding: 9px 12px 9px 10px; }
.wish-comment-composer-avatar { width: 28px; height: 28px; border-radius: 14px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; border: 1.5px solid rgba(255,255,255,.14); }
.wish-comment-composer-placeholder { flex: 1; font: 400 12.5px var(--wish-font); color: var(--wish-text-40); }
.wish-comment-composer-input {
  flex: 1; width: 100%; border: 0; outline: none; background: none;
  font: 400 12.5px var(--wish-font); color: var(--wish-text-100);
}
.wish-comment-composer-input::placeholder { color: var(--wish-text-40); }
.wish-comment-composer-submit { font: 600 11.5px var(--wish-font); color: var(--wish-text-50); white-space: nowrap; cursor: pointer; }
.wish-comment-composer-submit.is-disabled,
.wish-comment-composer-submit[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.wish-comment-row { display: flex; gap: 10px; }
.wish-comment-avatar { width: 32px; height: 32px; border-radius: 16px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; }
.wish-comment-head { display: flex; align-items: center; gap: 6px; }
.wish-comment-name { font: 600 12.5px var(--wish-font); color: var(--wish-text-100); }
.wish-comment-badge { height: 17px; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 9px; font: 700 9px var(--wish-font); white-space: nowrap; }
.wish-comment-badge--mine { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-comment-badge--level { background: rgba(123,15,201,.4); color: rgba(255,255,255,.85); }
.wish-comment-time { font: 400 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-comment-body { font: 400 12.5px/1.5 var(--wish-font); color: var(--wish-text-80); }
.wish-comment-actions { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.42); }
.wish-comment-actions-right { margin-left: auto; display: flex; gap: 12px; }
.wish-comment-like { display: flex; align-items: center; gap: 4px; cursor: pointer; }
/* liked 상태 — 아이콘 svg가 stroke/fill="currentColor"면 이 색으로 동기 반영됨 */
.wish-comment-like.is-liked { color: var(--wish-accent); }
/* QA1012 U1 — 댓글 좋아요 숫자 (목업 font:500 10.5px) · 엄지 아이콘은 12px */
.wish-comment-like-cnt { font: 500 10.5px var(--wish-font); }
.wish-tag-row-chevron { flex: none; color: rgba(255,255,255,.35); }
.wish-comment-action-link { font: 600 10.5px var(--wish-font); cursor: pointer; color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════════════════════════════════
   MY-004(넥타르 충전소) · MY-006(무료로 모으기) (도윤 위임, WAVE3 P7-1)
   출처: doc/specs/VISUAL-user.md 해당 ID 절 + notes/spec-extract/user/source/
   markup.html L3818-4181. 카탈로그: notes/wish-dev/harin/wishes-css-nectar.md
   ══════════════════════════════════════════════════════════════════════ */

/* 범용 각주(10.5px/40%, 두 화면의 TBD·안내 캡션 다수가 공유) */
.wish-fine-print { font: 400 10.5px/1.5 var(--wish-font); color: var(--wish-text-40); }
/* 카드 상단 "타이틀 + 우측 비클릭 메타" 행 — 출석체크/친구초대 헤더 공용 */
.wish-card-head-row { display: flex; align-items: center; }
.wish-card-head-title { font: 600 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-card-head-meta { margin-left: auto; font: 400 11px var(--wish-font); color: var(--wish-text-45); }
/* 헤더 잔액 칩(MY-006, 탭하면 MY-004로 이동) */
.wish-balance-chip {
  height: 26px; display: flex; align-items: center; padding: 0 10px; border-radius: 13px;
  background: var(--wish-surface); font: 700 11.5px var(--wish-font); color: var(--wish-text-100);
  white-space: nowrap; cursor: pointer;
}
.wish-balance-unit { font: 600 13px var(--wish-font); color: var(--wish-text-55); }
/* QA1014 R23 MY-004 보유 넥타르 카드 (M4612-4618) — surface r16 p14 · 라벨 줄(22px 그라데이션 원 + 600 12 · 60%) 위 잔액 800 26 + 단위 600 13 · 55% */
.wish-form-card.wish-store-bal { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--wish-surface); }
.wish-store-bal-head { display: flex; align-items: center; gap: 7px; }
.wish-store-bal-icon { width: 22px; height: 22px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--wish-gradient-cta); color: #FFFFFF; }
.wish-store-bal-label { font: 600 12px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-store-bal-row { display: flex; align-items: baseline; gap: 5px; }
.wish-store-bal-amount { font: 800 26px/1.2 var(--wish-font); letter-spacing: -.5px; color: var(--wish-text-100); font-variant-numeric: tabular-nums; }
.wish-store-bal-unit { font: 600 13px var(--wish-font); color: rgba(255,255,255,.55); }

/* ── MY-004 패키지 카드 ───────────────────────────────────────────────── */
.wish-nectar-pack {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--wish-surface); border-radius: 16px; padding: 14px;
  border: 2px solid transparent; cursor: pointer;
}
.wish-nectar-pack.is-selected { border-color: var(--wish-primary); }
.wish-nectar-pack-amount { font: 700 20px var(--wish-font); color: var(--wish-text-100); }
.wish-nectar-pack-unit-label { font: 600 11px var(--wish-font); color: var(--wish-text-50); }
.wish-nectar-pack-bonus {
  height: 19px; display: flex; align-items: center; padding: 0 7px; border-radius: 10px;
  background: rgba(123,15,201,.55); font: 700 9.5px var(--wish-font); color: var(--wish-text-100);
}
.wish-nectar-pack-total { display: block; margin-top: 3px; font: 500 10.5px var(--wish-font); color: var(--wish-text-64); }	/* 단가 캡션 없음 · 수량 줄 아래 한 줄 (QA1013 N12-a) */
/* MY-004 영역 3 첫 구매 보너스 배너 (ADM-PAY-006 프로모션 배너) — 잔액 블록과 상품 목록 사이, 없으면 영역째 숨김 */
.wish-promo-banner {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px;
  background: var(--wish-gradient-primary-accent); color: var(--wish-text-100);
}
.wish-promo-banner-head { display: flex; align-items: center; gap: 8px; }
.wish-promo-banner-main { font: 800 15px var(--wish-font); flex: 1; min-width: 0; }
.wish-promo-banner-badge {
  height: 20px; display: flex; align-items: center; padding: 0 8px; border-radius: 10px; flex: none;
  background: rgba(255,255,255,.22); font: 700 10px var(--wish-font);
}
.wish-promo-banner-sub { font: 400 12px var(--wish-font); color: var(--wish-text-80); }
/* QA1014 R23 — 아이콘 칸 배너(M4620-4625): 가로 gap 11 · 34×34 흰 16% r12 · 글 묶음 세로 gap 3 */
.wish-promo-banner.wish-promo-banner--icon {
  flex-direction: row; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(123,15,201,.5), rgba(248,87,180,.32)); border: 1px solid rgba(248,87,180,.4);
}
.wish-promo-banner-icon { width: 34px; height: 34px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); color: #FFFFFF; }
.wish-promo-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wish-promo-banner--icon .wish-promo-banner-head { gap: 6px; flex-wrap: wrap; }
.wish-promo-banner--icon .wish-promo-banner-main { flex: 0 1 auto; font: 700 13.5px var(--wish-font); }
.wish-promo-banner--icon .wish-promo-banner-badge { height: 19px; padding: 0 7px; background: var(--wish-accent); font: 800 9.5px var(--wish-font); }
.wish-promo-banner--icon .wish-promo-banner-sub { font: 400 11px/1.5 var(--wish-font); color: rgba(255,255,255,.75); }
.wish-nectar-pack-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.wish-nectar-pack-price { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-nectar-pack-ribbon {
  height: 19px; display: flex; align-items: center; padding: 0 7px; border-radius: 10px;
  background: var(--wish-primary); font: 700 9.5px var(--wish-font); color: var(--wish-text-100);
}

/* ── MY-004 하단 고정 2단 결제 바 (충전 탭 전용) ─────────────────────────────
   위: 선택 요약 1행 + 우측 금액 / 아래: CTA + 조건 캡션. 스크롤과 무관하게 하단 고정, 위로 bg-base 페이드
   (VISUAL-user MY-004 ⑤ markup:4091-4098 — padding 12 20 22 · gap 8 · 42% 페이드 · 상단 1px 선).
   바 높이 ≈ 12 + 요약 18 + 8 + CTA 52 + 8 + 캡션 16 + 22 = 136px (+ safe-area).
   스페이서 120 + 본문 gap 16 + 본문 하단 패딩 22 = 158 > 136 → 맨 아래로 내려도 마지막 카드가 안 가린다 (MY-004.md:292).
   실패 카드 scrollIntoView 여백은 바 높이 + 14 = 150. */
.wish-pay-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px var(--wish-pad-x) calc(22px + var(--wish-safe-bottom));
  /* 바 자체는 불투명 — 예전엔 바 배경이 0→42% 그라데이션이라 위 30px(요약 행 「상품을 선택해 주세요」 자리)가
     반투명이었고, 뒤 상품 카드 글자와 겹쳐 보였다(375×667 실측). 페이드는 원문대로 바 「위로」 깐다(text.md:2975) */
  background: var(--wish-bg-base);
  border-top: 1px solid rgba(255,255,255,.08);
}
.wish-pay-bar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% + 1px); height: 24px; pointer-events: none;	/* +1px = 상단 선 위 */
  background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0), var(--wish-bg-base));
}
.wish-pay-bar-sum { display: flex; align-items: baseline; gap: 6px; min-height: 18px; font: 600 12.5px/18px var(--wish-font); color: var(--wish-text-100); }
.wish-pay-bar-label { flex: none; font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-pay-bar-item { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-pay-bar-price { flex: none; }
.wish-pay-bar-none { font-weight: 400; color: var(--wish-text-50); }
.wish-pay-bar-cap { text-align: left; }	/* 목업 왼쪽 10.5px/1.5 (.wish-fine-print) — QA1013 N12-e */
.wish-pay-bar-spacer { flex: none; height: calc(120px + var(--wish-safe-bottom)); }
.wish-pay-alert { scroll-margin-bottom: calc(150px + var(--wish-safe-bottom)); }
.wish-pay-bar-cap[data-action] { cursor: pointer; }	/* 패스 캡션 한 줄 = 기간·횟수 안내 시트 (밑줄 없음 — 목업) */

/* ── MY-004 패스 섹션 (카드는 .wish-nectar-pack 그대로 — 정기 충전 카드와 같은 규격) ───────────────
   이름 700 14px · 설명 400 10.5px 흰 45% · 섹션 하단 캡션 400 10px 흰 40% (VISUAL-user MY-004). */
/* QA1013 N12-f — 섹션 위 1px 구분선 + pad-top 16, 헤더 한 줄 baseline(「패스」 700 14px + 부제 400 10.5px 45%) (M 4352-4354) */
.wish-pass-section { display: flex; flex-direction: column; gap: 9px; padding-top: 16px; border-top: 1px solid var(--wish-line); }
.wish-pass-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wish-pass-head-title { flex: none; font: 700 14px var(--wish-font); color: var(--wish-text-100); }
.wish-pass-head-sub { min-width: 0; font: 400 10.5px var(--wish-font); color: var(--wish-text-45); }
.wish-pass-name, .wish-pass-desc, .wish-pass-held { display: block; }
.wish-pass-name { font: 700 14px var(--wish-font); color: var(--wish-text-100); }
.wish-pass-desc { font: 400 10.5px/1.45 var(--wish-font); color: var(--wish-text-45); }
.wish-pass-held { font: 500 10.5px/1.45 var(--wish-font); color: var(--wish-primary); }
.wish-pass-cap { font: 400 10px var(--wish-font); color: var(--wish-text-40); }
.wish-pass-guide { display: flex; flex-direction: column; gap: 10px; }
.wish-pass-guide-line { font: 400 12.5px/1.55 var(--wish-font); color: var(--wish-text-80); }

/* ── MY-004 이용 내역 리스트 ──────────────────────────────────────────── */
/* 행 아이콘 30px 원 (QA1013 N14-a · L 515-530) — 적립 = primary 45% 위 흰 글리프, 사용 = 흰 7% 위 40% 글리프 */
.wish-nectar-log-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: 700 14px var(--wish-font);
}
.wish-nectar-log-icon.is-charge { background: rgba(123,15,201,.45); color: var(--wish-text-100); }
.wish-nectar-log-icon.is-spend { background: rgba(255,255,255,.07); color: var(--wish-text-40); }
.wish-nectar-log-icon.is-creator { font-size: 11px; letter-spacing: -1px; }	/* G780 「별 모양 아이콘 + primary ↑」 — 30px 원 안에 ★↑ 두 글리프 */
.wish-list-row[data-action="ledger-creator"] { cursor: pointer; }	/* G782 크리에이터 보상 행 → MY-015 받은 기록 */
.wish-nectar-log-label { font: 500 13px var(--wish-font); color: var(--wish-text-100); }
.wish-nectar-log-date { font: 400 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-nectar-log-delta { font: 700 13px var(--wish-font); white-space: nowrap; }
.wish-nectar-log-delta.is-charge { color: var(--wish-highlight); }	/* + 증감 #C9A4F5 (QA1013 N14-a) */
.wish-nectar-log-delta.is-spend { color: var(--wish-text-64); }

/* ── 결제 진행 오버레이(MY-004) ───────────────────────────────────────── */
.wish-payment-overlay {
  width: 100%; background: var(--wish-bg-base); border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: var(--wish-shadow-sheet);
}
.wish-payment-spinner {
  width: 34px; height: 34px; border-radius: 17px;
  border: 3px solid rgba(255,255,255,.15); border-top-color: var(--wish-primary);
  animation: wish-spin .7s linear infinite;
}

/* ── 인라인 경고 카드 — 결제실패(MY-004) · 광고로드실패(MY-006) 공용 ─────── */
.wish-inline-alert {
  background: var(--wish-bg-base); border-radius: 20px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 9px; box-shadow: var(--wish-shadow-sheet);
}
.wish-inline-alert-head { display: flex; align-items: center; gap: 9px; }
.wish-inline-alert-icon {
  width: 20px; height: 20px; border-radius: 10px; flex: none;
  background: var(--wish-accent); color: var(--wish-text-100);
  display: flex; align-items: center; justify-content: center; font: 800 11px var(--wish-font);
}
.wish-inline-alert-title { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-inline-alert-desc { font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-64); }

/* ── MY-006 출석체크 7칸 그리드 ───────────────────────────────────────── */
.wish-attendance-grid { display: flex; gap: 5px; align-items: flex-end; }
.wish-attendance-cell { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }	/* relative — ⑥ 스파클 · 「+N」 기준 */
.wish-attendance-box {
  width: 100%; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font: 700 11px var(--wish-font); color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.06); /* 미래(기본) */
}
.wish-attendance-box.is-done { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-attendance-box.is-today { background: rgba(123,15,201,.25); border: 1.5px solid var(--wish-primary); color: var(--wish-text-100); }
.wish-attendance-box.is-bonus { background: rgba(123,15,201,.18); border: 1px solid rgba(123,15,201,.6); color: rgba(255,255,255,.8); }
/* 7일차가 「오늘」이자 「보너스」인 겹침 (streak 6 · 미수령). 두 규칙이 배경·테두리를 함께
   다투는데 is-bonus 가 뒤에 있어 그냥 두면 테두리까지 보너스가 가져간다.
   쭌 판정: 두 표식이 모두 읽혀야 하고, 같은 속성을 다투면 테두리는 오늘 우선 · 배경은 보너스 유지.
   글자색도 오늘 쪽(100%)을 남긴다 — 받을 수 있는 칸이 흐려 보이면 안 된다. */
.wish-attendance-box.is-today.is-bonus {
  background: rgba(123,15,201,.18);
  border: 1.5px solid var(--wish-primary);
  color: var(--wish-text-100);
}
.wish-attendance-label { font: 500 10px/16px var(--wish-font); color: rgba(255,255,255,.24); }	/* 줄 높이 16 = 오늘 칸 [받기] pill 높이 — 수령 뒤 「완료」로 바뀌어도 줄이 줄어들지 않는다(아래 카드가 튀지 않게) */
.wish-attendance-cell.is-done .wish-attendance-label,
.wish-attendance-cell.is-bonus .wish-attendance-label { color: rgba(255,255,255,.6); }
/* 앱 전용 잠금(D-06 · 10-22 결정 ⓑ) — 웹 브라우저에서 오늘 칸을 다른 비활성 버튼과 같은 40% 로 (page-free.js stampCell) */
.wish-attendance-cell.is-disabled { opacity: .4; pointer-events: none; }

/* ── MY-006 ⑥ 출석 [받기] · 수령 모션 (v22.2 항목 6 · 목업 ③ 타임라인 · 키프레임은 목업 wsAtt* 값 그대로) ──────────
   오늘 칸 = 칸 전체가 탭 영역 · 라벨 [받기] 그라디언트 pill · 대기 중 primary 글로우 1.6초 숨쉬기.
   ① 눌림 0.88 = :active(누르는 동안) + aria-busy(서버 응답 대기 — 칸은 아직 채우지 않는다).
   성공 뒤 page-free.js 가 칸을 「지난 날 채움 + ✓ + 완료」로 다시 그리고 .is-stamping 을 1.6초 붙인다:
   ② 0–520ms 0.88 → 0.84 → 1.14 → 1 + 핑크 링 16px(0.9s) + 그라디언트 채움(::before, 1.2s 부터 지난 날 primary 로 잦아듦)
   ③ 120–820ms 스파클 8방향 36px(보너스 16개) · 220ms~ 「+N」 34px 상승 ④ 380ms~ 헤더 칩 펄스 ⑤ 400ms~3.0s 토스트 */
.wish-attendance-cell.is-today { cursor: pointer; }
.wish-attendance-cell.is-today .wish-attendance-box { transition: transform .1s ease-out; animation: wsAttIdle 1.6s ease-in-out infinite; }
.wish-attendance-cell.is-today:active .wish-attendance-box { transform: scale(.88); }
.wish-attendance-cell.is-today[aria-busy="true"] { pointer-events: none; }		/* 수령 중 중복 탭 차단(JS busy 와 이중) */
.wish-attendance-cell.is-today[aria-busy="true"] .wish-attendance-box { animation: wsAttPress .1s ease-out both; }
.wish-attendance-cell.is-today .wish-attendance-label {
  height: 16px; display: flex; align-items: center; padding: 0 7px; border-radius: 8px;
  background: var(--wish-gradient-cta); font: 700 9.5px var(--wish-font); color: var(--wish-text-100);
}
.wish-attendance-cell.is-done.is-now .wish-attendance-label { font-weight: 700; color: #FFD3EC; }	/* 오늘 받은 칸 「완료」 — 목업 justNow 라벨 */
.wish-attendance-cell.is-stamping .wish-attendance-box {
  position: relative;
  animation: wsAttStamp .52s cubic-bezier(.3,1.5,.5,1) both, wsAttGlow .9s ease-out both;
}
.wish-attendance-cell.is-stamping .wish-attendance-box::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--wish-gradient-cta); animation: wsAttFill 1.6s linear both;
}
.wish-attendance-cell.is-stamping .wish-attendance-box > * { position: relative; }	/* ✓ 가 그라디언트 위 */
.wish-attendance-fx { position: absolute; left: 50%; top: 20px; width: 0; height: 0; pointer-events: none; z-index: 2; }	/* 박스(40px) 가운데 */
.wish-attendance-spark { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: rotate(var(--wish-att-rot, 0deg)); }
.wish-attendance-spark-dot {
  position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--wish-accent); box-shadow: 0 0 6px rgba(248,87,180,.9);
  animation: wsAttSpark .7s cubic-bezier(.2,.7,.3,1) .12s both;
}
.wish-attendance-spark.is-alt .wish-attendance-spark-dot { width: 5px; height: 5px; background: var(--wish-highlight); box-shadow: 0 0 6px rgba(201,164,245,.9); }
.wish-attendance-float {
  position: absolute; left: 50%; top: -8px; z-index: 3; pointer-events: none; white-space: nowrap;
  font: 800 14px var(--wish-font); color: #FFD3EC; text-shadow: 0 2px 8px rgba(248,87,180,.6);
  animation: wsAttFloat .95s ease-out .22s both;
}
#ws-free .wish-balance-chip { font-variant-numeric: tabular-nums; }		/* 카운트업 중 폭 흔들림 방지 */
#ws-free .wish-balance-chip.is-pulse { animation: wsAttChip .6s ease-out .38s both; }
/* ⑤ 완료 토스트 — 목업 그대로(하단 18px · 좌우 16px · 아이콘 + 2줄). 공용 .wish-toast 는 한 줄 글자뿐이라 따로 둔다 */
.wish-attendance-toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(18px + var(--wish-safe-bottom)); z-index: 41;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px;
  background: rgba(var(--wish-surface-rgb),.97); border: 1px solid rgba(201,164,245,.28); box-shadow: 0 12px 30px rgba(0,0,0,.45);
  pointer-events: none; animation: wsAttToast 2.6s ease-out both;
}
.wish-attendance-toast-icon { width: 28px; height: 28px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--wish-gradient-cta); color: var(--wish-text-100); }
.wish-attendance-toast-icon svg { width: 14px; height: 14px; }
.wish-attendance-toast-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-attendance-toast-title { font: 700 13px var(--wish-font); color: var(--wish-text-100); }
.wish-attendance-toast-amt { color: #FFD3EC; }
.wish-attendance-toast-sub { font: 400 11px var(--wish-font); color: var(--wish-text-55); }
@keyframes wsAttIdle { 0%, 100% { box-shadow: 0 0 0 0 rgba(123,15,201,0); } 50% { box-shadow: 0 0 0 5px rgba(123,15,201,.3); } }
@keyframes wsAttPress { to { transform: scale(.88); } }
@keyframes wsAttStamp { 0% { transform: scale(.88); } 28% { transform: scale(.84); } 62% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes wsAttGlow { 0% { box-shadow: 0 0 0 0 rgba(248,87,180,.75); } 100% { box-shadow: 0 0 0 16px rgba(248,87,180,0); } }
@keyframes wsAttFill { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }	/* 응답 즉시 그라디언트(지난 날 primary 가 먼저 비치지 않게) → 1.2–1.6s 지난 날 채움으로 */
@keyframes wsAttSpark { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-36px) scale(.3); opacity: 0; } }
@keyframes wsAttFloat { 0% { transform: translate(-50%, 6px); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -34px); opacity: 0; } }
@keyframes wsAttChip { 0% { transform: scale(1); } 40% { transform: scale(1.14); background: var(--wish-primary); } 100% { transform: scale(1); } }
@keyframes wsAttToast { 0% { transform: translateY(16px); opacity: 0; } 10% { transform: translateY(0); opacity: 1; } 86% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
/* 「동작 줄이기」 — 바운스 · 링 · 스파클 · 상승 · 펄스 · 슬라이드를 뺀다 → 칸 채움(지난 날 primary) + 수치 변경 + 토스트만 */
@media (prefers-reduced-motion: reduce) {
  .wish-attendance-cell.is-today .wish-attendance-box,
  .wish-attendance-cell.is-today[aria-busy="true"] .wish-attendance-box,
  .wish-attendance-cell.is-stamping .wish-attendance-box,
  #ws-free .wish-balance-chip.is-pulse,
  .wish-attendance-toast { animation: none; transition: none; }
  .wish-attendance-cell.is-today:active .wish-attendance-box { transform: none; }
  .wish-attendance-cell.is-stamping .wish-attendance-box::before,
  .wish-attendance-fx, .wish-attendance-float { display: none; }
}

/* ── MY-006 광고 보고 받기 / 성과형 보상 카드 공용 ────────────────────────── */
.wish-reward-card { display: flex; align-items: center; gap: 11px; background: var(--wish-surface); border-radius: 16px; padding: 14px; }
.wish-reward-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex: none; color: var(--wish-text-100); }
.wish-reward-title { font: 600 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-reward-meta { font: 400 10.5px var(--wish-font); color: var(--wish-text-50); }
.wish-reward-cta { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--wish-primary); color: var(--wish-text-100); font: 700 11.5px var(--wish-font); cursor: pointer; }
.wish-reward-cta:disabled, .wish-reward-cta.is-disabled { opacity: .4; pointer-events: none; }

/* ── MY-006 친구 초대 코드 ────────────────────────────────────────────── */
.wish-invite-code-row { display: flex; gap: 8px; }
.wish-invite-code { flex: 1; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; align-items: center; gap: 8px; padding: 0 12px; font: 700 13px var(--wish-font); letter-spacing: 1px; color: var(--wish-text-100); }
/* v22.2 — 코드 칸은 표시 전용(복사 아이콘 없음 · 복사는 [코드 공유] 하나). 길게 눌러 텍스트 선택만 허용 — body.wish 의 선택 금지를 여기서만 푼다(목업 user-select:all) */
.wish-invite-code .wish-row-text { -webkit-user-select: all; user-select: all; -webkit-touch-callout: default; cursor: text; }
.wish-invite-share-btn { flex: none; height: 40px; padding: 0 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: none; color: rgba(255,255,255,.85); font: 600 12px var(--wish-font); cursor: pointer; }

/* ── MY-006 전부 수령 완료 카드 ───────────────────────────────────────── */
.wish-claimed-card { background: var(--wish-bg-base); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; box-shadow: var(--wish-shadow-sheet); }
.wish-claimed-title { font: 600 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-claimed-desc { font: 400 11.5px var(--wish-font); color: var(--wish-text-55); }
.wish-claimed-progress { height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 3px; }
.wish-claimed-progress-fill { height: 100%; background: var(--wish-primary); }

/* ── MY-006 화면 세로 리듬 (v18 목업 rendered.html my-006) ───────────────────
   목업: 헤더 padding 2 18 12(아이콘 30 → 높이 44) · 본문 padding 4 20 24 · 카드 사이 gap 14 · 카드 안 gap 10.
   종전: 공용 위저드 헤더 아래 10(높이 42) + 본문 위 8 + 비어 있는 [data-slot="claimed"](0px 이지만 flex 아이템이라 gap 16 을 먹는다)
   → 헤더 아래 끝 ~ 첫 카드 24px(목업 4px) · 헤더 위 ~ 첫 카드 66px(목업 48px). 빈 슬롯을 흐름에서 빼고 목업 값으로 맞춘다 */
#ws-free .wish-wizard-header { padding-bottom: 12px; }
#ws-free > .wish-wizard-body { gap: 14px; padding: 4px var(--wish-pad-x) 24px; }
#ws-free > .wish-wizard-body > [data-slot]:empty { display: none; }
#ws-free .wish-form-card { gap: 10px; }

/* ══════════════════════════════════════════════════════════════════════
   WAVE4 사전 준비 — CHAT-001·002·004·005 (도윤 착수 전 선반영, CHAT-003은
   진행 중이라 제외). 출처: doc/specs/VISUAL-user.md 각 화면 절.
   재사용: .wish-list-row/-row-avatar/-row-title/-row-desc/-row-meta,
   .wish-tabbar*, .wish-title-screen, .wish-empty-state*, .wish-sheet*,
   .wish-toptabs*(언더라인 탭류와는 별개로 트랙+필 방식은 .wish-segment-row/
   -track/-btn — HOME-02와 공용, 아래 참조), .wish-btn-publish. ═══════ */

/* ── CHAT-001 대화 목록 ──────────────────────────────────────────────── */
.wish-list-row-avatar--lg { width: 56px; height: 56px; border-radius: 28px; font: 700 20px var(--wish-font); }
/* 리스트행 우측 세로 스택(상대시간+배지 등) — 20행 이상 반복되는 CHAT-001에서
   인라인 style 대신 클래스로 뺌(민준 요청) */
.wish-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
/* 검색 아이콘 탭 시 펼쳐지는 인라인 검색 입력 행 — 내부는 .wish-input 그대로 사용 */
.wish-search-row { display: flex; align-items: center; gap: 8px; padding: 8px var(--wish-pad-x) 4px; }
.wish-chat-unread-badge {
  flex: none; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--wish-accent); color: var(--wish-text-100);
  font: 700 11px var(--wish-font); display: flex; align-items: center; justify-content: center;
}

/* ── CHAT-002 채팅방 핵심 화면 ───────────────────────────────────────── */
.wish-chatroom-header { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 var(--wish-pad-x); flex: none; }
.wish-chatroom-header-avatar { width: 32px; height: 32px; border-radius: 16px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; }
.wish-chatroom-header-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wish-chatroom-header-name { font: 700 14px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-chatroom-header-creator { font: 400 10.5px var(--wish-font); color: var(--wish-text-45); }
/* CHAT-002 v7 — 이름 아래 현재 단계명 1줄(10.5px · 흰색 55%). 레벨업 시 300ms 교차 페이드, 토스트 없음 */
.wish-chatroom-header-stage { font: 400 10.5px var(--wish-font); color: var(--wish-text-55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.wish-chatroom-header-stage.is-changed { animation: wish-stage-crossfade 300ms ease; }
@keyframes wish-stage-crossfade { from { opacity: 0; } to { opacity: 1; } }
.wish-chatroom-header-menu { position: relative; flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--wish-text-64); cursor: pointer; } /* → CHAT-003 드로어(별도 배치) */
/* ≡ 미확인 도트 — 해금 · 발견 미확인 (정의서 1413 「≡ 아이콘 미확인 도트」). NEW pill 은 32px 버튼을 덮었다 (QA1012 U5) */
.wish-chatroom-header-dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--wish-accent); pointer-events: none; }

/* 상단 고정 바 — 헤더 + 호감도 게이지. 문서(모바일)/375px 프레임(데스크톱) 스크롤 시 상단 고정 */
.wish-chat-topbar { position: sticky; top: var(--wish-safe-top); z-index: 20; background: var(--wish-bg-base); }

/* 관계 게이지 — 호감도 Lv.N + 진행바 (% 는 표시하지 않음 — v7:1264). FLAT 캐릭터는 JS가 렌더하지 않음 */
.wish-affinity-gauge { display: flex; align-items: center; gap: 8px; padding: 0 var(--wish-pad-x) 8px; }
.wish-affinity-gauge-lv { flex: none; font: 600 10px var(--wish-font); color: var(--wish-text-50); }
.wish-affinity-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-affinity-bar-fill { height: 100%; border-radius: 2px; background: var(--wish-gradient-primary-accent); }

/* 상단 안내 띠 — 삭제된 캐릭터 안내 · 새 발견 배너가 쓰는 얇은 surface 띠(선택적 표시, FLAT도 유지).
   v12 에서 기억 배너만 라벤더 카드(.wish-chat-memory-banner)로 갈라져 나갔고, 이 두 띠는 그대로다 */
.wish-memory-banner {
  display: flex; align-items: center; gap: 6px; flex: none;
  padding: 8px var(--wish-pad-x); background: var(--wish-surface);
  font: 400 11.5px var(--wish-font); color: var(--wish-text-80);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* G380 새 발견 띠 — 문구 + 우측 셰브론 */
.wish-memory-banner-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wish-memory-banner-chev { flex: none; display: flex; }
/* 삭제된 캐릭터 안내 (OQ-213) — 기억 배너 틀 · 줄바꿈 허용(잘리면 뒷문장 「이어갈 수 있어요」가 사라진다) */
.wish-char-retired-banner { white-space: normal; line-height: 1.5; color: var(--wish-text-64); }

/* CHAT-002 ③ 기억 요약 배너 (v12, text.md:1288 · 목업 markup @@1893) — 라벤더 틴트 카드 + 달 아이콘 +
   「기억함 · 내용」 2줄까지(개수 표기 없음). 보라 그라데이션 55% · 라벤더 22% 헤어라인 · 라운드 16 */
.wish-chat-memory-banner {
  display: flex; align-items: center; gap: 12px; flex: none;
  margin: 2px var(--wish-pad-x) 0; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(76,29,140,.55), rgba(46,22,82,.55));
  border: 1px solid rgba(201,164,245,.22); cursor: pointer;
}
.wish-chat-memory-banner-icon { flex: none; display: flex; color: var(--wish-memory-moon); }
.wish-chat-memory-banner-text {
  flex: 1; min-width: 0; font: 400 12.5px/1.6 var(--wish-font); color: var(--wish-highlight);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wish-chat-memory-banner-text b { font-weight: 700; color: var(--wish-highlight-strong); }

/* 나레이션(지문) — 정체(기울임 없음) · 보라 틴트 #C9A4F5 (v15 CHAT-002 「한글 이탤릭은 가독성이 떨어진다」 · QA1013 S3).
   정렬(v14.6 text.md:71): 1행이면 중앙, 2행 이상이면 양끝 정렬 + 마지막 행 왼쪽 시작.
   정의서 구현 예(바깥 center + 안쪽 inline-block justify)와 같은 결과를 마크업 없이 낸다 — 폭 fit-content + 좌우 auto 여백:
   한 줄이면 글자 폭만큼 줄어 가운데, 넘치면 폭을 다 채워 양끝 정렬(마지막 행은 text-align-last 기본값 = 시작). 줄 수 판별 스크립트 없음 */
.wish-msg-narration { width: fit-content; max-width: 100%; box-sizing: border-box; margin-left: auto; margin-right: auto; text-align: justify; font: 400 13px/1.6 var(--wish-font); font-style: normal; color: var(--wish-highlight); padding: 0 24px; }
/* 발췌 카드(CHAT-005) 위 지문도 채팅방과 같은 정체 · 보라 틴트(QA1013 S3 — 공유 PNG 포함). 흰색 · 검정 글자색 선택은 아래 모디파이어가 이긴다.
   기울임은 「나레이션 이탤릭 유지」 토글을 켤 때만(--italic) */
.wish-excerpt-card .wish-msg-narration { color: var(--wish-highlight); }
.wish-excerpt-card .wish-msg-narration--italic { font-style: italic; }
/* v15.5 CHAT-002 1443 「서술 안의 줄바꿈은 그대로 유지」 · 1495 — 지문 · 말풍선 모두 원문 줄바꿈 · 빈 줄을 그린다(조각 앞뒤 공백은 파서가 걷는다, ws-chat.js splitParts) */
.wish-msg-narration, .wish-bubble-text { white-space: pre-wrap; }
/* 스트리밍 중 마지막 조각이 지문이면 지문 끝에 같은 커서 (말풍선은 아래 .wish-bubble--char.is-streaming) */
/* v21 CHAT-002 ⑫ 타이핑 커서 — 대사와 같은 2×17px · 0.55초, 서술은 라벤더 #C9A4F5 (정의서 「서술(나레이션) 조각을 쓸 때도 같은 커서를 라벤더로」) */
.wish-msg-narration.is-streaming::after { content: ''; display: inline-block; width: 2px; height: 17px; margin-left: 2px; border-radius: 1px; background: #C9A4F5; vertical-align: -3px; animation: wish-type-caret .55s steps(1, end) infinite; }
/* 첫 메시지 정적 렌더(WS.Chat.partsHtml) — CHAR-001 FLAT 첫 장면 · MAKE-003 「채팅방 첫 화면」 · MY-012 미리보기. 채팅방 전사와 같은 세로 흐름 */
.wish-first-scene { display: flex; flex-direction: column; gap: 10px; }
.wish-first-scene .wish-msg-narration { padding: 0 8px; }
/* MAKE-003 축소 렌더 — 예시 대화 카드 안에서는 글자를 줄인다 */
.wish-example-convo .wish-first-scene { gap: 6px; }
.wish-example-convo .wish-first-scene .wish-msg-narration { font-size: 11.5px; padding: 0 4px; }
.wish-example-convo .wish-first-scene .wish-bubble { font-size: 12px; padding: 7px 11px; border-radius: 14px; }
.wish-example-convo .wish-first-scene .wish-bubble-text { font-size: 12px; }

/* 메시지 리스트 래퍼 — .wish-bubble--user의 align-self:flex-end가 작동하려면
   부모가 반드시 display:flex;flex-direction:column이어야 한다(align-self는
   flex/grid 컨테이너의 자식에만 적용됨) — 이 클래스 없이 그냥 <div>로 쌓으면
   유저 말풍선 배경색은 정확한데 좌측에 붙어버리는 결함이 남(2026-09-13
   CHAT-002 S3 실측 발견: 픽셀 대조로 배경색 bubble-user와 정확히 일치하는
   말풍선이 캐릭터 말풍선과 동일한 좌측 위치에 렌더됨을 확인). 대화 메시지를
   쌓는 컨테이너에는 반드시 이 클래스를 붙일 것. */
.wish-msg-list { display: flex; flex-direction: column; gap: 12px; padding: 12px var(--wish-pad-x) calc(176px + var(--wish-safe-bottom)); overflow-anchor: none; }	/* 스크롤 보정은 코드가 한다(older · 바닥 따라가기) — 다시 그리기가 노드를 살리면서(10-28) 브라우저 앵커 보정이 겹치지 않게 */	/* 하단 = 고정 컴포저(액션행+세그먼트+입력+bottom22)에 마지막 메시지 안 가리게 */

/* 말풍선 — 좌(캐릭터)/우(유저), radius18 대칭(꼬리 없음), 최대폭 78% */
/* overflow-wrap:anywhere — 공백 없는 긴 문자열(URL · ㅋㅋㅋ… · 영문 연속)이 78% 를 뚫고 화면 밖으로 나가던 결함 (하린 review-P1-U02 §2, FIX-bubble-wrap).
   body 의 word-break:keep-all 은 그대로 — 넘칠 때만 끊는다 */
.wish-bubble { max-width: 78%; border-radius: 18px; padding: 10px 14px; font: 400 15px/1.55 var(--wish-font); overflow-wrap: anywhere; }
/* v12: 캐릭터 = 반투명 그레이 + 6% 헤어라인, 유저 = CTA 색 그라데이션(background 단축 속성 — 그라데이션 토큰을 받는다) */
.wish-bubble--char { align-self: flex-start; background: var(--wish-bubble-char); border: 1px solid var(--wish-bubble-char-line); color: var(--wish-bubble-text-char); }
.wish-bubble--user { align-self: flex-end; background: var(--wish-bubble-user); color: var(--wish-bubble-text-user); }
/* v20.4 CHAT-002 ④ 「구성」(text.md:1689 · 목업 rendered 3123) — 캐릭터 대사 = 좌측 34px 원형 대표 이미지 + 오른쪽 이름(12/600 · 흰색 72%) · 그 아래 말풍선.
   묶음(이미지 + 간격 8 + 본문) 최대 88% — 말풍선 78% 는 묶음 안에서 풀고 본문 폭을 따른다. 말풍선 좌상단 4px(화자 쪽), 나머지 18px.
   이름 ↔ 말풍선 5px · 이름 왼쪽 2px · 이미지 위치 center 18% · 1px 흰색 10% 안쪽 테두리 = 목업 값. 자리표시는 헤더 아바타와 같은 그라데이션.
   연속 대사(is-cont)는 프로필 · 이름 없이 42px(34 + 8) 들여 말풍선만 — 폭 상한은 같은 88%(들여쓰기 포함) */
.wish-char-talk { align-self: flex-start; display: flex; align-items: flex-start; gap: 8px; max-width: 88%; }
.wish-char-talk-avatar { flex: none; width: 34px; height: 34px; border-radius: 17px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 18%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.wish-char-talk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wish-char-talk-name { font: 600 12px var(--wish-font); color: rgba(255,255,255,.72); padding-left: 2px; }
.wish-char-talk .wish-bubble { max-width: 100%; border-radius: 4px 18px 18px 18px; }
.wish-char-talk.is-cont { padding-left: 42px; }
/* 생성 중 덩어리의 틀 — 레이아웃에 끼지 않아(.wish-msg-list 플렉스 자식은 그대로) 토큰마다 이 안만 갈아끼운다 (page-chat.js paintStreaming, 10-23) */
.wish-streaming-box { display: contents; }
/* 제3자 대사(10-23 사용자 「다른 캐릭터가 나오면 그 캐릭터도 챗을 · 이미지는 안 넣음」) — 프로필 없이 이름 라벨 + 중립 말풍선, 본 캐릭터 묶음 들여쓰기(42px)에 맞춰 세운다 */
/* 2026-10-26 — 제3자도 본 캐릭터와 같은 줄(34px 원 + 8 + 본문)에 아바타 */
.wish-npc-talk { align-self: flex-start; display: flex; align-items: flex-start; gap: 8px; max-width: 88%; box-sizing: border-box; }
/* v25 CHAT-002 ⑥ (10-30) — 프로필 = 공통 「소원의 별빛」 이미지(원형) · 말풍선 · 이름 = 캐릭터(④)와 같은 스타일 */
.wish-npc-talk-avatar { flex: none; display: block; width: 34px; height: 34px; border-radius: 17px; object-fit: cover; background: #2E2B42; user-select: none; -webkit-user-drag: none; }
.wish-npc-talk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wish-npc-talk-name { font: 600 12px var(--wish-font); color: rgba(255,255,255,.72); padding-left: 2px; }
.wish-npc-talk .wish-bubble { max-width: 100%; border-radius: 4px 18px 18px 18px; }
.wish-bubble--npc { align-self: flex-start; background: var(--wish-bubble-char); border: 1px solid var(--wish-bubble-char-line); color: var(--wish-bubble-text-char); }
.wish-bubble--npc.is-streaming::after { content: ''; display: inline-block; width: 2px; height: 17px; margin-left: 2px; border-radius: 1px; background: #F857B4; vertical-align: -3px; animation: wish-type-caret .55s steps(1, end) infinite; }
/* v20 CHAT-002 ⑧ 유저 말풍선 위 명령어 태그 「!선물」 — 11/600 · 흰색 70% (text.md:1710 · 1779). 목업 컷이 없어 크기 · 색 외 값은 두지 않는다(유저 말풍선과 같은 오른쪽 정렬만) */
.wish-msg-cmd-tag { align-self: flex-end; font: 600 11px var(--wish-font); color: rgba(255,255,255,.7); }

/* 답변 대기 말풍선 — COM-002 v19.2 목업 「말풍선 자리 (캐릭터 답변 대기)」: 11/14 · r 18 18 18 6 · 흰색 10% · 점 3개(7px · 간격 5 · 높이 18 · 흰색 70% / 45% / 25%) */
.wish-typing-bubble { align-self: flex-start; background: rgba(255,255,255,.1); border-radius: 18px 18px 18px 6px; padding: 11px 14px; display: flex; align-items: center; gap: 8px; }
.wish-typing-dots { display: flex; gap: 5px; align-items: center; height: 18px; }
.wish-typing-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); }
.wish-typing-dot:nth-child(2) { background: rgba(255,255,255,.45); }
.wish-typing-dot:nth-child(3) { background: rgba(255,255,255,.25); }

/* 스트리밍 중 부분 텍스트 — 스트리밍이 끝나기 전까지는 일반 .wish-bubble--char 그대로 쓰되
   커서만 깜빡이는 표식을 붙인다(정지 시 이 표식만 사라지고 텍스트는 그대로 남는다 — JS가
   클래스를 제거하는 방식, 마크업 자체는 동일 .wish-bubble--char) */
/* v21 CHAT-002 ⑫ — 2×17px 막대 · accent #F857B4 · 0.55초 깜박임(목업 wsCaretBlink 0~49% 켜짐) · 글자 바로 뒤(vertical-align -3px · r1) */
.wish-bubble--char.is-streaming::after {
  content: ''; display: inline-block; width: 2px; height: 17px; margin-left: 2px; border-radius: 1px;
  background: #F857B4; vertical-align: -3px;
  animation: wish-type-caret .55s steps(1, end) infinite;
}
@keyframes wish-caret-blink { 50% { opacity: 0; } }
@keyframes wish-type-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* 출력이 끝난 뒤 200ms 동안 글은 남기고 커서만 내린다(page-chat.js typeEnd) */
.wish-streaming-box.is-typed .is-streaming::after { display: none; }
/* 동작 줄이기 — 타이핑 · 커서 없이 메시지 전체를 150ms 페이드(정의서 「예외」) */
.wish-streaming-box.is-fade > * { animation: wish-type-fade .15s ease-out both; }
@keyframes wish-type-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wish-bubble--char.is-streaming::after, .wish-bubble--npc.is-streaming::after, .wish-msg-narration.is-streaming::after { display: none; }
}
/* 출력 중 위로 스크롤하면 따라가기를 멈추고 하단에 [새 메시지 ↓] (정의서 ⑫ 「스크롤」) — 모양은 [⌃ 이전 대화 더 보기] pill 과 같은 계열, 컴포저 위 가운데 */
.wish-newmsg-pill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(188px + var(--wish-safe-bottom)); z-index: 25;
  height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(43,40,64,.94); box-shadow: 0 4px 14px rgba(0,0,0,.35); font: 600 12px var(--wish-font); color: rgba(255,255,255,.86); white-space: nowrap; cursor: pointer; }
.wish-newmsg-pill[hidden] { display: none; }

/* ==== v21 CHAT-002 ⑬ 감정 상태 칩 · 헤더 감정 무드 (2026-10-26) ====
   칩 = 18px · 아이콘 13 + 감정명 10/600 · 그 색 16% 배경 + 28% 1px 테두리 + 원색 아이콘 + 밝은 톤 글자(목업 확대 컷 ④ 값). 아이콘 마크업 · 키프레임은 정의서 그대로(ws-emotion.js · 아래 wsEmo*).
   모션 강도 — 바뀐 직후 3회 · 이후 12초마다 1회(page-chat.js) — 횟수는 --emo-n 으로 정해 인라인 infinite 를 덮는다. 동작 줄이기면 정지 칩.
   헤더 무드 — 좌상단에서 감정 색 16% → 0%(반경 62%) · 아바타 2px 링 45% · 바뀌면 400ms 에 걸쳐 넘어간다(@property 로 색을 보간). 말풍선 · 본문 색은 그대로. */
@property --wish-emo-c { syntax: '<color>'; inherits: true; initial-value: rgb(95,212,176); }
/* v21.3 — 헤더 배경에는 색 · 그라데이션을 깔지 않는다(기기 상태바와 이어질 때 색 번짐이 지저분 — 정의서 「헤더 감정 무드」 개정). 감정 색은 아바타 2px 링(45%)에만, 바뀌면 400ms 보간 */
.wish-chatroom-header { transition: --wish-emo-c .4s ease; }
.wish-chatroom-header-avatar { box-shadow: 0 0 0 2px color-mix(in srgb, var(--wish-emo-c) 45%, transparent); }
/* v21.3 간격 — 이름과 칩 사이 8px · 이름 줄과 단계명 줄 사이 3px · 칩은 이름의 세로 중앙 */
.wish-chatroom-header-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wish-chatroom-header-body { gap: 3px; }
.wish-chatroom-header-title .wish-chatroom-header-name { min-width: 0; }
.wish-emo-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 6px; border-radius: 10px; flex: none; cursor: pointer;		/* v21.3 칩 20px */
  background: rgba(var(--emo-rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--emo-rgb), .28); }
.wish-emo-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; flex: none; }
.wish-emo-label { font: 600 10px var(--wish-font); color: var(--emo-text); white-space: nowrap; }
/* 아이콘 모션은 멈추지 않고 계속(2026-10-26 사용자 — 정의서 「3회 뒤 12초마다 1회」와 다름, 확인요청 v21-E3). 동작 줄이기면 아래에서 정지 */
.wish-emo-chip [data-emo-anim] { animation-iteration-count: infinite !important; }
.wish-emo-chip.is-enter { animation: wish-emo-in .2s ease-out both; }
.wish-emo-chip.is-leave { animation: wish-emo-out .12s ease-in both; }
/* v21.3 「없음」 — 칩은 160ms 페이드아웃으로 사라지고(is-gone) 아바타 링도 거둔다(is-emo-none). 링 색 · 유무는 400ms 에 걸쳐 넘어간다 */
.wish-emo-chip.is-gone { animation: wish-emo-out .16s ease-in both; }
.wish-chatroom-header-avatar { transition: box-shadow .4s ease; }
.wish-chatroom-header.is-emo-none .wish-chatroom-header-avatar { box-shadow: 0 0 0 2px transparent; }

/* ==== v21.3 CHAT-002 ③-B 답변 대기 인디케이터 ==== 목업 확대 컷 ③-B(점 7px · 간격 5 · #ECEAF6 · 말풍선 높이 40 · 좌우 16 · r 4 18 18 18) */
.wish-reply-wait { transform-origin: 0 0; animation: wish-wait-in .2s ease-out .3s both; }
.wish-reply-wait .wish-wait-avatar { animation: wsWaitRing 1.8s ease-out infinite; }
.wish-reply-wait .wish-typing-bubble.wish-wait-bubble { align-self: flex-start; height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.06); border-radius: 4px 18px 18px 18px; transform-origin: 0 0; animation: wsWaitBreath 2.4s ease-in-out infinite; }
.wish-reply-wait .wish-typing-dot.wish-wait-dot { width: 7px; height: 7px; border-radius: 50%; background: #ECEAF6; animation: wsWaitDot 1.2s ease-in-out infinite; }
.wish-reply-wait .wish-wait-dot:nth-child(2) { animation-delay: .15s; }
.wish-reply-wait .wish-wait-dot:nth-child(3) { animation-delay: .3s; }
.wish-wait-late { display: none; font: 400 11px var(--wish-font); color: rgba(255,255,255,.45); padding-left: 2px; }
.wish-reply-wait.is-late .wish-wait-late { display: block; animation: wish-type-fade .2s ease-out both; }
@keyframes wish-wait-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
/* 첫 글자 — 대기 말풍선 자리에서 말풍선이 늘어나듯 이어진다(180ms) · 서술로 시작하면 그 자리에서 나타난다 */
.wish-streaming-box > .is-from-wait .wish-bubble { transform-origin: 0 0; animation: wish-wait-grow .18s ease-out both; }
.wish-streaming-box > .wish-msg-narration.is-from-wait { animation: wish-type-fade .12s ease-out both; }
@keyframes wish-wait-grow { from { transform: scale(.88); opacity: .7; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wish-reply-wait, .wish-reply-wait .wish-wait-avatar, .wish-reply-wait .wish-typing-bubble.wish-wait-bubble { animation: none; }
  .wish-reply-wait .wish-typing-dot.wish-wait-dot { animation: wish-wait-dim 1.2s steps(1, end) infinite; }
}
@keyframes wish-wait-dim { 0%, 100% { opacity: .35; } 33% { opacity: 1; } }
@keyframes wsWaitDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}
@keyframes wsWaitRing{0%{box-shadow:0 0 0 0 var(--wait-ring)}70%{box-shadow:0 0 0 5px transparent}100%{box-shadow:0 0 0 0 transparent}}
@keyframes wsWaitIn{0%{opacity:0;transform:scale(.8)}12%,100%{opacity:1;transform:scale(1)}}
@keyframes wsWaitBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
/* ==== /v21.3 ③-B ==== */
@keyframes wish-emo-in { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes wish-emo-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wish-emo-chip [data-emo-anim] { animation: none !important; }
  .wish-emo-chip.is-enter, .wish-emo-chip.is-leave { animation: none; }
  .wish-chatroom-header { transition: none; }
}
/* 칩 탭 → 2초 툴팁 「서하율은 지금 설레요」 */
.wish-emo-tip { position: fixed; z-index: 40; padding: 7px 10px; border-radius: 10px; background: rgba(20,18,32,.94); border: 1px solid rgba(255,255,255,.1);
  font: 500 12px var(--wish-font); color: rgba(255,255,255,.9); white-space: nowrap; pointer-events: none; animation: wish-type-fade .15s ease-out both; }
/* 정의서 확대 컷 ④ 키프레임 — 아이콘 마크업(ws-emotion.js)의 인라인 animation 이 이 이름을 부른다 */
@keyframes wsEmoDustA{0%,100%{transform:translate(0,0) scale(.3);opacity:0}25%{opacity:1}50%{transform:translate(2px,-4px) scale(1);opacity:1}75%{transform:translate(3px,-1px) scale(.6);opacity:0}}
@keyframes wsEmoDustB{0%,100%{transform:translate(0,0) scale(.3);opacity:0}25%{opacity:1}50%{transform:translate(-2px,-3px) scale(1);opacity:1}75%{transform:translate(-3px,0) scale(.6);opacity:0}}
@keyframes wsEmoErupt{0%{transform:translateY(0) scale(.3);opacity:0}20%{opacity:1}55%{transform:translateY(-5px) scale(1);opacity:1}100%{transform:translateY(-8px) scale(.5);opacity:0}}
@keyframes wsEmoRumble{0%,100%{transform:translateY(0)}10%{transform:translateY(.7px)}20%{transform:translateY(-.4px)}30%{transform:translateY(0)}}
@keyframes wsEmoBlushLine{0%,8%{opacity:0;transform:translate(-1px,2px)}28%,78%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(0,0)}}
@keyframes wsEmoTear{0%{transform:translateY(-1px) scale(.6);opacity:0}25%{opacity:1;transform:translateY(0) scale(1)}100%{transform:translateY(6px) scale(.8);opacity:0}}
@keyframes wsEmoSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
@keyframes wsEmoBeat{0%,100%{transform:scale(1)}14%{transform:scale(1.28)}28%{transform:scale(1)}42%{transform:scale(1.18)}56%{transform:scale(1)}}
@keyframes wsEmoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
@keyframes wsEmoBounce{0%,60%,100%{transform:translateY(0)}20%{transform:translateY(-3px)}40%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}
@keyframes wsEmoBreath{0%,100%{transform:scale(.86);opacity:.7}50%{transform:scale(1.06);opacity:1}}
@keyframes wsEmoTilt{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(14deg)}}
@keyframes wsEmoPop{0%{transform:scale(1)}12%{transform:scale(1.4)}24%,100%{transform:scale(1)}}
@keyframes wsEmoGlow{0%,100%{opacity:.55;filter:drop-shadow(0 0 0 rgba(248,87,180,0))}50%{opacity:1;filter:drop-shadow(0 0 4px rgba(248,87,180,.9))}}
@keyframes wsEmoWobble{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-1.5px) rotate(-8deg)}75%{transform:translateX(1.5px) rotate(8deg)}}
@keyframes wsEmoDroop{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(2px);opacity:.6}}
@keyframes wsEmoDrip{0%{transform:translateY(-2px);opacity:0}30%{opacity:1}100%{transform:translateY(3px);opacity:0}}
@keyframes wsEmoJitter{0%,100%{transform:translateX(0)}20%{transform:translateX(-1px)}40%{transform:translateX(1px)}60%{transform:translateX(-1px)}80%{transform:translateX(.5px)}}
@keyframes wsEmoShake{0%,100%{transform:rotate(0)}20%{transform:rotate(-10deg)}40%{transform:rotate(9deg)}60%{transform:rotate(-6deg)}80%{transform:rotate(3deg)}}
/* ==== /v21 CHAT-002 ⑬ ==== */

/* 액션 행 — 마지막 캐릭터 답변에만, 우측 👍 / 👎 2개(44×44 히트). v22.2 CHAT-002 — 자동 교정 · 새로운 대답 · 다시 답변 삭제(10-27) */
.wish-msg-action-row { display: flex; align-items: center; height: 44px; padding: 0 4px; }
.wish-msg-action-icons { margin-left: auto; display: flex; }
.wish-msg-action-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--wish-text-64); cursor: pointer; }
/* G386 — 액션 행 아이콘은 흰색 42% (text.md:1682). 같은 클래스를 쓰는 입력부 ✦ 추천 아이콘은 그대로 */
.wish-msg-action-row .wish-msg-action-btn { color: rgba(255,255,255,.42); }
.wish-msg-action-row .wish-msg-action-btn.is-active { color: var(--wish-accent); }
.wish-msg-action-btn.is-active { color: var(--wish-accent); }
/* 생성중: 액션행 전체 40% 비활성 */
.wish-msg-action-row.is-generating { opacity: .4; pointer-events: none; }
.wish-msg-action-btn:disabled, .wish-msg-action-btn.is-disabled { opacity: .4; pointer-events: none; }

/* 단계 상승 전환 표식 — "호감도 N단계" 가운데 구분선 (화면정의서 캐릭터챗) */
.wish-stage-mark { display: flex; align-items: center; gap: 10px; margin: 6px 8px 2px; }
.wish-stage-mark::before, .wish-stage-mark::after { content: ''; flex: 1; height: 1px; background: rgba(248,87,180,.35); }
.wish-stage-mark span { flex: none; font: 700 12px var(--wish-font); color: var(--wish-accent); }

/* 단계 하락 안내 — 좌측 accent 바 카드 (수치 노출 없음, 단계 내려간 경우만) */
.wish-stage-down { border-left: 3px solid var(--wish-accent); background: rgba(248,87,180,.08); border-radius: 8px; padding: 12px 14px; margin: 4px; }
.wish-stage-down-title { font: 700 14px var(--wish-font); color: var(--wish-text-100); }
.wish-stage-down-desc { font: 400 12px var(--wish-font); color: var(--wish-text-64); margin-top: 4px; }

/* CHAT-002 모드 3택 · CHAT-005 선택방식 2택 — 트랙+필 세그먼트는 HOME-02가 이미
   쓰는 .wish-segment-row/-track/-btn 그대로 재사용한다(중복 컴포넌트를 새로
   만들었던 실수를 정정 — 민준 발견). CHAT-002는 반투명 트랙이 필요해
   .wish-segment-track--dim 모디파이어로, CHAT-005는 기본(surface) 트랙 그대로 쓴다. */

/* 명령어 드롭다운 — 팝오버, input-surface 배경(v12 에서 본문 서술도 같은 값으로 맞춰짐, text.md:1317) */
.wish-cmd-dropdown { position: absolute; bottom: calc(100% + 8px); left: var(--wish-pad-x); right: var(--wish-pad-x); background: var(--wish-input-surface); border-radius: 20px; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--wish-shadow-sheet); padding: 8px; z-index: 20; }
/* 입력 카드 안에 있지만 기준은 바닥 고정 입력 카드 전체(.wish-chat-composer) — 세그먼트 행 위로 띄워 [!명령어] 재탭 · [대사] 탭으로 닫을 수 있게(QA1012 U8).
   입력 카드 안 다른 absolute 자식은 없다 */
.wish-chat-composer .wish-chat-input-card { position: static; }
.wish-chat-composer .wish-cmd-dropdown { left: 0; right: 0; }
.wish-cmd-dropdown-item { padding: 10px 12px; border-radius: 12px; font: 600 13px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
/* hover 는 포인터가 있는 기기만 — 터치에선 누른 뒤 눌린 상태가 남았다(10-26 앱 체감) */
@media (hover: hover) { .wish-cmd-dropdown-item:hover { background: rgba(255,255,255,.06); } }
/* (v8 C-002:28,94) 행 우측 가격 「◆ 10」 accent 700/12 · 쿨타임 중 행 전체 45% · 탭 불가 (2026-09-30 결정 ①-2) */
.wish-cmd-dropdown-item { display: flex; align-items: center; gap: 12px; }
.wish-cmd-dropdown-main { flex: 1; min-width: 0; }
.wish-cmd-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font: 400 11px var(--wish-font); color: var(--wish-text-64); white-space: nowrap; }
.wish-cmd-price { font: 700 12px var(--wish-font); color: var(--wish-accent); }
.wish-cmd-lack { font: 400 10.5px var(--wish-font); color: var(--wish-text-45); }
.wish-cmd-dropdown-item.is-cooling { opacity: .45; cursor: default; }
@media (hover: hover) { .wish-cmd-dropdown-item.is-cooling:hover { background: none; } }
/* (v8 C-002:118) 입력 카드 재화 부족 상태 — 안내 줄 + [충전하기] */
.wish-cmd-lack-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; font: 500 12px var(--wish-font); color: var(--wish-text-64); }
.wish-cmd-lack-link { font: 700 12px var(--wish-font); color: var(--wish-accent); text-decoration: none; }
.wish-cmd-dropdown-empty { padding: 16px 12px; text-align: center; font: 400 12.5px var(--wish-font); color: var(--wish-text-45); }
/* 인라인 명령어 칩 — 입력필드 안에 삽입되는 토큰, 핫핑크(accent) */
.wish-cmd-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 8px; background: var(--wish-accent); color: var(--wish-text-100); font: 700 11.5px var(--wish-font); }
/* 세그먼트 행 칩 — 세그먼트 오른쪽 · ✦ 왼쪽 빈자리, 입력 폭을 줄이지 않는다 (2026-10-12 사용자 결정, QA1012 U7a).
   좁으면 이름만 말줄임(min-width:0), × 는 남긴다. 칩 전체가 해제 버튼 */
.wish-cmd-chip--seg { flex: 0 1 auto; min-width: 0; gap: 4px; padding: 0 6px 0 8px; cursor: pointer; }
.wish-cmd-chip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-cmd-chip-x { flex: none; display: inline-flex; opacity: .8; }

/* 플로팅 입력 카드 — input-surface, 좌우12·하단22 플로팅, radius24 */
/* 세그먼트+입력카드를 하나로 묶어 바닥 고정 — 세그먼트만 in-flow 라 고정 입력카드와 겹치던 것 수정 (375px 실측) */
/* 세그먼트(대사·행동·명령어)+입력+전송을 하나의 박스로 (화면정의서 캐릭터챗) */
/* CHAT-002 패스 줄 — 입력 카드 바로 위 (패스 잔여 캡션 + VIP 바꾸기 텍스트 버튼). 패스 없는 회원에게는 렌더되지 않는다 */
.wish-pass-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-pass-line-btn { margin-left: auto; font: 500 11px var(--wish-font); color: var(--wish-text-80); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; white-space: nowrap; }
.wish-chat-composer { position: fixed; left: 12px; right: 12px; bottom: calc(22px + var(--wish-safe-bottom)); z-index: 15; display: flex; flex-direction: column; gap: 8px; background: var(--wish-input-surface); border-radius: 24px; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--wish-shadow-sheet); padding: 10px 12px; }
.wish-chat-input-card { position: relative; display: flex; flex-direction: column; gap: 6px; }
.wish-chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.wish-chat-textarea { flex: 1; min-height: 20px; max-height: 110px; background: rgba(255,255,255,.06); border: 1px solid transparent; border-radius: 20px; padding: 10px 14px; font: 400 15px/1.4 var(--wish-font); color: var(--wish-text-100); resize: none; outline: none; }
.wish-chat-textarea::placeholder { color: var(--wish-input-placeholder); }
/* [*행동*] 모드 활성 시 필드 테두리 accent 1px */
.wish-chat-textarea.is-action-mode { border: 1px solid var(--wish-accent); }

/* 전송 버튼 44px 원형 — 4상태: 빈입력(40%비활성)/입력있음(그라데이션 — v12, v11 accent 단색)/생성중(■정지)/전송불가(경고+비활성) */
.wish-send-btn { flex: none; width: 44px; height: 44px; border-radius: 22px; border: 0; display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); cursor: pointer; }
.wish-send-btn.is-empty { background: rgba(255,255,255,.08); opacity: .4; pointer-events: none; }
.wish-send-btn.is-ready { background: var(--wish-gradient-send); box-shadow: 0 10px 24px rgba(248,87,180,.35); }
.wish-send-btn.is-stop { background: rgba(255,255,255,.14); } /* 안쪽 ■ 아이콘은 JS가 넣음 */
/* G402 전송 불가 — 목업 컷 ③(text.md:1635): 버튼 rgba(248,87,180,.32) + 아이콘 흰 45% · 카드 하단 경고 캡션 500 11px accent + 밑줄 [다시 시도] */
.wish-send-btn.is-blocked { background: rgba(248,87,180,.32); color: rgba(238,238,238,.45); pointer-events: none; }
.wish-send-blocked { padding-left: 6px; font: 500 11px var(--wish-font); color: var(--wish-accent); }
.wish-send-blocked-retry { text-decoration: underline; cursor: pointer; }

/* 답변 추천 바텀시트 — .wish-sheet 재사용, 내부 카드/방향칩만 신규 */
.wish-suggest-card { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; font: 400 13px/1.5 var(--wish-font); color: var(--wish-text-100); }
/* 시트 본문 세로 간격 (목업 ⑪ markup.html:2089-2116 — 섹션 16 · 머리 3 · 카드 묶음 8 · 재추천부 10, QA1012 U4 · U9).
   .wish-sheet 는 block 이라 제목 · 카드 · 칩 · 입력 · CTA 가 붙어 있었다. 다른 시트도 같은 묶음을 쓰면 된다 */
.wish-sheet-stack { display: flex; flex-direction: column; gap: 16px; }
.wish-sheet-stack-head { display: flex; flex-direction: column; gap: 3px; }
.wish-suggest-list { display: flex; flex-direction: column; gap: 8px; }
.wish-suggest-refine { display: flex; flex-direction: column; gap: 10px; }
/* 카드 묶음 다음의 재추천부만 윗선 — 종전 .wish-suggest-divider 를 대신한다 (목업 border-top + 위 여백 14) */
.wish-suggest-list + .wish-suggest-refine { border-top: 1px solid var(--wish-line); padding-top: 14px; }
.wish-suggest-direction-row { display: flex; gap: 8px; overflow-x: auto; }
/* 글자 세로 가운데 — 높이 30 만 주고 줄 높이 · 정렬이 없어 글자가 칩 위쪽에 붙었다(2026-10-08 동선 점검 CHAT-002). inline-flex + center 로 높이 안에서 가운데 */
/* QA1012 U10 — 목업 ⑪: 미선택 = 1px 아웃라인 rgba(238,238,238,.14) · 글자 60% 500 / 선택 = accent 채움 · #EEEEEE 600 (종전 보라 · 회색 채움) */
.wish-suggest-direction-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border-radius: 15px; background: transparent; border: 1px solid rgba(238,238,238,.14); font: 500 12px/1 var(--wish-font); color: rgba(238,238,238,.6); white-space: nowrap; cursor: pointer; }
.wish-suggest-direction-chip.is-selected { background: var(--wish-accent); border-color: var(--wish-accent); color: #EEEEEE; font-weight: 600; }
.wish-suggest-card.is-skeleton { min-height: 44px; } /* .wish-skeleton 클래스와 병용 */
/* v20 CHAT-002 ⑪ CTA 가격 「◆ 1」 — 목업 pill(margin-left 4 · 높이 20 · 좌우 7 · r10 · 흰색 22% · 700/11, 글자색은 버튼 #EEEEEE 상속) */
.wish-suggest-price { margin-left: 4px; height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 10px; background: rgba(255,255,255,.22); font: 700 11px var(--wish-font); }

/* ── CHAT-004 Memory Collection ──────────────────────────────────────── */
/* QA1013 N1-b: 수치 · 진행 바는 .wish-collection-card(B3 블록) 안에 든다 — 바깥 여백은 카드가 가진다 */
.wish-collection-count { font: 800 26px/1.2 var(--wish-font); letter-spacing: -0.02em; color: var(--wish-text-100); }
.wish-collection-progress { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-collection-progress-fill { height: 100%; background: var(--wish-gradient-primary-accent); }

/* QA1013 N1-f: 그룹마다 [10px 레일 + 본문] 2열 — 레일 · 노드는 .wish-coll-rail(B3 블록). 종전 타임라인 전체 축 · 절대 위치 노드는 없앴다 */
.wish-timeline { position: relative; }
.wish-timeline-node { position: absolute; left: 1px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.24); }
.wish-timeline-node.is-unlocked { background: var(--wish-primary); }
/* v18 목업(rendered.html chat-004): 그룹 본문 = 열 · 간격 10 [헤더(baseline · gap 8 · 600 14px) / 그리드] — 그룹 사이 18 은 .wish-coll-group + 규칙(B3) */
.wish-timeline-group-header { display: flex; align-items: baseline; gap: 8px; font: 600 14px var(--wish-font); color: var(--wish-text-100); margin-bottom: 10px; }
.wish-timeline-group-count { margin-left: auto; font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-timeline-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* QA1013 N1-c/d: 카드 = 이미지(.wish-memory-card) + 아래 캡션(.wish-memory-caption). 이미지 안에는 NEW 배지 · 자물쇠만 */
.wish-memory-card { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center top; overflow: hidden; }	/* CHAT-004 목록 크롭 center top / cover (얼굴이 상단) */
.wish-memory-card.is-locked { background: var(--wish-locked-fill); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); }

.wish-viewer-overlay { position: fixed; inset: 0; background: var(--wish-viewer-bg); z-index: 40; display: flex; flex-direction: column; padding-top: var(--wish-safe-top); }
.wish-viewer-topbar { display: flex; align-items: center; justify-content: center; position: relative; height: 60px; flex: none; }
.wish-viewer-position { font: 600 12px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-viewer-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); cursor: pointer; }
/* QA1012 U12 — 목업 markup.html:2644-2648: ‹ 카드 › 가로 한 줄, ‹ › 는 카드 세로 중앙. 카드는 3:4 라운드 · 원본 전체 contain (text.md:1792) */
.wish-viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.wish-viewer-nav { flex: none; width: 30px; height: 30px; border-radius: 15px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); cursor: pointer; }
.wish-viewer-nav[aria-disabled="true"] { opacity: .3; cursor: default; }
/* G970 MY-011 문의 첨부 전체 보기 — 같은 뷰어 부품, 비율 고정 없이 화면 안에 맞춘다 */
.wish-viewer-overlay[data-atch-viewer] .wish-viewer-stage { padding-bottom: calc(24px + var(--wish-safe-bottom)); }
.wish-viewer-media.wish-viewer-media--atch { aspect-ratio: auto; height: 100%; background-color: transparent; border-radius: 0; }
.wish-viewer-media { flex: 1; min-width: 0; aspect-ratio: 3 / 4; max-height: 100%; border-radius: 16px; background-color: var(--wish-surface); background-size: contain; background-position: center; background-repeat: no-repeat; }
.wish-viewer-bottom { flex: none; display: flex; align-items: flex-end; gap: 10px; padding: 18px 18px calc(24px + var(--wish-safe-bottom)); }
.wish-viewer-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }	/* 3줄: 단계명 / 획득일 · 그때의 호감도 / 획득 계기 (목업 2652-2654) */
.wish-viewer-meta-title { font: 600 14px var(--wish-font); color: var(--wish-text-100); }
.wish-viewer-meta-sub { font: 400 11.5px/1.5 var(--wish-font); color: rgba(255,255,255,.6); }
.wish-viewer-meta-desc { font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-80); }
.wish-viewer-actions { flex: none; display: flex; gap: 8px; }
.wish-viewer-action-btn { width: 38px; height: 38px; border-radius: 19px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); cursor: pointer; }

/* ── CHAT-005 대화 발췌 카드 (STEP1 선택 → STEP2 꾸미기 → STEP3 공유) ───── */
/* Q-10 (QA 11장) 목업(v20.3 CHAT-005 ① STEP 1) 수치 — 상단 바 padding 4/18/10 · 취소 500 13 .6 · 제목 700 15 · 전체 해제 500 12 .5,
   세그먼트 = 가운데 정렬(padding 0 18 12) · 트랙 surface r17 p3 · 버튼 h28 p0 15 r14 12px(활성 primary 600 / 비활성 500 .5) */
.wish-selectmode-header { display: flex; align-items: center; padding: 4px 18px 10px; }
.wish-selectmode-cancel { font: 500 13px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-selectmode-title { flex: 1; text-align: center; font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-selectmode-clear { font: 500 12px var(--wish-font); color: rgba(255,255,255,.5); white-space: nowrap; }
.wish-selectmode > .wish-segment-row { justify-content: center; padding: 0 18px 12px; }
.wish-selectmode > .wish-segment-row .wish-segment-track { padding: 3px; border-radius: 17px; background: var(--wish-surface); }
.wish-selectmode > .wish-segment-row .wish-segment-btn { flex: none; height: 28px; padding: 0 15px; border-radius: 14px; font: 500 12px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-selectmode > .wish-segment-row .wish-segment-btn.is-active { background: var(--wish-primary); color: var(--wish-text-100); font-weight: 600; }
/* v20.4 CHAT-005 ③ [⌃ 이전 대화 더 보기](text.md:2468 · 목업 rendered 4349) — 본문 맨 위 가운데, 양옆 1px 구분선(흰색 8% = --wish-line) 사이 30px pill
   (흰색 6% 바탕 · 1px 흰색 10% 테두리 · 12/500 흰색 72% · 위 화살표 12px · 간격 5 · 좌우 13 · 선과 10). 목업 위아래 = 목록 위 8 + 2 / 아래 4 + 목록 gap 12 —
   여기선 .wish-msg-list 바깥이라 위 10 · 아래 4(+ 목록 padding-top 12) 로 같은 16px 를 맞춘다. 좌우는 목록과 같은 --wish-pad-x */
.wish-older-divider { display: flex; align-items: center; gap: 10px; margin: 10px var(--wish-pad-x) 4px; }
.wish-older-divider-line { flex: 1; height: 1px; background: var(--wish-line); }
.wish-older-pill { flex: none; height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 13px; border-radius: 15px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font: 500 12px var(--wish-font); color: rgba(255,255,255,.72); white-space: nowrap; cursor: pointer; }
/* 위 화살표 — ws-icons 에 chevron-up 이 없어 chevDown(12px)을 뒤집는다 */
.wish-older-pill-icon { display: flex; transform: rotate(180deg); }

/* 문장선택 하이라이트 — primary 35% */
.wish-text-highlight { background: rgba(123,15,201,.35); border-radius: 3px; }
/* 유저 말풍선(그라데이션) 위 선택 구간은 흰색 28% (user v14:1910) */
.wish-bubble--user .wish-text-highlight { background: rgba(255,255,255,.28); }
/* 메시지선택 모드 체크(22px 원형) */
.wish-msg-check { width: 22px; height: 22px; border-radius: 11px; border: 1px solid rgba(255,255,255,.3); flex: none; }
.wish-msg-check.is-selected { background: var(--wish-primary); border-color: var(--wish-primary); }
.wish-select-skip-caption { text-align: center; font: 400 10.5px var(--wish-font); color: var(--wish-text-40); padding: 4px 0; } /* "건너뛴 구간 · 카드에서 ⋯ 로 표시" */
/* G543 STEP1 메시지 선택의 건너뛴 구간 줄 — 목업 컷 ②: 양옆 흰 10% 1px 선 + 600 10px 흰 40% */
.wish-msg-list .wish-select-skip-caption { display: flex; align-items: center; gap: 8px; padding: 0; font: 600 10px var(--wish-font); color: rgba(255,255,255,.4); white-space: nowrap; }
.wish-select-skip-line { flex: 1; height: 1px; background: rgba(255,255,255,.1); }

/* 하단 고정 카운터바(STEP1) */
.wish-excerpt-counter-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px var(--wish-pad-x) calc(12px + var(--wish-safe-bottom)); background: var(--wish-bg-base); border-top: 1px solid var(--wish-line); }
.wish-excerpt-counter-text { flex: 1; font: 400 11.5px var(--wish-font); color: var(--wish-text-64); }
.wish-excerpt-counter-text.is-over { color: var(--wish-accent); }
.wish-excerpt-counter-over { display: block; margin-top: 2px; }	/* G548 「500자까지 담을 수 있어요」 상시 */
.wish-excerpt-reset-btn { font: 600 12.5px var(--wish-font); color: var(--wish-text-64); }
.wish-excerpt-next-btn { flex: none; height: 40px; padding: 0 20px; border-radius: 20px; background: var(--wish-primary); color: var(--wish-text-100); font: 700 13px var(--wish-font); border: 0; }
.wish-excerpt-next-btn:disabled, .wish-excerpt-next-btn.is-disabled { opacity: .4; pointer-events: none; }
.wish-excerpt-reset-btn.is-disabled { opacity: .4; pointer-events: none; }

/* STEP1 선택 레이어 (P1-U02 도윤 — 기존 토큰만 사용, 하린 스크린샷 검토 대상) */
.wish-selectmode { padding-bottom: calc(88px + var(--wish-safe-bottom)); }
.wish-selectmode [data-seg] { -webkit-touch-callout: none; }
.wish-msg-select-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.wish-msg-select-row.is-mine { flex-direction: row-reverse; }	/* G542 유저 말풍선 체크는 오른쪽 (text.md:2337) */
/* v13:1913 선택 시 말풍선 테두리 primary 1px — 캐릭터 말풍선은 이미 1px 테두리가 있어 색만 바꾸고,
   유저 말풍선은 테두리가 없어 inset box-shadow 1px 로 그린다(border 를 새로 두면 크기가 1px 씩 변해 레이아웃이 흔들린다) */
.wish-msg-select-row.is-selected .wish-bubble--char { border-color: var(--wish-primary); }
.wish-msg-select-row.is-selected .wish-bubble--user { box-shadow: inset 0 0 0 1px var(--wish-primary); }
.wish-msg-select-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.wish-select-overflow { opacity: .24; }
/* G539 화자 전환 — 목업 컷 ①: primary 점 5px + 600 9.5px 흰 45% 라벨 + rgba(123,15,201,.5) 1px 선 */
.wish-select-speaker-divider { display: flex; align-items: center; gap: 7px; padding: 2px 0 2px 6px; }
.wish-select-speaker-dot { flex: none; width: 5px; height: 5px; border-radius: 3px; background: var(--wish-primary); }
.wish-select-speaker-label { flex: none; font: 600 9.5px var(--wish-font); color: rgba(255,255,255,.45); white-space: nowrap; }
.wish-select-speaker-line { flex: 1; height: 1px; background: rgba(123,15,201,.5); }
.wish-select-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 30; }
/* G538 — 물방울 핸들 시각 14px · 히트 44px (text.md:2335, 목업 컷 ① 14px · 8 8 8 1 / 8 8 1 8 · primary) */
.wish-select-handle { position: absolute; width: 14px; height: 14px; border-radius: 8px 8px 8px 1px; background: var(--wish-primary); touch-action: none; cursor: grab; }
.wish-select-handle--end { border-radius: 8px 8px 1px 8px; }
.wish-select-handle::after { content: ''; position: absolute; inset: -15px; }
.wish-select-handle--start { transform: translate(-50%, -100%); }
.wish-select-handle--end { transform: translate(-50%, 0); }
.wish-select-toolbar { position: absolute; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--wish-surface); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--wish-shadow-sheet); white-space: nowrap; }
.wish-select-toolbar-btn { padding: 8px 10px; border-radius: 8px; font: 600 12.5px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }

/* STEP2 텍스트 옵션 · 표시 토글 · 위치 조절 (P1-U02) — 크기 · 정렬 · 서체 · 색은 카드 모디파이어 */
.wish-excerpt-card.is-movable { cursor: move; touch-action: none; }
/* v16.2 — 보통 = 목업 본문 15px(markup.html:3115), 작게 · 크게는 그 앞뒤 단계(목업에 값 없음 — 개발 제안 13 / 18) */
.wish-excerpt-card--size-sm .wish-excerpt-card-text, .wish-excerpt-card--size-sm .wish-msg-narration { font-size: 13px; }
.wish-excerpt-card--size-md .wish-excerpt-card-text, .wish-excerpt-card--size-md .wish-msg-narration { font-size: 15px; }
.wish-excerpt-card--size-lg .wish-excerpt-card-text, .wish-excerpt-card--size-lg .wish-msg-narration { font-size: 18px; }
/* 긴 발췌 자동 축소 (CHAT-005 Q082) — page-share-card.js fitCard 가 본문이 넘칠 때만 붙인다. 크기 옵션(size-*)보다 구체적이라 이긴다 · 저장 PNG 도 이 계산값을 옮긴다 */
.wish-excerpt-card.wish-excerpt-card--fit-17 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-17 .wish-msg-narration { font-size: 17px; }
.wish-excerpt-card.wish-excerpt-card--fit-16 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-16 .wish-msg-narration { font-size: 16px; }
.wish-excerpt-card.wish-excerpt-card--fit-15 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-15 .wish-msg-narration { font-size: 15px; }
.wish-excerpt-card.wish-excerpt-card--fit-14 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-14 .wish-msg-narration { font-size: 14px; }
.wish-excerpt-card.wish-excerpt-card--fit-13 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-13 .wish-msg-narration { font-size: 13px; }
.wish-excerpt-card.wish-excerpt-card--fit-12 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-12 .wish-msg-narration { font-size: 12px; }
.wish-excerpt-card.wish-excerpt-card--fit-11 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-11 .wish-msg-narration { font-size: 11px; }
.wish-excerpt-card.wish-excerpt-card--fit-10 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-10 .wish-msg-narration { font-size: 10px; }
.wish-excerpt-card.wish-excerpt-card--fit-9 .wish-excerpt-card-text, .wish-excerpt-card.wish-excerpt-card--fit-9 .wish-msg-narration { font-size: 9px; }
.wish-excerpt-card--align-left { text-align: left; }
.wish-excerpt-card--align-center { text-align: center; }
.wish-excerpt-card--font-a .wish-excerpt-card-text { font-family: var(--wish-font); }
.wish-excerpt-card--font-b .wish-excerpt-card-text { font-family: serif; }	/* 서체 B 구체 서체명은 스펙 미정 — placeholder */
.wish-excerpt-card--color-auto .wish-excerpt-card-text, .wish-excerpt-card--color-white .wish-excerpt-card-text { color: var(--wish-text-100); }
.wish-excerpt-card--color-black .wish-excerpt-card-text, .wish-excerpt-card--color-black .wish-excerpt-card-speaker, .wish-excerpt-card--color-black .wish-msg-narration { color: black; }
/* G561 자동 대비 — 밝은 커스텀 사진(딤 반영)이면 검정 글자(JS autoDark) */
.wish-excerpt-card--color-auto-dark .wish-excerpt-card-text, .wish-excerpt-card--color-auto-dark .wish-excerpt-card-speaker, .wish-excerpt-card--color-auto-dark .wish-msg-narration { color: black; }

/* STEP2/3 미리보기 카드 — 배경은 JS가 프리셋/커스텀이미지로 교체, 워터마크 하단 고정 */
/* v16.2 목업 markup.html:3113-3117 — r16 · 안쪽 24 22 · 세로 간격 10 · 본문 400 15/1.6 · 화자 600 11 65% · 워터마크 좌하단(22 / 16) 600 9.5 자간 .04em 45% */
.wish-excerpt-card { position: relative; flex: none; border-radius: 16px; overflow: hidden; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px 22px; }
.wish-excerpt-card-text { position: relative; z-index: 1; margin: 0; font: 400 15px/1.6 var(--wish-font); color: var(--wish-text-100); }
.wish-excerpt-card-speaker { position: relative; z-index: 1; font: 600 11px var(--wish-font); color: rgba(255,255,255,.65); }
.wish-excerpt-card-watermark { position: absolute; z-index: 1; left: 22px; bottom: 16px; font: 600 9.5px var(--wish-font); letter-spacing: .04em; color: rgba(255,255,255,.45); }
/* 카드 안 지문 — 카드가 이미 좌우 여백을 가져 채팅방용 좌우 24px 을 덜어낸다 */
.wish-excerpt-card .wish-msg-narration { position: relative; z-index: 1; padding: 0; }
.wish-excerpt-card .wish-select-skip-caption { position: relative; z-index: 1; }
/* 어둡게 슬라이더(0~60%, 기본35%) — 연속값을 클래스로 못 만드니 5단계 이산
   스냅으로 스펙 범위를 지킨다(도윤 제안 (b) 채택). ::before 오버레이로 커스텀
   배경 위에 검정 딤을 얹고, 텍스트류는 z-index:1로 그 위에 남긴다. */
.wish-excerpt-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: black; opacity: 0; pointer-events: none; }
.wish-excerpt-card--dim-0::before   { opacity: 0; }
.wish-excerpt-card--dim-15::before  { opacity: .15; }
.wish-excerpt-card--dim-35::before  { opacity: .35; }
.wish-excerpt-card--dim-50::before  { opacity: .50; }
.wish-excerpt-card--dim-60::before  { opacity: .60; }
/* G556 — 어둡게 0~60% 연속값: 카드 인라인 변수 --wish-card-dim(0~.6) */
.wish-excerpt-card--dim::before { opacity: var(--wish-card-dim, .35); }
/* STEP2 비율 토글 [1:1|4:5|9:16] — 기본값(1/1)은 베이스 규칙에 이미 있으나,
   토글 클릭 시 JS가 세 값 중 하나를 명시적으로 붙이는 용도로 모디파이어를
   전부 둔다(같은 specificity라 소스 순서상 이 규칙들이 베이스보다 뒤에 있어
   적용됨) — 저장소 관례(.wish-memory-card 등)와 동일하게 aspect-ratio 사용. */
.wish-excerpt-card--1x1  { aspect-ratio: 1 / 1; }
.wish-excerpt-card--4x5  { aspect-ratio: 4 / 5; }
.wish-excerpt-card--9x16 { aspect-ratio: 9 / 16; }

/* 배경 프리셋 행 — [+]점선 56×56 + 프리셋들, 선택 시 primary 2px 테두리 */
/* v16.2 목업 markup.html:3122-3129 — 슬롯 56 r12 · [+] 1.5px 점선 24% · 선택은 바깥 2px 링(box-shadow) · 스크롤바 숨김.
   링이 스크롤 상자에 잘리지 않게 행에 2px 여유를 두고 같은 만큼 바깥 여백을 당긴다 */
.wish-bg-preset-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.wish-bg-preset-row::-webkit-scrollbar { display: none; }
.wish-bg-preset-add { flex: none; width: 56px; height: 56px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.24); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font: 400 20px var(--wish-font); cursor: pointer; }
.wish-bg-preset-add.is-loading { cursor: default; }	/* G555 슬롯 스피너 */
.wish-bg-preset-item { flex: none; width: 56px; height: 56px; border-radius: 12px; background-size: cover; background-position: center; border: 0; cursor: pointer; }
.wish-bg-preset-item.is-selected { box-shadow: 0 0 0 2px var(--wish-primary); }
/* 프리셋 6종(그라디언트4+단색2, 도윤 확정 구성) — 색값은 여기 한 곳에만 있고
   JS는 클래스명만 붙인다(F3 hex-리터럴 금지 규칙 대응). 색상 설계 근거:
   --1 기존 CTA 그라디언트 재사용, --2·--3 VISUAL-user.md 명시 후보 그라디언트,
   --4 기존 다크톤 두 토큰 조합(신규 hex 없음), --5·--6 기존 surface/bubble 토큰
   단색(신규 hex 없음) — 총 신규 hex는 --2·--3 안의 2개뿐, 나머지는 전부 기존 토큰.
   ★v12 에서 bubble-user 가 그라데이션, bubble-char 가 반투명이 되어 --4 · --6 이 말풍선 토큰을 그대로 쓰면
   --4 는 linear-gradient 안에 linear-gradient 가 든 무효 CSS(배경 없음), --6 은 거의 투명해지고,
   공유 카드 PNG(page-share-card.js paintBg — 계산된 스타일을 캔버스로 옮김)도 빈 · 투명 배경으로 저장된다.
   그래서 말풍선 토큰에서 떼어 불투명 값으로 고정한다(설계 원칙 「기존 토큰 조합 · 신규 hex 없음」 유지):
   --4 = input-surface → CTA 끝색(어두운 회보라 → 핑크 — --1 보라→핑크 · --2 회보라→보라와 구별),
   --6 = field-surface(#262436 — v12 가 옛 bubble-char · field-surface 공용 값 자리에 둔 값, 불투명). */
.wish-bg-preset-item--1 { background: var(--wish-gradient-primary-accent); }
.wish-bg-preset-item--2 { background: var(--wish-gradient-preset-2); }
.wish-bg-preset-item--3 { background: var(--wish-gradient-preset-3); }
.wish-bg-preset-item--4 { background: linear-gradient(135deg, var(--wish-input-surface), var(--wish-cta-to)); }
.wish-bg-preset-item--5 { background: var(--wish-surface); }
.wish-bg-preset-item--6 { background: var(--wish-field-surface); }

/* 어둡게 슬라이더 — 커스텀 배경 적용 시만 노출 */
.wish-darken-row { display: flex; align-items: center; gap: 10px; }
.wish-darken-label { flex: none; font: 400 12px var(--wish-font); color: var(--wish-text-64); }
.wish-darken-slider { flex: 1; -webkit-appearance: none; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); }
.wish-darken-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--wish-primary); }

/* STEP3 공유 액션 3종 */
.wish-share-actions { display: flex; gap: 10px; }
.wish-share-actions .wish-btn-publish { flex: 1; }
.wish-share-copy-btn { flex: none; height: 48px; padding: 0 16px; border-radius: 24px; background: none; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); font: 600 13px var(--wish-font); }
/* ── v16.2 CHAT-005 STEP2/3 (QA1014 Q1) — 목업 markup.html:3106-3151 ──
   화면 한 열: 간격 14 · 안쪽 여백 16 18 22 · 카드도 이 열 안(풀블리드 아님) */
.wish-share-root { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 22px; }
/* G550 — 미리보기 카드는 「상단에 고정」(text.md:2344): 아래 옵션을 스크롤해도 카드가 위에 남는다 */
.wish-share-root > .wish-excerpt-card { position: sticky; top: 0; z-index: 2; }
/* 스텝 한 줄 — 1 선택(지난 단계 흰 600 11) · 14×1 선 20% · 현재 단계 pill(h22 · 0 9 · r11 · primary 700 11) · 다음 단계 500 11 40% */
.wish-share-stepper { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.wish-share-step { flex: none; font: 500 11px var(--wish-font); color: rgba(255,255,255,.4); white-space: nowrap; }
.wish-share-step.is-done { font-weight: 600; color: var(--wish-text-100); cursor: pointer; }
.wish-share-step.is-current { height: 22px; display: flex; align-items: center; padding: 0 9px; border-radius: 11px; background: var(--wish-primary); font-weight: 700; color: var(--wish-text-100); }
.wish-share-step-line { flex: none; width: 14px; height: 1px; background: rgba(255,255,255,.2); }
/* 비율 pill — 스텝 줄 오른쪽 끝, 간격 5 · h22 · 0 8 · r11 · 꺼짐 1px 16% 500 10 60% · 켜짐 primary 600 */
.wish-share-ratio { margin-left: auto; display: flex; gap: 5px; }
.wish-share-ratio-btn { height: 22px; display: flex; align-items: center; padding: 0 8px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); background: none; font: 500 10px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; white-space: nowrap; }
.wish-share-ratio-btn.is-active { border-color: var(--wish-primary); background: var(--wish-primary); font-weight: 600; color: var(--wish-text-100); }
/* 배경 블록 — 라벨 600 12 70% + 슬롯 행, 간격 8 */
.wish-share-bg { display: flex; flex-direction: column; gap: 8px; }
.wish-share-label { font: 600 12px var(--wish-font); color: rgba(255,255,255,.7); }
/* 텍스트 옵션 — 칩 줄(간격 8 줄바꿈) + 토글 목록, 블록 간격 9 */
.wish-share-textopt { display: flex; flex-direction: column; gap: 9px; }
.wish-share-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-share-chip { height: 28px; display: flex; align-items: center; padding: 0 11px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: none; font: 500 11px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; white-space: nowrap; }
.wish-share-chip.is-active { border-color: var(--wish-primary); background: var(--wish-primary); font-weight: 600; color: var(--wish-text-100); }
/* 표시 토글 — 행 배경 5% r10 · 8 11 · 라벨 500 11.5 75% · 작은 스위치 34×20(손잡이 14) · 비활성 45% */
.wish-share-toggles { display: flex; flex-direction: column; gap: 6px; }
.wish-share-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.05); border-radius: 10px; padding: 8px 11px; }
.wish-share-toggle-row.is-disabled { opacity: .45; pointer-events: none; }
.wish-share-toggle-label { font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-share-toggle-row .wish-toggle { width: 34px; height: 20px; border-radius: 10px; background: rgba(255,255,255,.18); }
.wish-share-toggle-row .wish-toggle.is-on { background: var(--wish-primary); }
.wish-share-toggle-row .wish-toggle-knob { top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 7px; }
.wish-share-toggle-row .wish-toggle.is-on .wish-toggle-knob { left: 17px; }
/* 하단 CTA — 간격 9 · [이전] 1 : [다음] 2 · h46 r23 */
.wish-share-cta { display: flex; gap: 9px; }
.wish-share-cta-back { flex: 1; height: 46px; border-radius: 23px; border: 1px solid rgba(255,255,255,.18); background: none; font: 600 13px var(--wish-font); color: rgba(255,255,255,.8); cursor: pointer; }
.wish-share-cta-next { flex: 2; height: 46px; border-radius: 23px; border: 0; background: var(--wish-gradient-cta); font: 700 13px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════════════
   WAVE4 사전 준비 — NOTI-001, MY-001·002·003·007·008·009·010·011 (도윤 착수 전
   선반영). 출처: doc/specs/VISUAL-user.md 각 화면 절.
   재사용 우선 확인 완료 — 새로 안 만들고 그대로 쓸 것:
   .wish-list-row/-row-avatar/-row-thumb/-row-title/-row-desc/-row-meta,
   .wish-toptabs*(MY-007 5탭·MY-008 2탭 언더라인), .wish-tag-chip*(필터·태그칩),
   .wish-toggle*, .wish-status-badge*(--public을 primary 배지로),
   .wish-char-card*+.wish-collection-grid(MY-007 좋아요탭 2열 HOME카드),
   .wish-field-*/.wish-input/.wish-textarea(MY-002·003 입력폼),
   .wish-sheet*(MY-003 편집 바텀시트), .wish-empty-state*, .wish-fine-print,
   .wish-card-head-row/-title/-meta, .wish-btn/-btn-ghost/-btn-publish. ═══ */

/* ── NOTI-001 알림함 ─────────────────────────────────────────────────── */
.wish-noti-header-action { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-noti-header-action:disabled, .wish-noti-header-action.is-disabled { color: rgba(255,255,255,.28); pointer-events: none; }
/* 헤더 텍스트 액션 안의 저장 스피너 (MY-002 [저장]) — 인라인 span 이라 크기가 먹도록 inline-block */
.wish-noti-header-action .wish-spinner { display: inline-block; vertical-align: middle; margin-right: 6px; }
/* NOTI-001 헤더 (v15 목업) — 알림함 전용 변형. .wish-wizard-header 자체는 건드리지 않는다 */
.wish-wizard-header.wish-noti-header { padding: 4px 16px 12px; }
.wish-noti-header .wish-wizard-header-title { text-align: left; font: 700 20px var(--wish-font); }
.wish-noti-header .wish-noti-header-action { font: 500 12px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-noti-header .wish-noti-header-action.is-disabled { color: rgba(255,255,255,.28); }
.wish-noti-header .wish-wizard-header-icon[data-action="settings"] { color: rgba(255,255,255,.5); }
/* NOTI-001 셀 (v15) — 안읽음은 연한 흰 배경 + 핑크 점(후광 3px). 진한 보라로 채우지 않는다 */
.wish-noti-cell { position: relative; align-items: flex-start; min-height: 0; padding: 12px; border-radius: 14px; margin: 0 max(0px, calc(var(--wish-pad-x) - 12px)); }
.wish-noti-cell.is-unread { background: rgba(255,255,255,.035); }
.wish-noti-cell .wish-noti-avatar { width: 40px; height: 40px; border-radius: 20px; background: rgba(var(--noti-rgb, 255,255,255), .14); color: rgb(var(--noti-rgb, 255,255,255)); }
.wish-noti-cell[data-tone="pink"] { --noti-rgb: 244,155,203; }
.wish-noti-cell[data-tone="purple"] { --noti-rgb: 201,164,245; }
.wish-noti-cell[data-tone="gold"] { --noti-rgb: 235,200,143; }
.wish-noti-cell[data-tone="neutral"] .wish-noti-avatar { background: rgba(255,255,255,.1); color: rgba(255,255,255,.62); }
.wish-noti-cell .wish-noti-avatar.has-photo { background-color: transparent; background-size: cover; background-position: center 25%; }
.wish-noti-cell.is-unread .wish-row-text { padding-right: 14px; }
.wish-noti-cell .wish-list-row-desc { font-weight: 400; color: rgba(255,255,255,.66); }
.wish-noti-cell.is-unread .wish-list-row-desc { font-weight: 500; color: var(--wish-text-100); }
.wish-noti-time { margin-top: 4px; font: 400 11px var(--wish-font); color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }	/* G007 */
/* 알림 본문은 2줄이다(스펙 「40px 원형 아이콘/아바타+본문2줄(핵심주체 볼드)+상대시간」,
   VISUAL-user.md:511). .wish-list-row-desc 의 기본은 1줄 말줄임(nowrap)이라 여기서만 덮는다 —
   그 클래스는 chat-list·search·chat·my 4개 화면이 함께 쓰므로 전역으로 바꾸면 남의 화면까지 늘어난다. */
.wish-noti-cell .wish-list-row-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wish-noti-dot { position: absolute; top: 14px; right: var(--wish-pad-x); width: 7px; height: 7px; border-radius: 50%; background: var(--wish-accent); }
/* 알림 셀(v15): 6px 점 + 3px 후광 — 공지 행(.wish-notice-row)이 쓰는 기본 점은 그대로 둔다 */
.wish-noti-cell .wish-noti-dot { top: 18px; right: 15px; width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(248,87,180,.18); }
/* QA1014 R18 (v16.2 T1213-1225 · 목업 M1809-1825 · logic L967) — 칩 줄 좌우 20 + 목록과 12 간격,
   셀은 목록 패딩 20 에 margin 2px -8px → 화면 가장자리에서 12 들어가고 셀 사이 4 */
#ws-noti > .wish-chip-scroll { padding: 0 20px 12px; }
#ws-noti .wish-noti-cell { margin: 2px 12px; }

/* ── MY-001 마이페이지 ───────────────────────────────────────────────── */
.wish-settings-group-label { display: block; font: 600 12px var(--wish-font); color: var(--wish-text-45); padding: 0 var(--wish-pad-x); margin-bottom: 2px; }	/* display:block — MY-010 은 <span> 으로 그려 앞 보조 문구와 한 줄에 붙었다(다른 화면은 <div> 라 변화 없음) */
.wish-profile-card { display: flex; gap: 12px; padding: 14px var(--wish-pad-x); }
.wish-profile-card-avatar { width: 72px; height: 72px; border-radius: 36px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.wish-profile-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-profile-card-name { font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-profile-card-handle { font: 400 11.5px var(--wish-font); color: var(--wish-text-45); }
.wish-profile-card-bio { font: 400 12px var(--wish-font); color: var(--wish-text-64); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-profile-card-edit { flex: none; align-self: center; font: 600 12px var(--wish-font); color: var(--wish-text-64); }

.wish-balance-block { background: rgba(123,15,201,.16); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wish-balance-block-row { display: flex; align-items: center; gap: 8px; }
.wish-balance-block-value { font: 800 28px/1.2 var(--wish-font); letter-spacing: -0.02em; color: var(--wish-text-100); }
.wish-earn-row { display: flex; align-items: center; gap: 6px; font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-earn-row-badge { font: 700 11px var(--wish-font); color: var(--wish-primary); }
/* 잔액 카드 3행의 우측 요소들 — margin-left:auto 로 민다(.wish-card-head-meta 와 같은 관용구).
   스펙 와이어프레임이 [충전]·[›]·[이용내역›] 을 모두 우측에 두기 때문이다(VISUAL-user.md:1530-1534). */
.wish-balance-block-row .wish-balance-chip { margin-left: auto; }
.wish-earn-row-go { margin-left: auto; display: flex; align-items: center; color: var(--wish-text-45); }
.wish-balance-history { margin-left: auto; display: flex; align-items: center; gap: 2px; font: 600 11.5px var(--wish-font); color: var(--wish-text-64); cursor: pointer; }
/* MY-001 v16.2 (QA1014 Q6 · 정의서 T3140-3219 · 목업 M4277-4347) — 위 공용 클래스(.wish-profile-card · .wish-balance-*)는
   다른 화면도 쓰므로 #ws-my 안에서만 덮는다 */
#ws-my .wish-my-title { margin: 0; padding: 20px 20px 16px; font: 700 22px var(--wish-font); color: var(--wish-text-100); }
#ws-my .wish-my-body { display: flex; flex-direction: column; gap: 16px; padding: 0 20px 24px; }
#ws-my .wish-settings-group-label { padding: 0; margin: 0 0 -8px; font: 700 11px var(--wish-font); letter-spacing: .06em; color: rgba(255,255,255,.4); }
#ws-my .wish-my-card, .wish-my-account { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: var(--wish-surface); }
#ws-my .wish-my-chev { flex: none; color: rgba(255,255,255,.4); }
#ws-my .wish-my-ico { flex: none; color: rgba(255,255,255,.6); }
#ws-my .wish-my-meta { flex: none; font: 400 12px var(--wish-font); color: rgba(255,255,255,.4); white-space: nowrap; }
/* ① 프로필 */
#ws-my .wish-profile-card { align-items: center; gap: 14px; padding: 0 0 14px; cursor: pointer; }
#ws-my .wish-profile-card-avatar { box-shadow: none; }
#ws-my .wish-profile-card-body { gap: 3px; }
#ws-my .wish-profile-card-name { font: 600 17px var(--wish-font); }
#ws-my .wish-profile-card-handle { font: 400 12px var(--wish-font); color: rgba(255,255,255,.4); }
#ws-my .wish-profile-card-bio { font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.55); }
#ws-my .wish-profile-card-edit { font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.5); white-space: nowrap; }
#ws-my .wish-profile-card-edit::after { content: " \203A"; }
/* ② 페르소나 행(카드 안 · 구분선 아래) */
.wish-my-persona { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.wish-my-persona-avatar { width: 28px; height: 28px; border-radius: 14px; flex: none; box-sizing: border-box; border: 1.5px solid rgba(255,255,255,.14); background: linear-gradient(135deg, var(--wish-surface), var(--wish-primary)); background-size: cover; background-position: center 25%; }
.wish-my-persona-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wish-my-persona-name { font: 500 13px var(--wish-font); color: rgba(255,255,255,.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-my-persona-sub { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
/* ③④⑤ 넥타르 카드 */
#ws-my .wish-balance-block { gap: 0; padding: 16px; background: var(--wish-surface); }
/* Q-06 (QA 6장) 목업(v20.3 MY-001 ③④⑤) 수치 — 잔액 행 하단 16 · 적립 행 높이 46 + 위 구분선(.08) · 이용 내역 행 위 10 + 구분선 */
#ws-my .wish-balance-block-row:first-child { align-items: flex-end; gap: 10px; padding-bottom: 16px; }
.wish-my-bal { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 5px; }
#ws-my .wish-balance-block-value { font: 800 26px/1.2 var(--wish-font); letter-spacing: -.5px; }
#ws-my .wish-balance-unit { font: 600 13px var(--wish-font); color: rgba(255,255,255,.55); }
#ws-my .wish-balance-chip { height: 34px; padding: 0 18px; border-radius: 17px; background: linear-gradient(135deg, #8F1AC6, #E64DB7); font: 700 13px var(--wish-font); color: var(--wish-text-100); }
#ws-my .wish-earn-row { box-sizing: border-box; height: 46px; gap: 10px; padding: 0; border-top: 1px solid rgba(255,255,255,.08); font: 500 13px var(--wish-font); color: rgba(255,255,255,.8); cursor: pointer; }
.wish-my-earn-label { flex: 1; min-width: 0; }
#ws-my .wish-earn-row-go { margin-left: 0; }
.wish-my-dot { width: 6px; height: 6px; margin-left: -4px; border-radius: 50%; flex: none; background: var(--wish-accent); }
#ws-my .wish-my-history-row { justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
#ws-my .wish-my-history-row .wish-balance-history { font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.5); white-space: nowrap; }
#ws-my .wish-balance-history::after { content: " \203A"; }
/* ⑥⑦ 리스트 행 — 54px · 18 아이콘 · 400 15 · 우측 개수 12 .4 · 셰브론 .35 · 아래 선 .06 */
.wish-my-list { display: flex; flex-direction: column; }
#ws-my .wish-my-row { height: 54px; min-height: 0; padding: 0; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
#ws-my .wish-my-row .wish-list-row-title { flex: 1; min-width: 0; display: flex; align-items: center; font: 400 15px var(--wish-font); white-space: nowrap; }
#ws-my .wish-my-row .wish-list-row-meta { flex: none; font: 400 12px var(--wish-font); color: rgba(255,255,255,.4); }
#ws-my .wish-my-row[data-key="tag"] .wish-list-row-meta { font-weight: 500; color: rgba(255,255,255,.45); }
#ws-my .wish-my-row .wish-my-chev { color: rgba(255,255,255,.35); }
#ws-my .wish-my-badge { height: auto; margin-left: 12px; padding: 3px 8px; border-radius: 9px; font: 600 10px/1.2 var(--wish-font); color: var(--wish-text-100); background: rgba(123,15,201,.5); }
#ws-my .wish-my-badge--off { color: rgba(255,255,255,.64); background: rgba(255,255,255,.1); }
/* ⑧ 하단 캡션 */
.wish-my-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
#ws-my .wish-my-foot .wish-fine-print { font: 400 11px var(--wish-font); color: rgba(255,255,255,.4); }
.wish-my-foot-link { align-self: flex-start; cursor: pointer; }
.wish-my-foot-link.is-disabled { opacity: .4; pointer-events: none; }
#ws-my .wish-my-foot-link .wish-list-row-title { font: 500 11px var(--wish-font); color: rgba(255,255,255,.5); }
#ws-my .wish-my-foot-link .wish-list-row-title::after { content: " \203A"; }

/* ── MY-002 프로필 편집 / MY-003 페르소나 편집(80px는 --sm 모디파이어) ──── */
/* 읽기 전용 @핸들 표시. 예전엔 .wish-uploader-lock 을 재사용했는데 그건
   position:absolute 인 **자물쇠 배지**(692행)라, 부모 .wish-form-card 가 static 이면
   문서 기준으로 튀어나가 화면 하단에 떨어졌다(지호 실측: top 787 / 카드는 238~306).
   배지가 아니라 텍스트이므로 흐름 안에 두는 자기 클래스를 쓴다. */
/* QA1013 N9 — 48px 읽기 전용 박스(흰색 5% · 글자 50%) + 「@」 35% + 오른쪽 자물쇠 15px */
/* v18 my-002: 박스 gap 2 · 「@」 600 15px 35% · 자물쇠 선 35% */
.wish-handle-readonly { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.05); font: 400 15px var(--wish-font); color: var(--wish-text-50); cursor: pointer; }
.wish-handle-readonly .wish-handle-at { font-weight: 600; color: rgba(255,255,255,.35); }
.wish-handle-readonly .wish-handle-lock { margin-left: auto; display: inline-flex; flex: none; color: rgba(255,255,255,.35); }
.wish-avatar-uploader { position: relative; width: 96px; height: 96px; border-radius: 48px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; margin: 0 auto; }
.wish-avatar-uploader--sm { width: 80px; height: 80px; border-radius: 40px; }
.wish-avatar-uploader-badge { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 15px; background: var(--wish-primary); border: 3px solid var(--wish-bg-base); display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); }
.wish-avatar-uploader--sm .wish-avatar-uploader-badge { width: 28px; height: 28px; border-radius: 14px; }

.wish-input.is-readonly { background: rgba(255,255,255,.05); color: var(--wish-text-50); display: flex; align-items: center; justify-content: space-between; }

.wish-info-banner { display: flex; align-items: flex-start; gap: 8px; background: var(--wish-surface); border-radius: 16px; padding: 13px 14px; font: 400 12px/1.5 var(--wish-font); color: var(--wish-text-80); }
.wish-info-banner-link { color: var(--wish-text-100); font-weight: 600; }

.wish-profile-preview-card { background: var(--wish-surface); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.wish-profile-preview-avatar { width: 44px; height: 44px; border-radius: 22px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; }
.wish-profile-preview-meta { font: 400 11px var(--wish-font); color: var(--wish-text-45); }

/* 삭제/취소용 accent 아웃라인 pill — [저장]과 같은 크기, 테두리만(MY-003 [삭제]) */
.wish-btn--accent-outline { background: none; border: 1.5px solid var(--wish-accent); color: var(--wish-accent); }
.wish-btn--accent-outline:disabled, .wish-btn--accent-outline.is-disabled { opacity: .4; pointer-events: none; }

/* ── MY-007 내 활동 ──────────────────────────────────────────────────── */
.wish-list-row-thumb--lg { width: 64px; height: 64px; border-radius: 16px; }
.wish-card-select-dot { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 11px; background: rgba(var(--wish-bg-base-rgb),.6); border: 1.5px solid rgba(255,255,255,.5); }
.wish-card-select-dot.is-selected { background: var(--wish-primary); border-color: var(--wish-primary); }
.wish-multiselect-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--wish-pad-x) calc(12px + var(--wish-safe-bottom)); background: var(--wish-bg-base); border-top: 1px solid var(--wish-line); }
.wish-multiselect-bar-count { font: 600 13px var(--wish-font); color: var(--wish-text-80); }
.wish-follow-toggle-btn { flex: none; height: 30px; padding: 0 14px; border-radius: 15px; background: rgba(255,255,255,.08); color: var(--wish-text-80); font: 600 11.5px var(--wish-font); border: 0; }
.wish-follow-toggle-btn.is-following { background: rgba(255,255,255,.06); color: var(--wish-text-45); }
.wish-list-row-thumb--snap { width: 54px; height: 70px; border-radius: 10px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%; }

/* ── MY-008 차단 · 가린 태그 ─────────────────────────────────────────── */
.wish-list-row-avatar--sm { width: 44px; height: 44px; border-radius: 22px; }
.wish-btn-ghost--sm { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 11px; }
/* 풀보더 accent 콜아웃 — MY-008 과다차단 경고 · MY-009 OS권한거부 배너 공용
   (.wish-error-banner 의 좌측보더형과는 다른, 전체 테두리형이라 별도 클래스) */
.wish-callout-accent { display: flex; gap: 9px; align-items: flex-start; background: rgba(248,87,180,.14); border: 1px solid rgba(248,87,180,.4); border-radius: 14px; padding: 12px 13px; }
.wish-callout-accent-icon { flex: none; width: 18px; height: 18px; border-radius: 9px; background: var(--wish-accent); color: var(--wish-text-100); font: 700 11px var(--wish-font); display: flex; align-items: center; justify-content: center; }
.wish-callout-accent-body { font: 400 12px/1.5 var(--wish-font); color: var(--wish-text-80); }

/* ── MY-009 알림 설정 ────────────────────────────────────────────────── */
.wish-toggle-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--wish-list-row-h); padding: 0 var(--wish-pad-x); }
.wish-toggle-row-label { font: 400 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-toggle-row.is-disabled { opacity: .4; pointer-events: none; }

/* 방해금지 시간대 — 토글행(.wish-toggle-row) 바로 아래, 시작·종료 두 값을
   나란히 보여주는 탭형 피커. .wish-timeline*(CHAT-003 관계 단계 타임라인)과는
   이름만 비슷한 별개 컴포넌트라 혼동 금지 */
.wish-time-picker { flex: 1; height: 44px; border-radius: 12px; background: var(--wish-field-surface); display: flex; align-items: center; justify-content: center; font: 600 14px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }

/* ── MY-010 계정 설정 ────────────────────────────────────────────────── */
/* border-bottom 은 2026-09-13 추가 — 이 행은 원래 .wish-list-row--bordered 로 그려져 **구분선이 있었다.**
   전용 클래스로 교체하면서 선이 사라지는 것은 시각 회귀다. 스펙이 구분선 유무를 말하지 않지만,
   침묵은 「없애라」가 아니라 「정하지 않았다」이므로 기존 요소를 유지한다(쭌 판정).
   ※ --bordered 를 조합하지 않은 이유: 그 수식자는 border 외에 min-height:0 · padding:11px 도 바꿔
     이 행의 높이(--wish-list-row-h)와 패딩을 덮어쓴다. 선만 필요하므로 선만 더한다. */
.wish-linked-account-row { display: flex; align-items: center; gap: 10px; min-height: var(--wish-list-row-h); padding: 0 var(--wish-pad-x); border-bottom: 1px solid var(--wish-line); }
.wish-linked-account-icon { width: 24px; height: 24px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: var(--wish-text-100); font: 700 12px var(--wish-font); }
.wish-linked-account-name { flex: 1; font: 500 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-danger-text { color: var(--wish-accent); }

/* 탈퇴 3스텝 인디케이터 — 스킵 불가, 완료(체크)/현재(강조)/대기 3상태 */
.wish-step-indicator { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 0 14px; }
.wish-step-indicator-item { font: 600 11.5px var(--wish-font); color: var(--wish-text-40); }
.wish-step-indicator-item.is-active { color: var(--wish-text-100); }
.wish-step-indicator-item.is-done { color: var(--wish-primary); }
.wish-step-indicator-sep { color: var(--wish-text-40); font-size: 10px; }

/* 삭제 항목 안내 리스트(탈퇴 스텝2) — 아이콘(✕/？/！)+본문, 아이콘 색만 다름 */
.wish-delete-item-row { display: flex; gap: 8px; align-items: flex-start; font: 400 13px/1.5 var(--wish-font); color: var(--wish-text-80); padding: 6px 0; }
.wish-delete-item-icon { flex: none; font-weight: 700; }
.wish-delete-item-icon--remove { color: var(--wish-accent); }
.wish-delete-item-icon--warn { color: var(--wish-accent); }
/* G928 MY-010 계정 정보 로그인 수단 배지 — 목업 22px · r11 · 흰 10% · 700 10.5 · 아래 8px */
.wish-acct-login-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-bottom: 8px; border-radius: 11px; background: rgba(255,255,255,.1); font: 700 10.5px var(--wish-font); color: var(--wish-text-100); }
.wish-acct-login-pill + .wish-list-row-desc { display: block; }
/* G941 MY-010 ② 공개 캐릭터 비공개 안내 — 목업: 흰 5% · 1px 점선 흰 20% · r13 · p 11/13, 「?」 16px 원(흰 15%) 800 9, 제목 600 12 / 보조 400 11/1.5 · 55% */
.wish-delete-item-row--info { gap: 9px; padding: 11px 13px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); }
.wish-delete-item-icon--info { width: 16px; height: 16px; border-radius: 8px; margin-top: 1px; background: rgba(255,255,255,.15); color: var(--wish-text-100); display: flex; align-items: center; justify-content: center; font: 800 9px var(--wish-font); }
.wish-delete-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wish-delete-item-title { font: 600 12px var(--wish-font); color: var(--wish-text-100); }
.wish-delete-item-sub { font: 400 11px/1.5 var(--wish-font); color: rgba(255,255,255,.55); }

/* ── MY-011 고객지원 허브 ────────────────────────────────────────────── */
/* position: relative 는 .wish-noti-dot(1678, position:absolute) 의 기준을 이 행으로 잡기 위한 것이다.
   NOTI-001 은 .wish-noti-cell(1672)이 그 역할을 하는데 공지 행에는 없어서, 도트가 행을 벗어나
   바깥의 positioned 조상에 붙었다. 이 클래스는 MY-011 만 쓴다(JS 1파일 · HTML 0). — 도윤 2026-09-13 */
.wish-notice-row { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px var(--wish-pad-x); border-bottom: 1px solid var(--wish-line); }
.wish-notice-row.is-pinned { border-left: 3px solid var(--wish-primary); padding-left: calc(var(--wish-pad-x) - 3px); }
.wish-notice-row-title { font: 600 13px/1.4 var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wish-notice-row-meta { display: flex; align-items: center; gap: 6px; font: 400 10.5px var(--wish-font); color: var(--wish-text-45); }
.wish-notice-row-category { font: 700 10.5px var(--wish-font); color: var(--wish-text-64); }

.wish-status-badge--answered { background: rgba(123,15,201,.55); color: var(--wish-text-100); }
.wish-status-badge--reask { background: rgba(255,255,255,.2); color: var(--wish-text-100); }	/* MY-011 재문의 — 접수(.08) · 답변 완료(primary)와 다른 불투명도 (P2-G04) */

.wish-faq-item { border-bottom: 1px solid var(--wish-line); }
.wish-faq-question { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--wish-pad-x); font: 600 13px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
.wish-faq-answer { padding: 0 var(--wish-pad-x) 16px; font: 400 12.5px/1.6 var(--wish-font); color: var(--wish-text-64); white-space: pre-line; }
.wish-faq-item:not(.is-expanded) .wish-faq-answer { display: none; }
/* P2-G07 — 운영자 리치텍스트(공지 본문 · FAQ 답변 · CS 답변). 서버가 허용 목록으로 정리한 HTML 이다.
   .wish-list-row-desc 의 1줄 말줄임(nowrap)을 풀고, 목록 들여쓰기 · 표 칸 · 이미지 폭만 잡는다 */
.wish-rich { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.wish-rich p { margin: 0 0 8px; }
.wish-rich ol, .wish-rich ul { margin: 0 0 8px; padding-left: 20px; }
.wish-rich table { border-collapse: collapse; margin: 0 0 8px; max-width: 100%; }
.wish-rich td, .wish-rich th { border: 1px solid var(--wish-line); padding: 4px 8px; }
.wish-rich img { max-width: 100%; height: auto; }
.wish-rich a { color: var(--wish-primary); text-decoration: underline; }
.wish-rich--page { padding: 16px var(--wish-pad-x) 24px; }	/* 공지 상세 본문 — 앱 거터 */
.wish-list-row--rich { flex-wrap: wrap; row-gap: 6px; padding-block: 12px; }	/* 운영팀 답변 행 — 머리(작성자 · 일시) 한 줄 + 본문 전체 폭 */
.wish-list-row--rich > .wish-list-row-meta { margin-left: auto; }
.wish-list-row--rich > .wish-rich { order: 3; flex: 1 0 100%; }

/* ══════════════════════════════════════════════════════════════════════
   CHAT-003 채팅방 메뉴 · 캐릭터 · 대화 상세 (도윤 chat.html 착수 — 우선순위
   순서대로: 드로어뼈대→관계블록→시트류→나머지, chat-003-backlog.md 기준).
   출처: doc/specs/VISUAL-user.md CHAT-003 절.
   재사용: .wish-tag-chip(태그·문체3택), .wish-toggle(알림설정 인라인),
   .wish-list-row(대화관리4행·위험영역·페르소나행), .wish-status-badge--public
   (페르소나 [기본]배지), .wish-danger-text(나가기 accent), .wish-sheet*
   (바텀시트 셸), .wish-toptabs*(시트 언더라인 2탭), .wish-empty-state*,
   .wish-dialog*(확인 다이얼로그 3종 — 기억초기화·새로시작·나가기 전부 이
   컴포넌트 그대로), --wish-locked-fill(미도달/미해금 단색). ═══════════════ */

/* 아바타 사이즈 변형 추가 — 기존 --sm(44)/--lg(56)에 이어 페르소나행(28)·
   캐릭터요약카드(64) 대응 */
.wish-list-row-avatar--xs { width: 28px; height: 28px; border-radius: 14px; font-size: 11px; }
.wish-list-row-avatar--xl { width: 64px; height: 64px; border-radius: 32px; font-size: 22px; }

/* ── 드로어 셸 — 우측 88% + 좌측 12% dim ────────────────────────────────── */
.wish-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 88%; background: var(--wish-bg-base); overflow-y: auto; z-index: 35; padding-top: var(--wish-safe-top); box-shadow: var(--wish-shadow-sheet); transform: translateX(0); transition: transform .25s ease; }
.wish-drawer.is-hidden { transform: translateX(100%); }
/* 2026-10-26 — 여는 첫 그림의 머리(✕ · 공유)는 슬라이드가 끝날 즈음 나타난다(✕ 가 화면을 가로질러 지나가 보이지 않게) */
/* 2026-10-26 사용자 「✕ 는 오른쪽에서 열리고 내용이 다 나왔을 때」 — 로딩 중(is-opening)엔 숨기고 내용이 들어온 첫 그림(is-content-in)에서 페이드.
   하나뿐인 닫기 버튼이라 응답이 늦으면 0.8초에 그대로 나타난다(바깥 탭 · 뒤로가기 닫기는 늘 된다) */
.wish-drawer.is-opening .wish-drawer-header > * { animation: wish-type-fade .14s ease-out .8s both; }
.wish-drawer.is-content-in .wish-drawer-header > * { animation: wish-type-fade .16s ease-out both; }
@media (prefers-reduced-motion: reduce) { .wish-drawer.is-opening .wish-drawer-header > *, .wish-drawer.is-content-in .wish-drawer-header > * { animation: none; } }
.wish-drawer-dim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 34; transition: opacity .2s ease; }
.wish-drawer-dim.is-hidden { opacity: 0; pointer-events: none; }
/* QA1012 U11 — 값은 CHAT-003 목업(markup.html:2200-2354). 헤더 14/16/8 · 본문 좌우 16 · 블록 간 16 */
.wish-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.wish-drawer-close, .wish-drawer-share { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); }
.wish-drawer-close { margin-left: -8px; }
.wish-drawer-share { color: rgba(255,255,255,.6); }
.wish-drawer-body { display: flex; flex-direction: column; gap: 16px; padding: 0 16px 24px; }
.wish-drawer-section { min-width: 0; }
/* 블록 카드 — surface · radius 16 · padding 14 (목업 2207 · 2223 · 2248 · 2268 · 2287 · 2326). gap 은 블록마다 목업 값 */
.wish-drawer-card { background: var(--wish-surface); border-radius: var(--wish-radius-card); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wish-drawer-card .wish-card-head-row { min-width: 0; }
.wish-drawer-card .wish-card-head-title { font: 600 14px var(--wish-font); }
.wish-drawer-card-desc { margin-top: 4px; font: 400 11.5px/1.45 var(--wish-font); color: var(--wish-text-64); }
.wish-drawer-section-more { margin-left: auto; font: 400 11.5px var(--wish-font); color: var(--wish-text-45); }
/* 카드 우하단 링크(「단계별 변화 보기 ›」 · 「전체 보기 ›」) — 500 11 · 흰 50% */
.wish-drawer-card-foot { display: flex; align-items: center; justify-content: flex-end; }
.wish-drawer-card-more { align-self: flex-end; font: 500 11px var(--wish-font); color: var(--wish-text-50); white-space: nowrap; cursor: pointer; }
.wish-drawer-footer-meta { font: 400 11px/1.6 var(--wish-font); color: var(--wish-text-40); padding: 0 16px; }

/* 캐릭터 요약 카드(드로어 상단, 타이틀 역할 겸용) — 목업 2207-2222: 64 아바타(r20) + 이름 17/700 · 소개 12 · 「크리에이터 · 팔로잉」 11 / 태그 칩 + 우측 「프로필 전체보기 ›」 */
.wish-drawer-char-card { gap: 12px; }
.wish-drawer-char-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.wish-drawer-char-avatar { border-radius: 20px; font: 700 24px var(--wish-font); }
.wish-drawer-char-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wish-drawer-char-name-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wish-drawer-char-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 17px var(--wish-font); color: var(--wish-text-100); }
.wish-drawer-char-mode { flex: none; height: 20px; display: flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(123,15,201,.5); font: 800 9px var(--wish-font); letter-spacing: .04em; color: var(--wish-text-100); }
.wish-drawer-char-bio { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/1.4 var(--wish-font); color: var(--wish-text-64); }
.wish-drawer-char-creator { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
.wish-drawer-char-tagrow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-drawer-char-tagrow .wish-chip-scroll { gap: 6px; min-width: 0; }
.wish-drawer-char-tagrow .wish-tag-chip { height: auto; gap: 0; padding: 3px 7px; border: none; border-radius: 8px; background: rgba(255,255,255,.08); font: 400 10px var(--wish-font); color: var(--wish-text-55); }
.wish-drawer-char-link { margin-left: auto; flex: none; font: 500 11px var(--wish-font); color: var(--wish-text-50); white-space: nowrap; cursor: pointer; }

/* NEW 배지 — 이 드로어 안에서 accent 사용은 여기와 나가기 텍스트로 제한 */
.wish-new-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9px; background: var(--wish-accent); color: var(--wish-text-100); font: 800 9px var(--wish-font); }
/* QA1013b Q1 — 드로어 안 미확인 표시: Memory Collection 제목 · [단계별 변화 보기] · 시트 [LIKE · DISLIKE] 탭 라벨 옆 accent 도트(헤더 ≡ 점과 같은 7px) */
.wish-drawer-new-dot { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: var(--wish-accent); vertical-align: 2px; pointer-events: none; }

/* ── 관계 상태 블록(3) — 대표 일러스트 + 게이지 + 10칸 단계 스트립 ─────────── */
.wish-relation-hero { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; height: auto; background-size: cover; background-position: center 20%; background-color: var(--wish-surface); }
.wish-relation-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0) 55%, var(--wish-bg-base) 100%); }
.wish-relation-hero-info { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.wish-relation-hero-label { font: 600 17px var(--wish-font); color: var(--wish-text-100); }
.wish-relation-hero-value { font: 400 12px var(--wish-font); color: var(--wish-text-64); }
/* 단계 NEW — 히어로 우상단 22px pill (목업 2226) */
.wish-relation-hero-new { position: absolute; top: 10px; right: 10px; z-index: 1; height: 22px; padding: 0 9px; border-radius: 11px; font: 700 10px var(--wish-font); }
.wish-relation-gauge { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-relation-gauge-fill { height: 100%; background: var(--wish-gradient-primary-accent); }
.wish-relation-caption { font: 400 11px var(--wish-font); color: var(--wish-text-40); }
/* 스트립 — 가로 스크롤은 두고 브라우저 기본 스크롤바만 숨긴다 (목업 2235 scrollbar-width:none) */
.wish-relation-strip { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.wish-relation-strip::-webkit-scrollbar { display: none; }
.wish-relation-strip-item { flex: none; width: 46px; height: 61px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font: 700 13px var(--wish-font); background-size: cover; background-position: center 20%; color: var(--wish-text-100); }
.wish-relation-strip-item.is-current { border: 2px solid var(--wish-primary); transform: scale(1.06); }
.wish-relation-strip-item.is-locked { background: var(--wish-locked-fill); color: rgba(255,255,255,.3); }

/* ── Memory Collection 진입 행(4) — 썸네일 겹침 + 수집률 바 ────────────────── */
/* QA1012 U11 — 목업 2248-2267: [제목 15/600 + 캡션] · 썸네일(우측) · 셰브론 / 2px 바 + 「n / t 수집」 */
.wish-drawer-card--collection { gap: 11px; }
.wish-memory-entry { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.wish-memory-entry-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wish-memory-entry-title { font: 600 15px var(--wish-font); color: var(--wish-text-100); }
.wish-memory-entry-caption { font: 400 11.5px/1.45 var(--wish-font); color: var(--wish-text-64); }
.wish-memory-entry-thumbs { display: flex; flex: none; }
.wish-memory-entry-thumb { width: 40px; height: 40px; border-radius: 12px; margin-left: -12px; border: 1.5px solid var(--wish-bg-base); background-size: cover; background-position: center top; background-color: var(--wish-surface); }
.wish-memory-entry-thumb:first-child { margin-left: 0; }
.wish-memory-entry-chev { flex: none; display: flex; color: var(--wish-text-40); }
.wish-memory-entry-foot { display: flex; align-items: center; gap: 9px; }
.wish-memory-entry-progress { flex: 1; height: 2px; border-radius: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.wish-memory-entry-progress-fill { height: 100%; background: var(--wish-primary); }
.wish-memory-entry-count { flex: none; white-space: nowrap; font: 600 11px var(--wish-font); color: rgba(255,255,255,.6); }

/* ── CHAT-003 기억 제목 「{이름}의 기억」(v13) — 이름만 말줄임, 「의 기억 …」은 nowrap · 줄지 않는다 ── */
.wish-memory-title { display: flex; flex: 1; min-width: 0; align-items: baseline; }	/* QA1013 N4-b — 카운터가 오른쪽 끝으로 */
.wish-memory-title-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-memory-title-suffix { flex: none; white-space: nowrap; }
/* ── 기억 리스트(5) — 메모리 카드 리스트, 고정/삭제 텍스트 액션.
   page-chat.js가 아이콘이 아니라 COPY.pin/unpin/del 텍스트를 그대로
   넣으므로(2026-09-13 실캡처로 확인 — 24px 정사각형에 "고정해제" 4글자가
   줄바꿈되어 끼는 결함), 텍스트에 맞는 크기로 재조정 ── */
.wish-memory-note-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; }
.wish-memory-note-row.is-pinned { border-left: 2px solid var(--wish-primary); padding-left: 8px; margin-left: -8px; }
.wish-memory-note-text { flex: 1; min-width: 0; font: 400 12.5px/1.5 var(--wish-font); color: var(--wish-text-80); }
.wish-memory-note-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }	/* v23 CHAT-003 — 날짜 1줄 → 요약문 */
.wish-memory-note-date { font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-memory-note-action { flex: none; padding: 2px 0; font: 400 11px/1.4 var(--wish-font); color: var(--wish-text-45); white-space: nowrap; cursor: pointer; }
/* QA1012 U11 — 드로어 기억 카드(목업 2268-2286 · logic.js:716): 제목 + 우측 카운터 / 정렬 칩 26px + 우측 캡션 / 행 카드(흰 5% · r12 · 10/12, 고정 = 좌측 3px primary) */
.wish-drawer-mem-counter { flex: none; margin-left: 12px; white-space: nowrap; font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-drawer-mem-sort { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-drawer-mem-sort .wish-tag-chip { flex: none; height: 26px; padding: 0 10px; border-radius: 13px; white-space: nowrap; font: 500 11px var(--wish-font); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.14); }
.wish-drawer-mem-sort .wish-tag-chip.is-selected { font-weight: 600; background: var(--wish-primary); border-color: transparent; color: var(--wish-text-100); }
.wish-drawer-mem-synced { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-drawer-mem-list { display: flex; flex-direction: column; gap: 6px; }
.wish-drawer .wish-memory-note-row { align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-drawer .wish-memory-note-row.is-pinned { border-left: 3px solid var(--wish-primary); margin-left: 0; padding-left: 12px; }
.wish-drawer .wish-memory-note-text { line-height: 1.45; }

/* ── 스냅샷(6) — 33×44 일러스트(v19.2 목업) + 메타, 저장 행은 점선 ─────────────────────── */
.wish-snapshot-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.wish-snapshot-thumb { width: 33px; height: 44px; border-radius: 8px; flex: none; background-size: cover; background-position: center 20%; background-color: var(--wish-surface); }
.wish-snapshot-save-row { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 1.5px dashed rgba(255,255,255,.24); border-radius: 12px; color: var(--wish-text-64); font: 600 12.5px var(--wish-font); }
.wish-snapshot-save-row.is-disabled { opacity: .4; pointer-events: none; }
/* QA1012 U11 — 드로어 스냅샷 카드(목업 2287-2319): 행 = 흰 5% · r12 · 9/11, 저장 행 = 흰 3% + 1.5 점선 18% · + 아이콘 · 좌측 정렬 */
.wish-drawer-card--snapshot { gap: 11px; }
.wish-drawer-snap-count { flex: none; margin-left: 10px; white-space: nowrap; font: 600 11px var(--wish-font); color: var(--wish-text-50); }
.wish-link-more.wish-drawer-snap-all { flex: none; margin-left: 10px; font-size: 11px; }	/* 스냅샷 헤더 「전체 보기 ›」 → MY-007 [스냅샷] (v19.2-B7) */
.wish-drawer-snap-list { display: flex; flex-direction: column; gap: 6px; }
.wish-drawer .wish-snapshot-row { padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.05); cursor: pointer; }
.wish-drawer .wish-snapshot-row .wish-list-row-title { font: 600 12.5px var(--wish-font); }
.wish-drawer .wish-snapshot-row .wish-list-row-desc { margin-top: 2px; font: 400 10px var(--wish-font); color: var(--wish-text-45); }
.wish-drawer .wish-snapshot-thumb { background-color: #262436; }
.wish-drawer .wish-snapshot-save-row { height: auto; justify-content: flex-start; gap: 9px; padding: 11px; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.03); font: 600 12px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-drawer .wish-snapshot-save-row svg { flex: none; width: 14px; height: 14px; color: rgba(255,255,255,.55); }
/* ── 스냅샷 상세 시트 ⑤ · 불러오기 확인 ⑤-B (v20 CHAT-003 text.md:1977-2001 · 2097-2107 — ws-snapshot.js, MY-007 공용) ──────
   값은 render/rendered.html 시트 컷 ⑤ · 팝업 컷 ⑤-B 목업 그대로. 높이 화면의 85% · 본문만 내부 스크롤 · 하단 CTA 고정 */
.wish-sheet.wish-sheet--snap { height: 85vh; max-height: 85vh; padding: 0; display: flex; flex-direction: column; overflow: hidden; background: #2E2B42; }
.wish-sheet--snap .wish-sheet-handle { flex: none; margin: 10px auto 4px; }
.wish-snap-sheet { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.wish-snap-head { flex: none; display: flex; gap: 14px; padding: 12px 20px 16px; }
.wish-snap-thumb { flex: none; width: 60px; height: 80px; border-radius: 12px; background: #1C1A2D center top / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.wish-snap-head-col { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.wish-snap-eyebrow { font: 600 11px var(--wish-font); color: #C9A4F5; }
.wish-snap-title { font: 800 18px/1.3 var(--wish-font); letter-spacing: -.02em; color: #FFFFFF; }
.wish-snap-sub { font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-snap-more { flex: none; width: 32px; height: 32px; margin: -4px -8px 0 0; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); cursor: pointer; }
.wish-snap-stats { flex: none; display: flex; gap: 8px; padding: 0 20px 18px; }
.wish-snap-stat { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 4px; border-radius: 14px; background: rgba(255,255,255,.05); }
.wish-snap-stat-val { font: 800 17px var(--wish-font); letter-spacing: -.3px; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.wish-snap-stat-label { font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-snap-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 0 20px 20px; display: flex; flex-direction: column; gap: 20px; }
.wish-snap-body::-webkit-scrollbar { display: none; }
.wish-snap-sec { display: flex; flex-direction: column; gap: 10px; }
.wish-snap-sec--mem { gap: 0; }
.wish-snap-sec-head { display: flex; align-items: baseline; gap: 8px; }
.wish-snap-sec--mem .wish-snap-sec-head { padding-bottom: 4px; }
.wish-snap-sec-title { font: 700 14px var(--wish-font); color: #FFFFFF; }
.wish-snap-sec-meta { font: 500 11px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-snap-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wish-snap-chip { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; border-radius: 15px; font: 500 12.5px var(--wish-font); color: #FFFFFF; }
.wish-snap-chip.is-like { background: rgba(248,87,180,.14); }
.wish-snap-chip.is-dislike { background: rgba(201,164,245,.12); }
.wish-snap-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.wish-snap-chip.is-like .wish-snap-chip-dot { background: #F857B4; }		/* LIKE = accent 핑크 */
.wish-snap-chip.is-dislike .wish-snap-chip-dot { background: #C9A4F5; }	/* DISLIKE = 라벤더 — 경고색을 쓰지 않는다 */
.wish-snap-none { margin: 0; font: 400 12.5px/1.5 var(--wish-font); color: rgba(255,255,255,.45); }
.wish-snap-mem { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.06); }
.wish-snap-mem-mark { flex: none; width: 18px; height: 18px; margin-top: 1px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); }
.wish-snap-mem.is-pinned .wish-snap-mem-mark { color: var(--wish-accent); }	/* 고정 기억 = 핀 아이콘(accent) · 맨 위 */
.wish-snap-mem-mark svg { width: 14px; height: 14px; }
.wish-snap-mem-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.wish-snap-mem-text { flex: 1; min-width: 0; font: 400 13px/1.6 var(--wish-font); color: rgba(255,255,255,.86); text-wrap: pretty; word-break: keep-all; }
.wish-snap-foot { flex: none; padding: 12px 20px calc(26px + var(--wish-safe-bottom)); border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 10px; }
.wish-snap-go { height: 52px; border-radius: 26px; border: 0; background: linear-gradient(135deg,#8F1AC6,#E64DB7); color: #FFFFFF; font: 700 15px var(--wish-font); cursor: pointer; box-shadow: 0 8px 22px rgba(123,15,201,.4); display: flex; align-items: center; justify-content: center; gap: 7px; }
.wish-snap-go.is-disabled { opacity: .4; cursor: default; box-shadow: none; }
.wish-snap-go-desc { font: 400 11px/1.5 var(--wish-font); color: rgba(255,255,255,.42); text-align: center; }
.wish-snapc-dim { background: rgba(10,9,20,.66); }
.wish-snapc { position: relative; width: 308px; max-width: calc(100% - 40px); max-height: 100%; overflow-y: auto; box-sizing: border-box; background: #2E2B42; border-radius: 22px; padding: 24px 20px 18px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 18px 48px rgba(0,0,0,.45); color: #FFFFFF; animation: wish-cdlg-pop .16s ease-out; }
.wish-snapc-title { font: 700 17px/1.4 var(--wish-font); letter-spacing: -.01em; text-align: center; }
.wish-snapc-desc { margin-top: 8px; font: 400 13px/1.6 var(--wish-font); color: rgba(255,255,255,.62); text-align: center; text-wrap: pretty; }
/* v22.2 CHAT-003 ⑤-C · COM-001 C — 선택지 3개 다이얼로그는 제목 · 본문 양끝 정렬(카드 폭 전체 · 마지막 줄 왼쪽) */
.wish-snapc-title.is-justify, .wish-snapc-desc.is-justify { align-self: stretch; text-align: justify; text-align-last: left; text-wrap: wrap; }
.wish-snapc-cmp { margin-top: 16px; width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
.wish-snapc-cmp > svg { flex: none; }
.wish-snapc-cmp-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wish-snapc-cmp-col.is-snap { text-align: right; }
.wish-snapc-cmp-label { font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-snapc-cmp-val { font: 700 13px var(--wish-font); }
.wish-snapc-cmp-col.is-snap .wish-snapc-cmp-val { color: #FFD3EC; }
/* v20.4 ⑤-B ⓒ 잃는 것 목록 — 목업 text.md:2016-2019 (accent 테두리 · 제목 11.5/600 · 행 12/500 · 점 5px accent · 값 #FFD3EC) */
.wish-snapc-lost { margin-top: 12px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(248,87,180,.35); }
.wish-snapc-lost-title { font: 600 11.5px var(--wish-font); color: rgba(255,255,255,.55); }
.wish-snapc-lost-row { display: flex; align-items: center; gap: 8px; font: 500 12px var(--wish-font); }
.wish-snapc-lost-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--wish-accent); }
.wish-snapc-lost-label { flex: 1; min-width: 0; color: rgba(255,255,255,.8); }
.wish-snapc-lost-val { font-weight: 700; color: #FFD3EC; font-variant-numeric: tabular-nums; }
/* v20.4 ⑤-C — 목업 text.md:2021-2023 · 그림 CHAT-003.png: 48px 라벤더 원 북마크 · 제목 위 14px · 슬롯 11.5/500 · 세로 버튼(CTA 48 · 아웃라인 46 · 텍스트 취소) */
.wish-snapc-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(123,15,201,.22); display: flex; align-items: center; justify-content: center; }
.wish-snapc-icon + .wish-snapc-title { margin-top: 14px; }
.wish-snapc-slot { margin-top: 12px; font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-snapc-error { margin-top: 10px; font: 500 12.5px/1.5 var(--wish-font); color: var(--wish-accent); text-align: center; }
.wish-snapc-error[hidden] { display: none; }
.wish-snapc-actions { margin-top: 18px; width: 100%; display: flex; gap: 8px; }
.wish-snapc-actions.is-stack { flex-direction: column; }
.wish-snapc-btn { position: relative; }
.wish-snapc-cancel { flex: 1; height: 48px; border-radius: 24px; border: 1px solid rgba(255,255,255,.18); background: none; color: rgba(255,255,255,.85); font: 600 14px var(--wish-font); cursor: pointer; }
.wish-snapc-go { flex: 1.4; height: 48px; border-radius: 24px; border: 0; background: linear-gradient(135deg,#8F1AC6,#E64DB7); color: #FFFFFF; font: 700 14.5px var(--wish-font); cursor: pointer; }
.wish-snapc-actions.is-stack .wish-snapc-go { flex: none; }
.wish-snapc-alt { flex: none; height: 46px; border-radius: 23px; border: 1px solid rgba(255,255,255,.18); background: none; color: rgba(255,255,255,.85); font: 600 14px var(--wish-font); cursor: pointer; }
.wish-snapc-text { flex: none; align-self: center; padding: 6px 10px; border: 0; background: none; font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.5); cursor: pointer; }
.wish-snapc-btn:disabled { opacity: .4; pointer-events: none; }
.wish-snapc-btn.is-busy:disabled { opacity: 1; }		/* 누른 버튼은 흐리지 않고 스피너만 (COM-001 dialog 처리 중과 같다) */
.wish-snapc-btn.is-busy .wish-snapc-btn-label { visibility: hidden; }
.wish-snapc-btn.is-busy .wish-spinner { position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -8px; border-color: rgba(255,255,255,.9); border-top-color: transparent; }

/* ── 문체(8) — 3택 칩(.wish-tag-chip 재사용) + PREVIEW 카드 ────────────────── */
/* QA1012 U11 — 목업 2326-2337 · logic.js:697-698: 칩 같은 폭 34px r17 / PREVIEW 카드 흰 5% (surface 카드 위라 surface 배경이면 사라진다) */
.wish-drawer-style-apply { font: 400 10px var(--wish-font); color: var(--wish-text-45); }
.wish-drawer-style-chips { display: flex; gap: 7px; }
.wish-drawer-style-chips .wish-tag-chip { flex: 1; height: 34px; padding: 0; border-radius: 17px; justify-content: center; white-space: nowrap; font: 500 12px var(--wish-font); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.14); }
.wish-drawer-style-chips .wish-tag-chip.is-selected { font-weight: 600; background: var(--wish-primary); border-color: transparent; color: var(--wish-text-100); }
.wish-style-preview { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; }
.wish-style-preview-label { font: 600 9.5px var(--wish-font); letter-spacing: .06em; color: var(--wish-text-40); }
.wish-style-preview-text { font: italic 400 11.5px/1.5 var(--wish-font); color: rgba(255,255,255,.72); }

/* ── 페르소나(7) — 카드 한 행 12/14 · 28 아바타 + [라벨 11 / 이름 13·600 / 요약 11] + 「변경 ›」 (목업 2320-2325) ── */
.wish-drawer-card--persona { padding: 0; }
.wish-drawer-card--persona .wish-list-row { min-height: 0; padding: 12px 14px; gap: 10px; cursor: pointer; }
.wish-drawer-card--persona .wish-row-text { display: flex; flex-direction: column; gap: 2px; }
.wish-drawer-card--persona .wish-list-row-title { font: 600 13px var(--wish-font); }
.wish-drawer-card--persona .wish-list-row-desc { font: 400 11px/1.4 var(--wish-font); color: var(--wish-text-55); }
.wish-drawer-card--persona .wish-card-head-meta { flex: none; white-space: nowrap; font: 500 11px var(--wish-font); color: var(--wish-text-50); }
.wish-drawer-persona-avatar { background-color: transparent; background-image: linear-gradient(135deg, var(--wish-surface), var(--wish-primary)); border: 1.5px solid rgba(255,255,255,.14); }
.wish-drawer-persona-label { font: 400 11px var(--wish-font); color: var(--wish-text-45); }
/* G482 페르소나 이름 옆 「· 기본」 — 목업 500 10px 흰색 50% */
.wish-drawer-persona-default { font: 500 10px var(--wish-font); color: rgba(255,255,255,.5); }

/* ── 대화 관리(9) · 위험 영역(10) — 카드 아님. 48px 행 + 하단 선 / 상단 구분선 + 44px 행 (목업 2339-2350) ── */
.wish-drawer-manage .wish-list-row, .wish-drawer-danger .wish-list-row { min-height: 48px; padding: 0 0 0 16px; gap: 10px; cursor: pointer; }
.wish-drawer-manage .wish-list-row { border-bottom: 1px solid rgba(255,255,255,.06); }
.wish-drawer-manage .wish-list-row:last-child { border-bottom: none; }
.wish-drawer-danger { border-top: 1px solid var(--wish-line); padding-top: 4px; }
.wish-drawer-danger .wish-list-row { min-height: 44px; }
.wish-drawer-manage .wish-list-row-title, .wish-drawer-danger .wish-list-row-title { flex: 1; min-width: 0; font: 400 13.5px var(--wish-font); }
.wish-drawer-danger .wish-list-row-title { color: rgba(255,255,255,.7); }
.wish-drawer-danger .wish-danger-text { font-weight: 600; color: var(--wish-accent); }
.wish-drawer-row-chev { flex: none; display: flex; color: rgba(255,255,255,.35); }

/* ── 시트① 단계별 변화 — .wish-sheet 재사용 + 80vh 상한, 탭1(단계 리스트) ──── */
.wish-sheet--80 { max-height: 80vh; }
.wish-relation-list-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--wish-line); }
.wish-relation-list-thumb { width: 30px; height: 40px; border-radius: 6px; flex: none; background-size: cover; background-position: center 20%; background-color: var(--wish-surface); }
.wish-relation-list-desc { font: 400 11px var(--wish-font); color: var(--wish-text-50); }

/* 탭2 — LIKE·DISLIKE 발견형: 진행률바 + 칩 4상태(발견-LIKE/발견-DISLIKE/이미반응함/미발견) */
.wish-discover-progress { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-discover-progress-fill { height: 100%; background: var(--wish-primary); }
.wish-discover-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; color: var(--wish-text-100); font: 700 11.5px var(--wish-font); }
.wish-discover-chip.is-like    { background: var(--wish-primary); }
.wish-discover-chip.is-dislike { background: var(--wish-deep-green); }
.wish-discover-chip.is-reacted { background: rgba(255,255,255,.08); color: var(--wish-text-45); } /* [이미 반응했어요] 무채색 */
.wish-discover-chip.is-hidden  { background: var(--wish-locked-fill); color: rgba(255,255,255,.3); } /* 미발견 = ???+자물쇠 */


/* ══════════════════════════════════════════════════════════════════════
   HOME-06 홈 「장소 Pick!」 탭 (v6 신규)
   출처: WISHES 사용자 화면정의서 v6 §HOME-06. 주석의 「v6 ②」 등은 그 절의 항목 번호다.
   재사용: .wish-collection-grid(결과 2열) · .wish-char-card*(카드) · .wish-chip-scroll(가로 스크롤)
           · .wish-btn(CTA) · .wish-skeleton. 신규는 배너 목록 · 장소 시트 · 결과 헤더뿐이다.
   ══════════════════════════════════════════════════════════════════════ */

/* ── ② 카테고리 목록 — 고정 높이 배너 + 세로 스크롤 ───────────────────────────
   2026-10-01 결정 ② 정정(OQ-242 · 관리자 v5.2 정본): 카테고리 수 제한이 없어졌다. 예전(v6 · 사용자 v8)엔
   「카테고리 4개가 남는 영역을 4등분 · 스크롤 없음」이라 본문 높이를 뷰포트에 못 박고(100dvh − 위치) 배너를 flex:1 로 나눴는데,
   그 방식은 카테고리가 1개면 배너 하나가 화면을 다 먹고 8개면 배너가 납작해진다 — 개수에 따라 배너 모양이 변한다.
   ⇒ 배너는 **고정 높이**, 넘치면 문서가 **세로로 스크롤**한다(다른 탭과 같은 문서 스크롤 — 별도 스크롤 상자를 만들지 않는다).
   하단 패딩 104px = 떠 있는 탭바(22+60) + 여유 22 — 마지막 배너가 탭바 위로 올라올 만큼.
   시트가 열려 있으면 page-home.js 가 시트 실측 높이를 --wish-place-sheet-h 로 넣고 has-sheet 를 건다 —
   시트(position:fixed)가 탭바보다 높아서, 104px 로는 마지막 배너를 시트 위로 끌어올릴 수 없다. */
.wish-place-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px var(--wish-pad-x) 104px;
}
.wish-place-body.has-sheet { padding-bottom: calc(var(--wish-place-sheet-h, 0px) + 16px); }
.wish-place-intro { flex: none; display: flex; flex-direction: column; gap: 3px; }
.wish-place-intro-title { font: 700 17px/1.3 var(--wish-font); color: var(--wish-text-100); }
.wish-place-intro-sub   { font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-55); }

.wish-place-banners { display: flex; flex-direction: column; gap: 10px; }

/* 배너 = 고정 높이 132px(v9 HOME-06 「고정 높이 132px로 쌓는다」 — 2026-10-01 에 임시로 정한 120px 을 정의서 값으로 맞춤).
   이름 21 + 대표 장소 12 + 곳수 11 세 줄에 위아래 여백이 남는 높이이고, 넘치면 목록이 세로 스크롤된다.
   배경은 카테고리 대표 캐릭터 + **가로** 스크림 — 텍스트가 전부 좌측이라 세로 그라디언트로는 글자 뒤가 안 눌린다 (v6 ②). */
.wish-place-banner {
  position: relative;
  flex: none;
  height: var(--wish-place-banner-h, 132px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--wish-radius-card);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--wish-surface);
  background-size: cover;
  background-position: center 22%;
}
/* 좌 92% → 우 34% 가로 스크림 */
.wish-place-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--wish-bg-base-rgb),.92) 0%, rgba(var(--wish-bg-base-rgb),.72) 52%, rgba(var(--wish-bg-base-rgb),.34) 100%);
}
/* 열린 배너 — primary 스크림 전환 + inset 2px accent 링 (v6 ② 동작) */
.wish-place-banner.is-open::before {
  background: linear-gradient(90deg, rgba(123,15,201,.92) 0%, rgba(123,15,201,.72) 52%, rgba(123,15,201,.34) 100%);
}
.wish-place-banner.is-open::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--wish-radius-card);
  box-shadow: inset 0 0 0 2px var(--wish-accent);
  pointer-events: none;
}
.wish-place-banner-body { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wish-place-banner-name   { font: 800 21px/1.15 var(--wish-font); color: var(--wish-text-100); }
.wish-place-banner-places { font: 500 12px/1.35 var(--wish-font); color: var(--wish-text-64); }
.wish-place-banner-meta   { font: 400 11px/1.35 var(--wish-font); color: var(--wish-text-45); }
.wish-place-banner-chevron { position: relative; flex: none; color: rgba(255,255,255,.55); display: flex; }
.wish-place-banner.wish-skeleton::before { content: none; }

/* ── ③ 세부 장소 시트 ────────────────────────────────────────────────────
   탭바(z 20)를 덮고 올라오되 **딤을 깔지 않는다** — 어느 카테고리를 골랐는지 시트 위로
   계속 보여야 맥락이 유지된다(v6 ③ 레이아웃). 배너 목록은 밀리지 않고 그 자리에 남는다.
   ★드래그로 내려 닫기는 v6 [TBD] 라 구현하지 않는다 — 닫기는 핸들바 탭 · 같은 배너 재탭 둘뿐. */
.wish-place-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 37;
  background: var(--wish-surface);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--wish-shadow-fixed-bar);
  padding: 0 var(--wish-pad-x) calc(18px + var(--wish-safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 핸들바는 시트의 장식이 아니라 **닫기 버튼**이다 (별도 X 아이콘 없음).
   히트 영역은 선(4px)이 아니라 가로 전체 × 높이 22px (v6 ③ 레이아웃). */
.wish-place-sheet-grab {
  flex: none;
  height: 22px;
  margin: 0 calc(-1 * var(--wish-pad-x));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wish-place-sheet-grab::before {
  content: "";
  width: 36px; height: 4px;
  border-radius: var(--wish-radius-pill);
  background: rgba(255,255,255,.24);
}
.wish-place-sheet-head { flex: none; display: flex; flex-direction: column; gap: 3px; }
.wish-place-sheet-title { font: 800 19px/1.2 var(--wish-font); color: var(--wish-text-100); }
.wish-place-sheet-meta  { font: 400 12px/1.35 var(--wish-font); color: var(--wish-text-55); }

/* ★칩은 **한 줄 가로 스크롤**이다 — 2줄로 감싸면 장소 개수에 따라 시트 높이가 달라지고
   6곳이 3+3 으로 나뉘며 아랫줄이 덜 중요해 보인다 (v6 ③).
   좌우 margin -20 + padding 20 으로 시트 패딩을 넘겨 화면 끝까지 흐르게 한다 —
   패딩 안에서 끝나면 잘린 칩이 여백 앞에서 멈춰 「더 있다」는 신호가 죽는다. */
.wish-place-chips {
  flex: none;
  margin: 0 calc(-1 * var(--wish-pad-x));
  padding: 2px var(--wish-pad-x);
  flex-wrap: nowrap;
}
.wish-place-chip { flex: none; white-space: nowrap; }
.wish-place-chip.is-selected { box-shadow: var(--wish-shadow-glow-primary); }
.wish-place-cta { flex: none; width: 100%; }

/* ── ④ 결과 (같은 탭 안에서 전환 — 새 화면으로 밀지 않는다) ───────────────── */
.wish-place-result { display: flex; flex-direction: column; gap: 12px; padding: 10px var(--wish-pad-x) 0; }
.wish-place-result-head { display: flex; align-items: flex-end; gap: 8px; }
.wish-place-result-name { font: 800 20px/1.15 var(--wish-font); color: var(--wish-text-100); }
.wish-place-result-meta { font: 400 12px/1.35 var(--wish-font); color: var(--wish-text-55); }
/* 뒤로가기 아이콘이 아니라 [장소 변경] — 이 자리에서 하려는 일이 「돌아가기」가 아니라
   다른 장소로 갈아타기이기 때문이다 (v6 ④). */
.wish-place-change {
  margin-left: auto; flex: none;
  height: 30px; padding: 0 12px; border-radius: 15px;
  border: 1px solid rgba(255,255,255,.18); background: transparent;
  color: var(--wish-text-80); font: 600 12px var(--wish-font); cursor: pointer;
}
/* ⑤ 결과 카드의 **첫 칩은 항상 고른 장소**다 — JS 가 tagList 앞으로 당겨 놓는다.
   accent 틴트(pink 18% 배경 + #FFD3EC 텍스트)로 「왜 이 캐릭터가 여기 있는지」를 카드 안에서 끝낸다. */
.wish-place-grid .wish-char-card-tag:first-child { background: rgba(248,87,180,.18); color: #FFD3EC; }

/* ══ 페이지 루트 거터 (.wish-gutter-page — main 에 다는 표식, 2026-10-11 소형 화면 수정) ═══════════
   이 화면들은 .wish-wizard-body(padding 20) 같은 본문 래퍼 없이 부품을 main 바로 아래에 그린다.
   자체 좌우 패딩을 가진 행 부품(.wish-toggle-row · .wish-list-row · .wish-settings-group-label ·
   .wish-linked-account-row · .wish-time-range-row · .wish-toptabs)은 그대로 맞지만, 패딩 없는 블록
   (카드 · 보조 문구 · 콜아웃 · 툴바 · 그리드)은 화면 끝(여백 0)에 붙었다. 그 블록들에만 좌우 20px
   (DESIGN-SYSTEM.md:392 「좌우 여백 20px」 = --wish-pad-x)을 준다. 래퍼로 감싸면 행 부품이 40px 로
   이중 패딩되므로 래퍼 대신 직계 자식 규칙으로 건다. 표식이 없는 화면은 영향 0.
   세로 간격 16px = .wish-wizard-body gap(668) 과 같은 리듬 · 보조 문구 아래 12px 는 다음 소제목과의 구분. */
.wish-gutter-page > .wish-card,
.wish-gutter-page > .wish-scene-card,
.wish-gutter-page > .wish-mode-card,
.wish-gutter-page > .wish-form-card,
.wish-gutter-page > .wish-info-banner,
.wish-gutter-page > .wish-profile-preview-card,
.wish-gutter-page > .wish-callout-accent,
.wish-gutter-page > .wish-danger-zone {
  margin: 0 var(--wish-pad-x) 16px;
}
.wish-gutter-page > .wish-field-label,
.wish-gutter-page > .wish-toolbar,
.wish-gutter-page > .wish-collection-count,
.wish-gutter-page > .wish-collection-caption,
.wish-gutter-page > .wish-collection-progress,
.wish-gutter-page > .wish-segment-row,
.wish-gutter-page > .wish-timeline,
.wish-gutter-page > .wish-skeleton,
.wish-gutter-page > [data-slot="tab-list"] > .wish-collection-grid {
  margin-left: var(--wish-pad-x); margin-right: var(--wish-pad-x);
}
.wish-gutter-page > .wish-fine-print,
.wish-gutter-page > .wish-field-hint,
.wish-gutter-page > .wish-caption-meta,
.wish-gutter-page > [data-slot="tab-list"] > .wish-fine-print,
.wish-gutter-page > [data-slot="tab-list"] > [data-pl-foot] > .wish-fine-print {
  display: block; margin: 2px var(--wish-pad-x) 12px; white-space: normal;
}
.wish-gutter-page > .wish-field-label { margin-bottom: 8px; }
.wish-gutter-page > .wish-toolbar { padding: 12px 0 10px; }
/* 가로 스크롤 칩 줄은 margin 이 아니라 padding — 스크롤 내용이 거터 밖(화면 끝)까지 밀려 나가게 */
.wish-gutter-page > .wish-chip-scroll { padding: 12px var(--wish-pad-x) 0; }
/* MY-010 계정 카드 — 제목 · 이메일 · 가입일이 <span> 이라 한 줄로 이어 붙었다. 세로로 쌓는다 */
.wish-gutter-page > .wish-card { display: flex; flex-direction: column; gap: 4px; }

/* ══ 데스크톱 브라우저 미리보기 프레임 (min-width:480px 에서만) ═══════════════════════
   스펙은 모바일 375×812 고정 · 반응형 브레이크포인트 없음 (DESIGN-SYSTEM.md §4).
   폰 · 네이티브 WebView 는 뷰포트가 좁아 이 쿼리에 안 걸리므로 영향 0.
   데스크톱 브라우저에서만 앱을 375px 폰폭으로 가운데 정렬해 "폰 화면 그대로" 보이게 한다.
   body 에 transform 을 주면 position:fixed 자손(GNB·탭바·시트·모달·채팅 입력바 등)의
   컨테이닝 블록이 뷰포트가 아니라 body(375px 프레임)가 되어 프레임 안에 고정된다.
   QA1012 U2 — 종전엔 body 를 스크롤시키려 했지만 html 이 overflow:visible 이라 body 의 overflow 가 뷰포트로 넘어가(CSS 전파 규칙)
   문서 전체가 굴렀고, 고정 입력바·탭바가 프레임째 밀려 올라갔다. body 자체를 스크롤시켜도 안 된다 — transform 을 준 body 가
   fixed 자손의 컨테이닝 블록이면서 스크롤 컨테이너가 되면 그 자손도 내용과 같이 굴러간다.
   그래서 body = 고정 프레임(스크롤 없음), 그 안의 화면 루트(body > main — 사용자 화면은 전부 이 구조)가 스크롤한다.
   폰 기준으로 window 를 굴리는 화면 코드는 ws-components.js frameScroll 이 이 루트로 돌린다. */
@media (min-width: 480px) {
  html.wish { background: #0a0a0a; height: 100%; overflow: hidden; }
  /* 스크롤바는 얇게 — 프레임 안 굵은 기본 스크롤바가 화면 폭을 잡아먹었다 (10-14 사용자 요청, 제타 비교) */
  body.wish > main { height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
  /* 프레임 폭 480px (10-14 사용자 요청 — 제타 웹과 같은 폭). 정의서 375 는 모바일 기준이고, 화면들은 휴대폰 폭(360~430)에
     맞춰 늘어나게 짜여 있어 데스크톱 미리보기 폭만 넓힌다. 뷰포트가 480 미만이면 이 쿼리 자체가 꺼진다 */
  body.wish {
    width: 480px;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    transform: translateX(0);
    box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 12px 48px rgba(0,0,0,.6);
  }
}

/* ══ v8 일러스트 모델 — CHAT-003 드로어 스트립 · 단계 시트 탭1 (page-chat.js 소유 · 2026-10-01) ═══════════
   스트립 칸 = 컬렉션 슬롯, 칸 수 = 수집 총량(5·10·20). 첫 칸 = 기본 일러스트(해금), 잠긴 칸 = 자물쇠 + 해금 호감도,
   아직 등록되지 않은 자리(EMPTY) = 점선 빈 칸. 탭1 행은 일러스트 대신 단계 번호 배지(도달 채움 · 미도달 흐림). */
.wish-relation-strip { padding: 3px 2px; }		/* is-current 의 scale(1.06) · 2px 테두리가 스크롤 영역 위아래로 잘리지 않게 */
.wish-relation-strip-item.is-locked { flex-direction: column; gap: 3px; font-size: 11px; }
.wish-relation-strip-item.is-empty { background: transparent; border: 1.5px dashed rgba(255,255,255,.14); }
.wish-relation-strip-score { line-height: 1; }
.wish-relation-list-thumb.wish-stage-no-badge { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: 700 12px var(--wish-font); background: rgba(255,255,255,.08); color: var(--wish-text-45); }
.wish-relation-list-thumb.wish-stage-no-badge.is-reached { background: var(--wish-primary); color: var(--wish-text-100); }
.wish-relation-list-thumb.wish-stage-no-badge.is-locked { opacity: .45; }
.wish-stage-illust-link { color: var(--wish-text-80); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ══ AUTH-002 가입 온보딩 3스텝 (page-auth-onboarding.js 소유 · 2026-10-02) ═══════════════════════════
   값은 doc/specs/VISUAL-user.md AUTH-002 (markup.html L307-495). 그린 #7ED9B0 · #10301F · 카운터 #FFD3EC 는 전역 토큰표에 없는
   이 화면 전용 값이라 토큰으로 올리지 않고 여기에만 둔다(VISUAL 「토큰 승격 여부 → 확인 필요」). 그린은 ⓑ 완료와 닉네임 사용 가능 표시에만. */

/* 공용 스텝 바 — WS.Comp.stepIndicator(labels, n, "bar"): 칸 h3 · radius2 · 진행 primary / 잔여 흰14% + 「n / N」 */
.wish-step-bar { flex: 1; display: flex; align-items: center; gap: 4px; }
.wish-step-bar-seg { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); }
.wish-step-bar-seg.is-on { background: var(--wish-primary); }
.wish-step-bar-label { flex: none; margin-left: 8px; font: 600 11px var(--wish-font); color: var(--wish-text-45); font-variant-numeric: tabular-nums; }	/* G007 */

.wish-ob { min-height: calc(100vh - var(--wish-safe-top)); display: flex; flex-direction: column; }
.wish-ob h1, .wish-ob p { margin: 0; }		/* 전역 리셋이 없다 — 간격은 아래 gap 으로만 */
.wish-ob[data-step="3"] { height: calc(100vh - var(--wish-safe-top)); height: calc(100dvh - var(--wish-safe-top)); min-height: 0; }		/* 태그 영역만 세로 스크롤 (text.md:255) */
.wish-ob-steps { flex: none; display: flex; align-items: center; gap: 10px; min-height: 26px; padding: 14px 24px 0; }
.wish-ob-back {
  flex: none; width: 26px; height: 26px; border-radius: 13px; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--wish-text-100); cursor: pointer;
}
.wish-ob-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 34px 24px 16px; }
.wish-ob-title { font: 800 22px/1.35 var(--wish-font); color: var(--wish-text-100); outline: none; }
.wish-ob-title--sm { font-size: 21px; }
#ws-my-tag .wish-ob-title--sm { font-size: 19px; letter-spacing: -.02em; }	/* G898 · Q037 MY-016 제목 19/800 (정의서 ② · 목업 letter-spacing -.02em) — 온보딩 공용 21px 은 그대로 */
.wish-ob-sub { font: 400 12px/1.6 var(--wish-font); color: var(--wish-text-55); }

/* 닉네임 · 초대 코드 필드 — h52 · radius14 · field-surface · 보더 1.5px primary */
.wish-ob-field {
  display: flex; align-items: center; gap: 10px; height: 52px; margin-top: 14px; padding: 0 16px;
  border-radius: 14px; background: var(--wish-field-surface); border: 1.5px solid var(--wish-primary);
}
.wish-ob-input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  font: 600 16px var(--wish-font); color: var(--wish-text-100);
}
.wish-ob-input::placeholder { color: var(--wish-text-40); }
.wish-ob-input--code { font: 700 15px var(--wish-font); letter-spacing: 1.5px; text-transform: uppercase; }
.wish-ob-input--code::placeholder { color: rgba(255,255,255,.3); }
.wish-ob-count { flex: none; font: 500 11px var(--wish-font); color: var(--wish-text-45); font-variant-numeric: tabular-nums; }	/* G007 */
.wish-ob-check { display: flex; align-items: center; gap: 5px; min-height: 16px; font: 500 11px var(--wish-font); }
.wish-ob-check svg { width: 12px; height: 12px; }
.wish-ob-check[data-state="ok"] { color: #7ED9B0; }
.wish-ob-check[data-state="dup"] { color: var(--wish-accent); }
/* @핸들 줄 = 흰 5% 상자(radius 12 · 10/12) 안에 「@」 · 핸들 · 오른쪽 끝 안내 (AUTH-002 목업 — 10-23 실화면 대조) */
.wish-ob-handle { display: flex; align-items: center; gap: 7px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-ob-handle-at { flex: none; font: 600 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-ob-handle-id { flex: 1; min-width: 0; font: 600 12px var(--wish-font); color: rgba(255,255,255,.7); overflow-wrap: anywhere; }
.wish-ob-handle-note { flex: none; font: 400 10px var(--wish-font); color: rgba(255,255,255,.38); }

/* 하단 CTA — h54 · radius27 · 그라디언트 (온보딩 전용 치수). 건너뛰기는 텍스트 링크 500 12px 흰50% */
.wish-ob-cta { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 24px 30px; }
.wish-ob-cta--fade { margin-top: -24px; padding-top: 30px; position: relative; background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),0), var(--wish-bg-base) 32%); }
.wish-ob-btn {
  width: 100%; height: 54px; border: 0; border-radius: 27px; cursor: pointer;
  background: var(--wish-gradient-cta); color: var(--wish-text-100); font: 700 15px var(--wish-font);
  box-shadow: 0 8px 22px rgba(123,15,201,.4);
}
.wish-ob-btn:disabled { background: rgba(255,255,255,.12); color: var(--wish-text-40); box-shadow: none; cursor: default; }
.wish-ob-link { border: 0; background: transparent; padding: 6px 12px; font: 500 12px var(--wish-font); color: var(--wish-text-50); cursor: pointer; }

/* STEP 2 — 보상 문구 2줄(받는 것 → 주는 것) · [붙여넣기] · 캡션 · 상태 컷 자리 */
.wish-ob-reward { display: flex; flex-direction: column; gap: 2px; }
.wish-ob-reward-get { font: 600 13px/1.6 var(--wish-font); color: #FFD3EC; }
.wish-ob-reward-give { font: 400 12px/1.6 var(--wish-font); color: var(--wish-text-55); }
.wish-ob-paste { flex: none; border: 0; background: transparent; padding: 6px 0; min-width: 44px; min-height: 44px; margin: -9px 0;	/* 터치 타깃 ≥44px · 행 높이는 그대로(G013) */ font: 600 11.5px var(--wish-font); color: var(--wish-text-50); cursor: pointer; }
.wish-ob-paste:disabled { opacity: .4; cursor: default; }
.wish-ob-caption { font: 400 11px/1.6 var(--wish-font); color: var(--wish-text-45); }
#ws-ob-code-slot:empty { display: none; }
.wish-ob-prefill { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.wish-ob-prefill-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px;
  background: rgba(123,15,201,.6); font: 700 10px var(--wish-font); color: var(--wish-text-100);
}
.wish-ob-prefill-note { font: 500 11.5px/1.5 var(--wish-font); color: var(--wish-text-80); }
.wish-ob-done {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 13px;
  background: rgba(126,217,176,.12); border: 1px solid rgba(126,217,176,.4);
}
.wish-ob-done-check { flex: none; width: 28px; height: 28px; border-radius: 14px; background: #7ED9B0; color: #10301F; display: flex; align-items: center; justify-content: center; }
.wish-ob-done-check svg { width: 14px; height: 14px; }
.wish-ob-done-title { font: 700 13px var(--wish-font); color: var(--wish-text-100); }
.wish-ob-done-desc { font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.6); }
.wish-ob-err { border-left: 2px solid var(--wish-accent); padding: 2px 0 2px 10px; font: 600 11.5px/1.5 var(--wish-font); color: var(--wish-text-80); }

/* STEP 3 — 4카테고리 전부 펼침 · 태그 영역만 스크롤 · 칩 h32 radius16 (HOME-03 칩보다 padding 13 · 12.5px · 보더 .16 · 선택 700) */
.wish-ob-body--tags { min-height: 0; gap: 8px; padding-bottom: 0; }
.wish-ob-tag-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wish-ob-tag-count { flex: none; font: 700 11.5px var(--wish-font); color: #FFD3EC; }
.wish-ob-tags { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; margin: 6px -24px 0; padding: 2px 24px 14px; }
.wish-ob-tags-skel { height: 80px; flex: none; }
.wish-ob-ctgry-head { display: flex; align-items: center; gap: 7px; margin: 0; }	/* QA1013 N19-a — 개수는 이름 바로 옆(space-between 제거) · 칩과의 간격은 그룹 gap 9 */
.wish-ob-ctgry-nm { font: 700 11.5px var(--wish-font); color: var(--wish-text-50); }
.wish-ob-ctgry-cnt { font: 700 10.5px var(--wish-font); color: var(--wish-accent); }
.wish-ob-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wish-ob-chip {
  height: 32px; padding: 0 13px; border-radius: 16px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: transparent;
  font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.66);
}
.wish-ob-chip.is-on { background: var(--wish-primary); border-color: transparent; font-weight: 700; color: var(--wish-text-100); }
.wish-ob-more { height: 32px; margin-left: 0; padding: 0 6px; background: none; border: 0; }	/* 그룹당 12개 초과분 [더보기] — button 기본 모양 제거 */

/* MY-016 취향 태그 (v9) — STEP 3 의 칩 · 제목 · 카운터 · 하단 CTA 를 그대로 쓰고 위만 풀스크린 헤더(‹ · 「취향 태그」).
   「가입 때와 문구만 다르고 위계는 같다」(text.md:4342). 태그 영역만 세로 스크롤 — STEP 3 과 같다 */
.wish-ob--edit { height: calc(100vh - var(--wish-safe-top)); height: calc(100dvh - var(--wish-safe-top)); min-height: 0; }
.wish-ob--edit > .wish-wizard-header { flex: none; }
.wish-ob--edit .wish-ob-body--tags { padding-top: 18px; }

/* ── MY-013 내 활동 전체 목록 ── */
/* 헤더: 타이틀 왼쪽 정렬 + 회색 건수 병기 */
.wish-wizard-header-title.wish-my-all-title { text-align: left; }
.wish-my-all-count { font: 500 14px var(--wish-font); color: var(--wish-text-40); margin-left: 4px; }
/* 정렬 드롭다운(h30 · pill · surface) + 필터 칩 한 줄 */
.wish-my-all-ctl { display: flex; align-items: center; gap: 8px; padding: 4px var(--wish-pad-x) 12px; }
.wish-my-all-sort {
  height: 30px; padding: 0 12px; border: 0; border-radius: 15px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wish-surface); color: var(--wish-text-100); font: 600 11.5px var(--wish-font);
}
/* 행: 56px 이상, 편집 체크는 20px 로 흐름 안에 둔다(기본 .wish-pick-check 는 카드 위 absolute) */
.wish-my-all-row { min-height: 56px; }
.wish-my-all-row .wish-pick-check { position: static; flex: none; width: 20px; height: 20px; border-radius: 10px; }
/* MY-010 탈퇴 STEP1 사유 행 체크도 흐름 안에 — absolute 면 offsetParent 가 body 라 뒤로가기 버튼 위에 그려졌다(216 실측 10-07) */
.wish-list-row[data-action="rsn"] .wish-pick-check { position: static; flex: none; margin-left: auto; width: 22px; height: 22px; border-radius: 11px; }
.wish-my-all-row--cmnt { padding-top: 10px; padding-bottom: 10px; cursor: pointer; }
.wish-my-all-cn { white-space: normal; font: 400 13px/1.5 var(--wish-font); color: var(--wish-text-100); }
.wish-my-all-meta { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; }
/* 대상 캐릭터 미니 칩: 20px 썸네일 + 이름 */
.wish-my-all-minichip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.wish-my-all-minichip-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.wish-my-all-minithumb {
  width: 20px; height: 20px; border-radius: 10px; flex: none;
  background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%;
}
/* [팔로잉] · ⋯ 의 독립 히트 영역(최소 44px). 보이는 칩은 안쪽 span */
.wish-my-all-hit {
  flex: none; min-width: 44px; min-height: 44px; margin: 0 -8px 0 0; padding: 0 8px; border: 0; background: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--wish-text-64);
}
.wish-my-all-foot { padding: 16px var(--wish-pad-x) 0; text-align: center; }
.wish-my-all-foot .wish-btn { margin-top: 10px; }
.wish-my-all-spacer { height: 32px; }
.wish-my-all-spacer.is-edit { height: calc(112px + var(--wish-safe-bottom)); }	/* v20.3:81 — 선택 바가 인셋만큼 커지므로 스크롤 여백도 같이 */
/* 풀스크린 · 탭바 없음 — 선택 바를 화면 아래에 붙인다 */
#ws-my-activity-all .wish-selection-bar-wrap { bottom: 0; padding-bottom: calc(12px + var(--wish-safe-bottom)); }	/* v20.3:81 */
/* G1028 · Q061 — 정의서 MY-013 「n개 선택 + accent [삭제]」: CTA 그라데이션이 아니라 accent 단색(비활성 규칙은 공용 그대로) */
#ws-my-activity-all .wish-selection-bar-cta:not(:disabled):not(.is-disabled) { background: var(--wish-accent); }
/* 되돌리기 토스트: 문구 + 실제 버튼 */
.wish-undo-toast {
  display: flex; align-items: center; gap: 12px; bottom: calc(24px + var(--wish-safe-bottom));
  white-space: normal; width: max-content; max-width: calc(100% - 32px); padding: 4px 6px 4px 20px; z-index: 41;
}
.wish-undo-toast--lift { bottom: calc(96px + var(--wish-safe-bottom)); }
.wish-undo-toast-msg { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-undo-toast-btn {
  flex: none; min-height: 44px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font: 700 13px var(--wish-font); color: var(--wish-accent);
}

/* ── MY-014 내 캐릭터 상세 · 성과 · 반응 ── */
/* 연보라 #C9A4F5(7일 증감 · TIP 라벨)는 markup.html:4981,5003 실측값 — :root 의 --wish-highlight 와 같은 값이라 그 토큰을 쓴다 */
#ws-my-char-stats { min-height: calc(100vh - var(--wish-safe-top)); }
.wish-cs-title { flex: 1; min-width: 0; font: 700 18px var(--wish-font); color: var(--wish-text-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-cs-actions { display: flex; gap: 8px; padding: 0 20px 14px; }
.wish-cs-btn { flex: 1; height: 38px; border-radius: 19px; font: 600 12.5px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
.wish-cs-btn--fill { background: var(--wish-surface); border: 0; }
.wish-cs-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.24); }

/* 언더라인 탭 — 활성 밑줄은 surface (accent 는 지표 · 보상 수치에만) */
.wish-cs-tabs { display: flex; gap: 22px; padding: 0 20px; border-bottom: 1px solid var(--wish-line); }
.wish-cs-tab { padding: 10px 0 11px; font: 600 13.5px/1 var(--wish-font); color: var(--wish-text-48); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.wish-cs-tab.is-active { font-weight: 700; color: var(--wish-text-100); border-bottom-color: var(--wish-surface); }

.wish-cs-body { display: flex; flex-direction: column; gap: 18px; padding: 16px 20px calc(40px + var(--wish-safe-bottom)); }
/* 탭 본문은 slot 래퍼 안에 섹션이 줄지어 있다 — 섹션 간격은 래퍼에 준다(hidden 이면 display 를 덮어쓰지 않게) */
.wish-cs-body > [data-slot="body"]:not([hidden]) { display: flex; flex-direction: column; gap: 22px; }
.wish-cs-sec { display: flex; flex-direction: column; gap: 10px; }
.wish-cs-sec .wish-section-title { font: 700 14px var(--wish-font); }
.wish-cs-empty { margin: 0; padding: 14px 0; text-align: center; font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-50); }

/* 지표 카드 3종 (성과 · 반응 탭 공통) */
.wish-cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }	/* v19.2 MY-014 ③ 상단 요약 3칸 간격 6px (rendered 목업) */
.wish-cs-metric { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 13px; border-radius: 14px; background: var(--wish-surface); }
.wish-cs-metric.is-warn { border-left: 3px solid var(--wish-accent); }
.wish-cs-metric-label { font: 400 10px var(--wish-font); color: var(--wish-text-50); }
.wish-cs-metric-val { font: 800 19px var(--wish-font); letter-spacing: -.4px; color: var(--wish-text-100); font-variant-numeric: tabular-nums; }
.wish-cs-metric-delta { font: 600 9.5px var(--wish-font); color: var(--wish-highlight); }

/* 30일 막대 그래프 — 막대 치수 · 색은 설계서에 수치가 없어 관찰 가능한 값으로 둔다(primary) */
.wish-cs-chart { display: flex; align-items: flex-end; gap: 2px; height: 64px; }
.wish-cs-bar { flex: 1; min-width: 0; min-height: 3px; border-radius: 2px 2px 0 0; background: var(--wish-primary); }
.wish-cs-axis { display: flex; justify-content: space-between; font: 400 10px var(--wish-font); color: var(--wish-text-40); }

/* 분포 바 (단계 도달 · 👎 사유 공통) — h7 radius4, 트랙 .1, 채움 primary, 강조 1행만 accent */
.wish-cs-band { display: flex; align-items: center; gap: 8px; }
.wish-cs-band-label { flex: none; width: 34px; font: 600 10px var(--wish-font); color: var(--wish-text-50); }
.wish-cs-band-label--rsn { width: 60px; }
.wish-cs-track { flex: 1; min-width: 0; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-cs-fill { display: block; height: 100%; border-radius: 4px; background: var(--wish-primary); }		/* span — block 이어야 width % 가 먹는다 */
.wish-cs-fill--accent { background: var(--wish-accent); }
.wish-cs-band-rt { flex: none; width: 32px; text-align: right; font: 600 10px var(--wish-font); color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }

/* TIP 카드 */
.wish-cs-tip { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-cs-tip-label { flex: none; font: 700 11px var(--wish-font); color: var(--wish-highlight); }
.wish-cs-tip-text { font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.7); }

/* 반응 요약 (성과 탭) — 신고 누적이면 블록 전체가 accent 좌측 보더 */
.wish-cs-sum { display: flex; flex-direction: column; gap: 10px; }
.wish-cs-sum.is-warn { border-left: 3px solid var(--wish-accent); padding-left: 10px; }
.wish-cs-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wish-cs-mini { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 11px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-cs-mini-label { font: 400 9.5px var(--wish-font); color: var(--wish-text-50); }
.wish-cs-mini-val { font: 700 15px var(--wish-font); color: var(--wish-text-100); font-variant-numeric: tabular-nums; }
/* 안내 한 줄 — 신고 누적 가이드라인 · 세이프티 점검 */
.wish-cs-notice { margin: 0; padding: 8px 10px; border-left: 3px solid var(--wish-accent); border-radius: 0 10px 10px 0; background: rgba(255,255,255,.05); font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.8); }
.wish-cs-sum > [data-slot="recent"]:not([hidden]) { display: flex; flex-direction: column; gap: 8px; }
.wish-cs-recent { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.wish-cs-recent-body { flex: 1; min-width: 0; font: 400 11.5px/1.5 var(--wish-font); color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 댓글 행 (제작자 뷰) */
.wish-cs-avatar { width: 26px; height: 26px; border-radius: 13px; flex: none; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 25%; }
.wish-cs-cmnt { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--wish-surface); cursor: pointer; }
.wish-cs-cmnt-body { font: 400 11.5px/1.5 var(--wish-font); color: rgba(255,255,255,.85); word-break: break-word; }
.wish-cs-cmnt-meta { margin-top: 4px; font: 400 10px var(--wish-font); color: var(--wish-text-40); }
.wish-cs-more { flex: none; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); cursor: pointer; }
/* MY-014 반응 탭 댓글 (QA1014 · v16.2 T3914-3920 · 목업 M5306-5316) — 헤더 「댓글 12」 600 12.5 + 「최신 5개」 500 11 + 우측 「전체 보기 ›」 highlight,
   카드 사이 6 · 아래 캡션 10.5/1.5 .4 */
.wish-cs-sec.wish-cs-cmnts { gap: 8px; }
.wish-cs-cmnt-head { display: flex; align-items: center; }
.wish-cs-cmnt-title { font: 600 12.5px var(--wish-font); color: rgba(255,255,255,.8); }
.wish-cs-cmnt-latest { margin-left: 6px; font: 500 11px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-cs-cmnt-all { margin-left: auto; font: 600 11.5px var(--wish-font); color: var(--wish-highlight); white-space: nowrap; cursor: pointer; }
.wish-cs-cmnt-list { display: flex; flex-direction: column; gap: 6px; }
.wish-cs-cmnt-cap { margin: 0; font: 400 10.5px/1.5 var(--wish-font); color: rgba(255,255,255,.4); }
/* MY-014 ③ 댓글 전체 보기 (v16.2 T3980-3988 · 목업 M5322-5335) — 헤더 · 세그먼트 · 행은 CHAR-001 ⑥-B(.wish-cmnt-all-* · .wish-comment-*) 재사용,
   여기는 ③ 만의 차이(캐릭터 행 이름/「내 캐릭터」 두 줄 · 본문 13/1.55 · 좋아요 수 표시 전용 · ⋯ 32 · 숨김 50% + [숨김] 배지 · 작성 바 없음) */
.wish-cmnt-all-char.wish-cs-all-char { padding: 4px 20px 10px; border-bottom-color: rgba(255,255,255,.08); }
.wish-cs-all-char-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wish-cs-all-char-name { font: 600 12.5px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-cs-all-char-sub { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-cs-all-body { flex: 1; padding: 0 20px calc(24px + var(--wish-safe-bottom)); }
.wish-cmnt-all-list > .wish-comment-row.wish-cs-all-row { align-items: flex-start; }
.wish-cs-all-col { display: flex; flex-direction: column; gap: 5px; }
.wish-cs-all-row .wish-comment-head { flex-wrap: wrap; }
.wish-cs-all-row .wish-comment-body { font: 400 13px/1.55 var(--wish-font); color: rgba(255,255,255,.88); word-break: break-word; }
.wish-cs-all-like { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.42); }
.wish-cs-more.wish-cs-all-more { width: 32px; height: 32px; margin: -6px -8px 0 0; color: rgba(255,255,255,.45); }
.wish-cs-all-row.is-hidden { opacity: .5; }
.wish-comment-badge.wish-cs-all-hidden { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }

/* MY-015 크리에이터 저니 — 합계 카드 · 곧 달성해요 · 5그룹 행 4상태 · 받은 기록 · 상한 배너 */
.wish-journey-sum { background: rgba(123,15,201,.16); border-radius: var(--wish-radius-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.wish-journey-earn { font: 800 26px/1.2 var(--wish-font); letter-spacing: -0.02em; color: var(--wish-text-100); }
.wish-journey-earn-unit { margin-left: 6px; font: 600 13px var(--wish-font); color: var(--wish-text-64); letter-spacing: 0; }
.wish-journey-cap { font: 400 11.5px var(--wish-font); color: var(--wish-text-64); }
.wish-journey-gauge { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.wish-journey-gauge-fill { height: 100%; border-radius: 4px; background: var(--wish-primary); }
.wish-journey-gauge-fill.is-full { background: var(--wish-gradient-primary-accent); }
.wish-journey-divider { height: 1px; background: var(--wish-line); }
.wish-journey-claimable { display: flex; align-items: center; gap: 8px; }
.wish-journey-claimable-label { flex: 1; font: 500 13px var(--wish-font); color: var(--wish-text-80); }
.wish-journey-claimable-amt { font: 800 17px var(--wish-font); color: var(--wish-text-100); margin-left: 6px; }
.wish-journey-claimable .wish-btn { min-height: 34px; padding: 0 16px; font-size: 13px; background: var(--wish-gradient-cta); }
.wish-journey-banner { border-left: 3px solid var(--wish-accent); border-radius: 0 12px 12px 0; background: rgba(248,87,180,.12); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.wish-journey-banner-title { font: 700 13.5px/1.45 var(--wish-font); color: var(--wish-text-100); }
.wish-journey-banner-desc { font: 400 11.5px/1.5 var(--wish-font); color: var(--wish-text-64); }
.wish-journey-section { display: flex; flex-direction: column; gap: 10px; }
.wish-journey-near { background: var(--wish-surface); border-radius: var(--wish-radius-card); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.wish-journey-near-head { display: flex; align-items: center; }
.wish-journey-near-char { font: 500 12px var(--wish-font); color: var(--wish-text-64); }
.wish-journey-reward { margin-left: auto; font: 700 13px var(--wish-font); color: var(--wish-accent); }
.wish-journey-near-name { font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-journey-near .wish-journey-gauge { height: 8px; }
.wish-journey-near-foot { display: flex; align-items: center; font: 400 11.5px var(--wish-font); color: var(--wish-text-64); }
.wish-journey-near-remain { margin-left: auto; color: var(--wish-text-100); font-weight: 600; }
.wish-journey-group-head { display: flex; align-items: baseline; gap: 6px; padding-top: 4px; }
.wish-journey-group-name { font: 700 14px var(--wish-font); color: var(--wish-text-100); }
.wish-journey-group-cycle { font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-journey-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--wish-surface); border: 1px solid transparent; }
.wish-journey-row[data-char] { cursor: pointer; }
.wish-journey-row-mark { flex: none; width: 18px; text-align: center; font: 700 14px var(--wish-font); color: var(--wish-text-64); }
.wish-journey-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-journey-row-name { font: 600 13px/1.4 var(--wish-font); color: var(--wish-text-100); word-break: break-word; }
.wish-journey-row-meta { font: 400 11px/1.4 var(--wish-font); color: var(--wish-text-64); }
.wish-journey-row-reward { flex: none; font: 700 13px var(--wish-font); color: var(--wish-accent); }
.wish-journey-row .wish-btn { flex: none; min-height: 30px; padding: 0 14px; font-size: 12px; }
.wish-journey-row.is-claimable { border-color: rgba(248,87,180,.55); }
.wish-journey-row.is-claimable .wish-journey-row-mark { color: var(--wish-accent); }
.wish-journey-row.is-auto { border: 1px dashed var(--wish-highlight); }
.wish-journey-row.is-auto .wish-journey-row-mark { color: var(--wish-highlight); }
.wish-journey-row.is-claimed,
.wish-journey-row.is-expired { background: rgba(255,255,255,.05); }
.wish-journey-row.is-claimed .wish-journey-row-name,
.wish-journey-row.is-claimed .wish-journey-row-meta,
.wish-journey-row.is-claimed .wish-journey-row-reward,
.wish-journey-row.is-claimed .wish-journey-row-mark,
.wish-journey-row.is-expired .wish-journey-row-name,
.wish-journey-row.is-expired .wish-journey-row-meta,
.wish-journey-row.is-expired .wish-journey-row-reward { color: var(--wish-text-40); }
.wish-journey-row-hold { font: 400 10.5px/1.4 var(--wish-font); color: var(--wish-accent); }
.wish-journey-hist-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font: 400 12.5px var(--wish-font); color: var(--wish-text-80); }
.wish-journey-hist-date { flex: none; width: 40px; color: var(--wish-text-45); font-size: 11.5px; }
.wish-journey-hist-name { flex: 1; min-width: 0; word-break: break-word; }
.wish-journey-hist-amt { flex: none; font-weight: 700; color: var(--wish-accent); }
.wish-journey-empty { padding: 40px 20px; }
.wish-journey-guide-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--wish-line); }
.wish-journey-guide-item b { font: 600 13px var(--wish-font); color: var(--wish-text-100); }
.wish-journey-guide-item span { font: 400 12px/1.5 var(--wish-font); color: var(--wish-text-64); }
.wish-journey-sheet-list { max-height: 55vh; overflow-y: auto; }

/* ==== QA1013 B2 채팅 시트 · 드로어 (R1 · N2 · N3 · N4) ==== */
/* N2-a 시트 전용 탭 수식 — 공용 .wish-toptabs 는 그대로: 배경 없음 · sticky 해제 · 13px · 활성 언더라인 surface */
.wish-toptabs--sheet { position: static; background: none; padding: 0; gap: 20px; margin-bottom: 14px; }
.wish-toptabs--sheet .wish-toptabs-item { font-size: 13px; }
.wish-toptabs--sheet .wish-toptabs-item.is-active { border-bottom-color: var(--wish-surface); }
/* 목업 시트는 bg-base(#1C1A2D) 위에 surface 언더라인 · 흰 4% 카드 — 공용 .wish-sheet(surface) 위에서는 언더라인이 묻힌다(D9: 이 시트만) */
.wish-sheet:has(.wish-toptabs--sheet) { background: var(--wish-bg-base); }
.wish-stage-sheet-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.wish-stage-sheet-title { font: 700 17px var(--wish-font); color: var(--wish-text-100); }
.wish-stage-sheet-sub { font: 400 12px var(--wish-font); color: var(--wish-text-50); }
/* G448 · Q124 — 「하단 고정 캡션」(text.md:2020): 시트(스크롤 컨테이너) 바닥에 sticky. 목록이 비쳐 보이지 않게 시트 배경(bg-base)을 깐다 */
/* 시트 아래 여백(20px + safe)까지 캡션 배경이 덮도록 그만큼 아래로 내려 붙인다 — sticky 기준선이 시트 padding 안쪽이라 bottom:0 이면 그 틈으로 목록이 비친다 */
.wish-stage-sheet-caption { position: sticky; bottom: calc(-20px - var(--wish-safe-bottom)); z-index: 1; margin: 10px calc(-1 * var(--wish-pad-x)) calc(-20px - var(--wish-safe-bottom)); padding: 8px var(--wish-pad-x) calc(28px + var(--wish-safe-bottom)); background: var(--wish-bg-base); font: 400 11px/1.5 var(--wish-font); color: rgba(255,255,255,.4); }
/* N2-b 단계 행 카드 — r14 · 흰 4%, 현재 = primary 22% + 1.5px 테두리, 미도달 = 배지만 흐리게(.is-locked 배지 .45) */
.wish-relation-list-row { margin-bottom: 6px; padding: 10px 12px; border: 1.5px solid transparent; border-radius: 14px; background: rgba(255,255,255,.04); }
.wish-relation-list-row.is-current { background: rgba(123,15,201,.22); border-color: #7B0FC9; }
/* N3-a/b/c 탭2 — 「n / m 발견」 700 17 + 캡션 / 2px 바 / 섹션 / 발견 카드 / 미발견 슬롯 */
.wish-discover-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.wish-discover-count { font: 700 17px var(--wish-font); color: var(--wish-text-100); }
.wish-discover-caption { margin-left: auto; font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-discover-progress { height: 2px; }
.wish-discover-section { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.wish-discover-sec-head { display: flex; align-items: center; justify-content: space-between; }
.wish-discover-sec-title { font: 700 13px var(--wish-font); color: var(--wish-text-100); }
.wish-discover-sec-count { font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-discover-card { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); }
.wish-discover-card-top { display: flex; align-items: center; gap: 6px; }
.wish-discover-card-ctx { font: 400 12px/1.45 var(--wish-font); color: var(--wish-text-80); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-discover-card-meta { display: flex; align-items: center; gap: 8px; font: 400 11px var(--wish-font); color: var(--wish-text-50); }
.wish-discover-untriggered { color: var(--wish-text-40); }
.wish-discover-badge { margin-left: auto; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--wish-text-45); font: 500 10px var(--wish-font); }
.wish-discover-slot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.03); color: rgba(255,255,255,.3); }
.wish-discover-slot .wish-discover-chip.is-hidden { background: none; padding: 0; height: auto; }
.wish-discover-slot-lock { display: inline-flex; flex: none; }
.wish-discover-slot-text { font: 400 11px var(--wish-font); color: rgba(255,255,255,.4); }
/* N4-a 기억 행 아이콘 버튼 — 24px 원형, 평소 흰 35%, 고정 시 primary 50% 채움 (드로어 · 전체 보기 시트 공용) */
.wish-memory-note-icon { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); cursor: pointer; }
/* G465 — 아이콘 24px · 히트 영역 44px (text.md:2040) */
.wish-memory-note-icon::after { content: ''; position: absolute; inset: -10px; }
.wish-memory-note-icon.is-on { background: rgba(123,15,201,.5); color: var(--wish-text-100); }
.wish-memory-note-pin svg { display: block; } /* 압정 버튼 훅(테스트 · is-on 대상) */
/* N4-b 는 위 .wish-memory-title{flex:1} 에서 처리 */
/* ==== /QA1013 B2 ==== */

/* ==== QA1013 B3 컬렉션 (N1-a~g) ==== */
/* N1-a 헤더 (목업 2700-2706) — 공용 .wish-wizard-header-title 은 그대로 두고 수식 클래스로: ‹ 32px 옆 왼쪽 정렬 세로 묶음 */
.wish-wizard-header.wish-coll-header { padding: 4px 16px 14px; }
.wish-coll-header .wish-wizard-header-icon { width: 32px; height: 32px; }
.wish-coll-header .wish-header-col { gap: 2px; padding-top: 0; }
.wish-coll-header .wish-wizard-header-title { flex: none; text-align: left; font: 700 18px/1.25 var(--wish-font); }
.wish-coll-header .wish-header-subcopy { font: 400 11px/1.3 var(--wish-font); color: var(--wish-text-45); }
/* N1-b 수집 현황 카드 (목업 2708-2720) — surface r16 pad14 · 한 줄 [수치 + 캡션 | 세그먼트] · 하단 3px 바 */
/* QA1014 R12 — v16.2 목업 markup.html:2877-2888 · logic.js:347-348: 카드 = 열(간격 10) · 안쪽 14 · 아래 여백 16,
   한 줄은 아래 맞춤, 진행 바는 카드 안 정위치(r2 · 12% 트랙 · 그라디언트), 세그먼트는 7% 트랙 r15 pad3 · 버튼 h26 0 11 r13 */
.wish-gutter-page > .wish-collection-card { margin: 0 var(--wish-pad-x) 16px; }
.wish-collection-card { position: relative; overflow: hidden; background: var(--wish-surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wish-collection-card-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.wish-collection-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-collection-total { font: 600 14px var(--wish-font); letter-spacing: 0; color: var(--wish-text-45); }
.wish-collection-card .wish-collection-caption { font: 400 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-collection-card .wish-segment-row { flex: none; }
.wish-collection-card .wish-segment-track { background: rgba(255,255,255,.07); border-radius: 15px; padding: 3px; }
.wish-collection-card .wish-segment-btn { flex: none; height: 26px; padding: 0 11px; border-radius: 13px; font: 500 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-collection-card .wish-segment-btn.is-active { background: var(--wish-primary); font-weight: 600; color: var(--wish-text-100); }
.wish-collection-card .wish-collection-progress { position: static; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.wish-collection-card .wish-collection-progress-fill { background: var(--wish-gradient-cta); }
/* N1-f 그룹 = [10px 레일 | 본문] 2열 · 노드 8px(해금 primary / 미해금 흰색 24%) · 축 흰색 14% (목업 2724-2728) */
/* v18 목업: 그룹 = flex gap 12 [레일 10px(padding-top 4 · 노드 8 · 아래로 축) | 본문] · 그룹 사이 18 · 타임라인 아래 24 (padding:0 20px 24px;gap:18px)
   축은 노드 바로 아래(4+8=12)에서 시작해 그 그룹 끝에서 멈춘다 — 그룹 사이 18px 은 축이 끊긴다 */
.wish-coll-group { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; }
.wish-coll-group + .wish-coll-group { margin-top: 18px; }
.wish-gutter-page > .wish-timeline { padding-bottom: 24px; }
.wish-coll-rail { position: relative; }
.wish-coll-rail::before { content: ''; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: rgba(255,255,255,.14); }
.wish-coll-body { min-width: 0; }
/* N1-c 카드 캡션 (v18 목업) — 열 gap 2 · 날짜 600 10.5px 45% / 계기 400 11.5px/1.4 75%(미수집 40%) */
.wish-memory-item { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wish-memory-item[data-action] { cursor: pointer; }
.wish-memory-caption { display: flex; flex-direction: column; gap: 2px; }
.wish-memory-caption-date { font: 600 10.5px var(--wish-font); color: var(--wish-text-45); }
.wish-memory-caption-trigger { font: 400 11.5px/1.4 var(--wish-font); color: rgba(255,255,255,.75); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wish-memory-item.is-locked .wish-memory-caption-trigger { color: rgba(255,255,255,.4); }
/* 미수집 자물쇠 18px · 선 흰색 80% (목업 stroke rgba(255,255,255,.8)) */
.wish-memory-card.is-locked { color: rgba(255,255,255,.8); }
/* NEW 배지 — 목업은 우상단 7px · 높이 20 · r10 · 700 9px · accent (공용 좌상단 배지와 다르다) */
.wish-memory-card .wish-card-overlay-badge { top: 7px; left: auto; right: 7px; height: 20px; border-radius: 10px; font: 700 9px var(--wish-font); }
/* N1-g (v18 L347 · logic colWide = total < 20) 수집 총량 5 · 10장 = 1열 · r16 · gap 14 / 20장 = 2열 그리드 · r12 · gap 10 (기본) · 비율은 모두 3:4 */
.wish-timeline-grid .wish-memory-card { border-radius: 12px; }
.wish-timeline-grid--wide { grid-template-columns: 1fr; gap: 14px; }
.wish-timeline-grid--wide .wish-memory-card { border-radius: 16px; }
/* ==== /QA1013 B3 ==== */

/* ==== QA1013 B5a 마이 폼 — 문의 · 프로필 · 페르소나 (N6 · N9 · N10 · N11) ==== */
/* N9 · N11-b 공용 — 필드 카드 래퍼 없이 라벨 줄 + 입력 (라벨 600 12.5px 80% · 카운터는 .wish-field-counter 가 오른쪽) */
.wish-pf-field { display: flex; flex-direction: column; gap: 8px; }
.wish-pf-field > .wish-field-label { font: 600 12.5px var(--wish-font); }
.wish-sheet .wish-pf-field + .wish-pf-field { margin-top: 14px; }
/* N9 프로필 — 본문 래퍼(좌우 20) */
/* v18 목업(rendered.html my-002): 본문 열 gap 16 · padding 6 20 24 · 아바타 줄 padding 4 0 2 · 필드 = 라벨 / 입력 / 캡션 gap 7
   · 핸들 캡션 400 11px(줄높이 normal) 흰색 40% · 미리보기만 gap 8 + 라벨 600 12px 55% */
#ws-my-profile > .wish-wizard-header { padding-bottom: 12px; }	/* 목업 헤더 padding 2 18 12 → 높이 44 (공용 42) */
/* G722 — MY-002 [저장] 비활성 = 정의서 「비활성(40%)」. NOTI-001 [모두 읽음] 28% 와 클래스를 같이 쓰므로 이 화면만 */
#ws-my-profile .wish-noti-header-action.is-disabled { color: var(--wish-text-100); opacity: .4; }
.wish-pf-body { display: flex; flex-direction: column; gap: 16px; padding: 6px var(--wish-pad-x) 24px; }
.wish-pf-body > .wish-avatar-uploader { flex: none; margin: 4px auto 2px; }
.wish-pf-body > .wish-pf-field { gap: 7px; }
.wish-pf-body > .wish-pf-field > .wish-field-hint { line-height: normal; }
.wish-pf-body > .wish-pf-field:has(> .wish-profile-preview-card) { gap: 8px; }
.wish-pf-body > .wish-pf-field:has(> .wish-profile-preview-card) > .wish-field-label { font: 600 12px var(--wish-font); color: rgba(255,255,255,.55); }
/* 미리보기 [팔로우] — 1.5px primary 아웃라인, 비활성 표시 전용 */
.wish-tag-chip.wish-pf-follow { height: 30px; padding: 0 14px; border-radius: 15px; background: none; border: 1.5px solid var(--wish-primary); color: var(--wish-highlight); font: 600 12px var(--wish-font); flex: none; }
/* N10 페르소나 목록 — 본문 래퍼(gap 14 · pad 4/20/24) + 카드형 행(surface r16 pad 13, 카드 사이 10) */
.wish-persona-body { display: flex; flex-direction: column; gap: 14px; padding: 4px var(--wish-pad-x) 24px; }
.wish-persona-list { display: flex; flex-direction: column; gap: 10px; }
.wish-list-row.wish-persona-card { min-height: 0; padding: 13px; gap: 12px; border-radius: 16px; background: var(--wish-surface); cursor: pointer; }
.wish-persona-card .wish-list-row-title { display: flex; align-items: center; gap: 6px; }
.wish-persona-card .wish-list-row-title .wish-status-badge { flex: none; }
.wish-persona-more { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -8px -8px -8px 0; color: var(--wish-text-45); cursor: pointer; }
.wish-dashed-btn.wish-persona-add { height: 48px; border-radius: 16px; font: 600 13px var(--wish-font); }
/* N11 편집 시트 — 타이틀 700 17px · 푸터 flex gap 8 (삭제 1 : 저장 2, 48px) */
.wish-persona-sheet-title { font: 700 17px var(--wish-font); }
.wish-sheet .wish-avatar-uploader--sm { margin-bottom: 18px; }
.wish-role-badge--ai-solid { background: #F2E7FA; color: var(--wish-primary); }
.wish-sheet-footer.wish-persona-footer { display: flex; gap: 8px; }
.wish-persona-footer .wish-btn { height: 48px; padding: 0 12px; }
.wish-persona-footer .wish-persona-del { flex: 1; border: 1px solid rgba(248,87,180,.45); color: var(--wish-accent); font: 600 13px/1 var(--wish-font); }
.wish-persona-footer .wish-persona-save { flex: 2; font: 700 14px/1 var(--wish-font); }
/* R22 — sticky 푸터가 마지막 캡션(설명 안내)을 덮었다: 이 시트만 세로 flex(본문만 스크롤 · 푸터는 흐름 안 고정) */
.wish-sheet.wish-sheet--persona { display: flex; flex-direction: column; overflow: hidden; }
.wish-sheet--persona .wish-sheet-handle { flex: none; }
.wish-sheet--persona .wish-persona-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-bottom: 4px; }
.wish-sheet--persona .wish-sheet-footer { position: static; flex: none; }
/* N6 문의하기 — 본문 래퍼(column gap 13 · pad 0 20), 라벨 600 11.5px 70%, 입력 46px r13 surface */
.wish-ask-body { display: flex; flex-direction: column; gap: 13px; padding: 4px var(--wish-pad-x) 24px; }
.wish-ask-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wish-ask-label { display: flex; align-items: baseline; gap: 6px; font: 600 11.5px var(--wish-font); color: rgba(255,255,255,.7); }
.wish-ask-label-sub { font: 400 10px var(--wish-font); color: var(--wish-text-40); }
.wish-ask-body .wish-input { height: 46px; border-radius: 13px; background: var(--wish-surface); padding: 0 14px; font-size: 14px; }
.wish-ask-body .wish-textarea { min-height: 120px; border-radius: 13px; background: var(--wish-surface); padding: 12px 14px; font-size: 13.5px; }
.wish-ask-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 13px; background: var(--wish-surface); font: 400 14px var(--wish-font); color: var(--wish-text-100); text-align: left; cursor: pointer; }
.wish-ask-select.is-placeholder .wish-ask-select-val { color: var(--wish-text-40); }
.wish-ask-select-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-ask-select-caret { flex: none; display: inline-flex; color: var(--wish-text-50); }
.wish-ask-atch { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-ask-thumb { position: relative; flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--wish-surface) center / cover no-repeat; cursor: pointer; }
.wish-ask-thumb-x { position: absolute; top: -5px; right: -5px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 9px; background: rgba(0,0,0,.7); color: var(--wish-text-100); }
.wish-ask-add { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.24); color: var(--wish-text-64); cursor: pointer; }
.wish-ask-body .wish-btn.wish-ask-send { height: 50px; margin-top: 4px; }
/* ==== /QA1013 B5a ==== */

/* ==== QA1013 B5b 마이 폼 — 세이프티 · 취향 태그 · 알림 설정 (N18 · N19 · N20) ==== */
/* N19-a 취향 태그 그룹 = column gap 9 (그룹 사이 16 은 .wish-ob-tags gap) — AUTH-002 STEP 3 · MY-016 공용 */
.wish-ob-ctgry { display: flex; flex-direction: column; gap: 9px; }

/* N18-a 세이프티 상태 카드 — #2E2B42 r16 pad 16 gap 6, 방패 20 + 라벨 700 19, 설명 400 12/1.55 64% */
.wish-scene-card.wish-safety-state { padding: 16px; gap: 6px; border-radius: 16px; }
.wish-safety-state-head { display: flex; align-items: center; gap: 8px; }
.wish-safety-state-icon { flex: none; display: inline-flex; width: 20px; height: 20px; color: var(--wish-text-100); }
.wish-safety-state-icon svg { width: 20px; height: 20px; }
.wish-safety-state-label { font: 700 19px/1.2 var(--wish-font); color: var(--wish-text-100); }
.wish-safety-state-sub { font: 400 11px var(--wish-font); color: var(--wish-text-55); }
.wish-safety-state-desc { font: 400 12px/1.55 var(--wish-font); color: var(--wish-text-64); }
/* QA1014 R29 MY-005 (M4815-4830) — 「인증 완료」 우측 pill · 노출 범위 블록 · 가린 태그 카드 행 */
.wish-safety-state-pill { margin-left: auto; flex: none; height: 20px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(123,15,201,.5); font: 700 9.5px var(--wish-font); color: var(--wish-text-100); }
.wish-safety-exposure { display: flex; flex-direction: column; gap: 8px; margin: 0 var(--wish-pad-x) 14px; }
.wish-safety-exposure-label { padding-left: 14px; font: 600 12.5px var(--wish-font); color: rgba(255,255,255,.8); }
.wish-safety-exposure .wish-toggle-row--card { margin: 0; }
.wish-list-row.wish-safety-blocked { min-height: 0; gap: 9px; padding: 13px 14px; border-radius: 14px; background: var(--wish-surface); cursor: pointer; }
.wish-safety-blocked-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-safety-blocked .wish-list-row-title { font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.85); }
.wish-safety-blocked-sub { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-safety-blocked-chev { flex: none; display: inline-flex; color: rgba(255,255,255,.4); }

/* N18-b · N20-a 카드형 토글 행 — .wish-toggle-row(MY-010 공용)는 그대로 두고 수식으로만 카드화.
   기본 = r16 pad 14, --sub = r14 pad 13/14 (MY-009 하위 행). 거터 20 은 margin 으로, 행 사이 14(MY-009 본문 gap) */
.wish-toggle-row--card { margin: 0 var(--wish-pad-x) 14px; padding: 14px; min-height: 0; gap: 12px; background: var(--wish-surface); border-radius: 16px; }
.wish-toggle-row--card .wish-toggle-row-label { font: 600 14px/1.3 var(--wish-font); }
.wish-toggle-row--card .wish-toggle-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-toggle-row--card .wish-toggle-row-sub { font: 400 11px/1.4 var(--wish-font); color: var(--wish-text-55); }
.wish-toggle-row--sub { padding: 13px 14px; border-radius: 14px; }
.wish-toggle-row--sub .wish-toggle-row-label { font: 500 12.5px/1.3 var(--wish-font); color: rgba(255,255,255,.85); }
.wish-toggle-row--card .wish-toggle-row-sub--sm { font: 400 10.5px/1.4 var(--wish-font); color: var(--wish-text-45); }
.wish-toggle-row--card .wish-toggle { flex: none; }
/* N20-a 알림 설정 그룹 라벨 700 11px 45% */
.wish-settings-group-label.wish-settings-group-label--noti { font: 700 11px var(--wish-font); color: var(--wish-text-45); margin-bottom: 14px; }
/* QA1014 R31 MY-009 방해금지 한 카드 (M6153-6163) — surface r16 p14 gap 11 · 제목 600 13.5 + 보조 10.5 · 50% + 토글 /
   같은 폭 시각 상자 2개(40 · r12 · 흰 7% · 600 14) 사이 「~」. 상자 위에 투명 input[type=time] 을 겹쳐 기기 피커를 그대로 쓴다 */
.wish-dnd-card { margin: 0 var(--wish-pad-x) 14px; padding: 14px; border-radius: 16px; background: var(--wish-surface); display: flex; flex-direction: column; gap: 11px; }
.wish-dnd-card.is-disabled { opacity: .4; pointer-events: none; }
.wish-dnd-head { display: flex; align-items: center; gap: 10px; }
.wish-dnd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-dnd-title { font: 600 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-dnd-sub { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-dnd-head .wish-toggle { flex: none; }
.wish-dnd-times { display: flex; align-items: center; gap: 9px; }
.wish-dnd-times.is-off { opacity: .4; }
.wish-dnd-card.is-disabled .wish-dnd-times.is-off { opacity: 1; }		/* 카드째 40% 일 때 겹쳐 흐려지지 않게 */
.wish-dnd-time { position: relative; flex: 1; min-width: 0; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.wish-dnd-time-val { font: 600 14px var(--wish-font); color: var(--wish-text-100); font-variant-numeric: tabular-nums; pointer-events: none; }
.wish-dnd-time .wish-dnd-time-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; background: none; }
.wish-dnd-times.is-off .wish-dnd-time { cursor: default; }
/* G923 MY-009 ⑥ 하단 캡션 「마케팅 수신 동의 YYYY.MM.DD」 — 카드와 같은 좌우 여백 */
.wish-fine-print.wish-noti-agre-foot { margin: 0 var(--wish-pad-x) 24px; }
.wish-dnd-sep { flex: none; font: 500 12px var(--wish-font); color: rgba(255,255,255,.45); }

/* N18-c 인증 3단계 — 세로 목록(18px 원 번호 · 제목 + 설명 2줄), 카드 제목 600 13.5px */
.wish-vrfy-card .wish-mode-card-title { font: 600 13.5px var(--wish-font); }
.wish-vrfy-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wish-vrfy-step { display: flex; align-items: flex-start; gap: 10px; }
.wish-vrfy-step.is-done { cursor: pointer; }
.wish-vrfy-step-no { flex: none; width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: var(--wish-text-100); font: 700 10.5px var(--wish-font); }
.wish-vrfy-step.is-current .wish-vrfy-step-no { background: var(--wish-primary); }
.wish-vrfy-step-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wish-vrfy-step-title { font: 600 12.5px/1.3 var(--wish-font); color: var(--wish-text-100); }
.wish-vrfy-step-desc { font: 400 11px/1.45 var(--wish-font); color: var(--wish-text-55); }
/* G796 — 미인증 토글 ON 시도 안내 · page-my-safety.js renderVerify. 강조는 카드 primary 테두리가 맡고, 글자는 #7B0FC9 가 어두운 면 위에서 안 읽혀 흰색 80% */
.wish-vrfy-hint { font: 500 11.5px/1.45 var(--wish-font); color: var(--wish-text-80); }
/* N18-d 인증 버튼 46px r23 CTA 그라디언트(wish-btn-primary) 700 13.5px */
.wish-btn.wish-btn--vrfy { width: 100%; height: 46px; min-height: 46px; border-radius: 23px; font: 700 13.5px/1 var(--wish-font); }
/* N18-e 재인증 주기 캡션 — 카드 밖 하단 */
.wish-vrfy-caption { margin: 0 var(--wish-pad-x) 16px; font: 400 10.5px/1.6 var(--wish-font); color: var(--wish-text-40); }
/* ==== /QA1013 B5b ==== */

/* ==== QA1013 B5-2 내 활동 · 성과 (N15 · N16 · N17 · S4 · N22) ==== */
/* S4 · N15-a 팔로우 · 댓글 탭 머리 「전체 N」 600 12px 55% (v15 M 4855) — 공용 .wish-toolbar-count 는 수식으로만 */
.wish-act-toolbar .wish-toolbar-count { font: 600 12px var(--wish-font); color: var(--wish-text-55); }
/* S4 팔로우 행 — 52px 아바타 · 이름 15/600 (v15 ①-b) */
.wish-act-follow { padding-top: 8px; padding-bottom: 8px; }
.wish-act-follow-avatar { width: 52px; height: 52px; border-radius: 26px; }
.wish-act-follow .wish-list-row-title { font: 600 15px var(--wish-font); }
/* N15-b 댓글 행 (M 4857-4863) — pad 16/0 + 하단 1px 흰 6% · 위 줄 [28px 칩 · 날짜 · ⋯] → 아래 본문 14/1.6 90% 전문 */
.wish-act-cmnt { margin: 0 var(--wish-pad-x); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.wish-act-cmnt-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wish-act-cmnt-chip { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 14px; background: rgba(255,255,255,.08); }
.wish-act-cmnt-chip.is-gone { padding-left: 10px; }
.wish-act-cmnt-thumb { flex: none; width: 20px; height: 20px; border-radius: 10px; background: var(--wish-gradient-primary-accent); background-size: cover; background-position: center 20%; }
.wish-act-cmnt-nm { min-width: 0; font: 600 12px var(--wish-font); color: var(--wish-text-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-act-cmnt-date { flex: none; font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.42); }
.wish-act-cmnt-body { font: 400 14px/1.6 var(--wish-font); color: rgba(255,255,255,.9); white-space: pre-line; overflow-wrap: anywhere; }
/* N15-c ⋯ — 가로 점 17px 50%, 히트 영역 32×32 (오른쪽 끝 점이 거터에 맞도록 -8px) */
.wish-act-more { flex: none; margin-left: auto; margin-right: -8px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--wish-text-50); cursor: pointer; }
/* N16-a 모드 배지 — 채움 없는 인라인 pill 18px · 1px 흰 50% 아웃라인. 이름 · 모드 · 상태가 한 줄(gap 6) */
.wish-act-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-act-title-nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-act-title > .wish-status-badge { flex: none; }
.wish-act-mode { flex: none; display: inline-flex; align-items: center; box-sizing: border-box; height: 18px; padding: 0 7px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; background: none; font: 600 9.5px/1 var(--wish-font); color: rgba(255,255,255,.5); white-space: nowrap; }
/* N16-b 내 캐릭터 행 (M 4893) — gap 12 · pad 12/0 · 구분선 1px 흰 6% · 지표 400 11px 55% */
.wish-act-row { margin: 0 var(--wish-pad-x); padding: 12px 0; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.wish-act-row .wish-list-row-desc { margin-top: 4px; font: 400 11px var(--wish-font); color: var(--wish-text-55); }
/* N17-a 스냅샷 (M 4941-4956) — 목록 gap 10 · 행 = surface 카드 r16 pad 12 gap 12 · 단계 라벨 600 11.5px 연보라 한 줄 */
.wish-act-snap-list { display: flex; flex-direction: column; gap: 10px; margin: 0 var(--wish-pad-x); }
.wish-act-snap { padding: 12px; gap: 12px; border-radius: var(--wish-radius-card); background: var(--wish-surface); }
.wish-act-snap-stage { margin-top: 3px; font: 600 11.5px var(--wish-font); color: var(--wish-highlight); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-act-snap .wish-list-row-desc { margin-top: 3px; }
/* N17-b 스냅샷 탭 요약 400 11.5px 55% · 정렬 500 11px 50% (M 4944-4945) · 하단 캡션 가운데 400 10.5px 40% (M 4958) */
.wish-act-toolbar--snap .wish-toolbar-count { font: 400 11.5px var(--wish-font); color: var(--wish-text-55); }
.wish-act-toolbar--snap .wish-toolbar-sort { font: 500 11px var(--wish-font); color: var(--wish-text-50); }
#ws-my-activity .wish-act-snap-cap { margin-top: 14px; text-align: center; font: 400 10.5px/1.5 var(--wish-font); color: var(--wish-text-40); }

/* N22-a MY-014 성과 탭 섹션 카드 (M 5065 · 5073 · 5087) — surface r16 pad 14, 제목 600 13.5px, 우측 메타 400 10.5px 45%.
   반응 · 저니 탭의 .wish-cs-sec 는 그대로(수식 클래스 --card 만) */
.wish-cs-sec--card { padding: 14px; border-radius: var(--wish-radius-card); background: var(--wish-surface); }
.wish-cs-sec--card .wish-section-title { font: 600 13.5px var(--wish-font); }
.wish-cs-sec--card .wish-caption-meta { font: 400 10.5px var(--wish-font); color: var(--wish-text-45); }
/* N22-d 30일 막대 — 최댓값 대비 85% 초과만 accent (목업 L598-600) */
.wish-cs-bar--hi { background: var(--wish-accent); }
/* N22-c 반응 최신 댓글 행 (M 5096-5097) — 흰 5% · r12 · pad 10/12, 아바타 20px, 본문 400 11.5px/1.5 80% */
.wish-cs-recent { gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.wish-cs-recent .wish-cs-avatar { width: 20px; height: 20px; border-radius: 10px; }
.wish-cs-recent-body { color: var(--wish-text-80); }
/* v22.2 MY-014 ⑥ 반응 요약 2칸 한 줄(좋아요율 · 신고 수 — 다시 답변 · 새로운 대답 비율은 기능 삭제로 뺐다, 10-27) — 칸 안쪽 10px 9px · 라벨 줄바꿈 금지 */
.wish-cs-minis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wish-cs-minis--2 .wish-cs-mini { gap: 2px; padding: 10px 9px; }
.wish-cs-minis--2 .wish-cs-mini-label { white-space: nowrap; }
/* v22.2 MY-014 ⑦ 반응 탭 품질 지표 2종(2칸 한 줄) — 간격 6 · 칸 안쪽 12px 10px · 숫자 800 18px · 라벨 줄바꿈 금지 */
.wish-cs-metrics.wish-cs-metrics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wish-cs-metrics--2 .wish-cs-metric { padding: 12px 10px; }
.wish-cs-metrics--2 .wish-cs-metric-label { white-space: nowrap; }
.wish-cs-metrics--2 .wish-cs-metric-val { font-size: 18px; }
/* ==== /QA1013 B5-2 ==== */

/* ==== QA1013 B7 상점 · 무료로 모으기 (N12 · N14 · N21) ==== */
/* N12-f · N21-b 「무료로 모으기 ›」 · 「더 필요하면 충전하기 ›」 — 왼쪽 500 11.5px 흰 60% (M 4351 · 4759).
   --block(가운데)은 홈 「전체 보기」가 그대로 쓰므로 수식 클래스로 덮는다 */
.wish-link-more--block.wish-link-more--start { align-self: flex-start; margin: 0; text-align: left; font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.6); }
/* N12-c 선택 요약 보조 정보 「첫 구매 +50%」 · 「24시간 500회」 — 상품명 뒤 400 흰 50% (M 4364) */
.wish-pay-bar-sub { font-weight: 400; color: var(--wish-text-50); }
/* ==== /QA1013 B7 ==== */

/* ==== QA1013 B4-S1 COM-001 확인 다이얼로그 · N8 필터 시트 ==== */
/* S1 COM-001 — 화면 중앙 단일 카드(정의서 v15.2 80-117, 목업 markup). 딤 z 38 = 시트(37) 위 · 토스트(40) 아래(338 행 z 규약).
   .wish-dialog / .wish-dialog-card 는 시트 안 다른 화면도 쓰므로 .wish-cdlg 아래에서만 덮는다 */
.wish-cdlg {
  position: fixed; inset: 0; z-index: 38;
  background: rgba(10,9,20,.62);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 0;
  animation: wish-cdlg-fade .16s ease-out;
}
.wish-cdlg > .wish-dialog {
  width: 296px; max-width: calc(100% - 80px);	/* 좌우 여백 ≥ 40px */
  max-height: 100%; overflow-y: auto;
  background: none; border-radius: 22px; padding: 0; box-shadow: none; gap: 0;
  animation: wish-cdlg-pop .16s ease-out;
}
.wish-cdlg .wish-dialog-card {
  background: var(--wish-surface); border-radius: 22px;
  padding: 26px 20px 18px; gap: 0;
  align-items: center; text-align: center;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.wish-cdlg-icon {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(143,26,198,.2); color: #D9A8F5;		/* B 일반 — primary 틴트 */
}
.wish-cdlg-card.is-danger .wish-cdlg-icon { background: rgba(248,87,180,.14); color: var(--wish-accent); }	/* A 위험 — accent 틴트 */
.wish-cdlg-card.is-lavender .wish-cdlg-icon { background: rgba(123,15,201,.22); color: #C9A4F5; }
.wish-cdlg-card.is-accent .wish-cdlg-icon { background: rgba(248,87,180,.14); color: #F857B4; }	/* v22.2 MY-004 ⑩ 결제 실패 — 아이콘만 accent 14%, 확정은 B 그라데이션 */	/* v19.2 CHAR-001 ⑦-B 시계 아이콘(라벤더) — rendered 목업 값 */
.wish-cdlg .wish-dialog-title { margin-top: 16px; font: 700 17px/1.4 var(--wish-font); letter-spacing: -.01em; color: var(--wish-text-100); text-wrap: balance;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }	/* COM-001 제목 「최대 2줄」 (text.md:117, G022) */
.wish-cdlg .wish-dialog-card > .wish-dialog-title:first-child { margin-top: 0; }
.wish-cdlg .wish-dialog-desc { margin-top: 8px; font: 400 13.5px/1.6 var(--wish-font); color: rgba(255,255,255,.62); text-wrap: pretty; white-space: pre-line; }
/* v22.2 COM-001 C 선택지 3개 — 제목 · 본문 양끝 정렬(카드 폭 전체 · 마지막 줄 왼쪽). A · B 는 가운데 그대로 */
.wish-cdlg .wish-cdlg-card.is-stack .wish-dialog-title, .wish-cdlg .wish-cdlg-card.is-stack .wish-dialog-desc { align-self: stretch; text-align: justify; text-align-last: left; text-wrap: wrap; }
.wish-cdlg .wish-dialog-card > .wish-dialog-desc:first-child { margin-top: 0; }
.wish-cdlg .wish-cdlg-icon + .wish-dialog-desc { margin-top: 16px; }
.wish-cdlg .wish-dialog-note { margin-top: 6px; font: 400 12px/1.55 var(--wish-font); color: var(--wish-text-50); }
.wish-cdlg-error { margin-top: 10px; font: 500 12.5px/1.5 var(--wish-font); color: var(--wish-accent); }
.wish-cdlg-error[hidden] { display: none; }
.wish-cdlg .wish-cdlg-actions { margin-top: 22px; width: 100%; display: flex; gap: 8px; }
/* v22.2 MY-004 ⑩ ⓐ 사유 박스 — 목업 값 그대로(위 14 · 패딩 10/12 · r12 · 흰색 5% · 라벨 11/500 45% · 사유 12/600 82% 1줄 말줄임) · 버튼 줄 위 20 · [닫기] 1 : [다시 시도] 1.3 */
.wish-cdlg-reason { margin-top: 14px; width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); text-align: left; }
.wish-cdlg-reason-label { flex: none; font: 500 11px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-cdlg-reason-text { flex: 1; min-width: 0; font: 600 12px var(--wish-font); color: rgba(255,255,255,.82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-cdlg .has-reason .wish-cdlg-actions { margin-top: 20px; }
.wish-cdlg .has-reason .wish-cdlg-actions .wish-cdlg-btn--confirm { flex: 1.3 1 0%; }
.wish-cdlg .wish-cdlg-actions.is-stack { flex-direction: column; }
.wish-cdlg .wish-cdlg-actions .wish-cdlg-btn {
  position: relative; flex: 1; min-width: 0; height: 48px; min-height: 48px; padding: 0 12px;
  border: 0; border-radius: 24px; box-shadow: none;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 14px/1.25 var(--wish-font); color: #FFFFFF; white-space: normal; word-break: keep-all;
  background: var(--wish-gradient-cta);		/* B 일반 확정 */
}
.wish-cdlg .is-danger .wish-cdlg-actions .wish-cdlg-btn--confirm { background: var(--wish-accent); }	/* A 위험 확정 — accent 단색 */
.wish-cdlg .wish-cdlg-actions .wish-cdlg-btn--sub { background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-weight: 600; }
.wish-cdlg .wish-cdlg-actions.is-stack .wish-cdlg-btn { flex: none; width: 100%; }
.wish-cdlg .wish-cdlg-actions.is-stack .wish-cdlg-btn--text { height: 40px; min-height: 40px; background: none; color: rgba(255,255,255,.55); font: 500 13px/1.25 var(--wish-font); }
.wish-cdlg .wish-cdlg-actions .wish-cdlg-btn:disabled { opacity: 1; pointer-events: none; }
.wish-cdlg .wish-cdlg-actions .wish-cdlg-btn:disabled:not(.is-busy) { opacity: .4; }
.wish-cdlg-btn.is-busy .wish-cdlg-btn-label { visibility: hidden; }
.wish-cdlg-btn.is-busy .wish-spinner { position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -8px; border-color: rgba(255,255,255,.9); border-top-color: transparent; }
@keyframes wish-cdlg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wish-cdlg-pop { from { transform: scale(.96); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .wish-cdlg, .wish-cdlg > .wish-dialog { animation: none; }
}

/* N8-a,b HOME-04 · HOME-05 필터 시트 — 이 시트만(D9) 배경 bg-base 로 「신작만 보기」 surface 카드가 보이게 (M 1311 · 1330),
   하단 [초기화] 1 : [적용] 2 · 높이 50 · gap 10 (M 1334-1336). .wish-dialog-actions 공용 규칙은 건드리지 않는다 */
.wish-sheet.wish-sheet--filter { background: var(--wish-bg-base); }
.wish-sheet--filter .wish-sheet-footer { background: var(--wish-bg-base); }
.wish-sheet--filter .wish-danger-row { padding: 14px 16px; }
.wish-sheet--filter .wish-fs-actions { gap: 10px; }
.wish-sheet--filter .wish-fs-actions .wish-btn { height: 50px; min-height: 50px; padding: 0 12px; font: 700 15px/1 var(--wish-font); }
.wish-sheet--filter .wish-fs-actions .wish-fs-reset { flex: 1; font-weight: 600; background: none; border: 1px solid rgba(255,255,255,.18); color: var(--wish-text-100); }
.wish-sheet--filter .wish-fs-actions .wish-fs-apply { flex: 2; }
/* ==== /QA1013 B4-S1 ==== */

/* ==== QA1013 B4-S2 COM-002 프리로더 · 스파크 ==== */
/* 목업 logic spark()/dots()/skel(): 4꼭지 별(CTA 그라디언트) 1.4초 호흡 82↔100% · 궤도(흰 10% 선) accent 점 1.6초 한 바퀴(M·L 만, S 는 호흡만).
   크기 S 18 / M 32 / L 56 — 궤도가 있으면 별 = 크기 × .62, 점 = × .16 · 위로 × .07. WS.Comp.loader · WS.Comp.wait (ws-components.js) */
.wish-loader { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wish-loader--S { display: inline-flex; gap: 8px; }
.wish-loader--L { flex-direction: column; justify-content: center; gap: 14px; text-align: center; }
.wish-loader-spark { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.wish-loader--S .wish-loader-spark { width: 18px; height: 18px; }
.wish-loader--M .wish-loader-spark { width: 32px; height: 32px; }
.wish-loader--L .wish-loader-spark { width: 56px; height: 56px; }
.wish-loader-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.wish-loader-orbit { position: absolute; inset: 0; animation: wish-loader-orbit 1.6s linear infinite; }
.wish-loader-orbit-dot { position: absolute; left: 50%; border-radius: 50%; background: var(--wish-accent); box-shadow: 0 0 8px rgba(248,87,180,.8); }
.wish-loader--M .wish-loader-orbit-dot { top: -2px; width: 5px; height: 5px; margin-left: -3px; }
.wish-loader--L .wish-loader-orbit-dot { top: -4px; width: 9px; height: 9px; margin-left: -4px; }
.wish-loader-star { display: block; animation: wish-loader-pulse 1.4s ease-in-out infinite; }
.wish-loader-stop-a { stop-color: var(--wish-cta-from); }
.wish-loader-stop-b { stop-color: var(--wish-cta-to); }
.wish-loader-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wish-loader-title { font: 700 16px/1.4 var(--wish-font); color: var(--wish-text-100); }
.wish-loader--S .wish-loader-title { font: 500 12.5px/1.4 var(--wish-font); color: rgba(255,255,255,.62); }	/* 목업 말풍선 자리 */
.wish-loader-label { overflow-wrap: anywhere; }
.wish-loader-sub { font: 400 12px/1.5 var(--wish-font); color: rgba(238,238,238,.45); }
.wish-loader-dots { display: inline-flex; margin-left: 1px; }
.wish-loader-dots > span { animation: wish-loader-dots 1.2s ease-in-out infinite; }
.wish-loader-dots > span:nth-child(2) { animation-delay: .2s; }
.wish-loader-dots > span:nth-child(3) { animation-delay: .4s; }
/* 스켈레톤 — 흰 6% 바탕 · 8% 테두리 · r16 · 15/14, 줄 10px(92 · 74 · 84%, 둘째 줄 -30%p) 위로 흰 8% 빛띠 1.5초. 전역 .wish-skeleton(홈 · 목록)은 그대로 둔다 */
.wish-loader-skels { display: flex; flex-direction: column; gap: 8px; }
.wish-loader-skel { position: relative; overflow: hidden; border-radius: 16px; background: rgba(238,238,238,.06); border: 1px solid rgba(238,238,238,.08); padding: 15px 14px; display: flex; flex-direction: column; gap: 8px; }
.wish-loader-skel-bar { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); width: 92%; }
.wish-loader-skel-bar + .wish-loader-skel-bar { background: rgba(255,255,255,.07); width: 62%; }
.wish-loader-skel:nth-child(3n+2) .wish-loader-skel-bar { width: 74%; }
.wish-loader-skel:nth-child(3n+2) .wish-loader-skel-bar + .wish-loader-skel-bar { width: 44%; }
.wish-loader-skel:nth-child(3n) .wish-loader-skel-bar { width: 84%; }
.wish-loader-skel:nth-child(3n) .wish-loader-skel-bar + .wish-loader-skel-bar { width: 54%; }
.wish-loader-skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: wish-loader-shimmer 1.5s ease-in-out infinite; }
/* 대기 묶음 — 0.4초 전엔 자리만 잡고 안 보인다(깜빡임 방지). [취소] = 40px pill · 흰 7% · 600 13px 70% (목업 ③) */
.wish-wait { display: flex; flex-direction: column; gap: 18px; }
.wish-wait.is-pending { visibility: hidden; }
.wish-wait-actions { display: flex; justify-content: center; }
.wish-loader-cancel { height: 40px; padding: 0 18px; border: 0; border-radius: 20px; background: rgba(255,255,255,.07); font: 600 13px var(--wish-font); color: rgba(238,238,238,.7); cursor: pointer; }
/* 타이머 없이 그리는 자리(말풍선 · 행)는 CSS 로 0.4초 늦게 보인다 */
.wish-wait-delay { animation: wish-loader-appear 0s linear .4s both; }
.wish-snapshot-save-row.is-busy { pointer-events: none; }
/* 결제 대기(L) — MY-004 오버레이 문구 크기(600 13 · 400 11 45%). 딤은 바로, 카드는 0.4초 뒤(page-store overlay()) */
.wish-payment-overlay.is-pending { visibility: hidden; }
.wish-payment-overlay .wish-loader-title { font: 600 13px/1.4 var(--wish-font); }
.wish-payment-overlay .wish-loader-sub { font-size: 11px; }
@keyframes wish-loader-pulse { 0%, 100% { transform: scale(.82); opacity: .75; } 50% { transform: scale(1); opacity: 1; } }
@keyframes wish-loader-orbit { to { transform: rotate(360deg); } }
@keyframes wish-loader-dots { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes wish-loader-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes wish-loader-appear { from { visibility: hidden; } to { visibility: visible; } }
/* 움직임 줄이기 — 회전 · 빛띠(· 점 깜빡임)를 끄고 호흡만 */
@media (prefers-reduced-motion: reduce) {
  .wish-loader-orbit, .wish-loader-dots > span { animation: none; }
  .wish-loader-skel::after { animation: none; display: none; }
}
/* 드로어 스냅샷 저장 행의 svg 14px 규칙(.wish-drawer .wish-snapshot-save-row svg)이 S 로더 별을 누르지 않게 (리뷰 r1) */
.wish-drawer .wish-snapshot-save-row .wish-loader svg { width: 18px; height: 18px; }
/* ==== /QA1013 B4-S2 ==== */

/* ==== QA1013 B4-S3 나레이션 정체 · 가운데 · 보라 틴트 ==== */
/* 발췌 카드 흰색 글자색 선택은 지문도 흰색 (검정은 위 --color-black 규칙) */
.wish-excerpt-card.wish-excerpt-card--color-white .wish-msg-narration { color: var(--wish-text-100); }
/* 답변 추천 카드 안 지문 조각 — 보라 틴트 (v15 CHAT-002 ⑪ 「나레이션 부분은 보라 틴트로 구분」) */
.wish-suggest-narr { color: var(--wish-highlight); }
/* ==== /QA1013 B4-S3 ==== */

/* ==== QA1013 B8 CHAR-001 댓글 전체 보기 ==== */
/* N5 ⑥-B (목업 컷 ⑥-B, v15.2 1131-1153) — 헤더는 공용 .wish-wizard-header(30px ‹ · 가운데 700 15px) 그대로 */
.wish-cmnt-all { min-height: calc(100vh - var(--wish-safe-top)); display: flex; flex-direction: column; }
.wish-cmnt-all-header { flex: none; }	/* 헤더 훅 — 세로 flex 안에서 줄지 않게 */
.wish-cmnt-all-count { font-weight: 600; color: var(--wish-text-45); }
/* ⓑ 캐릭터 미니 행 + 정렬 세그먼트 */
.wish-cmnt-all-char { flex: none; display: flex; align-items: center; gap: 10px; padding: 4px 20px 6px; border-bottom: 1px solid var(--wish-line); }
.wish-cmnt-all-thumb { width: 30px; height: 30px; border-radius: 15px; flex: none; background: var(--wish-surface) center 20% / cover no-repeat; }
.wish-cmnt-all-name { flex: 1; min-width: 0; font: 500 12px var(--wish-font); color: rgba(255,255,255,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-cmnt-all-seg { flex: none; display: flex; background: rgba(255,255,255,.07); border-radius: 15px; padding: 3px; }
.wish-cmnt-all-seg-btn { height: 26px; display: flex; align-items: center; padding: 0 11px; border: 0; border-radius: 13px; background: none; font: 500 11px var(--wish-font); color: var(--wish-text-50); cursor: pointer; }
.wish-cmnt-all-seg-btn.is-active { background: var(--wish-primary); font-weight: 600; color: var(--wish-text-100); }
/* ⓒ 목록 — 상세와 같은 행, 행마다 14px 위아래 + 1px 구분선 · 하단 작성 바 높이만큼 비운다 */
.wish-cmnt-all [data-slot="comments"] { flex: 1; padding: 0 20px calc(96px + var(--wish-safe-bottom)); }
.wish-cmnt-all-list > .wish-comment-row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.wish-cmnt-all-empty { padding: 48px 0; text-align: center; }
.wish-cmnt-all-foot { display: flex; justify-content: center; padding: 16px 0; }
.wish-cmnt-all [data-cmnt-banner]:not([hidden]) { margin-top: 12px; }
/* ⓓ 하단 고정 작성 바 — 입력칸은 상세 .wish-comment-composer 그대로 (.wish-fixed-cta 와 같은 고정 방식) */
.wish-cmnt-all-compose {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 10px 16px calc(26px + var(--wish-safe-bottom));	/* v20.3:81 디자인 값 + 인셋(덧셈) */
  border-top: 1px solid var(--wish-line); background: var(--wish-bg-base);
}
/* ==== /QA1013 B8 ==== */

/* === COM-003 reward (v15.5) === ════════════════════════════════════════════════════════════════
   보상 획득 연출 (ws-components.js WS.Comp.reward). 정의서 v15.5 text.md 155-205, 값은 목업 logic.js:174-204 · style-02.css:12-22(wsRw* 키프레임).
   z — 토스트 45 · 오버레이 44: 드로어 35 · 시트 37 · 확인 창 38 · 처리 토스트 40 · 뷰어 40 위, 점검 화면 60 아래.
   토스트는 대화 위에 뜨지만 배경을 어둡게 하지 않고 입력을 막지 않는다 — 감싸개 pointer-events:none, 카드만 받는다(text.md:172 · 175). */
@keyframes wsRwPop { 0% { transform: scale(0) rotate(-24deg); } 100% { transform: none; } }
@keyframes wsRwRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
@keyframes wsRwBurst { 0% { transform: translate(0,0) scale(.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
@keyframes wsRwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wsRwFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes wsRwUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes wsRwTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes wsRwIn { 0% { opacity: 0; transform: translateY(10px) scale(.94); } 100% { opacity: 1; transform: none; } }
@keyframes wsRwOut { from { opacity: 1; filter: blur(0); } to { opacity: 0; filter: blur(3px); transform: scale(.98); } }	/* 「흐려지며 사라진다」(text.md:172) — 목업에 퇴장 키프레임이 없어 개발 값 */
@keyframes wsRwCard { 0% { opacity: 0; transform: translateY(18px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes wsRwShine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes wsRwFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,245,0); filter: none; } 50% { box-shadow: 0 0 0 4px rgba(201,164,245,.55); filter: brightness(1.35); } }	/* 칩 2번 반짝임(text.md:175) — 값은 개발 제안 */
@keyframes wsRwFocus { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,245,0); } 40% { box-shadow: 0 0 0 3px var(--wish-highlight); } }

/* A · 키워드 해금 토스트 — 화면 중앙(목업 markup.html:349 top:50% · translateY(-50%)), 좌우 14px (logic.js:184) */
.wish-rw-toast-wrap {
  position: fixed; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; justify-content: center; padding: 0 14px; pointer-events: none;
}
.wish-rw-swipe { width: 100%; max-width: 420px; pointer-events: auto; touch-action: pan-y; cursor: pointer; transition: transform .2s ease, opacity .2s ease; outline: none; }
.wish-rw-swipe:focus-visible .wish-rw-toast { box-shadow: var(--wish-shadow-focus); }
.wish-rw-toast {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px 13px 11px;
  border-radius: 18px; overflow: hidden; background: rgba(34,32,50,.95); font-family: var(--wish-font);
  animation: wsRwIn .5s cubic-bezier(.2,1.2,.4,1) both;
}
.wish-rw-toast.is-like { border: 1px solid rgba(248,87,180,.5); box-shadow: 0 14px 32px rgba(248,87,180,.28); }
.wish-rw-toast.is-dislike { border: 1px solid rgba(201,164,245,.3); box-shadow: 0 14px 32px rgba(0,0,0,.45); }
.wish-rw-toast.is-leaving { animation: wsRwOut .3s ease both; }
/* 아이콘 타일 40 · r13 — LIKE 핑크 그라데이션 / DISLIKE 어두운 타일 + 라벤더 40% 테두리 */
.wish-rw-icon { position: relative; width: 40px; height: 40px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.is-like > .wish-rw-icon { background: var(--wish-gradient-cta); }
.is-dislike > .wish-rw-icon { background: var(--wish-surface); border: 1px solid rgba(201,164,245,.4); }
.wish-rw-ring { position: absolute; inset: 0; border-radius: 13px; animation: wsRwRing .9s ease-out .15s both; }
.is-like .wish-rw-ring { border: 2px solid var(--wish-accent); }
.is-dislike .wish-rw-ring { border: 2px solid var(--wish-highlight); }
.wish-rw-heart { position: relative; animation: wsRwPop .6s cubic-bezier(.2,1.6,.4,1) .1s both; }
.wish-rw-heart-fill { fill: var(--wish-text-100); }
.wish-rw-heart-line { fill: none; stroke: var(--wish-highlight); stroke-width: 1.8; stroke-linejoin: round; }
.wish-rw-heart-crack { fill: none; stroke: var(--wish-highlight); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* 빛 조각 8개 — 6px(반경 34) / 4px(반경 26) 번갈아, 3개마다 accent 나머지 #FFD3EC (logic.js:177) */
.wish-rw-spark {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%;
  background: #FFD3EC; animation: wsRwBurst .8s ease-out .2s both; pointer-events: none;
}
.wish-rw-spark.is-sm { width: 4px; height: 4px; margin: -2px; }
.wish-rw-spark.is-accent { background: var(--wish-accent); }
.wish-rw-toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; animation: wsRwUp .4s ease .25s both; }
.wish-rw-eyebrow { font: 800 10.5px var(--wish-font); letter-spacing: .06em; }
.is-like .wish-rw-eyebrow { color: var(--wish-accent); }
.is-dislike .wish-rw-eyebrow { color: var(--wish-highlight); }
.wish-rw-keyword { font: 700 15px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-rw-line { font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-rw-progress { flex: none; font: 700 11px var(--wish-font); color: var(--wish-text-50); font-variant-numeric: tabular-nums;	/* G007 */ animation: wsRwFade .4s ease .35s both; }
/* 하단 남은 시간 막대 — 좌우 14 · 높이 2 · 2.4초 동안 줄어든다(입장 0.5초 뒤 시작) */
.wish-rw-timer { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 1px; transform-origin: left; animation: wsRwTimer 2.4s linear .5s both; }
.is-like .wish-rw-timer { background: var(--wish-accent); }
.is-dislike .wish-rw-timer { background: var(--wish-highlight); }

/* B · 일러스트 획득 오버레이 — 풀스크린, bg-base 90→96% + blur 6 (logic.js:195). 위 84 · 좌우 24 · 아래 22 */
.wish-rw-ovl {
  position: fixed; inset: 0; z-index: 44; display: flex; flex-direction: column; align-items: center;
  padding: calc(84px + var(--wish-safe-top)) 24px calc(22px + var(--wish-safe-bottom)); overflow-y: auto;
  background: linear-gradient(180deg, rgba(var(--wish-bg-base-rgb),.9), rgba(20,18,37,.96));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--wish-font); animation: wsRwFade .4s ease both;
}
.wish-rw-ovl.is-closing { animation: wsRwFadeOut .2s ease both; }
.wish-rw-ovl-eyebrow { font: 700 11.5px var(--wish-font); letter-spacing: .12em; color: var(--wish-highlight); animation: wsRwFade .5s ease .1s both; }
/* 3:4 카드 216×288 · r16 — 0.15초 뒤 18px 아래에서 0.7초, 튕김 없음(text.md:200-202) */
.wish-rw-card {
  position: relative; margin-top: 18px; width: 216px; height: 288px; flex: none; border-radius: 16px; overflow: hidden;
  background: var(--wish-surface) center / cover no-repeat; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 44px rgba(0,0,0,.5);
  animation: wsRwCard .7s cubic-bezier(.22,.8,.3,1) .15s both;
}
/* 옅은 광택 1회 18% (text.md:204-205 · logic.js:198) */
.wish-rw-gloss { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); animation: wsRwShine 1.4s ease .8s both; pointer-events: none; }
/* 단계명 18/800 (text.md:181 — 목업 logic.js:199 은 19px, 문서 값을 따른다) */
.wish-rw-ovl-stage { margin-top: 22px; font: 800 18px var(--wish-font); color: var(--wish-text-100); text-align: center; animation: wsRwUp .5s ease .7s both; }
.wish-rw-ovl-meta { margin-top: 6px; font: 500 12px var(--wish-font); color: var(--wish-text-55); text-align: center; animation: wsRwUp .5s ease .75s both; }
.wish-rw-ovl-more { margin-top: 8px; height: 22px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 11px; background: rgba(201,164,245,.14); font: 700 11px var(--wish-font); color: var(--wish-highlight); animation: wsRwUp .5s ease .78s both; }	/* D2 「외 n장」 — 목업에 없는 개발 값 */
.wish-rw-ovl-trigger {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); max-width: 280px; text-align: center;
  font: 400 13px/1.6 var(--wish-font); color: rgba(236,234,246,.85); animation: wsRwUp .5s ease .8s both;
}
.wish-rw-ovl-actions { margin-top: auto; padding-top: 20px; align-self: stretch; display: flex; gap: 8px; animation: wsRwUp .5s ease .9s both; }
.wish-rw-btn {
  height: 48px; border-radius: 24px; border: 0; display: flex; align-items: center; justify-content: center;
  font: 700 14px var(--wish-font); cursor: pointer; text-decoration: none; padding: 0 12px;
}
.wish-rw-btn--sub { flex: 1; background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); }
.wish-rw-btn--cta { flex: 1.3; background: var(--wish-gradient-cta); color: var(--wish-text-100); }
.wish-rw-btn:focus-visible { outline: none; box-shadow: var(--wish-shadow-focus); }

/* CHAT-003 LIKE·DISLIKE 칩 2번 반짝임(토스트 탭 진입) · CHAT-004 focusSlotId 카드 강조(D5) */
.wish-rw-flash { animation: wsRwFlash .5s ease-in-out 2; }
.wish-rw-focus .wish-memory-card { animation: wsRwFocus 1s ease-in-out 2; }

/* OS 동작 줄이기 — 이동 · 회전 · 터짐을 끄고 0.2초 페이드만(text.md:186). 링 · 빛 조각 · 광택 · 시간 막대는 숨긴다 */
@media (prefers-reduced-motion: reduce) {
  .wish-rw-toast, .wish-rw-ovl, .wish-rw-ovl-eyebrow, .wish-rw-card, .wish-rw-ovl-stage, .wish-rw-ovl-meta, .wish-rw-ovl-more,
  .wish-rw-ovl-trigger, .wish-rw-ovl-actions, .wish-rw-toast-body, .wish-rw-progress { animation: wsRwFade .2s ease both; }
  .wish-rw-heart { animation: none; }
  .wish-rw-toast.is-leaving, .wish-rw-ovl.is-closing { animation: wsRwFadeOut .2s ease both; }
  .wish-rw-ring, .wish-rw-spark, .wish-rw-gloss, .wish-rw-timer { display: none; }
  .wish-rw-swipe { transition: opacity .2s ease; }
}
/* === /COM-003 reward (v15.5) === */

/* === MY-012 ①-B 미리보기 풀스크린 모달 (v15.4 text.md:4311-4325 · 목업 markup ①-B) — page-char-edit.js openPreview ===
   화면 전체 덮개(position:fixed · inset 0) — 데스크톱 375 프레임에선 body 가 transform 컨테이닝 블록이라 프레임 안에 고정된다(.wish-rw-ovl 과 같은 방식).
   모달 안 본문만 구르고, 바탕(폰 = 문서 · 데스크톱 = body > main)은 html.wish-preview-open 동안 잠근다.
   z 35 — 시트 딤 36 · 시트 37 · 확인 창 38 · 토스트 40 아래(338 행 z 규약). 본문은 CHAR-001 클래스(.wish-hero · .wish-char-header …)를 그대로 쓴다 */
html.wish-preview-open, html.wish-preview-open body { overflow: hidden; }
html.wish-preview-open body.wish > main { overflow: hidden; }
.wish-preview-modal {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column;
  background: var(--wish-bg-base); color: var(--wish-text-100); font-family: var(--wish-font);
}
.wish-preview-modal-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding-bottom: 20px; }
/* ① 플로팅 바 — 히어로 위 top 50(상태바 44 + 6) · 좌우 16 · gap 8. pill h36 r18 · ✕ 36 원 (목업 L5654-5660) */
.wish-preview-modal-bar { position: absolute; top: calc(var(--wish-safe-top) + 12px); left: 16px; right: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.wish-preview-modal-pill {
  flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 18px;
  background: rgba(20,18,37,.72); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wish-preview-modal-pill-title { flex: none; font: 600 12px var(--wish-font); color: var(--wish-text-100); white-space: nowrap; }
.wish-preview-modal-pill-sub { min-width: 0; font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-preview-modal-x {
  flex: none; width: 36px; height: 36px; padding: 0; border-radius: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--wish-text-100);
  background: rgba(20,18,37,.72); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wish-preview-modal-x svg { width: 16px; height: 16px; }
/* ④ 하단 고정 바 — 위 1px 구분선 · 12/20/24 · 버튼 h52 r26 · [닫기] 1 : [이대로 저장] 2 · 캡션 10.5 (목업 L5679-5685) */
.wish-preview-modal-foot {
  flex: none; display: flex; flex-direction: column; gap: 8px;
  padding: 12px 20px calc(24px + var(--wish-safe-bottom)); border-top: 1px solid var(--wish-line); background: var(--wish-bg-base);
}
.wish-preview-modal-actions { display: flex; gap: 8px; }
.wish-preview-modal-actions .wish-btn { flex: 1; height: 52px; min-height: 52px; padding: 0 12px; border-radius: 26px; font: 600 14px/1 var(--wish-font); }
.wish-preview-modal-close { background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); }
.wish-preview-modal-actions .wish-preview-modal-save { flex: 2; font-weight: 700; }
.wish-preview-modal-save:disabled { opacity: .6; }
.wish-preview-modal-caption { margin: 0; text-align: center; font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.42); }
/* === /MY-012 ①-B 미리보기 === */

/* COM-005 검수 반려 사유 시트 (사용자 정의서 v18 · 프레임 rendered.html #com-005) — ws-components.js WS.Comp.rejectSheet · rejectCards.
   딤 · 시트 바탕 · 라운드 24 · 핸들 36×4 는 공용 .wish-sheet 그대로. 패딩 10/20/24 · 세로 간격 16 · 위 그림자 · 최대 높이 85%(넘치면 시트 안 스크롤) */
.wish-sheet.wish-sheet--reject {
  max-height: 85vh; display: flex; flex-direction: column; gap: 16px;
  padding: 10px 20px calc(24px + var(--wish-safe-bottom)); box-shadow: 0 -12px 34px rgba(0,0,0,.4);
}
.wish-sheet--reject > * { flex: none; }
.wish-sheet--reject .wish-sheet-handle { margin: 0 auto; }
/* ① 헤더 — 대표 이미지 48×64(3:4) r10 + 상태 칩 · 제목 17/700 말줄임 · 캡션 11.5 흰 50% */
.wish-reject-head { display: flex; align-items: center; gap: 12px; }
.wish-reject-image { width: 48px; height: 64px; border-radius: 10px; flex: none; background: var(--wish-surface) center 22% / cover no-repeat; }
.wish-reject-head-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wish-reject-chip { align-self: flex-start; height: 20px; display: flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(255,255,255,.1); font: 700 10.5px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-reject-title { font: 700 17px/1.35 var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-reject-caption { font: 400 11.5px var(--wish-font); color: rgba(255,255,255,.5); }
/* ② 반려 사유 — 「반려 사유 N건」 600 12 흰 55% + 카드(흰 5% · r14 · 12/14) = 분류 칩(accent 16% 틴트) + 대상 필드 500 11 흰 50% + 본문 13/1.6 흰 85% */
.wish-reject-reasons { display: flex; flex-direction: column; gap: 8px; }
.wish-reject-count { font: 600 12px var(--wish-font); color: rgba(255,255,255,.55); }
.wish-reject-cards { display: flex; flex-direction: column; gap: 8px; }
.wish-reject-card { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
.wish-reject-card-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-reject-card-chip { flex: none; height: 20px; display: flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(248,87,180,.16); color: var(--wish-accent); font: 700 10.5px var(--wish-font); }
.wish-reject-card-field { min-width: 0; font: 500 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-reject-card-body { font: 400 13px/1.6 var(--wish-font); color: rgba(255,255,255,.85); text-wrap: pretty; word-break: keep-all; overflow-wrap: anywhere; white-space: pre-line; }
/* ③ 버튼 — [수정하러 가기] CTA 그라데이션 h52 r26 + 그림자, 보조 링크 2개 500 12.5 흰 55% · 사이 1×12 흰 18% */
.wish-reject-actions { display: flex; flex-direction: column; gap: 10px; }
.wish-reject-cta { height: 52px; min-height: 52px; border-radius: 26px; box-shadow: 0 8px 22px rgba(123,15,201,.4); }
.wish-reject-links { display: flex; justify-content: center; gap: 16px; }
.wish-reject-link { font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.55); cursor: pointer; }
.wish-reject-link-sep { width: 1px; height: 12px; align-self: center; background: rgba(255,255,255,.18); }
/* MY-012 — [수정하러 가기] 도착 필드(첫 사유의 대상) accent 테두리 (page-char-edit.js markFocus) */
.wish-field--reject-focus { outline: 1.5px solid var(--wish-accent); outline-offset: 0; }
/* MY-012 허브 반려 카드 안의 사유 카드 — 바깥 카드(accent 10% 틴트) 위라 간격만 */
.wish-save-failed-card .wish-reject-cards { margin: 3px 0 4px; }
/* === /COM-005 === */

/* v18.3 M — MY-007 상태 라벨 4종 · 세이프티 등급 라벨 (text.md:3970 · 3972, QA 261017 5장) — page-my-activity.js stateBadge · gradeBadge */
.wish-act-title > .wish-status-badge { box-sizing: border-box; }
/* [검수중] 앰버 #FFC454 아웃라인 + 틴트 */
.wish-status-badge.wish-act-state--review { border: 1px solid #FFC454; background: rgba(255,196,84,.12); color: #FFC454; }
/* [반려] accent 아웃라인 (탭 = COM-005 시트) */
.wish-status-badge.wish-act-state--rejected { border: 1px solid var(--wish-accent); background: transparent; color: var(--wish-accent); cursor: pointer; }
/* MY-012 · MY-014 헤더도 같은 [반려] 색을 쓰지만 탭 동작이 없다 — 포인터는 MY-007 칩(role=button)에만 */
.wish-status-badge.wish-act-state--rejected:not([role="button"]) { cursor: default; }
/* [비공개] 무채색 */
.wish-status-badge.wish-act-state--private { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }
/* [전체] / [15+] / [19+] — 상태 라벨 바로 오른쪽, 높이 18 · 라운드 5 · 흰색 28% 아웃라인 · 흰색 75% 텍스트(등급별 색 없음) */
.wish-act-grade { flex: none; display: inline-flex; align-items: center; box-sizing: border-box; height: 18px; padding: 0 6px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; font: 600 9.5px/1 var(--wish-font); color: rgba(255,255,255,.75); white-space: nowrap; }

/* v18.3 M — MAKE-001 · MY-012 「원하는 장소가 없나요?」 → MY-011 문의하기를 메이킹 위 모달로 (text.md:2864 · 5107, QA 261017 4장) — ws-make-form.js placeAsk
   화면 전체 덮개 · z 35 (시트 딤 36 · 시트 37 · 확인 창 38 · 토스트 40 아래 — 유형 선택 시트 · 완료 토스트가 위에 뜬다). 바탕 스크롤은 html.wish-placeask-open 동안 잠근다(.wish-preview-modal 과 같은 방식).
   안쪽 폼은 MY-011 ② 문의하기 마크업(.wish-ask-*)을 그대로 쓴다 */
html.wish-placeask-open, html.wish-placeask-open body { overflow: hidden; }
html.wish-placeask-open body.wish > main { overflow: hidden; }
.wish-place-ask { position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; background: var(--wish-bg-base); color: var(--wish-text-100); font-family: var(--wish-font); padding-top: var(--wish-safe-top, 0px); }
.wish-place-ask-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
/* === /v18.3 M === */

/* v18.3 S — COM-006 에러 페이지 (ws-components.js WS.Comp.errorPage · 원본 #com-006 인라인 수치) ═══════════════
   풀스크린 fixed(데스크톱 480 프레임에서는 transform body 가 컨테이닝 블록이라 프레임 안) · 하단 탭바 숨김 */
.wish-errpage { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--wish-bg-base); color: var(--wish-text-100); padding-top: var(--wish-safe-top); }
html.wish-errpage-on .wish-tabbar { display: none; }
/* ① 상단 ‹ 30px (margin-left -6 — 원본) */
.wish-errpage-top { flex: none; display: flex; align-items: center; height: 52px; padding: 0 20px; }
.wish-errpage-back { width: 44px; height: 44px; margin: -7px 0 -7px -13px;	/* 터치 타깃 ≥44px · 아이콘 자리 그대로(G013 · Q043) */ display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--wish-text-100); }
.wish-errpage-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 32px 20px; text-align: center; overflow-y: auto; }
/* ② 코드 비주얼 — 88/900 primary→라벤더 그라데이션 글자 + accent 35% 같은 숫자 7px 어긋남 · 오프라인은 원형 아이콘 */
.wish-errpage-visual { position: relative; width: 100%; height: 96px; display: flex; align-items: center; justify-content: center; }
.wish-errpage-code, .wish-errpage-code-shadow { font: 900 88px/1 var(--wish-font); letter-spacing: -.04em; }
.wish-errpage-code-shadow { position: absolute; transform: translate(7px, 7px); color: rgba(248,87,180,.35); }
.wish-errpage-code { position: relative; background: linear-gradient(135deg, #8F1AC6, #C25BE0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wish-errpage-icon { width: 88px; height: 88px; border-radius: 50%; background: rgba(123,15,201,.18); box-shadow: 0 0 0 10px rgba(123,15,201,.07); display: flex; align-items: center; justify-content: center; color: #C9A4F5; }
/* ③ eyebrow 11/700 라벤더 대문자 · 제목 21/800 · 설명 13.5/1.65 흰 60% */
.wish-errpage-text { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wish-errpage-eyebrow { font: 700 11px var(--wish-font); letter-spacing: .08em; color: #C9A4F5; text-transform: uppercase; }
.wish-errpage-title { font: 800 21px/1.35 var(--wish-font); letter-spacing: -.02em; text-wrap: balance; }
.wish-errpage-desc { font: 400 13.5px/1.65 var(--wish-font); color: rgba(255,255,255,.6); text-wrap: pretty; }
/* 500 오류 코드 — 문의용 추적 ID 작게 */
.wish-errpage-errcode { margin-top: 14px; font: 500 11px var(--wish-font); color: rgba(255,255,255,.35); }
/* ⑤ 503 점검 정보 카드 — #2E2B42 r14 · 행 12px · 키 52px 12.5 흰 50% · 값 600 13 */
.wish-errpage-card { margin-top: 22px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 4px 16px; border-radius: 14px; background: var(--wish-surface); text-align: left; }
.wish-errpage-card-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.wish-errpage-card-row:last-child { border-bottom: 0; }
.wish-errpage-card-k { flex: none; width: 52px; font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-errpage-card-v { flex: 1; min-width: 0; font: 600 13px var(--wish-font); color: var(--wish-text-100); white-space: pre-wrap; word-break: break-word; }
.wish-errpage-card-v.is-num { font-variant-numeric: tabular-nums; }
/* ④ 하단 고정 버튼 — 주 CTA 52 r26 그라데이션 + 그림자 · 보조 아웃라인 48 r24 */
.wish-errpage-actions { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 0 24px calc(28px + var(--wish-safe-bottom)); }
.wish-errpage-cta { height: 52px; border-radius: 26px; border: none; background: var(--wish-gradient-cta); color: var(--wish-text-100); font: 700 15px var(--wish-font); cursor: pointer; box-shadow: 0 8px 22px rgba(123,15,201,.4); }
.wish-errpage-sub { height: 48px; border-radius: 24px; border: 1px solid rgba(255,255,255,.18); background: none; color: rgba(255,255,255,.85); font: 600 14px var(--wish-font); cursor: pointer; }
/* MY-011 D-2 약관 상세 — 버전 드롭다운 · 앱 안 본문(pdf.js 캔버스 — .wish-pdf) */
.wish-terms-ver { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: calc(100% - 40px); margin: 4px 20px 12px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: var(--wish-surface); color: var(--wish-text-100); font: 600 13.5px var(--wish-font); cursor: pointer; box-sizing: border-box; }
.wish-terms-body { display: block; width: calc(100% - 40px); margin: 0 20px 20px; height: calc(100vh - 180px); min-height: 360px; border: 0; border-radius: 12px; background: #fff; box-sizing: border-box; }
/* 약관 PDF 본문 (WS.Comp.pdfView) — 높이가 정해진 상자 안에서 세로 스크롤. 쪽 = 흰 바탕 + 쪽 비율(aspect-ratio 는 JS) · 캔버스가 쪽을 꽉 채운다 · 쪽 사이 1px 선.
   대기(COM-002 로더) · 실패(빈 상태)는 바탕 없이 가운데 */
/* v20.3 MY-011 D-3 창작 가이드라인 전문(WS.Gate.guideFull) — 헤더만 고정(목업 제목 700 15px 가운데), 시행일 블록(40px · r12 · #262436 · 500 13px,
   아래 12px + 구분선)은 본문과 함께 스크롤(D7). 본문 상자는 높이를 정하지 않고 바깥 스크롤이 맡는다(목업 본문 패딩 16 20 28) */
.wish-guide-full-head { flex: none; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 12px; }
.wish-guide-full-title { flex: 1; text-align: center; font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-guide-full-spacer { width: 36px; flex: none; }
.wish-guide-full-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: var(--wish-safe-bottom); }
.wish-guide-full-at { padding: 0 20px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wish-guide-full-at > span { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--wish-field-surface); font: 500 13px var(--wish-font); color: var(--wish-text-100); }
.wish-guide-full-body { margin: 16px 20px 28px; min-height: 360px; border-radius: 12px; }
.wish-guide-full-body.wish-pdf { overflow: hidden; }
.wish-pdf { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.wish-pdf.is-wait, .wish-pdf.is-fail { display: flex; align-items: center; justify-content: center; background: transparent; }
.wish-pdf-page { position: relative; width: 100%; background: #fff; }
.wish-pdf-page + .wish-pdf-page { box-shadow: 0 -1px 0 rgba(0,0,0,.12); }
.wish-pdf-page canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wish-terms-sumry { margin: 0 20px 12px; font: 400 13px/1.75 var(--wish-font); color: rgba(255,255,255,.72); white-space: pre-line; }
/* MY-011 ② 문의하기 모달 (WS.Support.openInquiry — 메이킹 위에 바로) — 풀스크린 · 내용 스크롤 · 탭바 위 */
.wish-support-modal { position: fixed; inset: 0; z-index: 75; overflow-y: auto; background: var(--wish-bg-base); color: var(--wish-text-100); padding-top: var(--wish-safe-top); padding-bottom: var(--wish-safe-bottom); }
/* === /v18.3 S === */

/* === v18.3 R — CHAT-003 신고 2단계 (page-chat.js openReport · 정의서 text.md 「신고 2단계로 받는다」 · rendered.html 시트 컷 ③ · 화면 컷 ④) ===
   ③ 사유 시트: 행 52 r16 · 라디오 22 · 선택 = primary 1.5px 테두리(inset) + 틴트 rgba(123,15,201,.22) · [기타] textarea 96 · 카운터 11 → 500자면 accent
   ④ 풀스크린: z 35(드로어와 같은 층 — body 끝에 붙어 위에 그려진다 · 시트 36/37 · 토스트 40 아래). 헤더 ‹ + 제목 15/700 · 사유 칩(accent 틴트) + n / 5 ·
      체크박스 22 r7 · 말풍선 13/1.55 (캐릭터 r4·16·16·16 · 내 말 그라디언트 r16·4·16·16) · 고른 말풍선 accent 2px 링 · 하단 캡션 11 + CTA 52 */
.wish-rpt-sheet { gap: 4px; }
.wish-rpt-title { margin: 14px 0 6px; font: 700 18px var(--wish-font); }
.wish-rpt-rsn-list { display: flex; flex-direction: column; }
.wish-rpt-rsn { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 18px; border-radius: 16px; cursor: pointer; }
.wish-rpt-rsn.is-selected { background: rgba(123,15,201,.22); box-shadow: inset 0 0 0 1.5px var(--wish-primary); }
.wish-rpt-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box; border: 2px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; }
.wish-rpt-rsn.is-selected .wish-rpt-radio { border-color: #9B3BE0; }
.wish-rpt-rsn.is-selected .wish-rpt-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9B3BE0; }
.wish-rpt-rsn-label { font: 600 15px var(--wish-font); color: var(--wish-text-100); }
.wish-rpt-etc { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.wish-rpt-memo { display: block; height: 96px; box-sizing: border-box; border-radius: 14px; background: #222032; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 12px 14px; font: 400 13.5px/1.55 var(--wish-font); color: var(--wish-text-100); }
.wish-rpt-memo::placeholder { color: var(--wish-text-40); }
.wish-rpt-count { align-self: flex-end; font: 500 11px var(--wish-font); color: var(--wish-text-45); }
.wish-rpt-count.is-over { color: var(--wish-accent); }
.wish-rpt-next { margin-top: 8px; }
.wish-rpt-next.is-disabled { opacity: 1; background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); box-shadow: none; }
html.wish-rpt-open, html.wish-rpt-open body { overflow: hidden; }
html.wish-rpt-open body.wish > main { overflow: hidden; }
.wish-rpt-screen {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column;
  padding-top: var(--wish-safe-top); background: var(--wish-bg-base); color: var(--wish-text-100); font-family: var(--wish-font);
}
.wish-rpt-head { flex: none; display: flex; align-items: center; padding: 8px 18px 10px; }
.wish-rpt-back { flex: none; width: 30px; height: 30px; margin-left: -6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--wish-text-100); }
.wish-rpt-head-title { flex: 1; text-align: center; font: 700 15px var(--wish-font); }
.wish-rpt-head-pad { flex: none; width: 30px; }
.wish-rpt-sub { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 20px 12px; border-bottom: 1px solid var(--wish-line); }
.wish-rpt-chip { flex: none; height: 26px; display: flex; align-items: center; padding: 0 10px; border-radius: 13px; background: rgba(248,87,180,.16); color: var(--wish-accent); font: 700 11.5px var(--wish-font); }
.wish-rpt-guide { flex: 1; min-width: 0; font: 400 12px/1.5 var(--wish-font); color: rgba(255,255,255,.6); }
.wish-rpt-cnt { flex: none; font: 700 12px var(--wish-font); color: #FFD3EC; }
.wish-rpt-msgs { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px; }
.wish-rpt-more { padding: 10px 0; text-align: center; font: 400 11px var(--wish-font); color: var(--wish-text-40); }
.wish-rpt-msg { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; cursor: pointer; }
.wish-rpt-check { flex: none; width: 22px; height: 22px; margin-top: 9px; box-sizing: border-box; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); }
.wish-rpt-msg.is-picked .wish-rpt-check { border: 0; background: var(--wish-primary); }
.wish-rpt-msg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wish-rpt-msg.is-user .wish-rpt-msg-body { align-items: flex-end; }
.wish-rpt-bubble { max-width: 240px; padding: 10px 13px; border-radius: 4px 16px 16px 16px; background: rgba(255,255,255,.1); font: 400 13px/1.55 var(--wish-font); color: #ECEAF6; white-space: pre-wrap; word-break: break-word; }
.wish-rpt-msg.is-user .wish-rpt-bubble { border-radius: 16px 4px 16px 16px; background: linear-gradient(135deg, rgba(143,26,198,.9), rgba(230,77,183,.9)); }
.wish-rpt-msg.is-picked .wish-rpt-bubble { box-shadow: 0 0 0 2px var(--wish-accent); }
.wish-rpt-msg-meta { font: 400 10px var(--wish-font); color: rgba(255,255,255,.38); }
.wish-rpt-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 20px calc(24px + var(--wish-safe-bottom)); border-top: 1px solid var(--wish-line); }
.wish-rpt-caption { font: 400 11px/1.5 var(--wish-font); color: var(--wish-text-45); text-align: center; }
/* === /v18.3 R === */

/* v18.3-B T1 — MY-008 차단 · 가린 태그 3탭 (page-my-block.js · 정의서 text.md:4731-4847 · rendered.html #my-008 목업 인라인 수치, QA 261017 6장) */
/* ① 3탭 — 14px · 비활성 500/48% · 활성 700/흰색 + 2px accent 밑줄, 개수는 라벨과 같은 글자 */
#ws-my-block .wish-blk-tabs { gap: 22px; padding: 0 20px; }
#ws-my-block .wish-blk-tabs .wish-toptabs-item { padding: 9px 4px 9px; font: 500 14px/1.2 var(--wish-font); white-space: nowrap; cursor: pointer; }
#ws-my-block .wish-blk-tabs .wish-toptabs-item.is-active { font-weight: 700; }
#ws-my-block .wish-blk-tab-count { font-size: inherit; font-weight: inherit; opacity: 1; margin-left: 0; }
.wish-blk-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 20px 24px; }
.wish-blk-body--tag { gap: 12px; }
/* ②④ 안내 캡션 상자 */
.wish-blk-note { font: 400 11.5px/1.55 var(--wish-font); color: rgba(255,255,255,.55); background: var(--wish-surface); border-radius: 12px; padding: 11px 13px; }
/* ③⑤ 행 — 차단: 44 원형 아바타 · 13/600 이름 · 10.5 메타, 숨긴 캐릭터: 48×64 썸네일(60% 흐림) · 14/600 말줄임 */
.wish-blk-row { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.wish-blk-row--char { gap: 12px; padding: 12px 0; }
.wish-blk-avatar { flex: none; width: 44px; height: 44px; border-radius: 22px; background: linear-gradient(135deg, var(--wish-surface), var(--wish-primary)) center / cover no-repeat; }
.wish-blk-thumb { flex: none; width: 48px; height: 64px; border-radius: 10px; background: var(--wish-surface) center 22% / cover no-repeat; opacity: .6; cursor: pointer; }
.wish-blk-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wish-blk-row--char .wish-blk-text { gap: 3px; cursor: pointer; }
.wish-blk-name { font: 600 13px var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-blk-name--char { font-size: 14px; }
.wish-blk-by { font: 400 11px var(--wish-font); color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-blk-meta { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
.wish-blk-row--char .wish-blk-meta { color: rgba(255,255,255,.4); }
.wish-blk-ghost { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid rgba(255,255,255,.18); background: none; color: rgba(255,255,255,.75); font: 600 11px var(--wish-font); cursor: pointer; }
.wish-blk-ghost--32 { height: 32px; padding: 0 13px; border-radius: 16px; color: rgba(255,255,255,.8); font-size: 11.5px; }
/* ⑥ 태그 추가 행 */
.wish-blk-add { display: flex; align-items: center; gap: 9px; background: var(--wish-surface); border-radius: 14px; padding: 12px 13px; cursor: pointer; }
.wish-blk-add-icon { display: inline-flex; color: rgba(255,255,255,.6); }
.wish-blk-add-icon svg { width: 15px; height: 15px; }
.wish-blk-add-label { flex: 1; font: 600 12.5px var(--wish-font); color: var(--wish-text-100); }
.wish-blk-add-hint { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.45); }
/* ⑦ 가린 태그 칩 · 캡션 */
.wish-blk-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wish-blk-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 13px; border-radius: 16px; background: var(--wish-surface); border: 1px solid rgba(255,255,255,.1); font: 600 12px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
.wish-blk-chip svg { width: 11px; height: 11px; color: rgba(255,255,255,.55); }
/* G894 — × 만 해제 버튼(24px 히트영역). 칩 겉모양(× 위치 · 오른쪽 여백 10)은 그대로 */
.wish-blk-chip:has(.wish-blk-chip-x) { padding-right: 3px; cursor: default; }
.wish-blk-chip-x { flex: none; width: 24px; height: 24px; margin-left: -6px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.wish-blk-caption { font: 400 11px/1.55 var(--wish-font); color: rgba(255,255,255,.5); }
/* ⑧ 과다 경고 — 이 화면의 accent 사용처 */
.wish-blk-warn { display: flex; align-items: flex-start; gap: 9px; background: rgba(248,87,180,.14); border: 1px solid rgba(248,87,180,.4); border-radius: 14px; padding: 12px 13px; }
.wish-blk-warn-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 9px; background: var(--wish-accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 10px var(--wish-font); }
.wish-blk-warn-text { flex: 1; font: 400 11.5px/1.55 var(--wish-font); color: rgba(255,255,255,.8); }
/* 빈 상태 — 세 탭 공통: 56px 원(primary 18%) + 라벨더 아이콘 · 제목 15/700 · 안내 12.5/1.6 흰색 55% · 화면 가운데 */
.wish-blk-empty { min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 12px 30px; text-align: center; }
.wish-blk-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(123,15,201,.18); display: flex; align-items: center; justify-content: center; color: var(--wish-highlight); }
.wish-blk-empty-icon svg { width: 26px; height: 26px; }
.wish-blk-empty-title { margin-top: 4px; font: 700 15px var(--wish-font); color: var(--wish-text-100); }
.wish-blk-empty-desc { font: 400 12.5px/1.6 var(--wish-font); color: rgba(255,255,255,.55); }
.wish-blk-empty-btn { margin-top: 8px; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); background: none; color: var(--wish-text-100); font: 600 13px var(--wish-font); cursor: pointer; }
/* === /v18.3-B T1 MY-008 === */

/* v18.3-B T1 — MY-003 페르소나 목록 (page-my-persona.js renderInfo · renderCard · renderAddBtn, rendered.html:6262-6301 목업 인라인 수치, QA 261017 36장) */
#ws-my-persona .wish-noti-header-action { font: 600 12.5px var(--wish-font); color: rgba(255,255,255,.75); white-space: nowrap; }
#ws-my-persona .wish-noti-header-action.is-disabled { color: rgba(255,255,255,.28); }
.wish-scene-card.wish-persona-info { gap: 5px; }
.wish-persona-info-desc { font: 400 12px/1.55 var(--wish-font); color: rgba(255,255,255,.75); white-space: normal; overflow: visible; }
.wish-fine-print.wish-persona-info-used { font: 600 11px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-persona-card .wish-row-text { display: flex; flex-direction: column; gap: 3px; }
.wish-persona-card .wish-list-row-desc.wish-persona-card-desc { font-size: 11.5px; color: rgba(255,255,255,.55); }
.wish-persona-card .wish-persona-more { width: 26px; height: 26px; margin: 0; }
.wish-dashed-btn.wish-persona-add { border-radius: 14px; font: 500 13px var(--wish-font); }

/* v18.3-B T1 — NOTI-001 알림 셀 본문 (page-noti.js renderCell, rendered.html:2634-2683 목업: 본문 13.5/1.45 · 본문↔시각 3, QA 261017 33장) */
.wish-noti-cell .wish-list-row-desc { font-size: 13.5px; line-height: 1.45; }
.wish-noti-cell .wish-noti-time { margin-top: 3px; }
/* === /v18.3-B T1 MY-003 · NOTI-001 === */

/* v18.3-B T3 — HOME-01 추천 탭 여백 (QA 261017 14장 · rendered.html HOME-01 목업: 탭바 아래 16 → 배너 → 20 → 장르 칩) */
#ws-home [data-pane="recommend"] > .wish-wizard-body { padding-top: 16px; }
#ws-home [data-slot="banner"]:not([hidden]) + [data-slot="genre"] { margin-top: 4px; }	/* 본문 gap 16 + 4 = 20 */
/* HOME-02 ② 장르 칩 행 「우측 12px 여백으로 더 있음을 암시」(text.md:907 · 목업 padding-right:12px) — G188 */
#ws-home [data-pane="rising"] [data-slot="genre"] .wish-chip-scroll { padding-right: 12px; }

/* v18.3-B T3 — CHAT-005 STEP 2 꾸미기: 커스텀 슬롯 ✕ · 「내 사진 슬롯은 항상 1칸」 · 커스텀 전용 컨트롤 카드 (text.md:2346-2354 · rendered.html 목업 ④ 인라인 수치, QA 261017 16장) — page-share-card.js renderBgRow · renderCustomControls */
.wish-share-bg-head { display: flex; align-items: center; }
.wish-share-bg-hint { margin-left: auto; font: 400 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-share-bg .wish-bg-preset-row { padding-top: 6px; margin-top: -6px; }	/* 슬롯 ✕(top -5) 가 가로 스크롤 행에 잘리지 않게 */
.wish-bg-custom-slot { position: relative; flex: none; display: flex; }
.wish-bg-custom-remove { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 9px; border: 0; padding: 0; background: var(--wish-bg-base); color: var(--wish-text-100); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); cursor: pointer; }
.wish-share-custom { display: flex; flex-direction: column; gap: 10px; background: var(--wish-surface); border-radius: 14px; padding: 13px 14px; }
.wish-share-custom .wish-darken-label { font: 600 11.5px var(--wish-font); color: rgba(255,255,255,.75); white-space: nowrap; }
.wish-share-custom .wish-darken-slider { height: 4px; background: rgba(255,255,255,.14); }
.wish-share-custom .wish-darken-slider::-webkit-slider-thumb { width: 14px; height: 14px; background: var(--wish-text-100); }
.wish-darken-value { flex: none; font: 600 11px var(--wish-font); color: rgba(255,255,255,.6); white-space: nowrap; }
.wish-share-pos-row { display: flex; align-items: center; gap: 8px; }
.wish-share-pos-hint { flex: 1; font: 400 10.5px/1.45 var(--wish-font); color: rgba(255,255,255,.5); }
.wish-share-pos-reset { flex: none; height: 26px; display: flex; align-items: center; padding: 0 10px; border-radius: 13px; border: 1px solid rgba(255,255,255,.16); font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.65); cursor: pointer; white-space: nowrap; }
/* === /v18.3-B T3 === */

/* v18.3-B T2 — MY-011 고객지원 하위 화면 (page-my-support.js · 정의서 text.md:5104-5309 · rendered.html #my-011 목업 인라인 수치, QA 261017 7장) */
/* ② 허브 — 행 56 · 이름 400 14.5 · 공지 미확인 = accent 원형 18 · 내 문의 = 「답변 완료 N」 보라 19 · › .35 */
.wish-sup-hub { display: flex; flex-direction: column; padding: 4px var(--wish-pad-x) 24px; }
.wish-sup-hub-row { display: flex; align-items: center; gap: 10px; height: 56px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.wish-sup-hub-row:last-child { border-bottom: 0; }
.wish-sup-hub-label { flex: 1; min-width: 0; font: 400 14.5px var(--wish-font); color: var(--wish-text-100); }
.wish-sup-hub-cnt { flex: none; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--wish-accent); display: flex; align-items: center; justify-content: center; font: 700 10.5px var(--wish-font); color: var(--wish-text-100); }
.wish-sup-hub-done { flex: none; height: 19px; display: flex; align-items: center; padding: 0 7px; border-radius: 10px; background: rgba(123,15,201,.5); font: 700 9.5px var(--wish-font); color: var(--wish-text-100); white-space: nowrap; }
.wish-sup-caret { flex: none; display: inline-flex; color: rgba(255,255,255,.35); }
.wish-sup-caret svg { width: 14px; height: 14px; }
/* ③ 공지 목록 — 행 = 칩(18 · 9.5/700) + 제목 600 12.5/1.5 2줄 + 날짜 10.5 .4 · 미확인 도트 7 accent(오른쪽 위). 고정 표시 없음 */
.wish-sup-notices { display: flex; flex-direction: column; padding: 0 18px; }
#ws-my-support .wish-notice-row { flex-direction: row; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.wish-notice-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wish-notice-chip { align-self: flex-start; height: 18px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 9px; background: rgba(255,255,255,.1); font: 700 9.5px var(--wish-font); color: rgba(255,255,255,.75); white-space: nowrap; }
.wish-notice-chip.is-maint, .wish-notice-chip.is-event { background: rgba(123,15,201,.55); color: var(--wish-text-100); }
#ws-my-support .wish-notice-row-title { font: 600 12.5px/1.5 var(--wish-font); }
.wish-notice-row-date { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.4); }
#ws-my-support .wish-notice-row .wish-noti-dot { position: static; flex: none; width: 7px; height: 7px; margin-top: 4px; }
/* A 공지 상세 — A1 칩(20 · 보라 .28 · #E2C6FF) + 제목 700 18/1.4 + 「날짜 · WISHES 운영팀」 11.5 .45 → A2 이미지 r14 · 본문 14/1.75 .85 → A3 2분할 48 r14 */
.wish-nd { display: flex; flex-direction: column; gap: 12px; min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px); padding: 6px var(--wish-pad-x) 20px; box-sizing: border-box; }
.wish-nd-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--wish-line); }
.wish-nd-chip { align-self: flex-start; height: 20px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(123,15,201,.28); font: 700 10.5px var(--wish-font); color: #E2C6FF; white-space: nowrap; }
.wish-nd-title { font: 700 18px/1.4 var(--wish-font); letter-spacing: -.01em; color: var(--wish-text-100); overflow-wrap: anywhere; }
.wish-nd-meta { font: 400 11.5px var(--wish-font); color: var(--wish-text-45); }
.wish-nd-body { display: flex; flex-direction: column; gap: 12px; }
.wish-nd-img { display: block; width: 100%; max-height: 190px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--wish-surface); cursor: pointer; }
.wish-nd-text { font: 400 14px/1.75 var(--wish-font); color: rgba(255,255,255,.85); }
.wish-nd-nav { margin-top: auto; display: flex; gap: 8px; padding-top: 8px; }
.wish-nd-nav-btn { flex: 1; height: 48px; display: flex; align-items: center; padding: 0 14px; border: 0; border-radius: 14px; background: var(--wish-surface); font: 500 12px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; }
.wish-nd-nav-btn--next { justify-content: flex-end; }
.wish-nd-nav-btn:disabled { opacity: .35; cursor: default; }
/* B FAQ — B1 검색 42 r21 #262436 · B2 칩 32 · 12.5(선택 primary 700) · B3 행 52 「Q」 800 13 라벤더 + 질문 14 · 답변 카드 #2E2B42 r12 13/1.65 .8 · B4 하단 고정 바 */
.wish-faq-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wish-faq-search { flex: none; display: flex; align-items: center; gap: 8px; height: 42px; margin: 0 var(--wish-pad-x) 10px; padding: 0 14px; border-radius: 21px; background: var(--wish-field-surface); }
.wish-faq-search-icon { flex: none; display: inline-flex; color: rgba(255,255,255,.45); }
.wish-faq-search-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0; font: 400 13px var(--wish-font); color: var(--wish-text-100); -webkit-appearance: none; appearance: none; }
.wish-faq-search-input::placeholder { color: var(--wish-text-40); }
.wish-faq-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wish-faq-chips { flex: none; gap: 7px; padding: 0 var(--wish-pad-x) 12px; }
.wish-faq-chips .wish-segment-btn { flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 16px; background: rgba(255,255,255,.07); font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.65); }
.wish-faq-chips .wish-segment-btn.is-active { background: var(--wish-primary); font-weight: 700; color: var(--wish-text-100); }
.wish-faq-list { flex: 1; padding: 0 var(--wish-pad-x) 12px; }
#ws-my-support .wish-faq-item { border-bottom: 1px solid rgba(255,255,255,.06); }
#ws-my-support .wish-faq-question { justify-content: flex-start; gap: 10px; min-height: 52px; padding: 0; font: 500 14px/1.45 var(--wish-font); }
#ws-my-support .wish-faq-item.is-expanded .wish-faq-question { font-weight: 600; }
.wish-faq-q { flex: none; font: 800 13px var(--wish-font); color: var(--wish-highlight); }
.wish-faq-qtext { flex: 1; min-width: 0; padding: 14px 0; color: var(--wish-text-100); }
.wish-faq-caret { flex: none; display: inline-flex; color: rgba(255,255,255,.45); transition: transform .15s; }
.wish-faq-item.is-expanded .wish-faq-caret { transform: rotate(180deg); }
#ws-my-support .wish-faq-answer { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--wish-surface); font: 400 13px/1.65 var(--wish-font); color: rgba(255,255,255,.8); }
.wish-faq-none { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 0 24px; }
.wish-faq-none-title { font: 600 14px var(--wish-font); color: var(--wish-text-64); }
.wish-faq-bar { position: sticky; bottom: 0; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px var(--wish-pad-x) calc(24px + var(--wish-safe-bottom)); border-top: 1px solid var(--wish-line); background: var(--wish-bg-base); }
.wish-faq-bar-q { font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.6); }
.wish-faq-bar-btn { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.2); background: none; font: 600 12.5px var(--wish-font); color: var(--wish-text-100); cursor: pointer; white-space: nowrap; }
/* C 상태 칩 — 20 · 10.5/700: [접수] 회색 · [확인 중] 앰버 · [답변 완료] 초록 */
.wish-inq-chip { flex: none; height: 20px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(255,255,255,.1); font: 700 10.5px var(--wish-font); color: rgba(255,255,255,.75); white-space: nowrap; }
.wish-inq-chip.is-reask { background: rgba(255,196,84,.14); color: #FFC454; }
.wish-inq-chip.is-done { background: rgba(52,199,123,.16); color: #6EE7A8; }
.wish-inq-chip.is-cancel { background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); }	/* 취소(MY-011 C3) — 정의서 색 없음 [TBD] · 접수(회색)보다 한 단계 흐리게 */
/* C-1 — C1 필터 칩 32 · 12.5 · C2 행 = 칩 + 도트 6 + 유형 500 11.5 .5 + 날짜 11 .4(오른쪽) / 제목 600 14/1.45 1줄 */
.wish-inq-filter { flex: none; gap: 7px; padding: 0 var(--wish-pad-x) 8px; }
.wish-inq-filter-chip { flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 16px; background: rgba(255,255,255,.07); font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.65); cursor: pointer; white-space: nowrap; }
.wish-inq-filter-chip.is-active { background: var(--wish-primary); font-weight: 700; color: var(--wish-text-100); }
.wish-inq-list { display: flex; flex-direction: column; padding: 0 var(--wish-pad-x); }
.wish-inq-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.wish-inq-row-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wish-inq-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--wish-accent); }
.wish-inq-ty { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11.5px var(--wish-font); color: rgba(255,255,255,.5); }
.wish-inq-date { flex: none; margin-left: auto; font: 400 11px var(--wish-font); color: rgba(255,255,255,.4); }
.wish-inq-title { font: 600 14px/1.45 var(--wish-font); color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-inq-more { height: 1px; }
.wish-inq-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 24px; }
/* C-2 — C3 머리(제목 700 17/1.4 · 접수 일시 11.5 .45) · 본문 13.5/1.7 .82 · 첨부 64 r10 · C4 답변 카드 primary .16 + 라벤더 아웃라인 r16 · C5 버튼 44 r22 */
.wish-inq-detail { display: flex; flex-direction: column; gap: 14px; min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px); padding: 4px var(--wish-pad-x) 24px; box-sizing: border-box; }
.wish-inq-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--wish-line); }
.wish-inq-head-title { font: 700 17px/1.4 var(--wish-font); color: var(--wish-text-100); overflow-wrap: anywhere; }
.wish-inq-head-meta { font: 400 11.5px var(--wish-font); color: var(--wish-text-45); }
.wish-inq-cn { font: 400 13.5px/1.7 var(--wish-font); color: rgba(255,255,255,.82); white-space: pre-line; overflow-wrap: anywhere; }
.wish-inq-atch { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-inq-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; background: var(--wish-surface) center / cover no-repeat; cursor: pointer; }
.wish-inq-reply { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); }
.wish-inq-reply.is-admin { background: rgba(123,15,201,.16); box-shadow: inset 0 0 0 1px rgba(201,164,245,.25); }
.wish-inq-reply-head { display: flex; align-items: center; gap: 8px; }
.wish-inq-reply-by { font: 700 13px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-inq-reply.is-admin .wish-inq-reply-by { color: #E2C6FF; }
.wish-inq-reply-at { margin-left: auto; font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-inq-reply-body { font: 400 13.5px/1.7 var(--wish-font); color: rgba(255,255,255,.88); white-space: pre-line; overflow-wrap: anywhere; }
.wish-inq-reply-body.wish-rich { white-space: normal; }
.wish-inq-rate { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }	/* 목업 C5 = margin-top:auto — 화면 아래에 붙는다 */
.wish-inq-rate-q { font: 500 12px var(--wish-font); color: rgba(255,255,255,.55); }
.wish-inq-rate-btns { display: flex; gap: 8px; width: 100%; }
.wish-inq-rate-btn { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 22px; border: 1px solid rgba(255,255,255,.18); background: none; font: 600 13px var(--wish-font); color: var(--wish-text-100); cursor: pointer; }
.wish-inq-rate-btn.is-sub { color: rgba(255,255,255,.7); }
.wish-inq-rate-btn:disabled { opacity: .4; cursor: default; }
.wish-inq-reask { display: flex; flex-direction: column; gap: 10px; }
.wish-inq-reask .wish-textarea { min-height: 110px; border-radius: 13px; background: var(--wish-surface); padding: 12px 14px; font-size: 13.5px; }
/* D-1 약관 목록 — 행 60 · 이름 500 14.5 + 「시행일 …」 11 .45 + › · 하단 캡션 11/1.6 .4 */
.wish-sup-terms { display: flex; flex-direction: column; padding: 0 var(--wish-pad-x); }
.wish-sup-terms-row { display: flex; align-items: center; gap: 10px; min-height: 60px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.wish-sup-terms-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wish-sup-terms-nm { font: 500 14.5px var(--wish-font); color: var(--wish-text-100); }
.wish-sup-terms-at { font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-sup-terms-foot { display: block; margin: 18px var(--wish-pad-x) 24px; font: 400 11px/1.6 var(--wish-font); color: var(--wish-text-40); }
/* 사업자 정보 (v18.3 D1 하단 · 11-10) — 캡션 톤 그대로, 항목명 고정폭 */
.wish-sup-biz-title { display: block; margin-bottom: 4px; font-weight: 600; color: var(--wish-text-55); }
.wish-sup-biz-list { margin: 0; }
.wish-sup-biz-list > div { display: flex; gap: 8px; }
.wish-sup-biz-list dt { flex: 0 0 84px; margin: 0; }
.wish-sup-biz-list dd { flex: 1 1 auto; min-width: 0; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.wish-sup-biz-list a { color: inherit; text-decoration: none; }
.wish-sup-terms-ver { display: block; margin-top: 10px; }
/* === /v18.3-B T2 === */
/* === v23 CHAT-002 ⑭ 이벤트 기록 행 (2026-10-28) — 정의서 목업 확대 컷 ⑤ 수치 그대로. 답변 바로 아래 · 6px 간격으로 쌓는다 === */
.wish-evt-list { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wish-evt-list.is-held { display: none; }	/* 이번 턴 보상 연출이 끝날 때까지 — 연출과 기록이 동시에 보이지 않게 */
.wish-evt-list.is-fadein { animation: wsEvtIn .2s ease-out both; }
@keyframes wsEvtIn { from { opacity: 0; } to { opacity: 1; } }
.wish-evt-pill { position: relative; display: flex; align-items: center; gap: 8px; max-width: 92%; box-sizing: border-box; padding: 5px 11px 5px 5px; border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wish-evt-pill--like { background: rgba(248,87,180,.1); border: 1px solid rgba(248,87,180,.3); }
.wish-evt-pill--dislike { background: rgba(201,164,245,.08); border: 1px solid rgba(201,164,245,.28); }
.wish-evt-pill--insult { background: rgba(255,92,92,.1); border: 1px solid rgba(255,92,92,.34); }
.wish-evt-pill--rude { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.wish-evt-tile { width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #2E2B42; }
.wish-evt-pill--like .wish-evt-tile { background: linear-gradient(135deg, #E64DB7, #F857B4); }
.wish-evt-pill--dislike .wish-evt-tile { box-shadow: inset 0 0 0 1px rgba(201,164,245,.4); }
.wish-evt-pill--insult .wish-evt-tile { background: #3A1E2A; box-shadow: inset 0 0 0 1px rgba(255,92,92,.45); }
.wish-evt-label { font: 700 10.5px var(--wish-font); white-space: nowrap; }
.wish-evt-pill--like .wish-evt-label { color: #FFB3DD; }
.wish-evt-pill--dislike .wish-evt-label { color: #C9A4F5; }
.wish-evt-pill--insult .wish-evt-label { color: #FF8A8A; }
.wish-evt-pill--rude .wish-evt-label { color: rgba(255,255,255,.6); }
.wish-evt-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.3); flex: 0 0 auto; }
.wish-evt-text { min-width: 0; font: 700 12.5px var(--wish-font); color: #FFFFFF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-evt-pill--insult .wish-evt-text, .wish-evt-pill--rude .wish-evt-text { font: 600 12px var(--wish-font); color: rgba(255,255,255,.88); }
.wish-evt-chev { display: flex; flex: 0 0 auto; color: rgba(255,255,255,.45); }
.wish-evt-illust { width: 228px; border-radius: 18px; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px rgba(201,164,245,.38), 0 12px 28px rgba(0,0,0,.4); -webkit-tap-highlight-color: transparent; }
.wish-evt-illust-img { position: relative; width: 228px; height: 304px; background: #2E2B42 center top / cover no-repeat; }
.wish-evt-illust-chip { position: absolute; top: 10px; left: 10px; height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-radius: 12px; background: rgba(28,26,45,.72); font: 700 10.5px var(--wish-font); color: #E2CCFA; }
.wish-evt-illust-zoom { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 14px; background: rgba(28,26,45,.72); display: flex; align-items: center; justify-content: center; }
.wish-evt-illust-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 14px 13px; background: linear-gradient(rgba(20,18,34,0), rgba(20,18,34,.94)); display: flex; flex-direction: column; gap: 3px; }
.wish-evt-illust-title { font: 800 15px var(--wish-font); color: #FFFFFF; }
.wish-evt-illust-meta { font: 400 10.5px var(--wish-font); color: rgba(255,255,255,.62); }
/* 키워드 기록 탭 → 단계별 변화 시트의 그 카드 accent 링 1.2초 */
.wish-discover-card.wish-evt-ring { box-shadow: 0 0 0 2px var(--wish-accent); transition: box-shadow .2s; }
/* 모욕 · 무례 안내 바텀시트 — 제목 · 3줄 · [확인] */
.wish-evt-info { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 8px; }
.wish-evt-info-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.wish-evt-info-list li { font: 400 13px/1.55 var(--wish-font); color: rgba(255,255,255,.72); }
.wish-evt-info-list li::before { content: "· "; }
/* === /v23 ⑭ === */

/* NOTI-001 기간 조건 (v24 · 10-29) */
/* ⑥ 기간 조건 행 — 필터 칩 아래 1행: 높이 38 · surface · 라운드 12 · 좌우 20 · 목록과 12. 캘린더 16(흰 70%) + 범위 12.5/600 tabular-nums + 프리셋 pill(primary 40%) + ▾ 13(흰 50%) */
.wish-noti-period { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 var(--wish-pad-x) 12px; padding: 0 12px; border-radius: 12px; background: var(--wish-surface); color: var(--wish-text-100); cursor: pointer; }
.wish-noti-period-cal { flex: none; color: rgba(255,255,255,.7); }
.wish-noti-period-range { flex: 1; min-width: 0; font: 600 12.5px var(--wish-font); font-variant-numeric: tabular-nums; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-noti-period-pill { flex: none; height: 20px; display: flex; align-items: center; padding: 0 8px; border-radius: 10px; background: rgba(123,15,201,.4); font: 700 10.5px var(--wish-font); white-space: nowrap; }
.wish-noti-period-caret { flex: none; color: var(--wish-text-50); }
/* ③ 기간 선택 바텀시트 — 패딩 10 18 22 · 요소 간격 14 (COM-001 시트 토큰 위에 이 시트만) */
.wish-sheet.wish-sheet--period { padding: 10px 18px calc(22px + var(--wish-safe-bottom)); display: flex; flex-direction: column; gap: 14px; }
.wish-sheet--period .wish-sheet-handle { flex: none; margin: 0 auto; }
.wish-noti-pd-head { flex: none; display: flex; align-items: center; }
.wish-noti-pd-body { display: flex; flex-direction: column; gap: 14px; }
/* ⓑ 프리셋 세그먼트 — 트랙 흰 6% · 라운드 12 · 안쪽 4. 항목 34 · 라운드 10, 선택 = primary 채움 700 */
.wish-noti-pd-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.06); }
.wish-noti-pd-seg-item { flex: 1; height: 34px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; border-radius: 10px; background: none; font: 500 12.5px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; }
.wish-noti-pd-seg-item.is-on { background: var(--wish-primary); color: var(--wish-text-100); font-weight: 700; }
/* ⓒ 시작일 / 종료일 — 편집 중인 쪽만 primary 1.5 테두리, 나머지 흰 12% 1px */
.wish-noti-pd-fields { display: flex; align-items: center; gap: 8px; }
.wish-noti-pd-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 12px; background: var(--wish-field-surface); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.wish-noti-pd-field.is-edit { box-shadow: inset 0 0 0 1.5px var(--wish-primary); }
.wish-noti-pd-field-label { font: 500 10px var(--wish-font); color: var(--wish-text-45); }
.wish-noti-pd-field-value { font: 700 13.5px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-100); }
.wish-noti-pd-tilde { flex: none; color: var(--wish-text-40); }
/* ⓓ 월 캘린더 — ‹ › 14/700(흰 60%, 비활성 20%) · 요일 10.5/600(일요일만 붉게) · 날짜 칸 36 · 시작/끝 32 primary 원 · 사이 primary 28% 띠 */
.wish-noti-pd-cal { display: flex; flex-direction: column; gap: 8px; }
.wish-noti-pd-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.wish-noti-pd-nav-btn { width: 28px; height: 28px; margin: -4px -8px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; background: none; font: 700 14px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; }
.wish-noti-pd-nav-btn:disabled { color: rgba(255,255,255,.2); cursor: default; }
.wish-noti-pd-month { font: 700 13.5px var(--wish-font); color: var(--wish-text-100); }
.wish-noti-pd-wk, .wish-noti-pd-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wish-noti-pd-wk > span { text-align: center; font: 600 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-noti-pd-wk > .is-sun { color: #FF8A8A; }
.wish-noti-pd-grid { row-gap: 2px; }
.wish-noti-pd-day { position: relative; height: 36px; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; background: none; font: 500 12.5px var(--wish-font); font-variant-numeric: tabular-nums; color: rgba(255,255,255,.85); cursor: pointer; }
.wish-noti-pd-day.is-blank { cursor: default; }
.wish-noti-pd-day.is-in { background: rgba(123,15,201,.28); color: var(--wish-text-100); }
.wish-noti-pd-day.is-start { background: linear-gradient(90deg, transparent 50%, rgba(123,15,201,.28) 50%); }
.wish-noti-pd-day.is-end { background: linear-gradient(90deg, rgba(123,15,201,.28) 50%, transparent 50%); }
.wish-noti-pd-num { width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.wish-noti-pd-day.is-edge .wish-noti-pd-num { background: var(--wish-primary); color: var(--wish-text-100); font-weight: 700; }
.wish-noti-pd-day.is-off { color: rgba(255,255,255,.2); cursor: default; }
.wish-noti-pd-today { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 600 8px var(--wish-font); color: var(--wish-accent); pointer-events: none; }
/* ⓔ 안내 캡션 · ⓕ [초기화] + [적용](높이 50 CTA 그라데이션) */
.wish-noti-pd-note { margin: 0; font: 400 11px/1.5 var(--wish-font); color: var(--wish-text-50); }
.wish-noti-pd-foot { display: flex; align-items: center; gap: 10px; }
.wish-noti-pd-reset { flex: none; min-height: var(--wish-touch-min); margin: 0; padding: 0 8px; border: 0; background: none; font: 600 13px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; }
.wish-btn.wish-noti-pd-apply { flex: 1; height: 50px; min-height: 50px; border-radius: 25px; }
/* === /NOTI-001 기간 조건 === */
/* === GAL-001 갤러리 (v24 · 10-29) — 캐릭터별 Memory Collection 쇼케이스. 수치는 정의서 목업 그대로, 새 색 없이 공통 토큰 === */
.wish-tabbar-item { position: relative; }
.wish-tabbar-dot { position: absolute; top: 6px; left: calc(50% + 8px); width: 6px; height: 6px; border-radius: 3px; background: var(--wish-accent); }
.wish-tabbar-dot[hidden] { display: none; }
html.wish-gal-noscroll, html.wish-gal-noscroll body { overflow: hidden; }

/* ① 갤러리 — v25 (10-30) 카드 = 윗줄(부채꼴 80% + 이름 · LV · 달성률 · 막대, 가운데 정렬) + 아랫줄 ⑦ 수집 현황 3칸 */
.wish-gal-head { display: flex; align-items: baseline; justify-content: space-between; padding: calc(16px + var(--wish-safe-top)) var(--wish-pad-x) 14px; }
.wish-gal-title { font: 800 22px/1.3 var(--wish-font); letter-spacing: -.5px; color: var(--wish-text-100); }
.wish-gal-owned { font: 500 12px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-sortbar { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--wish-pad-x) 12px; }
.wish-gal-charcnt { font: 500 12px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-sortbtn {
  height: 30px; padding: 0 11px 0 13px; border-radius: 15px; border: 0; display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font: 600 12px var(--wish-font); color: var(--wish-text-100); cursor: pointer;
}
.wish-gal-sortbtn svg { width: 12px; height: 12px; }
.wish-gal-cards { display: flex; flex-direction: column; gap: 12px; }
.wish-gal-card {
  position: relative; margin: 0 var(--wish-pad-x); border-radius: 24px; padding: 12px 16px 14px 10px;
  background: linear-gradient(135deg, rgba(143,26,198,.28), rgba(var(--wish-surface-rgb),.9) 55%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
}
.wish-gal-card.wish-skeleton { height: 214px; box-shadow: none; }
/* ⑧ 수집 완료 — 테두리 1.5px CTA 그라데이션(우하단으로 옅게) + 핑크 글로우, 배경 조금 더 진하게 */
.wish-gal-card.is-complete {
  border: 1.5px solid transparent; box-shadow: 0 0 28px rgba(230,77,183,.28);
  background: linear-gradient(135deg, rgba(143,26,198,.34), var(--wish-surface) 60%) padding-box,
              linear-gradient(135deg, #8F1AC6, #E64DB7 55%, rgba(230,77,183,.25)) border-box;
}
.wish-gal-card-top { display: flex; align-items: center; gap: 8px; }
.wish-gal-fan { position: relative; width: 136px; height: 140px; flex: none; }
.wish-gal-fan-card {
  position: absolute; width: 76px; height: 101px; border-radius: 11px;
  background: var(--wish-surface) center top / cover no-repeat; box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.wish-gal-fan-card.is-back { left: 56px; top: 24px; transform: rotate(9deg); opacity: .85; }
.wish-gal-fan-card.is-mid { left: 30px; top: 16px; transform: rotate(3deg); }
.wish-gal-fan-card.is-front {
  left: 4px; top: 12px; width: 82px; height: 109px; transform: rotate(-5deg);
  border: 2px solid rgba(255,255,255,.9); box-shadow: 0 12px 26px rgba(0,0,0,.55);
}
.wish-gal-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.wish-gal-card-name { display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; }
.wish-gal-card-name > span { font: 800 19px var(--wish-font); letter-spacing: -.03em; color: var(--wish-text-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wish-gal-new-dot { flex: none; width: 6px; height: 6px; border-radius: 3px; background: var(--wish-accent); }
.wish-gal-complete {
  margin: 2px 0; height: 20px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center;
  background: linear-gradient(90deg, var(--wish-cta-from), var(--wish-cta-to)); font: 800 9.5px var(--wish-font); letter-spacing: .08em; color: #fff;
}
.wish-gal-card-stage { font: 400 11.5px/1.4 var(--wish-font); color: rgba(255,255,255,.6); }
.wish-gal-rate { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.wish-gal-rate b { font: 800 24px var(--wish-font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--wish-text-100); }
.wish-gal-rate b span { font-size: 15px; }
.wish-gal-rate > span { font: 500 11px var(--wish-font); color: var(--wish-text-50); }
.wish-gal-card.is-complete .wish-gal-rate b { background: linear-gradient(90deg, #C77DFF, #F857B4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wish-gal-card-info > .wish-gal-bar { align-self: stretch; }
.wish-gal-bar { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.wish-gal-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wish-cta-from), var(--wish-cta-to)); }
.wish-gal-bar.is-thick { height: 6px; border-radius: 3px; }
/* ⑦ 수집 현황 3칸 — 흰색 8% 세로 구분선 */
.wish-gal-stats { display: flex; padding-top: 11px; margin-left: 6px; border-top: 1px solid rgba(255,255,255,.08); }
.wish-gal-stat { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 0 10px; }
.wish-gal-stat + .wish-gal-stat { border-left: 1px solid rgba(255,255,255,.08); }
.wish-gal-stat-label { font: 500 10.5px var(--wish-font); color: var(--wish-text-50); white-space: nowrap; }
.wish-gal-stat-val { font: 400 11px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-stat-val b { font: 800 15px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-100); }
.wish-gal-stat-pins { display: flex; gap: 3px; height: 4px; align-items: center; }
.wish-gal-stat-pins i { display: flex; width: 11px; height: 11px; }
.wish-gal-stat-pins svg, .wish-gal-pin-date svg { width: 100%; height: 100%; }

/* ③ 빈 상태 */
.wish-gal-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 72px 40px 40px; text-align: center; }
.wish-gal-empty-ico { width: 110px; height: 110px; border-radius: 55px; background: var(--wish-surface); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); }
.wish-gal-empty-title { font: 600 16px var(--wish-font); color: var(--wish-text-100); }
.wish-gal-empty-desc { font: 400 13px/1.55 var(--wish-font); color: var(--wish-text-50); }
.wish-gal-empty-cta { margin-top: 6px; height: 46px; padding: 0 24px; border-radius: 23px; border: 0; background: var(--wish-gradient-cta); color: #fff; font: 700 14px var(--wish-font); cursor: pointer; }

/* ② 캐릭터 컬렉션 */
.wish-gal-coll-page { padding-bottom: calc(104px + var(--wish-safe-bottom)); }
.wish-gal-chead { display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--wish-safe-top)) 16px 12px; }
.wish-gal-back { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--wish-text-100); cursor: pointer; flex: none; }
.wish-gal-avatar { width: 32px; height: 32px; border-radius: 16px; flex: none; background: var(--wish-surface) center 18% / cover no-repeat; }
.wish-gal-chead-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wish-gal-chead-name { font: 700 16px var(--wish-font); color: var(--wish-text-100); }
.wish-gal-chead-stage { font: 400 11.5px var(--wish-font); color: var(--wish-text-50); }
.wish-gal-coll { padding: 0 var(--wish-pad-x); display: flex; flex-direction: column; gap: 14px; }
.wish-gal-stage { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wish-gal-stage:first-child { margin-top: 4px; }
.wish-gal-stage-pill {
  flex: none; height: 24px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center;
  background: linear-gradient(90deg, var(--wish-cta-from), var(--wish-cta-to)); box-shadow: 0 4px 12px rgba(230,77,183,.3);
  font: 800 11.5px var(--wish-font); letter-spacing: .02em; color: #fff;
}
.wish-gal-stage-nm { flex: none; font: 800 18px var(--wish-font); letter-spacing: -.03em; color: var(--wish-text-100); }
.wish-gal-stage-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0)); }
.wish-gal-stage-cnt { flex: none; font: 700 13px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-100); }
.wish-gal-stage-cnt span { font-weight: 500; color: var(--wish-text-40); }
.wish-gal-arts { display: flex; flex-direction: column; gap: 22px; }
.wish-gal-art { display: flex; flex-direction: column; gap: 10px; }
.wish-gal-art-img { border-radius: 18px; aspect-ratio: 3 / 4; background: var(--wish-surface) center top / cover no-repeat; box-shadow: 0 14px 30px rgba(0,0,0,.35); cursor: pointer; }
.wish-gal-art-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px; }
.wish-gal-art-title { font: 700 14.5px var(--wish-font); letter-spacing: -.02em; color: var(--wish-text-100); min-width: 0; }
.wish-gal-art-date { flex: none; font: 500 11.5px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-45); }
.wish-gal-lock { height: 84px; border-radius: 18px; background: var(--wish-surface); display: flex; align-items: center; gap: 12px; padding: 0 18px; cursor: pointer; }
.wish-gal-lock-ico { width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: var(--wish-text-50); flex: none; }
.wish-gal-lock-text { display: flex; flex-direction: column; gap: 3px; }
.wish-gal-lock-title { font: 600 13px var(--wish-font); color: rgba(255,255,255,.75); }
.wish-gal-lock-sub { font: 400 11.5px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 14px var(--wish-pad-x) calc(22px + var(--wish-safe-bottom));
  background: linear-gradient(rgba(var(--wish-bg-base-rgb),0), var(--wish-bg-base) 38%);
  display: flex; flex-direction: column; gap: 8px; align-items: stretch;
}
.wish-gal-cta { width: 100%; height: 54px; border-radius: 27px; border: 0; background: var(--wish-gradient-cta); color: #fff; font: 700 15px var(--wish-font); cursor: pointer; }
.wish-gal-cta[disabled] { opacity: .4; cursor: default; }
.wish-gal-cta-note { text-align: center; font: 400 12px var(--wish-font); color: var(--wish-text-55); }

/* ④ 일러스트 상세 */
.wish-gal-viewer { position: fixed; inset: 0; z-index: 60; background: var(--wish-viewer-bg); display: flex; flex-direction: column; overflow: hidden; }
.wish-gal-v-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + var(--wish-safe-top)) 18px 12px; transition: opacity .2s; }
.wish-gal-v-close { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.wish-gal-v-spacer { width: 34px; }
.wish-gal-v-pos { font: 600 13px var(--wish-font); font-variant-numeric: tabular-nums; color: #fff; }
.wish-gal-v-pos span { color: var(--wish-text-45); }
.wish-gal-v-stage { flex: none; padding: 0 var(--wish-pad-x); display: flex; justify-content: center; touch-action: none; }
.wish-gal-v-frame { position: relative; width: 100%; max-width: 335px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--wish-surface); box-shadow: 0 24px 50px rgba(0,0,0,.6); }
.wish-gal-v-frame.is-loading { background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%); background-size: 400% 100%; animation: wish-skeleton-shimmer 1.4s ease infinite; }
.wish-gal-v-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: center center; }
.wish-gal-v-fail { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: 400 13px var(--wish-font); color: var(--wish-text-55); }
.wish-gal-v-fail[hidden] { display: none; }
.wish-gal-v-fail button { height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font: 600 13px var(--wish-font); }
.wish-gal-v-info { flex: none; display: flex; align-items: flex-start; gap: 12px; padding: 18px var(--wish-pad-x) 0; transition: opacity .2s; }
.wish-gal-v-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wish-gal-v-title { font: 800 19px var(--wish-font); letter-spacing: -.03em; color: #fff; }
.wish-gal-v-sub { font: 400 12px var(--wish-font); color: var(--wish-text-55); }
.wish-gal-v-acts { display: flex; gap: 10px; flex: none; }
.wish-gal-v-act { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 500 10.5px var(--wish-font); color: rgba(255,255,255,.6); cursor: pointer; }
.wish-gal-v-act i { width: 42px; height: 42px; border-radius: 21px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.wish-gal-v-strip { flex: none; display: flex; gap: 8px; padding: 20px var(--wish-pad-x) calc(20px + var(--wish-safe-bottom)); overflow-x: auto; scrollbar-width: none; transition: opacity .2s; }
.wish-gal-v-strip::-webkit-scrollbar { display: none; }
.wish-gal-v-thumb { flex: none; width: 38px; height: 51px; border-radius: 8px; background: var(--wish-surface) center top / cover no-repeat; opacity: .45; cursor: pointer; }
.wish-gal-v-thumb.is-cur { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.wish-gal-viewer.is-bare .wish-gal-v-top,
.wish-gal-viewer.is-bare .wish-gal-v-info,
.wish-gal-viewer.is-bare .wish-gal-v-strip { opacity: 0; pointer-events: none; }
/* ② 탭 3개 (v25) — 균등 폭 · 선택 = 흰색 700 + 하단 2px CTA 그라데이션 바 · 헤더 아래 고정 */
.wish-gal-ctabs {
  position: sticky; top: 0; z-index: 5; display: flex; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--wish-bg-base);
}
.wish-gal-ctab { position: relative; flex: 1; text-align: center; padding: 9px 0 12px; font: 500 13.5px var(--wish-font); color: var(--wish-text-45); cursor: pointer; }
.wish-gal-ctab.is-active { font-weight: 700; color: var(--wish-text-100); }
.wish-gal-ctab.is-active::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--wish-cta-from), var(--wish-cta-to)); }
.wish-gal-coll[data-tabpane] { padding-top: 16px; }
.wish-gal-sum { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.wish-gal-sum-row { display: flex; align-items: baseline; justify-content: space-between; }
.wish-gal-sum-label { font: 600 12.5px var(--wish-font); color: rgba(255,255,255,.7); }
.wish-gal-sum-val { font: 400 13px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-40); }
.wish-gal-sum-val b { font: 800 20px var(--wish-font); color: var(--wish-text-100); }
.wish-gal-sum-val em { margin-left: 8px; font: 800 13px var(--wish-font); font-style: normal; color: var(--wish-accent); }
.wish-gal-sum-pills { display: flex; gap: 6px; }
.wish-gal-sum-pills span { height: 22px; display: flex; align-items: center; padding: 0 9px; border-radius: 11px; font: 600 11px var(--wish-font); color: #fff; }
.wish-gal-sum-pills .is-like { background: rgba(123,15,201,.35); }
.wish-gal-sum-pills .is-dislike { background: rgba(0,91,65,.55); }
/* ②-2 키워드 수집 — LIKE primary · DISLIKE deep-green #005B41 칩(CHAT-003 과 같은 규칙) */
.wish-gal-kws { display: flex; flex-direction: column; gap: 8px; }
.wish-gal-kw-head { display: flex; align-items: center; margin-top: 8px; font: 800 14px var(--wish-font); letter-spacing: .02em; color: var(--wish-text-100); }
.wish-gal-kw ~ .wish-gal-kw-head { margin-top: 12px; }
.wish-gal-kw-cnt { margin-left: auto; font: 400 13px var(--wish-font); letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--wish-text-50); }
.wish-gal-kw-cnt b { color: var(--wish-text-100); }
.wish-gal-kw { display: flex; flex-direction: column; gap: 7px; border-radius: 16px; background: rgba(255,255,255,.05); padding: 13px 15px; }
.wish-gal-kw-row { display: flex; align-items: center; gap: 6px; }
.wish-gal-kw-chip { height: 26px; display: flex; align-items: center; padding: 0 11px; border-radius: 13px; font: 700 12px var(--wish-font); color: #fff; }
.wish-gal-kw-chip.is-like { background: var(--wish-primary); }
.wish-gal-kw-chip.is-dislike { background: #005B41; }
.wish-gal-kw-new { height: 20px; display: flex; align-items: center; padding: 0 7px; border-radius: 10px; background: var(--wish-accent); font: 800 9px var(--wish-font); color: #fff; }
.wish-gal-kw-lv { margin-left: auto; font: 400 10.5px var(--wish-font); color: var(--wish-text-40); }
.wish-gal-kw-desc { font: 400 12.5px/1.55 var(--wish-font); color: rgba(255,255,255,.68); }
.wish-gal-kw.is-locked { flex-direction: row; align-items: center; gap: 10px; background: rgba(255,255,255,.03); opacity: .65; color: var(--wish-text-40); }
.wish-gal-kw-q { font: 700 13px var(--wish-font); color: var(--wish-text-50); }
.wish-gal-kw-qdesc { flex: 1; font: 400 12px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-kw.is-locked svg { width: 14px; height: 14px; }
/* ②-3 고정된 기억 — 보기 전용 · 좌측 3px primary 보더(대화방 고정 표시와 같은 규칙) */
.wish-gal-coll[data-tabpane="pin"] { gap: 10px; padding-top: 18px; }
.wish-gal-pin-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.wish-gal-pin-title { font: 600 12.5px var(--wish-font); color: rgba(255,255,255,.7); }
.wish-gal-pin-title b { margin-left: 4px; font: 800 20px var(--wish-font); color: var(--wish-text-100); }
.wish-gal-pin-desc { font: 400 12px/1.5 var(--wish-font); color: var(--wish-text-45); }
.wish-gal-pin { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 14px 18px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--wish-primary); }
.wish-gal-pin-date { display: flex; align-items: center; gap: 6px; font: 400 12px var(--wish-font); font-variant-numeric: tabular-nums; color: var(--wish-text-45); }
.wish-gal-pin-date i { display: flex; width: 12px; height: 12px; }
.wish-gal-pin-cn { font: 500 14px/1.55 var(--wish-font); color: var(--wish-text-100); }
.wish-gal-pin-empty { padding: 28px 0 20px; text-align: center; font: 500 13px var(--wish-font); color: var(--wish-text-50); }
.wish-gal-pin-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; border-top: 1px solid rgba(255,255,255,.08); font: 400 12px var(--wish-font); color: var(--wish-text-45); }
.wish-gal-pin-go { flex: none; font: 700 12px var(--wish-font); color: var(--wish-accent); cursor: pointer; }

/* === /GAL-001 갤러리 === */
