.ov-auth-mobile-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.ov-auth-slide-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 176px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.ov-lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 90;
  display: inline-flex;
  height: 2.25rem;
  min-width: 4.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 9999px;
  background: rgb(10 10 10 / 0.82);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  color: rgb(244 244 245);
  padding: 0 0.8rem;
  font: 700 0.72rem/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ov-lang-flag {
  position: relative;
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.42), inset 0 0 0 1px rgb(0 0 0 / 0.1);
}

.ov-lang-flag-ru {
  background: linear-gradient(to bottom, #fff 0 33.333%, #1c57a7 33.333% 66.666%, #d52b1e 66.666% 100%);
}

.ov-lang-flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 7.69%, #fff 7.69% 15.38%);
}

.ov-lang-flag-us::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 56%;
  height: 54%;
  background: radial-gradient(circle, #fff 0 0.65px, transparent 0.8px) 0 0 / 3px 3px, #3c3b6e;
}

.ov-lang-label {
  transform: translateY(0.01em);
}

.ov-lang-switch:hover {
  transform: translateY(-1px);
  border-color: rgb(168 85 247 / 0.65);
  background: rgb(24 18 30 / 0.92);
}

.ov-lang-switch:focus-visible {
  outline: 2px solid rgb(168 85 247);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .ov-lang-switch {
    top: 0.65rem;
    right: 3.5rem;
    height: 2rem;
    min-width: 4.1rem;
  }
}
@media (min-width: 1024px) {
  .ov-auth-mobile-logo { display: none; }
}

@media (min-width: 768px) {
  .ov-panel-shell {
    max-width: 78rem;
    padding: 2rem 1.5rem 4rem;
  }
}

.ov-dashboard {
  width: 100%;
}

.ov-dashboard-heading {
  padding: 0.15rem 0 0.1rem;
}

.ov-greeting-avatar {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(168 85 247 / 0.16);
  color: rgb(192 132 252);
  font-size: 0.85rem;
}

.ov-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ov-dashboard-card,
.ov-global-tasks {
  border: 1px solid rgb(255 255 255 / 0.07) !important;
  border-radius: 0.25rem !important;
  background: rgb(13 13 14 / 0.96) !important;
  box-shadow: 0 14px 38px rgb(0 0 0 / 0.16);
}

.ov-metric-card {
  min-height: 7.25rem;
  padding: 1rem;
}

.ov-metric-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(168 85 247);
}

.ov-metric-icon svg {
  width: 100%;
  height: 100%;
}

.ov-metric-value {
  display: block;
  margin-top: 0.7rem;
  color: rgb(244 244 245);
  font: 700 2rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ov-metric-label {
  display: block;
  margin-top: 0.45rem;
  color: rgb(161 161 170);
  font-size: 0.82rem;
}

.ov-global-tasks {
  min-height: 6.05rem;
  padding: 1rem !important;
}

.ov-card-title {
  color: rgb(244 244 245);
  font-size: 0.9rem;
  font-weight: 650;
}

.ov-plan-card,
.ov-network-card {
  padding: 1rem;
}

.ov-updates-card {
  padding: 1.5rem;
}

.ov-plan-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.ov-plan-icon {
  display: flex;
  width: 3.3rem;
  height: 3.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgb(168 85 247 / 0.13);
  color: rgb(192 132 252);
  font-size: 2rem;
}

.ov-plan-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
}

.ov-plan-copy strong {
  color: rgb(244 244 245);
  font-size: 1rem;
}

.ov-plan-copy span {
  overflow: hidden;
  color: rgb(161 161 170);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-plan-action {
  border: 1px solid rgb(168 85 247 / 0.3);
  border-radius: 0.45rem;
  background: rgb(168 85 247 / 0.13);
  color: rgb(216 180 254);
  padding: 0.68rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ov-plan-action:hover {
  transform: translateY(-1px);
  border-color: rgb(168 85 247 / 0.55);
  background: rgb(168 85 247 / 0.21);
}

.ov-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ov-update-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 1rem;
}

.ov-update-tab {
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: rgb(161 161 170);
  padding: 0.5rem 0.15rem;
  font-size: 0.78rem;
  font-weight: 550;
  transition: color 160ms ease, background-color 160ms ease;
}

.ov-update-tab-active {
  border-color: transparent !important;
  background: rgb(168 85 247 / 0.14) !important;
  color: rgb(233 213 255) !important;
  box-shadow: none;
  padding-inline: 0.7rem;
}

.ov-update-tab-active::after {
  bottom: -0.08rem;
}

.ov-update-body {
  margin-top: 1.15rem;
  border-left: 1px solid rgb(168 85 247 / 0.45);
  padding: 0.35rem 0 0.35rem 1.2rem;
}

.ov-network-live {
  border-radius: 9999px;
  background: rgb(34 197 94 / 0.12);
  color: rgb(74 222 128);
  padding: 0.28rem 0.55rem;
  font: 700 0.58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.ov-network-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  color: rgb(161 161 170);
  font-size: 0.68rem;
}

.ov-network-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.ov-network-legend i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 9999px;
}

.ov-attack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  gap: 1.5rem;
  align-items: start;
}

.ov-attack-form,
.ov-attack-ongoing {
  min-width: 0;
}

.ov-attack-ongoing {
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 1023px) {
  .ov-attack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-attack-ongoing {
    position: static;
  }
}

@media (max-width: 767px) {
  .ov-dashboard-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-metric-card {
    min-height: 8rem;
  }

  .ov-plan-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ov-plan-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.ov-update-tab {
  position: relative;
}

.ov-update-tab-active {
  border-color: rgb(168 85 247 / 0.7) !important;
  background: rgb(168 85 247 / 0.16) !important;
  color: rgb(233 213 255) !important;
  box-shadow: 0 0 0 1px rgb(168 85 247 / 0.12), 0 6px 22px rgb(88 28 135 / 0.18);
}

.ov-update-tab-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  width: 1.25rem;
  height: 0.13rem;
  border-radius: 9999px;
  background: rgb(192 132 252);
  box-shadow: 0 0 9px rgb(168 85 247 / 0.75);
  transform: translateX(-50%);
}

.ov-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border-radius: 9999px;
  border: 1px solid rgb(168 85 247 / 0.35);
  background: rgb(168 85 247 / 0.1);
  padding: 0.5rem 0.8rem;
  color: rgb(216 180 254);
  font: 600 0.75rem/1 system-ui, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ov-support-link:hover {
  transform: translateY(-1px);
  border-color: rgb(168 85 247 / 0.65);
  background: rgb(168 85 247 / 0.18);
}

.ov-backup-modal {
  animation: ov-backup-fade 180ms ease-out both;
}

.ov-backup-dialog {
  background:
    radial-gradient(circle at 50% 0%, rgb(168 85 247 / 0.11), transparent 42%),
    rgb(13 13 14 / 0.98) !important;
  animation: ov-backup-rise 260ms cubic-bezier(.2, .75, .2, 1) both;
}

.ov-backup-mascot {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 22px rgb(168 85 247 / 0.18));
}

.ov-backup-telegram {
  display: flex;
  width: 100%;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
  border: 1px solid rgb(192 132 252 / 0.55);
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgb(147 51 234), rgb(192 38 211));
  box-shadow: 0 12px 34px rgb(126 34 206 / 0.24);
  color: white;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.ov-backup-telegram:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.ov-backup-dismiss {
  margin-top: 1rem;
  color: rgb(161 161 170);
  font-size: 0.78rem;
  transition: color 160ms ease;
}

.ov-backup-dismiss:hover {
  color: rgb(244 244 245);
}

@keyframes ov-backup-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ov-backup-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ov-password-recovery {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: -0.35rem;
  padding: 0.15rem 0.1rem 0;
  font-family: Inter, system-ui, sans-serif;
}

.ov-password-recovery a {
  color: rgb(216 180 254);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ov-password-recovery a:hover { color: white; }

.ov-password-recovery span {
  color: rgb(161 161 170);
  font-size: 0.72rem;
  line-height: 1.35;
}

