:root {
  --hsp2-bg: #f4f7fb;
  --hsp2-surface: #ffffff;
  --hsp2-surface-soft: #f8fafc;
  --hsp2-border: #e7edf5;
  --hsp2-text: #0f172a;
  --hsp2-text-soft: #64748b;
  --hsp2-green: #10b981;
  --hsp2-green-dark: #0f9b6c;
  --hsp2-red: #ef4444;
  --hsp2-amber: #ebb334;
  --hsp2-navy: #0f172a;
  --hsp2-navy-2: #1e293b;
  --hsp2-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  --hsp2-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --hsp2-radius: 22px;
}

.hsp2-wrap,
.hsp2-match-shell,
.hsp2-competition-shell,
.hsp2-club-shell,
.hsp2-player-shell,
.hsp2-archive-shell {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.hsp2-wrap,
.hsp2-match-flow,
.hsp2-comp-flow,
.hsp2-cup-flow,
.hsp2-asia-flow,
.hsp2-club-flow,
.hsp2-player-flow,
.hsp2-archive-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hsp2-match-flow {
  max-width: 980px;
  margin: 20px auto;
}

.hsp2-comp-flow,
.hsp2-club-flow,
.hsp2-player-flow {
  max-width: 1080px;
  margin: 20px auto;
}

.hsp2-cup-flow {
  max-width: 1000px;
  margin: 20px auto;
}

.hsp2-asia-flow {
  max-width: 1220px;
  margin: 20px auto;
}

.hsp2-empty,
.hsp2-empty-state {
  background: var(--hsp2-surface-soft);
  border: 1px dashed #cdd8e6;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  color: var(--hsp2-text-soft);
  font-weight: 700;
}

.hsp2-empty-state.mini {
  padding: 16px 14px;
  font-size: 13px;
}

.hsp2-block,
.hsp2-comp-block,
.hsp2-cup-block,
.hsp2-asia-block,
.hsp2-club-block,
.hsp2-player-block {
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
  border-radius: var(--hsp2-radius);
  box-shadow: var(--hsp2-shadow);
  padding: 22px;
}

.hsp2-block-header,
.hsp2-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hsp2-border);
}

.hsp2-block-header h3,
.hsp2-block__head h2,
.hsp2-block-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--hsp2-text);
  font-weight: 900;
}

.gold-accent h3 {
  color: #b0780f;
}

.hsp2-blockless-grid,
.hsp2-competition-highlights,
.hsp2-club-overview-grid,
.hsp2-player-overview-grid,
.hsp2-mini-facts-grid,
.hsp2-stats-boxes,
.hsp2-match-grid,
.hsp2-news-grid,
.hsp2-groups-grid,
.hsp2-stats-grid,
.hsp2-matches-grid,
.hsp2-players-grid,
.hsp2-two-column-panels {
  display: grid;
  gap: 16px;
}

.hsp2-blockless-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hsp2-highlight-card,
.hsp2-mini-fact {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  padding: 16px 14px;
  box-shadow: var(--hsp2-shadow);
}

.hsp2-highlight-card .label,
.hsp2-mini-fact .label {
  display: block;
  color: var(--hsp2-text-soft);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hsp2-highlight-card .value,
.hsp2-mini-fact .value {
  display: block;
  color: var(--hsp2-text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.hsp2-two-column-panels,
.hsp2-matches-grid,
.hsp2-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hsp2-match-grid {
  grid-template-columns: 1fr;
}

.hsp2-match-grid--compact {
  gap: 12px;
}

.hsp2-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hsp2-page-head {
  padding: 28px 22px;
  border-radius: var(--hsp2-radius);
  color: #fff;
  background: linear-gradient(135deg, var(--hsp2-navy) 0%, var(--hsp2-navy-2) 100%);
  box-shadow: var(--hsp2-shadow-lg);
}

.hsp2-page-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hsp2-page-head h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.1;
}

.hsp2-page-head p {
  margin: 0;
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.7;
}

.hsp2-match-hero,
.hsp2-comp-hero,
.hsp2-cup-hero,
.hsp2-asia-hero,
.hsp2-club-hero,
.hsp2-player-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--hsp2-navy) 0%, var(--hsp2-navy-2) 100%);
  box-shadow: var(--hsp2-shadow-lg);
}

.hsp2-comp-hero::after,
.hsp2-cup-hero::before,
.hsp2-asia-hero::before,
.hsp2-match-hero.is-live::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hsp2-comp-hero::after {
  inset: auto -30% -35% auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 65%);
}

.hsp2-cup-hero {
  border: 1px solid rgba(235, 179, 52, 0.22);
}

.hsp2-cup-hero::before {
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(235, 179, 52, 0.18) 0%, transparent 70%);
}

.hsp2-asia-hero {
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: linear-gradient(135deg, #0b1727 0%, #1a2a40 100%);
}

.hsp2-asia-hero::before {
  top: -120px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.18) 0%, transparent 70%);
}

.hsp2-match-hero.is-live::before {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: rgba(239, 68, 68, 0.35);
  filter: blur(75px);
}

.hsp2-club-hero-inner,
.hsp2-player-hero-inner,
.hsp2-comp-hero-inner,
.hsp2-cup-hero-inner,
.hsp2-asia-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hsp2-comp-logo-wrap,
.hsp2-cup-logo-wrap,
.hsp2-asia-logo-wrap,
.hsp2-club-logo,
.hsp2-player-photo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsp2-comp-logo-wrap,
.hsp2-asia-logo-wrap,
.hsp2-cup-logo-wrap {
  width: 94px;
  height: 94px;
  padding: 12px;
  background: #fff;
  border-radius: 22px;
}

.hsp2-cup-logo-wrap {
  border: 2px solid rgba(235, 179, 52, 0.5);
}

.hsp2-club-logo,
.hsp2-player-photo {
  width: 116px;
  height: 116px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  overflow: hidden;
}

.hsp2-player-photo {
  border-radius: 24px;
}

.hsp2-comp-logo-wrap img,
.hsp2-cup-logo-wrap img,
.hsp2-asia-logo-wrap img,
.hsp2-club-logo img,
.hsp2-player-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hsp2-player-photo img {
  object-fit: cover;
}

.hsp2-placeholder-logo,
.hsp2-comp-logo-placeholder {
  font-size: 42px;
}

.hsp2-comp-info h1,
.hsp2-cup-info h1,
.hsp2-asia-info h1,
.hsp2-club-info h1,
.hsp2-player-info-main h1 {
  margin: 8px 0;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
}

.hsp2-comp-season,
.hsp2-cup-season,
.hsp2-asia-season,
.hsp2-player-position {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hsp2-comp-season {
  background: rgba(255, 255, 255, 0.12);
}

.hsp2-cup-season,
.hsp2-player-position {
  color: var(--hsp2-amber);
  background: rgba(235, 179, 52, 0.14);
  border: 1px solid rgba(235, 179, 52, 0.22);
}

.hsp2-asia-season {
  color: #4ade80;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.24);
}

.hsp2-comp-info p,
.hsp2-cup-info p,
.hsp2-asia-info p,
.hsp2-page-head p {
  color: #cbd5e1;
}

.hsp2-club-rank {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.rank-number {
  color: #5af0ae;
  font-weight: 900;
}

.rank-league {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hsp2-player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbe7f3;
  font-size: 13px;
  font-weight: 700;
}

.hsp2-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  color: #c8d4e2;
  position: relative;
  z-index: 1;
}

.hsp2-badge-comp,
.hsp2-badge-date {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.hsp2-scoreboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.hsp2-team {
  text-align: center;
}

.hsp2-team img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.hsp2-team h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.hsp2-score-center {
  text-align: center;
  min-width: 150px;
}

.hsp2-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.hsp2-status.live-pulse {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.24);
  animation: hsp2Pulse 1.5s infinite;
}

.hsp2-score-huge {
  margin: 10px 0 6px;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2px;
}

.hsp2-time {
  color: #dbe7f3;
  font-size: 13px;
  font-weight: 800;
}

@keyframes hsp2Pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hsp2-detail-cards-block {
  padding-top: 18px;
}

.hsp2-mini-facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hsp2-stats-compare {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hsp2-stat-compare-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-stat-topline {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.hsp2-stat-topline .label {
  text-align: center;
  font-weight: 800;
  color: var(--hsp2-text);
}

.hsp2-stat-topline .home,
.hsp2-stat-topline .away {
  font-weight: 900;
  color: var(--hsp2-text);
}

.hsp2-stat-topline .away {
  text-align: left;
}

.hsp2-stat-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hsp2-stat-bars span {
  display: block;
  height: 10px;
  border-radius: 999px;
}

.home-bar {
  justify-self: end;
  background: linear-gradient(90deg, #1f6feb, #61a8ff);
}

.away-bar {
  justify-self: start;
  background: linear-gradient(90deg, #0ea36d, #48d39d);
}

.hsp2-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hsp2-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--hsp2-border);
  background: var(--hsp2-surface-soft);
}

.hsp2-event-row.away {
  flex-direction: row-reverse;
}

.hsp2-event-min {
  width: 44px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hsp2-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hsp2-event-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.hsp2-event-row.away .hsp2-event-info {
  justify-content: flex-end;
  text-align: left;
  direction: ltr;
}

.hsp2-event-icon {
  font-size: 18px;
}

.hsp2-event-text strong {
  display: block;
  color: var(--hsp2-text);
  font-size: 14px;
  margin-bottom: 2px;
}

.hsp2-event-text span {
  color: var(--hsp2-text-soft);
  font-size: 12px;
}

.hsp2-lineups-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.hsp2-lineup-meta-card {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--hsp2-border);
  background: var(--hsp2-surface-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hsp2-lineup-meta-card strong {
  color: var(--hsp2-text);
  font-size: 15px;
}

.hsp2-lineup-meta-card span {
  color: var(--hsp2-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.hsp2-pitch-container {
  background: linear-gradient(180deg, #1ea94f 0%, #147a3a 100%);
  border-radius: 18px;
  border: 4px solid #136232;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.hsp2-pitch-lines {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.hsp2-pitch-lines::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.hsp2-pitch-half {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 280px;
  position: relative;
  z-index: 1;
  padding: 16px 0;
}

.hsp2-pitch-half.home-half {
  flex-direction: column-reverse;
}

.hsp2-pitch-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hsp2-player {
  width: 62px;
  text-align: center;
}

.hsp2-shirt {
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hsp2-navy);
  background: #fff;
  color: var(--hsp2-navy);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.away-half .hsp2-shirt {
  background: var(--hsp2-navy);
  color: #fff;
  border-color: #fff;
}

.hsp2-name {
  display: inline-block;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-match-card {
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
  border-radius: 20px;
  box-shadow: var(--hsp2-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hsp2-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.hsp2-match-card.is-live-match {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.hsp2-mc-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px;
}

.hsp2-mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.hsp2-mc-comp {
  max-width: 75%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hsp2-surface-soft);
  color: var(--hsp2-text-soft);
  font-size: 11px;
  font-weight: 800;
}

.hsp2-mc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--hsp2-red);
  font-size: 11px;
  font-weight: 900;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hsp2-red);
  animation: hsp2Pulse 1.4s infinite;
}

.hsp2-mc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.hsp2-mc-team {
  text-align: center;
}

.hsp2-mc-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsp2-mc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hsp2-mc-name {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--hsp2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-mc-center {
  text-align: center;
  min-width: 70px;
}

.hsp2-mc-score {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: var(--hsp2-text);
}

.hsp2-mc-time {
  font-size: 12px;
  color: var(--hsp2-text-soft);
  font-weight: 700;
}

.hsp2-mc-time.text-live {
  color: var(--hsp2-red);
}

.hsp2-table-responsive,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hsp2-standings-table,
.hsp2-asia-table,
.hsp2-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
  min-width: 720px;
}

.hsp2-asia-table {
  min-width: 520px;
}

.hsp2-standings-table th,
.hsp2-asia-table th,
.hsp2-table th {
  background: var(--hsp2-surface-soft);
  color: var(--hsp2-text-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 13px 10px;
  border-bottom: 1px solid var(--hsp2-border);
}

.hsp2-standings-table td,
.hsp2-asia-table td,
.hsp2-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eff4fa;
  font-weight: 700;
  color: var(--hsp2-text);
  vertical-align: middle;
}

.hsp2-standings-table tr:hover td,
.hsp2-asia-table tr:hover td,
.hsp2-table tr:hover td {
  background: #fafcff;
}

.hsp2-rank-badge,
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  background: var(--hsp2-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  background: #94a3b8;
}

.rank-badge.q-badge {
  background: var(--hsp2-green);
}

.team-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: right;
}

.team-cell img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.points-cell {
  font-size: 16px;
  font-weight: 900;
  color: var(--hsp2-green);
}

.hsp2-group-card {
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--hsp2-shadow);
}

.hsp2-group-title {
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.hsp2-group-title.west {
  background: linear-gradient(90deg, #16a34a, #13814f);
}

.hsp2-group-title.east {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.hsp2-asia-table tr.is-qualified td {
  background: rgba(22, 163, 74, 0.05);
}

.hsp2-stars-grid {
  align-items: start;
}

.hsp2-stars-panel {
  background: var(--hsp2-surface-soft);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  padding: 16px;
}

.hsp2-subtitle {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--hsp2-text);
}

.hsp2-players-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-player-row,
.hsp2-cup-player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
}

.hsp2-player-rank {
  width: 24px;
  text-align: center;
  font-size: 16px;
  color: var(--hsp2-text-soft);
  font-weight: 900;
}

.hsp2-player-info,
.player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hsp2-player-info strong,
.player-info strong {
  color: var(--hsp2-text);
  font-size: 14px;
  font-weight: 900;
}

.hsp2-player-info span,
.player-info span {
  color: var(--hsp2-text-soft);
  font-size: 12px;
}

.hsp2-player-stat,
.player-goals {
  text-align: center;
  color: var(--hsp2-green);
  font-size: 20px;
  font-weight: 900;
}

.hsp2-player-stat span,
.player-goals span {
  display: block;
  color: var(--hsp2-text-soft);
  font-size: 10px;
  font-weight: 700;
}

.hsp2-bracket-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hsp2-round-title {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hsp2-round-title::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-50%);
  height: 1px;
  background: var(--hsp2-border);
}

.hsp2-round-title span {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hsp2-border);
  color: var(--hsp2-text-soft);
  font-size: 13px;
  font-weight: 900;
}

.hsp2-round-matches,
.hsp2-players-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hsp2-knockout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: var(--hsp2-surface-soft);
  border: 1px solid var(--hsp2-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hsp2-knockout-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hsp2-shadow);
}

.hsp2-knockout-card.is-live-pulse {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%);
}

.hsp2-ko-team {
  text-align: center;
}

.hsp2-ko-team img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
}

.hsp2-ko-team strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--hsp2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-ko-score {
  text-align: center;
}

.ko-goals {
  font-size: 20px;
  line-height: 1;
  color: var(--hsp2-text);
  font-weight: 900;
}

.ko-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8eef6;
  color: var(--hsp2-text-soft);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.is-live-pulse .ko-status {
  background: var(--hsp2-red);
  color: #fff;
}

.hsp2-squad-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hsp2-squad-role-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--hsp2-border);
  color: var(--hsp2-text);
  font-size: 18px;
  font-weight: 900;
}

.hsp2-squad-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hsp2-squad-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 18px;
  border: 1px solid var(--hsp2-border);
  background: var(--hsp2-surface-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hsp2-squad-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hsp2-shadow);
  border-color: rgba(16, 185, 129, 0.4);
}

.hsp2-squad-img {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e7edf5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsp2-squad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  font-size: 28px;
  color: #cbd5e1;
}

.hsp2-squad-number {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hsp2-navy);
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.hsp2-squad-name {
  width: 100%;
  text-align: center;
}

.hsp2-squad-name strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--hsp2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-stats-boxes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hsp2-stat-box {
  background: var(--hsp2-surface-soft);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
}

.hsp2-stat-box .stat-value {
  display: block;
  color: var(--hsp2-text);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 8px;
}

.hsp2-stat-box .stat-label {
  display: block;
  color: var(--hsp2-text-soft);
  font-size: 13px;
  font-weight: 700;
}

.hsp2-stat-box.highlight {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.22);
}

.hsp2-stat-box.highlight .stat-value {
  color: var(--hsp2-green);
}

.hsp2-stat-box.highlight-alt {
  background: rgba(235, 179, 52, 0.06);
  border-color: rgba(235, 179, 52, 0.22);
}

.hsp2-stat-box.highlight-alt .stat-value {
  color: var(--hsp2-amber);
}

.hsp2-player-copy-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--hsp2-surface-soft);
  border: 1px solid var(--hsp2-border);
}

.hsp2-player-copy-note p {
  margin: 0;
  color: var(--hsp2-text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.hsp2-news-card {
  display: block;
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hsp2-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hsp2-shadow);
}

.hsp2-news-card .thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.hsp2-news-card .info {
  padding: 14px;
}

.hsp2-news-card .info h3 {
  margin: 0 0 8px;
  color: var(--hsp2-text);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 900;
}

.hsp2-news-card .info time {
  color: var(--hsp2-text-soft);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hsp2-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hsp2-squad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hsp2-blockless-grid,
  .hsp2-mini-facts-grid,
  .hsp2-stats-boxes,
  .hsp2-two-column-panels,
  .hsp2-matches-grid,
  .hsp2-stats-grid,
  .hsp2-groups-grid,
  .hsp2-round-matches,
  .hsp2-players-grid,
  .hsp2-news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hsp2-squad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hsp2-club-hero-inner,
  .hsp2-player-hero-inner,
  .hsp2-comp-hero-inner,
  .hsp2-cup-hero-inner,
  .hsp2-asia-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hsp2-player-meta {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hsp2-block,
  .hsp2-comp-block,
  .hsp2-cup-block,
  .hsp2-asia-block,
  .hsp2-club-block,
  .hsp2-player-block {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .hsp2-page-head,
  .hsp2-match-hero,
  .hsp2-comp-hero,
  .hsp2-cup-hero,
  .hsp2-asia-hero,
  .hsp2-club-hero,
  .hsp2-player-hero {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .hsp2-page-head h1,
  .hsp2-comp-info h1,
  .hsp2-cup-info h1,
  .hsp2-asia-info h1,
  .hsp2-club-info h1,
  .hsp2-player-info-main h1 {
    font-size: 26px;
  }

  .hsp2-block-header h3,
  .hsp2-block__head h2,
  .hsp2-block-title {
    font-size: 18px;
  }

  .hsp2-blockless-grid,
  .hsp2-mini-facts-grid,
  .hsp2-stats-boxes,
  .hsp2-two-column-panels,
  .hsp2-matches-grid,
  .hsp2-stats-grid,
  .hsp2-groups-grid,
  .hsp2-round-matches,
  .hsp2-players-grid,
  .hsp2-news-grid {
    grid-template-columns: 1fr;
  }

  .hsp2-news-grid {
    gap: 14px;
  }

  .hsp2-squad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hsp2-hero-top {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .hsp2-scoreboard,
  .hsp2-mc-body,
  .hsp2-knockout-card {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .hsp2-team img {
    width: 54px;
    height: 54px;
  }

  .hsp2-team h2 {
    font-size: 14px;
  }

  .hsp2-score-center {
    min-width: 96px;
  }

  .hsp2-score-huge {
    font-size: 34px;
  }

  .hsp2-mc-link {
    padding: 12px;
  }

  .hsp2-mc-logo {
    width: 40px;
    height: 40px;
  }

  .hsp2-mc-name {
    font-size: 12px;
  }

  .hsp2-mc-score {
    font-size: 20px;
  }

  .hsp2-mc-time {
    font-size: 11px;
  }

  .hsp2-lineups-meta {
    grid-template-columns: 1fr;
  }

  .hsp2-pitch-container {
    min-height: 480px;
  }

  .hsp2-player {
    width: 46px;
  }

  .hsp2-shirt {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .hsp2-name {
    font-size: 9px;
  }

  .hsp2-stat-topline {
    grid-template-columns: 56px 1fr 56px;
    font-size: 12px;
  }

  .hsp2-standings-table,
  .hsp2-asia-table,
  .hsp2-table {
    min-width: 100%;
    table-layout: fixed;
    font-size: 12px;
  }

  .hsp2-standings-table th,
  .hsp2-standings-table td,
  .hsp2-asia-table th,
  .hsp2-asia-table td,
  .hsp2-table th,
  .hsp2-table td {
    padding: 10px 6px;
  }

  .hsp2-standings-table th:nth-child(4),
  .hsp2-standings-table th:nth-child(5),
  .hsp2-standings-table th:nth-child(6),
  .hsp2-standings-table th:nth-child(7),
  .hsp2-standings-table td:nth-child(4),
  .hsp2-standings-table td:nth-child(5),
  .hsp2-standings-table td:nth-child(6),
  .hsp2-standings-table td:nth-child(7),
  .hsp2-asia-table th:nth-child(4),
  .hsp2-asia-table th:nth-child(5),
  .hsp2-asia-table th:nth-child(6),
  .hsp2-asia-table td:nth-child(4),
  .hsp2-asia-table td:nth-child(5),
  .hsp2-asia-table td:nth-child(6),
  .hsp2-table th:nth-child(4),
  .hsp2-table th:nth-child(5),
  .hsp2-table th:nth-child(6),
  .hsp2-table th:nth-child(7),
  .hsp2-table th:nth-child(8),
  .hsp2-table td:nth-child(4),
  .hsp2-table td:nth-child(5),
  .hsp2-table td:nth-child(6),
  .hsp2-table td:nth-child(7),
  .hsp2-table td:nth-child(8) {
    display: none;
  }

  .team-cell {
    gap: 6px;
    font-size: 12px;
  }

  .team-cell img {
    width: 18px;
    height: 18px;
  }

  .points-cell {
    font-size: 14px;
  }

  .hsp2-news-card .thumb img {
    height: 148px;
  }
}

.hsp2-matchv3-shell {
  max-width: 1080px;
  margin: 14px auto 28px;
}

.hsp2-matchv3-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hsp2-matchv3-hero {
  border-radius: 24px;
  padding: clamp(14px, 3.6vw, 24px);
  background: linear-gradient(145deg, #0f172a 0%, #16243c 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.15);
}

.hsp2-matchv3-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 3vw, 20px);
}

.hsp2-matchv3-team,
.hsp2-matchv3-center {
  min-width: 0;
}

.hsp2-matchv3-team {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.hsp2-matchv3-logo {
  width: clamp(62px, 18vw, 88px);
  height: clamp(62px, 18vw, 88px);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hsp2-matchv3-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));
}

.hsp2-matchv3-team-name {
  margin: 0;
  font-size: clamp(14px, 4.2vw, 22px);
  line-height: 1.2;
  font-weight: 900;
  word-break: break-word;
}

.hsp2-matchv3-center {
  flex: 0 0 clamp(120px, 32vw, 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.hsp2-matchv3-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  border: 1px solid transparent;
}

.hsp2-matchv3-status.is-upcoming {
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.12);
}

.hsp2-matchv3-status.is-live {
  background: rgba(239,68,68,0.14);
  color: #fecaca;
  border-color: rgba(239,68,68,0.28);
  animation: hsp2MatchV3Pulse 1.5s infinite;
}

.hsp2-matchv3-status.is-post {
  background: rgba(16,185,129,0.14);
  color: #d1fae5;
  border-color: rgba(16,185,129,0.28);
}

@keyframes hsp2MatchV3Pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.35); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.hsp2-matchv3-kickoff-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hsp2-matchv3-kickoff-time {
  font-size: clamp(19px, 6vw, 34px);
  line-height: 1;
  font-weight: 900;
}

.hsp2-matchv3-kickoff-date,
.hsp2-matchv3-center-sub {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.hsp2-matchv3-countdown {
  color: #fff;
  font-size: clamp(12px, 3.4vw, 15px);
  font-weight: 900;
}

.hsp2-matchv3-score {
  font-size: clamp(28px, 8vw, 46px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hsp2-matchv3-tabs {
  position: sticky;
  top: 10px;
  z-index: 8;
  border-radius: 18px;
  padding: 6px;
  background: rgba(255,255,255,0.88);
  border: 1px solid #e5edf5;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.hsp2-matchv3-tabs-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hsp2-matchv3-tabs-track::-webkit-scrollbar {
  display: none;
}

.hsp2-matchv3-tab {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: .18s ease;
}

.hsp2-matchv3-tab.is-active {
  background: #0f172a;
  color: #fff;
}

.hsp2-matchv3-panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hsp2-matchv3-panel { display: none; }
.hsp2-matchv3-panel.is-active { display: block; }

.hsp2-matchv3-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hsp2-matchv3-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 22px;
  padding: clamp(14px, 3.2vw, 22px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hsp2-matchv3-card-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.hsp2-matchv3-card-head h3,
.hsp2-matchv3-form-block h4 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 900;
}

.hsp2-matchv3-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hsp2-matchv3-detail-item {
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8eef5;
}

.hsp2-matchv3-detail-item span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.hsp2-matchv3-detail-item strong {
  display: block;
  color: #0f172a;
  font-size: clamp(12px, 3.4vw, 14px);
  line-height: 1.5;
  font-weight: 900;
  word-break: break-word;
}

.hsp2-matchv3-league-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hsp2-matchv3-league-head,
.hsp2-matchv3-league-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 52px 58px;
  align-items: center;
  gap: 8px;
}

.hsp2-matchv3-league-head {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  padding: 0 6px;
}

.hsp2-matchv3-league-row {
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}

.hsp2-matchv3-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e2e8f0;
  color: #0f172a;
}

.hsp2-matchv3-team-inline {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hsp2-matchv3-team-inline img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.hsp2-matchv3-team-inline strong {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-matchv3-league-row .is-points {
  color: #059669;
}

.hsp2-matchv3-timeline,
.hsp2-matchv3-stats-list,
.hsp2-matchv3-lineups,
.hsp2-matchv3-form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hsp2-matchv3-event {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hsp2-matchv3-event.is-away {
  flex-direction: row-reverse;
}

.hsp2-matchv3-event-minute {
  flex: 0 0 46px;
  height: 36px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.hsp2-matchv3-event-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8eef5;
}

.hsp2-matchv3-event.is-away .hsp2-matchv3-event-main {
  flex-direction: row-reverse;
  text-align: left;
}

.hsp2-matchv3-event-icon {
  font-size: 18px;
  line-height: 1;
}

.hsp2-matchv3-event-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hsp2-matchv3-event-text strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.hsp2-matchv3-event-text span {
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.hsp2-matchv3-lineup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.hsp2-matchv3-lineup-head strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.hsp2-matchv3-lineup-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.hsp2-matchv3-pitch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border: 4px solid #166534;
  overflow: hidden;
}

.hsp2-matchv3-pitch-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  min-height: 56px;
}

.hsp2-matchv3-player-dot {
  width: min(18vw, 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.hsp2-matchv3-player-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  border: 2px solid #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.hsp2-matchv3-player-dot strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: clamp(9px, 2.7vw, 11px);
  line-height: 1.3;
  font-weight: 800;
  background: rgba(0,0,0,0.28);
  padding: 3px 5px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-matchv3-stat-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hsp2-matchv3-stat-values {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 8px;
  align-items: center;
}

.hsp2-matchv3-stat-values strong,
.hsp2-matchv3-stat-values span {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}

.hsp2-matchv3-stat-values span {
  text-align: center;
  color: #475569;
}

.hsp2-matchv3-stat-bars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hsp2-matchv3-stat-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
}

.hsp2-matchv3-stat-bars .is-home {
  background: #0f172a;
}

.hsp2-matchv3-stat-bars .is-away {
  background: #10b981;
}

.hsp2-matchv3-mini-cards,
.hsp2-matchv3-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hsp2-matchv3-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8eef5;
}

.hsp2-matchv3-res {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

.hsp2-matchv3-res.is-w { background: #10b981; }
.hsp2-matchv3-res.is-d { background: #94a3b8; }
.hsp2-matchv3-res.is-l { background: #ef4444; }

.hsp2-matchv3-mini-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hsp2-matchv3-mini-main strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.hsp2-matchv3-mini-main span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.hsp2-matchv3-form-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-matchv3-news-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hsp2-matchv3-news-thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hsp2-matchv3-news-body {
  padding: 12px;
}

.hsp2-matchv3-news-body h4 {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 900;
}

@media (min-width: 700px) {
  .hsp2-matchv3-form-grid,
  .hsp2-matchv3-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hsp2-matchv3-form-grid {
    display: grid;
  }
}

@media (max-width: 699px) {
  .hsp2-matchv3-grid {
    grid-template-columns: 1fr;
  }

  .hsp2-matchv3-detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hsp2-matchv3-scoreboard {
    gap: 8px;
  }

  .hsp2-matchv3-team {
    gap: 8px;
  }

  .hsp2-matchv3-center {
    flex-basis: 110px;
  }

  .hsp2-matchv3-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    padding: 8px;
  }

  .hsp2-matchv3-team-name {
    font-size: 13px;
  }

  .hsp2-matchv3-league-head,
  .hsp2-matchv3-league-row {
    grid-template-columns: 36px minmax(0, 1fr) 42px 48px;
    gap: 6px;
  }

  .hsp2-matchv3-rank {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .hsp2-matchv3-team-inline img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .hsp2-matchv3-news-thumb img {
    height: 150px;
  }
}


/* ==========================================================
   Haza Sports Pro - Match Page Phase 2 (Pure Mobile-First)
   ========================================================== */
.hsp2-matchphase2-shell {
  max-width: 980px;
  margin: 20px auto;
}

.hsp2-matchphase2-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hsp2-matchphase2-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: clamp(14px, 3vw, 22px);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.hsp2-matchphase2-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2.4vw, 22px);
  direction: ltr;
}

.hsp2-matchphase2-team,
.hsp2-matchphase2-center {
  direction: rtl;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hsp2-matchphase2-team {
  flex: 1 1 0;
}

.hsp2-matchphase2-center {
  flex: 0 0 min(34vw, 220px);
  text-align: center;
}

.hsp2-matchphase2-logo {
  width: clamp(56px, 16vw, 84px);
  height: clamp(56px, 16vw, 84px);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.hsp2-matchphase2-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.hsp2-matchphase2-team-name {
  margin: 0;
  font-size: clamp(13px, 3.2vw, 18px);
  line-height: 1.35;
  font-weight: 900;
  text-align: center;
  color: #fff;
}

.hsp2-matchphase2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  border: 1px solid transparent;
  white-space: nowrap;
}

.hsp2-matchphase2-badge.is-upcoming {
  background: rgba(255,255,255,0.10);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.12);
}

.hsp2-matchphase2-badge.is-live {
  background: rgba(239,68,68,0.16);
  color: #fecaca;
  border-color: rgba(239,68,68,0.26);
}

.hsp2-matchphase2-badge.is-post {
  background: rgba(16,185,129,0.16);
  color: #bbf7d0;
  border-color: rgba(16,185,129,0.22);
}

.hsp2-matchphase2-kickoff,
.hsp2-matchphase2-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hsp2-matchphase2-time,
.hsp2-matchphase2-score {
  font-size: clamp(24px, 7vw, 44px);
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.hsp2-matchphase2-date,
.hsp2-matchphase2-sub {
  color: #cbd5e1;
  font-size: clamp(11px, 2.9vw, 13px);
  font-weight: 700;
}

.hsp2-matchphase2-countdown {
  color: #fde68a;
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 800;
}

.hsp2-matchphase2-tabs {
  background: #fff;
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--hsp2-shadow);
}

.hsp2-matchphase2-tabs-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hsp2-matchphase2-tabs-track::-webkit-scrollbar { display: none; }

.hsp2-matchphase2-tab {
  appearance: none;
  border: 0;
  background: #f8fafc;
  color: #475569;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: clamp(12px, 3vw, 14px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
}

.hsp2-matchphase2-tab.is-active {
  background: #0f172a;
  color: #fff;
}

.hsp2-matchphase2-panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hsp2-matchphase2-panel { display: none; }
.hsp2-matchphase2-panel.is-active { display: block; }

.hsp2-matchphase2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.hsp2-matchphase2-card {
  background: #fff;
  border: 1px solid var(--hsp2-border);
  border-radius: 20px;
  box-shadow: var(--hsp2-shadow);
  padding: 18px;
}

.hsp2-matchphase2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--hsp2-border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.hsp2-matchphase2-card-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(17px, 4vw, 20px);
  line-height: 1.2;
  font-weight: 900;
}

.hsp2-matchphase2-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-matchphase2-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 14px;
}

.hsp2-matchphase2-detail-item span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.hsp2-matchphase2-detail-item strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.hsp2-matchphase2-league-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-matchphase2-league-head,
.hsp2-matchphase2-league-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px 56px;
  align-items: center;
  gap: 8px;
}

.hsp2-matchphase2-league-head {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  padding: 0 4px;
}

.hsp2-matchphase2-league-row {
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 14px;
  padding: 10px;
}

.hsp2-matchphase2-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border-radius: 12px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 900;
}

.hsp2-matchphase2-team-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hsp2-matchphase2-team-inline img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.hsp2-matchphase2-team-inline strong {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsp2-matchphase2-league-row span,
.hsp2-matchphase2-league-row .is-points {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}

.hsp2-matchphase2-league-row .is-points {
  color: #10b981;
}

.hsp2-matchphase2-h2h-summary {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.hsp2-matchphase2-summary-pill {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.hsp2-matchphase2-summary-pill span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.hsp2-matchphase2-summary-pill strong {
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}

.hsp2-matchphase2-summary-pill.is-draw strong { color: #64748b; }

.hsp2-matchphase2-h2h-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.hsp2-matchphase2-h2h-card {
  min-width: min(72vw, 230px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
}

.hsp2-matchphase2-res,
.hsp2-matchphase2-form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.hsp2-matchphase2-res.is-w,
.hsp2-matchphase2-form-dot.is-w { background: #16a34a; }
.hsp2-matchphase2-res.is-d,
.hsp2-matchphase2-form-dot.is-d { background: #94a3b8; }
.hsp2-matchphase2-res.is-l,
.hsp2-matchphase2-form-dot.is-l { background: #ef4444; }

.hsp2-matchphase2-h2h-card strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.4;
}

.hsp2-matchphase2-h2h-score {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  color: #0f172a;
}

.hsp2-matchphase2-h2h-date {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.hsp2-matchphase2-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hsp2-matchphase2-form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 16px;
  padding: 14px;
}

.hsp2-matchphase2-form-head strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.hsp2-matchphase2-form-circles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hsp2-matchphase2-form-dot {
  border: 0;
  cursor: pointer;
  opacity: 0.86;
}

.hsp2-matchphase2-form-dot.is-active {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
  opacity: 1;
}

.hsp2-matchphase2-form-detail {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--hsp2-border);
  border-radius: 14px;
  padding: 11px 12px;
}

.hsp2-matchphase2-form-detail span,
.hsp2-matchphase2-form-detail strong {
  font-size: 12px;
  line-height: 1.4;
}

.hsp2-matchphase2-form-detail span { color: #64748b; font-weight: 800; }
.hsp2-matchphase2-form-detail strong { color: #0f172a; font-weight: 900; }

.hsp2-matchphase2-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsp2-matchphase2-event {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hsp2-matchphase2-event.is-away { flex-direction: row-reverse; }

.hsp2-matchphase2-event-minute {
  flex: 0 0 46px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hsp2-matchphase2-event-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--hsp2-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.hsp2-matchphase2-event.is-away .hsp2-matchphase2-event-main {
  flex-direction: row-reverse;
  text-align: left;
}

.hsp2-matchphase2-event-icon { font-size: 16px; line-height: 1; }
.hsp2-matchphase2-event-text { min-width: 0; }
.hsp2-matchphase2-event-text strong,
.hsp2-matchphase2-event-text span { display: block; }
.hsp2-matchphase2-event-text strong { color: #0f172a; font-size: 14px; font-weight: 900; }
.hsp2-matchphase2-event-text span { color: #64748b; font-size: 12px; font-weight: 700; }

.hsp2-matchphase2-lineups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hsp2-matchphase2-lineup-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hsp2-matchphase2-lineup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hsp2-matchphase2-lineup-head strong,
.hsp2-matchphase2-lineup-head span {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.hsp2-matchphase2-pitch {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
  padding: 14px;
  border-radius: 18px;
  border: 2px solid #166534;
  background: linear-gradient(180deg, #1fa14c 0%, #14803c 100%);
}

.hsp2-matchphase2-pitch-row {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.hsp2-matchphase2-player-dot {
  min-width: 0;
  width: min(22vw, 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.hsp2-matchphase2-player-num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  border: 2px solid rgba(15,23,42,0.12);
}

.hsp2-matchphase2-player-dot strong {
  color: #fff;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1.35;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.42);
}

.hsp2-matchphase2-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hsp2-matchphase2-stat-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hsp2-matchphase2-stat-values {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hsp2-matchphase2-stat-values strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.hsp2-matchphase2-stat-values span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.hsp2-matchphase2-stat-bars {
  position: relative;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.hsp2-matchphase2-stat-bars .is-home,
.hsp2-matchphase2-stat-bars .is-away {
  position: absolute;
  top: 0;
  bottom: 0;
}

.hsp2-matchphase2-stat-bars .is-home {
  right: 0;
  background: #10b981;
}

.hsp2-matchphase2-stat-bars .is-away {
  left: 0;
  background: #0f172a;
}

.hsp2-matchphase2-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hsp2-matchphase2-news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  overflow: hidden;
}

.hsp2-matchphase2-news-thumb img {
  display: block;
  width: 100%;
  height: 152px;
  object-fit: cover;
}

.hsp2-matchphase2-news-body {
  padding: 12px;
}

.hsp2-matchphase2-news-body h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hsp2-matchphase2-grid,
  .hsp2-matchphase2-form-grid,
  .hsp2-matchphase2-lineups,
  .hsp2-matchphase2-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hsp2-matchphase2-hero { border-radius: 22px; }

  .hsp2-matchphase2-scoreboard {
    gap: 10px;
  }

  .hsp2-matchphase2-center {
    flex-basis: 132px;
  }

  .hsp2-matchphase2-team-name {
    font-size: 12px;
  }

  .hsp2-matchphase2-h2h-summary {
    gap: 8px;
  }

  .hsp2-matchphase2-summary-pill {
    padding: 10px 8px;
  }

  .hsp2-matchphase2-h2h-card {
    min-width: 210px;
  }

  .hsp2-matchphase2-card {
    padding: 16px;
  }

  .hsp2-matchphase2-league-head,
  .hsp2-matchphase2-league-row {
    grid-template-columns: 42px minmax(0, 1fr) 40px 44px;
    gap: 6px;
  }

  .hsp2-matchphase2-league-row,
  .hsp2-matchphase2-detail-item,
  .hsp2-matchphase2-form-detail,
  .hsp2-matchphase2-event-main {
    padding-inline: 10px;
  }

  .hsp2-matchphase2-team-inline strong {
    font-size: 12px;
  }

  .hsp2-matchphase2-pitch {
    min-height: 320px;
    padding: 12px 10px;
  }

  .hsp2-matchphase2-player-dot {
    width: 70px;
  }
}

/* =========================================================
   HSP2 SHARED FRONT LAYER
   ========================================================= */

.hsp2-match-grid,
.hsp2-match-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hsp2-match-card {
  display: block;
  background: var(--hsp2-surface);
  border: 1px solid var(--hsp2-border);
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  min-width: 0;
  overflow: hidden;
}

.hsp2-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.hsp2-match-card[data-state="live"],
.hsp2-match-card.is-live-match {
  border-color: rgba(239, 68, 68, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.hsp2-match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.hsp2-match-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.hsp2-match-card-badge.is-live {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.hsp2-match-card-badge.is-post {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.hsp2-match-card-badge.is-upcoming {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.hsp2-match-card-comp {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.hsp2-match-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.hsp2-match-card-team,
.hsp2-mc-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
}

.hsp2-match-card-team img,
.hsp2-mc-team img,
.hsp2-mc-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hsp2-match-card-team strong,
.hsp2-mc-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hsp2-match-card-center,
.hsp2-mc-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
}

.hsp2-match-card-score,
.hsp2-mc-score {
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0.02em;
}

.hsp2-match-card-time,
.hsp2-mc-time {
  font-size: 12px;
  line-height: 1;
  color: #64748b;
  font-weight: 700;
}

.hsp2-match-card-sub {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  line-height: 1.35;
}

.text-live,
.hsp2-match-card-time.text-live,
.hsp2-mc-time.text-live {
  color: #dc2626;
}

.hsp2-compv2-region-grid,
.hsp2-compv2-grid,
.hsp2-clubv2-grid {
  align-items: start;
}

@media (max-width: 768px) {
  .hsp2-match-grid,
  .hsp2-match-grid--compact {
    grid-template-columns: 1fr;
  }

  .hsp2-match-card {
    padding: 12px;
    border-radius: 16px;
  }

  .hsp2-match-card-main {
    gap: 10px;
  }

  .hsp2-match-card-team img,
  .hsp2-mc-team img,
  .hsp2-mc-logo img {
    width: 38px;
    height: 38px;
  }

  .hsp2-match-card-team strong,
  .hsp2-mc-name {
    font-size: 12px;
  }

  .hsp2-match-card-score,
  .hsp2-mc-score {
    font-size: 18px;
  }

  .hsp2-compv2-grid,
  .hsp2-compv2-region-grid,
  .hsp2-clubv2-grid {
    grid-template-columns: 1fr;
  }
}


/* resources/views/taxonomy-club.php */
.hsp2-clubv2-wrap{max-width:1120px;margin:18px auto;padding:0 12px 24px;display:flex;flex-direction:column;gap:16px;color:#0f172a}
.hsp2-clubv2-hero,.hsp2-clubv2-card{background:#fff;border:1px solid #edf2f7;border-radius:24px;box-shadow:0 10px 26px rgba(15,23,42,.04)}
.hsp2-clubv2-hero{display:flex;align-items:center;gap:18px;padding:18px}
.hsp2-clubv2-logo{width:110px;min-width:110px;height:110px;border-radius:24px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hsp2-clubv2-logo img{width:100%;height:100%;object-fit:contain;padding:16px}
.hsp2-clubv2-logo span{font-size:40px}
.hsp2-clubv2-main{flex:1;display:flex;flex-direction:column;gap:12px}
.hsp2-clubv2-main h1{margin:0;font-size:clamp(28px,5vw,42px);line-height:1.1}
.hsp2-clubv2-sub{display:flex;gap:10px;flex-wrap:wrap;color:#475569;font-weight:700}
.hsp2-clubv2-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hsp2-clubv2-fact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:6px}
.hsp2-clubv2-fact span{font-size:12px;color:#64748b;font-weight:800}
.hsp2-clubv2-fact strong{font-size:16px}
.hsp2-clubv2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hsp2-clubv2-card{padding:18px}
.hsp2-clubv2-head{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #edf2f7}
.hsp2-clubv2-head h2{margin:0;font-size:20px;line-height:1.2}
.hsp2-clubv2-squad{display:flex;flex-direction:column;gap:16px}
.hsp2-clubv2-squad-group{display:flex;flex-direction:column;gap:12px}
.hsp2-clubv2-squad-title{font-weight:800;color:#334155}
.hsp2-clubv2-squad-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.hsp2-clubv2-player{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:10px}
.hsp2-clubv2-player-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hsp2-clubv2-player-photo{width:56px;height:56px;border-radius:16px;background:#fff;border:1px solid #e2e8f0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hsp2-clubv2-player-photo img{width:100%;height:100%;object-fit:cover}
.hsp2-clubv2-player-photo span{font-size:20px}
.hsp2-clubv2-number{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:rgba(16,185,129,.10);color:#059669;font-weight:800}
.hsp2-clubv2-player-name{font-size:14px;font-weight:800;color:#0f172a;text-decoration:none;line-height:1.55}
.hsp2-clubv2-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hsp2-clubv2-news-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid #edf2f7;border-radius:18px;overflow:hidden;transition:.2s ease}
.hsp2-clubv2-news-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(15,23,42,.05)}
.hsp2-clubv2-news-thumb img{width:100%;height:160px;object-fit:cover;display:block}
.hsp2-clubv2-news-body{padding:12px;display:flex;flex-direction:column;gap:8px}
.hsp2-clubv2-news-body h3{margin:0;font-size:14px;line-height:1.55}
.hsp2-clubv2-news-body time{font-size:12px;color:#64748b}
.hsp2-empty-state{padding:22px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;font-weight:700}
@media (max-width:960px){.hsp2-clubv2-facts,.hsp2-clubv2-squad-grid,.hsp2-clubv2-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hsp2-clubv2-grid{grid-template-columns:1fr}}
@media (max-width:640px){.hsp2-clubv2-wrap{padding:0 10px 20px}.hsp2-clubv2-hero{flex-direction:column;align-items:flex-start;padding:14px}.hsp2-clubv2-logo{width:92px;min-width:92px;height:92px}.hsp2-clubv2-facts,.hsp2-clubv2-squad-grid,.hsp2-clubv2-news-grid{grid-template-columns:1fr}.hsp2-clubv2-news-thumb img{height:180px}}

/* resources/views/taxonomy-competition.php */
.hsp2-compv2-wrap{max-width:1120px;margin:18px auto;padding:0 12px 24px;display:flex;flex-direction:column;gap:16px;color:#0f172a}
.hsp2-compv2-hero,.hsp2-compv2-card{background:#fff;border:1px solid #edf2f7;border-radius:24px;box-shadow:0 10px 26px rgba(15,23,42,.04)}
.hsp2-compv2-hero{display:flex;align-items:center;gap:18px;padding:18px}
.hsp2-compv2-logo{width:112px;min-width:112px;height:112px;border-radius:24px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hsp2-compv2-logo img{width:100%;height:100%;object-fit:contain;padding:16px}
.hsp2-compv2-logo span{font-size:42px}
.hsp2-compv2-main{flex:1;display:flex;flex-direction:column;gap:12px}
.hsp2-compv2-badge{align-self:flex-start;padding:6px 12px;border-radius:999px;background:rgba(59,130,246,.10);color:#2563eb;font-size:12px;font-weight:800}
.hsp2-compv2-main h1{margin:0;font-size:clamp(28px,5vw,42px);line-height:1.1}
.hsp2-compv2-main p{margin:0;color:#475569;line-height:1.8}
.hsp2-compv2-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hsp2-compv2-fact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:6px}
.hsp2-compv2-fact span{font-size:12px;color:#64748b;font-weight:800}
.hsp2-compv2-fact strong{font-size:16px}
.hsp2-compv2-card{padding:18px}
.hsp2-compv2-head{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #edf2f7}
.hsp2-compv2-head h2{margin:0;font-size:20px;line-height:1.2}
.hsp2-compv2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hsp2-compv2-region-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hsp2-compv2-region-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:14px}
.hsp2-compv2-region-title,.hsp2-compv2-stars-title,.hsp2-compv2-round-title{font-weight:800;color:#334155;margin-bottom:12px}
.hsp2-compv2-table-wrap{overflow:auto}
.hsp2-compv2-table{width:100%;border-collapse:collapse;min-width:620px}
.hsp2-compv2-table th,.hsp2-compv2-table td{padding:10px 8px;border-bottom:1px solid #edf2f7;text-align:center;font-size:13px}
.hsp2-compv2-table .is-right{text-align:right}
.hsp2-compv2-table .is-team{display:flex;align-items:center;gap:8px}
.hsp2-compv2-table .is-team img{width:22px;height:22px;object-fit:contain}
.hsp2-compv2-table .is-points{font-weight:800;color:#0f766e}
.hsp2-compv2-rounds{display:flex;flex-direction:column;gap:16px}
.hsp2-compv2-round-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hsp2-compv2-ko-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;text-decoration:none;color:inherit}
.hsp2-compv2-ko-team{display:flex;align-items:center;gap:8px;min-width:0}
.hsp2-compv2-ko-team img{width:24px;height:24px;object-fit:contain}
.hsp2-compv2-ko-team strong{font-size:13px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsp2-compv2-ko-mid{display:flex;flex-direction:column;align-items:center;gap:4px}
.hsp2-compv2-ko-mid span{font-size:12px;color:#64748b}
.hsp2-compv2-ko-mid strong{font-size:18px}
.hsp2-compv2-stars-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hsp2-compv2-stars-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px}
.hsp2-compv2-stars-list{display:flex;flex-direction:column;gap:10px}
.hsp2-compv2-star-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:#fff;border:1px solid #edf2f7;border-radius:16px;padding:10px 12px}
.hsp2-compv2-rank{width:28px;height:28px;border-radius:999px;background:rgba(245,158,11,.12);color:#b7791f;display:flex;align-items:center;justify-content:center;font-weight:800}
.hsp2-compv2-star-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.hsp2-compv2-star-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsp2-compv2-star-main span{font-size:12px;color:#64748b}
.hsp2-compv2-star-stat{display:flex;align-items:flex-end;gap:4px;font-weight:800;color:#059669}
.hsp2-compv2-star-stat span{font-size:12px;color:#64748b;font-weight:700}
.hsp2-compv2-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hsp2-compv2-news-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid #edf2f7;border-radius:18px;overflow:hidden;transition:.2s ease}
.hsp2-compv2-news-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(15,23,42,.05)}
.hsp2-compv2-news-thumb img{width:100%;height:160px;object-fit:cover;display:block}
.hsp2-compv2-news-body{padding:12px;display:flex;flex-direction:column;gap:8px}
.hsp2-compv2-news-body h3{margin:0;font-size:14px;line-height:1.55}
.hsp2-compv2-news-body time{font-size:12px;color:#64748b}
.hsp2-empty-state{padding:22px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;font-weight:700}
.hsp2-empty-state.mini{padding:16px}
@media (max-width:960px){.hsp2-compv2-facts,.hsp2-compv2-region-grid,.hsp2-compv2-grid,.hsp2-compv2-stars-grid,.hsp2-compv2-news-grid,.hsp2-compv2-round-matches{grid-template-columns:1fr}}
@media (max-width:640px){.hsp2-compv2-wrap{padding:0 10px 20px}.hsp2-compv2-hero{flex-direction:column;align-items:flex-start;padding:14px}.hsp2-compv2-logo{width:92px;min-width:92px;height:92px}.hsp2-compv2-facts{grid-template-columns:1fr 1fr}.hsp2-compv2-ko-card{grid-template-columns:1fr;justify-items:flex-start}.hsp2-compv2-ko-mid{align-items:flex-start}.hsp2-compv2-news-thumb img{height:180px}}

/* resources/views/taxonomy-player.php */

/* resources/views/taxonomy-club.php */
/* ==================================================
   🔥 Club Command Center 2030 🔥
   ================================================== */
.h2030-club-profile{padding-bottom:60px;background:var(--bg-matrix)}
.h2030-club-profile .h2030-section-wrapper{margin-bottom:40px}
.h2030-club-profile .h2030-section-title{font-size:24px;font-weight:900;color:var(--text-matrix);margin:0 0 20px 0;padding-right:15px;border-right:5px solid var(--accent-matrix)}

/* 1. Hero Section */
.h2030-club-hero{position:relative;background:#0f172a;padding:40px 0;overflow:hidden;margin-bottom:30px;border-bottom:1px solid rgba(255,255,255,.05)}
.h2030-club-hero .h2030-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.15;filter:blur(25px);z-index:0;mix-blend-mode:screen}
.h2030-club-hero .h2030-hero-container{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}

.h2030-club-identity{display:flex;align-items:center;gap:20px}
.h2030-club-logo-box{width:110px;height:110px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px);border-radius:24px;padding:15px;border:1px solid rgba(255,255,255,.2);box-shadow:0 10px 30px rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center}
.h2030-club-logo-box img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4))}
.h2030-club-logo-fallback{font-size:44px;color:#fff}
.h2030-club-titles{display:flex;flex-direction:column;gap:8px}
.h2030-club-name{color:#fff;font-size:38px;font-weight:900;margin:0;line-height:1.1;text-shadow:0 4px 10px rgba(0,0,0,.5)}
.h2030-club-league-name{color:#cbd5e1;font-size:15px;font-weight:800;background:rgba(0,0,0,.3);padding:4px 12px;border-radius:8px;align-self:flex-start}

/* VIP Rank Card */
.h2030-rank-vip-card{background:rgba(255,255,255,.1);backdrop-filter:blur(15px);border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:20px 25px;min-width:220px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.h2030-rank-vip-card.is-leader{background:linear-gradient(135deg,rgba(234,179,8,.2),rgba(202,138,4,.1));border-color:rgba(234,179,8,.4);box-shadow:0 10px 30px rgba(234,179,8,.2)}
.rank-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:12px}
.rank-lbl{color:#e2e8f0;font-size:14px;font-weight:800}
.h2030-rank-vip-card.is-leader .rank-lbl{color:#fde047}
.rank-val{color:#fff;font-size:28px;font-weight:900;line-height:1}
.rank-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}
.points-box{color:#cbd5e1;font-size:13px;font-weight:700}
.points-box strong{color:#fff;font-size:18px;font-weight:900}
.form-box{display:flex;gap:4px}
.form-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8}
.form-dot.is-win{background:#10b981}
.form-dot.is-lose{background:#ef4444}
.form-dot.is-draw{background:#f59e0b}

/* 2. Stats Bento */
.h2030-club-profile .h2030-golden-stats-bento{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.h2030-club-profile .h2030-stat-box{background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:20px;padding:25px 15px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--shadow-soft);text-align:center}
.h2030-club-profile .h2030-stat-box .stat-num{font-size:32px;font-weight:900;color:var(--text-matrix);margin-bottom:8px;line-height:1}
.h2030-club-profile .h2030-stat-box .stat-name{font-size:14px;font-weight:800;color:#64748b}
.h2030-club-profile .h2030-stat-box.is-primary .stat-num{color:#10b981}
.h2030-club-profile .h2030-stat-box.is-draw .stat-num{color:#f59e0b}
.h2030-club-profile .h2030-stat-box.is-danger .stat-num{color:#ef4444}

/* 3. Matches Bento */
.h2030-matches-bento-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.h2030-match-card{display:flex;flex-direction:column;background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:20px;overflow:hidden;transition:.3s;box-shadow:var(--shadow-soft);text-decoration:none!important;color:inherit}
.h2030-match-card:hover{transform:translateY(-5px);border-color:var(--accent-matrix)}
.match-badge{background:#f1f5f9;color:#475569;font-size:12px;font-weight:900;text-align:center;padding:6px;letter-spacing:.5px}
.match-badge.is-live{background:#10b981;color:#fff}
.match-teams{display:flex;align-items:center;justify-content:space-between;padding:20px}
.team-col{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;min-width:0}
.team-col img{width:50px;height:50px;object-fit:contain}
.team-logo-fallback{font-size:30px;line-height:1}
.t-name{font-size:14px;font-weight:800;color:var(--text-matrix);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.score-col{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 15px}
.score-col strong{font-size:28px;font-weight:900;color:var(--text-matrix);letter-spacing:2px;line-height:1}
.score-col .m-status{font-size:12px;font-weight:800;color:#64748b;margin-top:5px}
.time-col strong{font-size:22px;color:#10b981;letter-spacing:1px}

/* 4. News Grid */
.h2030-club-profile .h2030-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px}
.h2030-club-profile .h2030-news-card{display:flex;gap:12px;align-items:center;background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:16px;padding:12px;transition:.3s;box-shadow:var(--shadow-soft);text-decoration:none;color:inherit}
.h2030-club-profile .h2030-news-card:hover{transform:translateY(-3px);border-color:var(--accent-matrix)}
.h2030-club-profile .h2030-news-img{width:90px;height:90px;flex-shrink:0;border-radius:12px;overflow:hidden;background:#e2e8f0}
.h2030-club-profile .h2030-news-img img{width:100%;height:100%;object-fit:cover;display:block}
.h2030-club-profile .h2030-news-no-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#475569;font-size:14px;font-weight:900}
.h2030-club-profile .h2030-news-info{flex:1;min-width:0}
.h2030-club-profile .h2030-news-info h4{color:var(--text-matrix);font-size:14px;font-weight:800;margin:0 0 8px 0;line-height:1.5}
.h2030-club-profile .h2030-news-info time{display:block;color:#64748b;font-size:11px;font-weight:700}
.h2030-empty-card{background:var(--surface-matrix);padding:30px;border-radius:16px;text-align:center}

/* 5. Squad Sections */
.h2030-squad-container{display:flex;flex-direction:column;gap:30px}
.squad-group-title{font-size:18px;font-weight:900;color:var(--text-matrix);margin:0 0 15px 0;padding-right:12px;border-right:4px solid #3b82f6}
.h2030-squad-swipe-track{display:flex;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:15px;scrollbar-width:none}
.h2030-squad-swipe-track::-webkit-scrollbar{display:none}
.h2030-player-mini-card{flex:0 0 120px;display:flex;flex-direction:column;align-items:center;background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:16px;padding:15px 10px;scroll-snap-align:start;transition:.3s;text-decoration:none!important;color:inherit;box-shadow:0 4px 10px rgba(0,0,0,.02)}
.h2030-player-mini-card:hover{transform:translateY(-5px);border-color:#3b82f6}
.p-avatar{position:relative;width:70px;height:70px;margin-bottom:12px}
.p-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid #f1f5f9;background:var(--bg-matrix)}
.p-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;background:#e2e8f0;font-size:28px;border:3px solid #f1f5f9}
.p-num{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);background:#0f172a;color:#fff;font-size:11px;font-weight:900;padding:2px 6px;border-radius:6px;border:2px solid #fff}
.p-name{font-size:13px;font-weight:800;color:var(--text-matrix);text-align:center;margin:0;line-height:1.4;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media (max-width: 992px){
    .h2030-matches-bento-grid{grid-template-columns:1fr}
    .h2030-club-profile .h2030-golden-stats-bento{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 600px){
    .h2030-club-hero .h2030-hero-container{flex-direction:column;text-align:center;justify-content:center}
    .h2030-club-identity{flex-direction:column}
    .h2030-club-league-name{align-self:center}
    .h2030-rank-vip-card{width:100%}
    .h2030-player-mini-card{flex:0 0 105px;padding:12px 8px}
    .p-avatar{width:60px;height:60px}
    .h2030-club-profile .h2030-news-grid{grid-template-columns:1fr}
}

.h2030-player-profile{padding-bottom:60px;background:var(--bg-matrix)}
.h2030-section-wrapper{margin-bottom:40px}
.h2030-section-title{font-size:24px;font-weight:900;color:var(--text-matrix);margin:0 0 20px 0;padding-right:15px;border-right:5px solid var(--accent-matrix)}

/* 1. Hero Bento */
.h2030-player-hero{position:relative;background:#0b1121;padding:40px 0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.05);margin-bottom:30px}
.h2030-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.15;filter:blur(20px);z-index:0;mix-blend-mode:luminosity}
.h2030-hero-container{position:relative;z-index:1;display:flex;align-items:center;gap:30px}

.h2030-player-avatar-wrapper{position:relative;width:140px;height:140px;flex-shrink:0}
.h2030-player-img-box{width:100%;height:100%;border-radius:50%;padding:4px;background:linear-gradient(135deg,#3b82f6,#10b981);box-shadow:0 10px 30px rgba(0,0,0,.4)}
.h2030-real-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#1e293b;border:4px solid #0b1121;display:block}
.h2030-placeholder-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#1e293b;border-radius:50%;font-size:50px;color:#fff}
.h2030-player-kit-number{position:absolute;bottom:0;left:0;background:#0f172a;color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:18px;font-weight:900;border:2px solid #3b82f6}

.h2030-player-main-info{flex:1;min-width:0}
.h2030-tags-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.h2030-tag-pill{background:rgba(255,255,255,.1);backdrop-filter:blur(5px);color:#e2e8f0;padding:5px 14px;border-radius:8px;font-size:13px;font-weight:800;border:1px solid rgba(255,255,255,.05)}
.h2030-player-title{color:#fff;font-size:34px;font-weight:900;margin:0 0 12px 0;line-height:1.2}
.h2030-player-club{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.h2030-player-club img{width:28px;height:28px;object-fit:contain}
.h2030-player-club h2,.h2030-player-club a{color:#cbd5e1;font-size:18px;font-weight:800;margin:0;text-decoration:none}
.h2030-player-club a:hover{color:#fff}

.h2030-player-rating-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#10b981,#059669);width:80px;height:80px;border-radius:20px;box-shadow:0 10px 20px rgba(16,185,129,.3);border:2px solid rgba(255,255,255,.2)}
.h2030-player-rating-badge .rating-val{font-size:28px;font-weight:900;color:#fff;line-height:1}
.h2030-player-rating-badge .rating-lbl{font-size:11px;font-weight:800;color:rgba(255,255,255,.8)}

/* 2. Golden Stats Bento */
.h2030-golden-stats-bento{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.h2030-stat-box{background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:20px;padding:25px 15px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--shadow-soft);text-align:center}
.h2030-stat-box .stat-num{font-size:32px;font-weight:900;color:var(--text-matrix);margin-bottom:8px;line-height:1}
.h2030-stat-box .stat-name{font-size:14px;font-weight:800;color:#64748b}
.h2030-stat-box.is-primary .stat-num{color:#10b981}
.h2030-stat-box.is-secondary .stat-num{color:#3b82f6}

/* 3. News Grid (8 Posts) */
.h2030-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px}
.h2030-news-card{display:flex;gap:12px;align-items:center;background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:16px;padding:12px;transition:.3s;box-shadow:var(--shadow-soft);text-decoration:none;color:inherit}
.h2030-news-card:hover{transform:translateY(-3px);border-color:var(--accent-matrix)}
.h2030-news-img{width:90px;height:90px;flex-shrink:0;border-radius:12px;overflow:hidden;background:#e2e8f0}
.h2030-news-img img{width:100%;height:100%;object-fit:cover;display:block}
.h2030-news-no-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#475569;font-size:14px;font-weight:900}
.h2030-news-info{flex:1;min-width:0}
.h2030-news-info h4{color:var(--text-matrix);font-size:14px;font-weight:800;margin:0 0 8px 0;line-height:1.5}
.h2030-news-info time{display:block;color:#64748b;font-size:11px;font-weight:700}

/* 4. Details Grid (Bio & Discipline) */
.h2030-player-details-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.h2030-detail-card{background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:20px;padding:25px;box-shadow:var(--shadow-soft)}
.h2030-card-title{font-size:18px;font-weight:900;color:var(--text-matrix);margin:0 0 20px 0;padding-right:12px;border-right:4px solid var(--accent-matrix)}

.h2030-bio-list{list-style:none;margin:0;padding:0}
.h2030-bio-list li{display:flex;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px dashed var(--border-matrix);margin-bottom:15px!important}
.h2030-bio-list li:last-child{border:0;padding:0;margin:0!important}
.h2030-bio-list li span{color:#64748b;font-size:15px;font-weight:700}
.h2030-bio-list li strong{color:var(--text-matrix);font-size:16px;font-weight:800}

.h2030-discipline-flex{display:flex;gap:15px;margin-bottom:25px}
.h2030-card-yellow,.h2030-card-red{flex:1;padding:15px;border-radius:12px;font-size:14px;font-weight:800;text-align:center}
.h2030-card-yellow{background:rgba(234,179,8,.1);color:#ca8a04;border:1px solid rgba(234,179,8,.2)}
.h2030-card-red{background:rgba(239,68,68,.1);color:#dc2626;border:1px solid rgba(239,68,68,.2)}

.h2030-progress-wrap .prog-head{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:800;color:var(--text-matrix);margin-bottom:10px}
.h2030-progress-wrap .prog-bar{height:10px;background:var(--border-matrix);border-radius:5px;overflow:hidden}
.h2030-progress-wrap .prog-fill{height:100%;background:#3b82f6;border-radius:5px}

/* ==================================================
   🔥 Mobile Responsiveness 🔥
   ================================================== */
@media (max-width:992px){
    .h2030-golden-stats-bento{grid-template-columns:repeat(2,1fr)}
    .h2030-player-details-grid{grid-template-columns:1fr}
}

@media (max-width:600px){
    .h2030-hero-container{flex-direction:column;text-align:center;gap:15px}
    .h2030-tags-row{justify-content:center}
    .h2030-player-club{justify-content:center}
    .h2030-player-rating-badge{position:absolute;top:-20px;right:10px;transform:scale(.8)}
    .h2030-news-grid{grid-template-columns:1fr}
}

/* resources/views/single-match.php */
.hsp2-matchphase2-grid.is-single{grid-template-columns:1fr}

/* Modern H2H */
.hsp2-transparent-card{background:transparent;border:none;padding:0;box-shadow:none;margin-bottom:0}
.hsp2-h2h-swipe-track{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:15px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.hsp2-h2h-swipe-track::-webkit-scrollbar{display:none}
.hsp2-h2h-swipe-card{min-width:280px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.hsp2-h2h-card-date{font-size:11px;font-weight:800;color:#64748b;background:#f1f5f9;padding:4px 12px;border-radius:12px}
.hsp2-h2h-card-teams{display:flex;align-items:center;justify-content:space-between;width:100%}
.hsp2-h2h-team{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.hsp2-h2h-team img{width:40px;height:40px;object-fit:contain;margin-bottom:8px}
.hsp2-h2h-team span{font-size:13px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.hsp2-h2h-score-wrap{flex:0 0 auto;margin:0 15px}
.hsp2-h2h-score-wrap strong{font-size:22px;font-weight:900;color:#0f172a;letter-spacing:2px}
.hsp2-h2h-card-badge{font-size:11px;font-weight:800;padding:6px;border-radius:8px;width:100%;text-align:center}
.hsp2-h2h-card-badge.is-w{background:rgba(16,185,129,.1);color:#10B981}
.hsp2-h2h-card-badge.is-d{background:rgba(100,116,139,.1);color:#64748b}
.hsp2-h2h-card-badge.is-l{background:rgba(239,68,68,.1);color:#ef4444}

/* Modern Form */
.hsp2-form-modern-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.hsp2-form-modern-column{background:#fff;border:1px solid #f1f5f9;border-radius:20px;padding:20px;box-shadow:0 4px 15px rgba(0,0,0,.02)}
.hsp2-form-team-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;gap:10px}
.hsp2-form-team-id{display:flex;align-items:center;gap:10px}
.hsp2-form-team-id img{width:32px;height:32px;object-fit:contain}
.hsp2-form-team-id strong{font-size:16px;font-weight:900;color:#0f172a}
.hsp2-form-dots{display:flex;gap:6px}
.hsp2-dot{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:10px;font-weight:900;color:#fff}
.hsp2-dot.is-w{background:#10B981;box-shadow:0 2px 6px rgba(16,185,129,.3)}
.hsp2-dot.is-d{background:#cbd5e1;color:#475569}
.hsp2-dot.is-l{background:#ef4444;box-shadow:0 2px 6px rgba(239,68,68,.3)}
.hsp2-form-matches-list{display:flex;flex-direction:column;gap:10px}
.hsp2-form-match-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f8fafc;border-radius:12px;border-right:4px solid transparent;transition:.2s}
.hsp2-form-match-row:hover{background:#f1f5f9}
.hsp2-form-match-row.is-w{border-right-color:#10B981}
.hsp2-form-match-row.is-d{border-right-color:#cbd5e1}
.hsp2-form-match-row.is-l{border-right-color:#ef4444}
.hsp2-form-row-opp{display:flex;align-items:center;gap:10px;width:60%;min-width:0}
.hsp2-form-row-opp img{width:24px;height:24px;object-fit:contain;flex:0 0 auto}
.hsp2-form-row-opp span{font-size:13px;font-weight:800;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsp2-form-row-result{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.hsp2-loc-icon{font-size:12px;opacity:.7}
.hsp2-form-row-result strong{font-size:15px;font-weight:900;color:#0f172a;width:45px;text-align:center}

/* Real lineup photos */
.hsp2-matchphase2-player-dot{display:flex;flex-direction:column;align-items:center;position:relative;z-index:2}
.hsp2-player-avatar-wrap{position:relative;display:flex;justify-content:center;margin-bottom:5px}
.hsp2-real-player-img{width:45px;height:45px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 4px 10px rgba(0,0,0,.15);background:#f8fafc}
.hsp2-player-img-placeholder{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.5);font-size:20px;box-shadow:0 2px 5px rgba(0,0,0,.3)}
.hsp2-matchphase2-player-num{position:absolute;bottom:-5px;right:-5px;background:#0f172a;color:#fff;width:20px;height:20px;line-height:18px;text-align:center;border-radius:50%;font-size:11px;font-weight:900;border:2px solid #fff}
.hsp2-player-name-ar{font-size:11px;font-weight:800;color:#fff;text-shadow:1px 1px 3px rgba(0,0,0,.8);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65px;display:block}

@media (max-width:768px){
    .hsp2-form-modern-grid{grid-template-columns:1fr}
    .hsp2-h2h-swipe-card{min-width:220px;padding:15px}
    .hsp2-h2h-score-wrap strong{font-size:18px}
    .hsp2-form-modern-column{padding:15px}
}

/* ===== hotfix: match cards score orientation + mobile standings ===== */

/* fix reversed visual result mapping in rtl layouts */
.hsp2-match-card-main,
.hsp2-mc-main {
  direction: ltr;
}

.hsp2-match-card-team,
.hsp2-mc-team,
.hsp2-match-card-center,
.hsp2-mc-center {
  direction: rtl;
}

.hsp2-match-card-team.is-home,
.hsp2-mc-team.is-home {
  grid-column: 1;
}

.hsp2-match-card-center,
.hsp2-mc-center {
  grid-column: 2;
}

.hsp2-match-card-team.is-away,
.hsp2-mc-team.is-away {
  grid-column: 3;
}

/* better responsive league tables */
@media (max-width: 768px) {
  .hsp2-compv2-table-wrap,
  .table-responsive,
  .hsp2-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  .hsp2-compv2-table,
  .hsp2-table {
    min-width: 100%;
    table-layout: fixed;
  }

  .hsp2-compv2-table th,
  .hsp2-compv2-table td,
  .hsp2-table th,
  .hsp2-table td {
    padding: 10px 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hsp2-compv2-table th:nth-child(4),
  .hsp2-compv2-table th:nth-child(5),
  .hsp2-compv2-table th:nth-child(6),
  .hsp2-compv2-table th:nth-child(7),
  .hsp2-compv2-table th:nth-child(8),
  .hsp2-compv2-table td:nth-child(4),
  .hsp2-compv2-table td:nth-child(5),
  .hsp2-compv2-table td:nth-child(6),
  .hsp2-compv2-table td:nth-child(7),
  .hsp2-compv2-table td:nth-child(8),
  .hsp2-table th:nth-child(4),
  .hsp2-table th:nth-child(5),
  .hsp2-table th:nth-child(6),
  .hsp2-table th:nth-child(7),
  .hsp2-table th:nth-child(8),
  .hsp2-table td:nth-child(4),
  .hsp2-table td:nth-child(5),
  .hsp2-table td:nth-child(6),
  .hsp2-table td:nth-child(7),
  .hsp2-table td:nth-child(8) {
    display: none;
  }

  .hsp2-compv2-table th:nth-child(1),
  .hsp2-compv2-table td:nth-child(1),
  .hsp2-table th:nth-child(1),
  .hsp2-table td:nth-child(1) {
    width: 36px;
  }

  .hsp2-compv2-table th:nth-child(2),
  .hsp2-compv2-table td:nth-child(2),
  .hsp2-table th:nth-child(2),
  .hsp2-table td:nth-child(2) {
    width: auto;
  }

  .hsp2-compv2-table th:nth-child(3),
  .hsp2-compv2-table td:nth-child(3),
  .hsp2-table th:nth-child(3),
  .hsp2-table td:nth-child(3) {
    width: 48px;
  }

  .hsp2-compv2-table th:nth-child(9),
  .hsp2-compv2-table td:nth-child(9),
  .hsp2-table th:nth-child(9),
  .hsp2-table td:nth-child(9) {
    width: 50px;
    font-weight: 800;
  }

  .hsp2-compv2-table .is-team,
  .hsp2-table .is-team {
    gap: 6px;
  }

  .hsp2-compv2-table .is-team img,
  .hsp2-table .is-team img {
    width: 20px;
    height: 20px;
  }
}

/* ==================================================
   Competition Profile 2030 - isolated competition layer
   ================================================== */
.h2030-comp-profile{padding-bottom:60px;background:var(--bg-matrix)}
.h2030-comp-section{margin-bottom:34px}
.h2030-comp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.h2030-comp-section-head h2{margin:0;font-size:24px;font-weight:900;color:var(--text-matrix);padding-right:14px;border-right:5px solid var(--accent-matrix);line-height:1.2}
.h2030-comp-section-head span{color:#64748b;font-size:13px;font-weight:700}

.h2030-comp-hero{position:relative;overflow:hidden;margin-bottom:28px;padding:42px 0;background:linear-gradient(135deg,#0b1121 0%,#162136 100%);border-bottom:1px solid rgba(255,255,255,.06)}
.h2030-comp-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.14;filter:blur(26px);transform:scale(1.08);mix-blend-mode:screen}
.h2030-comp-hero-inner{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}
.h2030-comp-hero-main{display:flex;align-items:center;gap:20px;flex:1;min-width:280px}
.h2030-comp-logo-box{width:112px;height:112px;flex:0 0 112px;border-radius:26px;background:rgba(255,255,255,.10);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 18px 30px rgba(0,0,0,.25)}
.h2030-comp-logo-box img{width:100%;height:100%;object-fit:contain;padding:16px}
.h2030-comp-logo-box span{font-size:42px}
.h2030-comp-hero-copy{display:flex;flex-direction:column;gap:12px;min-width:0}
.h2030-comp-badge{align-self:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.08);color:#e2e8f0;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:900}
.h2030-comp-hero-copy h1{margin:0;color:#fff;font-size:clamp(30px,5vw,44px);line-height:1.08;font-weight:900}
.h2030-comp-hero-copy p{margin:0;color:#cbd5e1;line-height:1.8;max-width:760px}
.h2030-comp-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.h2030-comp-fact{background:rgba(255,255,255,.08);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:6px}
.h2030-comp-fact span{font-size:12px;color:#cbd5e1;font-weight:800}
.h2030-comp-fact strong{font-size:18px;color:#fff;font-weight:900}

.h2030-comp-leader-card{min-width:260px;max-width:280px;background:rgba(255,255,255,.11);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:18px;box-shadow:0 18px 30px rgba(0,0,0,.22)}
.h2030-comp-leader-card.is-leader{background:linear-gradient(135deg,rgba(234,179,8,.18),rgba(255,255,255,.10));border-color:rgba(234,179,8,.24)}
.h2030-comp-leader-head,.h2030-comp-leader-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.h2030-comp-leader-head{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.10)}
.h2030-comp-leader-head span{font-size:13px;color:#e2e8f0;font-weight:800}
.h2030-comp-leader-head strong{font-size:28px;line-height:1;color:#fff}
.h2030-comp-leader-team{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.h2030-comp-leader-team img{width:34px;height:34px;object-fit:contain}
.h2030-comp-leader-team b{color:#fff;font-size:16px;font-weight:900}
.h2030-comp-leader-meta div{display:flex;flex-direction:column;gap:4px}
.h2030-comp-leader-meta span{font-size:12px;color:#cbd5e1;font-weight:700}
.h2030-comp-leader-meta strong{color:#fff;font-size:18px;font-weight:900}
.h2030-comp-form-dots{display:flex;gap:6px;margin-top:14px;flex-wrap:wrap}
.h2030-comp-form-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8}
.h2030-comp-form-dot.is-win{background:#10b981}.h2030-comp-form-dot.is-draw{background:#f59e0b}.h2030-comp-form-dot.is-lose{background:#ef4444}

.h2030-comp-panel{background:var(--surface-matrix);border:1px solid var(--border-matrix);border-radius:24px;padding:18px;box-shadow:var(--shadow-soft)}
.h2030-comp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border-matrix)}
.h2030-comp-panel-head h3{margin:0;color:var(--text-matrix);font-size:19px;font-weight:900;line-height:1.2}

.h2030-comp-spotlight-grid,.h2030-comp-stars-grid,.h2030-comp-region-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.h2030-comp-rounds{display:flex;flex-direction:column;gap:18px}
.h2030-comp-subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}

.h2030-comp-match-card{display:flex;flex-direction:column;gap:12px;background:var(--bg-matrix);border:1px solid var(--border-matrix);border-radius:20px;padding:14px;text-decoration:none;color:inherit;transition:.25s ease}
.h2030-comp-match-card:hover{transform:translateY(-3px);border-color:var(--accent-matrix)}
.h2030-comp-match-card.is-live{border-color:#10b981;box-shadow:0 10px 20px rgba(16,185,129,.08)}
.h2030-comp-match-card--featured{padding:16px 16px 18px}
.h2030-comp-match-badge{align-self:flex-start;background:#e2e8f0;color:#475569;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:900}
.h2030-comp-match-card.is-live .h2030-comp-match-badge{background:#10b981;color:#fff}
.h2030-comp-match-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;font-weight:700}
.h2030-comp-match-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.h2030-comp-team{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}
.h2030-comp-team img,.h2030-comp-team-placeholder{width:50px;height:50px;border-radius:14px;background:#fff;border:1px solid var(--border-matrix);display:flex;align-items:center;justify-content:center;object-fit:contain;padding:8px}
.h2030-comp-team span,.h2030-comp-team a{color:var(--text-matrix);font-size:14px;font-weight:800;text-decoration:none;line-height:1.45;display:block;max-width:100%}
.h2030-comp-score-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding-inline:4px}
.h2030-comp-score-block strong{font-size:28px;font-weight:900;color:var(--text-matrix);letter-spacing:1px;line-height:1}
.h2030-comp-score-block small{font-size:12px;color:#64748b;font-weight:800}
.h2030-comp-match-foot{color:#64748b;font-size:12px;font-weight:700;padding-top:4px}

.h2030-comp-table-wrap{overflow:auto;border-radius:18px}
.h2030-comp-table{width:100%;border-collapse:separate;border-spacing:0;min-width:640px}
.h2030-comp-table th{background:#f8fafc;color:#64748b;font-size:12px;font-weight:900;padding:12px 10px;border-bottom:1px solid var(--border-matrix);white-space:nowrap}
.h2030-comp-table td{padding:12px 10px;border-bottom:1px solid var(--border-matrix);font-size:13px;color:var(--text-matrix);text-align:center;white-space:nowrap}
.h2030-comp-table tbody tr:hover{background:rgba(59,130,246,.03)}
.h2030-comp-table .is-right{text-align:right}
.h2030-comp-table .is-team{display:flex;align-items:center;gap:8px;min-width:180px}
.h2030-comp-table .is-team img{width:24px;height:24px;object-fit:contain;flex:0 0 24px}
.h2030-comp-table .is-team strong{font-size:13px;font-weight:800;color:var(--text-matrix)}
.h2030-comp-table .is-points{font-weight:900;color:#0f766e}

.h2030-comp-stars-list{display:flex;flex-direction:column;gap:10px}
.h2030-comp-star-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:var(--bg-matrix);border:1px solid var(--border-matrix);border-radius:16px;padding:12px}
.h2030-comp-rank{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(245,158,11,.12);color:#b7791f;font-weight:900}
.h2030-comp-star-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.h2030-comp-star-main strong{font-size:14px;font-weight:900;color:var(--text-matrix);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2030-comp-star-main span{font-size:12px;color:#64748b;font-weight:700}
.h2030-comp-star-stat{display:flex;align-items:flex-end;gap:4px;color:#059669;font-size:18px;font-weight:900}
.h2030-comp-star-stat small{font-size:11px;color:#64748b;font-weight:700}

.h2030-comp-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.h2030-comp-news-card{display:flex;flex-direction:column;background:var(--bg-matrix);border:1px solid var(--border-matrix);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:.25s ease}
.h2030-comp-news-card:hover{transform:translateY(-3px);border-color:var(--accent-matrix)}
.h2030-comp-news-thumb{height:170px;background:#e2e8f0}
.h2030-comp-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.h2030-comp-news-no-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#475569;font-size:16px;font-weight:900}
.h2030-comp-news-body{padding:14px;display:flex;flex-direction:column;gap:8px}
.h2030-comp-news-body h3{margin:0;color:var(--text-matrix);font-size:14px;font-weight:800;line-height:1.6}
.h2030-comp-news-body time{font-size:12px;color:#64748b;font-weight:700}

@media (max-width: 1100px){
  .h2030-comp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h2030-comp-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 960px){
  .h2030-comp-spotlight-grid,.h2030-comp-stars-grid,.h2030-comp-region-grid,.h2030-comp-news-grid,.h2030-comp-subgrid{grid-template-columns:1fr}
  .h2030-comp-hero-inner{flex-direction:column;align-items:stretch}
  .h2030-comp-leader-card{max-width:none}
}
@media (max-width: 640px){
  .h2030-comp-section-head{align-items:flex-start}
  .h2030-comp-section-head h2{font-size:21px}
  .h2030-comp-hero{padding:34px 0}
  .h2030-comp-hero-main{flex-direction:column;align-items:flex-start}
  .h2030-comp-logo-box{width:96px;height:96px;flex-basis:96px}
  .h2030-comp-facts{grid-template-columns:1fr 1fr}
  .h2030-comp-panel{padding:14px}
  .h2030-comp-match-teams{grid-template-columns:1fr;justify-items:center}
  .h2030-comp-score-block{order:-1}
  .h2030-comp-news-grid{grid-template-columns:1fr}
  .h2030-comp-table th.hide-sm,.h2030-comp-table td.hide-sm{display:none}
  .h2030-comp-table{min-width:560px}
}

/* ==================================================
   Competition 2030 - mobile/table refinement overrides
   ================================================== */
.h2030-comp-facts--compact{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:380px;
}
.h2030-comp-facts--compact .h2030-comp-fact{
  min-height:88px;
}
.h2030-comp-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}
.h2030-comp-legend-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--bg-matrix);
  border:1px solid var(--border-matrix);
  font-size:12px;
  font-weight:800;
  color:var(--text-matrix);
}
.h2030-comp-legend-item::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  display:block;
}
.h2030-comp-legend-item.is-elite::before{background:#10b981;}
.h2030-comp-legend-item.is-relegation::before{background:#ef4444;}

.h2030-comp-team-cell{
  min-width:0;
}
.h2030-comp-row-tag{
  display:block;
  margin-top:3px;
  font-size:11px;
  font-weight:800;
  color:#64748b;
}
.h2030-comp-table tbody tr.is-elite td:first-child{
  box-shadow:inset 4px 0 0 #10b981;
}
.h2030-comp-table tbody tr.is-relegation td:first-child{
  box-shadow:inset 4px 0 0 #ef4444;
}
.h2030-comp-table tbody tr.is-elite .h2030-comp-row-tag{color:#047857;}
.h2030-comp-table tbody tr.is-relegation .h2030-comp-row-tag{color:#b91c1c;}

.h2030-comp-matches-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.h2030-comp-match-card{
  padding:14px;
  gap:10px;
}
.h2030-comp-match-card .h2030-comp-match-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
  color:#64748b;
}
.h2030-comp-live-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  background:#10b981;
  color:#fff;
  font-size:11px;
  font-weight:900;
}
.h2030-comp-match-card .h2030-comp-match-teams{
  align-items:center;
}
.h2030-comp-match-card .h2030-comp-team{
  min-width:0;
}
.h2030-comp-match-card .h2030-comp-team span,
.h2030-comp-match-card .h2030-comp-team a{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  max-width:100%;
}
.h2030-comp-match-card .h2030-comp-score-block strong{
  font-size:26px;
}
.h2030-comp-match-card .h2030-comp-score-block small{
  font-size:11px;
}
.h2030-comp-match-foot{
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.h2030-comp-news-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media (max-width: 1100px){
  .h2030-comp-news-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width: 820px){
  .h2030-comp-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .h2030-comp-matches-grid{grid-template-columns:1fr;}
}

@media (max-width: 640px){
  .h2030-comp-hero-inner{
    gap:16px;
  }
  .h2030-comp-hero-main{
    gap:14px;
  }
  .h2030-comp-facts--compact{
    max-width:none;
  }
  .h2030-comp-table-wrap{
    overflow:visible;
  }
  .h2030-comp-table{
    min-width:0;
    width:100%;
    table-layout:fixed;
  }
  .h2030-comp-table th,
  .h2030-comp-table td{
    padding:10px 8px;
    font-size:12px;
  }
  .h2030-comp-table th.hide-mobile,
  .h2030-comp-table td.hide-mobile{
    display:none;
  }
  .h2030-comp-table .is-team{
    min-width:0;
    gap:7px;
  }
  .h2030-comp-table .is-team img{
    width:22px;
    height:22px;
    flex:0 0 22px;
  }
  .h2030-comp-table .is-team strong{
    font-size:12px;
    line-height:1.35;
    white-space:normal;
    display:block;
  }
  .h2030-comp-table .is-points{
    font-size:14px;
  }
  .h2030-comp-legend{
    gap:8px;
  }
  .h2030-comp-legend-item{
    font-size:11px;
    padding:7px 10px;
  }
  .h2030-comp-news-grid{
    grid-template-columns:1fr;
  }
  .h2030-comp-news-card{
    min-height:auto;
  }
  .h2030-comp-match-card{
    border-radius:16px;
    padding:12px;
  }
  .h2030-comp-match-card .h2030-comp-team img,
  .h2030-comp-match-card .h2030-comp-team-placeholder{
    width:42px;
    height:42px;
  }
  .h2030-comp-match-card .h2030-comp-team span,
  .h2030-comp-match-card .h2030-comp-team a{
    font-size:12px;
  }
  .h2030-comp-match-card .h2030-comp-score-block{
    padding:0 10px;
  }
  .h2030-comp-match-card .h2030-comp-score-block strong{
    font-size:22px;
    letter-spacing:0;
  }
  .h2030-comp-match-card .h2030-comp-score-block small{
    font-size:10px;
  }
}

.hsp2-match-card-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}

.hsp2-match-card-date {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.4;
  direction: ltr;
  unicode-bidi: isolate;
}
