/* TITAN Sprint 13 — Home Performance Hub 3.0
   Entire file is scoped under .hp13. */

.hp13 {
  --hp13-surface: rgba(13, 19, 35, .82);
  --hp13-surface-solid: #0d1323;
  --hp13-line: rgba(132, 158, 211, .12);
  --hp13-line-strong: rgba(107, 151, 242, .28);
  --hp13-blue: #4e8fff;
  --hp13-cyan: #64dff2;
  --hp13-green: #4ade80;
  --hp13-gold: #f7c948;
  --hp13-red: #fb7185;

  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 0 0 34px;
}

.hp13::before {
  position: absolute;
  inset: -78px 50% auto;
  width: min(1080px, 90vw);
  height: 470px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(45, 107, 235, .13), transparent 68%);
  filter: blur(10px);
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.hp13-hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
  overflow: hidden;
  padding: clamp(46px, 7vw, 78px) clamp(28px, 5vw, 62px);
  border: 1px solid var(--hp13-line);
  border-radius: 26px;
  background:
    linear-gradient(118deg, rgba(9, 14, 28, .98), rgba(8, 12, 24, .86)),
    #080c18;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.hp13-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(91,128,200,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,128,200,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
  content: "";
}

.hp13-hero::after {
  position: absolute;
  right: -230px;
  bottom: -320px;
  z-index: -2;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(82,139,255,.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(82,139,255,.025),
    0 0 0 180px rgba(82,139,255,.018);
  content: "";
}

.hp13-hero__ambient {
  position: absolute;
  inset: auto auto -40% -12%;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,111,255,.12), transparent 67%);
  pointer-events: none;
}

.hp13-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hp13-kicker {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(83, 139, 255, .20);
  border-radius: 999px;
  background: rgba(50, 99, 199, .075);
  color: #a9b7d5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hp13-kicker i {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.10);
  color: var(--hp13-cyan);
  font-style: normal;
}

.hp13-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp13-green);
  box-shadow: 0 0 13px rgba(74,222,128,.65);
}

.hp13-live-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(74,222,128,.35);
  border-radius: 50%;
  content: "";
  animation: hp13Pulse 1.8s ease-out infinite;
}

@keyframes hp13Pulse {
  0% { opacity: 1; transform: scale(.65); }
  100% { opacity: 0; transform: scale(1.55); }
}

.hp13-hero h1 {
  max-width: 720px;
  margin-top: 24px;
  color: #f5f7ff;
  font-size: clamp(56px, 6.3vw, 86px);
  font-weight: 950;
  letter-spacing: -.072em;
  line-height: .92;
}

.hp13-hero h1 span {
  display: block;
  background: linear-gradient(105deg, #4f8eff 5%, #67e8f9 52%, #9dc6ff 95%);
  background-clip: text;
  color: transparent;
}

.hp13-hero__copy > p {
  max-width: 620px;
  margin-top: 24px;
  color: #8d9ab7;
  font-size: 14px;
  line-height: 1.75;
}

.hp13-search {
  max-width: 690px;
  min-height: 60px;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 7px 7px 7px 15px;
  border: 1px solid rgba(112,145,211,.20);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), transparent),
    rgba(8, 13, 26, .84);
  box-shadow:
    0 18px 48px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.02);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hp13-search:focus-within {
  border-color: rgba(78,143,255,.50);
  box-shadow:
    0 20px 55px rgba(10,55,139,.18),
    0 0 0 3px rgba(78,143,255,.07);
}

.hp13-search__icon {
  width: 20px;
  height: 20px;
  color: #60708e;
}

.hp13-search__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.hp13-search input {
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: #eef3ff;
  font-size: 12px;
}

.hp13-search input::placeholder {
  color: #56637e;
}

.hp13-search kbd {
  min-width: 42px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.075);
  border-bottom-color: rgba(255,255,255,.14);
  border-radius: 7px;
  background: rgba(0,0,0,.24);
  color: #56637e;
  font-size: 7px;
  font-weight: 900;
}

.hp13-search button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(115,167,255,.25);
  border-radius: 10px;
  background: linear-gradient(135deg, #4388fb, #2d69d4);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(39,102,220,.26);
  transition: filter .18s ease, transform .18s ease;
}

.hp13-search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hp13-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.hp13-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.hp13-btn:hover {
  transform: translateY(-1px);
}

.hp13-btn i {
  font-style: normal;
}

.hp13-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hp13-btn--primary {
  border-color: rgba(120,169,255,.25);
  background: linear-gradient(135deg, #4389fb, #2e67cd);
  box-shadow: 0 13px 30px rgba(36,96,210,.23);
}

.hp13-btn--steam {
  border-color: rgba(107,177,255,.27);
  background: linear-gradient(135deg, #2469b7, #173f6b);
  box-shadow: 0 13px 30px rgba(13,68,130,.25);
}

.hp13-btn--secondary {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
  color: #a8b3ca;
}

.hp13-btn--secondary:hover {
  border-color: rgba(90,140,245,.30);
  background: rgba(70,110,195,.08);
  color: #fff;
}

.hp13-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: #64718d;
  font-size: 9px;
  font-weight: 750;
}

.hp13-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp13-trust i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(74,222,128,.18);
  border-radius: 50%;
  background: rgba(74,222,128,.06);
  color: var(--hp13-green);
  font-size: 8px;
  font-style: normal;
}

/* Product cockpit */
.hp13-cockpit {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(110,143,208,.24);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 38%),
    rgba(13,19,35,.89);
  box-shadow:
    0 36px 90px rgba(0,0,0,.39),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform .18s ease;
}

.hp13-cockpit::before {
  position: absolute;
  inset: 12% -45% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,151,255,.42), transparent);
  content: "";
  pointer-events: none;
}

.hp13-cockpit__top,
.hp13-cockpit__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp13-cockpit__top {
  min-height: 37px;
  padding: 0 4px 9px;
  color: #65738f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hp13-cockpit__top > span,
.hp13-cockpit__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hp13-cockpit__top i,
.hp13-cockpit__footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp13-green);
  box-shadow: 0 0 10px rgba(74,222,128,.6);
}

.hp13-match-preview {
  position: relative;
  isolation: isolate;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: #080d18;
}

.hp13-match-preview__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,8,16,.12), rgba(5,8,16,.88)),
    var(--hp13-map) center / cover no-repeat,
    var(--hp13-map-icon) center / 104px auto no-repeat,
    radial-gradient(circle at 50% 45%, rgba(78,143,255,.13), transparent 42%);
  transform: scale(1.03);
}

.hp13-match-preview::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 73% 18%, rgba(80,145,255,.13), transparent 38%),
    linear-gradient(90deg, rgba(5,8,16,.76), rgba(5,8,16,.18));
  content: "";
}

.hp13-match-preview__content {
  height: 100%;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.hp13-match-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp13-match-preview__head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(5,8,16,.50);
  color: #d8e2f7;
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.hp13-match-preview__head img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hp13-match-preview__head small {
  color: rgba(225,232,247,.62);
  font-size: 8px;
  font-weight: 750;
}

.hp13-match-preview__score {
  min-height: 126px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(5,8,16,.47);
  backdrop-filter: blur(10px);
  transition: border-color .18s ease, background .18s ease;
}

.hp13-match-preview__score:hover {
  border-color: rgba(88,145,255,.33);
  background: rgba(10,17,33,.65);
}

.hp13-match-preview__score > div {
  display: grid;
  gap: 4px;
}

.hp13-match-preview__score small {
  color: #6e7c98;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hp13-match-preview__score strong {
  color: #fff;
  font-size: 47px;
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: 1;
}

.hp13-match-preview__score strong.is-empty {
  color: #8290aa;
}

.hp13-match-preview__score strong i {
  padding-inline: 8px;
  color: rgba(255,255,255,.27);
  font-style: normal;
}

.hp13-match-preview__score span {
  color: #91a0bb;
  font-size: 9px;
}

.hp13-match-preview__score > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #8fb8ff;
  font-size: 15px;
}

.hp13-cockpit__insight {
  display: grid;
  grid-template-columns: minmax(0,1fr) 150px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.hp13-cockpit__player {
  min-width: 0;
  min-height: 65px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}

.hp13-cockpit__player > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hp13-cockpit__player small {
  color: #596782;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hp13-cockpit__player strong {
  overflow: hidden;
  color: #eef3ff;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-cockpit__player > span:last-child {
  display: grid;
  justify-items: end;
}

.hp13-cockpit__player > span:last-child b {
  color: var(--hp13-green);
  font-size: 15px;
  font-weight: 950;
}

.hp13-cockpit__placeholder {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(78,143,255,.11);
  color: var(--hp13-blue);
  font-size: 13px;
  font-weight: 950;
}

.hp13-signal {
  height: 65px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(78,143,255,.035), transparent),
    rgba(255,255,255,.012);
}

.hp13-signal i {
  width: 100%;
  height: var(--hp13-height);
  min-height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hp13-cyan), var(--hp13-blue));
  box-shadow: 0 0 12px rgba(78,143,255,.20);
  transform-origin: bottom;
  animation: hp13BarIn .65s ease backwards;
  animation-delay: var(--hp13-delay);
}

@keyframes hp13BarIn {
  from { opacity: 0; transform: scaleY(.15); }
}

.hp13-cockpit__footer {
  min-height: 34px;
  padding: 8px 4px 0;
  color: #596782;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Shared avatar */
.hp13-avatar {
  position: relative;
  width: var(--hp13-avatar);
  height: var(--hp13-avatar);
  display: inline-flex;
  flex: 0 0 var(--hp13-avatar);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #192238;
  box-shadow: 0 6px 15px rgba(0,0,0,.20);
}

.hp13-avatar img,
.hp13-avatar__fallback {
  width: 100%;
  height: 100%;
}

.hp13-avatar img {
  object-fit: cover;
}

.hp13-avatar__fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.hp13-avatar--fallback {
  background: linear-gradient(145deg, #26375a, #17223a);
}

/* Metrics */
.hp13-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.hp13-metrics article {
  min-width: 0;
  min-height: 110px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--hp13-line);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent),
    var(--hp13-surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.hp13-metric__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78,143,255,.18);
  border-radius: 11px;
  background: rgba(78,143,255,.08);
  color: var(--hp13-blue);
  font-size: 10px;
  font-weight: 950;
}

.hp13-metric__icon--cyan {
  border-color: rgba(100,223,242,.18);
  background: rgba(100,223,242,.07);
  color: var(--hp13-cyan);
}

.hp13-metric__icon--green {
  border-color: rgba(74,222,128,.18);
  background: rgba(74,222,128,.07);
  color: var(--hp13-green);
}

.hp13-metric__icon--gold {
  border-color: rgba(247,201,72,.18);
  background: rgba(247,201,72,.07);
  color: var(--hp13-gold);
}

.hp13-metrics article > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hp13-metrics small {
  color: #5d6b88;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hp13-metrics strong {
  color: #f4f7ff;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.hp13-metrics article > div > span {
  overflow: hidden;
  color: #7c89a3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sections */
.hp13-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 38px 0 8px;
}

.hp13-match-stream {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hp13-section__head,
.hp13-section__head > div,
.hp13-match-rail,
.hp13-match-card,
.hp13-match-card > * {
  min-width: 0;
}

.hp13-section__head,
.hp13-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.hp13-section__head {
  margin-bottom: 16px;
}

.hp13-section__head > div,
.hp13-panel__head > div {
  display: grid;
  gap: 3px;
}

.hp13-section__head > div > span,
.hp13-panel__head > div > span,
.hp13-final > div > span {
  color: var(--hp13-blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hp13-section__head h2,
.hp13-panel__head h2,
.hp13-final h2 {
  color: #f3f6ff;
  font-size: clamp(23px, 3.2vw, 34px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.hp13-section__head p {
  max-width: 650px;
  color: #7e8ba6;
  font-size: 10px;
}

.hp13-section__head > a,
.hp13-panel__head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--hp13-line);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
  color: #8d9ab5;
  font-size: 9px;
  font-weight: 850;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.hp13-section__head > a:hover,
.hp13-panel__head > a:hover {
  border-color: var(--hp13-line-strong);
  color: #fff;
  transform: translateY(-1px);
}

/* Match stream */
.hp13-match-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 11px;
}

.hp13-match-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--hp13-line);
  border-radius: 15px;
  background: #0a0f1e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hp13-match-card::before,
.hp13-match-card::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.hp13-match-card::before {
  background:
    var(--hp13-card-map) center / cover no-repeat,
    var(--hp13-card-icon) center / 88px auto no-repeat,
    radial-gradient(circle at 50% 45%, rgba(78,143,255,.12), transparent 44%);
  opacity: .34;
  transform: scale(1.04);
  transition: transform .35s ease, opacity .35s ease;
}

.hp13-match-card::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,11,22,.40), rgba(7,11,22,.96)),
    linear-gradient(90deg, rgba(7,11,22,.75), transparent);
}

.hp13-match-card:hover {
  border-color: rgba(78,143,255,.34);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  transform: translateY(-3px);
}

.hp13-match-card:hover::before {
  opacity: .46;
  transform: scale(1.08);
}

.hp13-match-card__index {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(220,230,250,.20);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
}

.hp13-match-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding-right: 36px;
}

.hp13-match-card__top > span {
  overflow: hidden;
  color: #9eabc3;
  font-size: 8px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-match-card__top small {
  color: #62708b;
  font-size: 7px;
  white-space: nowrap;
}

.hp13-match-card__main {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.hp13-match-card__main > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp13-match-card__main img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hp13-match-card__main strong {
  color: #eef3ff;
  font-size: 13px;
  font-weight: 900;
}

.hp13-match-card__score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp13-match-card__score b {
  color: #dce5f7;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1;
}

.hp13-match-card__score b.is-win {
  color: var(--hp13-green);
}

.hp13-match-card__score i {
  color: rgba(255,255,255,.25);
  font-style: normal;
}

.hp13-match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.065);
}

.hp13-match-card__teams > span {
  display: flex;
  min-width: 0;
}

.hp13-match-card__teams > span:last-child {
  justify-content: flex-end;
}

.hp13-match-card__teams .hp13-avatar {
  margin-left: -5px;
  border-radius: 8px;
}

.hp13-match-card__teams .hp13-avatar:first-child {
  margin-left: 0;
}

.hp13-match-card__teams > i {
  color: #6e7c98;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.hp13-empty {
  min-height: 140px;
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px dashed rgba(101,137,206,.24);
  border-radius: 15px;
  background: rgba(255,255,255,.012);
}

.hp13-empty > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(78,143,255,.08);
  color: var(--hp13-blue);
  font-size: 20px;
}

.hp13-empty strong {
  color: #eef3ff;
  font-size: 14px;
}

.hp13-empty p {
  margin-top: 3px;
  color: #74819c;
  font-size: 9px;
}

/* Player + tracker dashboard */
.hp13-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr);
  gap: 12px;
}

.hp13-panel {
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--hp13-line);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent),
    var(--hp13-surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.hp13-panel__head {
  align-items: center;
  min-height: 53px;
  padding: 0 3px 13px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.hp13-panel__head h2 {
  font-size: 18px;
}

.hp13-player-list {
  display: grid;
}

.hp13-player-row {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 30px auto minmax(0,1fr) 60px 60px 20px;
  align-items: center;
  gap: 9px;
  padding: 9px 4px;
  border-top: 1px solid rgba(255,255,255,.055);
  transition: background .18s ease, padding .18s ease;
}

.hp13-player-row:first-child {
  border-top: 0;
}

.hp13-player-row:hover {
  padding-inline: 9px;
  background: rgba(255,255,255,.018);
}

.hp13-player-row__rank {
  color: #53617d;
  font-size: 8px;
  font-weight: 950;
}

.hp13-player-row__identity {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hp13-player-row__identity strong {
  overflow: hidden;
  color: #edf2ff;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-player-row__identity small,
.hp13-player-row__metric small {
  color: #5e6b86;
  font-size: 7px;
}

.hp13-player-row__metric {
  display: grid;
  justify-items: end;
  gap: 0;
}

.hp13-player-row__metric b {
  color: #cdd7eb;
  font-size: 11px;
  font-weight: 900;
}

.hp13-player-row > i {
  color: #53617d;
  font-style: normal;
}

.hp13-panel-empty {
  display: grid;
  gap: 4px;
  padding: 35px 10px;
  text-align: center;
}

.hp13-panel-empty strong {
  color: #edf2ff;
  font-size: 13px;
}

.hp13-panel-empty p {
  color: #66738e;
  font-size: 9px;
}

/* Tracker status */
.hp13-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #8390aa;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hp13-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.hp13-state--active {
  border-color: rgba(74,222,128,.18);
  background: rgba(74,222,128,.06);
  color: var(--hp13-green);
}

.hp13-state--pending,
.hp13-state--warning {
  border-color: rgba(247,201,72,.18);
  background: rgba(247,201,72,.06);
  color: var(--hp13-gold);
}

.hp13-state--error {
  border-color: rgba(251,113,133,.18);
  background: rgba(251,113,133,.06);
  color: var(--hp13-red);
}

.hp13-account {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px 3px 11px;
}

.hp13-account > div {
  min-width: 0;
  display: grid;
}

.hp13-account small {
  color: #5a6883;
  font-size: 7px;
  font-weight: 850;
  text-transform: uppercase;
}

.hp13-account strong {
  overflow: hidden;
  color: #f1f4ff;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-account > a {
  color: #7991bf;
  font-size: 8px;
  font-weight: 850;
}

.hp13-account-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;
}

.hp13-account-metrics > div {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background: rgba(255,255,255,.012);
}

.hp13-account-metrics span {
  overflow: hidden;
  color: #596680;
  font-size: 6px;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hp13-account-metrics strong {
  color: #eef3ff;
  font-size: 13px;
  font-weight: 950;
}

.hp13-tracker-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 4px;
  margin-top: 13px;
}

.hp13-tracker-progress::before {
  position: absolute;
  top: 8px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: rgba(255,255,255,.075);
  content: "";
}

.hp13-tracker-progress > span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #64718b;
  text-align: center;
}

.hp13-tracker-progress i {
  width: 17px;
  height: 17px;
  border: 4px solid var(--hp13-surface-solid);
  border-radius: 50%;
  background: #2a344b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.hp13-tracker-progress i.is-complete {
  background: var(--hp13-green);
  box-shadow:
    0 0 0 1px rgba(74,222,128,.22),
    0 0 11px rgba(74,222,128,.34);
}

.hp13-tracker-progress b {
  font-size: 7px;
  font-weight: 850;
}

.hp13-tracker-cta {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(80,138,255,.20);
  border-radius: 11px;
  background: rgba(78,143,255,.07);
  transition: border-color .18s ease, background .18s ease;
}

.hp13-tracker-cta:hover {
  border-color: rgba(80,138,255,.38);
  background: rgba(78,143,255,.11);
}

.hp13-tracker-cta > span {
  display: grid;
}

.hp13-tracker-cta strong {
  color: #eaf0ff;
  font-size: 10px;
  font-weight: 900;
}

.hp13-tracker-cta small {
  color: #687792;
  font-size: 7px;
}

.hp13-tracker-cta > i {
  color: #8ab5ff;
  font-style: normal;
}

.hp13-tracker-cta--steam {
  border-color: rgba(77,153,222,.25);
  background: linear-gradient(135deg, rgba(37,102,171,.20), rgba(22,58,98,.13));
}

.hp13-tracker-panel__intro {
  max-width: 500px;
  padding: 14px 3px 10px;
  color: #78859f;
  font-size: 9px;
  line-height: 1.65;
}

.hp13-onboarding {
  display: grid;
  gap: 6px;
}

.hp13-onboarding > div {
  display: grid;
  grid-template-columns: 28px 1px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  min-height: 45px;
}

.hp13-onboarding > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(78,143,255,.18);
  border-radius: 8px;
  background: rgba(78,143,255,.06);
  color: var(--hp13-blue);
  font-size: 7px;
  font-weight: 950;
}

.hp13-onboarding > div > i {
  height: 32px;
  background: rgba(255,255,255,.07);
}

.hp13-onboarding section {
  display: grid;
}

.hp13-onboarding strong {
  color: #e8eefc;
  font-size: 9px;
  font-weight: 900;
}

.hp13-onboarding small {
  color: #64718c;
  font-size: 7px;
}

/* Features */
.hp13-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 11px;
}

.hp13-feature {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--hp13-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent),
    var(--hp13-surface);
  transition: border-color .18s ease, transform .18s ease;
}

.hp13-feature:hover {
  border-color: rgba(78,143,255,.26);
  transform: translateY(-2px);
}

.hp13-feature > span {
  color: #4f5c76;
  font-size: 8px;
  font-weight: 950;
}

.hp13-feature h3 {
  margin-top: auto;
  color: #f0f4ff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.025em;
}

.hp13-feature p {
  max-width: 330px;
  margin-top: 5px;
  color: #75829d;
  font-size: 9px;
  line-height: 1.6;
}

.hp13-feature > a {
  width: fit-content;
  margin-top: 13px;
  color: #8cb4fb;
  font-size: 8px;
  font-weight: 900;
}

.hp13-feature__visual {
  height: 90px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 22px 0 18px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background:
    linear-gradient(rgba(78,143,255,.035) 1px, transparent 1px),
    rgba(78,143,255,.025);
  background-size: 100% 18px;
}

.hp13-feature__visual i {
  width: 100%;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--hp13-cyan), var(--hp13-blue));
  opacity: .76;
}

.hp13-feature__rings {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  margin: 20px auto;
}

.hp13-feature__rings i {
  position: absolute;
  border: 1px solid rgba(100,223,242,.18);
  border-radius: 50%;
}

.hp13-feature__rings i:first-child {
  inset: 0;
  border-top-color: var(--hp13-cyan);
  transform: rotate(28deg);
}

.hp13-feature__rings i:nth-child(2) {
  inset: 14px;
  border-right-color: var(--hp13-blue);
  transform: rotate(-34deg);
}

.hp13-feature__rings b {
  color: #eff5ff;
  font-size: 18px;
  font-weight: 950;
}

.hp13-feature__pulse {
  position: relative;
  width: 110px;
  height: 94px;
  display: grid;
  place-items: center;
  margin: 20px auto;
}

.hp13-feature__pulse i {
  position: absolute;
  border: 1px solid rgba(74,222,128,.18);
  border-radius: 50%;
  animation: hp13FeaturePulse 2.3s ease-out infinite;
}

.hp13-feature__pulse i:first-child {
  width: 74px;
  height: 74px;
}

.hp13-feature__pulse i:nth-child(2) {
  width: 46px;
  height: 46px;
  animation-delay: .45s;
}

.hp13-feature__pulse b {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--hp13-green);
  box-shadow: 0 0 18px rgba(74,222,128,.60);
}

@keyframes hp13FeaturePulse {
  0% { opacity: .8; transform: scale(.72); }
  80%, 100% { opacity: 0; transform: scale(1.15); }
}

/* Final CTA */
.hp13-final {
  position: relative;
  isolation: isolate;
  min-height: 205px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  margin-top: 30px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(87,137,242,.22);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(23,50,107,.25), rgba(9,14,28,.92) 55%),
    #090e1c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.hp13-final::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(88,135,225,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,135,225,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
}

.hp13-final__glow {
  position: absolute;
  right: -120px;
  bottom: -260px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,126,255,.20), transparent 65%);
}

.hp13-final > div:first-of-type {
  max-width: 650px;
}

.hp13-final h2 {
  margin-top: 4px;
  font-size: clamp(30px, 4.6vw, 48px);
}

.hp13-final p {
  max-width: 580px;
  margin-top: 9px;
  color: #7d8aa5;
  font-size: 10px;
}

.hp13-final > div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Sprint 13.2 — integrated intro shell */
.hp13-intro-shell {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hp13-line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 38%),
    #080c18;
  box-shadow:
    0 38px 110px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.hp13-intro-shell .hp13-hero {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hp13-intro-shell .hp13-metrics {
  position: relative;
  z-index: 3;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(132,158,211,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.014), transparent),
    rgba(8,13,25,.92);
}

.hp13-intro-shell .hp13-metrics article {
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), transparent),
    rgba(15,22,40,.88);
}

/* One responsive system. No overlapping legacy breakpoint blocks. */
@media (max-width: 1120px) {
  .hp13-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 32px 28px;
  }

  .hp13-hero__copy {
    text-align: center;
  }

  .hp13-kicker,
  .hp13-search,
  .hp13-hero__actions,
  .hp13-trust,
  .hp13-hero__copy > p {
    margin-inline: auto;
  }

  .hp13-hero__actions,
  .hp13-trust {
    justify-content: center;
  }

  .hp13-cockpit {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .hp13-intro-shell .hp13-metrics {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .hp13-match-rail {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .hp13-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hp13 {
    gap: 11px;
    padding-bottom: 28px;
  }

  .hp13-intro-shell {
    border-radius: 19px;
  }

  .hp13-hero {
    display: block;
    min-height: 0;
    padding: 29px 18px 17px;
  }

  .hp13-hero__copy,
  .hp13-cockpit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hp13-hero__copy {
    position: relative;
    z-index: 4;
    text-align: left;
  }

  .hp13-kicker,
  .hp13-search,
  .hp13-hero__actions,
  .hp13-trust,
  .hp13-hero__copy > p {
    margin-inline: 0;
  }

  .hp13-kicker {
    min-height: 27px;
    font-size: 7px;
    letter-spacing: .10em;
  }

  .hp13-kicker i {
    display: none;
  }

  .hp13-hero h1 {
    max-width: 620px;
    margin-top: 17px;
    font-size: clamp(45px, 9.2vw, 62px);
    line-height: .94;
  }

  .hp13-hero__copy > p {
    max-width: 610px;
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.65;
  }

  .hp13-search {
    max-width: 100%;
    margin-top: 20px;
  }

  .hp13-hero__actions,
  .hp13-trust {
    justify-content: flex-start;
  }

  .hp13-cockpit {
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
    padding: 9px;
    border-radius: 15px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 214px;
  }

  .hp13-cockpit__insight {
    grid-template-columns: minmax(0,1fr) 130px;
  }

  .hp13-intro-shell .hp13-metrics {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 10px;
  }

  .hp13-metrics article {
    min-width: 0;
    min-height: 92px;
    gap: 9px;
    padding: 11px;
  }

  .hp13-metrics article > div,
  .hp13-metrics article > div > span {
    min-width: 0;
  }

  .hp13-section {
    padding-top: 28px;
  }

  .hp13-section__head {
    align-items: flex-start;
  }

  .hp13-section__head > a {
    display: none;
  }

  .hp13-match-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-inline: -10px;
    padding: 0 10px 10px;
    scroll-padding-inline: 10px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .hp13-match-rail::-webkit-scrollbar {
    display: none;
  }

  .hp13-match-card {
    width: min(78vw, 340px);
    min-width: min(78vw, 340px);
    min-height: 220px;
    scroll-snap-align: start;
  }

  .hp13-panel {
    border-radius: 15px;
  }

  .hp13-panel__head {
    align-items: flex-start;
  }

  .hp13-panel__head > a {
    display: none;
  }

  .hp13-feature-grid {
    grid-template-columns: 1fr;
  }

  .hp13-feature {
    min-height: 230px;
  }

  .hp13-final {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    padding: 28px 20px;
  }

  .hp13-final > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hp13 {
    gap: 9px;
  }

  .hp13-intro-shell {
    border-radius: 16px;
  }

  .hp13-hero {
    padding: 21px 11px 11px;
  }

  .hp13-hero::before {
    background-size: 34px 34px;
  }

  .hp13-kicker {
    max-width: 100%;
    min-height: 25px;
    overflow: hidden;
    padding-inline: 8px;
    font-size: 6.5px;
    white-space: nowrap;
  }

  .hp13-hero h1 {
    max-width: 430px;
    margin-top: 14px;
    font-size: clamp(37px, 11.5vw, 48px);
    letter-spacing: -.066em;
  }

  .hp13-hero__copy > p {
    margin-top: 13px;
    font-size: 10.5px;
    line-height: 1.58;
  }

  .hp13-search {
    grid-template-columns: 17px minmax(0,1fr);
    gap: 8px;
    margin-top: 17px;
    padding: 9px;
    border-radius: 12px;
  }

  .hp13-search input {
    height: 38px;
    font-size: 10px;
  }

  .hp13-search kbd {
    display: none;
  }

  .hp13-search button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }

  .hp13-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    width: 100%;
    margin-top: 9px;
  }

  .hp13-btn {
    width: 100%;
    min-height: 43px;
  }

  .hp13-trust {
    gap: 8px 12px;
    margin-top: 13px;
    font-size: 7.5px;
  }

  .hp13-cockpit {
    margin-top: 19px;
    padding: 8px;
    border-radius: 13px;
  }

  .hp13-cockpit__top {
    min-height: 28px;
    padding: 0 3px 7px;
    font-size: 6.5px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 174px;
  }

  .hp13-match-preview {
    border-radius: 10px;
  }

  .hp13-match-preview__content {
    padding: 10px;
  }

  .hp13-match-preview__head > span {
    min-height: 25px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .hp13-match-preview__head img {
    width: 17px;
    height: 17px;
  }

  .hp13-match-preview__score {
    min-height: 88px;
    padding: 11px;
    border-radius: 9px;
  }

  .hp13-match-preview__score strong {
    font-size: 35px;
  }

  .hp13-match-preview__score > b {
    width: 32px;
    height: 32px;
  }

  .hp13-cockpit__insight,
  .hp13-cockpit__footer {
    display: none;
  }

  .hp13-intro-shell .hp13-metrics {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
    padding: 8px;
  }

  .hp13-metrics article {
    min-height: 84px;
    grid-template-columns: auto minmax(0,1fr);
    align-content: center;
    gap: 7px;
    padding: 9px;
    border-radius: 11px;
  }

  .hp13-metric__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .hp13-metrics strong {
    font-size: 18px;
  }

  .hp13-metrics article > div > span {
    font-size: 6px;
  }

  .hp13-section {
    padding-top: 23px;
  }

  .hp13-section__head {
    margin-bottom: 11px;
  }

  .hp13-section__head h2 {
    font-size: 22px;
  }

  .hp13-section__head p {
    margin-top: 2px;
    font-size: 8.5px;
    line-height: 1.5;
  }

  .hp13-match-card {
    width: min(84vw, 315px);
    min-width: min(84vw, 315px);
    min-height: 210px;
  }

  .hp13-panel {
    padding: 10px;
  }

  .hp13-player-row {
    min-height: 56px;
    grid-template-columns: 25px auto minmax(0,1fr) 52px 18px;
  }

  .hp13-player-row__metric:nth-of-type(2) {
    display: none;
  }

  .hp13-state {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hp13-account-metrics {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .hp13-feature {
    min-height: 212px;
    padding: 16px;
  }

  .hp13-final {
    margin-top: 17px;
    padding: 23px 15px;
    border-radius: 16px;
  }
}

@media (max-width: 390px) {
  .hp13-hero {
    padding-inline: 9px;
  }

  .hp13-hero h1 {
    max-width: 340px;
    font-size: 35px;
  }

  .hp13-trust span:nth-child(3),
  .hp13-match-preview__head > small {
    display: none;
  }

  .hp13-metrics article > div > span {
    display: none;
  }

  .hp13-player-row {
    grid-template-columns: 23px auto minmax(0,1fr) 46px;
  }

  .hp13-player-row > i {
    display: none;
  }

  .hp13-account {
    grid-template-columns: auto minmax(0,1fr);
  }

  .hp13-account > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 340px) {
  .hp13-hero h1 {
    font-size: 32px;
  }

  .hp13-intro-shell .hp13-metrics {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .hp13-metrics article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hp13-metric__icon {
    width: 26px;
    height: 26px;
  }

  .hp13-match-card {
    width: 87vw;
    min-width: 87vw;
  }

  .hp13-player-row__metric {
    display: none;
  }

  .hp13-player-row {
    grid-template-columns: 23px auto minmax(0,1fr);
  }
}

/* Short screens need less vertical chrome, not missing content. */
@media (max-width: 820px) and (max-height: 760px) {
  .hp13-hero {
    padding-top: 18px;
  }

  .hp13-hero h1 {
    margin-top: 12px;
    font-size: clamp(35px, 8.6vw, 48px);
  }

  .hp13-hero__copy > p {
    margin-top: 10px;
  }

  .hp13-trust {
    display: none;
  }

  .hp13-cockpit {
    margin-top: 15px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 155px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp13-live-dot::after,
  .hp13-signal i,
  .hp13-feature__pulse i {
    animation: none;
  }

  .hp13-cockpit,
  .hp13-match-card,
  .hp13-btn,
  .hp13-feature {
    transition: none;
  }
}

/* Sprint 13.3 — shrink-safe match stream + enclosed cockpit rebuild */

/* Every direct Home grid item is allowed to shrink inside the page shell. */
.hp13,
.hp13 > *,
.hp13-intro-shell,
.hp13-hero,
.hp13-hero > *,
.hp13-section,
.hp13-dashboard-grid,
.hp13-feature-grid,
.hp13-final {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Cockpit is now one completely enclosed component. */
.hp13-cockpit {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 9px;
  overflow: hidden;
  contain: layout paint;
  border-color: rgba(105, 151, 238, .28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 5%, rgba(68, 132, 255, .10), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 42%),
    rgba(10, 16, 31, .94);
}

.hp13-cockpit::before {
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, transparent, rgba(96,151,255,.12), transparent) top / 100% 1px no-repeat;
}

.hp13-cockpit__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(136, 167, 225, .13);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 28%),
    rgba(5, 10, 21, .58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 18px 42px rgba(0,0,0,.18);
}

.hp13-cockpit__top {
  min-width: 0;
  min-height: 31px;
  padding: 0 3px 8px;
}

.hp13-cockpit__top > span,
.hp13-cockpit__top > small,
.hp13-cockpit__footer > span,
.hp13-cockpit__footer > small {
  min-width: 0;
}

.hp13-cockpit__top > span,
.hp13-cockpit__footer > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-cockpit__stage {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
}

.hp13-cockpit__stage .hp13-match-preview {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-color: rgba(145, 171, 222, .13);
  border-radius: 13px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 13px 34px rgba(0,0,0,.21);
}

.hp13-cockpit__stage .hp13-match-preview::after {
  background:
    radial-gradient(circle at 78% 16%, rgba(79,148,255,.16), transparent 34%),
    linear-gradient(90deg, rgba(4,8,17,.82), rgba(4,8,17,.24)),
    linear-gradient(180deg, transparent 45%, rgba(4,8,17,.55));
}

.hp13-cockpit__stage .hp13-match-preview__score {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-color: rgba(148, 177, 228, .13);
  background:
    linear-gradient(135deg, rgba(7,13,26,.82), rgba(9,16,31,.64)),
    rgba(5,8,16,.54);
}

.hp13-cockpit__dashboard {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, .9fr);
  gap: 8px;
  margin-top: 8px;
}

.hp13-cockpit__dashboard > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hp13-cockpit__player {
  min-height: 70px;
  border-color: rgba(137, 166, 219, .10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent),
    rgba(255,255,255,.014);
}

.hp13-cockpit__activity {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 5px;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid rgba(137, 166, 219, .10);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(78,143,255,.035), transparent),
    rgba(255,255,255,.012);
}

.hp13-cockpit__activity-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.hp13-cockpit__activity-head span,
.hp13-cockpit__activity-head small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp13-cockpit__activity-head span {
  color: #73819c;
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hp13-cockpit__activity-head small {
  color: #52617e;
  font-size: 6px;
  font-weight: 800;
}

.hp13-cockpit__activity .hp13-signal {
  width: 100%;
  min-width: 0;
  height: 43px;
  gap: 4px;
  padding: 4px 1px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hp13-cockpit__footer {
  min-width: 0;
  min-height: 28px;
  padding: 8px 3px 0;
  border-top: 1px solid rgba(255,255,255,.04);
  margin-top: 8px;
}

/* The exact bug: a grid child and its horizontal rail were keeping
   their min-content width. Both are explicitly shrinkable now. */
.hp13-match-stream,
.hp13-match-stream > *,
.hp13-match-rail,
.hp13-match-rail > *,
.hp13-match-card,
.hp13-match-card > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hp13-match-stream {
  contain: layout;
}

/* Phone layout: matches are normal full-width cards, one under another.
   No horizontal rail, no vw widths, no negative margins. */
@media (max-width: 760px) {
  .hp13-match-stream {
    width: 100%;
    overflow: hidden;
  }

  .hp13-match-rail {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .hp13-match-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 205px;
    scroll-snap-align: none;
  }

  .hp13-match-card__top,
  .hp13-match-card__main,
  .hp13-match-card__teams {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hp13-match-card__top > span,
  .hp13-match-card__main strong,
  .hp13-match-card__teams > i {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hp13-cockpit__dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp13-cockpit__activity {
    min-height: 68px;
  }
}

@media (max-width: 560px) {
  .hp13-cockpit {
    padding: 6px;
    border-radius: 14px;
  }

  .hp13-cockpit__frame {
    padding: 7px;
    border-radius: 11px;
  }

  .hp13-cockpit__stage,
  .hp13-cockpit__stage .hp13-match-preview {
    border-radius: 9px;
  }

  .hp13-cockpit__dashboard {
    gap: 6px;
    margin-top: 6px;
  }

  .hp13-cockpit__player {
    min-height: 60px;
    padding: 7px;
  }

  .hp13-cockpit__activity {
    min-height: 59px;
    padding: 7px;
  }

  .hp13-cockpit__activity .hp13-signal {
    height: 35px;
  }

  .hp13-cockpit__footer {
    min-height: 24px;
    margin-top: 6px;
    padding-top: 6px;
  }

  .hp13-match-card {
    min-height: 195px;
    padding: 12px;
  }
}

@media (max-width: 390px) {
  .hp13-cockpit__top > small,
  .hp13-cockpit__activity-head small,
  .hp13-cockpit__footer > small {
    display: none;
  }

  .hp13-cockpit__activity {
    min-height: 54px;
  }

  .hp13-cockpit__activity .hp13-signal {
    height: 31px;
  }

  .hp13-match-card {
    min-height: 188px;
  }
}

/* Sprint 13.4 — Compact Hero
   Keeps the full product story while reducing first-screen height. */

.hp13-intro-shell .hp13-hero {
  min-height: 438px;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
  padding: 28px clamp(24px, 3.4vw, 42px) 22px;
}

.hp13-hero h1 {
  max-width: 650px;
  margin-top: 16px;
  font-size: clamp(46px, 4.85vw, 66px);
  line-height: .94;
}

.hp13-hero__copy > p {
  max-width: 570px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
}

.hp13-kicker {
  min-height: 27px;
  padding-inline: 9px;
  font-size: 7px;
}

.hp13-search {
  min-height: 52px;
  margin-top: 18px;
  padding: 5px 5px 5px 13px;
  border-radius: 12px;
}

.hp13-search input {
  height: 39px;
}

.hp13-search button {
  min-height: 40px;
  padding-inline: 17px;
}

.hp13-hero__actions {
  margin-top: 12px;
}

.hp13-btn {
  min-height: 42px;
}

.hp13-trust {
  margin-top: 12px;
}

.hp13-cockpit {
  padding: 7px;
  border-radius: 17px;
}

.hp13-cockpit__frame {
  padding: 7px;
  border-radius: 12px;
}

.hp13-cockpit__top {
  min-height: 25px;
  padding: 0 2px 6px;
}

.hp13-match-preview,
.hp13-match-preview__content {
  min-height: 198px;
}

.hp13-match-preview__content {
  padding: 11px;
}

.hp13-match-preview__score {
  min-height: 92px;
  padding: 13px;
}

.hp13-match-preview__score strong {
  font-size: 39px;
}

.hp13-match-preview__score > b {
  width: 34px;
  height: 34px;
}

.hp13-cockpit__dashboard {
  gap: 6px;
  margin-top: 6px;
}

.hp13-cockpit__player {
  min-height: 58px;
  padding: 7px;
}

.hp13-cockpit__activity {
  min-height: 58px;
  padding: 6px 8px;
}

.hp13-cockpit__activity .hp13-signal {
  height: 32px;
}

.hp13-cockpit__footer {
  min-height: 22px;
  margin-top: 6px;
  padding-top: 5px;
}

/* Keep the hero side-by-side on normal tablets and compact laptops.
   The previous 1120px breakpoint stacked too early and doubled height. */
@media (min-width: 821px) and (max-width: 1120px) {
  .hp13-intro-shell .hp13-hero {
    min-height: 410px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .84fr);
    align-items: center;
    gap: 20px;
    padding: 24px 24px 19px;
  }

  .hp13-hero__copy {
    text-align: left;
  }

  .hp13-kicker,
  .hp13-search,
  .hp13-hero__actions,
  .hp13-trust,
  .hp13-hero__copy > p {
    margin-inline: 0;
  }

  .hp13-hero__actions,
  .hp13-trust {
    justify-content: flex-start;
  }

  .hp13-hero h1 {
    max-width: 540px;
    margin-top: 14px;
    font-size: clamp(42px, 5.2vw, 55px);
  }

  .hp13-hero__copy > p {
    margin-top: 12px;
    font-size: 10.5px;
  }

  .hp13-search {
    margin-top: 15px;
  }

  .hp13-cockpit {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 178px;
  }

  .hp13-match-preview__score {
    min-height: 82px;
  }

  .hp13-cockpit__activity-head small,
  .hp13-cockpit__footer small {
    display: none;
  }
}

/* Compact stacked tablet/mobile hero. */
@media (max-width: 820px) {
  .hp13-intro-shell .hp13-hero {
    min-height: 0;
    padding: 20px 14px 12px;
  }

  .hp13-hero h1 {
    margin-top: 13px;
    font-size: clamp(37px, 8.2vw, 49px);
  }

  .hp13-hero__copy > p {
    margin-top: 11px;
    font-size: 10px;
    line-height: 1.55;
  }

  .hp13-search {
    margin-top: 15px;
  }

  .hp13-hero__actions {
    margin-top: 8px;
  }

  .hp13-trust {
    margin-top: 9px;
  }

  .hp13-cockpit {
    margin-top: 16px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 170px;
  }

  .hp13-match-preview__score {
    min-height: 78px;
  }

  .hp13-cockpit__dashboard {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .72fr);
  }

  .hp13-cockpit__player,
  .hp13-cockpit__activity {
    min-height: 54px;
  }
}

/* Phones: keep the core product preview, remove only secondary chrome. */
@media (max-width: 560px) {
  .hp13-intro-shell .hp13-hero {
    padding: 17px 10px 9px;
  }

  .hp13-hero h1 {
    margin-top: 11px;
    font-size: clamp(33px, 10.5vw, 40px);
  }

  .hp13-hero__copy > p {
    margin-top: 9px;
  }

  .hp13-kicker {
    min-height: 23px;
    font-size: 6px;
  }

  .hp13-search {
    margin-top: 13px;
  }

  .hp13-trust {
    display: none;
  }

  .hp13-cockpit {
    margin-top: 12px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 148px;
  }

  .hp13-match-preview__score {
    min-height: 68px;
    padding: 10px;
  }

  .hp13-match-preview__score strong {
    font-size: 33px;
  }

  .hp13-cockpit__dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp13-cockpit__activity,
  .hp13-cockpit__footer {
    display: none;
  }

  .hp13-cockpit__player {
    min-height: 51px;
  }
}

@media (max-width: 390px) {
  .hp13-intro-shell .hp13-hero {
    padding-inline: 8px;
  }

  .hp13-hero h1 {
    font-size: 32px;
  }

  .hp13-hero__copy > p {
    font-size: 9px;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 138px;
  }
}

/* Short displays: reduce the hero without hiding its main actions. */
@media (min-width: 821px) and (max-height: 760px) {
  .hp13-intro-shell .hp13-hero {
    min-height: 368px;
    padding-top: 19px;
    padding-bottom: 16px;
  }

  .hp13-hero h1 {
    margin-top: 11px;
    font-size: clamp(40px, 4.5vw, 56px);
  }

  .hp13-hero__copy > p {
    margin-top: 9px;
  }

  .hp13-search {
    margin-top: 12px;
  }

  .hp13-trust {
    display: none;
  }

  .hp13-match-preview,
  .hp13-match-preview__content {
    min-height: 160px;
  }
}



/* Sprint 20.3.5 — map artwork fallback for maps without a local thumbnail */
