/* Lizard '13 brand refresh — keeps the v1 system, adds the launcher identity and mascot. */

:root {
  --max: 1280px;
}

.section-block { padding: 88px 0; }

.brand-mark-image {
  overflow: hidden;
  background: #08110c;
  border: 1px solid rgba(154, 255, 183, .18);
  box-shadow: 0 0 30px rgba(84, 241, 124, .16);
}
.brand-mark-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  transform: none;
}
.site-header .brand-mark-image {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.footer-brand .brand-mark-image {
  width: 42px;
  height: 42px;
}

.hero {
  min-height: 710px;
  padding: 78px 0 68px;
  grid-template-columns: 1.02fr .98fr;
  gap: 58px;
}
.hero h1 {
  font-size: clamp(76px, 8.4vw, 132px);
}
.hero-lede {
  max-width: 690px;
}
.hero-meta {
  margin-top: 34px;
}

.button-disabled {
  cursor: default;
  user-select: none;
  opacity: .62;
  filter: saturate(.7);
}
.button-disabled:hover {
  transform: none;
  box-shadow: none;
}
.button-discord.button-disabled {
  background: rgba(88, 101, 242, .34);
  border-color: rgba(132, 143, 255, .22);
}

.mascot-panel {
  min-height: 565px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 181, .2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 76% 40%, rgba(64,255,109,.16), transparent 18rem),
    linear-gradient(155deg, #08110c, #030705 72%);
  box-shadow:
    0 38px 110px rgba(0,0,0,.42),
    0 0 90px rgba(73,238,111,.07);
  isolation: isolate;
}
.mascot-art {
  position: absolute;
  width: min(94%, 480px);
  height: auto;
  right: 1.5%;
  top: 66px;
  left: auto;
  bottom: auto;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.045);
  transform: none;
}
.mascot-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,8,5,.56) 0%, rgba(3,8,5,.02) 24%, rgba(3,8,5,.08) 48%, rgba(3,8,5,.91) 100%),
    linear-gradient(90deg, rgba(3,8,5,.38) 0%, rgba(3,8,5,0) 42%);
  z-index: 1;
}
.mascot-topline {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(190,255,205,.16);
  border-radius: 999px;
  background: rgba(3,8,5,.64);
  backdrop-filter: blur(14px);
  color: #b7c9bb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.mascot-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 18px;
  border: 1px solid rgba(190,255,205,.16);
  border-radius: 19px;
  background: rgba(4,10,6,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.mascot-status-title {
  display: grid;
  gap: 2px;
  margin-bottom: 13px;
}
.mascot-status-title > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mascot-status-title span {
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}
.mascot-status-title strong {
  font-size: 22px;
  letter-spacing: -.035em;
}
.mascot-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(154, 255, 183, .12);
  border-radius: 12px;
  overflow: hidden;
}
.mascot-status-grid > div {
  min-width: 0;
  padding: 10px 9px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
  align-items: center;
  background: rgba(9,19,13,.78);
  border-right: 1px solid rgba(154,255,183,.09);
}
.mascot-status-grid > div:last-child { border-right: 0; }
.mascot-status-grid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.mascot-status-grid small {
  grid-column: 2;
  color: #74877a;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.server-stats-freshness {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #74877a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.server-stats-freshness .status-light {
  display: inline-block;
  flex: 0 0 auto;
  margin-top: 0;
}
.server-stats-freshness > span {
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-overflow: ellipsis;
}
.server-stats-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(154,255,183,.12);
  border-radius: 12px;
  background: rgba(9,19,13,.68);
  overflow: hidden;
}
.server-stats-grid > div {
  min-width: 0;
  padding: 8px 9px 9px;
  display: grid;
  gap: 1px;
  text-align: center;
  border-right: 1px solid rgba(154,255,183,.09);
}
.server-stats-grid > div:last-child { border-right: 0; }
.server-stats-grid strong {
  color: #eaf4ec;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -.025em;
}
.server-stats-grid small {
  overflow: hidden;
  color: #74877a;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: .055em;
  white-space: nowrap;
}

/* Live Lizard TOTW */
.totw-wrap {
  scroll-margin-top: 96px;
  border-top: 1px solid rgba(91,255,131,.13);
  border-bottom: 1px solid rgba(91,255,131,.13);
  background:
    radial-gradient(circle at 88% 16%, rgba(84,241,124,.1), transparent 24rem),
    linear-gradient(145deg, rgba(7,19,11,.96), rgba(3,8,5,.98));
}
.totw-heading { margin-bottom: 34px; }
.totw-heading .section-copy { max-width: 700px; margin: 18px 0 0; }
.totw-livebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(154,255,183,.16);
  border-radius: 17px;
  background: rgba(5,12,8,.8);
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.24);
}
.totw-rotation-tab {
  min-width: 0;
  min-height: 74px;
  padding: 13px 18px 14px;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(154,255,183,.1);
  color: #839388;
  background: transparent;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.totw-rotation-tab:last-child { border-right: 0; }
.totw-rotation-tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--green);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}
.totw-rotation-tab:hover {
  color: #d8e7db;
  background: rgba(255,255,255,.025);
}
.totw-rotation-tab:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: -3px;
}
.totw-rotation-tab[aria-selected="true"] {
  color: #eef7f0;
  background: linear-gradient(145deg, rgba(62,148,82,.14), rgba(15,39,23,.22));
  box-shadow: inset 0 0 30px rgba(84,241,124,.045);
}
.totw-rotation-tab[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.totw-rotation-tab > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-transform: none;
}
.totw-rotation-tab small {
  overflow: hidden;
  max-width: 100%;
  color: #687a6e;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .015em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}
.totw-rotation-tab small i {
  color: #7e9184;
  font-style: normal;
}
.totw-rotation-tab small strong {
  color: inherit;
  font-size: inherit;
  font-weight: 800;
}
.totw-rotation-tab[aria-selected="true"] small { color: #a2b5a7; }
.totw-rotation-tab.is-live > span { color: var(--green); }
.totw-rotation-tab .pulse { flex: 0 0 auto; }
.totw-status {
  margin: 22px 0 0;
  min-height: 24px;
  color: #8da091;
  font-size: 13px;
}
.totw-status.is-error { color: #ff8a8a; }
.totw-content {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 16px;
  align-items: stretch;
  transition: opacity .18s ease;
}
.totw-content[aria-busy="true"] { opacity: .56; }
.totw-content[hidden] { display: none; }
.totw-pitch-panel, .totw-bench-panel {
  border: 1px solid rgba(154,255,183,.15);
  border-radius: 22px;
  background: rgba(5,12,8,.72);
  overflow: hidden;
}
.totw-panel-heading {
  min-height: 78px;
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(154,255,183,.11);
}
.totw-panel-heading > div { display: grid; }
.totw-panel-heading span, .totw-panel-heading small {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.totw-panel-heading h3 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.025em; }
.totw-panel-heading small { color: #708276; white-space: nowrap; }
.totw-pitch {
  min-height: 665px;
  position: relative;
  padding: 38px 24px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(198,255,211,.11) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(56,142,78,.07) 0 12.5%, rgba(84,241,124,.025) 12.5% 25%),
    linear-gradient(180deg, rgba(24,94,43,.44), rgba(6,31,14,.78));
}
.totw-pitch::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(210,255,220,.16);
  border-radius: 12px;
  pointer-events: none;
}
.pitch-circle {
  position: absolute;
  left: 50%; top: 50%;
  width: 116px; height: 116px;
  border: 1px solid rgba(210,255,220,.13);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.pitch-line-top {
  position: absolute;
  left: 50%; top: 20px;
  width: 180px; height: 80px;
  border: 1px solid rgba(210,255,220,.13);
  border-top: 0;
  transform: translateX(-50%);
}
.totw-xi {
  height: 100%;
  min-height: 589px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-template-rows: repeat(4, 1fr);
  gap: 14px 9px;
  align-items: center;
}
.totw-card {
  width: 100%;
  min-width: 0;
  min-height: 122px;
  padding: 11px 10px 9px;
  position: relative;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(145deg, #181b18, #080a09 72%);
  box-shadow: 0 13px 28px rgba(0,0,0,.35);
  overflow: hidden;
}
.totw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.2), transparent 34%);
  opacity: .55;
  pointer-events: none;
}
.totw-card.family-tots { background: linear-gradient(145deg, #155784, #05182a 74%); border-color: rgba(103,204,255,.42); }
.totw-card.family-motm { background: linear-gradient(145deg, #a8470b, #2a1003 74%); border-color: rgba(255,166,86,.5); }
.totw-card.family-ultra { background: linear-gradient(145deg, #715516, #161005 74%); border-color: rgba(255,220,112,.58); }
.totw-card-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.totw-card-rating { display: grid; line-height: .9; }
.totw-card-rating strong { font-size: 24px; letter-spacing: -.06em; }
.totw-card-rating span { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.totw-card-family { color: rgba(255,255,255,.74); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.totw-card-copy { position: relative; display: grid; }
.totw-card-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; letter-spacing: -.01em; }
.totw-card-copy small { color: rgba(255,255,255,.54); font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.totw-xi .slot-0 { grid-column: 2 / 4; grid-row: 4; justify-self: center; width: 52%; }
.totw-xi .slot-1 { grid-column: 1; grid-row: 3; }
.totw-xi .slot-2 { grid-column: 2; grid-row: 3; }
.totw-xi .slot-3 { grid-column: 3; grid-row: 3; }
.totw-xi .slot-4 { grid-column: 4; grid-row: 3; }
.totw-xi .slot-5 { grid-column: 1; grid-row: 2; }
.totw-xi .slot-6 { grid-column: 2; grid-row: 2; }
.totw-xi .slot-7 { grid-column: 3; grid-row: 2; }
.totw-xi .slot-8 { grid-column: 4; grid-row: 2; }
.totw-xi .slot-9 { grid-column: 2; grid-row: 1; }
.totw-xi .slot-10 { grid-column: 3; grid-row: 1; }
.totw-bench-panel { display: flex; flex-direction: column; }
.totw-bench {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.totw-bench .totw-card { min-height: 126px; }
.totw-note {
  margin: auto 20px 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(154,255,183,.1);
  color: #728478;
  font-size: 11px;
}

.section-heading { margin-bottom: 40px; }
.feature-grid { gap: 12px; }
.feature-card {
  min-height: 225px;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84,241,124,.09), transparent 70%);
  pointer-events: none;
}
.feature-card h3 { margin-top: 34px; }

.split-section {
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
}

.development-inner { padding: 88px 0; }

.muted-link {
  color: #6f8173;
  cursor: default;
}

@media (min-width: 1500px) {
  :root { --max: 1360px; }
  .site-header { width: min(calc(100% - 52px), 1360px); }
  .hero { grid-template-columns: 1.03fr .97fr; }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 64px;
  }
  .mascot-panel { min-height: 560px; }
  .mascot-art {
    width: min(92%, 480px);
    right: 4%;
    top: 62px;
  }
  .split-section { gap: 48px; }
  .totw-content { grid-template-columns: 1fr; }
  .totw-bench { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .totw-wrap { scroll-margin-top: 80px; }
  .section-block { padding: 70px 0; }
  .site-header .brand-mark-image { width: 40px; height: 40px; }
  .mascot-panel { min-height: 490px; border-radius: 20px; }
  .mascot-art {
    width: min(96%, 460px);
    right: 2%;
    top: 58px;
  }
  .mascot-status-grid { grid-template-columns: 1fr 1fr; }
  .mascot-status-grid > div:nth-child(2) { border-right: 0; }
  .mascot-status-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(154,255,183,.09); }
  .mascot-status-title strong { font-size: 19px; }
  .totw-livebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .totw-rotation-tab { min-height: 64px; padding: 10px 8px 11px; }
  .totw-rotation-tab > span { font-size: 13px; }
  .totw-rotation-tab small { font-size: 10px; }
  .totw-pitch { min-height: 575px; padding: 34px 15px; }
  .totw-xi { min-height: 507px; gap: 10px 6px; }
  .totw-card { min-height: 104px; padding: 9px 7px 7px; }
  .totw-card-rating strong { font-size: 20px; }
  .totw-card-copy strong { font-size: 9px; }
  .totw-bench { grid-template-columns: repeat(3, minmax(0,1fr)); padding: 14px; }
}

@media (max-width: 520px) {
  .mascot-panel { min-height: 440px; }
  .mascot-art { top: 52px; }
  .mascot-topline { top: 12px; left: 12px; }
  .mascot-status { left: 12px; right: 12px; bottom: 12px; padding: 14px; }
  .server-stats-freshness { max-width: 52%; }
  .server-stats-grid > div { padding-inline: 5px; }
  .server-stats-grid strong { font-size: 15px; }
  .server-stats-grid small { font-size: 7px; letter-spacing: .025em; }
  .totw-livebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .totw-rotation-tab { min-height: 58px; padding: 8px 6px 9px; }
  .totw-rotation-tab > span { font-size: 12px; }
  .totw-rotation-tab small { font-size: 9px; }
  .totw-rotation-tab small i { display: none; }
  .totw-pitch { min-height: 525px; padding: 30px 8px; }
  .totw-xi { min-height: 465px; gap: 9px 4px; }
  .totw-card { min-height: 94px; border-radius: 10px 10px 13px 13px; }
  .totw-card-family { display: none; }
  .totw-card-rating strong { font-size: 18px; }
  .totw-card-copy strong { font-size: 8px; }
  .totw-bench { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Authentic FUT 13 live cards, using the supplied game card art. */
.totw-content {
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
}
.totw-pitch {
  min-height: 1010px;
  padding: 42px 26px;
}
.totw-xi {
  min-height: 926px;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
}
.totw-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: .69;
  padding: 0;
  display: block;
  isolation: isolate;
  border: 0;
  border-radius: 10px;
  background: #060807;
  box-shadow: 0 16px 28px rgba(0,0,0,.48);
  color: #f8fbf8;
  overflow: hidden;
}
.totw-card::before {
  content: none;
}
.totw-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.36) 100%);
  pointer-events: none;
}
.totw-card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.totw-card-player {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 2%;
  width: 74%;
  height: 48%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.65));
}
.totw-card-head {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 8%;
  right: 7%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.totw-card-rating {
  display: grid;
  line-height: .86;
  text-align: center;
}
.totw-card-rating strong {
  font-size: clamp(23px, 2vw, 31px);
  letter-spacing: -.06em;
}
.totw-card-rating span {
  margin-top: 6px;
  color: currentColor;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
}
.totw-card-family {
  max-width: 40%;
  color: rgba(255,255,255,.82);
  font-size: 7px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.totw-card-copy {
  position: absolute;
  z-index: 3;
  top: 51%;
  left: 7%;
  right: 7%;
  display: grid;
  gap: 3px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.92);
}
.totw-card-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(10px, .9vw, 13px);
  font-weight: 900;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.totw-card-copy strong.long-name {
  font-size: clamp(8px, .75vw, 11px);
}
.totw-card-copy small {
  overflow: hidden;
  color: rgba(255,255,255,.7);
  font-size: 6px;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: .045em;
  white-space: nowrap;
}
.totw-card-stats {
  position: absolute;
  z-index: 3;
  left: 15%;
  right: 15%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 3px 14%;
  text-shadow: 0 1px 2px rgba(0,0,0,.9);
}
.totw-card-stats span {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px;
}
.totw-card-stats strong {
  color: #fff;
  font-size: clamp(9px, .82vw, 12px);
  font-weight: 900;
  line-height: 1;
}
.totw-card-stats small {
  color: rgba(255,255,255,.74);
  font-size: 6px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .035em;
}
.totw-xi .slot-0 {
  width: 49%;
}
.totw-bench {
  padding: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 13px 9px;
}
.totw-bench .totw-card {
  min-height: 0;
}

@media (max-width: 1180px) {
  .totw-content { grid-template-columns: 1.18fr .82fr; }
  .totw-pitch { min-height: 900px; padding: 36px 18px; }
  .totw-xi { min-height: 828px; }
  .totw-bench { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .totw-content { grid-template-columns: 1fr; }
  .totw-pitch { min-height: 930px; }
  .totw-xi { min-height: 858px; }
  .totw-bench { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .totw-pitch { min-height: 640px; padding: 30px 10px; }
  .totw-xi { min-height: 580px; gap: 10px 4px; }
  .totw-card { border-radius: 7px; }
  .totw-card-rating strong { font-size: clamp(15px, 4.2vw, 23px); }
  .totw-card-rating span { margin-top: 4px; font-size: 6px; }
  .totw-card-family { font-size: 5px; }
  .totw-card-copy strong { font-size: clamp(7px, 2vw, 10px); }
  .totw-card-copy strong.long-name { font-size: clamp(6px, 1.75vw, 8px); }
  .totw-card-copy small { font-size: 4px; }
  .totw-card-stats { left: 11%; right: 11%; gap: 2px 8%; }
  .totw-card-stats strong { font-size: clamp(6px, 1.8vw, 9px); }
  .totw-card-stats small { font-size: 4px; }
  .totw-bench { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .totw-pitch { min-height: 510px; padding: 26px 6px; }
  .totw-xi { min-height: 458px; gap: 7px 3px; }
  .totw-bench { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 12px; }
}

/* Official FUT face-card composition. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.totw-card {
  /* WeFUT's FIFA 13 renderer displays the 325x451 source art at 238x354.
     All descendants use that same coordinate system via percentages/cqw. */
  aspect-ratio: 238 / 354;
  container-type: inline-size;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.totw-card::after { content: none; }
.totw-card-art {
  object-fit: fill;
  filter: drop-shadow(0 13px 12px rgba(0,0,0,.43));
}
.totw-card-player {
  top: 26.836%;
  left: 36.975%;
  right: auto;
  width: 58.824%;
  height: 39.548%;
  display: block;
  object-fit: fill;
  object-position: left top;
  filter: none;
}
.totw-card-head {
  position: static;
  display: contents;
}
.totw-card-rating {
  display: contents;
}
.totw-card-rating strong {
  position: absolute;
  z-index: 3;
  top: 8.475%;
  left: 6.303%;
  width: 26.891%;
  height: 9.244cqw;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
  font-size: 21.008cqw;
  font-weight: 400;
  line-height: 8.403cqw;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 2px rgba(255,255,255,1);
}
.totw-card-rating span {
  position: absolute;
  z-index: 3;
  top: 18.362%;
  left: 6.303%;
  width: 26.891%;
  height: 9.244cqw;
  margin-top: 0;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
  font-size: 8.403cqw;
  font-weight: 400;
  line-height: 9.244cqw;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 2px rgba(255,255,255,1);
}
.totw-card-family { display: none; }
.totw-card-badge,
.totw-card-flag {
  position: absolute;
  z-index: 4;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
}
.totw-card-badge {
  top: 31.921%;
  left: 10.504%;
  width: 25.21%;
  height: 16.949%;
}
.totw-card-flag {
  top: 48.305%;
  left: 13.445%;
  width: 18.908%;
  height: 12.712%;
}
.totw-card-copy {
  top: 6.215%;
  left: 44.118%;
  right: auto;
  width: 50.42%;
  height: 11.765cqw;
  gap: 0;
  align-items: center;
  text-align: center;
}
.totw-card-copy strong,
.totw-card-copy strong.long-name {
  color: #fff;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
  font-size: 8.403cqw;
  font-weight: 500;
  line-height: 11.765cqw;
  text-shadow: 0 0 2px rgba(255,255,255,1);
}
.totw-card-copy strong.long-name {
  font-size: 7.143cqw;
}
.totw-card-stats {
  inset: 0;
  display: block;
  font-family: Lato, Arial, Helvetica, sans-serif;
  text-shadow: 0 0 2px rgba(255,255,255,1);
}
.totw-card-stats span {
  position: absolute;
  display: block;
  height: 8.403cqw;
  font-family: inherit;
  font-size: 9.244cqw;
  font-weight: 500;
  line-height: 8.403cqw;
  white-space: nowrap;
}
.totw-card-stats span:nth-child(1) { top: 68.927%; left: 10.924%; }
.totw-card-stats span:nth-child(2) { top: 79.096%; left: 10.924%; }
.totw-card-stats span:nth-child(3) { top: 89.266%; left: 10.924%; }
.totw-card-stats span:nth-child(4) { top: 68.927%; left: 54.622%; }
.totw-card-stats span:nth-child(5) { top: 79.096%; left: 54.622%; }
.totw-card-stats span:nth-child(6) { top: 89.266%; left: 54.622%; }
.totw-card-stats strong {
  min-width: 0;
  font-family: inherit;
  font-size: 9.244cqw;
  font-weight: 500;
  line-height: 8.403cqw;
}
.totw-card-stats small {
  font-family: inherit;
  font-size: 9.244cqw;
  font-weight: 400;
  line-height: 8.403cqw;
}
.totw-card-stats small::before {
  content: " ";
  white-space: pre;
}
