.gc-match{isolation:isolate;overflow:hidden;border-radius:13px;background:linear-gradient(118deg,#102338,#193746 75%,#18303a);color:#fff;border:1px solid #1c3544;box-shadow:0 4px 18px #10223514}
.gc-match-top,.gc-actions,.gc-match-teams,.gc-side-head,.gc-unit-grades,.gc-slate .cardhead,.fd-caption,.gc-spotlight .cardhead{display:flex;align-items:center}
.gc-match-top{padding:15px 23px;justify-content:space-between;gap:10px;border-bottom:1px solid #ffffff20;font-size:.875rem;color:#d1e2e7}
.gc-match-top strong{font-size:.78rem;letter-spacing:.10em;color:#f7ab76}
.gc-match-teams{align-items:stretch}.gc-side{position:relative;flex:1;min-width:0;padding:22px clamp(12px,2.2vw,32px) 18px;border-top:3px solid var(--club)}.gc-side+.gc-side{border-left:1px solid #ffffff26}
.gc-side-head{gap:13px}.gc-team-code{border-radius:8px;background:var(--club);display:grid;place-items:center;min-width:52px;height:48px;padding:0 5px;font:700 1.3rem var(--display);box-shadow:inset 0 0 0 1px #ffffff26}.gc-side small{color:#c8d7df;letter-spacing:.07em;font-size:.76rem}.gc-side h2{font:700 clamp(1.65rem,3.3vw,3rem)/1.06 var(--display);color:white;margin:3px 0}
.gc-unit-grades{gap:13px;flex-wrap:wrap;margin-top:17px;font-size:.82rem;letter-spacing:.015em;color:#c6d8dc}.gc-unit-grades>div{display:flex;align-items:center;gap:7px;padding-right:12px;border-right:1px solid #6d828b;color:#e4eef2}.gc-unit-grades>div b{background:#e2f1e8;color:#1e513e;font:750 1.28rem var(--display);padding:3px 6px;border-radius:4px}.gc-unit-grades>span b{color:white}
.gc-actions{border-top:1px solid #ffffff23;padding:13px 22px;gap:8px;flex-wrap:wrap;background:#0b1b265c}.gc-actions .btn.secondary{background:#203d4c;border-color:#547080;color:#f5f9fa}.gc-actions .btn.secondary:hover{background:#335361}
.gc-spotlight,.gc-slate{margin-top:15px}.gc-spotlight .cardhead,.gc-slate .cardhead{justify-content:space-between;gap:8px}.gc-spotlight .cardhead>span,.gc-slate .cardhead>span{font-size:.84rem;color:#526573}
.gc-spot-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(10px,2vw,26px)}.gc-players{min-width:0}.gc-players h3{display:flex;align-items:center;gap:7px;font-size:1rem;margin:10px 0 6px}.gc-players h3 i,.gc-tile span i{width:8px;height:8px;border-radius:2px}.gc-players ol{padding:0;margin:0;list-style:none}.gc-players li{display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:5px;align-items:center;min-height:33px;border-top:1px solid #e3e9ec}.gc-players li small{font-size:.78rem;color:#526471;font-weight:700}.gc-players li .link{text-align:left}.gc-players li b{background:#e8eddf;border-radius:4px;padding:2px 5px;color:#49593b;font:700 .93rem var(--display)}.gc-players li b.high{background:#dfefdc;color:#34693d}.gc-players li b.elite{background:#b0eab9;color:#1e5730}
.gc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:8px;margin-top:13px}.gc-tile{display:grid;gap:2px;padding:8px 11px;background:#f5f8f9;color:#213843;border:1px solid #c6d2d8;border-radius:7px;text-align:left}.gc-tile:hover{background:#e8f0f1}.gc-tile.selected{background:#eaf2f2;border:2px solid #397b79;padding:7px 10px}.gc-tile span{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:6px;font-weight:650;font-size:.89rem}.gc-tile .won{color:#177243}.gc-tile small{color:#5a6e78;font-size:.77rem;margin-top:3px}
.fd-chart{background:#163940;border-radius:0 0 10px 10px;overflow:hidden;border:1px solid #193d45;border-top:0}
.fd-game-situation{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;background:#102c37;color:white;padding:11px 20px;gap:10px;border-top:1px solid #53727a}.fd-game-situation>div{display:grid;gap:3px}.fd-game-situation>div:nth-child(2){border-left:1px solid #415d65;border-right:1px solid #415d65;padding:0 16px}.fd-game-situation>div:last-child{text-align:right}.fd-game-situation span{color:#a6c3c7;font-size:.78rem}.fd-game-situation strong{font:700 clamp(1rem,2vw,1.4rem)/1.15 var(--display);letter-spacing:.015em}.fd-game-situation strong small{font:inherit;font-size:.9em;margin-left:4px;color:#d9eef0}
.fd-ground{display:grid;grid-template-columns:4.5% 91% 4.5%;height:clamp(125px,12vw,175px);margin:12px 15px 0;overflow:hidden;border:1px solid #a9c6b7;border-radius:4px;color:white;box-shadow:inset 0 2px 5px #061d2452}.fd-endzone{display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;transform:rotate(180deg);background:repeating-linear-gradient(135deg,#285444 0 8px,#2f5e4d 8px 16px);font:700 clamp(.8rem,1.3vw,1.1rem) var(--display);letter-spacing:.10em;color:#e3f0df;border-left:2px solid #a8cbab}.fd-endzone.away{transform:none}
.fd-grid{position:relative;isolation:isolate;background:repeating-linear-gradient(90deg,transparent 0 calc(5% - 1px),#bad8c67d calc(5% - 1px) 5%),repeating-linear-gradient(90deg,#33785d 0 10%,#2d6d56 10% 20%)}.fd-numbers{position:absolute;left:0;right:0;height:15%;color:#d6e9da;opacity:.83;font:700 clamp(.65rem,1.5vw,.96rem)/1 var(--display)}.fd-numbers.fd-top{top:5%}.fd-numbers.fd-bottom{bottom:1%}.fd-numbers span{position:absolute;transform:translateX(-50%)}.fd-hashes{position:absolute;left:0;right:0;height:5px;background:repeating-linear-gradient(90deg,transparent 0 calc(1% - 1px),#cae4d2 calc(1% - 1px) 1%);opacity:.65}.fd-hashes.high{top:30%}.fd-hashes.low{bottom:30%}
.fd-step{position:absolute;left:var(--x);width:max(3px,var(--w));top:var(--y);height:7px;border-radius:3px;background:#9ef4cb;box-shadow:0 1px 2px #133b37}.fd-step:not(.reverse)::after,.fd-step.reverse::before{position:absolute;content:"";width:0;height:0;right:-1px;top:-2px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #b0f7d6}.fd-step.reverse::before{right:auto;left:-1px;transform:rotate(180deg)}.fd-step.loss,.fd-legend.loss{background:#ff9c67}.fd-step.loss.reverse::before{border-left-color:#ff9c67}.fd-step.takeaway,.fd-legend.takeaway{background:#ff88ad}.fd-step.takeaway::after,.fd-step.takeaway.reverse::before{border-left-color:#ff88ad}.fd-step.score,.fd-legend.score{background:#ffda72}.fd-step.score::after{border-left-color:#ffda72}.fd-step.kick,.fd-legend.kick{background:#c2d8ff}.fd-step.flag,.fd-legend.flag{background:#ffba72}
.fd-chain,.fd-ball-line{position:absolute;top:0;bottom:0;width:0;z-index:2;border-left:3px dashed #ffdc59}.fd-ball-line{border:0;border-left:3px solid #6de0ff;box-shadow:0 0 0 1px #13536c55;z-index:3}.fd-ball-line b{display:block;position:absolute;top:46%;left:-8px;width:14px;height:19px;border:2px solid #f2f8f6;border-radius:74% 8% 74% 8%;background:#b16f41;transform:rotate(22deg);box-shadow:0 1px 4px #12372c}.fd-ball-line b::after{position:absolute;content:"";width:2px;height:8px;top:3px;left:4px;background:#fff;transform:rotate(18deg)}
.fd-caption{justify-content:space-between;gap:8px;flex-wrap:wrap;padding:9px 16px;color:#c6dedb;font-size:.8rem}.fd-caption>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.fd-legend{width:12px;height:4px;border-radius:3px;background:#a5f0c8}.fd-legend:not(:first-child){margin-left:9px}.fd-legend.ball{background:#6de0ff}.fd-legend.chain{background:#ffdc59}.fd-caption b{color:#fff}
@media(max-width:650px){.gc-match-top{padding:11px 12px;align-items:flex-start;flex-direction:column;gap:4px}.gc-side{padding:12px 9px}.gc-side-head{display:grid;gap:8px}.gc-team-code{justify-self:start;height:29px;min-width:39px;font-size:1rem}.gc-unit-grades{gap:6px;margin-top:10px}.gc-unit-grades>div{border:none;width:100%}.gc-actions{padding:10px}.gc-spot-grid{grid-template-columns:1fr}.gc-spotlight .cardhead{align-items:flex-start}.gc-players li{min-height:33px}.gc-tiles{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.fd-game-situation{padding:9px 10px;gap:6px;grid-template-columns:1.1fr .8fr 1fr}.fd-game-situation>div:nth-child(2){padding:0 7px}.fd-ground{margin:8px 7px 0;height:119px}.fd-caption{padding:8px}.fd-game-situation strong small{display:block;margin:2px 0 0}.fd-caption>span{font-size:.75rem}}

/* Final scoreboard. Keep the scoring column aligned within each club's panel. */
.gc-final{container-type:inline-size}
.gc-final-team{
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity score" "ratings score";
  align-items:center;column-gap:clamp(12px,2.2cqi,30px);row-gap:14px;
}
.gc-final-team .gc-side-head{grid-area:identity;min-width:0;gap:clamp(8px,1.25cqi,15px)}
.gc-final-team .gc-side-head>div{min-width:0}
.gc-final-team .gc-side-head h2{overflow-wrap:anywhere;font-size:clamp(1.6rem,3.5cqi,2.85rem)}
.gc-final-team .gc-unit-grades{grid-area:ratings;margin:0;gap:7px 11px}
.gc-final-team .gc-unit-grades>div{width:auto}
.gc-final-score{
  grid-area:score;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;
  gap:7px;padding-inline-start:clamp(12px,1.7cqi,23px);border-inline-start:1px solid #ffffff32;
}
.gc-final-team .gc-points{
  color:#fcfcfa;font:750 clamp(3.65rem,7.6cqi,6rem)/.92 var(--display);
  font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.035em;
}
.gc-outcome{
  color:#f6d0c9;background:#553a3a;border-radius:4px;padding:4px 7px;
  font:730 .71rem/1 var(--sans);letter-spacing:.065em;text-transform:uppercase;
}
.gc-winner .gc-points{color:#b9f4c8}
.gc-winner .gc-outcome{color:#113a24;background:#b4edc1}
.gc-tie .gc-outcome{color:#34290b;background:#f2dc9c}
@container (max-width:770px){
  .gc-final-team .gc-side-head{display:block}
  .gc-final-team .gc-team-code{display:inline-grid;min-width:34px;height:25px;margin-bottom:6px;font-size:.9rem}
}
@container (max-width:585px){
  .gc-final .gc-match-teams{display:grid;grid-template-columns:minmax(0,1fr)}
  .gc-final-team{column-gap:13px;row-gap:8px;padding:13px 16px}
  .gc-final-team+.gc-final-team{border-left:0}
  .gc-final-team .gc-side-head{display:flex;align-items:center;gap:10px}
  .gc-final-team .gc-team-code{margin:0;min-width:40px;height:36px;font-size:1rem}
  .gc-final-team .gc-unit-grades{font-size:.75rem}
  .gc-final-team .gc-unit-grades>div{padding:0;border:0}
}
@media(forced-colors:active){
  .gc-final-score{border-inline-start-color:CanvasText}
  .gc-outcome{border:1px solid currentColor}
}
