/* ─── EXTRA TOKENS ─── */
:root {
  --green: #34D399;
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.1);
  --card-raised: #141414;
}

/* ─── PAGE WRAPPER ─── */
.player-page {
  max-width: 920px;
  margin: 5 0px auto 80px;
  padding: 0 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--light-gray);
}

/* ─── INTEL CARD ─── */
.intel-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  animation: cardIn 0.5s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HEADER ─── */
.card-header {
  padding: 32px 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.player-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle at top right, rgba(202, 255, 4, 0.04), transparent 70%);
  pointer-events: none;
}

.player-info {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px 0 0;
}

.player-avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.player-name {
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.player-meta {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ntrp-badge {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ─── IDENTITY BUTTON ─── */
.identity-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gray);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.identity-btn::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B6278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: background-image 0.2s;
}

.identity-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--light-gray);
}

.identity-btn:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238AA0B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
}

.identity-btn.identity-active {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--blue);
}

.identity-btn.identity-active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.identity-btn.identity-active:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--red);
}

.identity-btn.identity-active:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ─── PLAYER TEAMS (in header) ─── */
.player-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.player-team-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--light-gray);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.player-team-tag:hover {
  color: var(--text);
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.07);
}

.player-team-meta {
  font-size: 11px;
  color: var(--lime);
  opacity: 0.8;
  padding-left: 5px;
  border-left: 1px solid var(--border-bright);
}

/* ─── RATINGS CLUSTER ─── */
.ratings-cluster {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 28px;
}

.rating-hero {
  text-align: right;
}

.rating-hero-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 58px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -2px;
}

.rating-hero-label {
  font-size: 13px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.rating-split {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.rating-sub-card {
  background: var(--card-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  text-align: center;
  transition: border-color 0.2s;
}

.rating-sub-card:hover { border-color: var(--border-bright); }

.rating-sub-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rating-sub-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

/* ─── QUICK STATS ROW ─── */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.quick-stat:last-child { border-right: none; }
.quick-stat:hover { background: rgba(255, 255, 255, 0.015); }

.qs-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.qs-label {
  font-size: 14px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}

.qs-sub {
  font-size: 13px;
  color: var(--gray);
  margin-top: 3px;
  opacity: 0.7;
}

/* ─── AREA RANK PILLS ─── */
.qs-area-stat {
  padding-bottom: 0;
}
.qs-area-pills {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.qs-area-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 4px 6px;
  border-radius: 5px;
  text-decoration: none;
  width: 100%;
  transition: background 0.15s;
}
.qs-area-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.qs-area-label {
  font-size: 14px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap;
}
.qs-area-name {
  font-size: 11px;
  color: var(--gray);
  opacity: 0.7;
  margin-top: 3px;
  text-align: center;
}

/* ─── YEAR NAV ─── */
.year-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.year-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
  user-select: none;
}

.year-nav-btn:first-child {
  justify-self: start;
}

.year-nav-btn:last-child {
  justify-self: end;
}

.year-nav-btn:hover {
  color: var(--lime);
  background: rgba(202, 255, 4, 0.04);
}

.year-nav-btn.disabled {
  visibility: hidden;
  pointer-events: none;
}

.year-nav-current {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 0;
  font-family: 'JetBrains Mono', monospace;
}

.year-nav-current .ync-year {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1.5px;
}

.year-nav-current .ync-label {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}


/* ─── BODY GRID ─── */
.card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.panel {
  padding: 24px 0 28px;
}

.panel-left {
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.panel:not(.panel-left) {
  padding-left: 24px;
}

.panel-title {
  font-size: 15px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--lime);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── STAT BARS ─── */
.stat-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
}

.stat-row + .stat-row {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stat-name {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.stat-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 4px;
}

.stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
}

/* ─── RECENT MATCHES SECTION ─── */
.recent-section {
  border-bottom: 1px solid var(--border);
}

.recent-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.recent-header .panel-title {
  margin-bottom: 0;
}

.recent-header .panel-title::after {
  display: none;
}

.record-summary {
  display: flex;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
}

.record-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--light-gray);
}

.record-item .val { font-weight: 700; }
.record-item .val.good { color: var(--lime); }
.record-item .val.bad { color: var(--red); }

/* ─── MATCH TABS ─── */
.match-tabs {
  display: flex;
  align-items: center;
  padding: 16px 28px 0;
}

.match-tabs-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
}

.mrl-short { display: none; }

.match-tab {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}

.match-tab:hover { color: var(--light-gray); }

.match-tab.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.tab-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gray);
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
}

.match-tab.active .tab-count {
  color: var(--lime);
  background: rgba(202, 255, 4, 0.1);
}

.tabs-divider {
  height: 1px;
  background: var(--border);
  margin: 0 28px;
}

/* ─── MATCH LIST ─── */
.match-list {
  display: none;
  flex-direction: column;
}

.match-list.active { display: flex; }

/* ─── MATCH ROW ─── */
.match-row {
  padding: 12px 28px;
  display: grid;
  grid-template-columns: 28px 1fr 90px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.match-row:last-child { border-bottom: none; }
.match-row:hover { background: rgba(255, 255, 255, 0.02); }

/* ─── RESULT BADGE ─── */
.match-result {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.match-result.w {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
}

.match-result.l {
  background: rgba(255, 59, 92, 0.1);
  color: var(--red);
}

.match-result.default {
  background: transparent;
  color: var(--gray);
  font-size: 13px;
}

/* ─── SCOREBOARD LAYOUT ─── */
.match-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sb-row {
  display: grid;
  grid-template-columns: 1fr 38px 38px 38px;
  gap: 0 2px;
  align-items: center;
}

.sb-them {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 3px;
}

.sb-names {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
  padding-right: 10px;
}

.sb-player-name {
  font-size: 16px;
  font-weight: 600;
}

.sb-player-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.sb-player-link:hover { color: var(--lime); }

.sb-sep {
  color: var(--gray);
  font-size: 14px;
  font-weight: 400;
}

.sb-rating {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
}

/* ─── MATCH RATING COLUMN ─── */
.match-rating-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.sb-perf {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-align: center;
}

.perf-hot  { background: rgba(202,255,4,0.1);  color: var(--white); }
.perf-cold { background: rgba(255,59,92,0.08); color: var(--white); }
.perf-neutral { background: rgba(255,255,255,0.05); color: var(--white); }

.sb-dr {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.sb-dr-delta {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
}
.sb-dr-delta.up   { color: var(--green); }
.sb-dr-delta.down { color: var(--red); }

.sb-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: var(--light-gray);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 2px 0;
}

.sb-score.won { color: var(--white); }
.sb-score.lost { color: rgba(255,255,255,0.3); }
.sb-score.tb { color: var(--orange); font-size: 14px; }
.sb-score.empty { color: transparent; }

.dr-before { color: var(--gray); }

.dr-arrow { font-size: 11px; }
.dr-arrow.up   { color: var(--green); }
.dr-arrow.down { color: var(--red); }

.dr-after { font-weight: 700; }
.dr-after.up   { color: var(--green); }
.dr-after.down { color: var(--red); }
.dr-after.flat { color: var(--light-gray); }


/* ─── MATCH META ─── */
.sb-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 4px;
}

/* ─── FORM SECTION ─── */
.form-section {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-label {
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.form-strip {
  display: flex;
  gap: 4px;
}

.form-block {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  position: relative;
}

.form-block.w {
  background: rgba(202, 255, 4, 0.12);
  color: var(--lime);
}

.form-block.l {
  background: rgba(255, 59, 92, 0.08);
  color: var(--red);
  opacity: 0.7;
}

.form-type {
  position: absolute;
  bottom: -1px;
  font-size: 8px;
  letter-spacing: 0;
  opacity: 0.6;
}

/* ─── RECENT FOOTER ─── */
.recent-footer {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
}

/* ─── H2H SECTION ─── */
.h2h-section {
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
}

.h2h-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.h2h-card {
  background: var(--card-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: block;
}

.h2h-card:hover {
  border-color: var(--border-bright);
  background: var(--dark-card-hover);
}

.h2h-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.h2h-sub {
  font-size: 15px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

.h2h-record {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.h2h-dot {
  width: 18px;
  height: 6px;
  border-radius: 3px;
}

.h2h-dot.w { background: var(--lime); }
.h2h-dot.l { background: var(--red); opacity: 0.5; }

.h2h-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}

/* ─── FOOTER ─── */
.card-footer {
  padding: 16px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
}

.footer-meta {
  font-size: 15px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .player-page {
    margin-top: 0;
    padding: 0 8px;
  }

  .card-header {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .ratings-cluster {
    align-items: center;
    width: 100%;
  }

  .player-teams { display: none; }

  .card-body { display: none; }

  .record-summary { display: none; }

  .form-section { display: none; }

  .quick-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-stat:nth-child(3) { border-right: none; }
  .quick-stat:nth-child(4) { border-top: 1px solid var(--border); }
  .quick-stat:nth-child(5) { border-top: 1px solid var(--border); }
  .quick-stat:nth-child(6) { border-top: 1px solid var(--border); }

  .qs-area-rank { font-size: 22px; }
  .qs-area-label { font-size: 11px; letter-spacing: 0.5px; }
  .qs-area-name { font-size: 10px; }

  .card-body {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 24px;
  }

  .panel-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .h2h-grid {
    grid-template-columns: 1fr;
  }

  .recent-header {
    padding: 20px 20px 0;
    flex-direction: column;
    gap: 10px;
  }

  .match-tabs {
    padding: 12px 20px 0;
  }

  .tabs-divider {
    margin: 0 20px;
  }

  .tab-label {
    font-size: 0;
  }
  .tab-label::before {
    content: attr(data-short);
    font-size: 16px;
  }
  .match-tab.active .tab-label {
    font-size: inherit;
  }
  .match-tab.active .tab-label::before {
    content: none;
  }

  .match-row {
    padding: 10px 12px;
    gap: 6px 10px;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
  }

  .match-result {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    font-size: 13px;
    width: 24px;
    height: 24px;
  }

  .mrl-full { display: none; }
  .mrl-short { display: inline; }

  .match-scoreboard {
    grid-column: 2;
    grid-row: 1;
  }

  .match-rating-col {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    gap: 3px;
  }

  .sb-perf {
    font-size: 12px;
    padding: 2px 5px;
  }

  .sb-dr { display: none; }
  .sb-dr-delta { display: block; text-align: right; }

  .sb-row {
    grid-template-columns: 1fr 26px 26px 26px;
  }

  .sb-score {
    font-size: 13px;
    width: 22px;
  }

  .sb-player-name,
  .sb-player-link {
    font-size: 13px;
  }

  .sb-rating {
    font-size: 11px;
  }


  .doubles .sb-us {
    padding-bottom: 5px;
  }

  .doubles .sb-them {
    padding-top: 5px;
  }

  .doubles .sb-names {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .doubles .sb-sep {
    display: none;
  }

  .year-nav-label {
    font-size: 0;
  }
  .year-nav-label::before {
    content: attr(data-short);
    font-size: 1rem;
  }

  .sb-player-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .form-section {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .recent-footer {
    padding: 10px 20px;
  }

  .h2h-section {
    padding: 24px;
  }

  .card-footer {
    padding: 16px 24px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
