[data-club="gsi-pontivy"] {
  color-scheme: dark;
  scroll-padding-top: calc(var(--gsi-header-height) + 18px);
  --rule: var(--gsi-stroke);
  --soft: var(--gsi-text-secondary);
  --mint: var(--gsi-accent-soft);

  & body { margin: 0; }
  & button, & select { font: inherit; color: inherit; }
  & button { cursor: pointer; }
  & [hidden] { display: none !important; }
  & img { display: block; max-width: 100%; height: auto; }
  & figure, & dl, & dd { margin: 0; }
  & address { font-style: normal; }
  & a { color: inherit; text-decoration: none; }
  & p { margin: 0; }
  & main { padding-bottom: 64px; }
  & main:focus { outline: 0; }
  & .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  & .skip {
    position: fixed; top: 8px; left: 16px; z-index: 20; padding: 12px 18px;
    background: var(--gsi-ivory); color: var(--gsi-ink); border-radius: 12px; transform: translateY(-150%);
  }
  & .skip:focus { transform: translateY(0); }
  & .pattern { background: var(--gsi-surface-1) url("/assets/design/forest_ribbons.svg") center / cover no-repeat; }
  & .eyebrow { color: var(--mint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
  & .gsi-pill-button { white-space: normal; text-align: center; }
  & .gsi-pill-button svg, & .text-link svg, & .hero-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
  & .text-link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px;
    font-weight: 800; color: var(--mint); line-height: 1.35; overflow-wrap: anywhere;
  }
  & .text-link:hover, & .hero-link:hover { text-decoration: underline; text-underline-offset: 4px; }
  & .icon-button {
    display: inline-grid; width: 44px; height: 44px; place-items: center; flex: 0 0 44px;
    border-radius: var(--gsi-radius-control); background: var(--gsi-surface-1); border: 1px solid var(--rule);
    transition: background var(--gsi-transition-fast) var(--gsi-ease);
  }
  & .icon-button:hover { background: var(--gsi-surface-hover); }
  & .icon-button span { display: grid; place-items: center; }

  & .header {
    position: sticky; z-index: 5; top: 0; background: var(--gsi-header);
    border-bottom: 1px solid var(--rule); box-shadow: 0 6px 24px #04120f36;
  }
  & .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: var(--gsi-header-height); }
  & .brand {
    display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; color: var(--gsi-text);
    font: 800 30px/.9 var(--gsi-font-display); text-transform: uppercase; letter-spacing: -.015em;
  }
  & .brand img { width: 49px; height: 49px; object-fit: contain; flex: 0 0 auto; }
  & .desktop-nav { display: flex; align-items: stretch; justify-content: center; align-self: stretch; gap: clamp(9px, 1.45vw, 24px); }
  & .desktop-nav > a, & .club-trigger {
    position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 2px;
    color: var(--soft); border: 0; background: none; font-size: 13px; font-weight: 800; white-space: nowrap;
  }
  & .desktop-nav > a:hover, & .club-trigger:hover, & .desktop-nav .is-current { color: var(--gsi-text); }
  & .desktop-nav > .is-current::after, & .club-trigger.is-current::after {
    content: ""; position: absolute; height: 2px; inset: auto 0 0; background: var(--gsi-accent);
  }
  & .nav-club { position: relative; }
  & .club-trigger svg { width: 14px; height: 14px; }
  & .club-submenu {
    position: absolute; top: 100%; left: -16px; min-width: 216px; display: grid; gap: 2px; padding: 8px;
    border: 1px solid var(--rule); border-radius: 0 0 14px 14px; background: var(--gsi-header); box-shadow: var(--gsi-shadow-card);
  }
  & .club-submenu a, & .drawer nav :is(a, summary) {
    display: flex; align-items: center; justify-content: space-between; min-height: 44px;
    padding: 8px 12px; border-radius: 8px; color: var(--soft); font-size: 14px; font-weight: 700;
  }
  & .club-submenu a:hover, & .club-submenu a.is-current, & .drawer nav a.is-current {
    background: var(--gsi-surface-hover); color: var(--gsi-text);
  }
  & .header-cta { min-height: 44px; padding: 0 18px; }
  & .menu-trigger { display: none; }
  & .drawer {
    position: fixed; inset: 0 0 0 auto; box-sizing: border-box; margin: 0; width: min(100%, 420px);
    max-width: none; height: 100%; max-height: none; overflow-y: auto;
    padding: 18px; border: 0; background: var(--gsi-header); color: var(--gsi-text);
  }
  & .drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
  & .drawer nav { display: grid; gap: 4px; }
  & .drawer nav summary { cursor: pointer; background: var(--gsi-surface-1); }
  & .drawer nav details a { padding-left: 24px; }
  & dialog::backdrop { background: #04120fe0; }
  &.dialog-open { overflow: hidden; }

  & .home-fold { margin-top: 28px; }
  & .home-section { margin-top: 72px; }
  & .section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
  & .section-heading h2 { font-weight: 800; }
  & .section-heading > a { align-self: center; }
  & .section-heading > a svg { margin-inline-start: 2px; }
  & .home-section > section { min-width: 0; }
  & .slide-frame { background: var(--gsi-surface-1); min-height: clamp(500px, 39vw, 590px); }
  & .slide-frame::after { content: none; }
  & .hero-slide {
    position: absolute; inset: 0; display: grid; align-items: end; opacity: 0; overflow: hidden;
    transition: opacity 550ms var(--gsi-ease); pointer-events: none;
  }
  & .hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
  & .hero-slide::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, #04120f 1%, #04120fef 15%, #04120f32 64%, #0618130a 100%),
                linear-gradient(90deg, #04120f75, transparent 78%);
  }
  & .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
  & [data-slide="1"] .hero-photo { object-position: center 52%; }
  & .gsi-hero-content { padding: clamp(24px, 3.6vw, 54px); padding-top: 72px; }
  & .hero-tag { display: inline-block; padding: 6px 11px; border-radius: 7px; background: var(--gsi-cta); color: var(--gsi-text); }
  & .gsi-hero-title { margin: 12px 0 10px; max-width: 11em; font-weight: 800; text-wrap: balance; }
  & .hero-summary { max-width: 54ch; color: var(--soft); }
  & .hero-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 10px; color: var(--mint); font-weight: 800; font-size: 14px; }
  & .slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 -8px; }
  & .slider-dots, & .slider-arrows { display: flex; align-items: center; gap: 6px; }
  & .slider-dots button { width: 46px; height: 44px; padding: 0 2px; border: 0; background: none; }
  & .slider-dots button span { display: block; height: 3px; border-radius: 3px; background: var(--gsi-stroke-strong); }
  & .slider-dots button[aria-pressed="true"] span { background: var(--gsi-accent); }

  & .rail { display: grid; min-width: 0; gap: 20px; align-content: start; }
  & .widget { padding: 18px; min-width: 0; }
  & .widget-heading { display: flex; align-items: center; gap: 9px; }
  & .widget-heading > svg { flex-shrink: 0; color: var(--mint); }
  & .widget-heading h2 { font-size: clamp(24px, 2.05vw, 30px); font-weight: 800; }
  & .widget-heading a { margin-left: auto; white-space: nowrap; }
  & .widget-subtitle { margin: 7px 0 10px; color: var(--soft); font-size: 12px; }
  & .widget-tail { display: flex; justify-content: center; margin-bottom: -6px; }
  & .fixture-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 17px 0 9px; }
  & .fixture-tabs button {
    min-height: 44px; padding: 4px 1px; border-radius: 9px; background: var(--gsi-header);
    border: 1px solid var(--rule); color: var(--soft); font-size: 11px; font-weight: 800; line-height: 1.2;
  }
  & .fixture-tabs button:hover { border-color: var(--mint); }
  & .fixture-tabs button[aria-pressed="true"] { background: var(--gsi-ivory); color: var(--gsi-ink); border-color: var(--gsi-ivory); }
  & .fixture-card { padding: 12px 13px 14px; }
  & .fixture-date { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #09261e25; font-size: 12px; font-weight: 800; }
  & .fixture-date span { color: var(--gsi-ink-muted); }
  & .fixture-comp { margin-top: 10px; text-align: center; font-size: 12px; font-weight: 800; }
  & .fixture-versus {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
    gap: 8px; padding: 16px 0 9px; text-align: center;
  }
  & .match-team { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
  & .match-team strong { overflow-wrap: anywhere; }
  & .fixture-versus .match-team { flex-direction: column; justify-content: center; gap: 6px; font-size: 12px; }
  & .team-crest { display: block; flex: 0 0 auto; width: 32px; height: 32px; object-fit: contain; }
  & .team-crest:is([data-crest="us-saint-malo"], [data-crest="us-bourbriac"]) {
    background: var(--gsi-ivory); border-radius: 50%; padding: 2px;
  }
  & .fixture-versus .team-crest { width: 48px; height: 48px; }
  & .fixture-card .score { font-size: 42px; }
  & .score { white-space: nowrap; letter-spacing: .015em; }
  & .fixture-meta {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 9px; margin-bottom: 9px;
    min-height: 1.45em; font-size: 12px; font-weight: 700;
  }
  & .fixture-card .fixture-meta { color: var(--gsi-ink-muted); }
  & .fixture-card .gsi-pill-button { min-height: 44px; width: 100%; padding-inline: 10px; }
  & .cal-empty { padding: 16px; }

  & .gsi-standings table { width: 100%; font-size: 13px; }
  & .table-scroll { border-radius: 12px; overflow: auto; }
  & .gsi-standings :is(th, td) { border-width: 1px; text-align: right; padding: 8px 6px; }
  & .gsi-standings thead th { color: var(--soft); font-weight: 800; white-space: nowrap; }
  & .gsi-standings :is(th, td):nth-child(2) { text-align: left; }
  & .gsi-standings tbody th { font-weight: 700; line-height: 1.2; }
  & .gsi-standings tbody th .team-crest { display: inline-block; margin-right: 7px; vertical-align: middle; width: 25px; height: 25px; }
  & .gsi-standings tbody th span:last-child { vertical-align: middle; overflow-wrap: anywhere; }
  & .gsi-standings tr[data-team] > :first-child { box-shadow: inset 3px 0 var(--mint); }
  & .gsi-standings tr[data-team] td:last-child, & .gsi-standings td:last-child { font-weight: 800; }
  & .table-note { font-size: 12px; color: var(--soft); margin-top: 11px; }
  & .full-standings { min-width: 0; padding: 9px 14px 15px; }
  & .full-table table { min-width: 630px; font-size: 14px; }
  & .full-table :is(th, td) { padding: 10px; height: 53px; }
  & .full-table tbody th .team-crest { width: 30px; height: 30px; margin-right: 8px; }
  & .full-table th:nth-child(2) { min-width: 180px; }
  & .full-standings .table-note { margin-left: 10px; }
  & .table-hint { display: none; }
  & .scorers ol { list-style: none; padding: 0; margin: 0; }
  & .scorers li + li { border-top: 1px solid var(--rule); }
  & .scorers a { display: flex; gap: 10px; justify-content: space-between; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; }
  & .scorers a:hover { color: var(--mint); }
  & .scorers a strong { color: var(--mint); white-space: nowrap; font: 800 23px/1 var(--gsi-font-display); }
  & .scorers a small { font: 700 11px/1 var(--gsi-font-body); }

  & .lead-grid, & .video-grid, & .editorial-grid, & .gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  & .small-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
  & .news-card {
    border-radius: var(--gsi-radius-small); border: 1px solid var(--rule); background: var(--gsi-surface-1);
    transition: transform var(--gsi-transition-fast) var(--gsi-ease), border-color var(--gsi-transition-fast) var(--gsi-ease);
  }
  & .news-card:hover { transform: translateY(-4px); border-color: var(--gsi-stroke-strong); }
  & .news-card > a { display: grid; position: relative; isolation: isolate; min-height: 205px; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
  & .news-large > a { min-height: 250px; aspect-ratio: 16/10; }
  & .news-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
  & .news-video .news-photo { object-position: center 45%; }
  & .news-photo[data-asset="FC07_N02"] { object-position: center 40%; }
  & .news-kind {
    position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border: 1px solid #f4f5f061; border-radius: 8px; background: var(--gsi-canvas-deep);
    color: var(--gsi-text); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  }
  & .news-kind-video { background: var(--gsi-ivory); border-color: var(--gsi-ivory); color: var(--gsi-ink); }
  & .news-kind svg { width: 12px; height: 12px; }
  & .news-card a::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(0deg, #04120f 1%, #04120fee 18%, #04120fa0 39%, #04120f12 69%, transparent);
  }
  & .news-copy { align-self: end; position: relative; z-index: 1; padding: 15px 48px 17px 15px; }
  & .news-large .news-copy { padding: 22px 59px 22px 21px; }
  & .news-copy h3 { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.02; }
  & .news-large h3 { font-size: clamp(24px, 2.55vw, 36px); }
  & .news-meta { display: flex; gap: 3px 9px; flex-wrap: wrap; margin-bottom: 8px; color: var(--gsi-text); font-size: 11px; font-weight: 700; line-height: 1.35; }
  & .news-meta span:first-child { color: var(--mint); font-weight: 800; }
  & .circle-arrow, & .row-arrow {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    color: var(--gsi-text); border: 1px solid var(--gsi-stroke-strong); background: var(--gsi-surface-2);
  }
  & .circle-arrow { position: absolute; bottom: 15px; right: 10px; z-index: 1; }
  & .news-card a:hover .circle-arrow { background: var(--gsi-cta); }
  & .circle-arrow svg, & .row-arrow svg { width: 17px; height: 17px; }

  & .video-card { overflow: hidden; min-width: 0; }
  & .video-cover { display: block; width: 100%; padding: 0; position: relative; border: 0; background: var(--gsi-canvas-deep); border-radius: 0; }
  & .video-cover:focus-visible { outline-offset: -4px; }
  & .video-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  & .video-cover img[data-asset="FC06_057"], & .video-cover img[data-asset="FC06_061"] { object-fit: contain; }
  & .play-button {
    position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: #061813d9; color: var(--gsi-text); border: 1px solid var(--gsi-stroke-strong);
  }
  & .video-cover:hover .play-button { background: var(--gsi-cta); }
  & .video-copy { padding: 15px 16px 5px; }
  & .video-copy h3 { font-size: 25px; }
  & .team-widget > img { width: 100%; height: 134px; object-fit: cover; margin-bottom: 15px; border-radius: 11px; }
  & .team-widget p, & .follow-widget p { color: var(--soft); margin-top: 8px; }
  & .social-links { display: flex; flex-wrap: wrap; gap: 8px; }
  & .follow-widget .social-links { margin-block: 15px; }
  & .photo-mosaic {
    display: grid; grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-areas: "lead a b" "lead c d" "lead e e"; gap: 10px;
  }
  & .photo-mosaic figure:nth-child(1) { grid-area: lead; }
  & .photo-mosaic figure:nth-child(2) { grid-area: a; }
  & .photo-mosaic figure:nth-child(3) { grid-area: b; }
  & .photo-mosaic figure:nth-child(4) { grid-area: c; }
  & .photo-mosaic figure:nth-child(5) { grid-area: d; }
  & .photo-mosaic figure:nth-child(6) { grid-area: e; }
  & .gallery-tile { position: relative; min-width: 0; display: flex; flex-direction: column; }
  & .gallery-photo { display: grid; flex: 1; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--gsi-radius-small); }
  & .gallery-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: opacity var(--gsi-transition-fast) var(--gsi-ease); }
  & .gallery-photo:hover img { opacity: .82; }
  & .gallery-grid img { aspect-ratio: 16/10; }
  & .gallery-grid img:is([data-asset="FC06_017"], [data-asset="FC06_018"]) { width: auto; max-width: 100%; height: auto; margin: auto; object-fit: contain; }
  & .gallery-tile figcaption { font-size: 13px; color: var(--soft); margin: 5px 2px; }
  & .photo-mosaic .gallery-photo { min-height: 110px; height: 110px; }
  & .photo-mosaic .gallery-tile:first-child .gallery-photo { min-height: 320px; height: auto; }
  & .photo-mosaic .gallery-tile:first-child img { object-position: center; }
  & .photo-mosaic figcaption { line-height: 1.32; }
  & .next-band-wrap { margin-top: 52px; }
  & .next-band {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 22px;
    padding: 17px 24px; background: var(--gsi-surface-1) url("/assets/design/emerald_glow.svg") center / cover no-repeat;
  }
  & .next-band h2 { font-size: 34px; }
  & .next-teams { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
  & .next-teams .team-crest { width: 34px; height: 34px; }
  & .next-date { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 13px; }
  & .next-date span { display: block; }
  & .next-date time { font-weight: 800; color: var(--gsi-text); }

  & .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; margin-top: 11px; font-size: 13px; color: var(--soft); }
  & .breadcrumbs svg { width: 13px; height: 13px; }
  & .breadcrumbs a { display: grid; place-items: center; min-height: 44px; color: var(--mint); }
  & .breadcrumbs a:hover { text-decoration: underline; }
  & .page-hero {
    overflow: hidden; position: relative; isolation: isolate; min-height: 225px; display: flex; align-items: end;
    padding: 36px; border: 1px solid var(--rule); border-radius: var(--gsi-radius-hero);
  }
  & .page-hero.has-photo::after {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(90deg, #04120ff7, #04120faa 36%, #04120f0f 81%), linear-gradient(0deg, #04120fd6, transparent 92%);
  }
  & .page-hero .banner-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
  & .page-hero.has-photo { min-height: 310px; }
  & .article-banner .banner-photo { object-position: 70% 38%; }
  & .article-banner.has-photo::after { background: linear-gradient(90deg, #04120ff7, #04120fd6 32%, #04120f20 91%), linear-gradient(0deg, #04120fe8, transparent 82%); }
  & .article-body .article-credit { font-size: 13px; color: var(--gsi-text-muted); }
  & .page-hero .gsi-page-title { max-width: 24ch; margin: 10px 0; font-weight: 800; text-wrap: balance; }
  & .page-hero-copy > p:last-child:not(.eyebrow) { max-width: 58ch; color: var(--soft); }
  & .content-grid { margin-top: 26px; }
  & .primary { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 22px; }
  & .primary > .section-heading { margin-bottom: -5px; }
  & .roster-note, & .team-intro {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px;
    padding: 12px 16px; color: var(--soft); border: 1px solid var(--rule); border-radius: var(--gsi-radius-small);
  }
  & .roster-note p { font-size: 13px; }
  & .team-intro { padding: 17px; }
  & .team-intro h2 { font-size: 32px; }
  & .position-group + .position-group { margin-top: 26px; }
  & .position-group h2 { font-size: clamp(32px, 3vw, 46px); margin-bottom: 20px; }
  & .player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  & .gsi-player-card { aspect-ratio: 3/4; min-width: 0; }
  & .player-link { display: block; height: 100%; }
  & .player-link:focus-visible { outline-offset: -4px; }
  & .portrait-slot { display: grid; place-items: center; overflow: hidden; }
  & .portrait-slot .club-crest { width: clamp(52px, 6vw, 90px); height: auto; opacity: .74; }
  & .card-slot { position: absolute; inset: 0; background-image: url("/assets/design/pitch_lines.svg"); }
  & .card-slot .club-crest { translate: 0 -18%; width: 63px; }
  & .card-slot::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, #04120f 0%, transparent 58%), radial-gradient(ellipse at center 18%, #08755c6e, transparent 70%);
  }
  & .portrait-slot .player-image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  & .jersey {
    position: absolute; top: 12px; left: 13px; color: var(--mint); font: 800 clamp(30px, 3.5vw, 48px)/.9 var(--gsi-font-display);
  }
  & .player-name { position: absolute; inset: auto 10px 11px 13px; }
  & .player-name h3 { font-size: clamp(22px, 2.15vw, 33px); overflow-wrap: anywhere; }
  & .player-name h3 span { display: block; color: var(--soft); font-size: .66em; margin-bottom: 3px; }
  & .player-name p { color: var(--mint); font-size: 12px; font-weight: 800; margin-top: 5px; }
  & .gsi-player-card__reveal { padding: 10px 12px; background: linear-gradient(0deg, #0a2f25 65%, #0a2f25f5 100%); visibility: hidden; }
  & .gsi-player-card__reveal strong { font-size: 13px; }
  & .gsi-player-card__reveal p { color: var(--gsi-text); font-size: 12px; }
  & .gsi-player-card__reveal .text-link { min-height: 27px; margin-top: 2px; font-size: 12px; }
  & .gsi-player-card:is(:hover,:focus-within,.show-facts) .gsi-player-card__reveal { visibility: visible; }
  & .player-info { display: none; position: absolute; top: 7px; right: 7px; background: var(--gsi-header); }
  & .profile-hero {
    display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: stretch; min-height: 470px;
    overflow: hidden; border: 1px solid var(--rule); border-radius: var(--gsi-radius-hero);
  }
  & .profile-slot {
    background: linear-gradient(90deg, transparent, #0a2f2540), url("/assets/design/pitch_lines.svg") center / cover;
    border-right: 1px solid var(--rule);
  }
  & .profile-slot .club-crest { width: 96px; }
  & .profile-title { align-self: center; min-width: 0; padding: clamp(20px, 5vw, 66px); }
  & .profile-title h1 { margin: 10px 0 14px; font-weight: 800; font-size: clamp(42px, 6vw, 90px); overflow-wrap: anywhere; }
  & .profile-title h1 span { display: block; color: var(--soft); font-size: .61em; }
  & .profile-position {
    display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--gsi-cta);
    color: var(--gsi-text); font-weight: 800; font-size: 12px; text-transform: uppercase;
  }
  & .profile-number { font-size: 40px; color: var(--mint); }
  & .fact-list { display: grid; gap: 7px; margin-top: 14px; }
  & .fact-list div { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; }
  & .fact-list dt { min-width: 65px; color: var(--soft); }
  & .fact-list dd { font-weight: 700; }
  & .tabs { display: flex; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
  & .gsi-tab {
    min-height: 44px; padding: 7px 12px; border: 0; border-bottom: 2px solid transparent;
    background: none; color: var(--soft); font-weight: 800;
  }
  & .profile-stat { display: flex; align-items: center; gap: 14px; }
  & .profile-stat strong { font-size: 48px; color: var(--mint); }

  & .filter-bar { padding: 12px; display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
  & .filter-selects { display: flex; flex-wrap: wrap; gap: 10px; }
  & .filter-bar label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--soft); }
  & .filter-bar select {
    min-height: 44px; max-width: 100%; border-radius: var(--gsi-radius-control);
    border: 1px solid var(--gsi-stroke-strong); padding: 5px 9px; background: var(--gsi-header);
    color: var(--gsi-text); font-size: 13px;
  }
  & .segments {
    display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 3px; padding: 3px;
    border: 1px solid var(--rule); border-radius: 13px; background: var(--gsi-header);
  }
  & .segments button {
    min-height: 44px; padding: 5px 11px; background: none; border: 1px solid transparent; border-radius: 9px;
    color: var(--soft); font-size: 12px; font-weight: 800;
  }
  & .segments button[aria-pressed="true"] { background: var(--gsi-cta); color: var(--gsi-text); border-color: var(--gsi-stroke-strong); }
  & .segments button:hover { border-color: var(--mint); }
  & .list-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: var(--soft); font-size: 13px; }
  & .empty-state { display: grid; justify-items: start; gap: 12px; padding: 20px; color: var(--soft); border: 1px dashed var(--rule); border-radius: 14px; }
  & .match-month { display: grid; gap: 9px; }
  & .match-month + .match-month { margin-top: 16px; }
  & .match-month h2 { margin: 0 0 4px; font-size: clamp(31px, 3.2vw, 42px); }
  & .gsi-match-row a {
    display: grid; grid-template-columns: minmax(110px, 1fr) minmax(230px, 3.15fr) minmax(90px, .86fr) auto;
    align-items: center; gap: 10px; padding: 12px; min-height: 92px; border-radius: inherit;
  }
  & .gsi-match-row a:focus-visible { outline-offset: -4px; outline-color: var(--gsi-cta); }
  & .match-row-date { display: grid; align-content: center; gap: 1px; }
  & .match-row-date time { font-weight: 800; font-size: 14px; }
  & .match-row-date small { font-size: 11px; color: var(--gsi-ink-muted); font-weight: 800; }
  & .row-versus { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); gap: 7px; align-items: center; text-align: center; }
  & .row-versus .match-team { font-size: 13px; line-height: 1.22; }
  & .row-versus .match-team:first-child { flex-direction: row-reverse; text-align: right; }
  & .row-versus .match-team:last-child { text-align: left; }
  & .row-versus .team-crest { width: 32px; height: 32px; }
  & .row-versus .score { font-size: 27px; }
  & .match-row-meta { display: grid; color: var(--gsi-ink-muted); line-height: 1.3; font-size: 11px; font-weight: 800; }
  & .row-details { display: flex; align-items: center; justify-content: end; gap: 6px; font-size: 12px; font-weight: 800; }
  & .row-arrow { width: 32px; height: 32px; background: var(--gsi-cta); }
  & .match-scoreboard {
    padding: clamp(16px, 3vw, 34px);
    background: radial-gradient(ellipse at 50% 38%, #155946 0, var(--gsi-surface-1) 66%);
  }
  & .scoreboard-header { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  & .scoreboard-header h1 { font-size: clamp(26px, 3.3vw, 48px); margin-top: 7px; }
  & .match-status { background: var(--gsi-ivory); color: var(--gsi-ink); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
  & .scoreboard .fixture-versus { min-height: 160px; padding-block: 18px; }
  & .scoreboard .match-team { font-size: clamp(13px, 1.8vw, 19px); }
  & .scoreboard .team-crest { width: clamp(58px, 7vw, 92px); height: clamp(58px, 7vw, 92px); }
  & .scoreboard .score { font-size: clamp(44px, 7vw, 70px); }
  & .scoreboard-facts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px 18px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--soft); font-size: 13px; }
  & .scoreboard-facts > span { display: inline-flex; gap: 6px; align-items: center; }
  & .scoreboard-facts svg { color: var(--mint); width: 16px; height: 16px; }
  & .scoreboard-summary { text-align: center; margin: 13px auto 0; max-width: 70ch; }
  & .match-goals { list-style: none; margin: 0; padding: 0; }
  & .match-goals li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  & .goal-minute { color: var(--mint); font: 800 26px/1 var(--gsi-font-display); }
  & .match-goals small { display: block; color: var(--soft); }
  & .match-lineups { padding: 8px 18px; }
  & .match-lineups summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 10px; justify-content: space-between; font-weight: 800; }
  & .match-lineups[open] summary svg { rotate: 180deg; }
  & .match-lineups > div { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 10px; }
  & .match-lineups h3 { font-size: 23px; }
  & .match-lineups ol { padding-left: 20px; color: var(--soft); font-size: 13px; }
  & .match-highlight .video-card { max-width: 560px; }
  & .match-highlight .video-copy { padding-bottom: 16px; }
  & .match-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  & .match-navigation a { display: grid; gap: 3px; min-height: 58px; padding: 9px 13px; border: 1px solid var(--rule); border-radius: 12px; }
  & .match-navigation a:hover { border-color: var(--mint); }
  & .match-navigation span { color: var(--mint); font-size: 12px; }
  & .match-navigation strong { font-size: 13px; }
  & .futsal-feature { display: grid; overflow: hidden; align-items: stretch; }
  & .futsal-feature.with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  & .futsal-copy { padding: clamp(22px, 4vw, 60px); align-self: center; }
  & .futsal-copy h1 { margin: 10px 0 16px; }
  & .futsal-copy > p:not(.eyebrow) { max-width: 54ch; color: var(--soft); }
  & .futsal-competition { display: grid; border-top: 1px solid var(--rule); gap: 3px; margin-top: 22px; padding-top: 15px; }
  & .futsal-competition span { color: var(--soft); font-size: 13px; }
  & .futsal-competition strong { color: var(--mint); font-size: clamp(27px, 3vw, 44px); }
  & .futsal-photo { position: relative; min-height: 300px; }
  & .futsal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
  & .futsal-photo figcaption { position: absolute; inset: auto 0 0; padding: 22px 12px 9px; background: linear-gradient(0deg,#04120ff5,transparent); font-size: 12px; }
  & .futsal-contact { display: flex; align-items: center; justify-content: space-between; gap: 14px 22px; flex-wrap: wrap; margin-top: 18px; padding: clamp(18px,3vw,30px); }
  & .futsal-contact h2 { font-size: 33px; }
  & .futsal-contact p { margin-top: 7px; color: var(--soft); }
  & .season-stats > div:last-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  & .stat-tile { display: grid; text-align: center; padding: 14px 7px; border: 1px solid var(--rule); border-radius: var(--gsi-radius-small); }
  & .stat-tile strong { font-size: 42px; color: var(--mint); }
  & .stat-tile span { color: var(--soft); font-size: 13px; font-weight: 700; }
  & .legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
  & .legend div { display: flex; gap: 9px; }
  & .legend dt { min-width: 36px; color: var(--mint); font-weight: 800; }

  & .editorial-panel, & .article-body { display: grid; gap: 13px; padding: clamp(16px, 2.4vw, 30px); }
  & .editorial-panel h2 { font-size: clamp(28px, 2.8vw, 39px); }
  & :is(.editorial-panel, .article-body) > :is(p, dl, address) { max-width: 72ch; color: var(--soft); }
  & :is(.editorial-panel, .article-body) > :is(a, button) { justify-self: start; }
  & .photo-figure img { width: 100%; border-radius: var(--gsi-radius-small); }
  & .photo-figure figcaption { margin-top: 7px; color: var(--soft); font-size: 13px; }
  & .photo-figure figcaption a { margin-left: 4px; }
  & .article-photo img { max-height: 500px; width: auto; }
  & .small-ground img { width: auto; }
  & .timeline { list-style: none; display: grid; gap: 0; padding: 0; margin: 0; }
  & .timeline li { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  & .timeline strong { font-size: 33px; color: var(--mint); }
  & .timeline p { color: var(--soft); }
  & .directory a { display: grid; gap: 9px; min-height: 110px; padding: 18px; }
  & .directory a:hover { border-color: var(--mint); }
  & .directory h3, & .person-card h3 { font-size: 27px; }
  & .directory p, & .person-card p { color: var(--soft); font-size: 14px; }
  & .directory svg { color: var(--mint); }
  & .people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  & .person-card { overflow: hidden; }
  & .person-card > img { width: 100%; height: auto; aspect-ratio: 4/4; object-fit: cover; object-position: center 25%; }
  & .person-card > div { padding: 15px; }
  & .level-list, & .contact-list { list-style: none; padding: 0; margin: 0; }
  & .level-list li { display: flex; gap: 7px 16px; flex-wrap: wrap; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--rule); }
  & .level-list li span { color: var(--soft); }
  & .contact-list li { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  & .contact-list li > svg { color: var(--mint); flex: 0 0 20px; margin-top: 4px; }
  & .contact-list li div { min-width: 0; display: grid; align-items: baseline; }
  & .not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 26px 0; }
  & #contenu > .page-hero:first-child { margin-top: 28px; }

  & .viewer {
    position: fixed; border: 1px solid var(--gsi-stroke-strong); border-radius: var(--gsi-radius-card);
    background: var(--gsi-canvas); color: var(--gsi-text); width: min(850px, 94vw); max-width: 94vw;
    max-height: 92vh; padding: 60px 16px 12px; overflow: auto;
  }
  & .dialog-close { position: absolute; inset: 8px 8px auto auto; }
  & .viewer figure img { width: 100%; height: min(56vh, 520px); object-fit: scale-down; }
  & .viewer figcaption { color: var(--soft); margin-top: 7px; font-size: 14px; }
  & .viewer figcaption .text-link { margin-left: 6px; }
  & .viewer-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 5px 0; font-size: 14px; }
  & .viewer header h2 { font-size: clamp(25px, 4vw, 38px); margin-bottom: 14px; }
  & .video-frame { aspect-ratio: 16/9; background: var(--gsi-canvas-deep); }
  & .video-frame iframe { width: 100%; height: 100%; border: 0; }

  & .footer { background: var(--gsi-canvas-deep); border-top: 1px solid var(--rule); padding: 32px 0 12px; }
  & .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.35fr; gap: 16px; }
  & .footer-grid strong { font: 800 22px/1 var(--gsi-font-display); text-transform: uppercase; }
  & .footer-grid > div { display: grid; align-content: start; min-width: 0; gap: 6px; }
  & .footer-grid > div:not(.footer-brand) a, & .footer-grid p, & .footer-grid address { color: var(--soft); font-size: 13px; }
  & .footer-grid address { margin-top: 5px; }
  & .footer-grid a:hover { color: var(--mint); }
  & .footer-brand .social-links { margin-top: 6px; }
  & .footer-brand .brand { font-size: 26px; }
  & .footer-brand .club-crest { width: 40px; height: 40px; }
  & .footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); margin-top: 25px; padding-top: 5px; font-size: 12px; color: var(--soft); }

  @media (min-width: 1600px) {
    & .slide-frame { min-height: 590px; }
  }
  @media (max-width: 1199px) {
    & .header-inner { gap: 14px; }
    & .slide-frame { min-height: 460px; }
    & .widget { padding: 13px; }
    & .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    & .gsi-match-row a { grid-template-columns: minmax(90px, .8fr) minmax(225px, 2.5fr) minmax(64px, .7fr) auto; gap: 7px; }
    & .row-versus { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); }
    & .row-versus .match-team { gap: 4px; }
    & .full-table table { min-width: 590px; }
    & .footer-grid { grid-template-columns: 1.35fr 1fr 1fr; row-gap: 22px; }
  }
  @media (max-width: 1100px) {
    & .desktop-nav, & .header-cta { display: none; }
    & .menu-trigger { display: inline-grid; }
  }
  @media (992px <= width <= 1100px) {
    & .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (1200px <= width < 1360px) {
    & .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 991px) {
    & .gsi-two-column > * { min-width: 0; }
    & .home-section { margin-top: 48px; }
    & .home-fold { margin-top: 18px; }
    & .slide-frame { min-height: 420px; }
    & .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .home-fold .calendar { max-width: none; }
    & .home-fold .calendar .fixture-versus .match-team { min-height: 69px; }
    & .gsi-hero-content { padding-top: 64px; }
    & .page-hero { padding: 27px 24px; min-height: 200px; }
    & .content-grid { margin-top: 21px; }
    & .profile-hero { min-height: 360px; }
    & .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    & .photo-mosaic .gallery-photo { min-height: 95px; height: 95px; }
    & .photo-mosaic .gallery-tile:first-child .gallery-photo { min-height: 300px; }
  }
  @media (641px <= width <= 740px) {
    & .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    & .rail, & .people-grid { grid-template-columns: 1fr; }
    & .widget { padding: 15px; }
    & .slide-frame { min-height: 400px; }
    & .hero-photo { object-position: center 34%; }
    & .gsi-hero-content { padding: 18px; }
    & .hero-summary { font-size: 14px; }
    & .hero-link { margin-top: 4px; }
    & .hero-tag { letter-spacing: .09em; }
    & .section-heading { margin-bottom: 12px; }
    & .section-heading a { font-size: 12px; }
    & .lead-grid, & .video-grid, & .editorial-grid { grid-template-columns: 1fr; gap: 12px; }
    & .small-news { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
    & .news-large > a { min-height: 205px; }
    & .news-card:not(.news-large) > a { min-height: 164px; }
    & .news-kind { top: 8px; left: 8px; }
    & .article-banner .banner-photo { object-position: 55% 40%; }
    & .article-banner.has-photo::after { background: linear-gradient(0deg, #04120ff8, #04120f9e 54%, #04120f14); }
    & .futsal-feature.with-photo { grid-template-columns: 1fr; }
    & .futsal-photo { min-height: 195px; order: -1; }
    & .match-scoreboard .fixture-versus { min-height: 120px; }
    & .scoreboard-summary { font-size: 14px; }
    & .scoreboard-facts { gap: 6px 11px; }
    & .match-navigation a { padding-inline: 9px; }
    & .photo-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: none; }
    & .photo-mosaic figure:nth-child(n) { grid-area: auto; }
    & .photo-mosaic .gallery-tile:first-child .gallery-photo { min-height: 110px; }
    & .photo-mosaic .gallery-photo { min-height: 110px; height: 110px; }
    & .photo-mosaic .gallery-tile:first-child .gallery-photo { height: 110px; }
    & .profile-hero { min-height: 0; grid-template-columns: 1fr; }
    & .profile-slot { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--rule); }
    & .profile-slot .club-crest { width: 74px; }
    & .page-hero.has-photo { min-height: 245px; }
    & .page-hero.has-photo::after { background: linear-gradient(0deg, #04120f 0%, #04120fa0 54%, #04120f02); }
    & .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    & .position-group + .position-group, & .match-month + .match-month { margin-top: 8px; }
    & .gsi-match-row a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
    & .match-row-date { grid-column: 1/-1; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
    & .row-versus { grid-column: 1/-1; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); }
    & .row-versus .match-team { font-size: 12px; }
    & .match-row-meta { display: flex; flex-wrap: wrap; gap: 4px 9px; }
    & .match-row-meta span { font-size: 12px; }
    & .season-stats > div:last-child { grid-template-columns: 1fr 1fr; }
    & .full-table table { min-width: 580px; }
    & .full-table :is(th,td) { padding-inline: 8px; }
    & .table-hint { display: flex; align-items: center; gap: 4px; color: var(--mint); font-size: 12px; margin: 2px 0 8px; }
    & .table-hint svg { width: 15px; height: 15px; }
    & .full-table :is(thead,tbody) tr > :nth-child(-n+2) { position: sticky; left: 0; z-index: 1; background: var(--gsi-surface-1); }
    & .full-table :is(thead,tbody) tr > :nth-child(2) { left: 30px; box-shadow: 1px 0 var(--rule); }
    & .full-table :is(thead,tbody) tr > :first-child { width: 30px; }
    & .full-table tbody tr[data-team] > :nth-child(-n+2) { background: var(--gsi-cta); }
    & .next-band { padding: 15px; }
    & .next-band-wrap { margin-top: 34px; }
    & .footer-grid { grid-template-columns: repeat(2,minmax(0, 1fr)); }
    & .footer-grid > div a { min-height: 44px; display: inline-flex; align-items: center; }
    & .footer-grid .social-links a { display: inline-grid; }
    & .footer-grid .brand { gap: 5px; font-size: 22px; }
    & main { padding-bottom: 40px; }
  }
  @media (max-width: 390px) {
    & .slide-frame { min-height: 360px; }
    & .gsi-hero-title { font-size: 43px; }
    & .filter-selects { width: 100%; }
    & .filter-selects label:last-child { flex: 1; min-width: 0; }
    & .legend { grid-template-columns: 1fr; }
    & .slider-dots button { width: 36px; }
  }
  @media (hover: none), (pointer: coarse) {
    & .player-info { display: grid; }
    & .gsi-player-card:is(:hover,:focus-within) .gsi-player-card__reveal { opacity: 0; visibility: hidden; transform: translateY(12px); }
    & .gsi-player-card.show-facts .gsi-player-card__reveal { opacity: 1; visibility: visible; transform: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    & :is(.news-card,.gsi-pill-button):hover { transform: none; }
  }
}
