/* 캐릭터 프로필 — 실제 서비스식 평범한 레이아웃 (2026-09-30 재디자인, 모바일 기준)
   구조: 상단 바 → 대표 이미지(3:4 캐러셀, '1 / N', 누르면 사진 보기 창) → 썸네일 줄 → 이름·뱃지 / 제작자·대화·좋아요 / 해시태그 / 소개글(5줄 접기)
         → 탭(소개 | 갤러리 | 댓글 N, 위에 붙음) → 하단 고정 바(찜 + 대화하기).
   메인 페이지와 같은 디자인 언어: 같은 색 값(새 색 없음)·Pretendard·강조색 #FFA178·카테고리 칩(category-pill) 모양·탭 강조 방식.
   모서리 0~2px (알약·원형 금지), 왼쪽 세로 강조 바·번호 섹션·장식 그림자 없음.
   애니메이션은 '동작 줄이기' 설정과 관계없이 항상. 색은 아래 변수에서만 조정. */

:root {
  --cp-bg: #1a1a1a;            /* 페이지 배경 */
  --cp-surface: #222222;       /* 카드·입력칸 (메인 배경과 같은 값) */
  --cp-surface-2: #2b2b2e;     /* 메인 카테고리 카드 면 */
  --cp-line: #333336;          /* 구분선 */
  --cp-line-strong: #3a3a3e;   /* 메인 카드 테두리 */
  --cp-text: #f2f2f2;
  --cp-sub: #a8a8ad;           /* 메인 카드 소개 글 */
  --cp-faint: #77777c;         /* 메인 카드 태그 */
  --cp-accent: #FFA178;        /* 메인 강조색 */
  --cp-on-accent: #1a1a1a;     /* 강조색 위 글자 (메인 NEW 뱃지와 같음) */
  --cp-chip-bg: #D2C1C1;       /* 메인 카테고리 칩(category-pill) */
  --cp-chip-text: #000000;
  --cp-danger: #e5484d;        /* 메인 19 뱃지 */
  --cp-radius: 2px;
  --cp-bold: 'Pretendard-Bold', sans-serif;
  --cp-light: 'Pretendard-ExtraLight', sans-serif;
  --cp-cta-h: 60px;
}

body { background: var(--cp-bg); color: var(--cp-text); }

.profile-main-content {
  margin-top: var(--nav-h);
  padding-bottom: calc(var(--cp-cta-h) + 32px + env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
  background: var(--cp-bg);
}

/* ───────── 상단 바 ───────── */
.cp-topbar { background: var(--cp-bg); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.cp-topbar.is-scrolled { border-bottom-color: var(--cp-line); }
.cp-icon { color: var(--cp-text); border-radius: var(--cp-radius); }
.cp-icon:hover { background: var(--cp-surface); }

/* 이름은 본문 이름이 가려질 때만 (JS 가 is-shown) */
.cp-topbar-title {
  font-family: var(--cp-bold);
  color: var(--cp-text);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.cp-topbar-title.is-shown { opacity: 1; transform: none; }

/* ───────── 대표 이미지 캐러셀 ───────── */
.cp-hero { width: 100%; background: var(--cp-surface); }

.profile-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 80vh;
  overflow: hidden;
  background: var(--cp-surface);
  touch-action: pan-y;
}

.profile-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.profile-carousel-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }

.profile-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* PC 에서만 좌우 버튼 (휴대폰은 스와이프) */
.profile-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: var(--cp-radius);
  color: #fff;
  cursor: pointer;
}

.profile-carousel-btn-prev { left: 8px; }
.profile-carousel-btn-next { right: 8px; }
.profile-carousel-btn.hidden { display: none; }

@media (pointer: coarse) {
  .profile-carousel-btn { display: none; }
}

/* 오른쪽 아래 '1 / 5' */
.cp-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--cp-radius);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.profile-carousel-slide { cursor: zoom-in; }

/* 대표 사진 아래 썸네일 줄 (가로 스크롤, 지금 사진은 강조색 테두리, 잠긴 사진은 모자이크+자물쇠로 뒤쪽) */
.cp-strip {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--cp-bg);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.cp-strip::-webkit-scrollbar { display: none; }

.cp-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  overflow: hidden;
  background: var(--cp-surface-2);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}

.cp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.cp-thumb.active { border: 2px solid var(--cp-accent); }
.cp-thumb.is-locked img { filter: brightness(0.7); image-rendering: pixelated; }
.cp-thumb.is-locked.cp-shake { animation: cpShake 0.42s ease; }

/* ───────── 사진 보기 창 (전체 화면) ───────── */
.cp-viewer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  background: #000000;
  color: #ffffff;
  animation: cpViewerIn 0.22s ease both;
}

.cp-viewer[hidden] { display: none; }
.cp-viewer.is-closing { animation: cpViewerOut 0.18s ease both; }

@keyframes cpViewerIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cpViewerOut { from { opacity: 1; } to { opacity: 0; } }

.cp-viewer-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: env(safe-area-inset-top, 0px) 8px 0 16px;
}

.cp-viewer-count { font-size: 14px; font-variant-numeric: tabular-nums; }

.cp-viewer-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--cp-radius);
  color: #ffffff;
  cursor: pointer;
}

.cp-viewer-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: pan-y; }

.cp-viewer-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.cp-viewer-track.is-dragging { transition: none; }

.cp-viewer-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-viewer-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.cp-viewer-slide.is-locked img { width: min(100%, 75vh); aspect-ratio: 3 / 4; object-fit: cover; filter: brightness(0.6); image-rendering: pixelated; }

.cp-viewer-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}

.cp-viewer-strip { flex: 0 0 auto; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); background: #000000; }
.cp-viewer-strip .cp-thumb { border-color: transparent; opacity: 0.6; }
.cp-viewer-strip .cp-thumb.active { border-color: var(--cp-accent); opacity: 1; }

/* ───────── 이름 · 정보 ───────── */
.cp-info { padding: 20px 16px 22px; }

.cp-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.cp-name {
  margin: 0;
  font-family: var(--cp-bold);
  font-size: 22px;
  font-weight: normal;
  line-height: 1.3;
  color: var(--cp-text);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.cp-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  background: var(--cp-accent);
  border-radius: var(--cp-radius);
  color: var(--cp-on-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* DEEP·인기!: 메인 카드 뱃지(adult.css .age-badge-19, main.css .hot-badge)와 같은 색 (NEW 는 기본 .cp-badge) */
.cp-badge--deep { background: linear-gradient(135deg, #7b5cff, #c04bff); color: #ffffff; font-weight: 800; }
.cp-badge--hot { background: linear-gradient(135deg, #ff5a6e, #ffa178); color: #ffffff; font-weight: 800; }  /* 카드의 인기! 뱃지와 같은 색 */

.cp-meta {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--cp-sub);
}

.cp-meta-creator { color: var(--cp-sub); text-decoration: none; }
.cp-meta-creator:visited { color: var(--cp-sub); }
.cp-meta-dot { color: var(--cp-faint); }
.cp-meta-part { display: inline-flex; align-items: center; gap: 5px; }
.cp-meta-part[hidden] { display: none; }

/* 해시태그: 메인 카테고리 칩(category-pill)과 같은 모양, 조금 작게 */
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.cp-tag {
  padding: 4px 8px;
  background: var(--cp-chip-bg);
  border-radius: 0;
  color: var(--cp-chip-text);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.cp-tag:visited { color: var(--cp-chip-text); }
.cp-tag:active { background: var(--cp-accent); }

/* 소개글: 5줄 넘으면 접고 '더보기' (character_profile.js 가 넘칠 때만 버튼 보임) */
.cp-intro { margin-top: 16px; }

.cp-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cp-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.cp-collapse {
  max-height: calc(15px * 1.6 * 5);
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.cp-collapse.is-short,
.cp-collapse.is-open { max-height: none; }

.cp-more {
  margin-top: 6px;
  padding: 4px 0;
  background: none;
  border: none;
  color: var(--cp-sub);
  font-size: 14px;
  cursor: pointer;
}

.cp-more[hidden] { display: none; }

/* ───────── 탭 ───────── */
.cp-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  display: flex;
  background: var(--cp-bg);
  border-top: 1px solid var(--cp-line);
  border-bottom: 1px solid var(--cp-line);
}

.cp-tab {
  position: relative;
  flex: 1;
  height: 46px;
  background: none;
  border: none;
  color: var(--cp-text);
  font-family: var(--cp-light);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s;
}

.cp-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--cp-accent);
  transform: translateX(-50%);
  transition: width 0.25s;
}

.cp-tab.is-active { color: var(--cp-accent); font-family: var(--cp-bold); }
.cp-tab.is-active::after { width: 44px; }
.cp-tab-count { font-size: 13px; margin-left: 2px; }

.cp-panel { padding: 20px 16px 8px; min-height: 40vh; }
.cp-panel[hidden] { display: none; }
.cp-panel.is-entering { animation: cpFade 0.28s ease both; }

@keyframes cpFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.cp-empty { margin: 8px 0 0; font-size: 14px; color: var(--cp-faint); }

/* 소개 탭: 정보 표 */
.cp-spec { margin: 0; }

.cp-spec-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cp-line);
  font-size: 14px;
}

.cp-spec-row:first-child { padding-top: 0; }
.cp-spec-row dt { color: var(--cp-sub); }
.cp-spec-row dd { margin: 0; color: var(--cp-text); line-height: 1.6; word-break: break-word; white-space: pre-wrap; }

/* 제작자 카드 */
.cp-creator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px;
  background: var(--cp-surface-2);
  border: 1px solid var(--cp-line-strong);
  border-radius: var(--cp-radius);
  color: var(--cp-text);
  text-decoration: none;
}

.cp-creator:visited { color: var(--cp-text); }

.cp-creator-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--cp-radius);
  background: var(--cp-surface-2);
}

.cp-creator-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }

.cp-creator-name {
  font-family: var(--cp-bold);
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-created-at { font-size: 12px; color: var(--cp-faint); }
.cp-creator-link { flex: 0 0 auto; font-size: 13px; color: var(--cp-accent); }

/* ───────── 갤러리 탭 (3열) ───────── */
.cp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }

.cp-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: none;
  border-radius: var(--cp-radius);
  overflow: hidden;
  background: var(--cp-surface);
  cursor: pointer;
}

.cp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-shot.active { outline: 2px solid var(--cp-accent); outline-offset: -2px; }

/* 잠긴 비공개 사진: 서버가 준 모자이크 + 가운데 자물쇠 */
.cp-shot.is-locked img { filter: brightness(0.7); image-rendering: pixelated; }

.cp-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cp-text);
}

.cp-shot.is-locked.cp-shake { animation: cpShake 0.42s ease; }

@keyframes cpShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

/* ───────── 댓글 탭 ───────── */
.cp-comment-form { margin-bottom: 8px; border-bottom: 1px solid var(--cp-line); transition: border-color 0.2s; }
.cp-comment-form:focus-within { border-bottom-color: var(--cp-accent); }

.cp-comment-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  max-height: 160px;
  padding: 8px 0;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--cp-text);
  font: inherit;
  font-size: 16px; /* 16px 미만이면 iOS 가 입력할 때 화면을 확대함 */
  line-height: 1.5;
}

.cp-comment-input::placeholder { color: var(--cp-faint); }

/* 글자 수·등록은 입력할 때만 */
.cp-comment-form-foot { display: none; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.cp-comment-form:focus-within .cp-comment-form-foot,
.cp-comment-form.has-text .cp-comment-form-foot { display: flex; }

.cp-comment-counter { font-size: 12px; color: var(--cp-faint); font-variant-numeric: tabular-nums; }
.cp-comment-counter.is-over { color: var(--cp-danger); }

.cp-comment-submit {
  height: 32px;
  padding: 0 14px;
  background: var(--cp-accent);
  color: var(--cp-on-accent);
  border: none;
  border-radius: var(--cp-radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cp-comment-submit:disabled { background: var(--cp-surface); color: var(--cp-faint); cursor: default; }

.cp-comment-list { list-style: none; margin: 0; padding: 0; }

.cp-comment { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; }
.cp-comment.is-new { animation: cpFade 0.35s ease both; }
.cp-comment.is-leaving { opacity: 0; transition: opacity 0.25s; }

.cp-comment-avatar { display: block; width: 32px; height: 32px; border-radius: var(--cp-radius); overflow: hidden; background: var(--cp-surface); }
.cp-comment-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cp-comment-body { min-width: 0; }
.cp-comment-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: 12px; }

.cp-comment-name { font-family: var(--cp-bold); font-size: 13px; color: var(--cp-text); text-decoration: none; }
.cp-comment-name:visited { color: var(--cp-text); }
.cp-comment-name.is-gone { color: var(--cp-faint); font-weight: 400; }
.cp-comment-maker { color: var(--cp-faint); }
.cp-comment-time { color: var(--cp-faint); }

.cp-comment-del {
  margin-left: auto;
  padding: 2px 0 2px 8px;
  background: none;
  border: none;
  color: var(--cp-faint);
  font-size: 12px;
  cursor: pointer;
}

.cp-comment-del:active { color: var(--cp-danger); }

.cp-comment-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cp-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* 지운 댓글 자리 (답글이 남아 있을 때) */
.cp-comment.is-deleted .cp-comment-text { color: var(--cp-faint); font-size: 13px; }

/* 좋아요 · 답글 버튼 줄 */
.cp-comment-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }

.cp-comment-like,
.cp-comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0;
  background: none;
  border: none;
  color: var(--cp-faint);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cp-comment-like svg { display: block; flex: none; }
.cp-comment-like-count { font-variant-numeric: tabular-nums; min-width: 1ch; }
.cp-comment-like.is-liked { color: var(--cp-accent); }
.cp-comment-like.is-liked svg path { fill: currentColor; }
/* 누를 때 톡 튀는 하트 (기기 '동작 줄이기' 설정과 관계없이 보여 줌) */
.cp-comment-like.is-pop svg { animation: cpHeartPop 0.32s ease-out; }
@keyframes cpHeartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.cp-comment-reply-btn:active { color: var(--cp-text); }

/* 답글: 댓글 본문 칸 안에 들여써서 (아바타 작게) */
.cp-replies { margin-top: 2px; }
.cp-replies-toggle,
.cp-replies-more {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  background: none;
  border: none;
  color: var(--cp-accent);
  font-family: var(--cp-bold);
  font-size: 13px;
  cursor: pointer;
}
.cp-replies-toggle[hidden], .cp-replies-more[hidden], .cp-reply-list[hidden] { display: none; }

.cp-reply-list { list-style: none; margin: 0; padding: 0; }
.cp-reply-list .cp-comment { grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 0 4px; }
.cp-reply-list .cp-comment-avatar { width: 24px; height: 24px; }

.cp-reply-form { margin: 6px 0 4px; border-bottom: 1px solid var(--cp-line); animation: cpFade 0.25s ease both; }
.cp-reply-form:focus-within { border-bottom-color: var(--cp-accent); }
.cp-reply-form .cp-comment-input { min-height: 34px; padding: 6px 0; } /* 글자 16px 유지 (iOS 확대 방지) */
.cp-reply-form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-bottom: 8px; }
.cp-reply-form .cp-comment-submit { height: 30px; padding: 0 12px; font-size: 13px; }

.cp-reply-cancel {
  height: 30px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  color: var(--cp-sub);
  font-size: 13px;
  cursor: pointer;
}

.cp-comment-empty { margin: 24px 0; text-align: center; font-size: 14px; color: var(--cp-faint); }
.cp-comment-empty[hidden], .cp-comment-more[hidden] { display: none; }

.cp-comment-more {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  background: none;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  color: var(--cp-sub);
  font-size: 14px;
  cursor: pointer;
}

/* ───────── 하단 고정 바: 찜 + 대화하기 ───────── */
.cp-cta-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  max-width: 37.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--cp-bg);
  border-top: 1px solid var(--cp-line);
}

.profile-like-btn {
  flex: 0 0 auto;
  min-width: 48px;
  height: 48px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: none;
  border: none;
  color: var(--cp-text);
  font-size: 11px;
  cursor: pointer;
}

.profile-like-btn svg { width: 24px; height: 24px; transition: fill 0.2s; }
.profile-like-btn.liked { color: var(--cp-accent); }
.profile-like-btn.liked svg { fill: var(--cp-accent); }
.profile-like-btn .like-count { color: var(--cp-sub); font-variant-numeric: tabular-nums; }

.profile-chat-btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cp-accent);
  border-radius: var(--cp-radius);
  color: var(--cp-on-accent);
  font-family: var(--cp-bold);
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.profile-chat-btn:visited { color: var(--cp-on-accent); }
.profile-chat-btn:active { opacity: 0.85; }

/* 클립보드 복사 폴백 토스트 */
.profile-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(10px);
  z-index: 2000;
  padding: 10px 16px;
  background: var(--cp-surface);
  border-radius: var(--cp-radius);
  color: var(--cp-text);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* PC: 여백만 조금 넓게 (모바일이 기준) */
@media (min-width: 560px) {
  .cp-info, .cp-panel { padding-left: 24px; padding-right: 24px; }
  .cp-gallery { grid-template-columns: repeat(4, 1fr); }
  .cp-strip { padding-left: 24px; padding-right: 24px; }
}
