/* =========================================================================
 * DADOK 실제 컴포넌트 — 390×844 논리 좌표(px) 기준. tokens.css 토큰 사용.
 * 지도/로봇은 배경 PNG, 인터랙티브 영역만 불투명 컴포넌트로 재구축.
 * ========================================================================= */

/* 재구축 화면 루트 */
.scr {
  position: absolute; inset: 0;
  font-family: var(--font);
  color: var(--c-text);
  display: flex; flex-direction: column;
  background: var(--c-white);
}
.scr * { box-sizing: border-box; }

/* ---- 상태바 (rebuilt) ---- */
.c-status {
  height: 44px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px 0 26px;
  font-family: var(--font-num); font-weight: 600; font-size: 15px; color: var(--c-text);
}
.c-status .sig { display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* ---- 앱바 ---- */
.c-appbar {
  height: 52px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--sp-md);
}
.c-appbar .back {
  width: 32px; height: 32px; border: none; background: transparent;
  font-size: 24px; color: var(--c-text); cursor: pointer; line-height: 1;
  display: flex; align-items: center; margin-left: -4px;
}
.c-appbar .title { font-weight: var(--fw-bold); font-size: var(--fs-subtitle); }
.c-appbar .right {
  display: flex; align-items: center; gap: 4px;
  font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--c-text-2);
}

/* ---- 공용 CTA 버튼 ---- */
.c-cta {
  height: 56px; flex: 0 0 auto;
  border: none; border-radius: var(--r-xl);
  background: var(--c-green); color: var(--c-white);
  font-family: var(--font); font-weight: var(--fw-bold); font-size: var(--fs-subtitle);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-xs);
  cursor: pointer; width: 100%;
}
.c-cta:active { filter: brightness(.95); }
.c-cta .ico { font-size: 18px; }

/* ---- 바텀시트 (지도 위 카드) ---- */
.c-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--c-white);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  box-shadow: 0 -8px 30px rgba(0,0,0,.10);
  display: flex; flex-direction: column;
  font-family: var(--font); color: var(--c-text);
}
.c-sheet .grab {
  width: 40px; height: 4px; border-radius: var(--r-full);
  background: var(--c-border); margin: 10px auto 2px;
}

/* =====================  search01  ===================== */
.s-loc {
  display: flex; align-items: center; gap: 8px;
  padding: 6px var(--sp-md) 10px;
  font-size: var(--fs-caption); color: var(--c-text-3);
}
.s-loc .dot { width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--c-text-dis); flex: 0 0 auto; }

.s-field {
  margin: 4px var(--sp-md) var(--sp-sm);
  height: 52px; flex: 0 0 auto;
  display: flex; align-items: center; gap: var(--sp-sm);
  padding: 0 var(--sp-md);
  background: var(--c-white); border: 1.5px solid var(--c-green);
  border-radius: var(--r-lg); box-shadow: 0 2px 10px rgba(34,197,94,.10);
}
.s-field .gdot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-green); flex: 0 0 auto; }
.s-field input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font); font-size: var(--fs-body); font-weight: var(--fw-medium);
  color: var(--c-text);
}
.s-field input::placeholder { color: var(--c-text-dis); font-weight: var(--fw-medium); }

.s-chips {
  display: flex; gap: var(--sp-xs); padding: 0 var(--sp-md) var(--sp-sm);
  flex: 0 0 auto;
}
.s-chip {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 var(--sp-md);
  background: var(--c-white); border: 1px solid var(--c-border-lt);
  border-radius: var(--r-full); font-size: var(--fs-caption); font-weight: var(--fw-medium);
  color: var(--c-text-2); cursor: pointer; white-space: nowrap;
}
.s-chip .ci { font-size: 15px; }

.s-list { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.s-row {
  display: flex; align-items: center; gap: var(--sp-sm); width: 100%;
  padding: 14px var(--sp-md); border: none; background: var(--c-white);
  border-bottom: 1px solid var(--c-bg); text-align: left; cursor: pointer;
}
.s-row:active { background: var(--c-bg); }
.s-row .pin { color: var(--c-text-dis); font-size: 18px; flex: 0 0 auto; }
.s-row .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-row .main b { font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-row .main small { font-size: var(--fs-small); color: var(--c-text-dis);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-row .dist { font-size: var(--fs-small); color: var(--c-text-muted); flex: 0 0 auto;
  font-family: var(--font-num); }
.s-empty { padding: 40px var(--sp-md); text-align: center; color: var(--c-text-dis); font-size: var(--fs-caption); }

/* =====================  call04: 이름 설정 모달  ===================== */
.c-dim {
  position: absolute; inset: 0;
  background: rgba(10,12,16,.55);
  display: flex; align-items: center; justify-content: center;
}
.c-modal {
  width: 320px; background: var(--c-white);
  border-radius: var(--r-2xl); padding: var(--sp-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-md);
  font-family: var(--font); color: var(--c-text);
}
.c-modal .m-title { text-align: center; font-weight: var(--fw-bold); font-size: var(--fs-h3); }
.c-modal .m-input {
  height: 56px; text-align: center;
  font-family: var(--font); font-weight: var(--fw-bold); font-size: var(--fs-h3);
  color: var(--c-text); background: var(--c-bg);
  border: 2px solid var(--c-green); border-radius: var(--r-xl);
  outline: none; caret-color: var(--c-green);
}
.c-modal .m-input:focus { background: var(--c-white); }
.c-dots { display: flex; justify-content: center; gap: var(--sp-sm); }
.c-dots .dot {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent;
}
.c-dots .dot.sel { border-color: var(--c-text); outline: 2px solid var(--c-white); outline-offset: -4px; }
.c-modal .m-actions { display: flex; gap: var(--sp-sm); margin-top: var(--sp-2xs); }
.c-btn {
  flex: 1; height: 50px; border-radius: var(--r-lg); cursor: pointer;
  font-family: var(--font); font-weight: var(--fw-bold); font-size: var(--fs-body);
  border: none;
}
.c-btn.ghost { background: var(--c-bg); color: var(--c-text-3); }
.c-btn.primary { background: var(--c-green); color: var(--c-white); }
.c-btn:active { filter: brightness(.96); }

/* =====================  이름표 말풍선 (call03 / call03b)  ===================== */
.c-nametag {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface-dk);
  padding: 7px 14px; border-radius: var(--r-full);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  font-family: var(--font); white-space: nowrap;
}
.c-nametag::after {   /* 말풍선 꼬리 — 로봇(오른쪽) 방향 */
  content: ''; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 9px solid var(--c-surface-dk);
}
.c-nametag .pill {
  border: 1.5px solid var(--c-green-acc); border-radius: var(--r-md);
  color: var(--c-green-acc); font-weight: var(--fw-bold); font-size: var(--fs-body);
  padding: 2px 10px; line-height: 1.25;
}
.c-nametag .pen { color: var(--c-white); font-size: 15px; opacity: .95; }

/* =====================  call01 / call01_edit: 호출 설정 바텀시트  ===================== */
.call-sheet { padding: 0 var(--sp-lg) var(--sp-lg); }
.call-sheet .cs-head {
  position: relative; height: 56px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.call-sheet .cs-head .back {
  position: absolute; left: 0; width: 32px; height: 32px; border: none; background: transparent;
  font-size: 26px; color: var(--c-text); cursor: pointer; line-height: 1; display: flex; align-items: center;
}
.call-sheet .cs-head .t { font-weight: var(--fw-bold); font-size: var(--fs-h2); }

.cs-label { font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--c-text-3);
  margin: var(--sp-xs) 0 var(--sp-sm); }

.cs-times { display: flex; align-items: center; gap: var(--sp-sm); height: 80px; overflow-x: auto;
  margin-bottom: var(--sp-md); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cs-times::-webkit-scrollbar { display: none; }
.tchip {
  flex: 0 0 auto; min-width: 84px; height: 64px; padding: 8px var(--sp-md);
  border-radius: var(--r-xl); border: 1.5px solid transparent; background: var(--c-bg);
  color: var(--c-text-muted); font-family: var(--font); font-size: var(--fs-subtitle); font-weight: var(--fw-medium);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  white-space: nowrap; line-height: 1.15;
}
.tchip.sel { min-width: 96px; background: #E9F9EF; border-color: var(--c-green); color: var(--c-green); }
.tchip.sel b { font-weight: var(--fw-bold); font-size: var(--fs-caption); }
.tchip.sel span { font-size: var(--fs-body); font-weight: var(--fw-bold); }

.cs-route { display: flex; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.cs-route .rail { width: 22px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding: 22px 0; }
.cs-route .rail .d1 { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c-text); flex: 0 0 auto; }
.cs-route .rail .d2 { width: 14px; height: 14px; border-radius: 3px; border: 3px solid var(--c-text); flex: 0 0 auto; }
.cs-route .rail .line { width: 2px; flex: 1 1 auto; background: var(--c-text); margin: 2px 0; }
.cs-route .rcards { flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--sp-sm); min-width: 0; }
.rcard {
  height: 68px; padding: 0 var(--sp-md); background: var(--c-white);
  border: 1.5px solid var(--c-border-lt); border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-xs);
  cursor: pointer; text-align: left; min-width: 0;
}
.rcard > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rcard b { font-size: var(--fs-subtitle); font-weight: var(--fw-bold); color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard small { font-size: var(--fs-caption); color: var(--c-text-dis); }
.rcard .chev { color: var(--c-text-dis); font-size: 22px; flex: 0 0 auto; }

.cs-via { display: flex; align-items: center; gap: var(--sp-sm); background: none; border: none;
  padding: var(--sp-xs) 0 var(--sp-lg); cursor: pointer;
  color: var(--c-green); font-family: var(--font); font-size: var(--fs-body); font-weight: var(--fw-bold); }
.cs-via .plus { font-size: 22px; font-weight: var(--fw-medium); line-height: 1; }

.cs-pay { display: flex; align-items: center; gap: var(--sp-sm); padding: var(--sp-sm) 0 var(--sp-lg);
  border-top: 1px solid var(--c-bg); }
.cs-pay .badge { width: 34px; height: 34px; border-radius: var(--r-md); background: var(--c-info);
  color: #fff; font-size: 11px; font-weight: var(--fw-bold); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cs-pay .pname { font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--c-text); }
.cs-pay .fare { margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-body); color: var(--c-text-3); }
.cs-pay .fare .warn { color: var(--c-warning); font-size: 15px; }
.cs-pay .fare b { font-family: var(--font-num); font-size: var(--fs-subtitle); font-weight: var(--fw-bold); color: var(--c-text); }

.call-sheet .cs-cta { margin-top: auto; border-radius: var(--r-full); }

/* =====================  call03: '대기 중' 카운트다운 배지  ===================== */
.c-wait {
  position: absolute;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--c-bg); border-radius: var(--r-full);
  font-family: var(--font); white-space: nowrap;
}
.c-wait span { font-size: var(--fs-caption); color: var(--c-text-3); font-weight: var(--fw-medium); }
.c-wait b { font-family: var(--font-num); font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--c-text); }

/* =====================  move01 / move02: 이동 화면 (완전 재구축)  ===================== */
/* 배경 = 깨끗한 지도(map_clean.png, #screen-img). 아래 요소는 그 위 오버레이. */
.mv-status {  /* 지도 위 상태바 */
  position: absolute; top: 0; left: 0; right: 0; height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px 0 24px;
  font-family: var(--font); font-weight: var(--fw-bold); font-size: 16px; color: var(--c-text);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  pointer-events: none;
}
.mv-status .sig { display: flex; align-items: center; gap: 6px; font-family: var(--font-num); font-size: 13px; }

/* 경로 SVG (지도 위 실선) */
.mv-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mv-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mv-route .ghost { stroke: var(--c-border); stroke-width: 7; stroke-dasharray: 2 14; opacity: .9; }
.mv-route .active { stroke: var(--c-green); stroke-width: 6; }
.mv-route .active.glow { filter: drop-shadow(0 2px 5px rgba(34,197,94,.45)); }

/* 사용자 현재위치 (펄스) */
.mv-loc { position: absolute; transform: translate(-50%,-50%); width: 116px; height: 116px;
  pointer-events: none; display: flex; align-items: center; justify-content: center; }
.mv-loc .halo { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.22), rgba(34,197,94,.05) 60%, transparent 70%); }
.mv-loc .pulse { position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(34,197,94,.35); animation: locpulse 1.8s ease-out infinite; }
.mv-loc .core { position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-green); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
@keyframes locpulse {
  0%   { transform: scale(.5); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* 다독이 로봇 마커 (경로 따라 이동) */
.mv-robot { position: absolute; width: 46px; height: auto; transform: translate(-50%,-50%);
  pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); will-change: left, top; }

/* 공사 중 배지 (지도 위) */
.mv-cons { position: absolute; transform: translate(-50%,-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-surface-dk); color: #fff; padding: 7px 14px; border-radius: var(--r-md);
  font-family: var(--font); font-weight: var(--fw-medium); font-size: 14px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.mv-cons::after { content:''; position:absolute; left:50%; bottom:-6px; transform:translateX(-50%);
  border-left:6px solid transparent; border-right:6px solid transparent; border-top:6px solid var(--c-surface-dk); }

/* 하단 정보 카드 (재구축) */
.mv-card { position: absolute; left: 0; right: 0; bottom: 82px;
  background: var(--c-white); border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,.12);
  padding: 18px var(--sp-lg) 20px; font-family: var(--font); }
.mv-card.warn { display: flex; align-items: center; gap: var(--sp-md); }
.mv-card .wico { width: 40px; height: 40px; border-radius: 50%; background: #FDECEC; color: var(--c-error);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.mv-card h3 { margin: 0 0 6px; font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--c-text); }
.mv-card p { margin: 0; font-size: var(--fs-caption); color: var(--c-text-3); }
.mv-card .eta b { color: var(--c-green); }

/* 하단 네비게이션 바 (재구축 — baked 네비바와 동일한 룩) */
.c-navbar { position: absolute; left: 0; right: 0; bottom: 0; height: 82px;
  display: flex; align-items: flex-start; padding-top: 12px;
  background: linear-gradient(180deg, rgba(232,236,241,.85) 0%, rgba(245,245,245,1) 60%);
  border-radius: 16px 16px 0 0;
  font-family: var(--font); }
.c-navbar .nb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  border: none; background: none; cursor: pointer; color: var(--c-text-muted);
  font-size: 13px; font-weight: var(--fw-medium); letter-spacing: -0.03em; }
.c-navbar .nb .ico { width: 24px; height: 24px; display: block; }
.c-navbar .nb.home { color: #2A2D36; font-weight: var(--fw-bold); }

/* =====================  다독이 탭 (ID 편집 + 대화모드 토글) — baked 위 덮기  ===================== */
.dt-card { position: absolute; background: var(--c-white); border-radius: var(--r-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,.10); font-family: var(--font);
  padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.dt-id { cursor: pointer; }
.dt-lbl { font-size: var(--fs-subtitle); font-weight: var(--fw-bold); color: var(--c-text); }
.dt-idrow { display: flex; align-items: center; justify-content: space-between; }
.dt-name { font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--c-text); }
.dt-pen { color: var(--c-text-3); font-size: 18px; }

.dt-opt { position: absolute; background: var(--c-white);
  border: 2px solid transparent; border-radius: var(--r-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,.10); font-family: var(--font);
  padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; text-align: left; }
.dt-opt .dt-opt-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dt-opt-main b { font-size: 15px; font-weight: var(--fw-bold); color: var(--c-text); white-space: nowrap; }
.dt-opt-main small { font-size: 12px; color: var(--c-text-3); white-space: nowrap; }
.dt-radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--c-border);
  flex: 0 0 auto; position: relative; }
.dt-opt.sel { border-color: var(--c-green); box-shadow: 0 2px 10px rgba(34,197,94,.18); }
.dt-opt.sel .dt-radio { border-color: var(--c-green); }
.dt-opt.sel .dt-radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--c-green); }

/* =====================  arrive: 안전 도착(귀가 완료)  ===================== */
.arrive { position: absolute; inset: 0; background: var(--c-white); font-family: var(--font);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 40px; }
.arrive .check { width: 96px; height: 96px; border-radius: 50%; background: var(--c-green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
  box-shadow: 0 12px 30px rgba(34,197,94,.35); animation: arrivePop .45s cubic-bezier(.2,.9,.3,1.2); }
.arrive .check span { color: #fff; font-size: 52px; line-height: 1; }
.arrive h2 { margin: 0 0 12px; font-size: var(--fs-h1); font-weight: var(--fw-bold); color: var(--c-text); }
.arrive p { margin: 0 0 40px; font-size: var(--fs-body); color: var(--c-text-3); line-height: 1.55; }
.arrive .c-cta { width: 100%; }
@keyframes arrivePop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* =====================  move01b: 우회 안내 카드 오버레이 (baked move02 위)  ===================== */
.mv-infocard { position: absolute; background: var(--c-white); border-radius: var(--r-xl) var(--r-xl) 0 0;
  display: flex; align-items: center; gap: var(--sp-md); padding: 0 20px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08); font-family: var(--font); }
.mv-infocard .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface-dk);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mv-infocard .ic svg { width: 22px; height: 22px; display: block; }
.mv-infocard .tx h3 { margin: 0 0 4px; font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--c-text); }
.mv-infocard .tx p { margin: 0; font-size: var(--fs-caption); color: var(--c-text-3); }

/* 인터랙티브 토글 (rear02 보호자 공유 등) — baked 토글 위 덮기 */
.c-toggle { position: absolute; border-radius: var(--r-full); background: #8B939F; cursor: pointer;
  display: flex; align-items: center; padding: 0 3px; transition: background .2s; }
.c-toggle.on { background: var(--c-green); }
.c-toggle .knob { height: 78%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: margin .18s ease; }
.c-toggle.on .knob { margin-left: auto; }

/* move01b 아이콘 없는 안내 카드 (move01 스타일: 좌측 정렬 텍스트) */
.mv-infocard.noicon { padding: 0 22px; }
.mv-infocard.noicon .tx { display: flex; flex-direction: column; justify-content: center; }

/* =====================  end01: 안내 종료 평가 (칩 토글 + 후기)  ===================== */
.end-chip { position: absolute; background: var(--c-white); border: 1px solid #E0E0E0; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: var(--font); font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--c-text-2);
  white-space: nowrap; padding: 0 4px; }
.end-chip.sel { background: #E9F9EF; border-color: var(--c-green); color: var(--c-green); font-weight: var(--fw-bold); }
.end-review { position: absolute; background: var(--c-white); border: 1px solid #E5E7EB; border-radius: var(--r-lg);
  resize: none; outline: none; padding: 12px; font-family: var(--font); font-size: var(--fs-caption);
  color: var(--c-text); line-height: 1.5; }
.end-review::placeholder { color: #99A1AF; }

/* 다독이 탭 — 로봇 머리 정면 이름표 (baked 위 덮기, state.name 반영) */
.head-tag { position: absolute; transform: translate(-50%, -50%);
  background: transparent; border: none;
  color: var(--c-green-acc); font-family: var(--font); font-weight: var(--fw-bold);
  font-size: 16px; line-height: 1.2; text-align: center; white-space: nowrap;
  text-shadow: 0 0 8px rgba(30,255,161,.45); }

/* 대화모드 재구축 (컴팩트 0.7x) — baked 제거본 위에 */
.dt-modes { position: absolute; background: var(--c-white); border-radius: var(--r-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,.10); font-family: var(--font);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.dt-modes .hd b { font-size: 15px; font-weight: var(--fw-bold); color: var(--c-text); }
.dt-modes .hd small { display: block; font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.dt-opt2 { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1.5px solid var(--c-border-lt); border-radius: var(--r-lg); background: var(--c-white);
  padding: 8px 12px; cursor: pointer; text-align: left; }
.dt-opt2.sel { border-color: var(--c-green); box-shadow: 0 2px 8px rgba(34,197,94,.16); }
.dt-opt2 .m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dt-opt2 .m b { font-size: 13px; font-weight: var(--fw-bold); color: var(--c-text); }
.dt-opt2 .m small { font-size: 10.5px; color: var(--c-text-3); white-space: nowrap; }
.dt-opt2 .r { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-border);
  flex: 0 0 auto; position: relative; }
.dt-opt2.sel .r { border-color: var(--c-green); }
.dt-opt2.sel .r::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--c-green); }

/* 대화모드 baked 카드 위 선택 토글 오버레이 (테두리링 + 라디오) */
.dt-ring2 { position: absolute; border: 2.5px solid #E4E6EA; border-radius: 16px;
  background: transparent; pointer-events: none; box-sizing: border-box; }
.dt-ring2.sel { border-color: var(--c-green); box-shadow: 0 2px 10px rgba(34,197,94,.18); }
.dt-radio3 { position: absolute; transform: translate(-50%,-50%); width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-border); pointer-events: none; box-sizing: border-box; }
.dt-radio3.sel { border-color: var(--c-green); }
.dt-radio3.sel::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--c-green); }
