/* Stock Wars — estilos */
:root {
  --bg: #0a0f1c;
  --bg-2: #0f1626;
  --card: #131c2f;
  --card-2: #18233a;
  --line: #22304d;
  --text: #e7ecf6;
  --muted: #8b98b3;
  --faint: #5d6a85;
  --accent: #22c55e;
  --accent-ink: #052e14;
  --accent-soft: rgba(34, 197, 94, .14);
  --up: #22c55e;
  --down: #f43f5e;
  --gold: #fbbf24;
  --silver: #cbd5e1;
  --bronze: #d9925b;
  --info: #38bdf8;
  --warn: #f59e0b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #13213d 0%, transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.faint { color: var(--faint); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 760px; }

/* ---------- cabecera ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 15, 28, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; font-size: 1.02rem; white-space: nowrap; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #22c55e, #0ea5e9); color: #04120a; font-size: 17px;
}
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .93rem; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a.active { color: var(--text); background: var(--card-2); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.tab-switch { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tab-switch a { padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.tab-switch a.active { background: var(--accent); color: var(--accent-ink); }
.btn.menu-toggle { display: none; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text);
  padding: 9px 16px; border-radius: var(--radius-sm); font: inherit; font-weight: 700; font-size: .93rem;
  cursor: pointer; transition: transform .06s, background .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { border-color: #34466d; background: #1d2a45; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #2fd96b; border-color: #2fd96b; color: var(--accent-ink); }
.btn-danger { background: transparent; border-color: rgba(244, 63, 94, .45); color: #fda4af; }
.btn-danger:hover { background: rgba(244, 63, 94, .12); border-color: var(--down); color: #fecdd3; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 11px; font-size: .84rem; border-radius: 8px; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; border-radius: 12px; }
.btn-xl { padding: 18px 30px; font-size: 1.15rem; border-radius: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- tarjetas ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title h2, .card-title h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
main { padding: 26px 0 60px; }

/* ---------- hero portada ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #10203c 0%, #0f1a2e 55%, #0b1424 100%);
  padding: 34px 32px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .22), transparent 65%); pointer-events: none;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 6px; }
.hero p { color: #b3c0d8; max-width: 560px; margin: 0; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-howto {
  background: linear-gradient(135deg, #fbbf24, #f59e0b); border: 0; color: #2a1a00;
  box-shadow: 0 8px 24px rgba(251, 191, 36, .25);
}
.btn-howto:hover { background: linear-gradient(135deg, #fcd34d, #fbbf24); color: #2a1a00; }
.preseason { border: 1px dashed rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .07); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; color: #fde68a; }

/* ---------- pestañas ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a {
  padding: 9px 15px; border-radius: 10px; font-weight: 700; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); font-size: .93rem;
}
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.subtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: thin; }
.subtabs a { padding: 5px 11px; border-radius: 999px; font-size: .84rem; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.subtabs a.active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- tablas ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid rgba(34, 48, 77, .6); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.ta-r { text-align: right; }
.ta-c { text-align: center; }
tbody tr:hover td { background: rgba(255, 255, 255, .015); }
tr.is-ineligible td { opacity: .5; }
tr.is-bench td { background: rgba(56, 189, 248, .05); color: #a5d8f5; font-style: italic; }
tr.is-me td { background: rgba(34, 197, 94, .07); }
.rank { width: 42px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.medal { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: .85rem; color: #1a1300; }
.medal-1 { background: var(--gold); }
.medal-2 { background: var(--silver); }
.medal-3 { background: var(--bronze); }
.player-cell { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.player-cell a { font-weight: 700; }
.player-cell a:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.tag-warn { color: #fcd34d; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.tag-ok { color: #86efac; border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.tag-bad { color: #fda4af; border-color: rgba(244, 63, 94, .4); background: rgba(244, 63, 94, .08); }
.tag-info { color: #7dd3fc; border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .08); }
.empty { padding: 30px 10px; text-align: center; color: var(--muted); }

/* ---------- avatares ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: var(--card-2); }
.avatar-sm { width: 28px; height: 28px; font-size: .7rem; }
.avatar-md { width: 36px; height: 36px; font-size: .8rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar-xl { width: 96px; height: 96px; font-size: 1.9rem; }
.avatar-initials { background: hsl(var(--hue), 45%, 32%); color: hsl(var(--hue), 80%, 88%); font-weight: 800; }

/* ---------- feed ---------- */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(34, 48, 77, .6); font-size: .9rem; }
.feed li:last-child { border-bottom: 0; }
.feed .when { color: var(--faint); font-size: .78rem; }
.verb-buy { color: var(--up); font-weight: 700; }
.verb-sell { color: var(--down); font-weight: 700; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(34, 48, 77, .6); font-size: .9rem; }
.mini-list li:last-child { border-bottom: 0; }

/* ---------- panel del jugador ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stat-value { font-size: 1.55rem; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat-sub { font-size: .85rem; margin-top: 2px; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 16px; font-size: .93rem;
  border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .08); color: #cfeafc;
}
.notice-icon { font-size: 1.2rem; line-height: 1.2; }
.notice strong { color: #fff; }
.notice-open { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); color: #d1fae5; }
.notice-closed { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); color: #fef3c7; }
.notice-warn { border-color: rgba(244, 63, 94, .45); background: rgba(244, 63, 94, .08); color: #ffe4e6; }
.divers { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.divers-bar { flex: 1; min-width: 180px; height: 10px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.divers-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #22c55e); border-radius: 999px; }
.divers-bar.ok span { background: var(--accent); }
.divers-count { font-weight: 800; font-size: 1.1rem; }
.buy-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.pos-name { font-weight: 700; }
.pos-sym { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.links-footer { display: flex; gap: 18px; justify-content: center; margin-top: 22px; }
.links-footer a { color: var(--muted); font-weight: 600; }
.links-footer a:hover { color: var(--text); }

/* ---------- ficha jugador ---------- */
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.profile-head h1 { margin: 0; }
.trophies { display: flex; gap: 8px; flex-wrap: wrap; }
.trophy { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px solid var(--line); background: var(--card-2); }
.trophy-1 { border-color: rgba(251, 191, 36, .55); color: #fde68a; }
.trophy-2 { border-color: rgba(203, 213, 225, .5); color: #e2e8f0; }
.trophy-3 { border-color: rgba(217, 146, 91, .55); color: #f5c9a6; }
.chart-box { position: relative; height: 300px; }
.chart-box-sm { position: relative; height: 220px; }
.alloc-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: .88rem; }
.alloc-list li { display: flex; justify-content: space-between; padding: 4px 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }

/* ---------- formularios ---------- */
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field small { display: block; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; font: inherit; font-size: 1rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: middle; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.auth-card { max-width: 440px; margin: 30px auto; }
.auth-card h1 { font-size: 1.6rem; }

/* ---------- avisos flash ---------- */
.flash-stack { margin-bottom: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem; border: 1px solid; }
.flash-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .4); color: #bbf7d0; }
.flash-error { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .45); color: #fecdd3; }
.flash-info { background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .4); color: #bae6fd; }

/* ---------- ventana modal (compra / venta) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 14, .72); backdrop-filter: blur(3px); }
.modal-panel {
  position: relative; margin: 5vh auto; width: calc(100% - 24px); max-width: 620px; max-height: 90vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 22px 24px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h2 { margin: 0; }
.modal-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.steps span { flex: 1; height: 4px; border-radius: 999px; background: var(--card-2); }
.steps span.on { background: var(--accent); }
.step-title { font-weight: 800; margin-bottom: 10px; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; font: inherit; color: var(--text); font-weight: 700; text-align: left;
}
.choice:hover { border-color: var(--accent); }
.choice.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice .flag { font-size: 1.3rem; }
.choice-special { grid-column: 1 / -1; justify-content: center; background: linear-gradient(135deg, rgba(251, 191, 36, .08), rgba(56, 189, 248, .06)); }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.crumbs button { background: var(--card-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: .84rem; cursor: pointer; }
.results { list-style: none; padding: 0; margin: 10px 0 0; }
.results li button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid rgba(34, 48, 77, .6); color: var(--text); padding: 11px 6px; font: inherit; cursor: pointer;
}
.results li button:hover { background: var(--card-2); }
.results .r-name { font-weight: 700; }
.results .r-meta { font-size: .8rem; color: var(--muted); }
.asset-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.asset-box .a-name { font-weight: 800; font-size: 1.08rem; }
.asset-box .a-price { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick button { background: var(--card-2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 5px 10px; font: inherit; font-size: .84rem; cursor: pointer; }
.quick button:hover, .quick button.selected { border-color: var(--accent); }
.summary { list-style: none; margin: 12px 0 16px; padding: 0; font-size: .92rem; }
.summary li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.summary li:last-child { border-bottom: 0; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-text { color: #fda4af; font-weight: 600; margin: 8px 0; }

/* ---------- reglas ---------- */
.rules section { margin-bottom: 18px; }
.rules h2 { display: flex; align-items: center; gap: 10px; }
.rules .num-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .95rem; flex: none; }
.rules ul { padding-left: 20px; margin: 0 0 1em; }
.rules li { margin-bottom: 6px; }
.example { background: var(--bg-2); border-left: 3px solid var(--gold); border-radius: 8px; padding: 12px 14px; margin: 10px 0 0; font-size: .93rem; color: #d7deeb; }

/* ---------- admin ---------- */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-nav a { padding: 8px 13px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 700; font-size: .9rem; }
.admin-nav a.active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.job-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.job-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.job-ok { background: var(--up); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.job-bad { background: var(--down); box-shadow: 0 0 0 4px rgba(244, 63, 94, .2); }
.job-warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
pre.log { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .8rem; white-space: pre-wrap; max-height: 260px; overflow: auto; color: #b9c4da; }
.inline-form { display: inline; }
.list-cols { columns: 2; font-size: .88rem; }

.manage { position: relative; display: inline-block; text-align: left; }
.manage > summary { list-style: none; }
.manage > summary::-webkit-details-marker { display: none; }
.manage-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 270px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); display: grid; gap: 10px; }

footer.site { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--faint); font-size: .85rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .layout-main { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .btn.menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .nav.open { display: flex; }
  .topbar .wrap { gap: 10px; }
  .brand-text { display: none; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 1.7rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stat-value { font-size: 1.3rem; }
  .hide-sm { display: none; }
  .card { padding: 16px; }
  td, th { padding: 9px 6px; }
  .list-cols { columns: 1; }
}
@media (max-width: 420px) {
  .stats { gap: 10px; }
  .stat { padding: 12px 13px; }
  .stat-value { font-size: 1.12rem; }
  .stat-label { font-size: .7rem; }
  .tab-switch a { padding: 6px 8px; font-size: .8rem; }
  .player-cell { min-width: 0; flex-wrap: wrap; gap: 6px; }
  th { font-size: .68rem; }
  .hero-actions .btn { flex: 1; padding: 14px 16px; font-size: 1rem; }
  .tabs a { padding: 7px 11px; font-size: .86rem; }
  .rank { width: 30px; }
  .row-actions { flex-direction: column; align-items: stretch; }
  .pos-sym { font-size: .72rem; }
}
