/* ==================== v95 CARE CONCIERGE-GRADE LIVE SCREEN MIRROR & FULLSCREEN PHONE STUDIO ==================== */
.gfc-ls-root {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gfc-ls-toprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gfc-ls-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
}

.gfc-ls-status.waiting {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}

.gfc-ls-mode-seg {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
}

.gfc-ls-mode-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  color: #334155;
  white-space: nowrap;
}

.gfc-ls-mode-btn.active-ring {
  background: linear-gradient(135deg, #B47B12 0%, #8E5D08 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(180, 123, 18, 0.3);
}

.gfc-ls-mode-btn.active-tap {
  background: #173753 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(23, 55, 83, 0.28);
}

.gfc-ls-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gfc-ls-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex: 1 1 auto;
  white-space: nowrap;
}

.gfc-ls-tool-btn.active {
  background: #173753 !important;
  border-color: #173753 !important;
  color: #FFFFFF !important;
}

.gfc-ls-tool-btn.fullscreen-cta {
  background: #173753 !important;
  border-color: #0F2940 !important;
  color: #FFFFFF !important;
}

.gfc-ls-bezel {
  background: #0B1522;
  border: 3px solid #1E293B;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.gfc-ls-bezel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #0F1D2E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 700;
}

.gfc-ls-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111C2B;
  overflow: hidden;
  user-select: none;
  cursor: crosshair;
  touch-action: manipulation;
}

.gfc-ls-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  display: block;
}

.gfc-ls-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  color: #E2E8F0;
}

.gfc-hit-target {
  position: absolute;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.001);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
  z-index: 4;
}

.gfc-ls-stage.show-outlines .gfc-hit-target {
  border-color: rgba(250, 204, 21, 0.72) !important;
  background: rgba(250, 204, 21, 0.08) !important;
}

.gfc-hit-target:hover,
.gfc-hit-target:active {
  border-color: #FACC15 !important;
  background: rgba(250, 204, 21, 0.22) !important;
}

@keyframes gfcPulseRing {
  0%   { transform: translate(-50%, -50%) scale(0.55); opacity: 1; }
  70%  { transform: translate(-50%, -50%) scale(1.45); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.85); opacity: 0; }
}

.gfc-pulse-marker {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3.5px solid #FACC15;
  background: rgba(250, 204, 21, 0.28);
  box-shadow: 0 0 0 4px rgba(180, 123, 18, 0.35), 0 0 20px rgba(250, 204, 21, 0.85);
  pointer-events: none;
  z-index: 8;
  animation: gfcPulseRing 1.3s ease-out infinite;
}

.gfc-ls-strip-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.gfc-ls-strip-scroll::-webkit-scrollbar {
  display: none;
}

.gfc-ls-qtab {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #1E293B;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.gfc-ls-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 112px;
  overflow-y: auto;
  padding: 2px 0;
}

.gfc-ls-chip {
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gfc-ls-chip:active {
  background: #173753;
  color: #FFFFFF;
}

/* Fullscreen & 90-Degree Landscape Phone Studio Modal */
#gfcLiveStudioModal {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: #07101B;
  color: #F8FAFC;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#gfcLiveStudioModal.open {
  display: flex !important;
}

.gfc-studio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: #0F1E30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.gfc-studio-bar::-webkit-scrollbar {
  display: none;
}

.gfc-studio-btn {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.gfc-studio-btn.on-ring {
  background: #C28412 !important;
  border-color: #FACC15 !important;
}

.gfc-studio-btn.on-tap {
  background: #2563EB !important;
  border-color: #60A5FA !important;
}

.gfc-studio-btn.on-toggle {
  background: #059669 !important;
  border-color: #34D399 !important;
}

.gfc-studio-viewport {
  flex: 1 1 0%;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  background: #07101B;
}

.gfc-studio-drawer {
  flex-shrink: 0;
  background: #0F1E30;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 36vh;
  overflow-y: auto;
}

#gfcLiveStudioModal.rotated-90 .gfc-studio-drawer {
  display: none !important;
}

#gfcLiveStudioModal .gfc-ls-chip {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
  color: #F8FAFC !important;
}

#gfcLiveStudioModal .gfc-ls-qtab {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: #E2E8F0 !important;
}

html body #gfcInlineLiveMount { display: flex !important; }

/* ==================== v97 SUPPRESS LEGACY REPLICA DUPLICATES & STICKY GAP ==================== */
html body #gfCareCopilotCard > *:not(#gfcInlineLiveMount),
html body #gfCareCopilotCard .v52-replica-stage,
html body #gfCareCopilotCard [class*="v52-replica"],
html body #v52ReplicaModal,
html body #gfV52ReplicaModal,
html body #gfCopilotModal,
html body #m8CopilotModal,
html body div.fixed[id*="Replica" i],
html body div.fixed[id*="Copilot" i]:not(#gfcLiveStudioModal) {
  display: none !important;
}

html body .gf-v51-dash-shell > main {
  padding-top: 0 !important;
}

html body .v51-seg-bar {
  top: 0 !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}

