/* Gọi qua web (zipwork67) */
.wc-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; }
.wc-btn svg { width: 18px; height: 18px; }
.wc-hint { display: block; margin: -2px 2px 2px; color: var(--muted); font-size: 12.5px; line-height: 1.4; text-align: center; }
.wc-hint.on { color: var(--accent); font-weight: 600; }
.wc-hint i, .chat-call.on::after { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22a55a; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in oklab, #22a55a 22%, transparent); }
.cb-act .cb-web { display: inline-flex; align-items: center; gap: 6px; padding: 12px 13px; position: relative; }
.cb-act .cb-web svg { width: 18px; height: 18px; }
.cb-act .cb-web.on::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #22a55a; border: 2px solid var(--surface); }
@media (max-width: 420px) { .cb-act .cb-web span, .cb-act:has(.cb-web) .cb-book span { display: none; } .cb-act:has(.cb-web) .cb-book { padding: 12px 13px; } }
.chat-h .chat-call { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; position: relative; flex: none; }
.chat-h .chat-call.on::after { content: ""; position: absolute; top: 4px; right: 4px; margin: 0; width: 7px; height: 7px; }

/* Màn hình cuộc gọi */
html.wc-open { overflow: hidden; }
.wc { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: color-mix(in oklab, #06201a 62%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wc-in .18s ease-out; }
@keyframes wc-in { from { opacity: 0; } }
.wc.wc-bye { animation: wc-out .4s ease-in 2.2s forwards; }
@keyframes wc-out { to { opacity: 0; } }
.wc-card { width: min(360px, 100%); background: linear-gradient(180deg, #0f4a3e 0%, #0b2f28 100%); color: #f2fbf8; border-radius: 26px; padding: 18px 22px 26px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; }
.wc-top { align-self: stretch; display: flex; justify-content: center; margin-bottom: 22px; }
.wc-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #a7dccf; background: rgba(255, 255, 255, .08); padding: 5px 11px; border-radius: 999px; }
.wc-brand svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.wc-av { position: relative; width: 104px; height: 104px; margin-bottom: 16px; }
.wc-av img, .wc-av span { position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #1d6b5a; font: 600 42px/1 var(--font-display); color: #fff; border: 3px solid rgba(255, 255, 255, .18); }
.wc-pulse { position: absolute; inset: 0; border-radius: 50%; background: #3fb69c; opacity: 0; }
.wc-out .wc-pulse, .wc-in .wc-pulse { animation: wc-ring 1.6s ease-out infinite; }
@keyframes wc-ring { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.7); opacity: 0; } }
.wc-name { font: 600 21px/1.25 var(--font-display); }
.wc-sub { margin-top: 4px; color: #a7dccf; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-st { margin: 14px 0 0; font-size: 15px; color: #d6f0e9; min-height: 1.4em; font-variant-numeric: tabular-nums; }
.wc-live .wc-st { font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.wc-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #bfe3d9; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 9px 12px; }
.wc-btns { display: flex; justify-content: center; gap: 28px; margin-top: 26px; }
.wc-btns [hidden] { display: none !important; }
.wc-b { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; color: #e6f6f1; font: 500 13px/1.2 var(--font-body); cursor: pointer; text-decoration: none; padding: 0; }
.wc-b i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); transition: transform .12s; }
.wc-b:active i { transform: scale(.94); }
.wc-b svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wc-no i { background: #e5484d; }
.wc-no svg { transform: rotate(135deg); }
.wc-yes i { background: #22a55a; animation: wc-shake 1.2s ease-in-out infinite; }
@keyframes wc-shake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }
.wc-mute.on i { background: #fff; }
.wc-mute.on svg { stroke: #0b2f28; }
.wc-chat i { background: #3fb69c; }
.wc-b:focus-visible i { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wc-pulse, .wc-yes i { animation: none !important; } }

/* Camera trong cuộc gọi (zipwork68) */
.wc-vid { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 56vh; border-radius: 18px; overflow: hidden; background: #000; margin-bottom: 12px; }
.wc-vid[hidden] { display: none; }
.wc-vid video { display: block; background: #000; }
.wc-rv { width: 100%; height: 100%; object-fit: contain; display: none !important; }
.wc-has-rv .wc-rv { display: block !important; }
.wc:not(.wc-has-lv) .wc-lv { display: none !important; }
.wc:not(.wc-has-rv) .wc-lv { width: 100%; height: 100%; object-fit: cover; }
.wc-has-rv .wc-lv { position: absolute; right: 10px; bottom: 10px; width: 30%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.wc-lv.mirror { transform: scaleX(-1); }
.wc-has-rv .wc-av, .wc-has-lv .wc-av { display: none; }
.wc-has-rv .wc-card, .wc-has-lv .wc-card { width: min(440px, 100%); padding-top: 14px; }
.wc-has-rv .wc-top, .wc-has-lv .wc-top { margin-bottom: 12px; }
.wc-has-rv .wc-st, .wc-has-lv .wc-st { margin-top: 6px; font-size: 17px; }
.wc-live .wc-btns { gap: 18px; }
.wc-cam.on i { background: #fff; }
.wc-cam.on svg { stroke: #0b2f28; }
@media (max-width: 400px) { .wc-live .wc-btns { gap: 12px; } .wc-live .wc-b i { width: 56px; height: 56px; } .wc-card { padding-left: 14px; padding-right: 14px; } }
