/* QMeet mobile — layout HP + toolbar room ala Zoom */

:root {
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --keyboard-inset: 0px;
}

html.is-mobile,
html.is-android {
  -webkit-tap-highlight-color: transparent;
}

html.is-mobile body,
html.is-android body {
  background: #0b1220;
  background-image: none;
}

html.is-mobile input,
html.is-mobile select,
html.is-mobile textarea,
html.is-android input,
html.is-android select,
html.is-android textarea {
  font-size: 16px !important;
}

/* ========== Login glass — khusus Android ========== */
html.is-android body {
  background: #06101f;
}

html.is-android .auth {
  display: block;
  min-height: 100dvh;
}

html.is-android .auth-aside {
  display: none !important;
}

html.is-android .auth-main {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(20px + var(--safe-t)) 18px calc(20px + var(--safe-b));
  overflow: hidden;
}

html.is-android .auth-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(37, 99, 235, 0.45), transparent 55%),
    radial-gradient(ellipse 90% 60% at 85% 20%, rgba(14, 165, 233, 0.22), transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(59, 130, 246, 0.18), transparent 45%),
    linear-gradient(165deg, #04101f 0%, #071a32 38%, #05101e 100%);
}

html.is-android .auth-scene::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(95vw, 380px);
  height: min(95vw, 380px);
  transform: translateX(-50%);
  background: url('/img/qmeet-icon.png') center / contain no-repeat;
  opacity: 0.11;
  filter: blur(1px);
  pointer-events: none;
}

html.is-android .auth-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.15) 0%, rgba(4, 12, 24, 0.55) 55%, rgba(4, 12, 24, 0.82) 100%);
  pointer-events: none;
}

html.is-android .auth-glass-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 28px 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(12, 28, 56, 0.42);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.08);
}

html.is-android .auth-glass-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

html.is-android .auth-glass-logo .brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

html.is-android .auth-mobile-brand {
  display: none !important;
}

html.is-android .auth-card-head {
  text-align: center;
  margin-bottom: 22px;
}

html.is-android .auth-card-head h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #f8fafc;
}

html.is-android .auth-card-head p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
}

html.is-android .auth-glass-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.is-android .auth-glass-field {
  margin: 0;
  gap: 0;
}

html.is-android .auth-glass-field > label:not(.sr-only) {
  display: none;
}

html.is-android .auth-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 18, 36, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.is-android .auth-input-shell:focus-within {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

html.is-android .auth-input-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: rgba(148, 163, 184, 0.95);
}

html.is-android .auth-input-shell input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f1f5f9;
}

html.is-android .auth-input-shell input::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

html.is-android .auth-input-action {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(148, 163, 184, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

html.is-android .auth-input-action:active {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}

html.is-android .password-toggle .password-toggle-icon {
  display: none;
  width: 22px;
  height: 22px;
}

html.is-android .password-toggle[aria-pressed='false'] .password-toggle-show,
html.is-android .password-toggle[aria-pressed='true'] .password-toggle-hide {
  display: block;
}

html.is-android .auth-glass-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 2px 0 4px;
}

html.is-android .auth-forgot-link {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #60a5fa;
  cursor: pointer;
}

html.is-android .auth-glass-submit {
  height: 52px !important;
  min-height: 52px !important;
  margin-top: 4px;
  border: none !important;
  border-radius: 14px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 48%, #1d4ed8 100%) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.42);
}

html.is-android .auth-glass-submit:active {
  transform: scale(0.99);
}

html.is-android .auth-glass-or {
  margin: 18px 0 14px;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

html.is-android .auth-glass-or::before,
html.is-android .auth-glass-or::after {
  background: rgba(148, 163, 184, 0.28);
}

html.is-android .auth-glass-alt-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: rgba(8, 18, 36, 0.5) !important;
  color: #e2e8f0 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html.is-android .auth-glass-back {
  margin-top: 12px;
}

html.is-android .auth-glass-hint {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.88);
  text-align: center;
}

html.is-android .auth-glass-foot {
  margin-top: 18px !important;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.9) !important;
}

html.is-android .auth-card .error {
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

/* Login — mobile browser (non-Android) ringkas */
html.is-mobile:not(.is-android) .auth-aside {
  display: none !important;
}

html.is-mobile:not(.is-android) .auth-main {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + var(--safe-t)) 20px calc(24px + var(--safe-b));
}

html.is-mobile:not(.is-android) .auth-glass-logo,
html.is-mobile:not(.is-android) .auth-scene {
  display: none;
}

html.is-mobile:not(.is-android) .auth-scene {
  display: none;
}

html.is-mobile:not(.is-android) .auth-mobile-brand {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

html.is-mobile:not(.is-android) .auth-card {
  width: 100%;
  max-width: 400px;
}

html.is-mobile:not(.is-android) .auth-card input,
html.is-mobile:not(.is-android) .auth-card .btn-primary {
  min-height: 48px;
  border-radius: 10px;
}

/* ========== Lobby — mobile / Android ========== */
html.is-mobile body:has(.lobby),
html.is-android body:has(.lobby) {
  background: #0a101f !important;
  background-image: none !important;
}

html.is-mobile body:has(.page-flow),
html.is-android body:has(.page-flow) {
  background: #06101f !important;
  background-image: none !important;
}

html.is-mobile .lobby-text-btn,
html.is-android .lobby-text-btn {
  font-size: 0.72rem;
}

html.is-mobile .lobby-mascot,
html.is-android .lobby-mascot {
  width: min(64vw, 235px);
}

html.is-mobile .lobby-btn,
html.is-android .lobby-btn {
  min-height: 50px;
  padding: 11px 8px;
}

html.is-mobile .lobby-btn__label,
html.is-android .lobby-btn__label {
  font-size: 0.8rem;
}

html.is-mobile .lobby-tip__text,
html.is-android .lobby-tip__text {
  font-size: 0.78rem;
}

/* ========== Create / Join ========== */
html.is-mobile .page-flow,
html.is-android .page-flow {
  align-items: center;
  justify-content: center;
  padding: calc(16px + var(--safe-t)) 16px calc(20px + var(--safe-b));
}

html.is-mobile .page-flow .card-glass,
html.is-android .page-flow .card-glass {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

html.is-mobile .page-flow .card-flow,
html.is-android .page-flow .card-flow {
  padding: 22px 20px 24px;
  border-radius: 26px;
}

html.is-mobile .page-flow .form,
html.is-android .page-flow .form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html.is-mobile .page-flow .field,
html.is-android .page-flow .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

html.is-mobile .page-flow .field label,
html.is-android .page-flow .field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
}

html.is-mobile .page-flow .flow-input-shell input,
html.is-android .page-flow .flow-input-shell input {
  font-size: 16px !important;
}

html.is-mobile .page-flow .field-btn-row .btn,
html.is-android .page-flow .field-btn-row .btn {
  height: 44px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 18, 36, 0.45);
  color: #cbd5e1;
}

html.is-mobile .page-flow .field-hint,
html.is-android .page-flow .field-hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.9);
}

html.is-mobile .page-flow .flow-submit,
html.is-android .page-flow .flow-submit {
  height: 52px;
  min-height: 52px;
}

/* Legacy .page fallback */
html.is-mobile .page:not(.page-flow),
html.is-android .page:not(.page-flow) {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(16px + var(--safe-t)) 16px calc(24px + var(--safe-b));
  background: #06101f;
}

html.is-mobile .page:not(.page-flow) .card,
html.is-android .page:not(.page-flow) .card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 21, 34, 0.96);
}

html.is-mobile .page:not(.page-flow) .form,
html.is-android .page:not(.page-flow) .form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.is-mobile .page:not(.page-flow) .field,
html.is-android .page:not(.page-flow) .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

html.is-mobile .page:not(.page-flow) .input-row:not(.password-field),
html.is-android .page:not(.page-flow) .input-row:not(.password-field) {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.is-mobile .page:not(.page-flow) input,
html.is-android .page:not(.page-flow) input,
html.is-mobile .page:not(.page-flow) .btn,
html.is-android .page:not(.page-flow) .btn {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  border-radius: 12px;
}

html.is-mobile .page:not(.page-flow) input,
html.is-android .page:not(.page-flow) input {
  height: 50px;
  padding: 0 14px;
}

/* ========== Room — Zoom-style bottom bar ========== */
@media (max-width: 900px), (pointer: coarse) {
  html.is-mobile body.zoom-room,
  html.is-android body.zoom-room {
    --zm-ctrl-size: 28px;
    --zm-ctrl-glyph: 26px;
    background: #000;
    background-image: none;
  }

  html.is-mobile .zm-topbar,
  html.is-android .zm-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: calc(8px + var(--safe-t)) 12px 8px;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
  }

  html.is-mobile .zm-top-left strong,
  html.is-android .zm-top-left strong {
    font-size: 0.95rem;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.is-mobile .zm-chip,
  html.is-mobile .zm-shield,
  html.is-android .zm-chip,
  html.is-android .zm-shield {
    height: 30px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: #1a1a1a;
    border-color: #333;
  }

  html.is-mobile .zm-stage,
  html.is-android .zm-stage {
    flex: 1;
    min-height: 0;
    background: #000;
  }

  html.is-mobile .video-grid,
  html.is-android .video-grid {
    padding: 6px !important;
    align-content: center;
    justify-content: center;
    gap: 8px;
  }

  html.is-mobile .video-grid:not(.is-stage-mode) > .video-tile,
  html.is-android .video-grid:not(.is-stage-mode) > .video-tile {
    max-width: 100%;
  }

  html.is-mobile .zm-filmstrip,
  html.is-android .zm-filmstrip {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 4px;
    scrollbar-width: none;
  }

  html.is-mobile .zm-filmstrip::-webkit-scrollbar,
  html.is-android .zm-filmstrip::-webkit-scrollbar {
    display: none;
  }

  html.is-android .video-tile:not(.screen-tile) video {
    object-fit: contain;
    object-position: center;
    background: #000;
  }

  html.is-mobile .room-status,
  html.is-android .room-status {
    top: calc(52px + var(--safe-t));
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.45;
    border-radius: 16px;
    pointer-events: none;
  }

  html.is-mobile .room-status:not([hidden]),
  html.is-android .room-status:not([hidden]) {
    animation: zm-status-pop-in-mobile 0.22s ease-out;
  }

  @keyframes zm-status-pop-in-mobile {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* --- Bottom bar: 5 kolom rata --- */
  html.is-mobile .zm-toolbar,
  html.is-android .zm-toolbar {
    display: block !important;
    position: relative;
    padding: 0;
    background: #000;
    border-top: 1px solid #1a1a1a;
    overflow: visible;
  }

  html.is-mobile .zm-toolbar-side-left,
  html.is-mobile .zm-toolbar-side-right,
  html.is-android .zm-toolbar-side-left,
  html.is-android .zm-toolbar-side-right {
    display: none !important;
  }

  html.is-mobile .zm-tb-primary,
  html.is-android .zm-tb-primary {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    justify-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 4px calc(10px + var(--safe-b));
    gap: 0;
    background: #000;
  }

  html.is-mobile .zm-tb-primary > .zm-ctrl,
  html.is-mobile .zm-tb-primary > .zm-ctrl-wrap,
  html.is-android .zm-tb-primary > .zm-ctrl,
  html.is-android .zm-tb-primary > .zm-ctrl-wrap {
    width: 100%;
    max-width: 76px;
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl,
  html.is-mobile .zm-tb-primary .zm-ctrl-video,
  html.is-mobile .zm-tb-primary .zm-ctrl-share-wrap,
  html.is-android .zm-tb-primary .zm-ctrl,
  html.is-android .zm-tb-primary .zm-ctrl-video,
  html.is-android .zm-tb-primary .zm-ctrl-share-wrap {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  /* Ikon outline putih, tanpa kotak abu (ala Zoom) */
  html.is-mobile .zm-tb-primary .zm-ctrl > .zm-ctrl-icon,
  html.is-mobile .zm-tb-primary .zm-ctrl-main .zm-ctrl-icon,
  html.is-android .zm-tb-primary .zm-ctrl > .zm-ctrl-icon,
  html.is-android .zm-tb-primary .zm-ctrl-main .zm-ctrl-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: none !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl-icon svg,
  html.is-android .zm-tb-primary .zm-ctrl-icon svg {
    width: 26px !important;
    height: 26px !important;
    transform: none !important;
  }

  /* Cam/share: caret video tetap terlihat & mudah ditekan */
  html.is-mobile .zm-tb-primary .zm-ctrl-split,
  html.is-android .zm-tb-primary .zm-ctrl-split {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl-main,
  html.is-android .zm-tb-primary .zm-ctrl-main {
    width: 32px !important;
    height: 32px !important;
    padding: 0;
    background: transparent !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl-caret,
  html.is-android .zm-tb-primary .zm-ctrl-caret {
    display: none !important;
  }

  /* Opsi video: caret cukup besar untuk jari */
  html.is-mobile .zm-tb-primary #videoCtrlWrap .zm-ctrl-split,
  html.is-android .zm-tb-primary #videoCtrlWrap .zm-ctrl-split {
    min-width: 48px !important;
    gap: 0;
  }

  html.is-mobile .zm-tb-primary #videoOptionsBtn,
  html.is-android .zm-tb-primary #videoOptionsBtn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    min-width: 22px !important;
    height: 32px !important;
    margin: 0;
    border-left: none !important;
    color: #d1d5db !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  html.is-mobile .zm-tb-primary #videoOptionsBtn svg,
  html.is-android .zm-tb-primary #videoOptionsBtn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Share hijau ala Zoom */
  html.is-mobile .zm-tb-primary .zm-ctrl-share-icon,
  html.is-android .zm-tb-primary .zm-ctrl-share-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #00a400 !important;
    color: #fff !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl-share-icon svg,
  html.is-android .zm-tb-primary .zm-ctrl-share-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  html.is-mobile #shareCtrlLabel,
  html.is-android #shareCtrlLabel {
    color: #00a400 !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl.is-off > .zm-ctrl-icon,
  html.is-mobile .zm-tb-primary .zm-ctrl-video:has(.zm-ctrl-main.is-off) .zm-ctrl-main .zm-ctrl-icon,
  html.is-android .zm-tb-primary .zm-ctrl.is-off > .zm-ctrl-icon,
  html.is-android .zm-tb-primary .zm-ctrl-video:has(.zm-ctrl-main.is-off) .zm-ctrl-main .zm-ctrl-icon {
    background: transparent !important;
    color: #fff !important;
  }

  html.is-mobile .zm-tb-primary .zm-ctrl-label,
  html.is-android .zm-tb-primary .zm-ctrl-label {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 2px;
    font-size: 0.62rem !important;
    font-weight: 400 !important;
    line-height: 1.15;
    text-align: center;
    color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html.is-mobile .zm-more-toggle,
  html.is-android .zm-more-toggle {
    display: flex !important;
  }

  html.is-mobile .zm-badge,
  html.is-android .zm-badge {
    top: -4px !important;
    right: -8px !important;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.6rem;
    line-height: 16px;
    background: #e11d48;
    border: none;
  }

  /* --- Sheet Lainnya (portal ke body, di atas backdrop) --- */
  html.is-mobile .zm-tb-secondary,
  html.is-android .zm-tb-secondary {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200 !important;
    margin: 0;
    padding: 8px 16px calc(18px + var(--safe-b));
    border-radius: 18px 18px 0 0;
    background: #1c1c1e;
    border: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: min(72vh, 520px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto !important;
  }

  html.is-mobile .zm-tb-secondary.is-open,
  html.is-android .zm-tb-secondary.is-open {
    display: flex !important;
  }

  html.is-mobile .zm-more-sheet-head,
  html.is-android .zm-more-sheet-head {
    display: flex !important;
    position: relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px 12px;
    color: #fff;
    flex-shrink: 0;
  }

  html.is-mobile .zm-more-handle,
  html.is-android .zm-more-handle {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 999px;
    background: #555;
  }

  html.is-mobile .zm-more-sheet-head strong,
  html.is-android .zm-more-sheet-head strong {
    font-size: 1rem;
    font-weight: 650;
    padding-top: 6px;
  }

  html.is-mobile .zm-more-close,
  html.is-android .zm-more-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #2c2c2e;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: auto;
  }

  html.is-mobile .zm-more-grid,
  html.is-android .zm-more-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
    width: 100%;
    padding: 8px 0 4px;
    justify-items: center;
  }

  html.is-mobile .zm-more-leave-group,
  html.is-android .zm-more-leave-group {
    display: contents !important;
  }

  html.is-mobile #reactionsCtrlWrap,
  html.is-android #reactionsCtrlWrap {
    width: 100%;
    max-width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  html.is-mobile .zm-tb-secondary .zm-more-item,
  html.is-android .zm-tb-secondary .zm-more-item {
    width: 100%;
    max-width: 104px;
    min-height: 88px;
    margin: 0;
    padding: 8px 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    color: #fff !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  /* Rekam tidak tersedia di Android — CSS override karena .zm-more-item pakai display:!important */
  html.is-android #toggleRecordBtn,
  html.is-android #toggleRecordBtn[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  html.is-mobile .zm-tb-secondary .zm-more-item[hidden],
  html.is-android .zm-tb-secondary .zm-more-item[hidden] {
    display: none !important;
  }

  html.is-mobile .zm-tb-secondary .zm-more-item:active,
  html.is-android .zm-tb-secondary .zm-more-item:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  html.is-mobile .zm-tb-secondary .zm-ctrl-icon,
  html.is-android .zm-tb-secondary .zm-ctrl-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 16px !important;
    background: #2c2c2e !important;
    border: none !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  html.is-mobile .zm-tb-secondary .zm-ctrl-icon svg,
  html.is-android .zm-tb-secondary .zm-ctrl-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  html.is-mobile .zm-tb-secondary .zm-ctrl-label,
  html.is-android .zm-tb-secondary .zm-ctrl-label {
    display: block !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
  }

  html.is-mobile .zm-tb-secondary .zm-more-icon-leave,
  html.is-android .zm-tb-secondary .zm-more-icon-leave {
    background: #e11d48 !important;
    color: #fff !important;
  }

  html.is-mobile .zm-tb-secondary .zm-more-icon-end,
  html.is-android .zm-tb-secondary .zm-more-icon-end {
    background: #7f1d1d !important;
    color: #fecaca !important;
  }

  html.is-mobile .zm-tb-secondary .zm-leave,
  html.is-mobile .zm-tb-secondary .zm-end,
  html.is-android .zm-tb-secondary .zm-leave,
  html.is-android .zm-tb-secondary .zm-end {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 4px !important;
  }

  html.is-mobile .zm-record-dot,
  html.is-android .zm-record-dot {
    width: 16px !important;
    height: 16px !important;
  }

  /* Backdrop more — di BAWAH sheet (sheet di body z=1200) */
  html.is-mobile .zm-more-backdrop,
  html.is-android .zm-more-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
  }

  html.is-mobile .zm-more-backdrop[hidden],
  html.is-android .zm-more-backdrop[hidden],
  html.is-mobile .zm-video-opts-backdrop[hidden],
  html.is-android .zm-video-opts-backdrop[hidden] {
    display: none !important;
  }

  /* Menu efek video: panel besar di atas toolbar */
  html.is-mobile .zm-video-opts-backdrop,
  html.is-android .zm-video-opts-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0, 0, 0, 0.45);
  }

  html.is-mobile body.zm-video-opts-open .zm-toolbar,
  html.is-android body.zm-video-opts-open .zm-toolbar {
    z-index: 1160 !important;
  }

  html.is-mobile #videoOptionsMenu:not([hidden]),
  html.is-android #videoOptionsMenu:not([hidden]) {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(92px + var(--safe-b)) !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1170 !important;
    border-radius: 16px !important;
    padding: 10px !important;
    background: #1c1c1e !important;
    border: 1px solid #333 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    pointer-events: auto !important;
  }

  html.is-mobile #videoOptionsMenu .zm-dropdown-item,
  html.is-android #videoOptionsMenu .zm-dropdown-item {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* Hidden HARUS menang — jangan sampai sheet chat/peserta selalu terbuka */
  html.is-mobile .chat-panel[hidden],
  html.is-android .chat-panel[hidden],
  html.is-mobile .zm-side-panel[hidden],
  html.is-android .zm-side-panel[hidden],
  html.is-mobile .zm-part-host-bar[hidden],
  html.is-android .zm-part-host-bar[hidden],
  html.is-mobile .zm-panel-backdrop[hidden],
  html.is-android .zm-panel-backdrop[hidden] {
    display: none !important;
  }

  html.is-mobile .zm-panel-backdrop,
  html.is-android .zm-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
  }

  /* Panels — sheet Zoom: hanya tampil saat tidak [hidden] */
  html.is-mobile .zm-side-panel:not([hidden]),
  html.is-android .zm-side-panel:not([hidden]) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    height: min(78dvh, 640px);
    max-height: calc(100dvh - var(--safe-t) - 48px);
    width: auto !important;
    max-width: none;
    border: none;
    border-top: 1px solid #333;
    border-radius: 16px 16px 0 0;
    background: #1c1c1e;
    z-index: 1050;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.55);
    padding-bottom: var(--safe-b);
  }

  html.is-mobile .zm-side-head,
  html.is-android .zm-side-head {
    flex-shrink: 0;
    padding: 16px 14px 12px;
    border-bottom: 1px solid #2a2a2e;
  }

  html.is-mobile .zm-side-head strong,
  html.is-android .zm-side-head strong {
    font-size: 1rem;
    font-weight: 650;
  }

  html.is-mobile .zm-participants-list,
  html.is-android .zm-participants-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px 8px;
  }

  html.is-mobile .zm-participants-list li,
  html.is-android .zm-participants-list li {
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    min-height: 52px;
    border-radius: 12px;
  }

  html.is-mobile .zm-part-meta,
  html.is-android .zm-part-meta {
    min-width: 0;
    flex: 1;
  }

  html.is-mobile .zm-part-meta strong,
  html.is-android .zm-part-meta strong {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.3;
    word-break: break-word;
  }

  html.is-mobile .zm-part-meta .muted,
  html.is-android .zm-part-meta .muted {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #9ca3af;
    word-break: break-word;
  }

  html.is-mobile .zm-part-actions,
  html.is-android .zm-part-actions {
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: 88px;
  }

  html.is-mobile .zm-part-host-bar:not([hidden]),
  html.is-android .zm-part-host-bar:not([hidden]) {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #2a2a2e;
  }

  html.is-mobile .zm-part-host-bar-btn,
  html.is-android .zm-part-host-bar-btn {
    flex: 1;
    min-height: 44px;
    border-radius: 10px;
  }

  html.is-mobile .chat-panel:not([hidden]),
  html.is-mobile .chat-panel--maximized:not([hidden]),
  html.is-mobile .chat-panel--minimized:not([hidden]),
  html.is-mobile .chat-panel--dragged:not([hidden]),
  html.is-android .chat-panel:not([hidden]),
  html.is-android .chat-panel--maximized:not([hidden]),
  html.is-android .chat-panel--minimized:not([hidden]),
  html.is-android .chat-panel--dragged:not([hidden]) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: var(--keyboard-inset, 0px) !important;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    height: min(82dvh, 680px) !important;
    max-height: calc(100dvh - var(--safe-t) - 18px) !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px 18px 0 0 !important;
    background: linear-gradient(180deg, #202126 0%, #181a20 100%) !important;
    z-index: 1050;
    box-shadow: 0 -14px 48px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }

  html.is-mobile .chat-panel #chatMinimizeBtn,
  html.is-mobile .chat-panel #chatMaximizeBtn,
  html.is-android .chat-panel #chatMinimizeBtn,
  html.is-android .chat-panel #chatMaximizeBtn {
    display: none !important;
  }

  html.is-mobile .chat-header .chat-icon-btn,
  html.is-android .chat-header .chat-icon-btn,
  html.is-mobile .zm-side-head .chat-icon-btn,
  html.is-android .zm-side-head .chat-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2c2c2e;
    color: #fff;
    font-size: 1.25rem;
  }

  html.is-mobile .chat-header,
  html.is-android .chat-header {
    flex-shrink: 0;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: default;
    touch-action: manipulation;
    background: rgba(255, 255, 255, 0.02);
  }

  html.is-mobile .chat-title,
  html.is-android .chat-title {
    font-size: 1rem;
    font-weight: 650;
  }

  html.is-mobile .chat-body,
  html.is-android .chat-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  html.is-mobile .chat-status,
  html.is-android .chat-status {
    flex-shrink: 0;
    margin: 8px 12px 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.72);
  }

  html.is-mobile .chat-messages,
  html.is-android .chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 10px;
    gap: 8px;
    scroll-padding-bottom: 18px;
  }

  html.is-mobile .chat-message,
  html.is-android .chat-message {
    max-width: min(88%, 460px);
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  }

  html.is-mobile .chat-message.outgoing,
  html.is-android .chat-message.outgoing {
    border-bottom-right-radius: 6px;
  }

  html.is-mobile .chat-message:not(.outgoing),
  html.is-android .chat-message:not(.outgoing) {
    border-bottom-left-radius: 6px;
    background: rgba(255, 255, 255, 0.055);
  }

  html.is-mobile .chat-meta,
  html.is-android .chat-meta {
    font-size: 0.68rem;
    margin-bottom: 5px;
    opacity: 0.84;
  }

  html.is-mobile .chat-text,
  html.is-android .chat-text {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  html.is-mobile .chat-form,
  html.is-android .chat-form {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px calc(10px + var(--safe-b));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(24, 26, 32, 0.96);
  }

  html.is-mobile .chat-form input,
  html.is-android .chat-form input {
    flex: 1;
    height: 44px;
    border-radius: 999px;
    padding-inline: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  html.is-mobile .chat-form input::placeholder,
  html.is-android .chat-form input::placeholder {
    color: rgba(255, 255, 255, 0.46);
  }

  html.is-mobile .chat-form .btn,
  html.is-android .chat-form .btn {
    --btn-h: 44px;
    border-radius: 999px;
    padding-inline: 16px;
    flex-shrink: 0;
  }

  html.is-mobile .chat-attach-btn,
  html.is-android .chat-attach-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  html.is-android.keyboard-open .chat-panel:not([hidden]),
  html.is-android.keyboard-open .chat-panel--maximized:not([hidden]),
  html.is-android.keyboard-open .chat-panel--minimized:not([hidden]),
  html.is-android.keyboard-open .chat-panel--dragged:not([hidden]) {
    top: max(56px, calc(var(--safe-t) + 8px)) !important;
    bottom: var(--keyboard-inset, 0px) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 260px !important;
    border-radius: 14px 14px 0 0 !important;
  }

  html.is-android.keyboard-open .chat-header {
    padding-top: 10px;
    padding-bottom: 6px;
  }

  html.is-android.keyboard-open .chat-status {
    margin-top: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  html.is-android.keyboard-open .chat-body {
    flex: 1 1 auto;
    min-height: 0;
  }

  html.is-android.keyboard-open .chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding-top: 10px;
    padding-bottom: 6px;
    scroll-padding-bottom: 8px;
  }

  html.is-android.keyboard-open .chat-form {
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 6px;
  }

  html.is-android.keyboard-open .chat-form input,
  html.is-android.keyboard-open .chat-form .btn,
  html.is-android.keyboard-open .chat-attach-btn {
    height: 40px;
  }

  html.is-android.keyboard-open .chat-form .btn {
    --btn-h: 40px;
  }

  html.is-mobile .zm-share-toast,
  html.is-android .zm-share-toast {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: calc(96px + var(--safe-b)) !important;
    transform: none !important;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    z-index: 1260 !important;
    gap: 12px;
    padding: 14px 14px 15px;
    border-radius: 16px;
    pointer-events: auto;
  }

  html.is-android.keyboard-open .zm-share-toast:not([hidden]) {
    bottom: calc(96px + var(--safe-b) + var(--keyboard-inset, 0px)) !important;
  }

  html.is-mobile .zm-share-toast-body strong,
  html.is-android .zm-share-toast-body strong {
    font-size: 0.95rem;
  }

  html.is-mobile .zm-share-toast-body p,
  html.is-android .zm-share-toast-body p {
    font-size: 0.84rem;
  }

  html.is-mobile .zm-share-toast-body,
  html.is-android .zm-share-toast-body {
    min-width: 0;
  }

  html.is-mobile .zm-share-toast-actions,
  html.is-android .zm-share-toast-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  html.is-mobile .zm-share-toast-deny,
  html.is-mobile .zm-share-toast-approve,
  html.is-android .zm-share-toast-deny,
  html.is-android .zm-share-toast-approve {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  html.is-mobile .zm-chat-toast,
  html.is-android .zm-chat-toast {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: calc(96px + var(--safe-b)) !important;
    transform: none !important;
    width: auto;
    margin: 0;
    z-index: 1260 !important;
    gap: 10px;
    padding: 13px 13px 13px 14px;
    border-radius: 16px;
    pointer-events: auto;
  }

  html.is-android.keyboard-open .zm-chat-toast:not([hidden]) {
    bottom: calc(96px + var(--safe-b) + var(--keyboard-inset, 0px)) !important;
  }

  html.is-mobile .zm-chat-toast-icon,
  html.is-android .zm-chat-toast-icon {
    width: 38px;
    height: 38px;
  }

  html.is-mobile .zm-chat-toast-body strong,
  html.is-android .zm-chat-toast-body strong {
    font-size: 0.92rem;
  }

  html.is-mobile .zm-chat-toast-body p,
  html.is-android .zm-chat-toast-body p {
    font-size: 0.84rem;
  }

  html.is-mobile .zm-recording-banner,
  html.is-android .zm-recording-banner {
    top: calc(12px + var(--safe-t));
    max-width: calc(100vw - 20px);
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  html.is-mobile .zm-toolbar-dropdown,
  html.is-android .zm-toolbar-dropdown {
    bottom: calc(100% + 12px);
    z-index: 90;
  }
}

/* ========== Picture-in-Picture saat screen share ========== */
html.is-pip body.zoom-room,
html.is-pip.is-android body.zoom-room {
  background: #000 !important;
}

html.is-pip .zm-topbar,
html.is-pip .zm-toolbar,
html.is-pip .room-status,
html.is-pip .zm-side-panel,
html.is-pip .zm-view-wrap,
html.is-pip #participantsPanel,
html.is-pip .chat-panel,
html.is-pip .zm-share-toast,
html.is-pip .zm-more-sheet,
html.is-pip #audioUnlockBtn {
  display: none !important;
}

html.is-pip .zm-stage {
  position: fixed !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  min-height: 100% !important;
}

html.is-pip .video-grid {
  display: block !important;
  padding: 0 !important;
  height: 100% !important;
  width: 100% !important;
}

html.is-pip .video-grid .tile:not(.is-local-cam) {
  display: none !important;
}

html.is-pip .video-grid .tile.is-local-cam {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}

html.is-pip .video-grid .tile.is-local-cam video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

html.is-mobile .zm-reactions-menu,
html.is-android .zm-reactions-menu {
  left: 50%;
  right: auto;
  width: min(280px, calc(100vw - 24px));
}

html.is-mobile .tile-actions,
html.is-android .tile-actions {
  opacity: 0;
}

html.is-mobile .video-tile.show-actions .tile-actions,
html.is-android .video-tile.show-actions .tile-actions {
  opacity: 1;
  pointer-events: auto;
}

html.is-mobile .zm-settings-dialog,
html.is-android .zm-settings-dialog {
  width: 100%;
  max-height: min(88dvh, 680px);
  border-radius: 16px 16px 0 0;
  align-self: flex-end;
}

html.is-mobile .zm-toolbar-side-left,
html.is-mobile .zm-toolbar-side-right,
html.is-android .zm-toolbar-side-left,
html.is-android .zm-toolbar-side-right {
  display: none !important;
}

html.is-mobile #leaveGroup,
html.is-android #leaveGroup {
  display: contents !important;
}

html.is-android:not(.is-host) #endConferenceBtn {
  display: none !important;
}

/* Popup kontrol berbagi layar Android (in-app) */
.zm-android-share-banner {
  position: fixed;
  top: calc(52px + var(--safe-t));
  left: 12px;
  right: 12px;
  z-index: 1270;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 22, 36, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
  color: #e8f0ff;
}

.zm-android-share-banner[hidden] {
  display: none !important;
}

.zm-android-share-banner-text {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  position: relative;
}

.zm-android-share-banner-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.zm-android-share-banner-text strong {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
  color: #f8fafc;
}

.zm-android-share-banner-text span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #94a3b8;
}

.zm-android-share-overlay,
.zm-android-share-stop {
  flex: 1 1 calc(50% - 5px);
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, transform 0.12s ease;
}

.zm-android-share-overlay {
  background: #1e293b;
  border: 1px solid #475569;
  color: #e2e8f0;
}

.zm-android-share-overlay[hidden] {
  display: none !important;
}

.zm-android-share-overlay[hidden] ~ .zm-android-share-stop {
  flex: 1 1 100%;
}

.zm-android-share-overlay:active,
.zm-android-share-stop:active {
  transform: scale(0.98);
}

.zm-android-share-stop {
  background: #dc2626;
  color: #fff;
}
