:root {
  --rm-bg: #05070d;
  --rm-panel: rgba(255, 255, 255, 0.06);
  --rm-panel-2: rgba(255, 255, 255, 0.04);
  --rm-border: rgba(255, 255, 255, 0.14);
  --rm-text: rgba(255, 255, 255, 0.94);
  --rm-muted: rgba(255, 255, 255, 0.70);

  --rm-accent: #3b82f6;
  --rm-accent-2: #60a5fa;
  --rm-green: #32ff7e;
  --rm-red: #ff2d55;
  --rm-yellow: #fbbf24;
  --rm-purple: #1d4ed8;

  --rm-glow: 0 12px 44px rgba(0, 0, 0, 0.62);
  --rm-glow-accent: 0 0 0 1px rgba(59, 130, 246, 0.22), 0 18px 55px rgba(59, 130, 246, 0.12);

  --rm-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.rm-body {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  color: var(--rm-text);
  background:
    radial-gradient(1100px 700px at 15% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(29, 78, 216, 0.15), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(96, 165, 250, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0,0,0,0.0) 40%),
    var(--rm-bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.rm-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--rm-noise);
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.rm-body > * {
  position: relative;
  z-index: 1;
}

.rm-header {
  /* con navbar ya incluido arriba, el header es “hero” */
  border-bottom: 0;
  background: transparent;
}

.rm-header-inner {
  max-width: 1320px;
  padding: 26px 24px 24px;
  margin: 16px auto 0;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(460px 180px at 0% 0%, rgba(59, 130, 246, 0.16), transparent 78%),
    linear-gradient(180deg, rgba(9, 18, 34, 0.92), rgba(6, 12, 24, 0.9));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.rm-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--rm-muted);
}

.rm-title {
  margin: 10px 0 8px;
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow:
    0 22px 65px rgba(0, 0, 0, 0.75),
    0 0 0.6px rgba(255,255,255,0.7);
  position: relative;
}

.rm-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 180px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2));
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.18);
}

.rm-subtitle {
  margin: 0;
  color: var(--rm-muted);
  font-size: 14px;
}

.rm-compare {
  margin-top: 18px;
}

.rm-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.rm-compare-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rm-compare-label {
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.rm-select {
  width: 100%;
  background: rgba(6,12,24,.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.rm-select:focus {
  border-color: rgba(96, 165, 250, .7);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, .18);
}

.rm-compare-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.rm-btn {
  background: linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(96, 165, 250, .92));
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18), 0 18px 55px rgba(0, 0, 0, 0.55);
}

.rm-btn:hover {
  filter: brightness(1.06);
}

.rm-link {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
}

.rm-link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .rm-compare-grid {
    grid-template-columns: 1fr;
  }
  .rm-compare-actions {
    justify-content: flex-start;
  }
  .rm-fa-shell,
  .rm-fa-form-grid {
    grid-template-columns: 1fr;
  }
  .rm-fa-panel-head,
  .rm-fa-list-head,
  .rm-fa-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .rm-fa-profile-link {
    margin-left: 0;
  }
}

.rm-meta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--rm-border);
  background: rgba(0,0,0,0.28);
  color: var(--rm-text);
  text-decoration: none;
  font-size: 13px;
}

.rm-pill:hover {
  border-color: rgba(96, 165, 250, 0.45);
}

.rm-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px;
}

.rm-fa-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-bottom: 18px;
}

.rm-fa-panel {
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(59, 130, 246, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(11, 20, 36, 0.94), rgba(7, 13, 25, 0.95));
  padding: 18px;
  box-shadow: var(--rm-glow);
}

.rm-fa-panel-head,
.rm-fa-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rm-section-title-large {
  font-size: 24px;
  margin-bottom: 0;
}

.rm-fa-count {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(8, 16, 30, 0.74);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rm-fa-intro {
  margin: 0 0 16px;
  color: var(--rm-muted);
  line-height: 1.65;
}

.rm-fa-state {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.rm-fa-state a {
  color: #fff;
}

.rm-fa-state-blocked {
  border-color: rgba(251, 191, 36, 0.32);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(255, 255, 255, 0.03));
}

.rm-fa-form,
.rm-fa-inline-form {
  display: grid;
  gap: 14px;
}

.rm-fa-form-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 14px;
}

.rm-fa-field {
  display: grid;
  gap: 8px;
}

.rm-fa-field-wide {
  min-width: 0;
}

.rm-input,
.rm-textarea {
  width: 100%;
  background: rgba(6, 12, 24, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.rm-textarea {
  min-height: 120px;
  resize: vertical;
}

.rm-input:focus,
.rm-textarea:focus,
.rm-btn:focus-visible,
.rm-link:focus-visible,
.rm-pill:focus-visible,
.rm-fa-profile-link:focus-visible,
.rm-fa-name:focus-visible,
.rm-fa-avatar-link:focus-visible {
  border-color: rgba(96, 165, 250, 0.76);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
  outline: none;
}

.rm-field-error {
  color: #fda4af;
  font-size: 12px;
}

.rm-field-error-block {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(253, 164, 175, 0.25);
  background: rgba(127, 29, 29, 0.22);
}

.rm-fa-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.rm-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.rm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rm-btn:active,
.rm-btn-secondary:active,
.rm-fa-profile-link:active,
.rm-fa-name:active {
  transform: translateY(1px);
}

.rm-fa-list {
  display: grid;
  gap: 12px;
}

.rm-fa-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.rm-fa-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rm-fa-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.rm-fa-avatar {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.98), rgba(12, 23, 40, 0.84));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.rm-fa-head {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.rm-fa-name-row,
.rm-fa-meta,
.rm-fa-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rm-fa-name {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.rm-fa-name:hover,
.rm-fa-profile-link:hover {
  text-decoration: underline;
}

.rm-fa-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(59, 130, 246, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rm-fa-badge-member {
  border-color: rgba(50, 255, 126, 0.24);
  background: rgba(50, 255, 126, 0.1);
}

.rm-fa-badge-muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.rm-fa-headline {
  font-size: 15px;
  font-weight: 800;
  color: #f4f8ff;
}

.rm-fa-bio {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.rm-fa-bio-empty {
  color: rgba(255, 255, 255, 0.52);
}

.rm-fa-updated {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rm-fa-profile-link {
  margin-left: auto;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.rm-card {
  /* menos borde, más glass */
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 22, 39, 0.88), rgba(8, 15, 28, 0.92));
  padding: 14px 14px;
  margin-bottom: 14px;
  box-shadow: var(--rm-glow);

  overflow-x: hidden;
}

.rm-card-error {
  border-color: rgba(251, 113, 133, 0.4);
}

.rm-muted {
  color: var(--rm-muted);
}

.rm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rm-col {
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 20, 36, 0.92), rgba(7, 13, 25, 0.94));
  padding: 16px;
  min-height: 220px;
  box-shadow: var(--rm-glow);

  overflow-x: hidden;
}

.rm-section-title {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.rm-empty {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  border: 1px dashed rgba(96, 165, 250, 0.16);
  color: var(--rm-muted);
}

.rm-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  margin-bottom: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 50px rgba(0,0,0,0.56);
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.rm-row::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.18), rgba(96,165,250,0.14), rgba(37,99,235,0.12));
  opacity: 0.0;
  filter: blur(10px);
  transition: opacity 140ms ease;
  pointer-events: none;
}

.rm-row:hover::before {
  opacity: 1;
}

/* clave en CSS grid: permitir que las columnas se encojan y no desborden */
.rm-row > * {
  min-width: 0;
}

.rm-team {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.rm-team-pill {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  min-height: 76px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--rm-text);
  text-decoration: none;

  /* evitar que el logo/nombre “rompan” el pill */
  overflow: hidden;
  min-width: 0;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.rm-team-pill:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.rm-team-free {
  justify-content: flex-start;
  background: rgba(255,255,255,0.02);
  border-style: dashed;
  color: var(--rm-muted);
}

.rm-team-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(7, 14, 26, 0.92), rgba(16, 24, 40, 0.72));
  box-shadow: 0 12px 26px rgba(0,0,0,0.42);
}

.rm-team-logo-fallback {
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.96), rgba(14, 27, 48, 0.84));
}

.rm-team-name {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.01em;

  /* truncar nombres largos */
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-player {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.92), rgba(8, 14, 24, 0.78));
}

.rm-player-name {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-shadow: 0 14px 40px rgba(0,0,0,0.7);
}

.rm-team-from,
.rm-team-to {
  width: 100%;
}

@media (max-width: 1240px) {
  .rm-fa-shell {
    grid-template-columns: 1fr;
  }
  .rm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rm-direction {
  min-width: 76px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,12,24,0.58);
  color: rgba(255,255,255,0.96);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 18px 50px rgba(0,0,0,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rm-direction-track {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
  box-shadow: 0 0 14px currentColor;
}

.rm-direction-icon {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 12px currentColor);
}

.rm-kind-transfer .rm-direction {
  box-shadow: 0 0 0 1px rgba(59,130,246,0.22), 0 22px 70px rgba(59,130,246,0.10);
  color: var(--rm-accent);
  background: linear-gradient(180deg, rgba(59,130,246,0.10), rgba(0,0,0,0.35));
}

.rm-kind-arrival .rm-direction {
  color: var(--rm-green);
  background: linear-gradient(180deg, rgba(50,255,126,0.10), rgba(0,0,0,0.35));
  box-shadow: 0 0 0 1px rgba(50,255,126,0.18), 0 22px 70px rgba(50,255,126,0.08);
}

.rm-kind-departure .rm-direction {
  color: var(--rm-red);
  background: linear-gradient(180deg, rgba(255,45,85,0.12), rgba(0,0,0,0.35));
  box-shadow: 0 0 0 1px rgba(255,45,85,0.22), 0 22px 70px rgba(255,45,85,0.10);
}

.rm-row {
  gap: 14px;
}

.rm-player-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.rm-move-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rm-team {
  align-items: center;
  justify-content: center;
}

.rm-team-chip {
  width: 100%;
  max-width: 148px;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 10px 10px;
  min-height: 124px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
  color: var(--rm-text);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.rm-team-chip:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.rm-team-free {
  justify-content: center;
}

.rm-team-logo-shell {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.98), rgba(12, 23, 40, 0.84));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 32px rgba(0,0,0,0.38);
}

.rm-team-logo {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}

.rm-team-logo-fallback {
  filter: saturate(1.02);
}

.rm-team-caption {
  width: 100%;
  max-width: 100%;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,0.86);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rm-player-name {
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
  color: #f4f8ff;
}

.rm-direction {
  min-width: 64px;
  min-height: 64px;
  padding: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), rgba(5,12,24,0.72));
  backdrop-filter: blur(4px);
}

.rm-direction-icon {
  font-size: 24px;
  transform: translateX(1px);
}

/* ─────────────────────────────────────────────
   CDL-like match strip (carousel)
   ───────────────────────────────────────────── */
.rm-cdl-strip {
  position: relative;
  padding: 0 18px 6px;
}

.rm-cdl-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.rm-cdl-strip-title {
  margin: 2px 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.rm-cdl-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* firefox */
}

.rm-cdl-carousel::-webkit-scrollbar {
  display: none;
}

.rm-cdl-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 18px;
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 45px rgba(0,0,0,0.55);
  position: relative;
  overflow: hidden;
}

.rm-cdl-card::before {
  content: "";
  position: absolute;
  inset: -80px -60px auto -60px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(82, 213, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.rm-cdl-card-live::before {
  background: radial-gradient(closest-side, rgba(255, 45, 85, 0.22), transparent 70%);
}

.rm-cdl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.rm-cdl-badge {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.14);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.25);
}

.rm-cdl-badge-muted {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
}

.rm-cdl-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.rm-cdl-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.rm-cdl-team {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-cdl-team:first-child {
  text-align: right;
}

.rm-cdl-vs-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rm-cdl-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
}

.rm-cdl-fade {
  position: absolute;
  top: 28px;
  bottom: 10px;
  width: 46px;
  pointer-events: none;
}

.rm-cdl-fade-left {
  left: -2px;
  background: linear-gradient(90deg, var(--rm-bg), rgba(7, 10, 18, 0));
}

.rm-cdl-fade-right {
  right: -2px;
  background: linear-gradient(270deg, var(--rm-bg), rgba(7, 10, 18, 0));
}

@media (max-width: 980px) {
  .rm-grid {
    grid-template-columns: 1fr;
  }
  .rm-row {
    gap: 10px;
  }
  .rm-title {
    font-size: 42px;
  }

  .rm-move-lane {
    gap: 10px;
  }

  .rm-team-chip {
    max-width: none;
    min-height: 112px;
    padding: 10px 8px 8px;
  }

  .rm-team-logo-shell {
    width: 68px;
    height: 68px;
  }

  .rm-direction {
    min-width: 58px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .rm-cdl-card {
    flex-basis: 260px;
  }

  /* en móvil mejor permitir 2 líneas que cortar demasiado */
  .rm-team-name {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
