:root {
  color-scheme: light;
  --club-green: #1b6845;
  --club-green-dark: #165236;
  --club-border: #e5eae7;
  --club-muted: #737c76;
  --club-surface: #fff;
  --club-page: #f8faf8;
  --club-radius: 14px;
  --club-shadow: 0 12px 30px #143c250d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { display: flex; min-height: 100vh; flex-direction: column; margin: 0; background: var(--club-page); color: #26382e; line-height: 1.55; }
main { flex: 1 0 auto; }
button, select { font: inherit; }
a { color: var(--club-green); text-decoration: none; }
a:hover { color: var(--club-green-dark); }
img { max-width: 100%; }

/* Shared layout and club navigation. */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e9eeea; background: #ffffffed; backdrop-filter: blur(14px); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1120px, calc(100% - 2.5rem)); min-height: 76px; margin: 0 auto; }
.club-brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: #20352a; font-size: .98rem; font-weight: 750; letter-spacing: -.02em; }
.club-brand:hover { color: var(--club-green); }
.club-logo { display: block; flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav-link { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem .9rem; border-radius: 999px; color: #59675e; font-size: .86rem; font-weight: 600; transition: color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.site-nav-link:hover { background: #f0f5f1; color: var(--club-green); }
.site-nav-link:active { transform: scale(.97); }
.site-nav-link.is-active { background: #edf5ef; color: var(--club-green-dark); }
.site-nav-link:focus-visible, .club-brand:focus-visible, .nav-toggle:focus-visible { outline: 3px solid #1b684555; outline-offset: 3px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--club-border); border-radius: 12px; background: white; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #30493a; transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.section { padding: 2.75rem 1.25rem 4rem; }
.container { width: min(1120px, 100%); margin-inline: auto; }
.columns { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr); gap: 2.5rem; }
.column { min-width: 0; }
.title { margin: 0 0 .6rem; color: #20352a; font-size: clamp(1.8rem, 4vw, 2.65rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.12; }
.title.is-4 { font-size: 1.3rem; }
.subtitle { margin: 0 0 1.25rem; color: #65736a; font-size: 1.02rem; }
.latest-result { margin: 0 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--club-border); border-radius: var(--club-radius); background: #fff; box-shadow: 0 5px 18px #143c2508; animation: card-enter 260ms ease; }
.latest-result-header, .latest-result-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.latest-result-title { margin: 0; color: #20352a; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.latest-result-scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .7rem; margin: .85rem 0; }
.latest-result-team { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-width: 0; min-height: 58px; padding: .65rem .8rem; border: 1px solid var(--club-border); border-radius: 10px; background: #f8faf8; }
.latest-result-team.is-our-club { border-color: #c9ddce; background: #edf5ef; color: var(--club-green-dark); }
.latest-result-name { min-width: 0; font-size: .84rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.latest-result-score { flex: 0 0 auto; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.latest-result-versus { color: var(--club-muted); font-size: .7rem; font-weight: 600; }
.latest-result-footer { padding-top: .65rem; border-top: 1px solid #edf0ee; }
.latest-result-date, .latest-result-link { font-size: .72rem; }
.latest-result-date { color: var(--club-muted); }
.latest-result-link { font-weight: 650; }
.latest-result-link:hover { text-decoration: underline; }
.image { display: block; overflow: hidden; border-radius: 18px; background: #edf3ee; box-shadow: var(--club-shadow); }
.image img { display: block; width: 100%; height: auto; }
.box { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--club-border); border-radius: 12px; background: var(--club-surface); }
.has-text-weight-bold { font-weight: 700; }
.is-size-7 { font-size: .78rem; }
.has-text-grey { color: var(--club-muted); }
.mb-3 { margin-bottom: 1rem; }
.is-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media screen and (max-width: 720px) {
  .site-header-inner { min-height: 66px; }
  .club-logo { flex-basis: 42px; width: 42px; height: 42px; }
  body.has-mobile-nav .nav-toggle { display: block; }
  body.has-mobile-nav .site-nav { position: absolute; top: calc(100% + .45rem); right: 1rem; left: 1rem; display: grid; gap: .2rem; padding: .5rem; border: 1px solid var(--club-border); border-radius: 14px; background: #fff; box-shadow: 0 14px 35px #143c2518; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
  body.has-mobile-nav .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav-link { border-radius: 9px; }
  .columns { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 2rem 1rem 3rem; }
}
@media screen and (max-width: 480px) {
  .latest-result { padding: .85rem; }
  .latest-result-scoreboard { gap: .35rem; }
  .latest-result-team { min-height: 54px; gap: .35rem; padding: .55rem; }
  .latest-result-name { font-size: .74rem; }
  .latest-result-score { font-size: 1.1rem; }
}

/* Klassement en uitklapbare wedstrijdkaartjes. */
.matches-page { min-height: 70vh; }

.matches-header { margin-bottom: 2.5rem; }
.season-label { color: var(--club-green); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.65rem; }
.matches-header .title { margin-bottom: 0.5rem; }
.matches-subtitle { color: var(--club-muted); }
.competition-section { margin-bottom: 2.5rem; }
.competition-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.competition-section-heading h2 { font-size: 1.25rem; font-weight: 700; }
.our-team-key, .results-count { color: var(--club-muted); font-size: 0.75rem; }
.our-team-key { display: inline-flex; align-items: center; gap: 0.45rem; }
.our-team-key span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--club-green); }

.standings-scroll { overflow-x: auto; border: 1px solid var(--club-border); border-radius: 14px; background: #fff; }
.standings-scroll:focus-visible { outline: 3px solid var(--club-green); outline-offset: 3px; }
.standings-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.standings-table thead { background: #f7f9f7; color: var(--club-muted); }
.standings-table thead th { padding: 0.8rem 1rem; text-align: right; font-size: 0.7rem; font-weight: 600; }
.standings-table td, .standings-table tbody th { padding: 0.6rem 1rem; border-top: 1px solid #f0f3f1; text-align: right; white-space: nowrap; }
.standings-table th:nth-child(2), .standings-table .standings-team { text-align: left; }
.standings-table .standings-team { width: 100%; font-weight: 500; }
.standings-table .standings-position { color: var(--club-muted); }
.standings-table .standings-points { font-weight: 750; }
.standings-table .our-team { background: #edf6ef; color: #165236; }
.standings-table .our-team .standings-team { font-weight: 750; box-shadow: -3px 0 0 var(--club-green); }
.standings-table .our-team .standings-position { color: #165236; }

.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.result-card { border: 1px solid var(--club-border); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 3px 14px #143c2506; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; animation: card-enter 260ms ease; }
.result-card:hover { border-color: #b7c9bc; transform: translateY(-2px); box-shadow: var(--club-shadow); }
.result-card[open] { border-color: #b7c9bc; box-shadow: 0 4px 18px #143c2510; }
.result-summary { padding: 1.2rem 1.3rem 0.9rem; cursor: pointer; list-style: none; transition: background-color 160ms ease, transform 120ms ease; }
.result-summary:active { transform: scale(.995); }
.result-summary::-webkit-details-marker { display: none; }
.result-summary:focus-visible { outline: 3px solid var(--club-green); outline-offset: -4px; border-radius: 14px; }
.result-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; color: var(--club-muted); font-size: 0.75rem; margin-bottom: 1rem; }
.result-badge { border-radius: 20px; padding: 0.2rem 0.6rem; font-size: 0.68rem; font-weight: 600; white-space: nowrap; }
.result-badge-win { color: #1a6640; background: #edf6ef; }
.result-badge-loss { color: #a14c47; background: #fcf0ee; }
.result-badge-draw { color: #84691b; background: #fcf7e7; }
.result-badge-pending { color: #68746c; background: #f0f3f1; }
.result-teams { display: grid; gap: 0.4rem; }
.result-team-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.result-team-name { min-width: 0; font-size: 0.95rem; font-weight: 500; overflow-wrap: anywhere; }
.result-team-name.is-our-club { font-weight: 700; }
.result-team-score { min-width: 1.5rem; text-align: center; font-size: 1.15rem; font-weight: 750; line-height: 1.3; font-variant-numeric: tabular-nums; }
.result-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; font-size: 0.7rem; color: var(--club-muted); margin-top: 0.8rem; }
.result-chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 160ms ease; }
.result-card[open] .result-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.match-detail { border-top: 1px solid var(--club-border); padding: 1.2rem 1.3rem; background: #fafcfb; }
.result-card[open] > .match-detail { animation: detail-enter 220ms ease both; }
.match-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.match-facts dt { color: var(--club-muted); font-size: 0.7rem; margin-bottom: 0.25rem; }
.match-facts dd { font-size: 0.8rem; }
.match-detail-heading { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.6rem; }
.players-match-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.players-match-table th, .players-match-table td { padding: 0.45rem 0.25rem; border-bottom: 1px solid #eaf0ec; text-align: right; }
.players-match-table thead th { color: var(--club-muted); font-size: 0.65rem; font-weight: 500; }
.players-match-table th:nth-child(2), .players-match-table tbody th { text-align: left; font-weight: 500; }
.players-match-table .player-number { color: var(--club-muted); text-align: left; }
.players-match-table .player-goals { color: var(--club-green); font-weight: 700; }
.players-match-table tr:last-child td, .players-match-table tr:last-child th { border-bottom: 0; }
.match-detail-empty { font-size: 0.8rem; color: var(--club-muted); }
.competition-empty { padding: 1.5rem; border: 1px solid var(--club-border); border-radius: 14px; color: var(--club-muted); font-size: 0.9rem; grid-column: 1 / -1; }

@media screen and (max-width: 768px) {
  .matches-page { padding: 2rem 1.25rem; }
  .matches-header { margin-bottom: 2rem; }
  .results-grid { grid-template-columns: 1fr; }
  .standings-table td, .standings-table tbody th, .standings-table thead th { padding-left: 0.7rem; padding-right: 0.7rem; }
}

@media screen and (max-width: 380px) {
  .result-summary, .match-detail { padding-left: 1rem; padding-right: 1rem; }
  .result-team-name { font-size: 0.85rem; }
  .match-facts { grid-template-columns: 1fr; }
}

/* Aankomend clubevenement op de homepagina. */
.club-event {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--club-border);
  border-left: 4px solid var(--club-green);
  border-radius: 16px;
  background: #f7f9f7;
  box-shadow: 0 5px 18px #143c2508;
  scroll-margin-top: 5.5rem;
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}
.club-event:target { animation: event-focus 800ms ease-out; }

.club-event-date {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.8rem 0.5rem;
  border: 1px solid #e5eae7;
  border-radius: 10px;
  background: #fff;
  color: #737c76;
  font-size: 0.7rem;
  text-align: center;
}

.club-event-date time {
  display: grid;
  justify-items: center;
  color: #1b6845;
}

.club-event-date time strong {
  font-size: 1.7rem;
  line-height: 1.15;
}

.club-event-content { min-width: 0; }
.club-event-label { margin-bottom: 0.25rem; color: #1b6845; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.club-event-content h2 { margin-bottom: 0.35rem; font-size: 1.05rem; font-weight: 700; }
.club-event-content > p:not(.club-event-label) { margin-bottom: 0.65rem; color: #737c76; font-size: 0.85rem; }
.club-event-content a { color: #1b6845; font-size: 0.82rem; font-weight: 650; }
.club-event-content a:hover { text-decoration: underline; }
.club-event-content a:focus-visible { border-radius: 2px; outline: 2px solid #1b6845; outline-offset: 3px; }

@media screen and (max-width: 480px) {
  .club-event { grid-template-columns: 82px minmax(0, 1fr); gap: 0.8rem; padding: 1rem; }
  .club-event-content h2 { font-size: 0.95rem; }
  .club-event-content > p:not(.club-event-label) { font-size: 0.8rem; }
  .club-event-date { font-size: 0.63rem; }
}

/* Direct zichtbare link naar het evenement onder de ploegfoto. */
.event-teaser {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid #e5eae7;
  border-left: 4px solid #1b6845;
  border-radius: 10px;
  background: #f7f9f7;
  color: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.event-teaser:hover { border-color: #b7c9bc; background: #f2f7f3; color: inherit; transform: translateY(-2px); box-shadow: var(--club-shadow); }
.event-teaser:active { transform: scale(.99); }
.event-teaser:focus-visible { outline: 3px solid #1b6845; outline-offset: 3px; }
.event-teaser-date { flex: 0 0 42px; padding: 0.35rem; border-radius: 7px; background: #fff; color: #1b6845; font-size: 1rem; font-weight: 750; line-height: 1.05; text-align: center; }
.event-teaser-date small { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
.event-teaser-copy { display: grid; gap: 0.15rem; min-width: 0; }
.event-teaser-label { color: #737c76; font-size: 0.67rem; letter-spacing: 0.06em; text-transform: uppercase; }
.event-teaser-copy strong { font-size: 0.85rem; }
.event-teaser-link { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: auto; color: #1b6845; font-size: 0.75rem; font-weight: 650; white-space: nowrap; }

.upcoming-match { transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; animation: card-enter 260ms ease; }
.upcoming-match:hover { border-color: #b7c9bc; box-shadow: var(--club-shadow); transform: translateY(-2px); }
.upcoming-matches-scroll { max-height: 54rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: .1rem .45rem .1rem 0; border-radius: 12px; scrollbar-color: #b9c9be transparent; scrollbar-width: thin; }
.upcoming-matches-scroll:focus-visible { outline: 3px solid #1b684555; outline-offset: 3px; }

@media screen and (max-width: 480px) {
  .event-teaser { gap: 0.65rem; padding: 0.7rem; }
  .event-teaser-link { font-size: 0.7rem; }
  .event-teaser-copy strong { font-size: 0.78rem; }
}

.club-event-facts {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 0.65rem;
  margin: 0.8rem 0;
}
.club-event-facts > div {
  padding: 0.6rem 0.7rem;
  border: 1px solid #e5eae7;
  border-radius: 8px;
  background: #fff;
}
.club-event-facts dt { color: #737c76; font-size: 0.67rem; }
.club-event-facts dd { margin-top: 0.12rem; font-size: 0.78rem; font-weight: 600; }
.club-event-content a { display: inline-block; margin-top: 0.1rem; }

@media screen and (max-width: 480px) {
  .club-event-facts { grid-template-columns: 1fr; gap: 0.45rem; }
  .club-event-facts > div { padding: 0.5rem 0.6rem; }
}

/* Gekleurde onderkant met invulplekken voor partners en contactkanalen. */
.site-footer { margin-top: 2rem; padding: 2.75rem 1.25rem 1.25rem; background: #153e2a; color: #edf5ef; }
.site-footer-inner { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(300px, 1.5fr) minmax(210px, .9fr); align-items: start; gap: 2rem; width: min(1120px, 100%); margin: 0 auto; }
.footer-brand { display: inline-flex; align-items: center; width: fit-content; border-radius: 12px; transition: transform 180ms ease; }
.footer-brand:hover { transform: scale(1.03); }
.footer-brand:focus-visible { outline: 3px solid #c5d6ca; outline-offset: 4px; }
.footer-brand img { display: block; flex: 0 0 144px; width: 144px; height: 144px; object-fit: contain; }
.footer-club p, .footer-contact p { margin: .65rem 0 0; color: #c5d6ca; font-size: .8rem; }
.footer-sponsors h2, .footer-contact h2 { margin: 0 0 .75rem; color: #fff; font-size: .84rem; font-weight: 700; }
.footer-links { display: grid; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; color: #e3eee6; font-size: .8rem; transition: color 160ms ease, transform 160ms ease; }
.footer-links img { display: block; flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-links .footer-icon-lzv { padding: 2px; border-radius: 50%; background: #fff; filter: none; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links a:focus-visible { border-radius: 2px; outline: 2px solid #c5d6ca; outline-offset: 3px; }
.sponsor-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.sponsor-slot { display: grid; min-height: 64px; place-items: center; padding: .5rem; border: 1px dashed #76927f; border-radius: 10px; background: #ffffff0b; color: #c5d6ca; font-size: .7rem; }
.sponsor-slot-featured { grid-column: 1 / -1; min-height: 96px; border-style: solid; color: #fff; font-size: .82rem; }

@media screen and (max-width: 800px) {
  .site-footer-inner { grid-template-columns: 1fr 1.5fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media screen and (max-width: 520px) {
  .site-footer { padding: 2.25rem 1rem 1rem; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-contact { grid-column: auto; }
  .footer-brand img { flex-basis: 112px; width: 112px; height: 112px; }
  .sponsor-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .upcoming-matches-scroll { max-height: 44rem; }
}

/* Dynamische spelerskaarten en seizoensstatistieken. */
.squad-page { min-height:70vh; }
.squad-header { margin-bottom:2rem; }
.squad-header .title { margin-bottom:.5rem; }
.squad-subtitle { color:var(--club-muted); }
.player-controls { display:flex; flex-wrap:wrap; gap:.75rem 1rem; margin:-.75rem 0 1.25rem; }
.player-controls label { display:grid; gap:.3rem; color:var(--club-muted); font-size:.72rem; font-weight:600; }
.player-controls select { min-width:170px; padding:.55rem 2rem .55rem .7rem; border:1px solid var(--club-border); border-radius:8px; background:#fff; color:#26382e; font:inherit; font-size:.82rem; }
.player-controls select:focus-visible { outline:3px solid #1b684533; border-color:var(--club-green); }
.player-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.player-card { border:1px solid var(--club-border); border-radius:13px; background:#fff; overflow:hidden; transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease; animation:card-enter 260ms ease; }
.player-card:hover,.player-card[open] { border-color:#b7c9bc; }
.player-card:hover { transform:translateY(-2px); box-shadow:var(--club-shadow); }
.player-card[open] { box-shadow:0 4px 18px #143c2510; }
.player-summary { display:grid; grid-template-columns:112px minmax(0,1fr) 12px; grid-template-rows:auto auto; align-items:center; gap:.5rem 1rem; padding:1rem; cursor:pointer; list-style:none; }
.player-summary::-webkit-details-marker { display:none; }
.player-summary:focus-visible { outline:3px solid var(--club-green); outline-offset:-4px; border-radius:13px; }
.player-portrait { position:relative; display:grid; grid-column:1; grid-row:1 / span 2; width:112px; height:138px; place-items:end center; overflow:hidden; border-radius:9px; background:#edf5ef url("../assets/Logo%20Ballenstampers_zonder_achtergrond.png") center 38% / 92px auto no-repeat; }
.player-portrait::after { position:absolute; right:0; bottom:0; left:0; height:42%; background:linear-gradient(transparent,#102d1dcc); content:""; }
.player-portrait-number { z-index:1; margin-bottom:.55rem; color:#fff; font-size:1.35rem; font-weight:800; text-shadow:0 1px 4px #0008; font-variant-numeric:tabular-nums; }
.player-identity { display:grid; min-width:0; gap:.2rem; }
.player-summary > .player-identity { grid-column:2; grid-row:1; }
.player-name { font-size:.9rem; line-height:1.3; overflow-wrap:anywhere; }
.player-hint { color:var(--club-muted); font-size:.7rem; }
.player-current-stats { display:flex; align-items:baseline; justify-content:flex-end; gap:.55rem; }
.player-summary > .player-current-stats { grid-column:2; grid-row:2; justify-content:flex-start; }
.player-current-stat-group { display:inline-flex; align-items:baseline; gap:.2rem; }
.player-current-stat { color:#26382e; font-size:.86rem; font-weight:700; font-variant-numeric:tabular-nums; }

.player-current-label { color:var(--club-muted); font-size:.62rem; white-space:nowrap; }

.player-chevron { grid-column:3; grid-row:1 / span 2; width:7px;height:7px;border-right:1.5px solid var(--club-muted);border-bottom:1.5px solid var(--club-muted);transform:rotate(45deg) translateY(-2px);transition:transform 160ms ease; }
.player-card[open] .player-chevron { transform:rotate(225deg) translate(-1px,-1px); }
.player-detail { padding:1rem 1.1rem 1.1rem; border-top:1px solid var(--club-border); background:#fafcfb; }
.player-card[open] > .player-detail { animation:detail-enter 220ms ease both; }
.player-stat-heading { margin-bottom:.6rem;font-size:.78rem;font-weight:700; }
.player-seasons { width:100%;border-collapse:collapse;font-size:.75rem;font-variant-numeric:tabular-nums; }
.player-seasons th,.player-seasons td { padding:.5rem .35rem;border-bottom:1px solid #eaf0ec;text-align:right;white-space:nowrap; }
.player-seasons thead th { color:var(--club-muted);font-size:.64rem;font-weight:500; }
.player-seasons th:first-child,.player-seasons td:nth-child(2) { text-align:left; }
.player-seasons tbody th { font-weight:600; }
.player-seasons .player-competition { max-width:92px;overflow:hidden;text-overflow:ellipsis; }
.player-seasons .player-stat-goals { color:var(--club-green);font-weight:700; }
.player-seasons tbody tr:last-child th,.player-seasons tbody tr:last-child td { border-bottom:0; }
.player-source-link { display:inline-block;margin-top:.8rem;color:var(--club-green);font-size:.74rem;font-weight:600; }
.player-source-link:hover { text-decoration:underline; }
.squad-state { grid-column:1/-1;padding:1.4rem;border:1px solid var(--club-border);border-radius:13px;color:var(--club-muted); }
.squad-status { margin-top:1.25rem; }

@media screen and (max-width:768px) {
  .squad-page { padding:2rem 1.25rem; }
  .player-grid { grid-template-columns:1fr; }
}
@media screen and (max-width:430px) {
  .player-summary { grid-template-columns:86px minmax(0,1fr) 10px;gap:.45rem .7rem;padding:.75rem; }
  .player-portrait { width:86px;height:116px;background-size:76px auto; }
  .player-portrait-number { font-size:1.1rem; }
  .player-name { font-size:.83rem; }
  .player-current-label { font-size:.57rem; }
  .player-current-stat { font-size:.78rem; }
  .player-detail { padding:.85rem .75rem; }
}
@keyframes card-enter { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes detail-enter { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@keyframes event-focus { 0% { box-shadow:0 0 0 0 #1b684500; } 35% { box-shadow:0 0 0 5px #1b684522; } 100% { box-shadow:0 0 0 0 #1b684500; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}
