/* ============================================================
   runner.css — Dog Runner · mobile-first
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  height: 100dvh;
}

/* ── RESTRICTED ────────────────────────────────────────────── */
.runner-restricted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  padding: 32px 24px;
  text-align: center;
  background: #0f172a;
}
.runner-restricted-icon { font-size: 64px; margin-bottom: 20px; }
.runner-restricted h2   { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.runner-restricted p    { color: #94a3b8; font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.runner-restricted-sub  { font-size: 13px; }
.btn-runner-restricted  {
  margin-top: 24px;
  padding: 14px 32px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.runner-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.runner-back {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  padding: 0 8px;
  touch-action: manipulation;
}
.runner-header-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f1f5f9;
}
.runner-hist-btn {
  background: none;
  border: none;
  font-size: 22px;
  padding: 4px 8px;
  touch-action: manipulation;
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.runner-stats {
  position: fixed;
  top: 52px; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 16px;
  background: rgba(15, 23, 42, .1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.stat-value {
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgb(69, 181, 255);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* ── RALLY BADGE ────────────────────────────────────────────── */
.rally-badge {
  position: fixed;
  top: 120px; left: 50%;
  transform: translateX(-50%);
  z-index: 29;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.rally-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── NAVIGATION BAR ─────────────────────────────────────────── */
.frontmenu {
  width: 100%;
  height: 64px;
  position: fixed;
  background-color: #000;
  left: 0;
  bottom: 0;
  z-index: 20;
}
.frontmenu .menuFon { height: 100%; }
.frontmenu .barra   { height: 100%; }

/* ── MAP ────────────────────────────────────────────────────── */
/* Google Maps injects style="position:relative" on the container via JS.
   !important beats inline styles so the container keeps its fixed dimensions. */
#runner-map {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 64px !important;
  z-index: 1;
  width: 100%;
  height: calc(100dvh - 64px); /* explicit fallback height */
}

/* ── CONTROLS ───────────────────────────────────────────────── */
.runner-controls {
  position: fixed;
  bottom: 64px; left: 0; right: 0;
  z-index: 30;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.93);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ctrl-row {
  display: flex;
  gap: 10px;
}
.rally-row {
  display: flex;
  gap: 10px;
}

/* Botones de control */
.btn-start, .btn-pause, .btn-stop, .btn-rally {
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 10px;
  touch-action: manipulation;
  transition: opacity 0.15s, transform 0.1s;
  flex: 1;
}
.btn-start:active, .btn-pause:active, .btn-stop:active, .btn-rally:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.btn-start  { background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197)); color: #fff; }
.btn-pause  { background: linear-gradient(150deg, rgb(69, 181, 255), rgb(0, 58, 197),rgb(20, 0, 255), rgb(8, 0, 255)); color: #fff; flex: 1; }
.btn-stop   { background: linear-gradient(150deg, rgb(255, 0, 0), rgb(255, 86, 86),rgb(255, 0, 0), rgb(255, 86, 86)); color: #fff; flex: 1; }
.btn-rally  {
  background: linear-gradient(150deg, rgb(162, 50, 255), rgb(108, 0, 197),rgb(153, 30, 255), rgb(108, 0, 197));
  color: #e2e8f0;
  font-size: 14px;
}

.btn-evento {
  background: linear-gradient(150deg, rgb(69, 181, 255), rgb(1, 103, 178),rgb(0, 116, 193), rgb(1, 103, 178));
  color: #c7d2fe;
  font-size: 14px;
  border: none;
  outline: none;
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 700;
  touch-action: manipulation;
  transition: opacity 0.15s;
}
.btn-evento:active { opacity: 0.8; }

/* Inputs en modales del runner */
.runner-input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #334155;
  border-radius: 11px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-family: inherit;
}
.runner-input:focus { border-color: #22c55e; }
.runner-textarea { resize: none; }
.runner-fecha-row { display: flex; gap: 10px; }
.runner-field { flex: 1; display: flex; flex-direction: column; }
.runner-label { font-size: 11px; color: #64748b; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.runner-field .runner-input { margin-bottom: 0; }

/* ── HISTORIAL PANEL ────────────────────────────────────────── */
.historial-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.5);
}
.historial-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #1e293b;
  border-radius: 20px 20px 0 0;
  max-height: 75dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.historial-panel.open {
  transform: translateY(0);
}
.historial-drag-bar {
  width: 40px; height: 4px;
  background: #334155;
  border-radius: 2px;
  margin: 10px auto 0;
}
.historial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid #334155;
}
.historial-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
}
.historial-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  padding: 4px;
  touch-action: manipulation;
}
.historial-lista {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.historial-vacio {
  text-align: center;
  color: #475569;
  padding: 32px 20px;
  font-size: 15px;
}
.historial-item {
  padding: 14px 20px;
  border-bottom: 1px solid #1e2d3d;
  transition: background 0.15s;
  touch-action: manipulation;
}
.historial-item:active { background: #0f172a; }
.hist-fecha {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.hist-stats {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
}
.hist-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.hist-ver-ruta {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hist-btn-eliminar {
  background: none;
  border: none;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 8px;
  opacity: 0.55;
  touch-action: manipulation;
  transition: opacity 0.15s;
}
.hist-btn-eliminar:active { opacity: 1; }

/* ── MODAL RALLY ────────────────────────────────────────────── */
.modal-rally-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-rally-body {
  background: #1e293b;
  border-radius: 20px 20px 0 0;
  width: 100%;
  padding: 24px 20px 36px;
}
.modal-rally-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f1f5f9;
  text-align: center;
}
.rally-codigo {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
}
.btn-copiar-codigo {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-size: 15px;
  touch-action: manipulation;
}
.btn-cerrar-rally {
  margin-top: 14px;
  width: 100%;
  padding: 13px;
  background:linear-gradient(150deg, rgb(255, 0, 0), rgb(255, 86, 86),rgb(255, 0, 0), rgb(255, 86, 86));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  touch-action: manipulation;
}
#inputCodigoRally {
  width: 100%;
  padding: 14px;
  border: 2px solid #334155;
  border-radius: 12px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 24px;
  text-align: center;
  letter-spacing: 6px;
  text-transform: uppercase;
  outline: none;
}
#inputCodigoRally:focus { border-color: #22c55e; }
.btn-confirmar-unirse {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(150deg, rgb(162, 50, 255), rgb(108, 0, 197),rgb(153, 30, 255), rgb(108, 0, 197));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  touch-action: manipulation;
}

/* ── TOAST ──────────────────────────────────────────────────── */
.runner-toast {
  position: fixed;
  top: 110px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.runner-toast-success { background: #22c55e; color: #fff; }
.runner-toast-error   { background: #ef4444; color: #fff; }
.runner-toast-info    { background: #3b82f6; color: #fff; }
.runner-toast-warning { background: #f59e0b; color: #fff; }

/* ── PARTICIPANTES PANEL ────────────────────────────────────── */
.participantes-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.5);
}
.participantes-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #1e293b;
  border-radius: 20px 20px 0 0;
  max-height: 75dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.participantes-panel.open {
  transform: translateY(0);
}
.participantes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid #334155;
}
.participantes-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
}
.participantes-lista {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.participantes-footer {
  padding: 12px 16px;
  border-top: 1px solid #334155;
}
.btn-salir-rally {
  width: 100%;
  padding: 13px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  touch-action: manipulation;
}
.btn-salir-rally:active { opacity: 0.85; }

.participante-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #1e2d3d;
}
.part-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #334155;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-foto {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.part-foto-placeholder {
  font-size: 22px;
  line-height: 1;
}
.part-info {
  flex: 1;
  min-width: 0;
}
.part-nombre {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.part-stats {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.part-host-badge {
  font-size: 10px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  padding: 1px 6px;
  margin-left: 6px;
  font-weight: 600;
}
.part-kick {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px;
  font-size: 12px;
  padding: 4px 10px;
  touch-action: manipulation;
  flex-shrink: 0;
}
.part-kick:active { opacity: 0.7; }

/* ── Invitación: panel de amigos ── */
.inv-search-wrap {
  padding: 12px 16px 8px;
  border-bottom: 1px solid #1e2d3d;
}
.inv-search-input {
  width: 100%;
  padding: 10px 14px;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
}
.inv-search-input::placeholder { color: #475569; }
.inv-search-input:focus { border-color: #22c55e; }

/* ── Invitación: modal aceptar/rechazar ── */
.inv-modal-body {
  text-align: center;
}
.inv-modal-foto-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid #22c55e;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inv-modal-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.inv-modal-paw {
  font-size: 32px;
}
.inv-modal-nombre {
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.inv-modal-desc {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 4px;
}

/* ── Panel sala de espera de evento ── */
.evento-espera-panel {
  position: fixed;
  top: 100px;          /* debajo del header + stats bar */
  left: 0; right: 0; bottom: 64px; /* sobre el menú */
  z-index: 32;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.88);
  backdrop-filter: blur(6px);
  padding: 24px 20px;
  text-align: center;
}
.evento-espera-icono {
  font-size: 48px;
  margin-bottom: 10px;
}
.evento-espera-nombre {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 6px;
}
.evento-espera-msg {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 20px;
  line-height: 1.5;
}
.evento-countdown {
  font-size: 64px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #22c55e;
  line-height: 1;
  letter-spacing: 3px;
}
.evento-countdown-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}
.btn-evento-host {
  width: 100%;
  padding: 12px;
  background: rgba(245,158,11,0.18);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  touch-action: manipulation;
  transition: opacity 0.15s;
}
.btn-evento-host:active   { opacity: 0.7; }
.btn-evento-host:disabled { opacity: 0.4; }

.part-cohost-badge {
  font-size: 10px;
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px;
  padding: 1px 6px;
  margin-left: 6px;
  font-weight: 600;
  vertical-align: middle;
}
.part-cohost-btn {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  font-size: 11px;
  padding: 4px 8px;
  touch-action: manipulation;
  flex-shrink: 0;
  margin-left: 4px;
}
.part-cohost-btn.active { background: rgba(245,158,11,0.28); }
.part-cohost-btn:active { opacity: 0.7; }

/* ── Popup info participante ── */
.rally-info-popup {
  position: fixed;
  top: 0; left: 0;
  background: rgba(15,23,42,0.93);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  z-index: 4000;
  width: 240px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  text-align: center;
  pointer-events: none;
}
.rally-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.rally-info-foto {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f59e0b;
  flex-shrink: 0;
}
.rally-info-nombre {
  font-weight: 700;
  font-size: 15px;
}
.rally-info-stats {
  display: flex;
  justify-content: space-around;
}
.rally-info-stat { flex: 1; }
.rally-info-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.rally-info-label {
  font-size: 11px;
  color: #94a3b8;
}
.rally-info-value {
  font-size: 18px;
  font-weight: 700;
}

/* ── VOZ EN TIEMPO REAL ──────────────────────────────────────── */
.voice-bar {
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.btn-voz {
  flex: 1;
  padding: 10px 6px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #64748b;
  touch-action: manipulation;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-voz.activo { background: rgba(34,197,94,0.18);  border-color: rgba(34,197,94,0.45);  color: #22c55e; }
.btn-voz.muted  { background: rgba(239,68,68,0.18);  border-color: rgba(239,68,68,0.45);  color: #ef4444; }
.btn-voz.musica { background: rgba(59,130,246,0.18); border-color: rgba(59,130,246,0.45); color: #60a5fa; }
.btn-voz:active { opacity: 0.75; transform: scale(0.97); }
.btn-voz-mod    { flex: 0 0 auto; padding: 10px 12px; }
.btn-voz.hablando {
  border-color: rgba(34,197,94,0.85) !important;
  background: rgba(34,197,94,0.22)  !important;
  color: #22c55e !important;
  animation: pulso-mic 0.65s ease-in-out infinite;
}
@keyframes pulso-mic {
  0%, 100% { box-shadow: 0 0 0 0   rgba(34,197,94,0.55); }
  50%       { box-shadow: 0 0 0 8px rgba(34,197,94,0);    }
}
.mic-conectados {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── MINI-PLAYER MÚSICA ──────────────────────────────────────── */
.musica-bar {
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.musica-bar-titulo {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-musica-ctrl {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: #60a5fa;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 15px;
  font-weight: 700;
  touch-action: manipulation;
  transition: opacity 0.15s;
}
.btn-musica-ctrl:active { opacity: 0.7; }
.musica-stop {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
}

/* ── Modal confirmación eliminar carrera ── */
.runner-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.runner-confirm-modal {
  position: relative;
  background: linear-gradient(160deg, #1a0533 0%, #0a1628 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 320px;
  padding: 32px 24px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  text-align: center;
}
.runner-confirm-icon  { font-size: 36px; margin-bottom: 10px; }
.runner-confirm-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.runner-confirm-desc {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.runner-confirm-actions { display: flex; gap: 10px; }
.runner-confirm-btn {
  flex: 1;
  padding: 13px;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.15s;
}
.runner-confirm-btn:active  { opacity: 0.8; }
.runner-confirm-btn.cancel  { background: rgba(255,255,255,0.1); color: #fff; }
.runner-confirm-btn.danger  { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 4px 14px rgba(239,68,68,0.4); }
