/* ============================================================
   에벤에셀 온라인 추모관 — 세로형 키오스크 공통 CSS
   기준 시안: Figma "++최종버전" (26.06.18) / 2160 × 3840
   모든 수치는 Figma 원본값 1:1 (스케일링은 kiosk-core.js가 담당)
   ============================================================ */

/* ---------- 폰트 ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* ---------- 디자인 토큰 ---------- */
:root {
  /* 색상 — 브랜드 */
  --c-brown:        #615441;  /* text_mc  : 메인 브라운 */
  --c-brown-2:      #7B735F;  /* text_mc2 : 서브 브라운 */
  --c-brown-logo:   #97907E;  /* 로고 텍스트 */
  --c-beige-light:  #D2CCBE;  /* 연한 베이지 (영문 타이틀) */
  --c-beige-card:   #F4EDDB;  /* 카드 테두리 크림 */
  --c-btn-text:     #5A4615;  /* 시작하기 버튼 텍스트 */

  /* 색상 — 그레이 */
  --c-text:         #212529;  /* Body Color */
  --c-text-dark:    #444444;
  --c-grey-6d:      #6D6D6D;
  --c-grey-7d:      #7D7D7D;

  /* 색상 — 골드 (입력·키보드) */
  --c-gold:         #B88E44;  /* mc_gold : 포커스 보더·주버튼 */
  --c-gold-soft:    #B9A46A;  /* 키보드 기능키 */
  --c-key-text:     #4A3F35;  /* 자판 글자 */
  --c-kb-bg:        #F2EADE;  /* 키보드 배경 */
  --c-placeholder:  #A8A29E;  /* sb_gold */
  --c-input-line:   #EAE5DD;  /* 입력 기본 보더 */
  --grad-gold: linear-gradient(94deg, #C9A059 2.7%, #B88E44 48%, #A3772A 97%);

  /* 색상 — 시스템 */
  --c-white:        #FFFFFF;
  --c-dim:          rgba(0, 0, 0, 0.6);   /* 팝업 배경 딤 */

  /* 타이포 스케일 (Figma 스타일명 기준) */
  --fs-h220: 220px;   /* Headline/H 220 reg */
  --fs-h120: 120px;
  --fs-h100: 100px;   /* Headline/H 100 sb·m */
  --fs-h95:  95px;    /* 팝업 타이틀 */
  --fs-b80:  80px;    /* 입력 필드 */
  --fs-b60:  60px;    /* Body/body 60 */
  --fs-b58:  58px;    /* 팝업 본문 */
  --fs-b50:  50px;    /* Body/body 50 */
  --fs-b45:  45px;
  --fs-b40:  40px;    /* Body/body 40 reg */

  --lh-tight: 1.0;
  --lh-body:  1.45;
  --lh-loose: 1.6;

  /* 라운드 */
  --r-card:  60px;
  --r-pill:  100px;
  --r-btn:   80px;

  /* 그림자 */
  --sh-card:  10px 10px 15px rgba(0, 0, 0, 0.25);
  --sh-float: -33px 75px 90px rgba(0, 0, 0, 0.4);

  /* 캔버스 */
  --kiosk-w: 2160px;
  --kiosk-h: 3840px;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #000;
  font-family: "Pretendard", -apple-system, sans-serif;
  color: var(--c-text);
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  overscroll-behavior: none;
}

img { display: block; -webkit-user-drag: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }

/* ---------- 키오스크 스테이지 (스케일 래퍼) ---------- */
#kiosk-viewport {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#kiosk-stage {
  width: var(--kiosk-w); height: var(--kiosk-h);
  flex: none; /* flex-shrink로 스테이지가 축소되는 것 방지 */
  position: relative;
  transform-origin: center center;
  overflow: hidden;
  background: #fff;
}

/* ---------- 공통 배경 ---------- */
.k-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}

/* ---------- 헤더 (상단 로고) ---------- */
.k-header {
  position: absolute; top: 70px; left: 0;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 50px;
  z-index: 10;
}
.k-header__logo { height: 135px; padding-left: 80px; }
.k-header__logo img { height: 100%; object-fit: contain; }

.k-header__pill {
  width: 1868px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 20px 40px;
  border: 1px solid var(--c-brown);
  border-radius: var(--r-pill);
}
.k-header__pill-en {
  font-family: "Trajan Pro", "Times New Roman", serif;
  font-weight: 700; font-size: 50px; letter-spacing: 1.25px;
  color: var(--c-brown-logo);
}
.k-header__pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-brown-logo); }
.k-header__pill-ko {
  font-weight: 700; font-size: 50px; line-height: var(--lh-loose);
  color: var(--c-brown-logo);
}

/* ---------- 홈 버튼 (좌하단) ---------- */
.k-home {
  position: absolute; left: 150px; bottom: 100px;
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: none; padding: 0;
  z-index: 45;
}
.k-home img { width: 200px; height: 200px; }

/* ---------- 버튼 ---------- */
.k-btn {
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; text-align: center;
  border-radius: var(--r-btn);
  transition: transform .1s ease, filter .1s ease;
}
.k-btn:active { transform: scale(.97); filter: brightness(.95); }

/* 주 버튼 — 브라운 배경 */
.k-btn--primary {
  background: var(--c-brown);
  color: var(--c-white);
}
/* 보조 버튼 — 아웃라인 */
.k-btn--outline {
  background: var(--c-white);
  color: var(--c-brown);
  border: 3px solid var(--c-brown);
}
/* 취소/그레이 */
.k-btn--grey {
  background: #E9E9E9;
  color: var(--c-grey-6d);
}

/* 사이즈 프리셋 (Figma 반복 패턴) */
.k-btn--xl  { width: 1200px; height: 230px; font-size: 70px; }   /* 팝업 풀폭 대형 */
.k-btn--lg  { width: 1200px; height: 160px; font-size: 60px; }   /* 팝업 풀폭 */
.k-btn--md  { width: 570px;  height: 150px; font-size: 55px; }   /* 팝업 2버튼 */
.k-btn--w1430 { width: 1430px; height: 230px; font-size: 70px; } /* 로그인 확인 */

/* 2버튼 나란히 */
.k-btn-row {
  display: flex; gap: 60px; justify-content: center;
  width: 1200px;
}

/* ---------- 카드 (로그인 QR/게스트 박스) ---------- */
.k-card {
  width: 608px; height: 608px;
  background: var(--c-white);
  border: 9px solid var(--c-beige-card);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* ---------- 팝업 / 알럿 ---------- */
.k-dim {
  position: absolute; inset: 0;
  background: var(--c-dim);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
}
.k-dim.is-open { display: flex; }

.k-popup {
  width: 1440px;
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 100px 120px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}

/* 알럿형 (아이콘 + 타이틀 + 설명) */
.k-popup__icon { width: 200px; height: 200px; margin-bottom: 40px; }
.k-popup__title {
  font-size: var(--fs-h95); font-weight: 600; color: var(--c-text-dark);
  text-align: center; line-height: var(--lh-tight);
}
.k-popup__desc {
  margin-top: 40px;
  font-size: var(--fs-b58); font-weight: 400; color: var(--c-grey-6d);
  text-align: center; line-height: var(--lh-tight);
}
.k-popup__actions { margin-top: 100px; }

/* 타이틀바형 (좌측 제목 + 우측 X) */
.k-popup__bar {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.k-popup__bar-title { font-size: var(--fs-h95); font-weight: 600; color: var(--c-text-dark); }
.k-popup__close { width: 75px; height: 75px; }
.k-popup__close img { width: 100%; height: 100%; }

/* ---------- 입력 필드 ---------- */
.k-input {
  width: 1430px; height: 220px;
  background: var(--c-white);
  border: 3px solid var(--c-beige-card);
  border-radius: var(--r-card);
  display: flex; align-items: center; gap: 30px;
  padding: 50px;
  font-size: var(--fs-b80);
}
.k-input img { width: 120px; height: 120px; }
.k-input .placeholder { color: var(--c-grey-7d); }
.k-input.is-focus { border-color: var(--c-brown); }

/* ---------- 페이지 인디케이터 (◀ 1/13 ▶) ---------- */
.k-indicator {
  display: flex; align-items: center; justify-content: center; gap: 60px;
  height: 120px;
}
.k-indicator__arrow { width: 120px; height: 120px; }
.k-indicator__arrow img { width: 100%; height: 100%; }
.k-indicator__num { font-size: 75px; font-weight: 500; color: var(--c-grey-6d); }

/* ---------- 온스크린 키보드 (공용 · kiosk-keyboard.js) ---------- */
.kb {
  position: absolute; left: 0; top: 2304px;
  width: 2160px; height: 1536px;
  background: var(--c-kb-bg);
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 0 280px;
  transition: transform .25s ease;
  z-index: 50;
}
.kb.is-collapsed { transform: translateY(1305px); }
/* 완전 숨김: 손잡이까지 화면 밖으로 (검색/입력 비활성 시) */
.kb.is-hidden { transform: translateY(1536px); pointer-events: none; }
.kb__handle {
  width: 520px; height: 171px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 60px;
}
.kb__handle .ic-arrow { width: 50px; height: 50px; transition: transform .25s; }
.kb.is-collapsed .kb__handle .ic-arrow { transform: rotate(-90deg) !important; }
.kb__rows { display: flex; flex-direction: column; gap: 32px; align-items: center; width: 1998px; }
.kb__row  { display: flex; gap: 32px; justify-content: center; }
.kb-key {
  width: 171px; height: 171px;
  background: var(--c-white); border-radius: 30px;
  font-size: 50px; font-weight: 500; line-height: 1.5; color: var(--c-key-text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 3px rgba(0,0,0,.06);
}
.kb-key:active { background: #efe7d8; }
.kb-key--fn    { width: 272px; background: var(--c-gold-soft); }
.kb-key--fn img{ width: 93px; height: 93px; }
.kb-key--fn.is-on { background: var(--c-brown); }
.kb-key--num   { width: 258px; background: var(--c-gold-soft); color: #fff; }
.kb-key--lang  { width: 258px; color: #000; }
.kb-key--space { width: 1080px; }
.kb-key--enter { width: 328px; background: var(--c-gold-soft); color: #fff; }
.kb-key--done  { width: 1998px; background: var(--c-brown); color: #fff; }

/* ---------- 바텀시트 (검색 등) ---------- */
.k-sheet {
  position: absolute; left: 0; top: 1035px;
  width: 2160px; height: 2805px;
  background: var(--c-white);
  border-radius: 120px 120px 0 0;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  display: flex; flex-direction: column; align-items: center; gap: 60px;
  padding-top: 200px;
  overflow: hidden;
  z-index: 40;
}
.k-sheet__dim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 30;
}

/* ---------- 검색바 ---------- */
.k-search {
  width: 1536px; height: 130px;
  border-bottom: 4px solid var(--c-gold-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.k-search img.ic-search { width: 120px; height: 120px; }
.k-search img.ic-clear  { width: 75px; height: 75px; }
.k-search__q {
  flex: 1; text-align: center;
  font-size: 60px; line-height: 1.5; color: #757575;
  white-space: nowrap; overflow: hidden;
}
.k-search__q.is-empty { color: var(--c-placeholder); }

/* ---------- 고인 리스트 (Figma 351:9575 · 독립 카드형) ---------- */
.k-dlist { width: 1745px; display: flex; flex-direction: column; gap: 60px; }
.k-dlist__item {
  display: flex; align-items: flex-start; justify-content: space-between;
  height: 570px;
  padding: 58px 80px;
  background: var(--c-white);
  border: 10px solid #F0E9D9;
  border-radius: 120px;
  box-shadow: 0 0 25px rgba(0,0,0,.3);
}
.k-dlist__left { display: flex; align-items: center; gap: 60px; flex: 1; min-width: 0; }
.k-dlist__photo {
  width: 450px; height: 450px; flex: none;
  border-radius: 50%; object-fit: cover;
  background: #FAFAF9; border: 2.5px solid #E7E5E4;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.k-dlist__info {
  display: flex; flex-direction: column; gap: 40px;
  height: 450px; justify-content: center; flex: 1; min-width: 0;
}
.k-dlist__name { display: flex; align-items: flex-end; gap: 20px; }
.k-dlist__name .go   { font-size: 50px; line-height: 1.6; color: var(--c-brown-2); }
.k-dlist__name .nm   { font-size: 100px; font-weight: 600; line-height: 1.2; color: var(--c-brown-2); }
.k-dlist__name .tt   { font-size: 50px; font-weight: 600; line-height: 1.4; color: var(--c-placeholder); padding-bottom: 14px; }
.k-dlist__sub {
  font-size: 35px; font-weight: 700; color: var(--c-placeholder); line-height: 1.6;
  padding-bottom: 30px; border-bottom: 2px solid #EDEAE3;
}
.k-dlist__sub .rep { font-weight: 400; }
.k-dlist__loc {
  font-size: 40px; line-height: 1.6; color: var(--c-placeholder);
}
.k-dlist__loc b { font-weight: 500; }
/* 우측 마크: 즐겨찾기 별 / 가족 뱃지 */
.k-dlist__mark { flex: none; background: none; border: none; padding: 0; }
.k-dlist__mark--star { width: 75px; height: 75px; }
.k-dlist__mark--star img { width: 75px; height: 75px; }
.k-dlist__mark--family {
  height: 66px; padding: 0 32px;
  border-radius: 100px;
  background: var(--c-brown-2); color: #fff;
  font-size: 32px; font-weight: 700; white-space: nowrap;
}
.k-dlist__mark--family:active { filter: brightness(.95); }
.k-dlist__item:active { transform: scale(.99); filter: brightness(.99); }

/* 빈 상태 카드 (검색 유도) */
.k-dcard-hint {
  display: flex; align-items: center; gap: 60px;
  height: 570px; padding: 58px 80px;
  background: var(--c-white); border: 10px solid #F0E9D9;
  border-radius: 120px; box-shadow: 0 0 25px rgba(0,0,0,.3);
}
.k-dcard-hint__ic {
  width: 450px; height: 450px; flex: none; border-radius: 50%;
  background: #D9D9D9; border: 2.5px solid #E7E5E4;
  display: flex; align-items: center; justify-content: center;
}
.k-dcard-hint__ic img { width: 258px; height: 258px; }
.k-dcard-hint__t1 { font-size: 60px; font-weight: 600; color: #292524; }
.k-dcard-hint__t2 { font-size: 40px; color: var(--c-placeholder); margin-top: 16px; }

/* ---------- 리스트 빈 상태 ---------- */
.k-empty {
  display: flex; flex-direction: column; align-items: center; gap: 30px;
  text-align: center; padding: 200px 0;
}
.k-empty__t1 { font-size: 72px; font-weight: 600; color: var(--c-text-dark); }
.k-empty__t2 { font-size: 42px; color: var(--c-grey-6d); }

/* ============================================================
   고인 상세 (detail.html · Figma 351:9597)
   ============================================================ */
.dt-scroll {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  padding-bottom: 380px;
  -webkit-overflow-scrolling: touch;
}
.dt-info { padding-top: 475px; display: flex; flex-direction: column; align-items: center; gap: 120px; }

/* 이름 */
.dt-name { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dt-name__row { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.dt-name__ko { font-weight: 600; color: var(--c-brown); }
.dt-name__ko .go { font-weight: 400; font-size: 80px; line-height: 1.6; }
.dt-name__ko .nm { font-size: 140px; line-height: 1; }
.dt-name__title { font-size: 60px; font-weight: 600; color: var(--c-brown-2); padding-bottom: 12px; }
.dt-name__years { font-size: 40px; font-weight: 600; color: var(--c-placeholder); text-align: center; }

/* 프로필 + 정보 2단 */
.dt-two { display: flex; gap: 70px; align-items: center; padding: 0 150px 0 185px; }
.dt-photo {
  width: 820px; height: 820px; flex: none;
  border-radius: 50%; object-fit: cover; background: #EDEAE3;
  box-shadow: 0 0 40px rgba(0,0,0,.5);
}
.dt-photo-wrap { position: relative; width: 821px; flex: none; display: flex; justify-content: center; }
.dt-dday {
  position: absolute; left: 0; bottom: 0;
  background: rgba(255,255,255,.85); border: 3px solid #fff; border-radius: 100px;
  padding: 20px 40px; display: flex; align-items: center; gap: 16px;
  box-shadow: 10px 10px 40px rgba(0,0,0,.1);
  font-size: 30px; color: var(--c-text-dark); white-space: nowrap;
}
.dt-dday b { font-weight: 700; font-size: 60px; }

/* 정보 카드 (위치/찬송/성경) */
.dt-detail { flex: 1; display: flex; flex-direction: column; gap: 40px; filter: drop-shadow(17px 17px 20px rgba(0,0,0,.08)); }
.dt-field { display: flex; flex-direction: column; gap: 6px; }
.dt-field__head { display: flex; align-items: center; gap: 12px; }
.dt-field__head img { width: 60px; height: 60px; }
.dt-field__head span { font-size: 35px; font-weight: 700; color: var(--c-brown); }
.dt-field__body { font-size: 40px; font-weight: 700; color: var(--c-text-dark); line-height: 1.6; }
.dt-field__body--verse { font-size: 35px; font-weight: 400; line-height: 1.4; }
.dt-field__ref { font-size: 24px; color: var(--c-grey-6d); margin-top: 12px; }
.dt-field__hymn { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dt-field__hymn .sep { width: 2px; height: 26px; background: #D6D3D1; }
.dt-divider { height: 1px; background: #EDEAE3; width: 100%; }
.dt-locbtn {
  border: 3px solid var(--c-brown-2); border-radius: 100px;
  padding: 14px 40px; font-size: 30px; font-weight: 600; color: var(--c-brown);
  background: none;
}

/* 유족 인사글 */
.dt-family {
  width: 1745px;
  background: rgba(78,52,46,.1); border-radius: 30px;
  padding: 40px 60px; display: flex; flex-direction: column; gap: 40px;
}
.dt-family__title { font-size: 35px; font-weight: 700; color: var(--c-brown); text-align: center; }
.dt-family__body { font-size: 35px; font-weight: 400; color: var(--c-text-dark); line-height: 1.4; }
.dt-family__btn {
  align-self: flex-start;
  border: 3px solid var(--c-brown-2); border-radius: 100px;
  padding: 14px 40px; font-size: 30px; font-weight: 600; color: var(--c-brown); background: none;
}

/* 바로가기 3카드 */
.dt-shortcuts { display: flex; gap: 60px; }
.dt-card {
  width: 542px; height: 430px;
  background: var(--c-white); border: 9px solid var(--c-beige-card);
  border-radius: 60px; box-shadow: 10px 10px 30px rgba(0,0,0,.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  position: relative;
}
.dt-card__ic { width: 120px; height: 120px; }
.dt-card__label { font-size: 70px; font-weight: 600; color: var(--c-brown); }
.dt-card__go { font-size: 30px; font-weight: 600; color: var(--c-grey-7d); }
.dt-card__badge {
  position: absolute; top: 40px; right: 60px;
  min-width: 60px; height: 60px; padding: 0 18px;
  background: #C92626; border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px; font-weight: 700;
}
.dt-card:active { transform: scale(.98); }

/* 추모글 미리보기 */
.dt-msgs { width: 1745px; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.dt-msgs__head { display: flex; align-items: center; justify-content: center; position: relative; width: 1445px; height: 80px; }
.dt-msgs__title { font-size: 60px; font-weight: 700; color: var(--c-brown); }
.dt-msgs__count { position: absolute; right: 0; top: 35px; font-size: 30px; }
.dt-msgs__count b { font-weight: 600; color: var(--c-text-dark); }
.dt-msgs__count span { color: var(--c-grey-7d); }
/* 화살표가 카드/버튼을 침범하지 않도록: 캐러셀 전체 폭 = 화살표80 + gap29 + 아이템1525 + gap29 + 화살표80 = 1772 → 컨테이너(1745) 안에 맞게 아이템 폭 축소 */
/* 화살표: 카드 바로 옆에 붙는 작은 화살표 (60px) */
.dt-carousel { display: flex; gap: 20px; align-items: center; width: 100%; justify-content: center; }
.dt-carousel__arrow { width: 60px; height: 60px; flex: none; background: none; padding: 0; }
.dt-carousel__arrow img { width: 60px; height: 60px; }
.dt-carousel__arrow:disabled { opacity: .25; }
.dt-carousel__items { width: 1525px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.dt-msg {
  background: rgba(255,255,255,.5); border: 2px solid #fff; border-radius: 30px;
  padding: 40px 50px; min-height: 208px;
  box-shadow: 0 0 26px rgba(0,0,0,.15);
  display: flex; flex-direction: column; justify-content: center;
}
.dt-msg__author { font-size: 30px; font-weight: 600; color: var(--c-brown-2); margin-bottom: 12px; }
.dt-msg__content {
  font-size: 40px; font-weight: 400; color: var(--c-text-dark); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dt-msg--empty { align-items: center; color: var(--c-placeholder); font-size: 40px; text-align: center; }
.dt-write {
  width: 1525px; height: 150px;
  background: var(--grad-gold); border-radius: 30px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  box-shadow: 0 8px 5px rgba(0,0,0,.1), 0 20px 12px rgba(0,0,0,.1);
  color: #fff; font-size: 60px; font-weight: 700;
}
.dt-write img { width: 60px; height: 60px; }
.dt-write:active { transform: scale(.99); }

/* D-day 인라인 pill (정보카드 위치 아래) */
.dt-dday-inline {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 12px;
  font-size: 24px; color: var(--c-text-dark);
  filter: drop-shadow(10px 10px 20px rgba(0,0,0,.1));
}
.dt-dday-inline b { font-weight: 600; font-size: 24px; }

/* 하단 버튼들 */
.dt-privacy-btn {
  position: absolute; left: 1287px; bottom: 100px;
  height: 119px; display: flex; align-items: center; gap: 8px;
  padding: 24px 40px; background: rgba(255,255,255,.6);
  border: 3px solid var(--c-grey-7d); border-radius: 100px;
  font-size: 40px; font-weight: 700; color: var(--c-text-dark);
  z-index: 45;
}
.dt-privacy-btn img { width: 60px; height: 60px; }

/* 상세페이지 하단 우측 '이전페이지로 이동하기' (board와 동일 스타일) */
.dt-back-btn {
  position: absolute; right: 150px; bottom: 100px;
  height: 119px; display: flex; align-items: center; gap: 8px;
  padding: 24px 40px;
  background: rgba(0,0,0,.3);
  border: 3px solid #7D7D7D; border-radius: 100px;
  font-size: 40px; font-weight: 700; color: #fff;
  z-index: 45;
}
.dt-back-btn .circle {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dt-back-btn img { width: 60px; height: 60px; }

/* 위치 팝업 (바텀시트) */
.dt-map-sheet {
  position: absolute; left: 0; bottom: 0;
  width: 2160px; max-height: 3400px;
  background: #fff; border-radius: 120px 120px 0 0;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  padding: 100px 120px 200px;
  display: flex; flex-direction: column; gap: 100px; align-items: center;
  transform: translateY(100%); transition: transform .3s ease; z-index: 110;
}
.dt-map-sheet.is-open { transform: translateY(0); }
.dt-map-sheet__title {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding-bottom: 50px; border-bottom: 1px solid #D9D9D9;
}
.dt-map-sheet__title h3 { font-size: 80px; font-weight: 600; color: #4E342E; text-align: center; }
.dt-map-sheet__close { width: 75px; height: 75px; flex: none; background: none; }
.dt-map-sheet__loc { font-size: 60px; font-weight: 700; color: var(--c-text-dark); text-align: center; }
.dt-map-sheet__img { width: 1920px; border-radius: 30px; }

/* 유족 확인 팝업 */
.dt-fam-list { display: flex; flex-direction: column; gap: 30px; width: 100%; margin-top: 60px; }
/* 유족 대표: 회색 박스 안에 뱃지 + 이름 (CASE 02) */
.dt-fam-rep {
  display: flex; align-items: center; gap: 30px;
  background: #F4F2EF; border-radius: 20px;
  padding: 40px 50px;
  font-size: 50px; font-weight: 600; color: var(--c-text-dark);
}
.dt-fam-rep .role {
  font-size: 32px; font-weight: 700; color: #fff; background: var(--c-brown-2);
  border-radius: 100px; padding: 12px 30px; flex: none;
}
/* 유족 구성원: 뱃지 격자 (CASE 03) */
.dt-fam-members { display: flex; flex-wrap: wrap; gap: 24px; }
.dt-fam-member {
  display: inline-flex; align-items: center; gap: 16px;
  background: #F4F2EF; border-radius: 100px;
  padding: 20px 36px;
  font-size: 40px; font-weight: 600; color: var(--c-text-dark);
}
.dt-fam-member .role {
  font-size: 28px; font-weight: 700; color: #fff; background: var(--c-brown-2);
  border-radius: 100px; padding: 8px 22px; flex: none;
}
.dt-fam-empty { font-size: 50px; color: var(--c-placeholder); text-align: center; padding: 100px 0; }

.u-center   { display: flex; align-items: center; justify-content: center; }
.u-col      { display: flex; flex-direction: column; }
.text-brown   { color: var(--c-brown); }
.text-brown-2 { color: var(--c-brown-2); }
.text-grey    { color: var(--c-grey-6d); }

/* 입력창은 텍스트 선택 허용 (추가 0722) */
input, textarea {
  -webkit-user-select: text; user-select: text;
}
