/* Match overview only: separate club identity from player rows. */
.fcgw-page .fcgw-match-card{background:#0d1019;border-color:#39434f;box-shadow:0 10px 25px #0003}
.fcgw-page .fcgw-match-card>header{background:linear-gradient(135deg,#262934,#141722);border-bottom:1px solid #505260;padding:14px 10px}
.fcgw-page .fcgw-match-card>header>div>b{font-size:15px;color:#fff}
.fcgw-page .fcgw-match-card.is-match-live>header{background:linear-gradient(135deg,#114938,#0e2925)}
.fcgw-page .fcgw-match-tabs{background:#0b0d14;border-color:#323642;padding:7px;gap:8px}
.fcgw-page .fcgw-match-tabs button{color:#aeb5c4}
.fcgw-page .fcgw-match-tabs button.active{background:linear-gradient(135deg,#584627,#33291b);box-shadow:inset 0 0 0 1px #d7b56c;color:#ffe7ae}
.fcgw-page .fcgw-player-panel{padding:9px;background:#10131c}
.fcgw-page .fcgw-league-grid,.fcgw-page .fcgw-real-lineups{gap:9px}
.fcgw-page .fcgw-owner-squad,.fcgw-page .fcgw-real-team{background:#171b25;border:1px solid #42434d;border-radius:12px;box-shadow:0 4px 12px #0003;overflow:hidden}
.fcgw-page .fcgw-owner-squad>header{background:linear-gradient(100deg,color-mix(in srgb,var(--squad-accent) 28%,#22232c),#242530);border-left:4px solid var(--squad-accent);border-bottom:1px solid color-mix(in srgb,var(--squad-accent) 45%,#343440);min-height:44px;padding:8px 6px;gap:7px}
.fcgw-page .fcgw-owner-squad>header strong,.fcgw-page .fcgw-real-team>header strong{color:#fff;font-size:14px;line-height:18px}
.fcgw-page .fcgw-owner-squad>header img{width:27px;height:29px;filter:drop-shadow(0 2px 3px #0007)}
.fcgw-page .fcgw-player-line{background:#141821;border-bottom:1px solid #30333c;min-height:49px;padding:8px 5px}
.fcgw-page .fcgw-player-line:nth-child(even){background:#1c202a}
.fcgw-page .fcgw-line-copy>strong{color:#e6e8ef;font-weight:650;font-size:14px;line-height:18px}
.fcgw-page .fcgw-player-line:last-child{border-bottom:0}
.fcgw-page .fcgw-real-team>header{background:linear-gradient(110deg,#483c28,#27242b);border-left:4px solid #d7b56c;border-bottom:1px solid #78603b;min-height:44px}
.fcgw-page .fcgw-real-team h4{background:#11141d;color:#c1ae83;letter-spacing:.08em;padding:8px;margin:0;font-size:11px}
@media(max-width:400px){.fcgw-page .fcgw-player-panel{padding:6px}.fcgw-page .fcgw-league-grid,.fcgw-page .fcgw-real-lineups{gap:6px}.fcgw-page .fcgw-owner-squad>header strong{font-size:13px}.fcgw-page .fcgw-line-copy>strong{font-size:13px}}

/* Mi liga: muted club colour only in the team heading. */
.fcgw-page .fcgw-owner-squad{background:#282d38;border-color:#4b5260;box-shadow:0 5px 14px #0003}
.fcgw-page .fcgw-owner-squad>header{background:linear-gradient(110deg,color-mix(in srgb,var(--squad-accent) 30%,#414550),color-mix(in srgb,var(--squad-accent) 20%,#373c48));border-left:4px solid var(--squad-accent);border-bottom:1px solid #545b68}
.fcgw-page .fcgw-owner-squad>header strong{color:#fff;font-weight:900;text-shadow:none}
.fcgw-page .fcgw-owner-squad .fcgw-player-line,.fcgw-page .fcgw-owner-squad .fcgw-player-line:nth-child(even){background:#282d38;border-bottom-color:#424956}
.fcgw-page .fcgw-owner-squad .fcgw-line-copy>strong{color:#edf0f6;font-weight:750;text-shadow:none}
.fcgw-page .fcgw-owner-squad .fcgw-player-line:hover{background:#323946}

/* Clear outline for each fantasy team; white identity for Davidcete BP. */
.fcgw-page .fcgw-owner-squad{border:1px solid #a7b1bf;box-shadow:inset 0 0 0 1px #ffffff0a,0 5px 14px #0003}
.fcgw-page .fcgw-owner-squad[data-owner-id="125411"]>header{background:linear-gradient(110deg,#77818e,#424b59);border-left-color:#dce2ea;border-bottom-color:#8994a3}
.fcgw-page .fcgw-owner-squad[data-owner-id="125411"]>header strong{color:#fff;text-shadow:none}

.fcgw-page .fcgw-owner-squad:is([data-owner-id="761335"],[data-owner-id="655378"])>header{background:linear-gradient(110deg,#245f96 0%,#364d68 48%,#8b752c 100%);border-left-color:#51b8ef;border-bottom-color:#a38c44}

.fcgw-page .fcgw-owner-squad[data-owner-id="761335"]>header{background:linear-gradient(110deg,#8b752c,#364d68 52%,#245f96);border-left-color:#e1c252}
.fcgw-page .fcgw-owner-squad[data-owner-id="125462"]>header{background:linear-gradient(110deg,#923d49,#865738 52%,#968032);border-left-color:#ed6575}
.fcgw-page .fcgw-owner-squad[data-owner-id="124248"]>header{background:linear-gradient(110deg,#285e92,#4c4563 52%,#923c4c);border-left-color:#65b6ef}
.fcgw-page .fcgw-real-team{background:#282d38;border:1px solid #a7b1bf;box-shadow:0 5px 14px #0003}
.fcgw-page .fcgw-real-team .fcgw-player-line,.fcgw-page .fcgw-real-team .fcgw-player-line:nth-child(even){background:#282d38;border-bottom-color:#424956}
.fcgw-page .fcgw-real-team .fcgw-line-copy>strong{color:#edf0f6;font-weight:750}
.fcgw-page .fcgw-real-team>header{background:linear-gradient(110deg,#655232,#3c404c);border-left-color:#d6b86d}

.fcgw-page .fcgw-owner-squad[data-owner-id="129010"]>header{background:linear-gradient(110deg,#14684d,#476043 50%,#917733);border-left-color:#32dfa3}
.fcgw-page .fcgw-owner-squad[data-owner-id="127748"]>header{background:linear-gradient(110deg,#914565,#a97588 52%,#b9bec7);border-left-color:#f079ae}
.fcgw-page .fcgw-owner-squad[data-owner-id="129490"]>header{background:linear-gradient(110deg,#15161a,#48402a 50%,#957b31);border-left-color:#d5b651}
.fcgw-page .fcgw-owner-squad[data-owner-id="125398"]>header{background:linear-gradient(110deg,#15161a,#462730 50%,#963f4c);border-left-color:#e06373}
.fcgw-page .fcgw-owner-squad[data-owner-id="125411"]>header{background:linear-gradient(110deg,#181b22,#57616d 55%,#aeb9c7);border-left-color:#e0e6ed}

.fcgw-page .fc-match-narration{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);height:106px;margin:35px 9px 12px;border:1px solid #b59a59;border-radius:14px;background:radial-gradient(ellipse at 0 100%,#ad7e3640,transparent 65%),linear-gradient(120deg,#352b21,#202431 65%);box-shadow:inset 0 1px #fff2,0 7px 18px #0004;text-decoration:none;color:#f5f3ee;overflow:visible}
.fcgw-page .fc-match-narration[hidden]{display:none!important}
.fc-narrator-photo{position:absolute;left:0;bottom:0;width:116px;height:134px;object-fit:cover;object-position:top;filter:drop-shadow(3px 0 5px #0006);pointer-events:none;border-radius:0 0 0 13px}
.fc-narration-copy{grid-column:2;min-width:0;padding:9px 10px 8px 4px}
.fc-narration-heading{display:flex;align-items:center;gap:5px;justify-content:space-between}
.fc-narration-heading>span{font-size:9px;line-height:12px;font-weight:900;color:#efd48e;letter-spacing:.03em}
.fc-narration-heading time{flex-shrink:0;border:1px solid #ba9348;border-radius:6px;padding:3px 5px;background:#584120;color:#ffe49f;font-weight:900;font-size:11px}
.fc-narration-copy p{font-size:14px;line-height:19px;font-weight:750;margin:7px 0 0;color:#f5f5f6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fcgw-page .fc-match-narration.is-live{border-color:#4ee8a6;background:radial-gradient(ellipse at 0 100%,#24b77545,transparent 70%),linear-gradient(120deg,#153c2d,#202431 75%);animation:fc-narration-pulse 2s ease-in-out infinite}
.fc-match-narration.is-live .fc-narration-heading>span{color:#83f8bb}
.fc-match-narration.is-live time{color:#9bffd1;background:#15583b;border-color:#4fe7a0}
.fc-match-narration:focus-visible{outline:3px solid #67d1f7;outline-offset:3px}
@keyframes fc-narration-pulse{0%,100%{box-shadow:inset 0 1px #fff2,0 0 0 0 #38df9830}50%{box-shadow:inset 0 1px #fff2,0 0 0 4px #38df980d,0 0 18px #38df9835}}
@media(prefers-reduced-motion:reduce){.fcgw-page .fc-match-narration.is-live{animation:none}}
@media(max-width:380px){.fcgw-page .fc-match-narration{grid-template-columns:94px minmax(0,1fr)}.fc-narrator-photo{width:98px;height:128px}.fc-narration-copy{padding-right:7px}.fc-narration-heading>span{font-size:8px}.fc-narration-copy p{font-size:13px}}

.fc-narration-direct{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #54c9f4;border-radius:8px;background:linear-gradient(135deg,#236486,#123c51);color:#f2fbff;font-size:12px;line-height:16px;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:inset 0 1px #ffffff30,0 2px 8px #0003}
.fc-narration-direct:hover{filter:brightness(1.15)}
.fc-narration-comment{display:block;text-decoration:none;color:inherit;border-radius:4px}
.fc-narration-comment:hover p{color:#a4e6ff}
.fc-narration-direct:focus-visible,.fc-narration-comment:focus-visible{outline:3px solid #67d1f7;outline-offset:3px}
.fc-match-narration.is-live .fc-narration-direct{border-color:#50eaa5;background:linear-gradient(135deg,#16784c,#12482f);color:#d9ffec}
@media(max-width:380px){.fc-narration-direct{font-size:11px;padding-inline:6px}}
.fc-narration-comment p{margin-top:5px;line-height:18px}

/* Shared narration card: centered action, independent commentary link. */
.fcgw-page .fc-match-narration{height:116px}
.fc-narration-heading{justify-content:center;min-height:28px}
.fc-narration-heading .fc-narration-direct{position:absolute;top:9px;left:50%;transform:translateX(-50%)}
.fc-narration-heading time{position:absolute;top:-12px;right:8px;box-shadow:0 2px 6px #0004}
.fc-narration-comment p{margin-top:12px}
.fc-narrator-photo{height:144px}
@media(max-width:380px){.fc-narrator-photo{height:138px}}

.fcgw-page .fcgw-match-details{gap:24px}
.fcgw-page .fcgw-match-card{border-color:#84909f;box-shadow:0 10px 25px #0004,inset 0 0 0 1px #ffffff08}
.fc-narration-heading time{top:9px}
.fc-narration-heading>.fc-narration-direct{font-size:12px;line-height:16px;color:#f2fbff;letter-spacing:normal}
.fc-match-narration.is-live .fc-narration-heading>.fc-narration-direct{color:#d9ffec}
.fc-match-narration:hover .fc-narration-direct{filter:brightness(1.12)}
@media(max-width:380px){.fc-narration-heading>.fc-narration-direct{font-size:11px}}

.fcgw-page .fcgw-match-details{gap:36px}

.fcgw-page .fcgw-owner-squad>header{height:34px;min-height:34px;padding:3px 6px;gap:6px}
.fcgw-page .fcgw-owner-squad>header img{width:24px;height:25px}
.fcgw-page .fcgw-owner-squad>header strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:17px}

/* Match header: give the score and match state more visual weight. */
.fcgw-page .fcgw-match-card>header{grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);gap:8px}
.fcgw-page .fcgw-match-card>header>strong{font-size:32px;line-height:1.2}
.fcgw-page .fcgw-match-card>header>strong small{font-size:12px;line-height:17px;font-weight:900;letter-spacing:.035em;margin-top:7px}
@media(max-width:360px){.fcgw-page .fcgw-match-card>header{grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:5px}.fcgw-page .fcgw-match-card>header>strong{font-size:29px}.fcgw-page .fcgw-match-card>header>strong small{font-size:11px}}

.fcgw-page .fcgw-owner-squad[data-owner-id="230566"]>header{background:linear-gradient(110deg,#a82439,#c4717d 55%,#f3f3f5);border-left-color:#ff324f}.fcgw-page .fcgw-owner-squad[data-owner-id="230566"]>header strong{color:#fff;text-shadow:0 1px 3px #0008}
