/* SrepPortal — компактные кнопки по всему сайту.
   Раньше разные файлы делали кнопки 46–52 px; теперь везде единый аккуратный размер.
   Круглые/иконочные кнопки (отправка, плеер, закрыть) не затрагиваются — только текстовые кнопки действий. */
:root { --btn-h: 34px; --btn-h-m: 38px; }

.btn-ok, .btn-danger, .btn-outline, a.btn-ok, a.btn-danger, a.btn-outline, .cm-btn, a.cm-btn,
.settings-page button[type=submit], .settings-page.st button[type=submit], .settings-page.st .btn-ok, .settings-page.st .btn-danger, .settings-page.st .btn-outline,
.security-block button, .balance-topup-form button, .edit-profile-form button[type=submit],
.auth-card button[type=submit], .admin-action-btn, .admin-page button[type=submit],
.profile-actions-row a.btn-ok, .profile-actions-row button, .pf.pf .btn-ok {
  min-height: var(--btn-h) !important;
  padding: 6px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  border-radius: 10px !important;
  gap: 6px;
  letter-spacing: .1px;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-ok svg, .btn-danger svg, .btn-outline svg, .cm-btn svg, .admin-action-btn svg,
.settings-page button svg, .edit-profile-form button svg, .profile-actions-row button svg { width: 15px; height: 15px; flex: none; }

.btn-ok:hover, .btn-danger:hover, .btn-outline:hover, .cm-btn:hover, .admin-action-btn:hover { filter: brightness(1.06); }
.btn-ok:active, .btn-danger:active, .btn-outline:active, .cm-btn:active, .admin-action-btn:active { transform: scale(.97); }
.btn-ok:focus-visible, .btn-danger:focus-visible, .btn-outline:focus-visible { outline: 2px solid rgba(110,140,255,.7); outline-offset: 2px; }

@media (max-width: 700px) {
  .btn-ok, .btn-danger, .btn-outline, a.btn-ok, a.btn-danger, a.btn-outline, .cm-btn, a.cm-btn,
  .settings-page button[type=submit], .settings-page.st button[type=submit], .settings-page.st .btn-ok, .settings-page.st .btn-danger, .settings-page.st .btn-outline,
  .security-block button, .balance-topup-form button, .edit-profile-form button[type=submit],
  .auth-card button[type=submit], .admin-action-btn, .admin-page button[type=submit],
  .profile-actions-row a.btn-ok, .profile-actions-row button, .pf.pf .btn-ok {
    min-height: var(--btn-h-m) !important;
    padding: 7px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
}
