@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Dancing+Script:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --orange: #f47b20;
  --orange-light: #fff3e8;
  --ink: #161a1b;
  --muted: #747778;
  --line: #deded9;
  --paper: #fff;
  --soft: #f6f6f2;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(48px, 5.5vw, 76px);
}
h2 {
  font-size: 38px;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
p {
  color: #65696b;
}
small {
  font-size: 11px;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.orange {
  color: var(--orange);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}
.orange-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 8px;
}
.topline {
  height: 30px;
  background: var(--ink);
  color: #e5e5e1;
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 500;
}
.topline .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topline .orange-dot {
  margin: 0 9px;
  width: 4px;
  height: 4px;
}
.site-header {
  border-bottom: 1px solid var(--ink);
  background: white;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.brand img {
  width: 66px;
  height: 58px;
  object-fit: contain;
}
.brand strong {
  font-size: 31px;
  font-weight: 800;
}
.nav-wrap nav {
  display: flex;
  gap: 30px;
  align-items: stretch;
  align-self: stretch;
}
.nav-wrap nav > a {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-wrap nav > a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}
.nav-wrap nav > a:hover {
  color: #ba5104;
}
.small-arrow {
  margin-left: 5px;
  font-size: 17px;
}
.admin-link {
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #d6d7d4;
  padding: 8px 14px;
  border-radius: 3px;
}
.admin-link:hover {
  border-color: var(--ink);
}
.admin-link > span {
  font-size: 19px;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: 540px;
  padding-block: 48px;
  gap: 50px;
  align-items: center;
}
.hero-copy > .eyebrow {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(70px, 7vw, 100px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -2px;
}
.hero-copy > p {
  margin: 24px 0 27px;
  line-height: 1.8;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.button {
  background: var(--orange);
  padding: 14px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  min-height: 46px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #ff963c;
  transform: translateY(-1px);
}
.button > span {
  font-size: 20px;
  line-height: 1;
}
.button.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.button.dark:hover {
  background: #343a3b;
}
.button.outline {
  background: transparent;
  border-color: var(--ink);
}
.button.outline:hover {
  background: var(--soft);
}
.button.small {
  padding: 9px 14px;
  min-height: 38px;
  font-size: 11px;
  gap: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 11px;
}
.text-link:hover {
  color: #b84e00;
}
.text-link > span {
  font-size: 20px;
}
.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 38px;
  color: #868786;
  font-size: 10px;
  line-height: 1.5;
}
.hero-note strong {
  color: #4c5152;
  font-weight: 500;
}
.mini-crest {
  background: var(--soft);
  border: 1px solid var(--line);
  width: 32px;
  height: 37px;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
  text-align: center;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
}
.hero-visual {
  position: relative;
  height: 443px;
  background: #1a2728;
  overflow: hidden;
  border-radius: 2px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(12, 25, 23, 0.5), rgba(0, 0, 0, 0.1)),
    url("/images/football.jpg") center/cover;
  filter: grayscale(100%);
  opacity: 0.75;
}
.photo-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, #ffffff12 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, #ffffff12 50%, transparent 50.2%);
  background-size: 100px 100px;
}
.visual-label {
  position: absolute;
  top: 23px;
  left: 25px;
  color: white;
  letter-spacing: 2px;
  font-size: 9px;
}
.hero-eight {
  position: absolute;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -10px;
  font-size: 260px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-7deg);
  color: var(--orange);
}
.hero-eight > span {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 8px;
  text-align: center;
  margin-top: 22px;
  padding-left: 10px;
}
.photo-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 1.4px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.image-credit {
  position: absolute;
  right: 17px;
  bottom: 22px;
  font-size: 8px;
  color: #d4d8d6;
}
.team-strip {
  background: var(--orange);
  border-block: 1px solid var(--ink);
  overflow: hidden;
}
.team-strip > .shell {
  height: 51px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
}
.strip-star {
  font-family: Arial;
  font-size: 29px;
  font-weight: 400;
}
.demo-notice {
  font-size: 10px;
  color: #7b725f;
  display: flex;
  gap: 5px;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid #ece9e2;
}
.demo-notice > a {
  margin-left: auto;
  font-weight: 600;
}
.section-space {
  padding-block: 45px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading .eyebrow {
  color: #777e7e;
  margin-bottom: 8px;
}
.section-heading h2 small {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 10px;
  letter-spacing: 0;
}
.serif-word {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 0.93em;
  letter-spacing: -1.3px;
}
.home-overview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  border-bottom: 1px solid var(--line);
}
.next-match {
  display: block;
  border: 1px solid #b9bcb9;
  border-top: 3px solid var(--ink);
  transition: border-color 0.2s;
}
.next-match:hover {
  border-color: var(--orange);
}
.card-top,
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 21px;
  font-size: 10px;
  color: #69706e;
  gap: 12px;
}
.card-top {
  border-bottom: 1px solid #e8e8e4;
}
.tag {
  font-size: 9px;
  letter-spacing: 0.8px;
  font-weight: 700;
  background: var(--orange-light);
  color: #a74c0b;
  padding: 5px 9px;
  display: inline-block;
  border-radius: 2px;
}
.matchup {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  text-align: center;
  padding: 25px 20px 29px;
  gap: 12px;
}
.club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  font-size: 14px;
}
.club img {
  width: 92px;
  height: 67px;
  object-fit: contain;
}
.opponent-crest {
  width: 56px;
  height: 67px;
  border: 2px solid #384c3c;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
  background: #eff3ec;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #384c3c;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.opponent-crest > span {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.versus {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.7px;
}
.versus strong {
  font-family: var(--display);
  font-size: 42px;
  color: #b7bab8;
  line-height: 1.2;
}
.card-bottom {
  background: var(--soft);
  border-top: 1px solid #e8e8e4;
  padding-block: 12px;
}
.card-bottom > span:last-child {
  font-weight: 700;
  color: var(--ink);
}
.season-panel {
  padding-top: 1px;
}
.season-panel > .eyebrow {
  color: var(--muted);
  margin-bottom: 8px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 27px 0 23px;
}
.stats-grid > div {
  border-right: 1px solid var(--line);
  padding-left: 20px;
}
.stats-grid > div:first-child {
  padding-left: 0;
}
.stats-grid > div:last-child {
  border: 0;
}
.stats-grid strong {
  font-family: var(--display);
  font-size: 53px;
  line-height: 1.3;
  display: block;
}
.stats-grid span {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.form-line {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.form-line > div {
  display: flex;
  gap: 6px;
}
.result {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: #ececec;
  color: #626865;
  border-radius: 2px;
}
.result-W {
  background: #e9f1e8;
  color: #487a47;
}
.result-V {
  background: #fce9e4;
  color: #b64d36;
}
.result-G {
  background: #eeede6;
  color: #807650;
}
.season-panel > small {
  color: var(--muted);
  font-size: 9px;
  display: block;
  margin-top: 10px;
}
.results-section {
  padding-bottom: 0;
}
.match-list {
  border-top: 2px solid var(--ink);
}
.match-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
  padding: 17px 20px;
  transition: background 0.2s;
}
.match-row:hover {
  background: var(--soft);
}
.match-date {
  flex: 0 0 47px;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.match-date strong {
  font-family: var(--display);
  font-size: 31px;
  line-height: 1.1;
}
.match-date span {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 4px;
}
.match-meta {
  flex: 1;
}
.match-meta > .eyebrow {
  font-size: 8px;
  color: #888c89;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr 85px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  max-width: 590px;
}
.our-team {
  font-weight: 700;
}
.score {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  text-align: center;
}
.row-arrow {
  margin-left: 15px;
  font-size: 23px;
}
.kickoff {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.kickoff small {
  font-weight: 400;
  color: var(--muted);
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
  padding-top: 50px;
}
.team-promo {
  background: var(--soft);
  padding: 35px;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--orange);
}
.team-promo > .eyebrow {
  font-size: 9px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.team-promo h2 {
  font-size: 38px;
  position: relative;
  z-index: 1;
}
.team-promo p {
  margin: 17px 0 24px;
  max-width: 325px;
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.team-promo .button {
  position: relative;
  z-index: 1;
}
.promo-number {
  font-family: var(--display);
  position: absolute;
  right: -17px;
  bottom: -65px;
  font-size: 300px;
  font-weight: 800;
  line-height: 1;
  color: #e8e8e1;
  transform: rotate(-10deg);
}
.top-preview > .section-heading {
  margin-bottom: 13px;
}
.football-icon {
  font-size: 30px;
}
.scorer-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.scorer-rank {
  font-family: var(--display);
  font-size: 20px;
  color: #9a9e9a;
  font-weight: 600;
  min-width: 21px;
}
.avatar {
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0efe9;
  border: 1px solid #e5e4dd;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  color: #706951;
}
.scorer-row strong {
  font-size: 12px;
}
.scorer-row small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.scorer-row > b {
  margin-left: auto;
  font-family: var(--display);
  font-size: 28px;
  text-align: center;
  line-height: 1.3;
}
.scorer-row > b > small {
  font-family: var(--body);
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 400;
}
.top-preview > .text-link {
  margin-top: 20px;
}
.instagram-banner {
  background: #fff8f0;
  border-block: 1px solid var(--ink);
}
.instagram-banner > .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 36px;
  gap: 25px;
}
.instagram-banner .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.instagram-banner h2 {
  font-size: 33px;
}
footer {
  background: white;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 37px;
}
.footer-main .brand {
  font-size: 19px;
}
.footer-main .brand img {
  width: 51px;
  height: 42px;
}
.footer-main .brand strong {
  font-size: 25px;
}
.footer-main p {
  font-size: 11px;
}
.footer-main > a:last-child {
  font-size: 10px;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-block: 17px;
  font-size: 9px;
  color: #959994;
  letter-spacing: 0.2px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding-block: 57px 45px;
}
.page-heading .eyebrow {
  margin-bottom: 17px;
  color: #686c69;
}
.page-heading p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 14px;
}
.heading-number {
  font-family: var(--display);
  font-size: 80px;
  color: var(--orange);
  font-weight: 800;
  text-align: right;
  line-height: 1;
}
.heading-number > small {
  display: block;
  color: var(--muted);
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 13px;
  white-space: nowrap;
}
.page-content {
  padding-block: 26px 75px;
  min-height: 420px;
}
.narrow {
  max-width: 900px;
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 30px;
}
.filter-bar > .muted {
  font-size: 10px;
  white-space: nowrap;
}
.tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
}
.tabs > a {
  padding: 15px 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
.tabs > a.selected:after,
.tabs > a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}
.tabs > a:hover {
  color: #b54d00;
}
.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 23px;
}
.player-card {
  border: 1px solid #e4e4df;
  display: block;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.player-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.player-portrait {
  height: 240px;
  position: relative;
  background: #f1f1eb;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.player-card:nth-child(even) .player-portrait {
  background: #ecece8;
}
.jersey-number {
  position: absolute;
  font-family: var(--display);
  font-size: 155px;
  color: #deded4;
  left: 10px;
  top: -5px;
  line-height: 1;
  font-weight: 800;
}
.jersey {
  position: relative;
  width: 160px;
  color: var(--orange);
  transform: translateY(16px) rotate(-4deg);
  filter: drop-shadow(3px 5px 3px #0002);
}
.player-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}
.position-chip {
  position: absolute;
  left: 15px;
  bottom: 15px;
  background: white;
  padding: 3px 9px;
  font-size: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.player-info {
  display: flex;
  padding: 18px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.player-info .eyebrow {
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.8px;
}
.player-info h3 {
  font-family: var(--display);
  font-size: 24px;
  margin-top: 6px;
}
.circle-arrow {
  border: 1px solid #d4d5d0;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.back-link {
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 30px;
}
.player-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.profile-visual {
  aspect-ratio: 4/4.5;
  background: var(--soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-visual > span {
  font-family: var(--display);
  font-size: 270px;
  font-weight: 800;
  color: var(--orange);
}
.profile-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-visual > .profile-crest {
  width: 85px;
  height: auto;
  position: absolute;
  bottom: 22px;
  right: 22px;
}
.player-detail .eyebrow {
  margin-bottom: 18px;
  color: #9c4c17;
}
.bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.8;
}
.nickname {
  font-family: Georgia, serif;
  font-style: italic;
  margin-top: 15px;
  font-size: 25px;
}
.player-stats {
  display: flex;
  gap: 55px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.player-stats > strong {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1.2;
}
.player-stats small {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 10px;
}
.month-label {
  font-family: var(--body);
  font-size: 12px;
  text-transform: capitalize;
  margin: 30px 0 15px;
}
.match-detail {
  text-align: center;
  background: var(--soft);
  padding: 45px 30px;
  border-top: 3px solid var(--orange);
}
.match-detail > .eyebrow {
  margin: 22px 0;
}
.match-detail h1 {
  font-size: 45px;
}
.detail-score {
  display: block;
  font-size: 80px;
  color: var(--orange);
  margin: 15px 0;
}
.match-detail > p:last-child {
  margin-top: 20px;
  font-size: 13px;
}
.report {
  padding: 38px 0;
}
.goal-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.goal-row-heading {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.goal-column-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  text-transform: none;
}
.match-player {
  display: inline-block;
  vertical-align: middle;
}
.match-player-main {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.match-player-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-left: 7px;
  white-space: nowrap;
}
.report > .muted {
  margin-top: 20px;
  font-size: 12px;
}
.ranking-heading {
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  color: white;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 16px 24px;
}
.ranking-row {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.ranking-row:hover {
  background: var(--soft);
}
.ranking-row.first-place {
  background: var(--orange-light);
  border-left: 3px solid var(--orange);
  padding-left: 21px;
}
.ranking-name {
  flex: 1;
}
.ranking-name strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}
.ranking-player-meta {
  display: inline;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-left: 7px;
  white-space: nowrap;
}
.extra-stat-player .player-name {
  font-size: 18px;
}
.ranking-name small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.goal-bar {
  width: 20%;
  height: 4px;
  background: #eee;
}
.goal-bar > span {
  display: block;
  background: var(--orange);
  height: 100%;
}
.ranking-row > b {
  font-family: var(--display);
  font-size: 32px;
  min-width: 34px;
  text-align: right;
}
.table-note {
  font-size: 11px;
  color: #8a8e88;
  margin-top: 24px;
  line-height: 1.8;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  border: 1px solid var(--line);
}
.post-image {
  aspect-ratio: 1;
  background: var(--soft);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.post-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.post-image > strong {
  font-family: var(--display);
  font-size: 32px;
}
.instagram-symbol {
  font-size: 80px;
  line-height: 1.2;
  display: block;
  color: var(--orange);
  font-family: Arial, sans-serif;
}
.post-link {
  position: absolute;
  right: 15px;
  top: 15px;
  border: 1px solid var(--ink);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.post-copy {
  padding: 25px;
}
.post-copy > .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.post-copy h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}
.instagram-empty {
  background: var(--soft);
  padding: 65px 25px;
  text-align: center;
  border: 1px solid var(--line);
}
.instagram-empty h2 {
  font-size: 43px;
  margin-top: 15px;
}
.instagram-empty p {
  margin: 20px auto;
  max-width: 430px;
}
.empty-state {
  text-align: center;
  padding: 60px 25px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.empty-state h1 {
  font-size: 48px;
}
.empty-state p {
  margin: 20px auto;
  max-width: 460px;
}
.empty-state .button {
  margin-top: 8px;
}
.empty-state h2 {
  font-size: 34px;
}
.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 30px;
  gap: 20px;
}
.text-button {
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  color: #4d5554;
  padding: 8px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.notice {
  padding: 15px 20px;
  font-size: 12px;
  margin-bottom: 25px;
  border: 1px solid var(--line);
}
.notice.success {
  background: #eff7ef;
  border-color: #b5cfb5;
  color: #2e642e;
}
.notice.error {
  background: #fff2ed;
  border-color: #ddb7a6;
  color: #973e24;
}
.demo-settings {
  border: 1px solid #edc59d;
  background: #fff9f2;
  padding: 20px;
  margin-bottom: 30px;
}
.demo-settings summary {
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}
.demo-settings p {
  font-size: 12px;
  margin: 15px 0;
}
.demo-settings .button {
  margin-top: 15px;
}
.admin-match {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  padding: 23px 20px;
  border-bottom: 1px solid var(--line);
}
.admin-match > div {
  flex: 1;
}
.admin-match .eyebrow {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 9px;
}
.admin-match h3 {
  font-size: 15px;
}
.admin-match-list {
  border-top: 2px solid var(--ink);
}
.tag-played {
  background: #eaf0e7;
  color: #52734a;
}
.form-panel {
  border: 1px solid var(--line);
  padding: 32px;
  background: white;
  margin-bottom: 25px;
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.stack-form h2 {
  font-size: 32px;
}
.stack-form .section-heading {
  margin-bottom: 4px;
}
.stack-form > small {
  color: var(--muted);
  margin-top: -8px;
}
.stack-form > .button {
  align-self: flex-start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full-width {
  grid-column: 1/-1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
input,
select,
textarea {
  border: 1px solid #cdcfca;
  border-radius: 2px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #9da29e;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
label.checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.form-divider {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 3px;
}
.form-divider h3 {
  margin-bottom: 20px;
}
.form-divider p {
  font-size: 11px;
  margin-top: 10px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.goals-details {
  border-block: 1px solid var(--line);
  padding-block: 17px;
}
.goals-details summary {
  cursor: pointer;
  font-weight: 600;
}
.goals-details > p {
  font-size: 11px;
  margin: 15px 0;
}
.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 25px;
}
.goals-grid label {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.goals-grid label b {
  color: var(--muted);
  font-weight: 400;
  margin-right: 5px;
}
.goals-grid input {
  width: 65px;
  padding: 8px;
}
.login-card {
  max-width: 435px;
  margin: 20px auto;
  border: 1px solid var(--line);
  padding: 40px;
}
.login-card > img {
  width: 90px;
  margin-bottom: 25px;
}
.login-card h1 {
  font-size: 52px;
  margin-top: 10px;
}
.login-card > p {
  font-size: 12px;
  margin: 20px 0 27px;
}
.login-card .button {
  width: 100%;
}
.local-login {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.local-login > p {
  font-size: 12px;
  margin: 10px 0 15px;
}
.local-login > small {
  display: block;
  color: var(--muted);
  margin-top: 10px;
  font-size: 9px;
}
.invite-box {
  padding: 25px;
  background: var(--orange-light);
  border: 1px solid #ecc59f;
  margin-bottom: 25px;
}
.invite-box p {
  font-size: 12px;
  margin: 12px 0 20px;
}
.invite-box .text-link {
  margin-top: 12px;
}
.invite-box input {
  font-family: monospace;
  font-size: 12px;
}
.add-player summary {
  font-weight: 600;
  cursor: pointer;
}
.add-player .stack-form {
  padding-top: 25px;
}
.admin-player {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.player-edit-form {
  display: grid;
  grid-template-columns: 75px 1.5fr 1fr auto;
  gap: 15px;
  align-items: end;
  flex: 1;
}
.player-edit-form input,
.player-edit-form select {
  font-size: 12px;
  padding: 9px;
}
.player-edit-form label {
  font-size: 9px;
  letter-spacing: 0.4px;
}
.admin-post-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.admin-post-layout > div > h2 {
  font-size: 32px;
  margin-bottom: 18px;
}
.admin-post-layout > div > p {
  font-size: 12px;
}
.managed-post {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.managed-post .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.managed-post h3 {
  margin: 12px 0;
  line-height: 1.5;
}
.managed-post .form-actions {
  justify-content: space-between;
}
.profile-heading {
  margin-bottom: 30px;
}
.profile-heading h1 {
  margin-block: 15px;
}
.profile-heading > p {
  font-size: 13px;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.profile-identity small {
  display: block;
  color: var(--muted);
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  background: var(--orange);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 5px;
}
:focus-visible {
  outline: 2px solid #bd4c00;
  outline-offset: 4px;
}
#blazor-error-ui {
  display: none;
  background: #ffedcc;
  bottom: 0;
  box-shadow: 0 -1px 2px #0003;
  left: 0;
  padding: 15px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: 0;
}
h1:focus {
  outline: 0;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 575px;
    padding-block: 58px;
  }
  .hero-visual {
    height: 460px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 60px);
  }
  .nav-wrap {
    gap: 15px;
  }
  .nav-wrap nav {
    gap: 21px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 53px;
  }
  .admin-link {
    padding: 7px 10px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-eight {
    font-size: 225px;
  }
  .home-overview,
  .home-bottom {
    gap: 35px;
    grid-template-columns: 1.25fr 1fr;
  }
  .stats-grid > div {
    padding-left: 12px;
  }
  .player-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .instagram-banner h2 {
    font-size: 29px;
  }
  .admin-player {
    flex-wrap: wrap;
  }
  .admin-player > form:last-child {
    margin-left: auto;
  }
  .player-edit-form {
    flex-basis: 100%;
  }
  .footer-main p {
    max-width: 230px;
    text-align: center;
  }
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 40px);
  }
  .nav-wrap {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-top: 12px;
    gap: 0;
  }
  .nav-wrap .brand {
    order: 0;
  }
  .admin-link {
    order: 1;
    margin-left: auto;
  }
  .nav-wrap nav {
    order: 2;
    width: 100%;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 7px;
    justify-content: flex-start;
    height: auto;
    padding: 8px 0;
  }
  .nav-wrap nav > a {
    font-size: 11px;
    white-space: nowrap;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 440px;
    padding-block: 35px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-copy > p {
    font-size: 12px;
    margin-block: 19px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 12px;
    gap: 14px;
  }
  .hero-note {
    margin-top: 23px;
  }
  .hero-visual {
    height: 357px;
  }
  .hero-eight {
    font-size: 185px;
  }
  .hero-eight > span {
    font-size: 13px;
    letter-spacing: 5px;
  }
  .visual-label {
    font-size: 7px;
    left: 16px;
    top: 18px;
  }
  .photo-caption {
    font-size: 7px;
    left: 16px;
    bottom: 18px;
  }
  .image-credit {
    display: none;
  }
  .team-strip > .shell {
    font-size: 21px;
    height: 45px;
    justify-content: flex-start;
    gap: 35px;
  }
  .home-overview,
  .home-bottom {
    gap: 27px;
  }
  .home-overview {
    grid-template-columns: 1.2fr 1fr;
  }
  .home-overview h2,
  .top-preview h2 {
    font-size: 29px;
  }
  .card-top {
    padding: 12px;
    font-size: 8px;
  }
  .tag {
    font-size: 7px;
  }
  .matchup {
    padding: 22px 10px;
    grid-template-columns: 1fr 65px 1fr;
    gap: 8px;
  }
  .club {
    font-size: 11px;
  }
  .club img {
    width: 76px;
  }
  .card-bottom {
    padding: 10px;
    font-size: 8px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-block: 21px;
  }
  .stats-grid > div {
    padding-left: 20px;
  }
  .stats-grid > div:nth-child(odd) {
    padding-left: 0;
  }
  .stats-grid > div:nth-child(even) {
    border: 0;
  }
  .stats-grid strong {
    font-size: 37px;
    line-height: 1;
  }
  .stats-grid span {
    margin-top: 6px;
    font-size: 7px;
  }
  .form-line {
    padding-block: 13px;
  }
  .season-panel > small {
    font-size: 8px;
  }
  .team-promo {
    padding: 25px;
  }
  .team-promo h2 {
    font-size: 30px;
  }
  .team-promo .eyebrow {
    font-size: 7px;
  }
  .scorer-row {
    gap: 10px;
  }
  .scorer-row strong {
    font-size: 10px;
  }
  .scorer-row .avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .instagram-banner > .shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .footer-main {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-main p {
    max-width: none;
    font-size: 10px;
    text-align: left;
  }
  .footer-main > a:last-child {
    margin-left: auto;
  }
  .player-grid {
    gap: 18px;
  }
  .player-portrait {
    height: 210px;
  }
  .jersey {
    width: 130px;
  }
  .jersey-number {
    font-size: 135px;
  }
  .player-info {
    padding: 15px 12px;
  }
  .player-info h3 {
    font-size: 21px;
  }
  .page-heading {
    padding-block: 40px 30px;
  }
  .page-heading h1 {
    font-size: 57px;
  }
  .heading-number {
    font-size: 67px;
  }
  .page-heading .button {
    font-size: 10px;
    gap: 10px;
  }
  .player-detail {
    gap: 30px;
  }
  .player-detail h1 {
    font-size: 48px;
  }
  .profile-visual > span {
    font-size: 200px;
  }
  .post-grid {
    gap: 18px;
  }
  .post-copy {
    padding: 18px;
  }
  .post-copy h3 {
    font-size: 14px;
  }
  .post-image > strong {
    font-size: 25px;
  }
  .post-copy .text-link {
    font-size: 10px;
  }
  .admin-match {
    padding: 20px 0;
    gap: 15px;
  }
  .admin-match h3 {
    font-size: 13px;
  }
  .admin-match .tag {
    font-size: 8px;
  }
  .admin-post-layout {
    gap: 25px;
  }
  .form-panel {
    padding: 25px;
  }
}
@media (max-width: 580px) {
  body {
    font-size: 13px;
  }
  .topline {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .topline > .shell > span:last-child {
    font-size: 6px;
  }
  .topline .orange-dot {
    margin-inline: 5px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 52px;
    height: 46px;
  }
  .brand strong {
    font-size: 27px;
  }
  .admin-link {
    font-size: 9px;
    padding: 5px 9px;
  }
  .admin-link > span {
    font-size: 17px;
  }
  .nav-wrap nav {
    height: auto;
  }
  .nav-wrap nav > a {
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 35px 25px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 76px;
    letter-spacing: -1.7px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 16px;
  }
  .hero-copy > p {
    font-size: 13px;
    margin-block: 19px;
  }
  .hero-actions {
    gap: 20px;
    flex-wrap: nowrap;
  }
  .hero-actions .button {
    font-size: 10px;
    min-height: 44px;
    padding: 12px 14px;
  }
  .hero-actions .text-link {
    font-size: 9px;
    gap: 10px;
  }
  .hero-note {
    display: none;
  }
  .hero-visual {
    height: 240px;
  }
  .hero-eight {
    font-size: 190px;
    left: 66%;
    top: 46%;
  }
  .hero-eight > span {
    font-size: 12px;
    letter-spacing: 6px;
    margin-top: 15px;
  }
  .hero-photo {
    background-position: center 65%;
  }
  .visual-label {
    left: 19px;
    top: 19px;
    font-size: 8px;
    max-width: 110px;
    line-height: 1.8;
  }
  .photo-caption {
    font-size: 7px;
  }
  .team-strip > .shell {
    height: 43px;
    font-size: 20px;
    gap: 27px;
  }
  .demo-notice {
    font-size: 8px;
    align-items: flex-start;
    padding-block: 11px;
    gap: 1px;
    line-height: 1.6;
  }
  .demo-notice .orange-dot {
    flex-shrink: 0;
    margin-top: 4px;
    width: 4px;
    height: 4px;
  }
  .demo-notice > a {
    display: none;
  }
  .section-space {
    padding-block: 30px;
  }
  .home-overview,
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading {
    margin-bottom: 19px;
  }
  .section-heading h2,
  .home-overview h2,
  .top-preview h2 {
    font-size: 33px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .card-top {
    padding: 15px;
    font-size: 9px;
  }
  .card-top .tag {
    font-size: 8px;
  }
  .matchup {
    padding: 25px 15px;
    grid-template-columns: 1fr 75px 1fr;
  }
  .club {
    font-size: 12px;
  }
  .club img {
    width: 90px;
  }
  .card-bottom {
    padding: 13px 15px;
    font-size: 8px;
  }
  .season-panel {
    border-top: 1px solid var(--line);
    padding-top: 25px;
  }
  .season-panel > .eyebrow {
    font-size: 8px;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stats-grid > div {
    padding-left: 15px !important;
  }
  .stats-grid > div:first-child {
    padding-left: 0 !important;
  }
  .stats-grid > div:not(:last-child) {
    border-right: 1px solid var(--line);
  }
  .stats-grid strong {
    font-size: 40px;
  }
  .form-line {
    padding-block: 15px;
  }
  .season-panel > small {
    margin-top: 0;
  }
  .results-section {
    padding-bottom: 0;
  }
  .match-row {
    gap: 12px;
    padding: 15px 0;
    min-height: 92px;
    flex-wrap: nowrap;
  }
  .match-date {
    flex-basis: 37px;
    padding-right: 10px;
  }
  .match-date strong {
    font-size: 26px;
  }
  .match-date span {
    font-size: 8px;
  }
  .match-teams {
    grid-template-columns: 1fr 34px 1fr;
    gap: 8px;
    font-size: 10px;
    line-height: 1.35;
  }
  .match-meta > .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .score {
    font-size: 20px;
    white-space: nowrap;
  }
  .match-row .result {
    width: 20px;
    height: 20px;
    font-size: 8px;
    flex-shrink: 0;
  }
  .row-arrow {
    display: none;
  }
  .kickoff {
    font-size: 11px;
  }
  .kickoff small {
    display: block;
    font-size: 8px;
    text-align: center;
  }
  .match-meta {
    min-width: 0;
  }
  .home-bottom {
    padding-bottom: 35px;
  }
  .team-promo {
    padding: 28px;
  }
  .team-promo h2 {
    font-size: 36px;
  }
  .team-promo > .eyebrow {
    font-size: 8px;
  }
  .team-promo p {
    max-width: 260px;
    font-size: 11px;
  }
  .scorer-row strong {
    font-size: 12px;
  }
  .scorer-row {
    gap: 16px;
    padding-block: 17px;
  }
  .scorer-row .avatar {
    width: 37px;
    height: 37px;
    font-size: 16px;
  }
  .top-preview > .text-link {
    margin-top: 18px;
  }
  .instagram-banner h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .instagram-banner > .shell {
    padding-block: 28px;
  }
  .instagram-banner h2 .serif-word {
    display: block;
  }
  .instagram-banner .button {
    font-size: 11px;
  }
  .footer-main {
    padding-block: 27px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
  }
  .footer-main p {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: 9px;
  }
  .footer-main .brand {
    font-size: 19px;
    gap: 7px;
  }
  .footer-main .brand img {
    width: 45px;
  }
  .footer-main > a:last-child {
    font-size: 8px;
  }
  .footer-bottom {
    font-size: 7px;
    padding-block: 15px;
    gap: 12px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 23px;
    padding-block: 35px 28px;
  }
  .page-heading h1 {
    font-size: 55px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .heading-number {
    display: none;
  }
  .page-content {
    padding-block: 23px 45px;
  }
  .filter-bar {
    gap: 10px;
    margin-bottom: 23px;
  }
  .filter-bar > .muted {
    display: none;
  }
  .tabs {
    gap: 21px;
  }
  .tabs > a {
    font-size: 10px;
    padding: 13px 0;
  }
  .player-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .player-portrait {
    height: 190px;
  }
  .jersey {
    width: 125px;
  }
  .jersey-number {
    font-size: 120px;
  }
  .player-info {
    padding: 14px 10px;
  }
  .player-info h3 {
    font-size: 21px;
  }
  .player-info .eyebrow {
    font-size: 6px;
    letter-spacing: 0.3px;
  }
  .circle-arrow {
    display: none;
  }
  .position-chip {
    left: 10px;
    bottom: 10px;
    font-size: 6px;
    padding: 3px 6px;
  }
  .player-detail {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .profile-visual {
    aspect-ratio: 1.3;
  }
  .profile-visual > span {
    font-size: 230px;
  }
  .player-detail h1 {
    font-size: 56px;
  }
  .player-detail .eyebrow {
    font-size: 9px;
  }
  .player-stats {
    margin-top: 25px;
  }
  .bio {
    font-size: 13px;
    margin-top: 18px;
  }
  .month-label {
    font-size: 11px;
  }
  .match-detail {
    padding: 30px 15px;
  }
  .match-detail h1 {
    font-size: 37px;
  }
  .detail-score {
    font-size: 70px;
  }
  .match-detail > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .match-player-main {
    font-size: 16px;
  }
  .match-player-meta {
    font-size: 9px;
    margin-left: 5px;
  }
  .report h2 {
    font-size: 33px;
  }
  .ranking-heading {
    padding: 14px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .ranking-row {
    gap: 12px;
    padding: 18px 12px;
  }
  .ranking-row.first-place {
    padding-left: 9px;
  }
  .ranking-row .scorer-rank {
    font-size: 18px;
    min-width: 18px;
  }
  .ranking-row .avatar {
    width: 31px;
    height: 31px;
    font-size: 14px;
  }
  .ranking-name strong {
    font-size: 15px;
  }
  .ranking-player-meta {
    font-size: 9px;
    margin-left: 5px;
  }
  .ranking-name small {
    font-size: 8px;
  }
  .goal-bar {
    display: none;
  }
  .ranking-row > b {
    font-size: 29px;
    min-width: 23px;
  }
  .table-note {
    font-size: 10px;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-image {
    aspect-ratio: 1.15;
  }
  .post-image > strong {
    font-size: 40px;
  }
  .post-copy h3 {
    font-size: 16px;
  }
  .instagram-empty {
    padding: 40px 18px;
  }
  .instagram-empty h2 {
    font-size: 36px;
  }
  .instagram-empty p {
    font-size: 12px;
  }
  .admin-nav {
    gap: 12px;
    align-items: center;
  }
  .admin-nav .tabs {
    gap: 18px;
  }
  .admin-nav .tabs > a {
    font-size: 10px;
  }
  .admin-nav .text-button {
    font-size: 9px;
    white-space: nowrap;
  }
  .demo-settings {
    padding: 16px;
  }
  .demo-settings summary {
    font-size: 11px;
  }
  .admin-match {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
  }
  .admin-match > div {
    flex-basis: 100%;
  }
  .admin-match > .button {
    margin-left: auto;
  }
  .admin-match h3 {
    font-size: 14px;
  }
  .admin-match .tag {
    font-size: 8px;
  }
  .form-grid,
  .goals-grid {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 21px 17px;
  }
  .stack-form {
    gap: 19px;
  }
  .form-panel h2 {
    font-size: 31px;
  }
  .form-divider h3 {
    font-size: 17px;
  }
  .form-actions {
    gap: 17px;
  }
  .goals-grid {
    gap: 10px;
  }
  .goals-grid label {
    font-size: 12px;
  }
  .goals-grid input {
    width: 70px;
  }
  .player-edit-form {
    grid-template-columns: 65px 1fr;
    gap: 12px;
  }
  .player-edit-form label:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .player-edit-form > .button {
    grid-column: 1;
    grid-row: 2;
  }
  .admin-player > form:last-child {
    margin-top: 5px;
  }
  .admin-player > form:last-child .button {
    font-size: 10px;
  }
  .admin-post-layout {
    grid-template-columns: 1fr;
  }
  .login-card {
    padding: 28px 23px;
    margin-block: 10px;
  }
  .login-card h1 {
    font-size: 48px;
  }
  .invite-box {
    padding: 18px;
  }
  .invite-box h3 {
    font-size: 17px;
  }
  .invite-box input {
    font-size: 10px;
  }
  .profile-heading h1 {
    font-size: 60px;
  }
  .empty-state {
    padding: 40px 20px;
  }
  .empty-state h1 {
    font-size: 42px;
  }
  .empty-state h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.ranking-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.loan-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.assist-partners {
  margin-top: 36px;
  max-width: 640px;
}
.assist-partners h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.goal-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 16px 0;
}
.goal-input-row label {
  min-width: 0;
}
.goal-input-row select {
  width: 100%;
}
@media (max-width: 600px) {
  .goal-input-row {
    grid-template-columns: 1fr;
  }
  .nav-wrap nav {
    column-gap: 12px;
    row-gap: 7px;
  }
}

/* Show complete player photos against a very light grey background. */
.player-portrait > img,
.profile-visual > img:not(.profile-crest),
.ranking-photo,
.player-photo-preview {
  object-fit: contain;
  object-position: center;
  background: #f7f7f7;
}
.ranking-photo {
  border-radius: 0;
}
.ranking-row .avatar:has(.ranking-photo) {
  border-radius: 0;
  background: #f7f7f7;
}
.player-photo-preview {
  width: 160px;
  height: 160px;
}

/* Slightly larger, unframed photos in both rankings. */
.ranking-row .avatar:has(.ranking-photo) {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.ranking-row .ranking-photo {
  background: transparent;
  object-fit: contain;
  border: 0;
}
@media (max-width: 580px) {
  .ranking-row .avatar:has(.ranking-photo) {
    width: 36px;
    height: 36px;
  }
}

/* Editable player names use the same typeface without modifying their value. */
input[name="name"], select[name="scorer"], select[name="assist"], select[name="incidentPlayer"] {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 18px;
}

/* Expandable statistics, usable with touch and keyboard without JavaScript. */
.stat-expander > summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}
.stat-expander > summary::-webkit-details-marker {
  display: none;
}
.stat-expander > summary::after {
  content: "+";
  color: var(--orange);
  font: 24px var(--body);
  flex-shrink: 0;
  margin-left: 12px;
}
.stat-expander[open] > summary::after {
  content: "−";
}
.stat-expander > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.stat-expander > .goal-row {
  align-items: center;
  gap: 12px;
}
.stat-expander > .goal-row > span:first-child {
  flex: 1;
}
.stat-occurrences {
  padding: 12px 20px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font: 13px var(--body);
}
.stat-occurrences ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.stat-occurrences li + li {
  border-top: 1px solid var(--line);
}
.stat-occurrences li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px 56px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
}
.stat-occurrences li a > span:first-child {
  overflow-wrap: anywhere;
}
.stat-occurrences time {
  text-align: right;
  white-space: nowrap;
}
.stat-occurrences li a:hover {
  color: var(--orange);
}
.player-stats {
  flex-wrap: wrap;
  align-items: start;
}
.profile-stat {
  min-width: 0;
}
.profile-stat > summary strong {
  font: 700 48px/1.2 var(--display);
}
.profile-stat > summary::after {
  margin-left: 0;
}
.profile-stat[open] {
  flex-basis: 100%;
}
@media (max-width: 580px) {
  .stat-occurrences {
    padding: 10px 12px;
  }
  .stat-expander > .ranking-row {
    gap: 10px;
  }
  .stat-expander > summary::after {
    margin-left: 4px;
  }
}

/* A decorative dot with equal orange and black halves. */
.accent-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.025em;
  border-radius: 50%;
  background: linear-gradient(to bottom, var(--orange) 50%, #000 50%);
  color: transparent;
  font-size: inherit;
  line-height: 0;
  overflow: hidden;
  vertical-align: baseline;
}
