/* Frontend table styling (extra-compact + strict zebra) */
.f1vs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.f1vs-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.1; }
.f1vs-table th, .f1vs-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #e6e6e6;
  white-space: nowrap;
}

.f1vs-table thead th {
  font-weight: 700;
  background: #ffffff;
  vertical-align: bottom;
}

.f1vs-table tbody tr:nth-child(odd) { background: #ffffff; }
.f1vs-table tbody tr:nth-child(even) { background: #f2f2f2; }
.f1vs-table tbody tr:hover { background: #eaeaea; }

.f1vs-col-year { position: sticky; left: 0; background: inherit; z-index: 2; }
.f1vs-col-team { position: sticky; left: 54px; background: inherit; z-index: 2; min-width: 230px; }

.f1vs-table td:not(.f1vs-col-year):not(.f1vs-col-team),
.f1vs-table th:not(.f1vs-col-year):not(.f1vs-col-team) { text-align: right; }

.f1vs-totals td { background: #e6e6e6; font-weight: 700; }

/* Header: icon above abbreviation */
.f1vs-th { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.f1vs-ico { width: 14px; height: 14px; display: inline-flex; align-items:center; justify-content:center; opacity: .8; }
.f1vs-ico svg { width: 14px; height: 14px; fill: currentColor; }
.f1vs-abbr { font-size: 11px; letter-spacing: .02em; }
.f1vs-th-label { font-size: 11px; }

/* Profile */
.f1vs-profile { margin: 14px 0; }
.f1vs-profile-head { display:flex; align-items:center; justify-content:space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.f1vs-profile-name { font-size: 18px; }
.f1vs-profile-meta { display:flex; gap: 8px; flex-wrap: wrap; }
.f1vs-pill { display:inline-block; padding: 4px 10px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; font-size: 12px; background: rgba(0,0,0,.02); }

.f1vs-th{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:3px;cursor:help}
.f1vs-ico svg{width:14px;height:14px;fill:currentColor;opacity:.8}
.f1vs-abbr{font-size:11px}
.f1vs-th::after{
  content:attr(data-tooltip);
  position:absolute;
  bottom:100%;
  transform:translateY(-6px);
  background:#111;color:#fff;
  padding:4px 6px;
  border-radius:4px;
  font-size:11px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:.15s;
}
.f1vs-th:hover::after{opacity:1}
