/* Hoopstead site. The colours, radii and type follow the game's own design tokens (the game's tokens.uss). */

:root {
  --bg: #0F1114;
  --panel: #16191D;
  --surface: #1C2025;
  --surface-alt: #22272D;
  --surface-hover: #2A3038;
  --border: #2C323A;
  --text: #FFFFFF;
  --text-soft: #D5DAE0;
  --text-muted: #929CA9;
  --accent: #D11A2A;
  --accent-hover: #DE2C3A;
  --accent-soft: rgba(209, 26, 42, 0.18);
  --match-day: #E8772E;
  --selected-edge: #7FA6D6;
  --selected-ground: #24344A;
  --win: #3CCB7F;
  --loss: #F24B58;
  --court: #DDB07A;

  --radius: 4px;
  --radius-large: 6px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--text); margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 100;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: var(--radius); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid var(--accent); border-radius: var(--radius);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-hover); box-shadow: 0 8px 24px -8px rgba(209, 26, 42, .6); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface); border-color: var(--surface-hover); box-shadow: none; }
.btn--small { min-height: 36px; padding: 0 16px; font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--match-day);
  box-shadow: 0 0 0 0 rgba(232, 119, 46, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 119, 46, .6); }
  70% { box-shadow: 0 0 0 10px rgba(232, 119, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 119, 46, 0); }
}
.accent { color: var(--accent); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 20, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__word { color: var(--text); font-weight: 800; letter-spacing: 2.5px; font-size: 17px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(209, 26, 42, .22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(232, 119, 46, .10), transparent 70%);
  pointer-events: none;
}
.hero__court {
  position: absolute; left: 50%; top: 50%; width: 1400px; max-width: none;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, .045);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -1.5px; }
.lead { margin-top: 24px; font-size: 18px; color: var(--text-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* The in-game style panel */
.ui {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
  overflow: hidden;
  font-size: 13px;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.ui:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.ui__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.ui__club { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; flex: 1; }
.crest { width: 18px; height: 18px; border-radius: 4px 4px 9px 9px; background: linear-gradient(135deg, #1D4E89 50%, #F5A524 50%); }
.ui__date { color: var(--text-muted); }
.ui__continue {
  background: var(--match-day); color: #0F1114; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius);
}
.ui__body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.ui__menu { list-style: none; margin: 0; padding: 10px 0; background: var(--bg); border-right: 1px solid var(--border); }
.ui__menu li { padding: 7px 14px; color: var(--text-muted); border-left: 3px solid transparent; display: flex; justify-content: space-between; }
.ui__menu li.is-on { color: var(--text); background: var(--accent-soft); border-left-color: var(--accent); }
.ui__menu b { background: var(--accent); color: #fff; font-size: 11px; padding: 0 6px; border-radius: 9px; line-height: 18px; }
.ui__main { padding: 12px; display: grid; gap: 10px; align-content: start; }
.ui__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.ui__label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.ui__title { color: var(--text); font-weight: 600; font-size: 15px; }
.ui__text { color: var(--text-soft); margin-top: 4px; }
.ui__table { width: 100%; border-collapse: collapse; }
.ui__table th { text-align: left; font-weight: 600; color: var(--text-muted); font-size: 11px; padding: 4px 6px; border-bottom: 1px solid var(--border); }
.ui__table td { padding: 6px; color: var(--text-soft); border-bottom: 1px solid rgba(44, 50, 58, .6); white-space: nowrap; }
.ui__table tr:last-child td { border-bottom: 0; }
.ui__table td:first-child { color: var(--text-muted); width: 20px; }
.ui__table tr.is-you td { background: var(--selected-ground); color: var(--text); }
.ui__table tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--selected-edge); }
.f { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 3px; }
.f.w { background: var(--win); }
.f.l { background: var(--loss); }
.ui figcaption { padding: 8px 14px; font-size: 11px; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--bg); }

/* The 2D match teaser */
.match {
  margin: 48px 0 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.match__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.score { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.score__team { color: var(--text); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.score__team::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.score__team--home::before { background: #1D4E89; box-shadow: 0 0 0 2px #fff inset; }
.score__team--away { flex-direction: row-reverse; }
.score__team--away::before { background: #1F7A4A; box-shadow: 0 0 0 2px #fff inset; }
.score__pts { color: var(--text); font: 800 28px/1 "Barlow Condensed", var(--font); min-width: 34px; text-align: center; }
.score__clock { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.score__clock small { font-size: 11px; color: var(--text-muted); }
.score__clock b { color: #F04452; font-weight: 600; font-variant-numeric: tabular-nums; }
.match__play {
  min-height: 36px; padding: 0 16px; border-radius: var(--radius);
  background: #262B32; color: var(--text); border: 1px solid transparent;
  font: 600 14px var(--font); cursor: pointer;
}
.match__play:hover { background: #2F353D; }
.match__court { display: block; width: 100%; height: auto; background: #0B0D10; }
.match figcaption { padding: 10px 16px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--bg); }

/* The playbook */
.pb { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); gap: 16px; margin-top: 48px; align-items: start; }
.pb__panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-large); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.pb__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.pb__head-title { color: var(--text); font-weight: 600; font-size: 15px; }
.pb__head-club { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.pb__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.pb__filters button {
  min-height: 32px; padding: 0 12px; border-radius: var(--radius); border: 1px solid transparent;
  background: #262B32; color: var(--text-soft); font: 400 13px var(--font); cursor: pointer;
}
.pb__filters button:hover { background: #2F353D; }
.pb__filters button[aria-pressed="true"] { border-color: var(--selected-edge); background: var(--selected-ground); color: #fff; font-weight: 600; }
.pb__list { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a424c transparent; }
.pb__list li { border-bottom: 1px solid rgba(44, 50, 58, .6); }
.pb__list button {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name fam" "tag cx";
  gap: 2px 14px; width: 100%; padding: 10px 16px 10px 13px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-left: 3px solid transparent; color: var(--text-soft); font: 400 14px var(--font);
}
.pb__list button:hover { background: var(--surface); }
.pb__list button[aria-current="true"] { background: var(--selected-ground); border-left-color: var(--selected-edge); color: #fff; }
.pb-row__name { grid-area: name; font-weight: 600; color: var(--text); }
.pb-row__tag { grid-area: tag; font-size: 12px; color: var(--text-muted); }
.pb-row__cx { grid-area: cx; justify-self: end; font-size: 9px; letter-spacing: 2px; color: var(--text-muted); align-self: center; }
.pb-row__fam { grid-area: fam; justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); }
.pb-row__fam i { width: 74px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; display: block; }
.pb-row__fam u { display: block; height: 100%; background: var(--win); text-decoration: none; }
.pb-row__fam em { font-style: normal; font-variant-numeric: tabular-nums; min-width: 20px; text-align: right; }
.pb-row__fam--none { color: var(--text-muted); font-size: 12px; }

.pb__panel--view { position: sticky; top: 84px; }
.pb__text { padding: 12px 16px 4px; font-size: 14px; color: var(--text-soft); min-height: 4.6em; }
.pb__court { display: block; width: 100%; max-width: 640px; height: auto; margin: 4px auto 0; background: #0B0D10; }
.pb__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-top: 1px solid var(--border); }
.pb__steps { display: flex; gap: 6px; }
.pb__label { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.pb__now { padding: 0 16px 12px; font-size: 14px; color: var(--text); min-height: 3.2em; }
.pb__steps button {
  width: 34px; height: 34px; border-radius: var(--radius); border: 1px solid transparent;
  background: #262B32; color: var(--text-soft); font: 600 14px var(--font); cursor: pointer;
}
.pb__steps button:hover { background: #2F353D; }
.pb__steps button[aria-current="true"] { border-color: var(--selected-edge); background: var(--selected-ground); color: #fff; }
.pb__reads { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--text-muted); margin-left: auto; }
.pb__reads b { font-weight: 600; color: var(--text-soft); background: var(--surface-alt); border: 1px solid var(--border); border-radius: 10px; padding: 1px 9px; }
.pb__legend { list-style: none; margin: 0; padding: 10px 16px 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.pb__legend li { display: inline-flex; align-items: center; gap: 8px; }
.pb__legend svg { width: 44px; height: 12px; overflow: visible; }
.pb__note { margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* The player profile */
.section__lead strong { color: var(--text); font-weight: 600; }
.pf { margin-top: 48px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-large); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.pf__head { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.pf__number { font: 800 56px/1 "Barlow Condensed", var(--font); color: var(--text); min-width: 52px; text-align: center; }
.pf__name { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.pf__details { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.pf__tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); border-radius: 10px; padding: 2px 10px; white-space: nowrap; }
.pf__body { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; padding: 16px; align-items: start; }
.pf__side, .pf__attrs { display: grid; gap: 16px; }
.pf__attrs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf__attrs .pf-card:first-child { grid-row: span 2; }
.pf-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.pf-card__title { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.pf-rows { margin: 0; display: grid; gap: 8px; }
.pf-rows div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.pf-rows dt { color: var(--text-muted); }
.pf-rows dd { margin: 0; color: var(--text); }
.pf-fit { font-style: normal; font-size: 11px; font-weight: 600; border-radius: 9px; padding: 1px 8px; margin-left: 6px; color: #0F1114; }
.pf-fit--high { background: var(--win); }
.pf-fit--good { background: #A8D86E; }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 16px; height: 16px; background: rgba(255, 255, 255, .15); clip-path: polygon(50% 0, 62% 35%, 98% 38%, 69% 59%, 79% 94%, 50% 74%, 21% 94%, 31% 59%, 2% 38%, 38% 35%); }
.stars i.on { background: #F5A524; }
.stars i.half { background: linear-gradient(90deg, #F5A524 50%, rgba(255, 255, 255, .15) 50%); }
.pf-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pf-key li { display: flex; justify-content: space-between; color: var(--text-soft); }
.pf-attrs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pf-attrs li { display: grid; grid-template-columns: minmax(0, 1fr) 70px 24px; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-soft); }
.pf-attrs__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-attrs__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; display: block; }
.pf-attrs__fill { display: block; height: 100%; text-decoration: none; }
.pf-attrs__fill--high { background: #3CCB7F; } .pf-attrs__fill--good { background: #A8D86E; }
.pf-attrs__fill--mid { background: #F5A524; } .pf-attrs__fill--low { background: #F24B58; }
.pf-attrs__num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-attrs__num--high { color: #3CCB7F; } .pf-attrs__num--good { color: #A8D86E; }
.pf-attrs__num--mid { color: #F5A524; } .pf-attrs__num--low { color: #F24B58; }
.pf__note { padding: 12px 24px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--bg); }

/* Sections */
.section { padding: 112px 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--panel); }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; max-width: 760px; }
.section__lead { margin-top: 18px; font-size: 18px; max-width: 640px; color: var(--text-soft); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-large);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card::before {
  content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px;
  background: var(--accent); border-radius: 2px; opacity: 0; transition: opacity .2s ease;
}
.card:hover { border-color: var(--surface-hover); background: var(--surface-alt); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card__icon { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* Living world */
.world { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--match-day)); opacity: .5; }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline li:last-child::before { background: var(--match-day); border-color: var(--match-day); }
.timeline__year { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.timeline p { color: var(--text); font-size: 17px; margin-top: 4px; }

/* Follow */
.community { text-align: center; }
.community__inner { display: flex; flex-direction: column; align-items: center; }
.community .section__lead { margin-inline: auto; }
.community__points { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; width: 100%; max-width: 960px; text-align: left; }
.community__points li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.community__points b { color: var(--text); }
.community__points span { color: var(--text-muted); font-size: 15px; }
.btn--discord { gap: 10px; }
.btn--discord svg { width: 20px; height: 20px; fill: currentColor; }
.btn--small.btn--discord svg { width: 16px; height: 16px; }
.follow { text-align: center; position: relative; overflow: hidden; }
.follow::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 50% 100%, rgba(209, 26, 42, .16), transparent 70%);
  pointer-events: none;
}
.follow__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.follow .section__lead { margin-inline: auto; }
.socials { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.socials:empty { display: none; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.socials a:hover { border-color: var(--accent); background: var(--surface-alt); transform: translateY(-1px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.contact { margin-top: 36px; color: var(--text-muted); }
.contact a { color: var(--text); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 32px; font-size: 13px; color: var(--text-muted); background: var(--panel); }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.footer__social a[href]:hover { background: var(--surface-alt); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.footer__social a.is-soon { opacity: .45; cursor: default; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; padding-top: 24px; line-height: 1.7; }
.footer__legal a { color: var(--text-soft); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Smaller screens */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .ui { transform: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pb { grid-template-columns: 1fr; }
  .pb__panel--view { position: static; order: -1; }
  .pb__list { max-height: 420px; }
  .pf__body { grid-template-columns: 1fr; }
  .pf__attrs { grid-template-columns: 1fr; }
  .pf__attrs .pf-card:first-child { grid-row: auto; }
  .pf__head { flex-wrap: wrap; }
  .pf__tag { margin-left: 0; }
  .world { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .nav__links a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .ui__body { grid-template-columns: 1fr; }
  .ui__menu { display: none; }
  .score { gap: 10px; }
  .score__team { font-size: 13px; }
  .score__pts { font-size: 22px; min-width: 26px; }
  .lead, .section__lead { font-size: 16px; }
}
