/* plane-impersonate.css v3 — God Mode switch + crown + banner */

.plane-imp-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(90deg, #7c2d12 0%, #c2410c 50%, #7c2d12 100%);
  color: #fff;
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  direction: rtl;
}

.plane-imp-banner strong {
  font-weight: 700;
}

.plane-imp-banner button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
}

.plane-imp-banner button:hover {
  background: rgba(255, 255, 255, 0.28);
}

html[data-plane-imp-active] body {
  padding-top: 44px;
}

.plane-imp-col-head {
  text-align: center !important;
  min-width: 72px;
  font-weight: 600;
}

.plane-imp-col-cell {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 0.35rem 0.5rem !important;
}

.plane-imp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}

.plane-imp-btn:hover {
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(59, 130, 246, 0.6);
  transform: scale(1.06);
}

.plane-imp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.plane-imp-emoji {
  font-size: 16px;
  line-height: 1;
}

.plane-imp-btn-self {
  opacity: 0.35;
  pointer-events: none;
}

.plane-godmode-crown {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.55);
  background: rgba(20, 16, 8, 0.88);
  color: #fde68a;
  cursor: pointer;
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  direction: rtl;
}

html[data-plane-imp-active] .plane-godmode-crown {
  top: 56px;
}

.plane-godmode-crown:hover {
  background: rgba(69, 48, 10, 0.95);
  border-color: rgba(250, 204, 21, 0.8);
}

.plane-godmode-crown-active {
  border-color: rgba(249, 115, 22, 0.7);
  color: #ffedd5;
  background: rgba(67, 20, 7, 0.92);
}

.plane-godmode-crown-label {
  line-height: 1;
}

.plane-imp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 2147483646;
  max-width: min(92vw, 420px);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  direction: rtl;
  text-align: center;
}

.plane-imp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
