/* [2026-11-02] 듀얼 모니터 · 이 기기로 받기 (services.html#dualc · js/dualc.js) */
.dc-card { min-width: 0; box-sizing: border-box; overflow-wrap: anywhere; word-break: keep-all; background: #fff; color: var(--ink); border-radius: 22px; padding: 28px 28px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.22); max-width: 520px; width: 100%; justify-self: end; }
.dc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.dc-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green-lt); display: grid; place-items: center; font-size: 22px; }
.dc-head h2 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 2px 0 4px; }
.dc-head p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.dc-lab { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.dc-lab small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dc-mine { font-size: 13.5px; line-height: 1.6; color: var(--body); background: var(--tint); border-radius: 12px; padding: 11px 14px; margin: 0 0 20px; }
.dc-mine a { color: var(--green-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dc-form { display: flex; gap: 8px; }
/* [11-02] 아이폰 사파리 = 입력칸 기본 너비(글자 20개)가 카드 최소 너비가 돼 화면 밖으로 → width:0 + flex 로만 늘림 */
.dc-form input { flex: 1 1 0; width: 0; min-width: 0; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 20px; letter-spacing: 6px; text-align: center; color: var(--ink); background: #fff; }
.dc-form input::placeholder { letter-spacing: 0; font-size: 16px; color: #a9aeb5; }
.dc-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,154,125,.15); }
.dc-form button { flex: none; height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.dc-form button:hover { background: var(--green-dk); }
.dc-hint { min-height: 20px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.dc-hint.err { color: #d93a3f; }
.dc-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.dc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dc-steps li { list-style: none; background: var(--tint); border-radius: 18px; padding: 24px; }
.dc-steps b { display: block; font-size: 13px; letter-spacing: 1.5px; color: var(--green); margin-bottom: 8px; }
.dc-steps strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.dc-steps span { display: block; font-size: 14.5px; line-height: 1.65; color: var(--body); }
@media (max-width: 960px) {
  .svc-panel[data-key="dualc"] .svc-hero-in { grid-template-columns: minmax(0, 1fr); }
  .svc-panel[data-key="dualc"] .svc-hero-in > * { min-width: 0; }
  .dc-card { justify-self: stretch; max-width: none; padding: 22px 18px 20px; }
  .dc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .dc-form button { padding: 0 16px; }
  .dc-form input { font-size: 18px; letter-spacing: 3px; }
}

/* ---- 받는 화면(전체 화면) */
html.dc-on, html.dc-on body { overflow: hidden; }
#dc-viewer { position: fixed; inset: 0; background: #000; z-index: 1000; overflow: hidden; }
#dc-viewer[hidden] { display: none; }
#dc-rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
#dc-viewer.cover #dc-rv { object-fit: cover; }
#dc-touch { position: absolute; inset: 0; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: default; }
#dc-viewer.noctl #dc-touch { pointer-events: none; }
.dc-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #ddd; pointer-events: none; padding: 0 24px; text-align: center; }
.dc-wait[hidden] { display: none; }
.dc-wait p { white-space: pre-line; font-size: 15px; line-height: 1.6; }
.dc-spin { width: 38px; height: 38px; border: 3px solid #333; border-top-color: #2fc79f; border-radius: 50%; animation: dcsp 1s linear infinite; }
.dc-spin[hidden] { display: none; }
@keyframes dcsp { to { transform: rotate(360deg); } }
.dc-stat { position: absolute; left: 10px; top: max(10px, env(safe-area-inset-top)); background: rgba(0,0,0,.6); color: #cfe; font: 12px/1.4 ui-monospace, Consolas, monospace; padding: 6px 9px; border-radius: 8px; pointer-events: none; white-space: pre; }
.dc-stat[hidden] { display: none; }
.dc-bartog { position: absolute; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(20,20,20,.55); color: #fff; font-size: 20px; cursor: pointer; opacity: .55; }
.dc-bar { position: absolute; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(20,20,20,.82); backdrop-filter: blur(8px); transition: opacity .25s, transform .25s; max-width: calc(100vw - 72px); overflow-x: auto; }
.dc-bar.hide { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.dc-bar button { flex: none; width: 46px; height: 42px; border: 0; border-radius: 11px; background: transparent; color: #fff; font-size: 19px; cursor: pointer; }
.dc-bar button.on { background: rgba(47,199,159,.35); }
.dc-bar button.danger { color: #ff8a8d; }
.dc-bar button:hover { background: rgba(255,255,255,.12); }
.dc-keys { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 62px); display: grid; grid-template-columns: repeat(4, auto); gap: 6px; padding: 8px; border-radius: 14px; background: rgba(20,20,20,.88); max-width: calc(100vw - 32px); }
.dc-keys[hidden] { display: none; }
.dc-keys button { border: 0; border-radius: 9px; padding: 9px 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 14px; cursor: pointer; white-space: nowrap; }
#dc-kb { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; resize: none; }
.dc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #16191d; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 1001; font-size: 14px; max-width: calc(100vw - 32px); }
.dc-toast[hidden] { display: none; }

/* [2026-11-02] 화면 받는 동안 모모톡 상담 단추·맨 위로 화살표 숨김 */
html.dc-on #momo-talk, html.dc-on #momo-top, html.dc-on .mt-toast { display: none !important; }
