/* Ronin Trading — capa "tycoon plus": look juego móvil (solo visual, sin tocar layout) */

.rt-screen {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(253, 191, 20, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(34, 197, 94, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0d1220 0%, #090d16 60%, #070a11 100%) !important;
}

.rt-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ── Topbar ── */
.rt-screen .rt-topbar {
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.95), rgba(9, 12, 20, 0.9));
  border-bottom: 1px solid rgba(253, 191, 20, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.rt-screen .rt-brand { font-size: 1rem; font-weight: 900; letter-spacing: 0.08em; }
.rt-screen .rt-brand-trading {
  background: linear-gradient(180deg, #ffe27a 0%, #fdbf14 55%, #d99e00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 6px rgba(253, 191, 20, 0.35));
}

.rt-screen .rt-page-title {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Hero ── */
.rt-screen .rt-hero-card {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(253, 191, 20, 0.55);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 90% 80% at 50% -10%, rgba(253, 191, 20, 0.22) 0%, transparent 60%),
    linear-gradient(160deg, #1a2033 0%, #10141f 55%, #0b0e16 100%);
  box-shadow:
    0 0 0 4px rgba(253, 191, 20, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rt-screen .rt-hero-card::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: rtp-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rtp-shine {
  0%, 55% { left: -60%; }
  85%, 100% { left: 130%; }
}

.rt-screen .rt-hero-value {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(180deg, #fff7d6 0%, #ffd75e 45%, #f0a800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(253, 191, 20, 0.35));
}

.rt-screen .rt-hero-value .rt-coin-ic { filter: drop-shadow(0 2px 6px rgba(253, 191, 20, 0.5)); }

.rt-screen .rt-week-pill {
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%);
  border: 1px solid #b98900;
  color: #221600;
  font-weight: 900;
  box-shadow: 0 3px 0 #8a6200, 0 8px 18px rgba(253, 191, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rt-screen .rt-hero-rent strong.up {
  font-size: 1.9rem;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}

.rt-screen .rt-prog-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.rt-screen .rt-prog-fill {
  background: linear-gradient(180deg, #ffe27a 0%, #fdbf14 55%, #e0a400 100%);
  box-shadow: 0 0 12px rgba(253, 191, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ── Rank cards (podio) ── */
.rt-screen .rt-rank-card {
  border-radius: 20px;
  border-width: 2px;
  padding-top: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rt-screen .rt-rank-card:hover { transform: translateY(-4px); }

.rt-screen .rt-rank-gold {
  border-color: rgba(253, 191, 20, 0.75);
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(253, 191, 20, 0.24) 0%, transparent 60%),
    linear-gradient(165deg, #171a12 0%, #0f1318 45%, #0a0e12 100%);
  box-shadow:
    0 0 0 4px rgba(253, 191, 20, 0.10),
    0 14px 36px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(253, 191, 20, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rt-screen .rt-rank-blue {
  border-color: rgba(96, 165, 250, 0.55);
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(96, 165, 250, 0.18) 0%, transparent 60%),
    linear-gradient(165deg, #10141f 0%, #0f1318 45%, #0a0e12 100%);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.07), 0 14px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-rank-purple {
  border-color: rgba(167, 139, 250, 0.55);
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(167, 139, 250, 0.20) 0%, transparent 60%),
    linear-gradient(165deg, #131020 0%, #0f1318 45%, #0a0e12 100%);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.07), 0 14px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-rank-pos {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
  background: linear-gradient(180deg, #ffd24d, #e0a400);
  color: #221600;
  border: 1px solid #b98900;
  box-shadow: 0 2px 0 #8a6200, 0 4px 10px rgba(0, 0, 0, 0.4);
}

.rt-screen .rt-rank-blue .rt-rank-pos { background: linear-gradient(180deg, #93c5fd, #3b82f6); color: #081226; border-color: #1d4ed8; box-shadow: 0 2px 0 #1e3a8a, 0 4px 10px rgba(0,0,0,0.4); }
.rt-screen .rt-rank-purple .rt-rank-pos { background: linear-gradient(180deg, #c4b5fd, #7c3aed); color: #170b26; border-color: #6d28d9; box-shadow: 0 2px 0 #4c1d95, 0 4px 10px rgba(0,0,0,0.4); }

.rt-screen .rt-rank-crown {
  font-size: 1.5rem;
  animation: rtp-float 2.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(253, 191, 20, 0.45));
}

@keyframes rtp-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

.rt-screen .rt-player-av {
  width: 54px;
  height: 54px;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.45);
}

.rt-screen .rt-rank-gold .rt-player-av { box-shadow: 0 0 0 3px rgba(253, 191, 20, 0.45), 0 0 18px rgba(253, 191, 20, 0.35), 0 6px 14px rgba(0, 0, 0, 0.45); }
.rt-screen .rt-rank-blue .rt-player-av { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.45), 0 0 18px rgba(96, 165, 250, 0.3), 0 6px 14px rgba(0, 0, 0, 0.45); }
.rt-screen .rt-rank-purple .rt-player-av { box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.45), 0 0 18px rgba(167, 139, 250, 0.3), 0 6px 14px rgba(0, 0, 0, 0.45); }

.rt-screen .rt-rank-card h3 { font-size: 1.05rem; font-weight: 900; }

.rt-screen .rt-player-val strong { font-size: 1.25rem; font-weight: 900; }
.rt-screen .rt-player-pct { font-weight: 900; }

.rt-screen .rt-xp-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.6);
}

.rt-screen .rt-xp-fill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.rt-screen .rt-xp-gold { box-shadow: 0 0 10px rgba(74, 222, 128, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.rt-screen .rt-tag-pill {
  font-weight: 800;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Cards / tabla ── */
.rt-screen .rt-card {
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(24, 29, 45, 0.98) 0%, rgba(13, 17, 26, 0.98) 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-card--portfolio { border-color: rgba(253, 191, 20, 0.22); }

.rt-screen .rt-card h2 {
  color: #ffd75e;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rt-screen .rt-table td strong { font-weight: 800; }
.rt-screen .rt-table tbody tr { transition: background 0.15s; }
.rt-screen .rt-table tbody tr:hover { background: rgba(253, 191, 20, 0.04); }
.rt-screen .rt-rent-cell strong { font-weight: 900; }

.rt-screen .rt-asset-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* ── Ronin box ── */
.rt-screen .rt-ronin-box {
  border-radius: 20px;
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(139, 92, 246, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, rgba(24, 20, 40, 0.98), rgba(13, 12, 24, 0.98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(139, 92, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rt-screen .rt-ronin-avatar { filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5)); }
.rt-screen .rt-ronin-body h4 { font-weight: 900; }

.rt-screen .rt-btn-ronin-chat {
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 60%, #6423d6 100%);
  border: 1px solid #5b21b6;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 3px 0 #4c1d95, 0 8px 18px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s, box-shadow 0.12s;
}

.rt-screen .rt-btn-ronin-chat:hover { transform: translateY(-1px); }
.rt-screen .rt-btn-ronin-chat:active { transform: translateY(2px); box-shadow: 0 1px 0 #4c1d95, 0 4px 10px rgba(124, 58, 237, 0.3); }

/* ── Bottom nav (dock de juego) ── */
.rt-screen .rt-bottom-nav {
  background: linear-gradient(180deg, #10141f 0%, #080a10 100%);
  border-top: 1.5px solid rgba(253, 191, 20, 0.2);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
  padding-top: 6px;
}

.rt-screen .rt-nav-item { font-weight: 800; font-size: 0.68rem; }

.rt-screen .rt-nav-item.active .rt-nav-icon-wrap {
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%);
  border-radius: 14px;
  box-shadow: 0 3px 0 #8a6200, 0 6px 16px rgba(253, 191, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-6px);
}

.rt-screen .rt-nav-item.active .rt-nav-icon { color: #221600; filter: none; }
.rt-screen .rt-nav-icon-wrap { transition: transform 0.15s, box-shadow 0.15s; padding: 5px 12px; }

/* ── Extra polish pass ── */
.rt-screen .rt-body { gap: 18px; padding: 18px 24px 24px; }

.rt-screen .rt-page-head { padding: 14px 24px 4px; display: flex; align-items: flex-end; justify-content: space-between; }
.rt-screen .rt-page-sub { color: #8b93a7; font-weight: 700; letter-spacing: 0.02em; margin: 2px 0 0; }

.rt-screen .rt-hero-card { padding: 26px 28px; }
.rt-screen .rt-hero-label, .rt-screen .rt-hero-rent-label { letter-spacing: 0.12em; color: #9aa3b8; font-weight: 800; }
.rt-screen .rt-hero-foot { color: #8b93a7; font-weight: 700; }
.rt-screen .rt-week-status { color: #6ee7a0; font-weight: 800; }

.rt-screen .rt-ranking-row { gap: 18px; }
.rt-screen .rt-rank-card { padding: 26px 18px 20px; }
.rt-screen .rt-online { color: #6ee7a0; font-weight: 700; font-size: 0.72rem; }

.rt-screen .rt-strategy-box {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(167, 139, 250, 0.25);
  margin-top: 4px;
}
.rt-screen .rt-strategy-box summary { color: #c4b5fd; font-weight: 800; }

.rt-screen .rt-card { padding: 18px 24px 16px; }
.rt-screen .rt-card-head { margin-bottom: 14px; }
.rt-screen .rt-link { color: #fdbf14; font-weight: 800; }
.rt-screen .rt-link:hover { color: #ffd75e; }

.rt-screen .rt-table thead th {
  color: #7d8598;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}
.rt-screen .rt-table tbody td { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.rt-screen .rt-table tbody tr:last-child td { border-bottom: none; }
.rt-screen .rt-muted { color: #7d8598; }
.rt-screen .rt-table-foot { color: #7d8598; font-weight: 700; font-size: 0.72rem; }

.rt-screen .rt-ronin-box { padding: 20px 24px; gap: 16px; }
.rt-screen .rt-ronin-body p { color: #b7bdcc; }

.rt-screen .rt-icon-btn { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.rt-screen .rt-icon-btn:hover { background: rgba(253, 191, 20, 0.12); border-color: rgba(253, 191, 20, 0.35); }
.rt-screen .rt-bell-dot { box-shadow: 0 0 8px rgba(239, 68, 68, 0.7); }

/* ── Cartera screen ── */
.rt-screen .rt-cartera-summary { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.rt-screen .rt-cs-col { display: flex; flex-direction: column; gap: 4px; }
.rt-screen .rt-cs-big { font-size: 1.5rem; font-weight: 900; }
.rt-screen .rt-cs-sub { color: #8b93a7; font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 4px; }
.rt-screen .rt-cs-sub.up { color: #4ade80; }
.rt-screen .rt-cs-chart { margin-left: auto; }
.rt-screen .rt-hero-card:has(.rt-cartera-summary) { padding: 18px 24px; }

.rt-screen .rt-asset-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-screen .rt-filter-pill {
  padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 0.85rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: #b7bdcc; cursor: pointer;
  white-space: nowrap; line-height: 1.2;
}
.rt-screen .rt-filter-pill.active {
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%);
  color: #221600; border-color: #b98900;
  box-shadow: 0 3px 0 #8a6200, 0 6px 14px rgba(253,191,20,0.3);
}

.rt-screen .rt-weight-cell { display: flex; flex-direction: column; gap: 5px; }
.rt-screen .rt-weight-bar { width: 70px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.rt-screen .rt-weight-fill { height: 100%; background: linear-gradient(90deg, #fdbf14, #e0a400); border-radius: 999px; }
.rt-screen .rt-chevron { color: #5b6478; text-align: right; }

.rt-screen .rt-cartera-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rt-screen .rt-donut-card, .rt-screen .rt-perf-card { padding: 18px 20px; }
.rt-screen .rt-donut-card h2, .rt-screen .rt-perf-card h2 { margin-bottom: 4px; font-size: 0.82rem; }
.rt-screen .rt-donut-center strong { font-size: 1.1rem; font-weight: 900; }
.rt-screen .rt-donut-center span { font-size: 0.62rem; }
.rt-screen .rt-donut-legend em { font-weight: 800; }

.rt-screen .rt-perf-chart { display: block; margin: 4px 0 4px; height: 78px; }
.rt-screen .rt-perf-days { display: flex; justify-content: space-between; color: #7d8598; font-size: 0.72rem; font-weight: 700; }

.rt-screen .rt-operar-row { margin: 0; }
.rt-screen .rt-history-btn { flex: 1; text-align: left; justify-content: flex-start; }
.rt-screen .rt-operar-btn { font-weight: 900; }

/* ── Nueva partida ── */
.rt-screen .rt-nueva-wrap { position: relative; }
.rt-screen .rt-nueva-hero { display: none; }
.rt-screen .rt-form-section h2 { font-weight: 900 !important; letter-spacing: 0.06em; gap: 10px; }
.rt-screen .rt-text-input {
  width: 100%; box-sizing: border-box; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 14px 16px; color: #f8fafc; font-family: inherit; font-size: 0.92rem; font-weight: 600;
}
.rt-screen .rt-text-input:focus { outline: none; border-color: rgba(253,191,20,0.5); }
.rt-screen .rt-participant { border-radius: 16px; padding: 16px 18px; min-width: 100px; }
.rt-screen .rt-participant.on { box-shadow: 0 0 0 1px rgba(34,197,94,0.25), 0 6px 16px rgba(34,197,94,0.12); }
.rt-screen .rt-participant-invite { color: #8b93a7; }
.rt-screen .rt-budget-val { font-size: 1.9rem; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.rt-screen .rt-step { border-radius: 12px; font-weight: 900; }
.rt-screen .rt-preset.on { box-shadow: 0 0 0 1px rgba(253,191,20,0.3); font-weight: 800; }
.rt-screen .rt-mercado-opt.on { font-weight: 800; box-shadow: 0 0 0 1px rgba(34,197,94,0.25); }
.rt-screen .rt-duration-pill {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px;
  background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.35); font-weight: 700;
}
.rt-screen .rt-duration-pill .rt-chevron { margin-left: auto; color: #8b93a7; }
.rt-screen .rt-rules-grid li { background: rgba(0,0,0,0.28); }
.rt-screen .rt-btn-crear-partida {
  width: 100%; padding: 18px; border-radius: 16px; border: none; cursor: pointer;
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 55%, #e0a400 100%);
  color: #221600; font-weight: 900; font-size: 1rem; letter-spacing: 0.04em;
  box-shadow: 0 4px 0 #8a6200, 0 12px 24px rgba(253,191,20,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.rt-screen .rt-btn-crear-partida:hover { transform: translateY(-1px); }
.rt-screen .rt-btn-crear-partida:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a6200, 0 6px 14px rgba(253,191,20,0.3); }

.rt-screen .rt-nueva-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: 22px; overflow: hidden; position: relative;
  border: 1.5px solid rgba(139,92,246,0.35);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(139,92,246,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(253,191,20,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #1a1830 0%, #12121f 55%, #0c0d16 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.rt-screen .rt-nueva-kicker {
  color: #c4b5fd; font-weight: 900; font-size: 0.7rem; letter-spacing: 0.14em;
}
.rt-screen .rt-nueva-banner-text h2 { margin: 6px 0 8px; font-size: 1.5rem; font-weight: 900; color: #f8fafc; }
.rt-screen .rt-nueva-banner-text p { margin: 0; max-width: 420px; color: #aab0c2; font-weight: 600; font-size: 0.9rem; line-height: 1.5; }
.rt-screen .rt-nueva-banner-bot { position: relative; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rt-screen .rt-nueva-banner-bot img { filter: drop-shadow(0 10px 22px rgba(139,92,246,0.45)); }
.rt-screen .rt-nueva-bot-bubble {
  background: #fff; color: #1a1830; font-weight: 800; font-size: 0.72rem; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.rt-screen .rt-form-icon-badge {
  width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.rt-screen .rt-badge-purple { background: linear-gradient(160deg, rgba(167,139,250,0.28), rgba(124,58,237,0.14)); }
.rt-screen .rt-badge-blue { background: linear-gradient(160deg, rgba(96,165,250,0.28), rgba(59,130,246,0.14)); }
.rt-screen .rt-badge-gold { background: linear-gradient(160deg, rgba(253,191,20,0.3), rgba(224,164,0,0.14)); }
.rt-screen .rt-badge-green { background: linear-gradient(160deg, rgba(34,197,94,0.28), rgba(22,163,74,0.14)); }

.rt-screen .rt-participants { gap: 14px; }
.rt-screen .rt-participant {
  min-height: 108px; justify-content: center; gap: 8px; min-width: 108px;
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(0,0,0,0.2));
}
.rt-screen .rt-participant em { font-size: 0.66rem; }
.rt-screen .rt-participant-invite {
  background: rgba(255,255,255,0.02); font-family: inherit;
}
.rt-screen .rt-participant-invite strong { font-weight: 700; font-size: 0.8rem; }

.rt-screen .rt-nueva-cta-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.rt-screen .rt-nueva-footnote { text-align: center; margin: 0; }

@media (max-width: 720px) {
  .rt-screen .rt-nueva-banner { flex-direction: column; text-align: center; }
  .rt-screen .rt-nueva-banner-text p { max-width: none; }
}

/* ── Game-look pass (estilo juego móvil) ── */
.rt-screen .rt-float-coin { position: absolute; pointer-events: none; filter: drop-shadow(0 3px 8px rgba(253,191,20,0.5)); }
.rt-screen .rt-float-coin--1 { top: 18px; right: 190px; animation: rtp-float 3.2s ease-in-out infinite; }
.rt-screen .rt-float-coin--2 { bottom: 26px; right: 230px; animation: rtp-float 2.6s ease-in-out 0.4s infinite; }
.rt-screen .rt-float-coin--3 { top: 52px; right: 150px; animation: rtp-float 3.8s ease-in-out 0.9s infinite; opacity: 0.8; }

.rt-screen .rt-card.rt-form-section {
  border-radius: 24px; border-width: 2px;
  border-color: rgba(255,255,255,0.09);
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(255,255,255,0.045) 0%, transparent 60%),
    linear-gradient(165deg, #191e30 0%, #10141f 55%, #0c0f18 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), inset 0 1.5px 0 rgba(255,255,255,0.09);
}
.rt-screen .rt-form-section h2 { font-size: 0.95rem !important; }
.rt-screen .rt-form-icon-badge {
  width: 34px; height: 34px; border-radius: 12px; font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 3px 8px rgba(0,0,0,0.35);
}

.rt-screen .rt-text-input { border-radius: 14px; border-width: 1.5px; background: rgba(0,0,0,0.4); padding: 15px 18px; }
.rt-screen .rt-text-input:focus { box-shadow: 0 0 0 3px rgba(253,191,20,0.15); }

.rt-screen .rt-participant { border-radius: 18px; border-width: 2px; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.rt-screen .rt-participant:hover { transform: translateY(-3px); }
.rt-screen .rt-participant.on {
  border-color: #22c55e;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(34,197,94,0.16) 0%, transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.03), rgba(0,0,0,0.2));
  box-shadow: 0 4px 0 rgba(22,101,52,0.55), 0 10px 22px rgba(34,197,94,0.18);
}
.rt-screen .rt-check { border-radius: 50%; width: 20px; height: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.35); font-weight: 900; }

.rt-screen .rt-step {
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem;
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%);
  color: #221600; border: 1px solid #b98900;
  box-shadow: 0 3px 0 #8a6200, 0 6px 14px rgba(253,191,20,0.3), inset 0 1px 0 rgba(255,255,255,0.45);
}
.rt-screen .rt-step:hover { background: linear-gradient(180deg, #ffe27a 0%, #ffd24d 60%, #f0b400 100%); }
.rt-screen .rt-step:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a6200, 0 3px 8px rgba(253,191,20,0.25); }
.rt-screen .rt-budget-val {
  font-size: 2.2rem;
  background: linear-gradient(180deg, #fff7d6 0%, #ffd75e 45%, #f0a800 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 8px rgba(253,191,20,0.3));
}
.rt-screen .rt-preset {
  border-radius: 12px; border-width: 1.5px; font-weight: 800; padding: 9px 16px;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.rt-screen .rt-preset:hover { transform: translateY(-2px); }
.rt-screen .rt-preset.on {
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%);
  color: #221600 !important; border-color: #b98900;
  box-shadow: 0 3px 0 #8a6200, 0 6px 14px rgba(253,191,20,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}

.rt-screen .rt-mercado-opt { border-radius: 14px; border-width: 1.5px; font-weight: 800; padding: 14px 12px; transition: transform 0.12s, border-color 0.15s, background 0.15s; }
.rt-screen .rt-mercado-opt:hover { transform: translateY(-2px); }
.rt-screen .rt-mercado-opt.on {
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(34,197,94,0.2) 0%, transparent 60%),
    rgba(34,197,94,0.08);
  box-shadow: 0 3px 0 rgba(22,101,52,0.5), 0 8px 16px rgba(34,197,94,0.15);
}

.rt-screen .rt-rules-grid li { border-radius: 14px; border-width: 1.5px; }
.rt-screen .rt-rule-ic { box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); font-weight: 900; }

.rt-screen .rt-btn-crear-partida { position: relative; overflow: hidden; font-size: 1.1rem; padding: 20px; border-radius: 18px; }
.rt-screen .rt-btn-crear-partida::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: skewX(-18deg); animation: rtp-shine 3.2s ease-in-out infinite;
}

/* ── Mercado ── */
.rt-screen .rt-ticker-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.rt-screen .rt-ticker-card { padding: 14px 16px 10px; border-radius: 18px; display: flex; flex-direction: column; gap: 2px; }
.rt-screen .rt-ticker-head { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800; color: #cbd2e0; }
.rt-screen .rt-ticker-logo { border-radius: 50%; }
.rt-screen .rt-ticker-price { font-size: 1.3rem; font-weight: 900; }
.rt-screen .rt-ticker-pct { font-weight: 900; font-size: 0.82rem; }
.rt-screen .rt-ticker-pct.up { color: #4ade80; }
.rt-screen .rt-ticker-pct.down { color: #f87171; }
.rt-screen .rt-ticker-spark { margin-top: 4px; }
.rt-screen .rt-mkt-meta { display: flex; justify-content: space-between; color: #7d8598; font-size: 0.76rem; font-weight: 700; margin-top: -8px; }
.rt-screen .rt-mkt-open { display: flex; align-items: center; gap: 6px; color: #4ade80; }
.rt-screen .rt-mkt-tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 5px; overflow-x: auto; }
.rt-screen .rt-mkt-tab {
  padding: 9px 16px; border-radius: 10px; border: none; background: transparent; color: #98a0b3;
  font-family: inherit; font-weight: 800; font-size: 0.82rem; cursor: pointer; white-space: nowrap;
}
.rt-screen .rt-mkt-tab.active {
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%); color: #221600;
  box-shadow: 0 2px 0 #8a6200, 0 4px 10px rgba(253,191,20,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
.rt-screen .rt-fav-btn { border: none; background: transparent; color: #6b7488; font-size: 1.05rem; cursor: pointer; transition: transform 0.12s, color 0.15s; }
.rt-screen .rt-fav-btn:hover { transform: scale(1.2); color: #ffd75e; }
.rt-screen .rt-fav-btn.on { color: #fdbf14; filter: drop-shadow(0 0 6px rgba(253,191,20,0.5)); }
@media (max-width: 860px) { .rt-screen .rt-ticker-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ── Mis Partidas ── */
.rt-screen .rt-btn-nueva {
  padding: 13px 22px; border-radius: 14px; border: 1px solid #b98900; cursor: pointer;
  background: linear-gradient(180deg, #ffd24d 0%, #fdbf14 60%, #e0a400 100%); color: #221600;
  font-family: inherit; font-weight: 900; font-size: 0.9rem;
  box-shadow: 0 3px 0 #8a6200, 0 8px 18px rgba(253,191,20,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
.rt-screen .rt-btn-nueva:hover { transform: translateY(-1px); }
.rt-screen .rt-btn-nueva:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a6200, 0 4px 10px rgba(253,191,20,0.25); }

.rt-screen .rt-stats-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.rt-screen .rt-stat-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; }
.rt-screen .rt-stat-ic {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.rt-screen .rt-ic-green { background: rgba(34,197,94,0.15); color: #4ade80; border: 1.5px solid rgba(34,197,94,0.4); }
.rt-screen .rt-ic-purple { background: rgba(167,139,250,0.15); color: #c4b5fd; border: 1.5px solid rgba(167,139,250,0.4); }
.rt-screen .rt-ic-blue { background: rgba(96,165,250,0.15); color: #93c5fd; border: 1.5px solid rgba(96,165,250,0.4); }
.rt-screen .rt-ic-gold { background: rgba(253,191,20,0.15); color: #ffd75e; border: 1.5px solid rgba(253,191,20,0.4); }
.rt-screen .rt-stat-label { display: block; font-size: 0.72rem; font-weight: 800; color: #98a0b3; }
.rt-screen .rt-stat-num { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.15; }
.rt-screen .rt-stat-sub { font-size: 0.7rem; font-weight: 700; font-style: normal; color: #7d8598; }
.rt-screen .rt-stat-sub.up { color: #4ade80; }
.rt-screen .rt-sub-purple { color: #c4b5fd; }
.rt-screen .rt-sub-blue { color: #93c5fd; }
.rt-screen .rt-sub-gold { color: #ffd75e; }

.rt-screen .rt-partida-group { display: flex; flex-direction: column; gap: 12px; }
.rt-screen .rt-group-head { display: flex; align-items: center; justify-content: space-between; }
.rt-screen .rt-group-title { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; color: #cbd2e0; }
.rt-screen .rt-group-dot { width: 8px; height: 8px; border-radius: 50%; }
.rt-screen .rt-dot-purple { background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,0.6); }
.rt-screen .rt-dot-blue { background: #60a5fa; box-shadow: 0 0 8px rgba(96,165,250,0.6); }

.rt-screen .rt-partida-card {
  display: grid; grid-template-columns: 96px 1.2fr 1fr 0.9fr; gap: 20px; align-items: center;
  padding: 18px 22px; border-radius: 20px;
}
.rt-screen .rt-partida-thumb {
  width: 96px; height: 96px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px rgba(0,0,0,0.35);
}
.rt-screen .rt-thumb-green { background: linear-gradient(160deg, rgba(34,197,94,0.25), rgba(22,101,52,0.15)); border: 1.5px solid rgba(34,197,94,0.35); }
.rt-screen .rt-thumb-purple { background: linear-gradient(160deg, rgba(167,139,250,0.28), rgba(88,28,135,0.18)); border: 1.5px solid rgba(167,139,250,0.35); }
.rt-screen .rt-thumb-dim { background: linear-gradient(160deg, rgba(148,163,184,0.14), rgba(30,41,59,0.3)); border: 1.5px solid rgba(148,163,184,0.25); }
.rt-screen .rt-thumb-blue { background: linear-gradient(160deg, rgba(96,165,250,0.25), rgba(30,58,138,0.18)); border: 1.5px solid rgba(96,165,250,0.35); }
.rt-screen .rt-partida-week { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; color: #ffd75e; }
.rt-screen .rt-partida-info h4 { margin: 2px 0 8px; font-size: 1.15rem; font-weight: 900; }
.rt-screen .rt-partida-avs { display: flex; gap: 6px; margin-bottom: 10px; }
.rt-screen .rt-mini-av {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900; background: rgba(255,255,255,0.07); box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.rt-screen .rt-mini-av.rt-av-gold { background: rgba(245,184,0,0.25); color: #ffd75e; }
.rt-screen .rt-mini-av.rt-av-blue { background: rgba(96,165,250,0.25); color: #93c5fd; }
.rt-screen .rt-mini-av.rt-av-purple { background: rgba(167,139,250,0.25); }
.rt-screen .rt-mini-av-plus { border: 1.5px dashed rgba(255,255,255,0.25); background: transparent; color: #8b93a7; }
.rt-screen .rt-partida-actions { display: flex; gap: 8px; }
.rt-screen .rt-btn-pause { color: #ffd75e; border-color: rgba(253,191,20,0.35); }
.rt-screen .rt-partida-mid { display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; font-weight: 700; }
.rt-screen .rt-partida-time { font-weight: 900; }
.rt-screen .rt-partida-time.up { color: #4ade80; }
.rt-screen .rt-paused-txt { color: #c4b5fd; }
.rt-screen .rt-prog-green { background: linear-gradient(90deg, #4ade80, #22c55e); box-shadow: 0 0 10px rgba(34,197,94,0.5); }
.rt-screen .rt-partida-winner { color: #98a0b3; }
.rt-screen .rt-partida-side {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.07);
}
.rt-screen .rt-partida-side div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rt-screen .rt-partida-side span { font-size: 0.72rem; font-weight: 700; color: #8b93a7; }
.rt-screen .rt-partida-side strong { font-size: 0.88rem; font-weight: 900; display: flex; align-items: center; gap: 4px; }
.rt-screen .rt-partida-side--btn { background: transparent; border: none; align-items: flex-end; }
.rt-screen .rt-btn-resume {
  padding: 12px 22px; border-radius: 12px; cursor: pointer; font-family: inherit; font-weight: 900;
  background: rgba(167,139,250,0.12); border: 1.5px solid rgba(167,139,250,0.5); color: #c4b5fd;
}
.rt-screen .rt-btn-resume:hover { background: rgba(167,139,250,0.2); }
.rt-screen .rt-partida-paused { opacity: 0.92; }
.rt-screen .rt-partida-pending { border-color: rgba(253,191,20,0.35); }
.rt-screen .rt-pending-txt { color: #ffd75e; }
.rt-screen .rt-pending-card { text-align: center; padding: 1.5rem 1.25rem; }
.rt-screen .rt-pending-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.rt-screen .rt-pending-msg { margin: 1rem 0; line-height: 1.5; }
.rt-screen .rt-pending-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.rt-screen .rt-dot-gold { background: #e0a400; }
.rt-screen .rt-thumb-gold { background: linear-gradient(160deg, rgba(253,191,20,0.3), rgba(224,164,0,0.14)); }
@media (max-width: 900px) {
  .rt-screen .rt-stats-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rt-screen .rt-partida-card { grid-template-columns: 72px 1fr; }
  .rt-screen .rt-partida-thumb { width: 72px; height: 72px; }
}

/* ── Historial ── */
.rt-screen .rt-hist-week strong { display: block; font-weight: 900; }
.rt-screen .rt-hist-week span { font-size: 0.72rem; }
.rt-screen .rt-hist-result strong { font-weight: 900; font-size: 0.92rem; }
.rt-screen .rt-hist-result span { display: block; font-size: 0.72rem; color: #7d8598; }
.rt-screen .rt-hist-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 0.74rem; font-weight: 800;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #b7bdcc;
}
.rt-screen .rt-badge-live { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.4); color: #4ade80; }
.rt-screen .rt-badge-paused { background: rgba(253,191,20,0.1); border-color: rgba(253,191,20,0.4); color: #ffd75e; }

.rt-screen .rt-podium-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; border-radius: 20px; }
.rt-screen .rt-podium-card h2 { color: #ffd75e; font-weight: 900; letter-spacing: 0.08em; font-size: 0.82rem; margin: 0 0 16px; }
.rt-screen .rt-podium-row { display: flex; gap: 12px; align-items: flex-end; }
.rt-screen .rt-podium-slot {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 10px 14px;
  border-radius: 16px; background: rgba(0,0,0,0.28); border: 1.5px solid rgba(255,255,255,0.08); position: relative;
}
.rt-screen .rt-podium-slot strong { font-weight: 900; font-size: 0.9rem; }
.rt-screen .rt-podium-slot em { font-style: normal; font-weight: 900; font-size: 0.85rem; }
.rt-screen .rt-podium-slot .rt-player-av { width: 46px; height: 46px; font-size: 1.05rem; }
.rt-screen .rt-podium-winner {
  padding-top: 24px; padding-bottom: 22px;
  border-color: rgba(253,191,20,0.55);
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(253,191,20,0.18) 0%, transparent 60%),
    rgba(0,0,0,0.28);
  box-shadow: 0 0 24px rgba(253,191,20,0.12);
}
.rt-screen .rt-podium-pos {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 2px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 900;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
}
.rt-screen .rt-pos-gold { background: linear-gradient(180deg, #ffd24d, #e0a400); color: #221600; border-color: #b98900; box-shadow: 0 2px 0 #8a6200; }
.rt-screen .rt-podium-comment { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.rt-screen .rt-podium-comment-head { display: flex; align-items: center; gap: 10px; }
.rt-screen .rt-podium-comment-head h4 { margin: 0; font-weight: 900; }
.rt-screen .rt-podium-comment p { margin: 0; color: #b7bdcc; font-size: 0.88rem; line-height: 1.55; }
.rt-screen .rt-podium-comment .rt-btn { align-self: flex-start; }
@media (max-width: 860px) { .rt-screen .rt-podium-card { grid-template-columns: 1fr; } }
