/* ================= Hockey Team Stats — public ================= */
:root {
  --hts-primary: #0b1f3a;
  --hts-axe: #4fd1ff;
  --hts-general: #4fd1ff;
  --hts-secondary: #c8102e;
  --hts-ink: #0f172a;
  --hts-line: #e6e8ee;
  --hts-muted: #64748b;
  --color-text-primary: #161C24;
  --color-background-gradient-start: #2c4759;

  /* v2 dark bento theme — additive, only used by the components rebuilt for it below.
     Everything else in this file keeps the original light theme untouched. */
  --hts-surface: #1a2332;
  --hts-surface-2: #212c3d;
  --hts-text: #eaf3ff;
  --hts-text-dim: #93a2b8;
  --hts-border-dark: #2c3849;
  --hts-blue: #4fd1ff;
  --hts-blue-grad: linear-gradient(135deg, #60a5fa, #2563eb);
}

.hts-last-stat span svg {
  background: var(--hts-primary);
  padding: 5px;
  border-radius: 5px;
}

.hts-table thead th svg {
  background: rgba(255, 255, 255, 0.141);
  padding: 5px;
  border-radius: 5px;
}

.hts-wrap {
  color: var(--hts-ink);
  margin: 0 auto;
}

.hts-wrap * {
  box-sizing: border-box
}

.hts-empty {
  padding: 24px;
  text-align: center;
  color: var(--hts-muted);
  background: rgba(148, 163, 184, .08);
  border-radius: 12px
}

.hts-h2 {

  font-weight: 900;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: -.5px;
  margin: 8px 0 20px;
  color: var(--hts-axe)
}

.hts-h3 {

  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 34px 0 14px;
  color: var(--hts-primary);
  border-left: 5px solid var(--hts-axe);
  padding-left: 12px
}

.hts-ic {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  fill: currentColor
}

.hts-crown {
  width: 22px;
  height: 22px;
  fill: var(--hts-general)
}

/* Buttons */
.hts-btn {
  display: inline-block;
  background: var(--hts-axe);
  color: #04202a;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  transition: background-color .2s, transform .2s;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.hts-btn:hover {
  background: var(--hts-secondary);
  color: #fff;
  transform: translateY(-2px)
}

/* ---- Games grid ---- */
.hts-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px
}

.hts-game-card {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 16px;
  padding: 18px;
  color: var(--hts-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  transition: transform .2s, box-shadow .2s
}

.hts-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4)
}

.hts-game-champ {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--hts-text-dim);
  font-weight: 500;
  line-height: 16px;
}

.hts-game-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 14px 0
}

.hts-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-width: 0
}

.hts-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%
}

.hts-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hts-blue);
  color: #04202a;
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: 20px;
  overflow: hidden
}

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

.hts-logo-home {
  background: var(--hts-secondary)
}

.hts-score {

  font-weight: 900;
  font-size: 28px;
  color: var(--hts-text);
  padding: 0 12px
}

.hts-vs {
  color: var(--hts-text-dim);
  font-size: 18px
}

.hts-game-status {
  margin: 6px 0
}

.hts-countdown {

  font-weight: 700;
  color: var(--hts-secondary);
  font-size: 14px
}

.hts-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px
}

.hts-badge-final {
  background: var(--hts-blue);
  color: #04202a
}

.hts-badge-live {
  background: var(--hts-secondary);
  color: #fff;
  animation: htsPulse 1.4s infinite
}

.hts-badge-wait {
  background: rgba(251, 191, 36, .18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, .35)
}

@keyframes htsPulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .55
  }
}

.hts-game-date {
  font-size: 12px;
  color: var(--hts-text-dim);
  margin: 4px 0
}

.hts-game-star {
  font-size: 12px;
  margin: 6px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px
}

/* ---- Tables ---- */
.hts-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--hts-border-dark);
  background: var(--hts-surface)
}

.hts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--hts-surface);
  color: var(--hts-text);
  font-size: 14px
}

.hts-table thead th {
  background: var(--hts-surface-2);
  color: var(--hts-text);

  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 12px 10px;
  text-align: center !important;
}

.hts-table thead th:nth-child(2) {
  text-align: left
}

.hts-table td {
  padding: 11px 10px;
  text-align: center;
  border-top: 1px solid var(--hts-border-dark)
}

.hts-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .02)
}

.hts-table .hts-num {

  font-weight: 800;
  color: var(--hts-secondary)
}

.hts-pos {
  color: var(--hts-blue);
  font-weight: 700
}

.hts-neg {
  color: var(--hts-secondary);
  font-weight: 700
}

.hts-line-players {
  text-align: left;
  font-size: 13px;
  color: var(--hts-muted)
}

/* ---- Game page hero ---- */
.hts-game-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hts-primary);
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 18px 44px rgba(8, 20, 38, .32)
}

.hts-game-hero-flush {
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
  box-shadow: none;
}

.hts-game-hero-in {
  background: #232f43;
  padding: 40px 35px 25px 25px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hts-game-hero-in::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -140px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgb(172 172 172 / 25%), transparent 70%);
}

.hts-game-hero-champ {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: .85;
  font-weight: 700
}

.hts-gh-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 20px auto;
  max-width: 640px
}

.hts-gh-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: .9;
  transition: transform .2s, opacity .2s
}

.hts-gh-win {
  opacity: 1
}

.hts-gh-win .hts-gh-logo {
  border-color: var(--hts-general);
  position: relative;
  animation: wavePulse 2s ease-out infinite;
}

@keyframes wavePulse {
  0% {
    box-shadow: 0 0 0 0 var(--hts-general);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}





.hts-gh-win .hts-gh-logo::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 2px solid #fff;
  animation: radarWave 2s ease-out infinite 0.7s;
  pointer-events: none;
  opacity: 0;
}

.hts-gh-logo {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px
}

.hts-gh-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-gh-logo span {

  font-weight: 900;
  font-size: 38px;
  color: #fff
}

.hts-gh-name {

  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  max-width: 220px
}

.hts-gh-city {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  margin-top: -10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hts-gh-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px
}

.hts-gh-score {

  font-weight: 900;
  font-size: 76px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 16px
}

.hts-gh-score i {
  opacity: .5;
  font-style: normal;
  font-size: 50px
}

.hts-gh-score .hts-pos {
  color: var(--hts-axe, #4fd1ff);
}

.hts-gh-vs {
  font-weight: 300;
  font-size: 30px;
  color: var(--hts-general);
}

.hts-gh-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 5px 14px;
  border-radius: 999px
}

.hts-gh-badge.hts-gh-win {
  background: #34d399;
  color: #0b1f3a
}

.hts-gh-badge.hts-gh-loss {
  background: #a278fd;
  color: #fff
}

.hts-gh-badge.hts-gh-draw {
  background: #cbd5e1;
  color: #0b1f3a
}

.hts-gh-badge.hts-gh-upcoming {
  background: var(--hts-general);
  color: #04202a
}

.hts-gh-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px
}

.hts-gh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: 6px 13px
}

.hts-gh-chip .hts-crown {
  width: 15px;
  height: 15px;
  fill: var(--hts-general)
}

.hts-gh-star {
  background: rgba(244, 196, 48, .16);
  border-color: rgba(244, 196, 48, .4)
}

.hts-formula-note {
  font-size: 13px;
  color: #64748b;
  margin: 10px 0 12px;
}

.hts-formula-note b {
  color: var(--hts-primary)
}

@media(max-width:560px) {
  .hts-gh-logo {
    width: 66px;
    height: 66px
  }

  .hts-gh-score {
    font-size: 40px
  }

  .hts-gh-name {
    font-size: 14px
  }
}

/* ---- Player profile ---- */
.hts-player {}

.hts-player-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px
}

.hts-player-hero-bg {
  position: absolute;
  inset: 0;
}

.hts-player-hero-in {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 30px;
  color: #fff;
  flex-wrap: wrap;
}

.hts-player-photo {
  position: relative;
  width: 400px;
  height: 400px;
  flex: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hts-player-photo img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover
}

.hts-player-number {
  position: absolute;
  bottom: -35px;
  right: -20px;
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  color: var(--hts-blue);
}

.hts-player-id {
  flex: 1;
  min-width: 240px
}

.hts-player-name {
  font-weight: 600;
  font-size: 45px;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 6px 0;
  color: #fff;
}

.hts-player-pos {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hts-blue);
  font-weight: 700
}

.hts-player-bio {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 20px 0 0;
  padding: 0
}

.hts-player-bio li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 0;
  font-size: 14px
}

.hts-player-bio span {
  opacity: .7
}

.hts-player-bio b {
  font-weight: 700
}

.hts-player-totals {
  display: flex;
  align-items: stretch;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 16px;
  padding: 20px 6px;
  margin-bottom: 8px;
}

.hts-stat {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border-left: 1px solid var(--hts-border-dark);
  text-align: center
}

.hts-stat:first-child {
  border-left: none
}

.hts-stat-hl .hts-stat-val {
  color: var(--hts-blue)
}

.hts-stat-val {
  display: block;

  font-weight: 900;
  font-size: 28px;
  letter-spacing: -.5px;
  color: var(--hts-text)
}

.hts-stat-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--hts-text-dim);
  margin-top: 4px
}

/* v1.23.0 — per-game trend sparklines inside .hts-stat, and swipeable totals on mobile */
.hts-spark-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.hts-spark {
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 8px;
  overflow: visible;
}

.hts-spark-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(143, 227, 255, .22);
  pointer-events: none;
}

@media(max-width:640px) {
  .hts-player-totals {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: calc(50% - 50vw);
    padding-right: 22px;
  }

  .hts-player-totals::-webkit-scrollbar {
    display: none
  }

  .hts-player-totals.hts-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none
  }

  .hts-player-totals .hts-stat {
    flex: 0 0 116px;
    scroll-snap-align: start
  }
}

.hts-champ-row {
  cursor: pointer;
  transition: background-color .15s
}

.hts-champ-row:hover {
  background: var(--hts-surface-2) !important
}

.hts-champ-row .hts-expander {
  transition: transform .2s;
  color: var(--hts-blue);
  font-size: 11px
}

.hts-champ-row.is-open .hts-expander {
  transform: rotate(90deg)
}

.hts-champ-detail td {
  background: var(--hts-surface-2);
  padding: 0
}

.hts-subtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px
}

.hts-subtable th {
  background: #33456a;
  color: #fff;
  padding: 8px;
  font-weight: 600
}

.hts-subtable td {
  padding: 8px;
  text-align: center;
  border-top: 1px solid var(--hts-border-dark);
  color: var(--hts-text)
}

.hts-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px
}

.hts-type-card {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  overflow: hidden
}

.hts-type-head {
  background: var(--hts-surface-2);
  color: var(--hts-text);

  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 14px
}

.hts-type-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 14px
}

.hts-type-grid span {
  color: var(--hts-text-dim);
  font-size: 13px
}

.hts-type-grid b {
  text-align: right;
  color: var(--hts-text);

  font-weight: 700
}

.hts-last-games {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.hts-last-game {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  align-items: center;
  gap: 14px;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--hts-text)
}

.hts-last-opp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600
}

.hts-last-opp img {
  width: 34px;
  height: 34px;
  object-fit: contain
}

.hts-last-score {

  font-weight: 900;
  font-size: 20px;
  color: var(--hts-text)
}

.hts-last-stat {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  color: var(--hts-text-dim)
}

.hts-last-stat span {
  display: flex;
  align-items: center;
  gap: 5px
}

.hts-last-rating b {
  color: var(--hts-secondary)
}

.hts-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px
}

.hts-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative
}

.hts-gallery-item img,
.hts-gallery-item video {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block
}

.hts-gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  padding: 5px 8px
}

/* ---- Roster slider (drag/touch swipe, 3 per row) ---- */
.hts-roster-group {
  margin-bottom: 30px
}

.hts-roster-slider {
  position: relative
}

.hts-roster-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  padding: 4px 2px 12px;
  --roster-n: 3
}

.hts-roster-track::-webkit-scrollbar {
  display: none
}

.hts-roster-track.hts-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none
}

.hts-roster-card {
  --roster-cols: min(var(--roster-n), 3);
  flex: 0 0 calc((100% - 18px * (var(--roster-cols) - 1)) / var(--roster-cols));
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: var(--hts-text);
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  transition: transform .2s, box-shadow .2s
}

.hts-roster-card .hts-avatar {
  background: var(--hts-surface-2);
  box-shadow: 0 0 0 1px var(--hts-border-dark);
  padding: 8px
}

.hts-roster-card .hts-avatar img {
  border-radius: 50%
}

.hts-roster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 0px 30px #0f18275e;
}

.hts-roster-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hts-border-dark);
  background: var(--hts-surface-2);
  color: var(--hts-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: background-color .15s, transform .15s
}

.hts-roster-prev {
  left: 6px
}

.hts-roster-next {
  right: 6px
}

.hts-roster-nav:hover {
  background: var(--hts-blue);
  color: #04202a;
  transform: translateY(-50%) scale(1.08)
}

.hts-roster-nav:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none
}

.hts-roster-name {
  font-weight: 800;
  font-size: 15px;
  margin-top: 12px;
  color: var(--hts-text)
}

.hts-roster-pos {
  font-size: 12px;
  color: var(--hts-text-dim);
  text-transform: uppercase;
  letter-spacing: .5px
}

.hts-roster-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap
}

.hts-tag {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.hts-tag-c {
  background: #a278fd;
  color: #fff
}

.hts-tag-a {
  background: var(--hts-general);
  color: #04202a
}

.hts-tag-on {
  background: rgb(230 246 236 / 11%);
  color: #ffffff;
}

.hts-tag-off {
  background: #eee;
  color: #888
}

/* ---- Avatar with jersey number ---- */
.hts-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: visible;
  background: rgb(255 255 255 / 9%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hts-cell-player .hts-cell-player-in .hts-avatar {
  margin: initial;
}

.hts-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%
}

.hts-avatar-ph {
  color: #fff;

  font-weight: 800;
  font-size: 36px
}

.hts-avatar-lg {
  width: 120px;
  height: 120px
}

.hts-avatar-sm {
  width: 40px;
  height: 40px
}

.hts-avatar-sm .hts-jersey {
  font-size: 11px;
  min-width: 20px;
  height: 20px;
  border-width: 0px;
  bottom: -4px;
  right: -4px
}

.hts-avatar-sm .hts-crown {
  width: 16px;
  height: 16px;
  top: -11px
}

.hts-table-avatars td:first-child {
  text-align: left
}

.hts-cell-player-in {
  display: flex;
  align-items: center;
  gap: 12px
}

.hts-cell-name {
  font-weight: 600
}

.hts-jersey {
  position: absolute;
  bottom: -10px;
  right: -5px;
  background: var(--hts-general);
  color: #04202a;
  font-weight: 700;
  font-size: 13px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--porto-body-bg);
}


.hts-avatar .hts-crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2
}

/* ---- Mini games list (archive) ---- */
.hts-mini-games {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.hts-mini-game {
  display: grid;
  grid-template-columns: 110px 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--hts-text);
  transition: transform .15s, box-shadow .15s
}

.hts-mini-game:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35)
}

.hts-mini-date {
  font-size: 12px;
  color: var(--hts-text-dim)
}

.hts-mini-team {
  font-weight: 600;
  font-size: 14px
}

.hts-mini-opp {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  text-align: right
}

.hts-mini-opp img {
  width: 26px;
  height: 26px;
  object-fit: contain
}

.hts-mini-score {

  font-weight: 900;
  font-size: 18px;
  color: var(--hts-text)
}

/* ---- Championship archive hero ---- */
.hts-champ-arch-hero {
  background: var(--hts-primary);
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px
}

.hts-champ-arch-hero:after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--hts-general);
  opacity: .18
}

.hts-champ-arch-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hts-general);
  font-weight: 700
}

.hts-champ-arch-title {

  font-weight: 900;
  font-size: 44px;
  text-transform: uppercase;
  margin: 6px 0;
  line-height: 1
}

.hts-champ-arch-meta {
  opacity: .85;
  font-size: 14px
}

/* ---- Playoff bracket ---- */
.hts-bracket {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 4px 20px
}

.hts-bracket-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
  min-width: 250px
}

.hts-bracket-round {

  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--hts-primary);
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--hts-general)
}

.hts-bracket-match {
  display: block;
  background: #fff;
  border: 1px solid var(--hts-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--hts-ink);
  box-shadow: 0 6px 16px rgba(11, 31, 58, .06);
  transition: transform .15s, box-shadow .15s
}

.hts-bracket-match:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(11, 31, 58, .14)
}

.hts-bracket-team {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600
}

.hts-bracket-team+.hts-bracket-team {
  border-top: 1px solid var(--hts-line)
}

.hts-bracket-team span:nth-child(2) {
  flex: 1
}

.hts-bracket-team b {

  font-weight: 900;
  font-size: 17px
}

.hts-bracket-win {
  background: #f2f8f4
}

.hts-bracket-win b {
  color: #0a8f3c
}

.hts-bracket-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hts-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  overflow: hidden
}

.hts-bracket-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff
}

.hts-bracket-date {
  text-align: center;
  font-size: 11px;
  color: var(--hts-muted);
  padding: 5px
}

.hts-bracket-year {

  font-weight: 800;
  color: var(--hts-secondary);
  text-transform: uppercase;
  font-size: 14px;
  margin: 10px 0 4px
}

.hts-bracket-match-static {
  cursor: default
}

.hts-bracket-link {
  text-decoration: none;
  color: inherit;
  display: block
}

/* Classic tree connectors */
.hts-bracket--tree {
  align-items: stretch;
  gap: 0
}

.hts-bracket--tree .hts-bracket-col {
  display: flex;
  flex-direction: column;
  min-width: 250px;
  padding: 0 26px
}

.hts-bracket--tree .hts-bracket-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around
}

.hts-bracket--tree .hts-bracket-pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative
}

.hts-bracket--tree .hts-bracket-match {
  margin: 8px 0;
  position: relative
}

/* right stub from each match */
.hts-bracket--tree .hts-bracket-col:not(:last-child) .hts-bracket-match::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 26px;
  height: 2px;
  background: var(--hts-line)
}

/* left stub into each match (rounds after first) */
.hts-bracket--tree .hts-bracket-col:not(:first-child) .hts-bracket-match::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 26px;
  height: 2px;
  background: var(--hts-line)
}

/* vertical line joining a pair on the right */
.hts-bracket--tree .hts-bracket-col:not(:last-child) .hts-bracket-pair::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: calc(100% + 26px);
  width: 2px;
  background: var(--hts-line)
}

/* horizontal line from pair-center to next column */
.hts-bracket--tree .hts-bracket-col:not(:last-child) .hts-bracket-pair::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 26px);
  width: 26px;
  height: 2px;
  background: var(--hts-line)
}

.hts-bracket--tree .hts-bracket-round {
  text-align: center
}

.hts-bracket-series-tag {
  background: var(--hts-secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  padding: 3px
}

.hts-bracket-cup {
  color: var(--hts-general);
  font-style: normal;
  margin-right: 4px
}

.hts-bracket-games {
  text-align: center;
  font-size: 11px;
  color: var(--hts-muted);
  padding: 5px;
  border-top: 1px dashed var(--hts-line)
}

/* ---- Season switch (player page) ---- */
.hts-season-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px
}

.hts-season-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--hts-muted);
  font-weight: 700
}

.hts-season-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--hts-border-dark);
  color: var(--hts-text);
  background: var(--hts-surface);
  transition: background-color .15s, color .15s, transform .15s
}

.hts-season-btn:hover {
  transform: translateY(-2px)
}

.hts-season-btn.is-active {
  background: var(--hts-axe);
  color: #04202a;
  border-color: var(--hts-axe)
}

/* ---- Leaders widget ---- */
.hts-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px
}

.hts-leaders-col {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 16px;
  overflow: hidden
}

.hts-leaders-head {
  background: var(--hts-surface-2);
  color: var(--hts-text);

  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px
}

.hts-leaders-head .hts-ic {
  fill: var(--hts-blue)
}

.hts-leaders-list {
  list-style: none;
  margin: 0;
  padding: 8px
}

.hts-leader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px
}

.hts-leader:nth-child(even) {
  background: rgba(255, 255, 255, .03)
}

.hts-leader-top {
  background: rgba(59, 130, 246, .14) !important;
  border: 1px solid rgba(59, 130, 246, .35)
}

.hts-leader-rank {

  font-weight: 900;
  font-size: 18px;
  color: var(--hts-text-dim);
  width: 22px;
  text-align: center
}

.hts-leader-top .hts-leader-rank {
  color: var(--hts-blue)
}

.hts-leader-face {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--hts-surface-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  overflow: visible;
}

.hts-leader-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%
}

.hts-leader-face i {
  position: absolute;
  bottom: -3px;
  right: -4px;
  font-style: normal;
  background: var(--hts-blue);
  color: #04202a;
  font-size: 10px;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff
}

.hts-leader-name {
  flex: 1;
  font-size: 14px;
  color: var(--hts-text);
  text-decoration: none;
  font-weight: 600;
  line-height: 18px;
}

.hts-leader-name:hover {
  color: var(--hts-secondary)
}

.hts-leader-val {
  text-align: right;
  display: flex;
  flex-direction: column;
  line-height: 1
}

.hts-leader-val b {

  font-weight: 900;
  font-size: 20px;
  color: var(--hts-text)
}

.hts-leader-val.hts-pos b {
  color: #34d399
}

.hts-leader-val.hts-neg b {
  color: var(--hts-secondary)
}

.hts-leader-val small {
  font-size: 10px;
  color: var(--hts-text-dim);
  text-transform: uppercase
}

.hts-leader-sub {
  font-size: 11px;
  color: var(--hts-text-dim);
  width: 64px;
  text-align: right
}

@media(max-width:640px) {
  .hts-player-name {
    font-size: 30px
  }

  .hts-player-number {
    font-size: 70px
  }

  .hts-last-game {
    grid-template-columns: 1fr auto;
    row-gap: 8px
  }

  .hts-last-stat {
    grid-column: 1/-1;
    justify-content: flex-start
  }

  .hts-h2 {
    font-size: 24px
  }

  .hts-champ-arch-title {
    font-size: 30px
  }

  .hts-mini-game {
    grid-template-columns: 1fr auto 1fr;
    font-size: 12px
  }

  .hts-mini-date {
    display: none
  }
}

/* ---- Role / goalie inline icons ---- */
.hts-goalie-mini {
  display: inline-flex;
  vertical-align: -3px;
  color: var(--hts-general)
}

.hts-goalie-mini .hts-ic {
  width: 16px;
  height: 16px
}

.hts-cell-name .hts-tag {
  margin-left: 4px;
  font-size: 10px;
  padding: 2px 6px
}

/* ---- [team_streak] ---- */
.hts-streak {
  margin: 14px 0;
  border: 1px solid var(--hts-border-dark);
  background: var(--hts-surface);
  padding: 16px !important;
  border-radius: 15px;
  box-sizing: border-box;
  color: var(--hts-text);
}

.hts-streak-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.hts-streak-head .hts-h3 {
  margin: 0;
  color: var(--hts-text)
}

.hts-streak-sum {

  font-weight: 800;
  color: var(--hts-text-dim);
  font-size: 14px
}

.hts-streak-slider {
  position: relative;
}

.hts-streak-nav {
  position: absolute;
  top: 35px;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hts-border-dark);
  background: var(--hts-surface-2);
  color: var(--hts-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: background-color .15s, transform .15s;
}

.hts-streak-prev {
  left: -14px
}

.hts-streak-next {
  right: -14px
}

.hts-streak-nav:hover {
  background: var(--hts-blue);
  color: #04202a;
  transform: translateY(-50%) scale(1.08)
}

.hts-streak-nav:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none
}

.hts-streak-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  margin: 12px 0 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.hts-streak-strip::-webkit-scrollbar {
  display: none
}

.hts-streak-strip.hts-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none
}

.hts-streak-col {
  --streak-cols: min(var(--streak-n, 6), 6);
  flex: 1 0 calc(100% / var(--streak-cols));
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
}

@media(max-width:560px) {
  .hts-streak-col {
    --streak-cols: min(var(--streak-n, 6), 4);
  }

  .hts-streak-nav {
    display: none
  }
}

.hts-streak-box {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  text-decoration: none;
  transition: transform .15s;
  border: 3px solid transparent;
  padding: 4px;
}

.hts-streak-box:hover {
  transform: translateY(-3px)
}

.hts-streak-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden
}

.hts-streak-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none
}

.hts-streak-pic.hts-streak-bw img {
  filter: grayscale(1);
  opacity: .5
}

.hts-streak-box span:not(.hts-streak-letter) {
  display: contents;
  font-weight: 800;
  font-size: 16px;
  color: #232c39;
}

.hts-streak-letter {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  border: 2px solid var(--hts-surface);
}

.hts-streak-win {
  border-color: #16a34a
}

.hts-streak-win .hts-streak-letter {
  background: #16a34a
}

.hts-streak-loss {
  border-color: #a278fd
}

.hts-streak-loss .hts-streak-letter {
  background: #a278fd
}

.hts-streak-draw {
  border-color: var(--hts-blue)
}

.hts-streak-draw .hts-streak-letter {
  background: var(--hts-blue);
  color: #04202a
}

.hts-streak-upcoming {
  border-color: var(--hts-border-dark);
  opacity: .8
}

.hts-streak-connector {
  width: 2px;
  height: 14px;
  background: var(--hts-border-dark);
  margin-top: 2px;
}

.hts-streak-seg {
  display: block;
  width: 100%;
  height: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

.hts-streak-col:first-child .hts-streak-seg {
  border-radius: 999px 0 0 999px
}

.hts-streak-col:last-child .hts-streak-seg {
  border-radius: 0 999px 999px 0
}

/* ---- [team_standings] ---- */
.hts-standings-table td:nth-child(2) {
  text-align: left
}

.hts-standings-club {
  display: flex;
  align-items: center;
  gap: 10px
}

.hts-standings-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  flex: none
}

.hts-standings-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  color: var(--hts-text);
  background: var(--hts-surface-2)
}

.hts-standings-table tbody tr:first-child {
  background: linear-gradient(90deg, rgba(59, 130, 246, .16), transparent)
}

/* ---- Status pills ---- */
.hts-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .4px;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.hts-pill-final {
  background: var(--hts-blue);
  color: #04202a
}

.hts-pill-live {
  background: #ef4444;
  color: #fff;
  position: relative
}

.hts-pill-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: htsblink 1s infinite
}

.hts-pill-soon {
  background: rgb(0 0 0 / 20%);
  color: #fff;
}

@keyframes htsblink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* ---- Game card (item 2) ---- */
.hts-game-cardtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  padding-bottom: 15px;
}

.hts-game-card {
  position: relative;
  transition: transform .18s, box-shadow .18s
}

.hts-game-card:hover {
  transform: translateY(-3px)
}

.hts-card-live {
  box-shadow: 0 0 0 2px #f87171, 0 14px 34px rgba(220, 38, 38, .25)
}

.hts-game-teams .hts-logo {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  font-weight: 800;
  color: var(--hts-text);
  margin: 0 auto;
  padding: 5px;
}

.hts-game-teams .hts-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-game-date {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  color: #64748b;
  font-size: 13px
}

.hts-game-date .hts-ic {
  width: 15px;
  height: 15px
}

/* ---- Schedule accordion (item 1) ---- */

.hts-next-game {
  background: #232f43;
  color: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.hts-next-game::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -140px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgb(172 172 172 / 25%), transparent 70%);
}

/* v1.18.0 — game-page hero: team | champ+score | team | side-panel, plus footer strip */
.hts-gh2-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr 220px;
  align-items: center;
  gap: 20px;
}

.hts-gh2-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  text-align: center;
}

.hts-gh2-champ {
  font-size: 13px;
  font-weight: 500;
  opacity: .85;
  line-height: 1.4;
  max-width: 260px;
  margin-bottom: 20px;
}

.hts-gh2-side {
  position: relative;
  flex: none;
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hts-gh2-side-badge {
  align-self: stretch;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 6px;
}

@media(max-width:640px) {
  .hts-gh2-side-badge-upcoming {
    width: 100%;
  }
}

.hts-gh2-side-badge-win {
  background: #d495a8;
  color: #0b1f3a;
}

.hts-gh2-side-badge-loss {
  background: #a278fd;
  color: #fff;
}

.hts-gh2-side-badge-draw {
  background: #cbd5e1;
  color: #0b1f3a;
}

.hts-gh2-side-badge-upcoming {
  background: var(--hts-general);
  color: #04202a;
}

.hts-gh2-side-badge-live {
  background: #a278fd;
  color: #fff;
}

.hts-gh2-side-date {
  font-size: 15px;
  opacity: .9;
  line-height: 1.4;
  text-align: left;
}

.hts-gh2-side-loc {
  font-size: 16px;
  font-weight: 800;
}

.hts-gh2-side-star {
  font-size: 12px;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hts-gh2-side-star .hts-ic {
  width: 14px;
  height: 14px;
}

.hts-gh2-side-gallery {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  text-decoration: none;
  color: #fff;
  width: 100%;
  justify-content: space-between;
}

.hts-gh2-side-gallery-txt {
  font-size: 15px;
  line-height: 1.4;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 7px 20px;
  text-align: left;
  display: grid;
  gap: 7px;
  line-height: 15px;
  grid-template-columns: 1fr 1fr;
}

.hts-gh2-side-gallery-txt:hover {
  color: #ffffff9d;
}

.hts-gh2-side-gallery-txt b {
  color: var(--hts-axe, #4fd1ff);
  font-weight: 700;
  font-size: 12px;
}

.hts-gh2-side-gallery-txt .hts-ic {
  width: 27px;
  height: 27px;
  vertical-align: -2px;
}

.hts-gh2-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

@media(max-width:640px) {
  .hts-gh2-foot {
    display: grid;
  }
}

.hts-next-game .hts-gh2-foot-left {
  flex: 1 1 auto;
  min-width: 200px;
}

.hts-gh2-foot-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hts-gh2-foot-avs,
.hts-gh2-side-gallery .hts-gh2-foot-avs {
  display: flex;
}

.hts-gh2-foot-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: rgb(51.1945945946, 57.4, 63.6054054054);
  border: 1px solid #ffffff33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-left: -14px;
  padding: 3px;
}

.hts-gh2-foot-av:first-child {
  margin-left: 0;
}

.hts-gh2-foot-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hts-gh2-foot-more {
  background: rgba(255, 255, 255, .18);
}

.hts-gh2-foot-label {
  font-size: 15px;
  opacity: .8;
}

.hts-gh2-foot-btn {
  flex: none;
  background: var(--hts-axe, #4fd1ff);
  color: #04202a;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.hts-gh2-foot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 8, 23, .3);
}

/* .hts-ach-hero is reused only as a JS hook (opens the achievements modal) here — its own
   generic padding/display rules load later in the stylesheet and would otherwise squash this
   button, so pin the intended look with a combined, higher-specificity selector. */
.hts-gh2-foot-btn.hts-ach-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
}

.hts-gh2-foot-btn.hts-ach-hero:hover {
  background: var(--hts-axe, #4fd1ff);
}

.hts-gh2-detail {
  background: var(--hts-primary, #0b1f3a);
  color: #fff;
  border-radius: 16px;
  padding: 4px 22px 6px;
  margin: 12px 0 14px;
}

.hts-gh2-detail .hts-gh-highlights {
  border-top: none;
  margin-top: 0;
  padding-top: 16px;
}

@media(max-width:820px) {
  .hts-gh2-top {
    grid-template-columns: 1fr auto 1fr;
  }

  .hts-gh2-side {
    grid-column: 1 / -1;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
  }
}

.hts-gh2-side-gallery-label {
  display: grid;
}

@media(max-width:560px) {
  .hts-gh2-top {
    grid-template-columns: 1fr 1fr;
  }

  .hts-gh2-center {
    grid-column: 1 / -1;
    order: -1;
  }

  .hts-gh2-side-gallery-label {
    display: none;
  }

  .hts-gh2-side-gallery-txt {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hts-gh2-foot-btn.hts-ach-hero {
    width: 100%;
  }
}

/* v1.17.0 — compact two-column "next game" layout (superseded by .hts-gh2 for hts-next-game;
   .hts-mu-cal-btn and the countdown/topbar chrome below are still shared with the hero) */
.hts-mu-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background-color .15s;
}

.hts-mu-cal-btn:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* Segmented countdown (still used by mu_countdown() in both hts-gh2 contexts) */
.hts-mu-cd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 18px;
}

.hts-mu-cd i {
  font-style: normal;
  opacity: .4;
  font-weight: 800;
  font-size: 18px;
}

.hts-mu-cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 52px;
}

.hts-mu-cd-box b {
  font-weight: 800;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.hts-mu-cd-box span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .4px;
  opacity: .6;
}

@media(max-width:480px) {
  .hts-mu-cd-box {
    min-width: 44px;
    padding: 6px 8px;
  }
}

.hts-soon {
  margin-bottom: 18px
}

.hts-soon-toggle {
  width: 100%;
  text-align: left;
  background: var(--hts-surface);
  border: 1px dashed var(--hts-border-dark);
  border-radius: 12px;
  padding: 12px 16px;

  font-weight: 800;
  color: var(--hts-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.hts-soon-toggle:hover {
  background: var(--hts-surface-2)
}

.hts-soon-toggle.is-open .hts-sched-chevron {
  transform: rotate(180deg)
}

.hts-soon-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.hts-sched-subhead {

  font-weight: 800;
  color: var(--hts-primary);
  margin: 18px 0 10px;
  font-size: 16px
}

.hts-sched-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.hts-sched-item {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  overflow: hidden;
}

.hts-sched-poss b {
  color: var(--hts-blue);
}

.hts-sched-row {
  display: grid;
  grid-template-columns: 16px 110px 1fr auto auto;
  align-items: end;
  gap: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color .15s
}

.hts-sched-item[data-toggle] .hts-sched-row,
.hts-sched-row[data-toggle] {
  cursor: pointer
}

.hts-sched-row:hover {
  background: var(--hts-surface-2)
}

/* v1.15.0 — soft tint for already-played games */
.hts-sched-item.hts-sched-final {
  background: #16213a;
  border-color: var(--hts-blue)
}

.hts-sched-item.hts-sched-final .hts-sched-row:hover {
  background: #1c2a48
}

.hts-game-card.hts-card-final {
  background: #232f43;
  border: 1px solid rgb(193 208 229 / 18%) !important;
}

.hts-sched-date {
  display: flex;
  flex-direction: column;
  line-height: 1.2
}

.hts-sched-date b {
  font-size: 14px;
  color: var(--hts-text)
}

.hts-sched-date span {
  font-size: 12px;
  color: var(--hts-text-dim)
}

.hts-sched-match {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.hts-sched-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);

  font-weight: 800;
  color: var(--hts-text);
  flex: none
}

.hts-sched-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-sched-score {

  font-weight: 900;
  font-size: 16px;
  color: var(--hts-text);
  min-width: 44px;
  text-align: center
}

.hts-sched-opp {
  font-weight: 600;
  color: var(--hts-text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.hts-sched-chevron {
  display: inline-block;
  transition: transform .2s;
  color: var(--hts-text-dim);
  font-size: 14px;
  align-self: center;
  justify-self: center;
}

.hts-sched-item.is-open .hts-sched-chevron {
  transform: rotate(180deg)
}

.hts-sched-detail {
  padding: 6px 16px 18px;
  border-top: 1px solid var(--hts-border-dark);
  background: var(--hts-surface-2);
  color: var(--hts-text)
}

.hts-sched-detail .hts-h3 {
  font-size: 15px;
  margin-top: 14px
}

.hts-sched-live {
  box-shadow: 0 0 0 2px #fecaca
}

@media(max-width:900px) {
  .hts-roster-card {
    --roster-cols: min(var(--roster-n), 2);
  }
}

@media(max-width:640px) {
  .hts-player-bio {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hts-player-bio li {
    gap: 50px;
  }

  .hts-player-photo {
    width: 100%;
    height: 340px;
  }

  .hts-player-bio b {
    font-weight: 700;
    text-align: end;
  }

  .hts-roster-card {
    flex-basis: 78%
  }

  .hts-roster-track {
    margin-right: calc(50% - 50vw);
    padding-right: 16px;
  }

  .hts-roster-nav {
    display: none
  }

  .hts-sched-row {
    grid-template-columns: 1fr auto;
    row-gap: 8px
  }

  .hts-sched-match {
    grid-column: 1 / -1;
    order: 3;

    display: flex;
    justify-content: center;
    align-items: center;

  }

  .hts-sched-opp {
    display: none
  }

  .hts-gh-logo {
    width: 120px;
    height: 120px;
  }

  .hts-gh-hex {
    padding: 8px 16px;
  }

  .hts-sched-chevron {
    display: none;
  }
}

/* ---- Schedule: per-row link + game title + banner button ---- */
.hts-sched-row {
  grid-template-columns: 16px 110px 1fr auto auto auto
}

.hts-sched-open {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #04202a;
  background: var(--hts-general);
  padding: 4px 11px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap
}

.hts-sched-open:hover {
  background: var(--hts-primary);
  color: #fff
}

.hts-game-title {
  font-weight: 900;
  font-size: 26px;
  color: var(--hts-line);
  margin: 0 0 14px;
  line-height: 1.15;
}

.hts-game-title span {
  font-weight: 600;
  color: #94a3b8;
  font-size: 18px
}

@media(max-width:640px) {
  .hts-sched-row {
    grid-template-columns: 1fr auto
  }

  .hts-sched-open {
    grid-column: 1/-1;
    justify-content: center;
    order: 4
  }
}

/* ---- Achievements (v1.7) ---- */
.hts-ach-collection {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  vertical-align: middle;
  margin-left: 6px
}

.hts-ach-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  cursor: pointer;
  transition: transform .12s
}

.hts-ach-icon:hover {
  transform: scale(1.12)
}

.hts-ach-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-ach-ph {
  font-weight: 800;
  font-size: 12px;
  color: var(--hts-primary, #0b1f3a)
}

.hts-player-achievements {
  margin: 8px 0 0
}

.hts-player-achievements .hts-ach-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px
}

.hts-player-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .15s, color .15s
}

.hts-player-link:hover {
  color: var(--hts-general, #4fd1ff);
  border-bottom-color: currentColor
}

/* v1.8.0 — schedule day-of-week, location, rescheduled pill */
.hts-sched-date {
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

.hts-sched-dow {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--hts-general, #4fd1ff);
  opacity: .85
}

.hts-sched-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #64748b
}

.hts-sched-loc .hts-ic {
  width: 13px;
  height: 13px
}

.hts-sched-opp {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  white-space: normal !important;
  overflow: visible !important
}

.hts-sched-opp-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #fff
}

.hts-sched-opp .hts-sched-loc {
  margin-left: 0;
  margin-top: -5px
}

.hts-sched-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap
}

.hts-pill-moved {
  background: rgba(249, 115, 22, .18);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, .4)
}

.hts-sched-moved {
  border-left: 3px solid #f97316
}

.hts-ach-cat-desc {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px
}

.hts-next-moved {
  display: inline-block;
  margin-top: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(249, 115, 22, .18);
  color: #fdba74;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(249, 115, 22, .4)
}

.hts-table-wrap {
  max-width: 100%
}

/* v1.8.0 — game page: 3-column lineups (points 4 & 6) */
.hts-lineups-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 6px 0 22px
}

.hts-lineup-col {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  overflow: hidden
}

.hts-lineup-col-head {
  background: var(--hts-surface-2);
  color: var(--hts-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 10px 14px
}

.hts-lineup-players {
  padding: 6px 8px
}

.hts-lineup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 9px
}

.hts-lineup-row+.hts-lineup-row {
  border-top: 1px solid var(--hts-border-dark)
}

.hts-lineup-row:hover {
  background: var(--hts-surface-2)
}

.hts-lineup-goalie {
  background: rgba(59, 130, 246, .1)
}

.hts-lineup-num {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--hts-surface-2);
  color: var(--hts-text);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center
}

.hts-lineup-num img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-lineup-num i {
  position: absolute;
  bottom: -3px;
  right: -4px;
  font-style: normal;
  background: var(--hts-blue);
  color: #04202a;
  font-size: 9px;
  font-weight: 900;
  min-width: 15px;
  height: 15px;
  padding: 0 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hts-surface)
}

.hts-lineup-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--hts-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap
}

.hts-lineup-stat {
  flex: none;
  text-align: right;
  font-size: 12px;
  color: var(--hts-text-dim);
  white-space: nowrap
}

.hts-lineup-stat b {
  font-size: 15px;
  color: var(--hts-blue)
}

.hts-lineup-stat small {
  margin: 0 6px 0 2px
}

.hts-line-roster {
  font-size: 12px;
  color: var(--hts-text-dim)
}

.hts-line-roster-p {
  display: inline-block;
  background: var(--hts-surface-2);
  color: var(--hts-text);
  border-radius: 6px;
  padding: 2px 7px;
  margin: 2px 3px 2px 0;
  font-weight: 600;
  white-space: nowrap
}

/* v1.8.0 — game hero highlights (point 7) */
.hts-gh-highlights {
  margin-top: 18px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 16px
}

.hts-gh-hl {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 14px
}

.hts-gh-hl-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .85;
  min-width: 96px
}

.hts-gh-hl-label svg {
  width: 16px;
  height: 16px
}

.hts-gh-hl-val {
  font-weight: 600
}

.hts-gh-hl-val a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .4)
}

.hts-gh-hl-val a:hover {
  border-bottom-color: #fff
}

.hts-gh-hl-ach .hts-gh-hl-val {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hts-gh-ach {
  align-items: center;
  gap: 15px
}

.hts-gh-ach .hts-ach-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14)
}

.hts-gh-ach em {
  font-style: normal;
  font-size: 15px;
  text-align: left;
  font-weight: 600
}

.hts-gh-ach-flex {
  display: grid;
}

@media(max-width:640px) {
  .hts-lineups-cols {
    grid-template-columns: 1fr
  }

  .hts-gh-hl-label {
    min-width: auto
  }

  .hts-gh-ach {
    width: 45%;
  }

  .hts-ach-stack .hts-ach-icon {
    width: 27px !important;
    height: 27px !important;
    border: 1px solid #fff;
  }
}

/* v1.9.0 — championship group headers on player profile (point 10) */
.hts-champ-group td {
  background: var(--hts-primary, #0b1f3a);
  padding: 8px 14px
}

.hts-champ-group-name {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em
}

.hts-champ-group-badge {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 600;
  margin-left: 10px
}

/* v1.9.0 — running ticker (point 11) */
.hts-ticker-wrap {
  margin: 14px 0
}

.hts-ticker {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--hts-border-dark);
  border-radius: 12px;
  background: var(--hts-surface);
  position: relative;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.hts-ticker::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0
}

.hts-ticker.hts-dragging {
  cursor: grabbing
}

.hts-ticker-track {
  display: flex;
  width: max-content
}

.hts-ticker-item img {
  pointer-events: none
}

.hts-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-right: 1px solid var(--hts-border-dark);
  text-decoration: none;
  color: var(--hts-text);
  white-space: nowrap;
  flex: none;
  transition: background-color .15s
}

.hts-ticker-item:hover {
  background: var(--hts-surface-2)
}

.hts-ticker-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--hts-text-dim)
}

.hts-ticker-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  font-weight: 800;
  font-size: 12px;
  flex: none
}

.hts-ticker-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-ticker-score {
  font-weight: 900;
  font-size: 15px;
  min-width: 38px;
  text-align: center
}

.hts-ticker-live .hts-ticker-score {
  color: #f87171
}

.hts-ticker-opp {
  font-size: 13px;
  font-weight: 600;
  color: var(--hts-text-dim)
}

@media(prefers-reduced-motion:reduce) {
  .hts-ticker-track {
    animation: none;
    flex-wrap: nowrap;
    overflow-x: auto
  }
}

/* v1.10.0 — swipe calendar (point 13) */
.hts-calendar-wrap {
  margin: 14px 0
}

.hts-calendar-slider {
  position: relative
}

.hts-calendar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  --cal-n: 6
}

.hts-calendar::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0
}

.hts-calendar.hts-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none
}

.hts-cal-card {
  --cal-cols: min(var(--cal-n), 6);
  flex: 0 0 calc((100% - 10px * (var(--cal-cols) - 1)) / var(--cal-cols));
  scroll-snap-align: start;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: var(--hts-text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .15s, box-shadow .15s
}

.hts-cal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35)
}

.hts-cal-card img {
  pointer-events: none
}

.hts-cal-moved {
  border-left: 4px solid #f97316
}

.hts-cal-date {
  display: flex;
  align-items: baseline;
  gap: 5px
}

.hts-cal-day {
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--hts-blue)
}

.hts-cal-mon {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--hts-text-dim)
}

.hts-cal-dow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--hts-text-dim);
  line-height: 1.3
}

.hts-cal-badge {
  background: rgba(59, 130, 246, .16);
  color: var(--hts-blue);
  border-radius: 20px;
  padding: 2px 7px;
  font-size: 10px;
  text-transform: none;
  flex: none;
  margin-left: 4px
}

.hts-cal-opp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
  color: var(--hts-text)
}

.hts-cal-opp>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.hts-cal-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  font-weight: 800;
  font-size: 16px;
  flex: none
}

.hts-cal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-cal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2px
}

.hts-cal-moved-tag {
  font-size: 10px;
  font-weight: 800;
  color: #fdba74;
  background: rgba(249, 115, 22, .15);
  border: 1px solid rgba(249, 115, 22, .4);
  border-radius: 6px;
  padding: 2px 6px
}

.hts-cal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hts-border-dark);
  background: var(--hts-surface-2);
  color: var(--hts-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: background-color .15s, transform .15s
}

.hts-cal-prev {
  left: -4px
}

.hts-cal-next {
  right: -4px
}

.hts-cal-nav:hover {
  background: var(--hts-blue);
  color: #04202a;
  transform: translateY(-50%) scale(1.08)
}

.hts-cal-nav:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none
}

/* v1.15.0 — possession bar */
.hts-poss {
  margin-top: 10px
}

.hts-poss-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px
}

.hts-poss-nums {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px
}

.hts-poss-nums i {
  font-style: normal;
  color: #cbd5e1
}

.hts-poss-track {
  height: 4px;
  border-radius: 6px;
  background: rgb(130 181 65);
  overflow: visible;
  position: relative;
}

.hts-poss-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hts-general, #4fd1ff), #8fe3ff);
  border-radius: 6px 0 0 6px;
  position: relative;
}

/* Rivalry "spark" flashes right where the two sides collide */
.hts-poss-fill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M12 0l2.1 7.9L22 10l-7.9 2.1L12 20l-2.1-7.9L2 10l7.9-2.1z'/%3E%3C/g%3E%3Cg fill='%238fe3ff'%3E%3Ccircle cx='19' cy='4' r='2.2'/%3E%3Ccircle cx='4' cy='18' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 4px rgba(143, 227, 255, .9));
  animation: htsSpark 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes htsSpark {

  0%,
  100% {
    transform: translateY(-50%) scale(.85) rotate(0deg);
    opacity: .75
  }

  50% {
    transform: translateY(-50%) scale(1.15) rotate(12deg);
    opacity: 1
  }
}

.hts-poss-teams {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 3px
}

.hts-sched-item .hts-poss {
  display: none
}

/* possession now shown inline in the row, see .hts-sched-poss */
.hts-game-card .hts-poss {
  margin-top: 12px
}

.hts-sched-poss {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--hts-primary, #0b1f3a)
}

.hts-sched-poss-bar {
  width: 150px;
  height: 5px;
  border-radius: 5px;
  background: #ffffff17;
  overflow: hidden;
  flex: none;
}

.hts-sched-poss-bar i {
  display: block;
  height: 100%;
  background: var(--hts-axe, #4fd1ff);
  border-radius: 5px
}

/* v1.18.0 — bold full-width possession bar under the game hero, flush with its bottom edge */
.hts-poss-hero {
  margin-top: 0px;
  max-width: none;
  background: #232c39;
  border-radius: 0 0 20px 20px;
  padding: 16px 26px 18px;
  box-shadow: 0 18px 44px rgba(8, 20, 38, .18);
  margin-bottom: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hts-poss-hero .hts-poss-labels {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 400;
}

.hts-poss-hero .hts-poss-nums {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  gap: 8px;
}

.hts-poss-hero .hts-poss-nums i {
  color: rgba(255, 255, 255, .5);
}

.hts-poss-hero .hts-poss-track {
  height: 6px;
  background: rgb(255 255 255 / 11%);
  border-radius: 10px;
}

.hts-poss-hero .hts-poss-teams {
  color: rgb(255 255 255);
  font-size: 17px;
  font-weight: 500;
  margin-top: 8px;
  display: none;
}

@media(max-width:900px) {
  .hts-cal-card {
    --cal-cols: min(var(--cal-n), 3)
  }
}

@media(max-width:640px) {
  .hts-cal-card {
    flex-basis: 62%
  }

  .hts-calendar {
    margin-right: calc(50% - 50vw);
    padding-right: 16px;
  }

  .hts-cal-nav {
    display: none
  }
}

/* v1.10.0 — leaderboards (point 14) */
.hts-board {
  margin: 14px 0
}

.hts-board-table td,
.hts-board-table th {
  text-align: center
}

.hts-board-table th:nth-child(2),
.hts-board-table td.hts-board-player {
  text-align: left
}

.hts-board-rank {
  font-weight: 800;
  color: var(--hts-text-dim);
  width: 44px
}

.hts-board-top {
  color: var(--hts-blue)
}

.hts-board-player {
  display: flex;
  align-items: center;
  gap: 10px
}

.hts-board-player .hts-leader-face {
  background: var(--hts-surface-2);
  padding: 3px;
  box-sizing: border-box
}

.hts-board-player .hts-leader-face i {
  background: var(--hts-blue);
  color: #04202a;
  border-color: var(--hts-surface)
}

.hts-board-player a {
  color: var(--hts-text);
  text-decoration: none;
  font-weight: 700
}

.hts-board-player a:hover {
  color: var(--hts-blue)
}

/* v1.10.0 — nominations top-10 (point 15) */
.hts-noms {
  margin: 14px 0
}

.hts-noms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

@media(max-width:900px) {
  .hts-noms-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:640px) {
  .hts-noms-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    margin-right: calc(50% - 50vw);
    padding-right: 16px;
  }

  .hts-noms-grid::-webkit-scrollbar {
    display: none
  }

  .hts-noms-grid.hts-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none
  }

  .hts-noms-grid .hts-nom {
    flex: 0 0 82%;
    scroll-snap-align: start
  }
}

.hts-nom {
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 16px;
  overflow: hidden
}

.hts-nom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 16px;
  background: var(--hts-surface-2);
  color: var(--hts-text);
  font-weight: 800;
  font-size: 14px
}

.hts-nom-head-l {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0
}

.hts-nom-head svg {
  width: 20px;
  height: 20px;
  flex: none
}

.hts-nom-all {
  flex: none;
  border: 0px solid rgba(255, 255, 255, .35);
  background: var(--hts-blue);
  color: var(--hts-text);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: filter .15s;
}

.hts-nom-all:hover {
  filter: brightness(1.15)
}

.hts-nom-pm {
  font-size: 18px;
  font-weight: 900
}

.hts-nom-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px;
  counter-reset: none
}

.hts-nom-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 9px
}

.hts-nom-row .hts-leader-face {
  background: var(--hts-surface-2);
  padding: 3px;
  box-sizing: border-box
}

.hts-nom-row .hts-leader-face i {
  background: var(--hts-blue);
  color: #04202a;
  border-color: var(--hts-surface)
}

.hts-nom-row+.hts-nom-row {
  border-top: 1px solid var(--hts-border-dark)
}

.hts-nom-row:hover {
  background: var(--hts-surface-2)
}

.hts-nom-first {
  background: rgba(59, 130, 246, .12)
}

.hts-nom-rank {
  flex: none;
  width: 22px;
  text-align: center;
  font-weight: 800;
  color: var(--hts-text-dim)
}

.hts-nom-first .hts-nom-rank {
  color: var(--hts-blue)
}

.hts-nom-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--hts-text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.hts-nom-name:hover {
  color: var(--hts-blue)
}

.hts-nom-val {
  flex: none;
  text-align: right
}

.hts-nom-val b {
  font-size: 16px;
  color: var(--hts-blue)
}

.hts-nom-val small {
  margin-left: 3px;
  color: var(--hts-text-dim);
  font-size: 11px
}

.hts-nom-line-name {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  color: var(--hts-text);
  display: flex;
  flex-direction: column
}

.hts-nom-line-name em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--hts-text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

/* v1.11.0 — admin arbitrary content on game/player pages (point 16) */
.hts-extra {
  margin: 22px 0
}

.hts-extra:empty {
  display: none
}

/* v1.12.0 — .ics export button (point 17) */
.hts-ics-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--hts-axe, #0b1f3a);
  color: #1a2332;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--hts-axe, #0b1f3a);
  transition: transform .15s, box-shadow .15s
}

.hts-ics-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 8, 23, .18);
  color: #fff
}

.hts-ics-btn svg,
.hts-ics-btn .hts-ic {
  width: 16px;
  height: 16px
}

/* v1.13.0 — player hero achievements: 4 + "ещё X" + modal (points 2,3) */
.hts-ach-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  cursor: pointer;
  padding: 4px;
  border-radius: 10px;
  transition: background-color .15s
}

.hts-ach-hero:hover {
  background: rgba(255, 255, 255, .12)
}

.hts-ach-hero .hts-ach-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  pointer-events: none
}

.hts-ach-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--hts-general, #e0b100);
  color: #0b1f3a;
  font-weight: 800;
  font-size: 13px
}

.hts-ach-modal[hidden] {
  display: none
}

.hts-ach-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.hts-ach-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, .62);
  backdrop-filter: blur(3px)
}

.hts-ach-modal-card {
  position: relative;
  background: var(--hts-surface);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  padding: 26px
}

.hts-ach-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: var(--hts-text-dim);
  cursor: pointer;
  transition: color .15s
}

.hts-ach-modal-close:hover {
  color: var(--hts-text)
}

.hts-ach-modal-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: var(--hts-text)
}

.hts-ach-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.hts-ach-modal-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  background: var(--hts-surface-2)
}

.hts-ach-modal-pic {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark)
}

.hts-ach-modal-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-ach-modal-pic span {
  font-weight: 900;
  font-size: 28px;
  color: var(--hts-text)
}

.hts-ach-modal-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0
}

.hts-ach-modal-info b {
  font-size: 16px;
  color: var(--hts-text)
}

.hts-ach-modal-desc {
  font-size: 14px;
  color: var(--hts-text-dim);
  line-height: 1.45
}

.hts-ach-modal-game {
  font-size: 12px;
  font-weight: 700;
  color: var(--hts-blue);
  background: rgba(59, 130, 246, .14);
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 7px
}

body.hts-modal-open {
  overflow: hidden
}

/* v1.13.0 — game hero alignment + empty state (point 4) */
.hts-game-hero-in .hts-gh-teams,
.hts-next-game .hts-gh-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px
}

.hts-game-hero-in .hts-gh-team,
.hts-next-game .hts-gh-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 0
}

.hts-game-hero-in .hts-gh-center,
.hts-next-game .hts-gh-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.hts-game-hero-in .hts-gh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px
}

.hts-gh-empty {
  justify-content: center;
  align-items: center
}

.hts-gh-nothing {
  color: rgba(255, 255, 255, .75);
  font-style: italic;
  font-weight: 600;
  font-size: 14px
}

@media(max-width:560px) {
  .hts-ach-modal-item {
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .hts-ach-modal-game {
    align-self: center
  }
}

/* v1.14.0 — nickname sub-line under player names + game photo album button (p.18) */
.hts-player-nick {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 1px;
  line-height: 1.2
}

.hts-lineup-name .hts-player-nick {
  width: 100%
}

.hts-gh-gallery {
  cursor: pointer;
  background: var(--hts-general, #e0b100) !important;
  color: #0b1f3a !important;
  font-weight: 800;
  border: 0 !important
}

.hts-gh-gallery:hover {
  filter: brightness(1.06)
}

.hts-gh-gallery .hts-ic {
  width: 16px;
  height: 16px
}

/* v1.15.0 — player name hover popover (nickname + motto) */
.hts-name-pop {
  position: absolute;
  z-index: 99998;
  width: 250px;
  max-width: 82vw;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  padding: 14px;
  pointer-events: none;
  animation: hts-pop-in .12s ease
}

.hts-name-pop[hidden] {
  display: none
}

@keyframes hts-pop-in {
  from {
    opacity: 0;
    transform: translateY(4px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hts-name-pop-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--hts-text);
  margin-bottom: 10px;
  line-height: 1.25
}

.hts-name-pop-body {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.hts-name-pop-av {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  display: flex;
  align-items: center;
  justify-content: center
}

.hts-name-pop-av img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-name-pop-av span {
  font-weight: 900;
  font-size: 22px;
  color: var(--hts-text)
}

.hts-name-pop-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0
}

.hts-name-pop-info div {
  display: flex;
  flex-direction: column;
  line-height: 1.3
}

.hts-name-pop-info em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hts-text-dim)
}

.hts-name-pop-info b {
  font-size: 13px;
  color: var(--hts-text);
  font-weight: 700
}

.hts-player-link[data-pop] {
  cursor: pointer;
  border-bottom: 1px dashed rgba(37, 99, 235, .4)
}

/* v1.16.0 — grouped achievements (×count, counter), roster achievements, popover cursor */
.hts-ach-x {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--hts-general, #e0b100);
  color: #0b1f3a;
  font-size: 10px;
  font-weight: 900;
  border-radius: 8px;
  padding: 0 4px;
  line-height: 1.5;
  border: 1.5px solid #fff
}

.hts-ach-count {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, .9);
  align-self: center;
  margin-left: 6px;
  background: rgba(255, 255, 255, .14);
  padding: 4px 10px;
  border-radius: 20px
}

.hts-ach-modal-count {
  color: var(--hts-blue);
  font-size: 15px
}

/* v1.13.0 — nominations grid: "Все" modal list */
.hts-nom-modal-desc {
  margin: -10px 0 16px;
  font-size: 13px;
  font-style: italic;
  color: var(--hts-text-dim);
  line-height: 1.4
}

.hts-nom-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column
}

.hts-nom-modal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-radius: 9px
}

.hts-nom-modal-row+.hts-nom-modal-row {
  border-top: 1px solid var(--hts-border-dark)
}

.hts-nom-modal-row:hover {
  background: var(--hts-surface-2)
}

.hts-nom-modal-row .hts-nom-rank {
  flex: none;
  width: 24px;
  text-align: center;
  font-weight: 800;
  color: var(--hts-text-dim)
}

.hts-nom-modal-row:first-child .hts-nom-rank {
  color: var(--hts-blue)
}

.hts-nom-modal-av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  font-weight: 800;
  font-size: 13px;
  color: var(--hts-text)
}

.hts-nom-modal-av img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-nom-modal-row .hts-nom-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--hts-text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.hts-nom-modal-row .hts-nom-name:hover {
  color: var(--hts-blue)
}

.hts-nom-modal-row .hts-nom-val {
  flex: none;
  text-align: right
}

.hts-nom-modal-row .hts-nom-val b {
  font-size: 15px;
  color: var(--hts-blue)
}

.hts-nom-modal-row .hts-nom-val small {
  margin-left: 3px;
  color: var(--hts-text-dim);
  font-size: 11px
}

.hts-roster-ach {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin: 8px 0 2px
}

.hts-ach-mini {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  border: 1px solid var(--hts-line, #e2e8f0)
}

.hts-ach-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-ach-mini .hts-ach-x {
  bottom: -3px;
  right: -3px
}

.hts-ach-mini-more {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  align-self: center
}

.hts-roster-nick {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  margin-top: -2px
}

[data-pop="1"] {
  cursor: help
}

/* v1.17.0 — overlapping achievement column, aligned hero achievements, achievement popover */
.hts-td-ach {
  text-align: center;
  vertical-align: middle
}

.hts-ach-stack {
  display: inline-flex;
  justify-content: center;
  align-items: center
}

.hts-ach-stack .hts-ach-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(2, 8, 23, .18);
  border-radius: 99px;
}

.hts-ach-stack .hts-ach-icon+.hts-ach-icon {
  margin-left: -12px
}

.hts-ach-stack .hts-ach-icon:hover {
  z-index: 3;
  transform: scale(1.15)
}

.hts-gh-hl-ach .hts-gh-hl-val {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start
}


.hts-gh-ach {
  display: flex;
  gap: 15px;
}

.hts-gh-ach .hts-ach-icon {
  width: 50px;
  height: 50px;
  padding: 5px;
  cursor: pointer
}

.hts-gh-ach-who {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: #fff
}

.hts-gh-ach-what {
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--hts-general, #e0b100);
  line-height: 1.25;
  text-align: left;
}

.hts-ach-pop {
  position: absolute;
  z-index: 99998;
  width: 240px;
  max-width: 82vw;
  background: var(--hts-surface);
  border: 1px solid var(--hts-border-dark);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  padding: 14px;
  pointer-events: none;
  animation: hts-pop-in .12s ease
}

.hts-ach-pop[hidden] {
  display: none
}

.hts-ach-pop-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px
}

.hts-ach-pop-pic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hts-surface-2);
  border: 1px solid var(--hts-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--hts-text)
}

.hts-ach-pop-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-ach-pop-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--hts-text)
}

.hts-ach-pop-desc {
  font-size: 13px;
  color: var(--hts-text-dim);
  line-height: 1.4
}

.hts-ach-pop-game {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hts-blue)
}

/* ==================== [team_summary] bento widget ==================== */
.hts-sum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hts-sum-row {
  display: contents;
}

.hts-sum-card {
  background: var(--hts-surface, #1a2332);
  border: 1px solid var(--hts-border-dark, #2c3849);
  border-radius: 20px;
  padding: 20px;
  color: var(--hts-text, #eaf3ff);
  display: flex;
  flex-direction: column;
}

.hts-sum-player {
  grid-column: span 1
}

.hts-sum-last {
  grid-column: span 2
}

.hts-sum-next {
  grid-column: span 1
}

.hts-sum-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
  min-height: 18px;
}

.hts-sum-top b {
  font-weight: 800;
  font-size: 33px;
  color: var(--hts-text, #eaf3ff);
}

.hts-sum-shuffle {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .07);
  color: var(--hts-text-dim, #93a2b8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.hts-sum-shuffle:hover {
  background: var(--hts-blue, #3b82f6);
  color: #fff;
}

.hts-sum-shuffle.is-spinning svg {
  animation: htsSumSpin .6s linear infinite;
}

@keyframes htsSumSpin {
  to {
    transform: rotate(360deg)
  }
}

.hts-sum-player-body {
  transition: opacity .15s ease;
}

.hts-sum-gauge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.hts-sum-name-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.hts-sum-av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--hts-surface-2, #212c3d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--hts-text, #eaf3ff);
}

.hts-sum-av img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hts-sum-name {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
}

.hts-sum-name a {
  color: var(--hts-text, #eaf3ff);
  text-decoration: none;
}

.hts-sum-name a:hover {
  color: var(--hts-blue, #3b82f6);
  text-decoration: underline;
}

.hts-sum-sub {
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
  margin-top: 2px;
}

.hts-sum-periods {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--hts-text-dim, #93a2b8);
  margin: 5px 0 2px;
}

.hts-sum-last .hts-spark {
  height: 60px;
  margin-top: 4px
}

.hts-sum-last-mid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.hts-sum-vs {
  font-size: 13px;
  color: var(--hts-text-dim, #93a2b8);
}

.hts-sum-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
}

.hts-sum-link {
  color: var(--hts-blue, #3b82f6);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.hts-sum-next {
  background: var(--hts-blue, #3b82f6);
  color: #241b08;
  border: none;
  position: relative;
  overflow: hidden;
}

.hts-sum-badge {
  display: inline-block;
  background: var(--hts-surface, #1a2332);
  color: var(--hts-text, #eaf3ff);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 8px;
  width: fit-content;
}

.hts-sum-next h4 {
  font-weight: 800;
  font-size: 23px;
  line-height: 1.2;
  margin: 12px 0 6px;
  color: var(--hts-surface, #1a2332);
}

.hts-sum-next h4 span {
  display: block;
}

.hts-sum-next p {
  font-size: 12px;
  color: #fff;
  margin: 0 0 16px;
}

.hts-sum-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hts-surface, #1a2332);
  color: #f4ecdb;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  width: fit-content;
  margin-top: auto;
}

.hts-sum-big {
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  margin: 18px 0 2px;
}

.hts-sum-lbl {
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
}

.hts-sum-count-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.hts-sum-ring-wrap {
  flex: none;
  display: flex;
  align-items: center;
}

.hts-sum-count-row {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 0;
}

.hts-sum-count-row b {
  display: block;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.hts-sum-count-row span {
  display: block;
  font-size: 11px;
  color: var(--hts-text-dim, #93a2b8);
  margin-top: 4px;
}

@media(max-width:900px) {
  .hts-sum-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hts-sum-last {
    grid-column: span 2
  }
}

@media(max-width:560px) {
  .hts-sum-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hts-sum-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: calc(50% - 50vw);
    padding-right: 22px;
  }

  .hts-sum-row::-webkit-scrollbar {
    display: none
  }

  .hts-sum-row.hts-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none
  }

  .hts-sum-row .hts-sum-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .hts-sum-row-2 .hts-sum-card {
    flex-basis: 68%;
  }
}

/* ==================== "Кто победит?" voting widget ==================== */
.hts-hero-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 15px;
}

.hts-hero-main {
  flex: 1 1 75%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hts-hero-main>.hts-next-game,
.hts-hero-main>.hts-game-hero {
  flex: 1;
}

.hts-hero-row .hts-vote {
  flex: 0 0 25%;
  max-width: 25%;
  margin: 0;
}

.hts-hero-row-solo {
  gap: 0;
}

.hts-hero-row-solo .hts-hero-main {
  flex-basis: 100%;
}

@media(max-width:900px) {
  .hts-hero-row {
    flex-direction: column;
  }

  .hts-hero-row .hts-vote {
    flex-basis: auto;
    max-width: none;
  }
}

.hts-vote {
  background: #232f43;
  border: 1px solid var(--hts-border-dark, #2c3849);
  border-radius: 20px;
  padding: 16px;
  margin: 14px 0;
  color: var(--hts-text, #eaf3ff);
  position: relative;
  transition: opacity .15s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hts-vote::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -140px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgb(172 172 172 / 25%), transparent 70%);
}

.hts-vote-banner .hts-vote::after {
  display: none;
}

.hts-vote.is-loading {
  opacity: .6;
  pointer-events: none;
}

.hts-vote-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.hts-vote-head {
  font-weight: 800;
  font-size: 20px;
}

.hts-vote-coef {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}

.hts-vote-coef span {
  background: rgba(255, 255, 255, .08);
  border-radius: 7px;
  padding: 3px 7px;
}

.hts-vote-coef-own {
  color: var(--hts-general, #4fd1ff);
}

.hts-vote-coef-opp {
  color: #82b541;
}

.hts-vote-coef-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.hts-vote-coef-block {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hts-border-dark, #2c3849);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.hts-vote-coef-block b {
  display: block;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.hts-vote-coef-block-own b {
  color: var(--hts-general, #4fd1ff);
}

.hts-vote-coef-block-opp b {
  color: #82b541;
}

.hts-vote-coef-block span {
  display: block;
  font-size: 11px;
  color: var(--hts-text-dim, #93a2b8);
  margin-top: 5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hts-vote-explain {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--hts-border-dark, #2c3849);
  font-size: 11px;
  line-height: 1.5;
  color: var(--hts-text-dim, #93a2b8);
}

.hts-vote-chart-wrap {
  width: 100%;
}

.hts-vote-chart {
  display: block;
  width: 100%;
  height: 60px;
}

.hts-vote-chart-empty {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hts-text-dim, #93a2b8);
  font-size: 13px;
  border: 1px dashed var(--hts-border-dark, #2c3849);
  border-radius: 12px;
}

.hts-vote-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 18px;
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
}

.hts-vote-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hts-vote-legend b {
  color: var(--hts-text, #eaf3ff);
  font-weight: 800;
}

.hts-vote-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.hts-vote-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hts-vote-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 2px solid var(--hts-border-dark, #2c3849);
  background: var(--hts-surface-2, #212c3d);
  color: var(--hts-text, #eaf3ff);
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s, background-color .15s, transform .1s;
  font-family: inherit;
  text-align: left;
  min-width: 0;
}

.hts-vote-btn:hover:not(:disabled) {
  border-color: var(--vote-color, var(--hts-blue, #3b82f6));
  box-shadow: 0 0 12px color-mix(in srgb, var(--vote-color, #3b82f6) 50%, transparent);
  transform: translateY(-1px);
}

.hts-vote-btn.is-selected {
  background: var(--vote-color, var(--hts-blue, #3b82f6));
  border-color: var(--vote-color, var(--hts-blue, #3b82f6));
  color: #04121a;
}

.hts-vote-btn:disabled {
  cursor: not-allowed;
}

.hts-vote-btn.is-disabled:not(.is-selected) {
  opacity: .5;
}

.hts-vote-btn-logo {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--hts-surface, #1a2332);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.hts-vote-btn-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hts-vote-btn-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  color: var(--hts-text-dim, #93a2b8);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  line-height: 14px;
}

.hts-vote-btn-txt b {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--hts-text, #eaf3ff);
}

.hts-vote-btn.is-selected .hts-vote-btn-txt,
.hts-vote-btn.is-selected .hts-vote-btn-txt b {
  color: #04121a;
}

.hts-vote-total {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--hts-text-dim, #93a2b8);
  text-align: center;
}

.hts-vote-total-top {
  margin: 0 0 10px;
  text-align: left;
}

.hts-vote-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.hts-vote-result-row b {
  font-weight: 800;
}

.hts-vote-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 12px;
}

.hts-vote-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
}

@media(max-width:560px) {
  .hts-vote-btns {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================== floating "Кто победит?" banner ==================== */
.hts-vote-tab {
  display: flex;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  background: var(--hts-general, #4fd1ff);
  border: none;
  border-radius: 14px 0 0 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: -4px 0 14px rgba(0, 0, 0, .3);
}

.hts-vote-banner {
  position: fixed;
  z-index: 10000;
  background: var(--hts-surface, #1a2332);
  border: 1px solid var(--hts-border-dark, #2c3849);
  border-radius: 20px;
  padding: 20px;
  color: var(--hts-text, #eaf3ff);
  overflow: auto;
}

.hts-vote-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hts-vote-banner-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--hts-text-dim, #93a2b8);
  margin-bottom: 10px;
  padding-right: 24px;
}

/* The inner .hts-vote already has its own card chrome (for when it sits inline in
   hts-hero-row) — inside the banner that would double up with the banner's own card,
   so it's flattened here to just blend into the banner instead. */
.hts-vote-banner .hts-vote {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  height: auto;
  box-shadow: none;
}

/* Desktop: bottom-right popup, capped 400×600, fades/slides in */
@media(min-width:783px) {
  .hts-vote-banner {
    right: 24px;
    bottom: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 600px;
    opacity: 0;
    transform: translateY(16px) scale(.97);
    transition: opacity .3s ease, transform .3s ease;
  }

  .hts-vote-banner.is-open {
    opacity: 1;
    transform: none;
  }
}

/* Mobile: slide-out panel anchored to the right edge, plus the always-visible tab */
@media(max-width:782px) {
  .hts-vote-banner {
    top: 0;
    right: 0;
    height: 100%;
    width: 86%;
    max-width: 400px;
    max-height: none;
    border-radius: 20px 0 0 20px;
    border-right: none;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .4);
  }

  .hts-vote-banner.is-open {
    transform: translateX(0);
  }
}
/* =====================================================================
   v1.82 — Best player of the match: scoreboard badge + celebration popup
   ===================================================================== */
.hts-gh-mvp {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 18px 6px 6px;
  background: linear-gradient(135deg, rgba(255, 213, 74, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 213, 74, .45); border-radius: 999px; color: #fff; cursor: pointer;
  font: inherit; text-align: left; box-shadow: 0 8px 24px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hts-gh-mvp:hover, .hts-gh-mvp:focus-visible { transform: translateY(-2px); border-color: #ffd54a; box-shadow: 0 12px 30px rgba(0, 0, 0, .32), 0 0 0 4px rgba(255, 213, 74, .15); outline: none; }
.hts-gh-mvp-ava {
  position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 210deg, #fff3b0, #ffd54a, #f59e0b, #ffd54a, #fff3b0);
  box-shadow: 0 0 0 3px rgba(255, 213, 74, .18), 0 6px 18px rgba(245, 158, 11, .35);
}
.hts-gh-mvp-ava img, .hts-gh-mvp-ava b {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: center top; background: radial-gradient(circle at 50% 35%, #2b4a7a, #0b1f3a);
  color: #ffd54a; font-size: 22px; font-weight: 900;
}
.hts-gh-mvp-ava .hts-crown {
  position: absolute; left: 50%; top: -15px; width: 26px; height: 26px; transform: translateX(-50%) rotate(-8deg);
  fill: #ffd54a; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); z-index: 2; animation: hts-crown-bob 2.6s ease-in-out infinite;
}
.hts-gh-mvp-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.hts-gh-mvp-txt small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd54a; }
.hts-gh-mvp-txt b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; margin-top: 3px; }
@keyframes hts-crown-bob { 0%, 100% { transform: translateX(-50%) rotate(-8deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-4deg) translateY(-3px); } }

/* ---------- Popup ---------- */
html.hts-mvp-lock, html.hts-mvp-lock body { overflow: hidden; }
.hts-mvp {
  position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 250px 16px 24px;
  background: radial-gradient(ellipse at 50% 38%, rgba(37, 70, 140, .62), rgba(3, 8, 23, .94) 68%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s ease; overflow-y: auto; font-family: inherit; color: #fff;
}
.hts-mvp[hidden] { display: none; }
.hts-mvp.is-open { opacity: 1; }
.hts-mvp-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hts-mvp-card {
  position: relative; z-index: 1; width: min(440px, 100%); margin: auto; padding: 0 26px 26px; text-align: center;
  background: linear-gradient(180deg, rgba(30, 48, 84, .9), rgba(12, 22, 42, .94));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 213, 74, .28); border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(30px) scale(.9); opacity: 0;
  transition: transform .6s cubic-bezier(.2, 1.4, .4, 1), opacity .4s ease;
}
.hts-mvp.is-open .hts-mvp-card { transform: none; opacity: 1; }
.hts-mvp-x {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px;
  transition: background-color .2s, transform .2s;
}
.hts-mvp-x:hover, .hts-mvp-x:focus-visible { background: rgba(255, 255, 255, .2); transform: rotate(90deg); outline: none; }

.hts-mvp-stage { position: relative; height: 230px; margin: -120px -26px 0; pointer-events: none; }
.hts-mvp-rays {
  position: absolute; left: 50%; bottom: 10px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 213, 74, .22) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: hts-rays 22s linear infinite; opacity: 0; transition: opacity .8s ease .3s;
}
.hts-mvp.is-open .hts-mvp-rays { opacity: 1; }
.hts-mvp-glow { position: absolute; left: 50%; bottom: 20px; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 74, .55), rgba(245, 158, 11, .18) 45%, transparent 70%); filter: blur(6px); }
.hts-mvp-figure {
  position: absolute; left: 50%; bottom: 0; display: inline-block; transform: translateX(-50%) translateY(40px) scale(.6); opacity: 0;
  transition: transform .9s cubic-bezier(.18, 1.5, .4, 1) .15s, opacity .5s ease .15s;
}
.hts-mvp.is-open .hts-mvp-figure { transform: translateX(-50%); opacity: 1; }
.hts-mvp-photo {
  display: block; max-width: 290px; max-height: 290px; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(255, 213, 74, .35));
}
.hts-mvp-photo-ph {
  width: 210px; height: 210px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd54a 40%, #f59e0b); color: #0b1f3a; font-size: 96px; font-weight: 900;
  box-shadow: 0 0 0 6px rgba(255, 213, 74, .25), 0 20px 50px rgba(0, 0, 0, .5);
}
.hts-mvp-crown {
  position: absolute; left: 50%; top: -48px; width: 84px; height: 84px; margin-left: -42px; z-index: 2;
  transform: translateY(-80px) rotate(-20deg); opacity: 0;
  transition: transform .8s cubic-bezier(.2, 1.6, .4, 1) .75s, opacity .3s ease .75s;
}
.hts-mvp.is-open .hts-mvp-crown { transform: rotate(-6deg); opacity: 1; }
.hts-mvp-crown .hts-crown { width: 100%; height: 100%; fill: #ffd54a; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)) drop-shadow(0 0 14px rgba(255, 213, 74, .7)); }
.hts-mvp-num {
  position: absolute; right: -6px; bottom: 18px; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: #0b1f3a;
  background: linear-gradient(135deg, #fff3b0, #ffd54a 50%, #f59e0b); box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
  transform: rotate(6deg);
}
.hts-mvp-ribbon { position: relative; display: inline-block; margin: 14px 0 10px; }
.hts-mvp-ribbon span {
  position: relative; display: inline-block; overflow: hidden; padding: 8px 18px; border-radius: 999px;
  font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #3b2600;
  background: linear-gradient(135deg, #fff3b0, #ffd54a 45%, #f5a90b); box-shadow: 0 6px 18px rgba(245, 158, 11, .45);
}
.hts-mvp-ribbon span::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: hts-shine 2.8s ease-in-out 1.2s infinite; }
.hts-mvp-name { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 900; letter-spacing: -.01em; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.hts-mvp-meta { margin-top: 8px; font-size: 14px; color: rgba(234, 243, 255, .72); font-weight: 600; }
.hts-mvp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.hts-mvp-stats div { padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.hts-mvp-stats b { display: block; font-size: 28px; line-height: 1; font-weight: 900; color: #ffd54a; }
.hts-mvp-stats small { display: block; margin-top: 6px; font-size: 12px; color: rgba(234, 243, 255, .7); font-weight: 600; }
.hts-mvp-match { margin-top: 18px; font-size: 13.5px; color: rgba(234, 243, 255, .75); line-height: 1.5; }
.hts-mvp-match b { color: #fff; font-weight: 900; margin: 0 4px; }
.hts-mvp-match span { display: block; font-size: 12px; opacity: .8; }
.hts-mvp-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.hts-mvp-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; color: #3b2600; text-decoration: none;
  background: linear-gradient(135deg, #fff3b0, #ffd54a 45%, #f5a90b); box-shadow: 0 10px 26px rgba(245, 158, 11, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hts-mvp-btn:hover, .hts-mvp-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 158, 11, .5); color: #3b2600; outline: none; }
.hts-mvp-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.hts-mvp-btn-ghost:hover, .hts-mvp-btn-ghost:focus-visible { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: none; }
@keyframes hts-rays { to { transform: rotate(360deg); } }
@keyframes hts-shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }

@media (max-height: 700px) and (min-width: 481px) {
  .hts-mvp { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hts-mvp { padding-top: 225px; }
  .hts-mvp-card { padding: 0 18px 22px; border-radius: 24px; }
  .hts-mvp-stage { height: 190px; margin: -100px -18px 0; }
  .hts-mvp-photo { max-width: 230px; max-height: 250px; }
  .hts-mvp-photo-ph { width: 170px; height: 170px; font-size: 76px; }
  .hts-mvp-crown { width: 68px; height: 68px; margin-left: -34px; top: -38px; }
  .hts-mvp-actions { flex-wrap: nowrap; }
  .hts-mvp-btn { flex: 1; padding: 0 14px; font-size: 14px; }
  .hts-mvp-name { font-size: 26px; }
  .hts-mvp-stats b { font-size: 24px; }
  .hts-gh-mvp-txt b { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .hts-mvp, .hts-mvp-card, .hts-mvp-figure, .hts-mvp-crown, .hts-mvp-rays { transition: none !important; }
  .hts-mvp-rays, .hts-mvp-ribbon span::after, .hts-gh-mvp-ava .hts-crown { animation: none !important; }
}

/* =====================================================================
   v1.83 — Match protocol (/game/{id}/?protocol=1) + hero button
   ===================================================================== */
.hts-gh2-foot-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hts-gh2-foot-btn-alt {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.hts-gh2-foot-btn-alt:hover, .hts-gh2-foot-btn-alt:focus-visible { color: #fff; background: rgba(255, 255, 255, .18); }
.hts-proto-ic { width: 16px; height: 16px; flex: none; }
@media (max-width: 640px) { .hts-gh2-foot-btns { justify-content: stretch; } .hts-gh2-foot-btns > * { flex: 1 1 auto; justify-content: center; text-align: center; } }

.hts-proto { max-width: 920px; margin: 24px auto 48px; padding: 0 16px; color: #0f172a; font-family: inherit; }
.hts-proto-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hts-proto-back { font-size: 14px; font-weight: 700; color: inherit; opacity: .75; text-decoration: none; }
.hts-proto-back:hover { opacity: 1; }
.hts-wrap .hts-proto-back { color: var(--hts-text, #eaf3ff); }
.hts-proto-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hts-proto-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; color: #04202a; background: var(--hts-axe, #4fd1ff);
  transition: transform .15s, box-shadow .15s;
}
.hts-proto-btn:hover, .hts-proto-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(2, 8, 23, .25); color: #04202a; outline: none; }
.hts-proto-btn-ghost { background: rgba(255, 255, 255, .1); color: var(--hts-text, #eaf3ff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.hts-proto-btn-ghost:hover { color: var(--hts-text, #eaf3ff); }

.hts-proto-head, .hts-proto-sec { background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(2, 8, 23, .18); }
.hts-proto-head { padding: 26px 28px 22px; text-align: center; background: linear-gradient(135deg, var(--hts-primary, #0b1f3a), #13305a); color: #fff; }
.hts-proto-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--hts-axe, #4fd1ff); }
.hts-proto-title { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px 0 0; font-size: 24px; line-height: 1.2; font-weight: 900; color: #fff; flex-wrap: wrap; }
.hts-proto-title b { font-size: 34px; padding: 4px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hts-proto-meta { margin-top: 12px; font-size: 14px; opacity: .8; }
.hts-proto-meta i { font-style: normal; margin: 0 8px; opacity: .6; }
.hts-proto-star { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 213, 74, .14); color: #ffd54a; font-size: 13px; font-weight: 700; }
.hts-proto-star b { color: #fff; }
.hts-proto-star .hts-crown { width: 16px; height: 16px; fill: #ffd54a; }

.hts-proto-sec { margin-top: 16px; padding: 6px 0 4px; overflow: hidden; }
.hts-proto-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 22px 10px; font-size: 16px; font-weight: 900; color: #0f172a; text-transform: none; }
.hts-proto-sec h2 small { font-size: 12px; font-weight: 700; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 2px 9px; }
.hts-proto-scroll { overflow-x: auto; }
.hts-proto-table { width: 100%; border-collapse: collapse; font-size: 15px; color: #0f172a; background: #fff; margin: 0; }
.hts-proto-table th, .hts-proto-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid #eef1f6; text-align: left; vertical-align: middle; background: transparent; color: #0f172a; }
.hts-proto-table thead th { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748b; background: #f8fafc; border-bottom: 1px solid #e5e8ef; white-space: nowrap; user-select: none; }
.hts-proto-table th:first-child, .hts-proto-table td:first-child { padding-left: 22px; width: 56px; }
.hts-proto-table th:last-child, .hts-proto-table td:last-child { padding-right: 22px; }
.hts-proto-table .is-num { text-align: center; width: 76px; font-variant-numeric: tabular-nums; }
.hts-proto-table th:first-child.is-num, .hts-proto-table td:first-child.is-num { text-align: left; }
.hts-proto-table td.is-zero { color: #b6c0ce; }
.hts-proto-table td.is-strong { font-weight: 900; }
.hts-proto-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.hts-proto-table tbody tr:hover td { background: #f1f6ff; }
.hts-proto-table tbody tr.is-star td { background: #fffbea; }
.hts-proto-table td.is-name { font-weight: 700; }
.hts-proto-table td.is-name a { color: #0f172a; text-decoration: none; }
.hts-proto-table td.is-name a:hover { color: #2563eb; text-decoration: underline; }
.hts-proto-table tfoot td { font-weight: 900; background: #f8fafc; border-bottom: 0; border-top: 2px solid #e5e8ef; }
.hts-proto-no { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; padding: 0 6px; border-radius: 8px; background: #f1f5f9; font-weight: 800; font-size: 13px; color: #334155; }
.hts-proto-role { font-style: normal; font-size: 11px; font-weight: 800; color: #b45309; background: #fef3c7; border-radius: 5px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.hts-proto-crown .hts-crown { width: 15px; height: 15px; fill: #f59e0b; vertical-align: -2px; margin-left: 2px; }
.hts-proto-table[data-sortable] th[data-sort] { cursor: pointer; }
.hts-proto-table[data-sortable] th[data-sort]:hover { color: #0f172a; }
.hts-proto-table th[data-sort]::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: 2px; border: 4px solid transparent; opacity: 0; }
.hts-proto-table th.is-sorted::after { opacity: 1; border-top-color: currentColor; border-bottom: 0; }
.hts-proto-table th.is-sorted.is-asc::after { border-top: 0; border-bottom: 4px solid currentColor; }
.hts-proto-table th.is-sorted { color: #2563eb; }
.hts-proto-table .hts-s { display: none; }
.hts-proto-legend { display: none; margin: 14px 4px 0; font-size: 12.5px; opacity: .7; text-align: center; line-height: 1.5; }
.hts-proto-note { margin: 14px 4px 0; font-size: 13px; opacity: .65; text-align: center; }
@media (max-width: 560px) {
  .hts-proto-head { padding: 20px 16px; }
  .hts-proto-title { font-size: 18px; gap: 10px; }
  .hts-proto-title b { font-size: 26px; }
  .hts-proto { padding: 0 10px; }
  .hts-proto-star { display: inline-block; line-height: 1.5; border-radius: 14px; }
  .hts-proto-sec h2 { padding: 12px 14px 8px; }
  .hts-proto-table { font-size: 14px; }
  .hts-proto-table th, .hts-proto-table td { padding: 9px 4px; }
  .hts-proto-table thead th { font-size: 11px; letter-spacing: 0; }
  .hts-proto-table .hts-l { display: none; }
  .hts-proto-table .hts-s { display: inline; }
  .hts-proto-legend { display: block; }
  .hts-proto-table .is-num { width: 34px; }
  .hts-proto-table th:first-child, .hts-proto-table td:first-child { padding-left: 10px; width: 40px; }
  .hts-proto-table th:last-child, .hts-proto-table td:last-child { padding-right: 10px; }
  .hts-proto-table td.is-name { font-size: 13.5px; line-height: 1.3; }
  .hts-proto-no { min-width: 28px; height: 26px; font-size: 12px; }
  .hts-proto-table th[data-sort]::after { margin-left: 2px; }
}
@media print {
  body * { visibility: hidden; }
  .hts-proto, .hts-proto * { visibility: visible; }
  .hts-proto { position: absolute; left: 0; top: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
  .hts-proto-bar, .hts-proto-note, .hts-proto-legend { display: none; }
  .hts-proto-head { background: #fff !important; color: #000 !important; box-shadow: none; border-bottom: 2px solid #000; border-radius: 0; }
  .hts-proto-title, .hts-proto-title b { color: #000 !important; background: none !important; }
  .hts-proto-kicker, .hts-proto-star, .hts-proto-star b { color: #000 !important; background: none !important; }
  .hts-proto-sec { box-shadow: none; border-radius: 0; }
  .hts-proto-table tbody tr td { background: #fff !important; }
}

/* v1.84 — editorial pick (no "Звезда матча" chosen): silver-blue instead of gold */
.hts-gh-mvp.is-editorial { background: linear-gradient(135deg, rgba(79, 209, 255, .16), rgba(255, 255, 255, .06)); border-color: rgba(79, 209, 255, .45); }
.hts-gh-mvp.is-editorial:hover, .hts-gh-mvp.is-editorial:focus-visible { border-color: #4fd1ff; box-shadow: 0 12px 30px rgba(0, 0, 0, .32), 0 0 0 4px rgba(79, 209, 255, .15); }
.hts-gh-mvp.is-editorial .hts-gh-mvp-ava { background: conic-gradient(from 210deg, #e0f2fe, #4fd1ff, #2563eb, #4fd1ff, #e0f2fe); box-shadow: 0 0 0 3px rgba(79, 209, 255, .18), 0 6px 18px rgba(37, 99, 235, .35); }
.hts-gh-mvp.is-editorial .hts-gh-mvp-txt small { color: #4fd1ff; }
.hts-gh-mvp.is-editorial .hts-gh-mvp-ava .hts-crown { fill: #e0f2fe; }
.hts-mvp.is-editorial .hts-mvp-ribbon span { color: #04202a; background: linear-gradient(135deg, #e0f2fe, #7dd3fc 45%, #38bdf8); box-shadow: 0 6px 18px rgba(56, 189, 248, .4); }
.hts-mvp.is-editorial .hts-mvp-glow { background: radial-gradient(circle, rgba(125, 211, 252, .5), rgba(37, 99, 235, .18) 45%, transparent 70%); }
.hts-mvp.is-editorial .hts-mvp-rays { background: repeating-conic-gradient(from 0deg, rgba(125, 211, 252, .2) 0deg 7deg, transparent 7deg 18deg); }
.hts-mvp.is-editorial .hts-mvp-crown .hts-crown { fill: #e0f2fe; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)) drop-shadow(0 0 14px rgba(125, 211, 252, .7)); }
.hts-mvp.is-editorial .hts-mvp-num, .hts-mvp.is-editorial .hts-mvp-btn:not(.hts-mvp-btn-ghost) { color: #04202a; background: linear-gradient(135deg, #e0f2fe, #7dd3fc 50%, #38bdf8); }
.hts-mvp.is-editorial .hts-mvp-stats b { color: #7dd3fc; }
.hts-mvp.is-editorial .hts-mvp-card { border-color: rgba(125, 211, 252, .3); }
.hts-mvp.is-editorial .hts-mvp-btn:not(.hts-mvp-btn-ghost) { box-shadow: 0 10px 26px rgba(56, 189, 248, .4); }
.hts-mvp.is-editorial .hts-mvp-btn:not(.hts-mvp-btn-ghost):hover { box-shadow: 0 14px 32px rgba(56, 189, 248, .5); color: #04202a; }
