/*! PUBG homepage component styles — loaded on the front page only. */
/* --- news --- */
/* ============================================================== PUBG NEWS
 *
 * Front-page news block. Presentation only — the markup in
 * template-parts/home/news.php reads exactly the same pubg_data('news') fields
 * it always did.
 *
 * Composition: one featured card on the left, two equal cards stacked on the
 * right, both columns the same height. Angular rather than rounded, and free of
 * caption text: no feed labels, no fabricated IDs or coordinates.
 *
 * Sizes are driven by custom properties on the section so the short-viewport
 * tiers in density.css can compact the block by overriding four numbers instead
 * of restating the layout.
 */

.news-section {
  --news-yellow: #F5B400;
  --news-yellow-hi: #FFD028;
  --news-ink: #F4F4F1;
  --news-ink-2: #A3A39E;
  --news-ink-3: #777772;
  --news-line: rgba(255, 255, 255, 0.11);
  --news-line-hot: rgba(245, 180, 0, 0.55);

  /* Featured 650 = media 400 + body 250. Side rows are (650 - 20) / 2 = 315,
     so the two columns land on the same baseline without a fixed height. */
  --news-media-h: 400px;
  --news-card-min: 650px;
  --news-side-media-h: 152px;
  --news-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--news-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

/* Two very weak warm pools behind the block, plus an almost invisible grid.
   Separate layer so the section itself keeps a flat paint for the flex centring
   density.css applies at desktop widths. */
.news-section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 40%, rgba(245, 177, 0, 0.055), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(255, 120, 0, 0.035), transparent 30%),
    #070707;
}
.news-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.news-section__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.news-head {
  margin-bottom: 32px;
}
.news-head__title {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #F5F5F2;
}
.news-head__title span {
  color: var(--news-yellow);
}
.news-head__lede {
  max-width: 570px;
  margin: 16px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #A4A4A0;
}

/* ------------------------------------------------------------------- Grid */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(380px, 1fr);
  gap: 24px;
  align-items: stretch;
}
/* No min-height:0 here on purpose. Without it the column's automatic minimum
   size is its content, so the grid row — and with it the featured card — grows
   to fit two full side cards instead of clipping them inside overflow:hidden.
   The 1fr rows still come out equal, which is what puts both READ MORE rows on
   the same line. */
.news-col {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ------------------------------------------------------------------ Cards */
.news-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.98), rgba(12, 12, 12, 0.98));
  border: 1px solid var(--news-line);
  border-radius: 4px;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  /* Compositor properties only — a card must never resize the grid on hover.
     The spec's outer box-shadow is dropped rather than faked: clip-path cuts a
     box-shadow away entirely, and a black shadow on a #070707 field renders no
     depth anyway. Hover depth comes from the amber drop-shadow below, which
     follows the clipped silhouette and is actually visible. */
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

/* Accent ticks on the two square corners — the other two are cut by the clip. */
.news-card::before,
.news-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 56px;
  height: 2px;
  background: var(--news-yellow);
  opacity: 0.8;
  pointer-events: none;
  transition: width 260ms ease, opacity 260ms ease;
}
.news-card::before { top: 0; left: 0; }
.news-card::after  { bottom: 0; right: 0; }

@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-4px);
    border-color: var(--news-line-hot);
    filter: drop-shadow(0 10px 26px rgba(245, 180, 0, 0.16));
  }
  .news-card:hover::before,
  .news-card:hover::after { width: 78px; opacity: 1; }
  .news-card:hover .news-card__img { transform: scale(1.035); }
  .news-card:hover .news-card__title { color: #FFFFFF; }
  .news-card:hover .news-more__arrow,
  .news-card:hover .news-btn__arrow { transform: translateX(4px); }
}

.news-card__link {
  position: absolute;
  inset: 0;
  z-index: 6;
}
.news-card__link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--news-yellow);
}

/* ------------------------------------------------------------------ Media */
.news-card__media {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  height: var(--news-media-h);
}
.news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(.2, .75, .25, 1);
}
/* Deliberately light: the subject has to stay readable, the gradient only buys
   contrast for the badges and the join with the body below. */
.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.15) 42%, transparent 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 45%);
}

.news-tags {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
}
.news-tag {
  padding: 8px 12px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-tag--cat {
  background: var(--news-yellow);
  color: #090909;
}
.news-tag--platform {
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #E8E8E4;
}

.news-featured-badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--news-yellow);
  color: #090909;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------- Body */
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 28px 30px 30px;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: #A7A7A2;
}
.news-meta__sep {
  width: 10px;
  height: 1px;
  background: var(--news-yellow);
  opacity: 0.75;
}
.news-meta__author { color: var(--news-yellow); }

.news-card__title {
  margin: 18px 0 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--news-ink);
  transition: color 220ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__excerpt {
  margin: 12px 0 0;
  max-width: 720px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #AAAAA6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------- Read article */
.news-btn {
  align-self: flex-start;
  margin-top: 24px;
  height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--news-yellow);
  color: #080808;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
  transition: background-color 220ms ease, transform 220ms ease;
}
.news-btn__arrow { transition: transform 220ms ease; }
@media (hover: hover) {
  .news-btn:hover {
    background: var(--news-yellow-hi);
    transform: translateY(-2px);
  }
}
.news-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #080808;
}

/* ------------------------------------------------------------ Side cards */
.news-card--side .news-card__media { height: var(--news-side-media-h); }
.news-card--side .news-card__body { padding: 20px 22px; }
.news-card--side .news-meta {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #9C9C98;
}
.news-card--side .news-card__title {
  margin-top: 13px;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: 0;
  color: #F2F2EF;
}
.news-card--side .news-card__excerpt {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.55;
  color: #9E9E9A;
}
/* The platform tag sits opposite the category on the small cards. */
.news-card--side .news-tags {
  top: 14px;
  left: 14px;
  right: 14px;
  justify-content: space-between;
}

/* margin-top:auto is what puts READ MORE on the same line in both cards,
   whatever the title and excerpt wrap to. */
.news-more {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--news-yellow);
}
.news-more__arrow { transition: transform 220ms ease; }

/* ------------------------------------------------------------- View all */
.news-all {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* -------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .news-section { --news-card-min: 0px; --news-media-h: 340px; --news-side-media-h: 180px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

/* -------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .news-section {
    --news-pad-y: 64px;
    --news-media-h: 245px;
    --news-side-media-h: 195px;
  }
  .news-section__inner { padding: 0 16px; }
  .news-head__title { font-size: clamp(44px, 12vw, 50px); }
  .news-head__lede { font-size: 15px; }
  .news-grid { gap: 18px; }
  .news-col { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .news-card__body { padding: 18px; }
  .news-card__title { font-size: clamp(30px, 8vw, 34px); }
  .news-card--side .news-card__title { font-size: clamp(24px, 6.5vw, 27px); }
  .news-btn { width: auto; padding: 0 20px; }
  .news-tags { top: 14px; left: 14px; }
}

/* Below ~560px the category pair and the FEATURED badge cannot share the top
   row — at 320px the badge sat on top of "PC & CONSOLE". Move it down onto the
   dark end of the image gradient, where it has the width to itself. */
@media (max-width: 559px) {
  .news-featured-badge {
    top: auto;
    bottom: 14px;
    right: 14px;
    padding: 7px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card::before,
  .news-card::after,
  .news-card__img,
  .news-card__title,
  .news-btn,
  .news-btn__arrow,
  .news-more__arrow { transition: none; }
}
/* --- cta --- */
/* ============================================================= COMMUNITY CTA
 *
 * A frosted panel floating over the photograph rather than text laid directly
 * on it. The picture is dark and busy; type sitting on it needed so much scrim
 * that the image stopped being visible at all. Behind glass it stays legible
 * and the photograph survives.
 */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070707;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* The source is a warm, hazy plate. Cooling and darkening it stops the block
     reading muddy brown next to the amber accent. */
  filter: brightness(0.46) contrast(1.2) saturate(0.5) hue-rotate(-6deg);
}
/* Vignette plus a floor, so the panel has something to sit against and the
   join with the footer below is not a hard line. */
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 40%, transparent 30%, rgba(7, 7, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.25) 34%, rgba(7, 7, 7, 0.96) 100%);
}

.cta__inner {
  position: relative;
  padding: 84px 0;
}

/* A touch denser than the bare .glass utility: this panel sits over a busy
   photograph, and at the utility default the frame read as a faint smear
   rather than a window. */
.cta__panel {
  max-width: 720px;
  padding: 34px 36px 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02) 40%, rgba(6, 6, 6, 0.55));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 26px 60px -26px rgba(0, 0, 0, 0.95);
  clip-path: polygon(
    0 0, calc(100% - 18px) 0, 100% 18px,
    100% calc(100% - 18px), calc(100% - 18px) 100%,
    18px 100%, 0 calc(100% - 18px)
  );
}

.cta__title {
  margin: 0;
  font-family: "Barlow Condensed", "Oswald", "Barlow Fallback", sans-serif;
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #F5F5F1;
}
.cta__title span { color: var(--color-primary); }

.cta__lede {
  max-width: 520px;
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: #B4B4AE;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition:
    background-color var(--dur-base) var(--ease-frost),
    color var(--dur-base) var(--ease-frost),
    transform var(--dur-base) var(--ease-frost),
    border-color var(--dur-base) var(--ease-frost);
}
.cta__ico { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-frost); }
.cta__btn--primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border: 1px solid rgba(255, 214, 130, 0.5);
}
.cta__btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #DCDCD6;
  backdrop-filter: blur(8px);
}
@media (hover: hover) {
  .cta__btn--primary:hover { background: #FFD028; transform: translateY(-2px); }
  .cta__btn--primary:hover .cta__ico { transform: translateX(4px); }
  .cta__btn--ghost:hover { border-color: rgba(242, 169, 0, 0.6); color: #FFFFFF; transform: translateY(-2px); }
}
.cta__btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.cta__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.cta__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #A9A9A2;
  backdrop-filter: blur(8px);
  transition:
    color var(--dur-fast) var(--ease-frost),
    border-color var(--dur-fast) var(--ease-frost),
    transform var(--dur-fast) var(--ease-frost);
}
@media (hover: hover) {
  .cta__social a:hover {
    color: var(--color-primary);
    border-color: rgba(242, 169, 0, 0.6);
    transform: translateY(-2px);
  }
}
.cta__social a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

@media (max-width: 767px) {
  .cta__inner { padding: 56px 0; }
  .cta__panel { padding: 24px 20px 22px; }
  .cta__title { font-size: clamp(38px, 11vw, 48px); }
  .cta__lede { font-size: 15px; }
  .cta__actions { flex-direction: column; }
  .cta__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta__btn,
  .cta__ico,
  .cta__social a { transition: none; }
}
/* --- arsenal-database --- */
/* ====================================================== ARSENAL DATABASE
 *
 * Four weapon cards of equal height, fed by the weapon CPT.
 *
 * The bars show the project's own 0-100 comparison scores, so every bar keeps a
 * fixed colour per statistic — a colour that changed with the value would read
 * as a quality judgement the data does not make. A weapon with no score for a
 * row gets the words "Not published" instead of an empty coloured bar.
 */

.ars {
  --ars-yellow: #F5B400;
  --ars-yellow-hi: #FFD028;
  --ars-ink: #F2F2EE;
  --ars-ink-2: #A0A09B;
  --ars-ink-3: #969691;
  --ars-line: rgba(255, 255, 255, 0.12);
  --ars-card-min: 590px;
  --ars-shot-h: 245px;
  --ars-img-h: 155px;
  --ars-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--ars-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

.ars__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 180, 0, 0.065), transparent 28%),
    radial-gradient(circle at 92% 85%, rgba(245, 180, 0, 0.035), transparent 25%),
    #070707;
}
.ars__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ars__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.ars__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.ars__heading { min-width: 0; }
.ars__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ars-ink);
}
.ars__heading h2 span { color: var(--ars-yellow); }
.ars__lede {
  max-width: 720px;
  margin: 14px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ars-ink-2);
}

.ars__all {
  flex-shrink: 0;
  height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #F8BD0A, #E5A400);
  color: #080808;
  border: 1px solid rgba(255, 220, 70, 0.42);
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background 220ms ease, transform 220ms ease;
}
.ars__all-ico { width: 17px; height: 17px; transition: transform 220ms ease; }
@media (hover: hover) {
  .ars__all:hover { background: var(--ars-yellow-hi); transform: translateY(-2px); }
  .ars__all:hover .ars__all-ico { transform: translateX(4px); }
}
.ars__all:focus-visible { outline: 2px solid var(--ars-yellow); outline-offset: 3px; }

/* ------------------------------------------------------------------ Cards */
.ars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ars-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--ars-card-min);
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.99), rgba(9, 9, 9, 0.99));
  border: 1px solid var(--ars-line);
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    16px 100%,
    0 calc(100% - 16px)
  );
  transition: transform 220ms ease, border-color 220ms ease;
}
@media (hover: hover) {
  .ars-card:hover { transform: translateY(-5px); border-color: rgba(245, 180, 0, 0.5); }
  .ars-card:hover .ars-card__img { transform: scale(calc(var(--ars-img-zoom, 1.45) * 1.035)) translateY(-3px); }
}
.ars-card:focus-visible { outline: 2px solid var(--ars-yellow); outline-offset: 2px; }

/* Slot chip. A position in the row, not a rating — see the template. */
.ars-card__slot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 64px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 9, 9, 0.92);
  border-right: 1px solid rgba(245, 180, 0, 0.55);
  border-bottom: 1px solid rgba(245, 180, 0, 0.55);
  color: var(--ars-yellow);
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ars-card__shot {
  position: relative;
  flex: 0 0 auto;
  height: var(--ars-shot-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 22px 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(245, 180, 0, 0.095), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(0, 0, 0, 0.08));
}
/* A hint of ground under the weapon rather than a floating cut-out. */
.ars-card__shot::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 180, 0, 0.28), transparent);
}
/* contain, never cover — a cropped barrel or stock is a broken picture.
   The official renders are 1600x1096 with the weapon set well inside a large
   empty frame, so contain alone leaves it tiny. The extra scale fills the card
   without touching the aspect ratio; the shot area clips the surplus padding,
   not the weapon. */
.ars-card__img {
  width: 100%;
  height: var(--ars-img-h);
  object-fit: contain;
  object-position: center;
  transform: scale(var(--ars-img-zoom, 1.45));
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.62));
  transition: transform 420ms ease;
}
.ars-card__noimg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #5E5E59;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ars-card__noimg-ico { width: 34px; height: 34px; opacity: 0.5; }

.ars-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 22px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ars-card__kind {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ars-card__kind b { font-weight: 800; color: var(--ars-yellow); }
.ars-card__kind i { font-style: normal; color: #AAA9A3; }

.ars-card__name {
  margin-top: 10px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #F1F1ED;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ Stats */
.ars-card__stats { display: block; }
.ars-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  margin-top: 14px;
}
.ars-stat__k {
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ars-ink-2);
}
.ars-stat__v {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #D9D9D4;
}
.ars-stat__bar {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ars-stat__fill {
  display: block;
  height: 100%;
  transform-origin: left;
  transition: transform 550ms ease;
}
/* Fixed per statistic across every card. */
.ars-stat--damage    .ars-stat__fill { background: #F5B400; }
.ars-stat--range     .ars-stat__fill { background: #6DBF59; }
.ars-stat--stability .ars-stat__fill { background: #79C96A; }
.ars-stat--fire-rate .ars-stat__fill { background: #E96A22; }

.ars-stat__none {
  grid-column: 1 / -1;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5E5E59;
}

/* ------------------------------------------------------------------- Foot */
.ars-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ars-ink-3);
}
.ars-card__mag { display: inline-flex; align-items: center; gap: 8px; }
.ars-card__foot-ico { width: 14px; height: 14px; color: var(--ars-yellow); opacity: 0.85; }
/* Wraps rather than clips — "Single / Burst / Auto" must stay readable. */
.ars-card__modes { text-align: right; }

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .ars { --ars-card-min: 0px; }
  .ars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .ars__head { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .ars {
    --ars-pad-y: 64px;
    --ars-shot-h: 220px;
    --ars-img-h: 145px;
  }
  .ars__inner { padding: 0 16px; }
  .ars__head { flex-direction: column; align-items: stretch; gap: 22px; }
  .ars__heading h2 { font-size: clamp(48px, 13vw, 56px); }
  .ars__lede { font-size: 15px; }
  .ars__all { width: 100%; }
  .ars__grid { grid-template-columns: minmax(0, 1fr); }
  .ars-card__name { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .ars-card,
  .ars-card__img,
  .ars-stat__fill,
  .ars__all,
  .ars__all-ico { transition: none; }
}
/* --- map-intelligence --- */
/* ====================================================== MAP INTELLIGENCE
 *
 * Official map plate with markers on top, facts beside it.
 *
 * The positioning rule that matters: the stage carries the plate's own aspect
 * ratio and the image is `contain`, never `cover`. Cover would crop the edges
 * and silently shift every marker. Markers are placed in percentages, so they
 * hold at any width.
 *
 * Two marker families, and they must not be confused: official locations are
 * quiet grey pins, telemetry-derived drop zones are amber targets that always
 * carry their sample size.
 */

.mi {
  --mi-yellow: #F5B400;
  --mi-yellow-hi: #FFD028;
  --mi-ink: #F3F3EF;
  --mi-ink-2: #A1A19C;
  --mi-ink-3: #777772;
  --mi-line: rgba(255, 255, 255, 0.11);
  --mi-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--mi-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

.mi__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 30%, rgba(245, 180, 0, 0.055), transparent 30%),
    radial-gradient(circle at 88% 75%, rgba(245, 180, 0, 0.03), transparent 26%),
    #070707;
}
.mi__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.mi__inner {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.mi__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.mi__heading { min-width: 0; }
.mi__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(58px, 6vw, 90px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--mi-ink);
}
.mi__heading h2 span { color: var(--mi-yellow); }
.mi__lede {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--mi-ink-2);
}

/* ------------------------------------------------------------------- Tabs */
.mi__tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.mi__tab {
  height: 58px;
  min-width: 128px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #91918C;
  cursor: pointer;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    10px 100%, 0 calc(100% - 10px), 0 10px
  );
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) {
  .mi__tab:not(.is-active):hover { color: #F1F1ED; background: rgba(255, 255, 255, 0.05); }
}
.mi__tab.is-active {
  background: linear-gradient(135deg, #F8BD0A, #DFA000);
  color: #080808;
  border-color: rgba(255, 215, 70, 0.62);
  box-shadow: 0 12px 28px rgba(245, 180, 0, 0.14);
}
.mi__tab:focus-visible { outline: 2px solid var(--mi-yellow); outline-offset: -4px; }

.mi__panel { animation: mi-in 240ms ease both; }
@keyframes mi-in {
  from { opacity: 0; transform: scale(0.995); }
  to   { opacity: 1; transform: none; }
}

/*
 * 1.25fr, not the 1.75fr the brief asks for.
 *
 * That figure assumes a landscape map picture. Every official PUBG plate is
 * square, so a 1.75fr column makes the stage as tall as it is wide — over 900px
 * at 1920 — and the section balloons. Narrowing the column is the only lever
 * that helps: the stage ratio is locked to the plate's own so markers stay
 * correct, which rules out cropping or letterboxing it shorter.
 */
.mi__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

/* ------------------------------------------------------------------ Stage */
.mi-stage {
  position: relative;
  min-width: 0;
  /* The plate's real ratio, so the image fills the box exactly and there is no
     letterboxing for marker positions to account for. */
  aspect-ratio: var(--mi-ratio, 1 / 1);
  overflow: hidden;
  background: #0C0C0C;
  border: 1px solid rgba(255, 255, 255, 0.13);
  clip-path: polygon(
    0 0, calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px)
  );
}
/* Corner brackets, not a frame around the whole plate. */
.mi-stage::before,
.mi-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-color: rgba(245, 180, 0, 0.75);
  border-style: solid;
  pointer-events: none;
}
.mi-stage::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.mi-stage::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.mi-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain, never cover — cover crops the plate and moves every marker. */
  object-fit: contain;
  filter: brightness(0.78) contrast(1.08) saturate(0.82);
}
.mi-stage__layer,
.mi-stage__drops {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mi-stage__layer { pointer-events: none; }

/* ------------------------------------------------------- Official markers */
.mi-poi {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mi-poi i {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
  flex-shrink: 0;
}
.mi-poi b {
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 3px #000, 0 0 6px #000;
}

/* ------------------------------------------------------- Derived: drops */
.mi-drop {
  position: absolute;
  transform: translate(-50%, -50%);
}
/* 44px hit area around a 16px dot, per the touch-target floor. */
.mi-drop__hit {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.mi-drop__dot {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mi-yellow);
  box-shadow: 0 0 0 2px rgba(8, 8, 8, 0.8), 0 0 14px rgba(245, 180, 0, 0.5);
  transition: transform 180ms ease;
}
.mi-drop__ring {
  grid-area: 1 / 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(245, 180, 0, 0.45);
  transition: transform 180ms ease, opacity 180ms ease;
}
.mi-drop__hit:hover .mi-drop__dot,
.mi-drop__hit:focus-visible .mi-drop__dot { transform: scale(1.12); }
.mi-drop__hit:hover .mi-drop__ring,
.mi-drop__hit:focus-visible .mi-drop__ring { transform: scale(1.25); opacity: 0.75; }
.mi-drop__hit:focus-visible { outline: 2px solid var(--mi-yellow); outline-offset: -8px; }

.mi-drop__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  display: none;
  width: max-content;
  max-width: 230px;
  padding: 12px 14px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(245, 180, 0, 0.4);
  backdrop-filter: blur(6px);
  z-index: 4;
  pointer-events: none;
}
/* :focus, not :focus-visible. The ring below is right to use :focus-visible —
   a mouse click should not leave one — but the tooltip is the content, and a
   keyboard user must get it on any focus. */
.mi-drop__hit:hover + .mi-drop__tip,
.mi-drop__hit:focus + .mi-drop__tip { display: block; }
.mi-drop__tip b,
.mi-drop__tip i,
.mi-drop__tip em,
.mi-drop__tip u { display: block; font-style: normal; text-decoration: none; }
.mi-drop__tip b {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  color: #F3F3EF;
}
.mi-drop__tip i {
  margin-top: 2px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mi-yellow);
}
.mi-drop__tip em {
  margin-top: 8px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 12px;
  color: #D3D3CE;
}
.mi-drop__tip u {
  margin-top: 3px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  color: var(--mi-ink-3);
}
/* Near the right edge a centred tooltip would leave the plate. */
.mi-drop:nth-last-child(-n+2) .mi-drop__tip { left: auto; right: -8px; transform: none; }

/* ------------------------------------------------------------------ Panel */
.mi-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  background: linear-gradient(145deg, rgba(23, 23, 23, 0.99), rgba(9, 9, 9, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(
    0 0, calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px)
  );
}
.mi-panel__name {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(44px, 4vw, 68px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--mi-ink);
}
.mi-panel__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 10px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mi-panel__meta b { color: var(--mi-yellow); }
.mi-panel__meta span { color: var(--mi-ink-3); }
.mi-panel__meta b + span::before { content: "• "; color: var(--mi-yellow); }
.mi-panel__lede {
  margin: 16px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mi-ink-2);
}

.mi-row {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.085);
}
.mi-row__k {
  display: block;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mi-yellow);
}
.mi-row__v {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  line-height: 1.55;
  color: #B0B0AB;
}
.mi-row__v.is-empty { color: var(--mi-ink-3); font-style: italic; }
/* The provenance line is not decoration — a derived figure is meaningless
   without the sample it came from. */
.mi-row__src {
  display: block;
  margin-top: 7px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E6E69;
}

.mi-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.085);
}
.mi-stat {
  min-width: 0;
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.mi-stat:last-child { border-right: 0; }
.mi-stat__k {
  display: block;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7F7F7A;
}
.mi-stat__v {
  display: block;
  margin-top: 6px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #EAEAE6;
  overflow-wrap: anywhere;
}

.mi-panel__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.mi-btn {
  flex: 1;
  height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.mi-btn__ico { width: 16px; height: 16px; flex-shrink: 0; transition: transform 220ms ease; }
.mi-btn--primary { background: var(--mi-yellow); color: #080808; border: 0; }
.mi-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #D1D1CC; }
@media (hover: hover) {
  .mi-btn--primary:hover { background: var(--mi-yellow-hi); transform: translateY(-2px); }
  .mi-btn--primary:hover .mi-btn__ico { transform: translateX(4px); }
  .mi-btn--ghost:hover { border-color: rgba(245, 180, 0, 0.5); color: #fff; transform: translateY(-2px); }
}
.mi-btn:focus-visible { outline: 2px solid var(--mi-yellow); outline-offset: 3px; }

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .mi__head { flex-direction: column; align-items: stretch; gap: 22px; }
  .mi__tabs { overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .mi__grid { grid-template-columns: minmax(0, 1fr); }
  /* Labels crowd the plate once it is narrower than the desktop column. */
  .mi-poi b { display: none; }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .mi { --mi-pad-y: 64px; }
  .mi__inner { padding: 0 16px; }
  .mi__heading h2 { font-size: clamp(48px, 13vw, 56px); }
  .mi__lede { font-size: 15px; }
  .mi__tab { height: 50px; min-width: 108px; font-size: 16px; padding: 0 16px; }
  .mi-panel { padding: 20px 18px; }
  .mi-panel__name { font-size: clamp(38px, 11vw, 48px); }
  .mi-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mi-stat:nth-child(2n) { border-right: 0; }
  .mi-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .mi-panel__actions { flex-direction: column; }
  .mi-btn { flex: 0 0 auto; width: 100%; }
  .mi-drop__tip { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .mi__panel { animation: none; }
  .mi__tab,
  .mi-btn,
  .mi-btn__ico,
  .mi-drop__dot,
  .mi-drop__ring { transition: none; }
}
/* --- pro-loadouts --- */
/* ==================================================== PRO PLAYER LOADOUTS
 *
 * Three cards of equal height, each a setup rebuilt from tournament telemetry.
 *
 * The provenance line under every card is not decoration. These are most-used
 * setups measured across a sample, not a player's fixed kit, and the card is not
 * allowed to imply otherwise.
 */

.pl {
  --pl-yellow: #F5B400;
  --pl-yellow-hi: #FFD028;
  --pl-ink: #F3F3EF;
  --pl-ink-2: #A0A09B;
  --pl-ink-3: #777772;
  --pl-line: rgba(255, 255, 255, 0.11);
  --pl-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--pl-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

.pl__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 180, 0, 0.055), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(245, 180, 0, 0.025), transparent 25%),
    #070707;
}
.pl__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pl__inner {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.pl__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.pl__heading { min-width: 0; }
.pl__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--pl-ink);
}
.pl__heading h2 span { color: var(--pl-yellow); }
.pl__lede {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pl-ink-2);
}

.pl__all {
  flex-shrink: 0;
  height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: transparent;
  border: 1px solid rgba(245, 180, 0, 0.7);
  color: var(--pl-yellow);
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.pl__all-ico { width: 16px; height: 16px; transition: transform 220ms ease; }
@media (hover: hover) {
  .pl__all:hover { background: var(--pl-yellow); color: #080808; transform: translateY(-2px); }
  .pl__all:hover .pl__all-ico { transform: translateX(4px); }
}
.pl__all:focus-visible { outline: 2px solid var(--pl-yellow); outline-offset: 3px; }

/* ------------------------------------------------------------------ Cards */
.pl__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.99), rgba(9, 9, 9, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(
    0 0, calc(100% - 14px) 0, 100% 14px,
    100% calc(100% - 14px), calc(100% - 14px) 100%,
    14px 100%, 0 calc(100% - 14px)
  );
  transition: transform 220ms ease, border-color 220ms ease;
}
@media (hover: hover) {
  .pl-card:hover { transform: translateY(-5px); border-color: rgba(245, 180, 0, 0.45); }
}

/* Slot number. Card order, not a player ranking. */
.pl-card__slot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 54px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 9, 9, 0.96);
  border-right: 1px solid rgba(245, 180, 0, 0.55);
  border-bottom: 1px solid rgba(245, 180, 0, 0.55);
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--pl-yellow);
}

.pl-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px 18px 66px;
  min-height: 96px;
}
.pl-card__id { min-width: 0; }
.pl-card__ign {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #F2F2EE;
  overflow-wrap: anywhere;
}
.pl-card__team {
  margin: 8px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #B2B2AD;
}
.pl-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 8px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888883;
}
.pl-card__meta b { color: var(--pl-yellow); }
/* Team tag, not a stock portrait — no official player photo source exists. */
.pl-card__crest {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 180, 0, 0.3);
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #D7D7D2;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Sits at the same height in all three cards because the header has a floor. */
.pl-card__rule {
  height: 1px;
  margin: 0 18px;
  background: linear-gradient(90deg, #F5B400 0 14%, rgba(255, 255, 255, 0.11) 14% 100%);
}

/* ---------------------------------------------------------------- Weapons */
.pl-weapon {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.pl-weapon__k {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #92928D;
}
.pl-weapon__k em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--pl-yellow);
}
.pl-weapon__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.pl-weapon__shot {
  display: block;
  height: 74px;
}
.pl-weapon__shot img {
  width: 100%;
  height: 100%;
  /* contain, never cover — a cropped barrel is a broken picture. */
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 13px 18px rgba(0, 0, 0, 0.55));
  transition: transform 320ms ease;
}
@media (hover: hover) {
  .pl-weapon:hover .pl-weapon__shot img { transform: translateX(3px); }
}
.pl-weapon__noimg {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A5A55;
}
.pl-weapon__info { min-width: 0; }
.pl-weapon__name {
  display: block;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #EFEFEB;
  overflow-wrap: anywhere;
}

.pl-atts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

/* ------------------------------------------------------------ Kit + items */
.pl-kit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.pl-kit__col {
  min-width: 0;
  padding: 14px 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.pl-kit__col:last-child { border-right: 0; }
.pl-kit__k {
  display: block;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92928D;
}
.pl-kit__items {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
  min-height: 42px;
}

/* One item, with the official icon when Krafton ships one and a two-letter
   abbreviation when it does not — never a stand-in from another item. */
.pl-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 180ms ease;
}
.pl-item img { width: 26px; height: 26px; object-fit: contain; }
.pl-item b {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #9C9C97;
}
.pl-item i {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--pl-yellow);
  color: #080808;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  font-weight: 900;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .pl-item:hover { border-color: rgba(245, 180, 0, 0.5); }
}

/* ------------------------------------------------------------ Sensitivity */
.pl-sens {
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.pl-sens__k {
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pl-yellow);
}
.pl-sens__vals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 9px;
}
.pl-sens__v { display: inline-flex; align-items: baseline; gap: 5px; }
.pl-sens__v i {
  font-style: normal;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #898984;
}
.pl-sens__v b {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #DADAD5;
}

/* The methodology, stated on the card itself. */
.pl-card__src {
  padding: 12px 20px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6E6E69;
}

.pl-card__foot { margin-top: auto; padding: 14px; }
.pl-btn {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E8E8E3;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.pl-btn__ico { width: 16px; height: 16px; transition: transform 180ms ease; }
@media (hover: hover) {
  .pl-btn:hover { border-color: rgba(245, 180, 0, 0.65); color: var(--pl-yellow); background: rgba(245, 180, 0, 0.035); }
  .pl-btn:hover .pl-btn__ico { transform: translateX(4px); }
}
.pl-btn:focus-visible { outline: 2px solid var(--pl-yellow); outline-offset: -3px; }

/* ----------------------------------------------------------------- Banner */
.pl-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 34px;
  margin-top: 24px;
  min-height: 112px;
  padding: 22px 28px;
  background: linear-gradient(90deg, rgba(23, 20, 12, 0.9), rgba(11, 11, 11, 0.96));
  border: 1px solid rgba(245, 180, 0, 0.28);
  clip-path: polygon(
    0 0, calc(100% - 14px) 0, 100% 14px,
    100% calc(100% - 14px), calc(100% - 14px) 100%,
    14px 100%, 0 calc(100% - 14px)
  );
}
.pl-banner__k {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pl-yellow);
}
.pl-banner__ico { width: 20px; height: 20px; }
.pl-banner__copy p {
  margin: 8px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: #AAA9A4;
}
.pl-banner__when { text-align: right; }
.pl-banner__when span {
  display: block;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7F7F7A;
}
.pl-banner__when b {
  display: block;
  margin-top: 5px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #EAEAE6;
}
.pl-banner__btn {
  flex-shrink: 0;
  height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #D1D1CC;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 220ms ease, color 220ms ease;
}
@media (hover: hover) {
  .pl-banner__btn:hover { border-color: rgba(245, 180, 0, 0.6); color: var(--pl-yellow); }
}
.pl-banner__btn:focus-visible { outline: 2px solid var(--pl-yellow); outline-offset: 3px; }

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .pl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-banner { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-banner__btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .pl { --pl-pad-y: 64px; }
  .pl__inner { padding: 0 16px; }
  .pl__head { flex-direction: column; align-items: stretch; gap: 22px; }
  .pl__heading h2 { font-size: clamp(48px, 13vw, 56px); line-height: 0.92; }
  .pl__lede { font-size: 15px; }
  .pl__all { width: 100%; }
  .pl__grid { grid-template-columns: minmax(0, 1fr); }
  .pl-card__ign { font-size: 27px; }
  .pl-weapon__shot { height: 88px; }
  .pl-kit { grid-template-columns: minmax(0, 1fr); }
  .pl-kit__col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .pl-kit__col:last-child { border-bottom: 0; }
  .pl-banner { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
  .pl-banner__when { text-align: left; }
  .pl-banner__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-card,
  .pl-weapon__shot img,
  .pl-btn,
  .pl-btn__ico,
  .pl__all,
  .pl__all-ico,
  .pl-item { transition: none; }
}

.pl .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* --- live-match-center --- */
/* ======================================================= LIVE MATCH CENTER
 *
 * A featured fixture beside a list of the next three, with Live / Upcoming /
 * Results switching between three server-rendered panels.
 *
 * Deliberately free of HUD decoration: no coordinates, no invented serial
 * numbers, no caption above the heading. Every string on screen is either a
 * field of the match or a label for one.
 */

.lmc {
  --lmc-yellow: #F5B400;
  --lmc-yellow-hi: #FFD02A;
  --lmc-red: #D92B2B;
  --lmc-ink: #F3F3EF;
  --lmc-ink-2: #A1A19C;
  --lmc-ink-3: #757570;
  --lmc-line: rgba(255, 255, 255, 0.11);
  --lmc-line-hot: rgba(245, 180, 0, 0.5);
  --lmc-feat-min: 590px;
  --lmc-crest: 118px;
  --lmc-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--lmc-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

.lmc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 45%, rgba(245, 180, 0, 0.055), transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(255, 110, 20, 0.025), transparent 28%),
    #070707;
}
.lmc__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.lmc__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.lmc__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.lmc__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--lmc-ink);
}
.lmc__heading p {
  max-width: 620px;
  margin: 14px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #9B9B96;
}

/* ------------------------------------------------------------------- Tabs */
.lmc__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  flex-shrink: 0;
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 13, 13, 0.9);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}
.lmc__tab {
  padding: 0 30px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8D8D88;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) {
  .lmc__tab:not(.is-active):hover {
    color: #F2F2EE;
    background: rgba(255, 255, 255, 0.035);
  }
}
.lmc__tab.is-active {
  background: linear-gradient(135deg, #F5B400, #D99500);
  color: #090909;
  box-shadow:
    0 0 0 1px rgba(255, 205, 45, 0.25),
    0 12px 28px rgba(245, 180, 0, 0.12);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
}
.lmc__tab:focus-visible {
  outline: 2px solid var(--lmc-yellow);
  outline-offset: -4px;
}

/* Panels fade in rather than snap. No height animation — every panel is the
   same shape, so switching cannot move what sits under the block. */
.lmc__panel { animation: lmc-panel-in 200ms ease both; }
@keyframes lmc-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.lmc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

/* ------------------------------------------------------------------ Chips */
.lmc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 12px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.lmc-chip--upcoming  { background: var(--lmc-yellow); color: #080808; }
.lmc-chip--live      { background: var(--lmc-red); color: #FFFFFF; }
.lmc-chip--finished,
.lmc-chip--cancelled,
.lmc-chip--postponed { background: rgba(255, 255, 255, 0.1); color: #B8B8B3; }
.lmc-chip--live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: lmc-pulse 1.8s ease-in-out infinite;
}
@keyframes lmc-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50%      { opacity: 0.45; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
}

/* --------------------------------------------------------- Featured match */
.lmc-feat {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--lmc-feat-min);
  height: 100%;
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.72), rgba(8, 8, 8, 0.98)), var(--lmc-shot);
  background-size: 102% 102%;
  background-position: center;
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
  transition: transform 220ms ease, border-color 220ms ease, background-size 400ms ease;
}
@media (hover: hover) {
  .lmc-feat:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 180, 0, 0.42);
    background-size: 104% 104%;
  }
}
/* Vignette plus a denser floor under the data strip, so the photograph never
   competes with the type sitting on it. */
.lmc-feat__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 35%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 26%),
    linear-gradient(0deg, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.4) 26%, transparent 46%);
}

.lmc-feat__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.lmc-feat__idline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lmc-feat__tour {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #F0F0EC;
}
.lmc-feat__facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--lmc-ink-2);
}
.lmc-feat__facts span + span::before {
  content: "•";
  margin-right: 14px;
  color: var(--lmc-yellow);
}

.lmc-feat__when {
  flex-shrink: 0;
  text-align: right;
}
.lmc-feat__clock {
  display: block;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--lmc-yellow);
}
.lmc-feat__count {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--lmc-ink-2);
}

/* ------------------------------------------------------------- Team block */
.lmc-feat__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  flex: 1;
  min-height: 0;
  padding: 26px 0;
}
.lmc-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: opacity 220ms ease;
}
.lmc-team.is-lost { opacity: 0.68; }

.lmc-team__crest {
  display: grid;
  place-items: center;
  width: var(--lmc-crest);
  height: var(--lmc-crest);
  padding: 10px;
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
/* contain, never cover: a crest must not be cropped or stretched. */
.lmc-team__crest img,
.lmc-team__crest svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lmc-team__name {
  margin-top: 18px;
  max-width: 100%;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  color: #F4F4F0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.lmc-team.is-win .lmc-team__name { color: var(--lmc-yellow); }
/* The winner is named, not merely tinted — colour alone would carry the fact. */
.lmc-team__tag {
  margin-top: 10px;
  padding: 4px 10px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #090909;
  background: var(--lmc-yellow);
}

.lmc-feat__mid {
  display: grid;
  place-items: center;
  position: relative;
}
/* Thin angular brackets around the centre, as in the reference. */
.lmc-feat__mid::before,
.lmc-feat__mid::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(245, 180, 0, 0.55);
  border-style: solid;
}
.lmc-feat__mid::before { top: 14px; left: 2px; border-width: 1px 0 0 1px; }
.lmc-feat__mid::after  { bottom: 14px; right: 2px; border-width: 0 1px 1px 0; }

.lmc-vs {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}
.lmc-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.72);
}
.lmc-score b { font-weight: 800; }
.lmc-score b.is-win { color: var(--lmc-yellow); }
.lmc-score i { font-style: normal; opacity: 0.45; }

/* --------------------------------------------------------- Lobby result --
   A real PUBG match is 16 teams in one game, so the featured card shows the
   finishing order rather than two sides with a scoreline. */
.lmc-standings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lmc-standings__row {
  display: grid;
  grid-template-columns: 30px 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(10, 10, 10, 0.72);
}
.lmc-standings__row.is-win { background: rgba(242, 169, 0, 0.1); }
.lmc-standings__rank {
  font-family: var(--font-display, "Oswald", "Oswald Fallback", sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #6E6E68;
}
.lmc-standings__row.is-win .lmc-standings__rank { color: var(--lmc-yellow, #F2A900); }
.lmc-standings__crest { display: grid; place-items: center; width: 34px; height: 34px; }
.lmc-standings__name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-display, "Oswald", "Oswald Fallback", sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #D8D8D2;
}
.lmc-standings__row.is-win .lmc-standings__name { color: #fff; }
.lmc-standings__kills { display: flex; align-items: baseline; gap: 5px; }
.lmc-standings__kills b {
  font-family: var(--font-display, "Oswald", "Oswald Fallback", sans-serif);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #E4E4DE;
}
.lmc-standings__kills i {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #77776F;
}
.lmc-standings__foot {
  margin: 9px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #77776F;
}

/* Compact lobby result in the side list. */
.lmc-row__lobby {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.lmc-row__place {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lmc-yellow, #F2A900);
}
/* .lmc-row stacks its children in a column, so the chevron dropped onto a line
   of its own beneath the winner. Park it against the row's right edge instead. */
.lmc-row__arrowwrap { display: inline-flex; align-items: center; flex-shrink: 0; }
.lmc-row:has(.lmc-row__lobby) { position: relative; }
.lmc-row__lobby { padding-right: 28px; }
.lmc-row__lobby ~ .lmc-row__arrowwrap {
  position: absolute;
  right: 22px;
  bottom: 22px;
}

/* ------------------------------------------------------------ Data strip */
.lmc-feat__data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(8, 8, 8, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lmc-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  min-width: 0;
  padding: 16px 18px;
}
.lmc-fact + .lmc-fact { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.lmc-fact__ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--lmc-yellow);
}
.lmc-fact__body { min-width: 0; }
.lmc-fact__k {
  display: block;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7F7F7A;
}
.lmc-fact__v {
  display: block;
  margin-top: 4px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #EAEAE6;
  /* Two lines rather than an ellipsis: "OFFICIAL BROADCAST" is short enough to
     wrap and clipping it to "OFFICIAL BROAD…" reads as a bug. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------- Actions */
.lmc-feat__actions {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.lmc-btn {
  flex: 1;
  height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color 220ms ease, transform 220ms ease, color 220ms ease;
}
.lmc-btn__ico { width: 18px; height: 18px; flex-shrink: 0; }
.lmc-btn--primary { background: var(--lmc-yellow); color: #080808; }
.lmc-btn--ghost {
  background: rgba(12, 12, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #DADAD6;
}
.lmc-btn--ghost[aria-pressed="true"] {
  color: var(--lmc-yellow);
  border-color: var(--lmc-line-hot);
}
@media (hover: hover) {
  .lmc-btn--primary:hover { background: var(--lmc-yellow-hi); transform: translateY(-2px); }
  .lmc-btn--ghost:hover { background: rgba(24, 24, 24, 0.9); color: #FFFFFF; transform: translateY(-2px); }
}
.lmc-btn:focus-visible { outline: 2px solid var(--lmc-yellow); outline-offset: 3px; }

/* ------------------------------------------------------------- Match list */
.lmc__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.lmc-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 174px;
  min-width: 0;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.98), rgba(11, 11, 11, 0.98));
  border: 1px solid var(--lmc-line);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
@media (hover: hover) {
  .lmc-row:hover {
    transform: translateX(-4px);
    border-color: var(--lmc-line-hot);
    background: linear-gradient(145deg, rgba(30, 27, 16, 0.98), rgba(12, 12, 12, 0.98));
  }
  .lmc-row:hover .lmc-row__arrow { transform: translateX(4px); }
}
.lmc-row:focus-visible { outline: 2px solid var(--lmc-yellow); outline-offset: 2px; }

.lmc-row__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lmc-row__tour {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #D5D5D0;
}
.lmc-row__time {
  flex-shrink: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--lmc-yellow);
}

.lmc-row__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.lmc-row__side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lmc-row__crest {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}
.lmc-row__crest img,
.lmc-row__crest svg { width: 100%; height: 100%; object-fit: contain; }
.lmc-row__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #EDEDE9;
}
.lmc-row__side.is-win .lmc-row__name { color: var(--lmc-yellow); }
.lmc-row__mid {
  flex-shrink: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--lmc-ink-3);
}
.lmc-row__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--lmc-yellow);
  transition: transform 220ms ease;
}

/* -------------------------------------------------------------- Messages */
.lmc-empty {
  margin: 0;
  padding: 56px 24px;
  text-align: center;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lmc-ink-2);
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--lmc-line);
}
.lmc-empty--inline {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  font-size: 14px;
}

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .lmc { --lmc-feat-min: 0px; --lmc-crest: 96px; }
  .lmc__head { flex-direction: column; align-items: stretch; gap: 22px; }
  .lmc__grid { grid-template-columns: minmax(0, 1fr); }
  .lmc-feat__teams { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); }
  .lmc__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .lmc {
    --lmc-pad-y: 64px;
    --lmc-crest: 82px;
  }
  .lmc__inner { padding: 0 16px; }
  .lmc__heading h2 { font-size: clamp(48px, 13vw, 56px); }
  .lmc__heading p { font-size: 15px; }
  .lmc__tabs { min-height: 56px; }
  .lmc__tab { padding: 0 10px; font-size: 15px; }

  .lmc-feat { padding: 20px 18px 22px; }
  .lmc-feat__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lmc-feat__when { text-align: left; }
  .lmc-feat__clock { font-size: 32px; }
  .lmc-feat__tour { font-size: 19px; }
  .lmc-feat__teams { grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .lmc-team__name { font-size: clamp(26px, 7vw, 30px); margin-top: 12px; }
  .lmc-vs { font-size: 30px; }
  .lmc-score { font-size: 26px; }
  .lmc-feat__mid::before,
  .lmc-feat__mid::after { display: none; }

  .lmc-feat__data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmc-fact { min-height: 70px; padding: 13px 14px; gap: 11px; }
  .lmc-fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .lmc-fact:nth-child(odd) { border-left: 0; }

  /* flex:0 0 auto matters here. Once the row becomes a column the main axis is
     vertical, so the inherited flex-basis:0 would beat `height` and collapse the
     buttons to a 20px line box. */
  .lmc-feat__actions { flex-direction: column; }
  .lmc-btn { flex: 0 0 auto; width: 100%; height: 52px; }

  .lmc__list { display: flex; }
  .lmc-row { min-height: 0; padding: 18px; }
  .lmc-row__time { font-size: 21px; }
}

/* Very narrow: stack the fixture instead of squeezing three columns. The cut is
   at 390 rather than 400 so the common 390/393 phones still get the side-by-side
   pairing the design is built around; only genuinely narrow screens stack. */
@media (max-width: 389px) {
  .lmc-feat__teams { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* Two 144px-wide cells cannot hold "OFFICIAL BROADCAST" on two lines. */
  .lmc-fact { gap: 9px; padding: 11px 10px; }
  .lmc-fact__v { font-size: 16px; -webkit-line-clamp: 3; line-clamp: 3; }
  .lmc-row__teams { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .lmc-row__mid { grid-column: 2; grid-row: 1 / span 2; }
  .lmc-row__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lmc__panel { animation: none; }
  .lmc-chip--live i { animation: none; }
  .lmc__tab,
  .lmc-feat,
  .lmc-row,
  .lmc-btn,
  .lmc-team,
  .lmc-row__arrow { transition: none; }
}

/* ------------------------------------------------------- Calendar tabs --
   The match API only publishes played games, so Live and Upcoming show the
   tournament calendar: what runs today, what is scheduled next. */
.lmc-cal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lmc-cal__row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.98), rgba(11, 11, 11, 0.98));
  border: 1px solid var(--lmc-line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.lmc-cal__when {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.lmc-cal__when b {
  font-family: var(--font-display, "Oswald", "Oswald Fallback", sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #F0F0EA;
  white-space: nowrap;
}
.lmc-cal__when i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #77776F;
  white-space: nowrap;
}
.lmc-cal__when i::before { content: "→ "; color: #4A4A45; }
.lmc-cal__what { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lmc-cal__name {
  font-family: var(--font-display, "Oswald", "Oswald Fallback", sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: #F0F0EA;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.lmc-cal__name:hover { color: var(--lmc-yellow, #F2A900); }
.lmc-cal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #85857F;
}
.lmc-cal__meta span:first-child { color: var(--lmc-yellow, #F2A900); }
.lmc-cal__count {
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lmc-yellow, #F2A900);
}
@media (max-width: 640px) {
  .lmc-cal__row { grid-template-columns: minmax(0, 1fr) auto; }
  .lmc-cal__when { display: none; }
}
/* --- team-power-rankings --- */
/* ==================================================== TEAM POWER RANKINGS
 *
 * A leader card beside a ranking table, both the same height, switched by
 * region. Every figure on screen comes from the team CPT — see inc/data.php.
 *
 * No fabricated HUD text: the trend column and the result chips only exist when
 * an editor has recorded a previous position or a placement.
 */

.tpr {
  --tpr-yellow: #F5B400;
  --tpr-yellow-hi: #FFD028;
  --tpr-up: #7BC442;
  --tpr-down: #E44A45;
  --tpr-ink: #F3F3EF;
  --tpr-ink-2: #A0A09B;
  --tpr-ink-3: #777772;
  --tpr-line: rgba(255, 255, 255, 0.11);
  --tpr-line-hot: rgba(245, 180, 0, 0.48);
  --tpr-lead-min: 610px;
  --tpr-crest: 220px;
  --tpr-row-crest: 64px;
  --tpr-row-min: 108px;
  --tpr-pad-y: 96px;

  position: relative;
  isolation: isolate;
  padding: var(--tpr-pad-y) 0;
  background: #070707;
  overflow: hidden;
}

.tpr__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 15%, rgba(245, 180, 0, 0.065), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(245, 180, 0, 0.035), transparent 28%),
    #070707;
}
.tpr__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
}

.tpr__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------- Head */
.tpr__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}
.tpr__heading { flex: 1 1 auto; min-width: 0; }
.tpr__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #F2F2EE;
}
.tpr__lede {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 720px;
  margin: 14px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #A0A09B;
}
.tpr__dash {
  flex-shrink: 0;
  width: 18px;
  height: 2px;
  background: var(--tpr-yellow);
  transform: translateY(-5px);
}

.tpr__aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.tpr__updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #858580;
}
.tpr__updated-ico { width: 15px; height: 15px; color: var(--tpr-yellow); opacity: 0.75; }

/* ------------------------------------------------------------------- Tabs */
.tpr__tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100px, 1fr);
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 12, 0.92);
}
.tpr__tab {
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #8D8D88;
  cursor: pointer;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 200ms ease, background-color 200ms ease;
}
.tpr__tab:last-child { border-right: 0; }
@media (hover: hover) {
  .tpr__tab:not(.is-active):hover { color: #F1F1ED; background: rgba(255, 255, 255, 0.035); }
}
.tpr__tab.is-active {
  background: linear-gradient(135deg, #F8BD0A, #E6A600);
  color: #080808;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 26px rgba(245, 180, 0, 0.12);
}
.tpr__tab:focus-visible { outline: 2px solid var(--tpr-yellow); outline-offset: -4px; }

.tpr__panel { animation: tpr-in 200ms ease both; }
@keyframes tpr-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

.tpr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* ------------------------------------------------------------ Leader card */
.tpr-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--tpr-lead-min);
  padding: 28px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  /* A soft gold pool behind the crest, not a photograph — the crest is meant to
     be the only picture in this card. */
  background:
    radial-gradient(circle at 22% 42%, rgba(245, 180, 0, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(24, 24, 24, 0.99), rgba(10, 10, 10, 0.99));
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
  transition: transform 220ms ease, border-color 220ms ease;
}
@media (hover: hover) {
  .tpr-lead:hover { transform: translateY(-3px); border-color: rgba(245, 180, 0, 0.4); }
  .tpr-lead:hover .tpr-lead__crest { transform: scale(1.025); }
}

.tpr-lead__top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tpr-lead__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 74px;
  padding: 0 20px;
  background: linear-gradient(135deg, #F8BD0A, #E3A300);
  color: #070707;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.tpr-lead__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--tpr-yellow);
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tpr-lead__crown { width: 17px; height: 17px; }

.tpr-lead__main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  flex: 1;
  min-height: 0;
  padding: 24px 0;
}
.tpr-lead__crest {
  display: grid;
  place-items: center;
  width: var(--tpr-crest);
  height: var(--tpr-crest);
  padding: 18px;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.94), rgba(10, 10, 10, 0.94));
  border: 1px solid rgba(245, 180, 0, 0.32);
  clip-path: polygon(14% 0, 86% 0, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0 86%, 0 14%);
  transition: transform 350ms ease;
}
/* contain, never cover, and no white plate behind a transparent mark. */
.tpr-lead__crest img,
.tpr-lead__crest svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.42));
}
.tpr-lead__id { min-width: 0; }
.tpr-lead__name {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #F3F3EF;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.tpr-lead__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 18px 0 0;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #979792;
}
.tpr-lead__meta span + span::before {
  content: "•";
  margin-right: 12px;
  color: var(--tpr-yellow);
}

/* ------------------------------------------------------------------ Stats */
.tpr-lead__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}
.tpr-stat {
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.tpr-stat:first-child { padding-left: 0; }
.tpr-stat:last-child { border-right: 0; }
.tpr-stat__k {
  display: block;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #858580;
}
.tpr-stat__v {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #F2F2EE;
  overflow-wrap: anywhere;
}
.tpr-stat__v.is-accent { color: var(--tpr-yellow); }

/* ------------------------------------------------------- Leader card foot */
.tpr-lead__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tpr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 54px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid var(--tpr-yellow);
  color: var(--tpr-yellow);
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.tpr-btn__ico { width: 17px; height: 17px; transition: transform 220ms ease; }
@media (hover: hover) {
  .tpr-btn:hover { background: var(--tpr-yellow); color: #080808; transform: translateY(-2px); }
  .tpr-btn:hover .tpr-btn__ico { transform: translateX(4px); }
}
.tpr-btn:focus-visible { outline: 2px solid var(--tpr-yellow); outline-offset: 3px; }

.tpr-lead__results { text-align: right; }
.tpr-lead__results-k {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #858580;
}
.tpr-chips { display: flex; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tpr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.tpr-chip--gold  { background: var(--tpr-yellow); color: #080808; }
.tpr-chip--green { background: #647B36; color: #F3F3EF; }
.tpr-chip--grey  { background: #242424; color: #C8C8C3; }

/* ------------------------------------------------------------ Rank table */
.tpr-table {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tpr-table__head,
.tpr-row {
  display: grid;
  grid-template-columns: 100px minmax(180px, 1fr) 110px 80px 48px;
  align-items: center;
  padding: 0 22px;
}
.tpr-table__head {
  min-height: 62px;
  background: rgba(255, 255, 255, 0.018);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #858580;
}
.tpr-table__num { text-align: right; }

.tpr-row {
  position: relative;
  flex: 1;
  min-height: var(--tpr-row-min);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 180ms ease, transform 180ms ease;
}
.tpr-row:last-child { border-bottom: 0; }
/* Left edge lights up as the pointer lands, without moving anything. */
.tpr-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--tpr-yellow);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
@media (hover: hover) {
  .tpr-row:hover {
    background: linear-gradient(90deg, rgba(245, 180, 0, 0.045), rgba(255, 255, 255, 0.015));
    transform: translateX(3px);
  }
  .tpr-row:hover::before { transform: scaleY(1); }
  .tpr-row:hover .tpr-row__arrow { transform: translateX(4px); }
}
.tpr-row:focus-visible { outline: 2px solid var(--tpr-yellow); outline-offset: -2px; }

.tpr-row__rank {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
.tpr-row__rank b {
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #D0D0CB;
}
.tpr-trend {
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tpr-trend--up   { color: var(--tpr-up); }
.tpr-trend--down { color: var(--tpr-down); }
.tpr-trend--same { color: #777772; }

.tpr-row__team {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.tpr-row__crest {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--tpr-row-crest);
  height: var(--tpr-row-crest);
  padding: 8px;
  background: linear-gradient(145deg, rgba(29, 29, 29, 0.96), rgba(10, 10, 10, 0.96));
  border: 1px solid rgba(245, 180, 0, 0.25);
}
.tpr-row__crest img,
.tpr-row__crest svg { width: 100%; height: 100%; object-fit: contain; }
.tpr-row__id { min-width: 0; }
.tpr-row__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #F0F0EC;
}
.tpr-row__where {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #777772;
}
.tpr-row__points,
.tpr-row__wins {
  text-align: right;
  font-family: "Barlow Condensed", "Barlow Fallback", sans-serif;
  font-variant-numeric: tabular-nums;
}
.tpr-row__points { font-size: 29px; font-weight: 800; color: var(--tpr-yellow); }
.tpr-row__wins   { font-size: 25px; font-weight: 700; color: #D2D2CD; }
.tpr-row__arrow {
  justify-self: end;
  width: 22px;
  height: 22px;
  color: var(--tpr-yellow);
  transition: transform 180ms ease;
}

.tpr-empty {
  margin: 0;
  padding: 56px 24px;
  text-align: center;
  font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
  font-size: 16px;
  color: var(--tpr-ink-2);
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--tpr-line);
}
.tpr-empty--inline { flex: 1; display: grid; place-items: center; border: 0; background: none; font-size: 14px; }

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1199px) {
  .tpr { --tpr-lead-min: 0px; --tpr-crest: 200px; --tpr-row-crest: 54px; --tpr-row-min: 92px; }
  .tpr__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpr__aside { align-items: flex-start; width: 100%; max-width: 620px; }
  .tpr__tabs { width: 100%; }
  .tpr__grid { grid-template-columns: minmax(0, 1fr); }
  .tpr-lead__main { grid-template-columns: 200px minmax(0, 1fr); gap: 26px; }
  .tpr-table__head,
  .tpr-row { grid-template-columns: 86px minmax(150px, 1fr) 90px 66px 40px; padding: 0 16px; }
  .tpr-row__rank b { font-size: 32px; }
  .tpr-row__name { font-size: 21px; }
  .tpr-row__points { font-size: 25px; }
  .tpr-row__wins { font-size: 22px; }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .tpr { --tpr-pad-y: 64px; --tpr-crest: 150px; --tpr-row-crest: 48px; }
  .tpr__inner { padding: 0 16px; }
  .tpr__heading h2 { font-size: clamp(48px, 13vw, 56px); line-height: 0.92; }
  .tpr__lede { font-size: 15px; }
  .tpr__tabs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpr__tab { border-right: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); min-height: 52px; }
  .tpr__tab:nth-child(2n) { border-right: 0; }
  .tpr__tab:nth-last-child(-n+2) { border-bottom: 0; }

  .tpr-lead { padding: 20px 18px 22px; }
  .tpr-lead__main { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: center; padding: 20px 0; }
  .tpr-lead__crest { margin: 0 auto; }
  .tpr-lead__name { font-size: clamp(38px, 11vw, 50px); }
  .tpr-lead__meta { justify-content: center; }
  .tpr-lead__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpr-stat { padding: 18px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .tpr-stat:first-child { padding-left: 14px; }
  .tpr-stat:nth-child(2n) { border-right: 0; }
  .tpr-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .tpr-stat__v { font-size: 30px; }

  .tpr-lead__foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .tpr-btn { width: 100%; }
  .tpr-lead__results { text-align: left; }
  .tpr-chips { flex-wrap: wrap; }

  /* The five-column table cannot survive a phone. Each row becomes a small card:
     rank + trend + rating on top, crest and name in the middle, wins below. */
  .tpr-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "rank  .     points"
      "team  team  team"
      "wins  wins  arrow";
    row-gap: 14px;
    padding: 18px 16px;
    min-height: 0;
  }
  .tpr-table__head { display: none; }
  .tpr-row__rank { grid-area: rank; }
  .tpr-row__points { grid-area: points; align-self: center; }
  .tpr-row__team { grid-area: team; }
  .tpr-row__wins { grid-area: wins; text-align: left; font-size: 20px; }
  .tpr-row__arrow { grid-area: arrow; align-self: center; }
  .tpr-row__wins::after {
    content: " WINS";
    font-family: var(--font-sans, "Inter", "Inter Fallback", sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #777772;
  }
  .tpr-row__name { font-size: 22px; white-space: normal; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .tpr__panel { animation: none; }
  .tpr__tab,
  .tpr-lead,
  .tpr-lead__crest,
  .tpr-row,
  .tpr-row::before,
  .tpr-row__arrow,
  .tpr-btn,
  .tpr-btn__ico { transition: none; }
}

/* Visually hidden but readable by assistive tech — the trend and placement
   chips carry their meaning as text, not only as a colour. */
.tpr .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
