/* Football match protocol (PL / UCL): football_protocol_v1.js. The page is drawn with the NHL protocol classes
   (.nhl41-modal, .nhl41-proto-*, .nhl41-goals-*), so only the football-only bits are styled here:
   card icons in the CARDS list and the red suspension plates. Every class is llfb-prefixed. */
.llfb-cardnote{font-style:normal;display:inline-flex;align-items:center;gap:5px}
.llfb-ic{display:inline-block;width:9px;height:12px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.llfb-ic.llfb-y{background:#f4c20d}
.llfb-ic.llfb-r{background:#e0301f}
.llfb-ic+.llfb-ic{margin-left:-2px}

/* suspensions: red plates under the goals / cards, text from the view's `note` */
.llfb-ban{display:flex;flex-direction:column;gap:3px;margin-top:8px;padding:11px 14px;border-radius:12px;background:#c8261c;color:#fff}
.llfb-ban:first-of-type{margin-top:0}
.llfb-ban b{font:700 13px/1.2 'Oswald',Arial!important;letter-spacing:.08em;color:#fff}
.llfb-ban span{font:400 12px/1.3 'Oswald',Arial!important;color:#fff;opacity:.92}

/* theme plate in the SCORES card head (Premier League now, Champions League later): one size / font / place for every tournament */
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme{flex:0 1 auto;min-width:0;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 7px;border-radius:6px;background:#2a3f9c;color:#fff;font:600 8px/1.1 'Oswald',Arial,sans-serif!important;font-style:normal;letter-spacing:.06em;text-transform:uppercase}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="hat-trick"]{background:#a37a2c}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="last-gasp"]{background:#127a99}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="comeback"]{background:#c2410c}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="robbery"]{background:#3a424d}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="domination"]{background:#0f5a3e}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="derby"]{background:#a3121f}
/* Champions League themes */
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="ucl-turnaround"]{background:#a3242a}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="ucl-giant"]{background:#123f8c}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="ucl-iron"]{background:#3a4356}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="ucl-maestro"]{background:#94661a}
:is(#comp-nhl,#comp-pl,#comp-ucl) .nhl41-scorecard-theme[data-theme="ucl-passport"]{background:#7a5a2e}

/* the themed poster at the very top of the protocol sheet, above the statistics */
.llfb-poster-wrap{padding:48px 14px 4px}   /* room for the sheet close button */
.llfb-poster{display:block;width:min(100%,430px);height:auto;aspect-ratio:1159/1356;margin:0 auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.45)}

/* STATS of PL / UCL (football_stats_v1.js): the cards card shows two counters, the suspensions card holds red plates */
:is(#comp-pl,#comp-ucl) .nhl41-leader.llfb-cards-card article{grid-template-columns:24px 30px minmax(0,1fr) auto}
:is(#comp-pl,#comp-ucl) .llfb-cards{display:inline-flex;align-items:center;gap:4px;font-size:17px!important;white-space:nowrap}
:is(#comp-pl,#comp-ucl) .llfb-cards .llfb-ic{margin:0 0 0 6px}
:is(#comp-pl,#comp-ucl) .llfb-cards .llfb-ic:first-child{margin-left:0}
:is(#comp-pl,#comp-ucl) .llfb-bans{padding:5px 10px 14px}
/* football titles are longer than the NHL ones: wrap them instead of cutting them off with an ellipsis; the long word of the suspensions card is smaller in the 3-column grid */
:is(#comp-pl,#comp-ucl) [data-fbs] .nhl41-leader h2{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.05!important}
@media(min-width:901px){:is(#comp-pl,#comp-ucl) [data-fbs] .nhl41-leader.llfb-ban-card>header{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px}:is(#comp-pl,#comp-ucl) [data-fbs] .nhl41-leader.llfb-ban-card h2{font-size:16px!important;max-width:100%}}

/* SCHEDULE suspension marker (football_schedule_bans_v1.js): the whole half of the row belonging to the team with a
   suspended player gets a light red tint and a red outer edge, plus a small red plate under the owner line naming
   the player (or the count, for several), with a tap/hover tooltip. .away = the left-hand slot, .home = the right
   (SCHEDULE's own layout classes -- see nhl41-row-team in nhl_41_v227.css), so the "outer" edge differs by side. */
:is(#eplScheduleBox,#uclScheduleBox) .nhl41-row-team.llfb-susp-half{position:relative;background:rgba(200,38,28,.09);border-radius:8px;flex-wrap:wrap}
:is(#eplScheduleBox,#uclScheduleBox) .nhl41-row-team.llfb-susp-half.away{border-left:3px solid #c8261c;padding-left:6px}
:is(#eplScheduleBox,#uclScheduleBox) .nhl41-row-team.llfb-susp-half.home{border-right:3px solid #c8261c;padding-right:6px}
.llfb-susp-plate{order:9;grid-column:1/-1;flex:1 1 100%;display:inline-flex;align-items:center;justify-content:center;gap:4px;margin-top:4px;padding:4px 8px;border-radius:6px;background:#c8261c;color:#fff;font:700 10px/1.25 'Oswald',Arial,sans-serif;letter-spacing:.01em;cursor:pointer;text-align:center;max-width:100%;overflow-wrap:anywhere}
.llfb-susp-plate:focus-visible{outline:2px solid #fff;outline-offset:1px}
/* the tooltip itself: one shared element appended to <body> and positioned in JS (football_schedule_bans_v1.js) --
   SCHEDULE rows sit inside an overflow:hidden wrapper, which would clip a tooltip drawn as a child of the row. */
.llfb-susp-float{display:none;position:fixed;z-index:9999;width:max-content;max-width:240px;padding:8px 10px;border-radius:8px;background:#c8261c;color:#fff;font:400 11px/1.35 'Oswald',Arial,sans-serif;text-align:left;box-shadow:0 8px 20px rgba(0,0,0,.35)}
.llfb-susp-float div+div{margin-top:4px}
.llfb-susp-float.open{display:block}
