/* Chart tokens */
.gfd {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--d-tx); line-height: 1.35;
    --d-card: #ffffff; --d-bd: #ebe9f1; --d-hd: #5e5873; --d-tx: #6e6b7b; --d-ft: #b9b9c3;
    --d-panel: #f0f1f2;
    --d-gr: #149b48; --d-gr08: rgba(20,155,72,.08); --d-gr22: rgba(20,155,72,.22);
    --d-gr28: rgba(20,155,72,.28); --d-grhi: #11843d;
    --d-neg: #ea5455; --d-nil: #b9b9c3;
    --d-track: #eef0f2; --d-grid: rgba(94,88,115,.16);
    --d-shadow: 0 4px 24px rgba(34,41,47,.10);
}
.dark-layout .gfd {
    --d-card: #283046; --d-bd: #3b4253; --d-hd: #d0d2d6; --d-tx: #b4b7bd; --d-ft: #676d7d;
    --d-panel: rgba(0,0,0,.22);
    --d-nil: #56607f;
    --d-track: rgba(0,0,0,.24); --d-grid: rgba(255,255,255,.10);
    --d-shadow: 0 4px 24px rgba(0,0,0,.24);
}
.gfd *, .gfd *::before, .gfd *::after { box-sizing: border-box; }

/* Summary + byline row */
.gfd-sub > span:first-child { flex: 1 1 320px; min-width: 0; margin-right: 1rem; }
@media (min-width: 576px) { .gfd-sub > span:last-child { white-space: nowrap; } }

/* Tool tokens */
.gfd { --d-pass: #b9b9c3; --d-gr55: rgba(20,155,72,.5); --d-cap: #b9b9c3; }
.dark-layout .gfd { --d-pass: #56607f; --d-cap: #9aa0b0; }

/* Empty states */
.gfd .gfb-empty { font-size: .875rem; }
.gfd .psg-data-card { margin-bottom: 2rem; }

/* Toolbar and pills */
.gfd .ip-tb .psg-control-group.ip-sel { flex: 1 1 140px; max-width: 240px; }
.gfd .ip-tb .psg-control-group.ip-pills { flex: 0 1 auto; }
@media (max-width: 575.98px) {
    .gfd .psg-filter-card .psg-control-group { flex: 1 1 140px; }
    .gfd .psg-filter-card .psg-control-group.ip-pills { flex: 0 1 auto; }
}
.gfd .pill-group { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.gfd .pill { display: inline-block; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; padding: .35rem .75rem; border-radius: 50rem; border: 1px solid #d8d6de; background: #fff; color: #6e6b7b; cursor: pointer; text-decoration: none; white-space: nowrap; }
.gfd .pill:hover, .gfd .pill:focus { color: #6e6b7b; border-color: rgba(20,155,72,.5); text-decoration: none; }
.dark-layout .gfd .pill { background: #283046; border-color: #56607f; color: #b4b7bd; }
.dark-layout .gfd .pill:hover, .dark-layout .gfd .pill:focus { color: #b4b7bd; border-color: rgba(20,155,72,.6); }
.gfd .pill.on, .gfd .pill.on:hover, .gfd .pill.on:focus,
.dark-layout .gfd .pill.on, .dark-layout .gfd .pill.on:hover, .dark-layout .gfd .pill.on:focus { background: #149b48; border-color: #149b48; color: #fff; }
.gfd .pill:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }

/* Player and team identity */
.gfd .tm { display: inline-block; min-width: 34px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-align: center; background: #f0f1f2; color: #5e5873; }
.dark-layout .gfd .tm { background: rgba(0,0,0,.22); color: #d0d2d6; }
.gfd .pname { font-weight: 600; color: #5e5873; }
.dark-layout .gfd .pname { color: #d0d2d6; }

/* League tiles */
.gfd .tilewrap { margin-bottom: 1.5rem; }
.gfd .tilewrap > .card-body { padding: 1rem; }
.gfd .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; }
.gfd .tiles .card.tile { margin-bottom: 0; padding: 12px 14px; border: 1px solid #ebe9f1; box-shadow: none; min-width: 0; }
.dark-layout .gfd .tiles .card.tile { border-color: #3b4253; }
.gfd .tile .tl { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #b9b9c3; }
.gfd .tile .tv { font-size: 20px; font-weight: 800; color: #5e5873; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.dark-layout .gfd .tile .tv { color: #d0d2d6; }
.gfd .tile .ts { font-size: 11px; color: #b9b9c3; }
.gfd .psg-legend-icons { flex-wrap: wrap; }

/* Bars */
.gfd .bar-track { position: relative; height: 10px; border-radius: 5px; background: #eef0f2; overflow: hidden; min-width: 60px; }
.dark-layout .gfd .bar-track { background: rgba(0,0,0,.24); }
.gfd .bar-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 5px; background: #149b48; }

/* Section heads and legends */
.gfd .ip-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.gfd .ip-sec h6 { margin: 0; font-size: 1.285rem; font-weight: 500; color: var(--d-hd); }
.gfd .ip-desc { margin: -4px 0 12px; font-size: 12px; color: var(--d-cap); }
.gfd .ip-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; color: var(--d-cap); }
.gfd .ip-sec .ip-legend { margin-top: 0; margin-left: auto; justify-content: flex-end; font-size: 11px; }
.gfd .ip-sec .ip-hd-key { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.gfd .ip-hd-key .legend { margin: 0; justify-content: flex-end; align-items: center; gap: 4px 6px; display: flex; flex-wrap: wrap; font-size: 11px; }
.gfd .ip-hd-key .badge { display: inline-flex; align-items: center; font-size: .6875rem; }
.gfd .ip-hd-key .badge > i, .gfd .ip-hd-key .badge > .dot, .gfd .ip-hd-key .badge > svg { margin-right: 5px; }
.gfd .ip-legend i, .gfd .ip-k { display: inline-block; width: 12px; height: 6px; border-radius: 3px; margin-right: 5px; vertical-align: middle; background: var(--d-gr); }
.gfd .ip-legend i.dot { width: 7px; height: 7px; border-radius: 50%; }
.gfd .ip-legend i.nil, .gfd .ip-k.nil { background: var(--d-nil); }
.gfd .ip-legend i.pass, .gfd .ip-k.pass { background: var(--d-pass); }
.gfd .ip-legend i.g55 { background: var(--d-gr55); }
.gfd .ip-legend i.ip-avg { width: 2px; height: 10px; border-radius: 1px; background: var(--d-hd); }
.gfd .ip-k.r { margin: 0 0 0 5px; }

/* Leader cards */
.gfd .ip-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.gfd .ip-card { background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; box-shadow: var(--d-shadow); padding: 12px 12px 12px; min-width: 0; transition: border-color .15s; }
.gfd .ip-card:hover { border-color: rgba(20,155,72,.45); }
.gfd .ip-hd { display: flex; align-items: flex-start; gap: 8px; }
.gfd .ip-rk { color: var(--d-cap); font-variant-numeric: tabular-nums; }
.gfd .ip-who { flex: 1 1 auto; min-width: 0; }
.gfd .ip-who .pname { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .ip-meta { font-size: 10.5px; color: var(--d-cap); margin-top: 3px; }
.gfd .ip-big { flex: 0 0 auto; text-align: right; }
.gfd .ip-big b { display: block; font-size: 24px; font-weight: 800; line-height: 1; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .ip-big span { font-size: 9.5px; font-weight: 700; letter-spacing: .4px; color: var(--d-cap); }
.gfd .ip-mid { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 10px; }
.gfd .ip-ring { position: relative; width: 60px; height: 60px; }
.gfd .ip-ring svg { width: 60px; height: 60px; display: block; transform: rotate(-90deg); }
.gfd .ip-ring .rg-t { stroke: var(--d-track); }
.gfd .ip-ring .rg-v { stroke: var(--d-gr); }
.gfd .ip-ring .rg-l { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.gfd .ip-ring .rg-l b { font-size: 10.5px; font-weight: 800; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .ip-ring .rg-l span { font-size: 8px; font-weight: 700; letter-spacing: .2px; color: var(--d-cap); margin-top: 2px; }
.gfd .ip-rp-lab { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 600; color: var(--d-tx); margin-bottom: 4px; }
.gfd .ip-rp { display: flex; gap: 2px; height: 10px; }
.gfd .ip-rp span { border-radius: 3px; min-width: 3px; }
.gfd .ip-rp .run { background: var(--d-gr); }
.gfd .ip-rp .pass { background: var(--d-pass); }
.gfd .ip-wk { display: grid; grid-template-columns: auto minmax(0, 1fr) 16px; gap: 4px 6px; align-items: center; margin-top: 9px; font-size: 9.5px; color: var(--d-cap); }
.gfd .ip-wk span { font-weight: 700; letter-spacing: .3px; }
.gfd .ip-wk b { text-align: right; color: var(--d-tx); font-variant-numeric: tabular-nums; }
.gfd .ip-wk .bar-track { height: 6px; min-width: 0; }
.gfd .ip-wk .bar-fill { background: var(--d-tx); opacity: .6; }
.gfd .ip-dep { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--d-bd); }
.gfd .ip-dep-hd { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--d-cap); margin-bottom: 4px; }
.gfd .ip-dep-hd span:first-child { font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 9.5px; }
.gfd .ip-dep-hd b { color: var(--d-hd); }
.gfd .ip-dep-hd .ip-few, .gfd .ip-dep-hd .ip-few b { color: var(--d-ft); font-style: italic; }
.gfd .ip-dep svg { display: block; width: 100%; height: auto; }
.gfd .dp-grid { stroke: var(--d-grid); stroke-width: 1; }
.gfd .dp-grid.z { stroke: var(--d-ft); stroke-opacity: .6; }
.gfd .dp-s { fill: var(--d-gr); }
.gfd .dp-n { fill: var(--d-nil); }
.gfd .dp-avg { stroke: var(--d-hd); stroke-width: 2; }
.gfd .dp-avg.dp-few { stroke: var(--d-ft); }
.gfd .ip-ax { position: relative; height: 13px; font-size: 9px; color: var(--d-cap); margin-top: 1px; }
.gfd .ip-ax span { position: absolute; top: 0; transform: translateX(-50%); }
.gfd .ip-ax span:first-child { transform: none; }
.gfd .ip-ax span:last-child { transform: translateX(-100%); }
.gfd .ip-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; margin-top: 8px; padding-top: 9px; border-top: 1px solid var(--d-bd); }
.gfd .ip-st { text-align: center; min-width: 0; }
.gfd .ip-st .l { font-size: 9.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--d-cap); line-height: 1; margin-bottom: 3px; white-space: nowrap; }
.gfd .ip-st .v { font-size: 13.5px; font-weight: 700; line-height: 1; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .ip-st.z .v { color: var(--d-ft); font-weight: 600; }
.gfd .ip-cmore { font-size: 10.5px; color: var(--d-cap); margin-top: 10px; }

/* Grid of the scatter and boards cards */
.gfd .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 992px) { .gfd .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Impact or cleanup scatter */
.gfd .ip-scw { position: relative; padding: 4px 4px 0 0; }
.gfd .ip-ytl { font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-cap); margin: 0 0 8px 30px; text-align: center; }
.gfd .ip-sc { position: relative; height: 320px; margin: 0 0 0 30px; border-left: 1px solid var(--d-bd); border-bottom: 1px solid var(--d-bd); }
.gfd .ip-sc .gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--d-grid); }
.gfd .ip-sc .gl.ip-avg { border-top: 1.5px dashed var(--d-ft); }
.gfd .ip-sc .yl { position: absolute; left: -30px; width: 24px; text-align: right; font-size: 9.5px; color: var(--d-cap); transform: translateY(-50%); }
.gfd .ip-sc .yl.avl { font-weight: 700; color: var(--d-tx); }
.gfd .ip-sc .xl { position: absolute; bottom: -17px; font-size: 9.5px; color: var(--d-cap); transform: translateX(-50%); }
.gfd .ip-sc .pt { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--d-nil); box-shadow: 0 0 0 2px var(--d-card); z-index: 1; }
.gfd .ip-sc .pt.hi { background: var(--d-gr); z-index: 2; }
.gfd .ip-sc .pt:hover { transform: scale(1.5); z-index: 4; }
.gfd .ip-sc .lb { position: absolute; z-index: 3; font-size: 10px; font-weight: 600; color: var(--d-hd); white-space: nowrap; transform: translate(8px, -50%); pointer-events: none; text-shadow: 0 0 2px var(--d-card), 0 0 2px var(--d-card), 0 0 3px var(--d-card), 0 0 5px var(--d-card); }
.gfd .ip-sc .lb.l { transform: translate(calc(-100% - 8px), -50%); }
.gfd .ip-sc .lb.dn { transform: translate(8px, 1px); }
.gfd .ip-sc .lb.l.dn { transform: translate(calc(-100% - 8px), 1px); }
.gfd .ip-sc .qd { position: absolute; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--d-cap); opacity: .85; }
@media (min-width: 992px) { .gfd .ip-sc { height: 440px; } }
.gfd .ip-xtl { margin: 22px 0 0 30px; text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-cap); }

/* Playmaker boards */
.gfd .ip-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.gfd .ip-board { background: var(--d-panel); border-radius: 8px; padding: 10px 11px; }
.gfd .ip-bt { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--d-hd); margin-bottom: 7px; }
.gfd .ip-br { display: grid; grid-template-columns: minmax(0, 1fr) 54px 26px; gap: 8px; align-items: center; font-size: 11.5px; padding: 3px 0; }
.gfd .ip-bn { display: flex; align-items: center; gap: 4px; min-width: 0; }
.gfd .ip-bn .pname { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .ip-bn .tm { flex: none; }
.gfd .ip-bn .tm { min-width: 30px; font-size: 9px; padding: 1px 4px; }
.gfd .ip-br .bar-track { height: 6px; min-width: 0; }
.gfd .ip-br b { text-align: right; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .ip-more, .gfd .ip-none { font-size: 10px; color: var(--d-cap); margin-top: 3px; }

/* Team tackle share rows */
.gfd .ip-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px 22px; }
.gfd .ip-trow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 8px; align-items: center; }
.gfd .ip-tbar { display: flex; gap: 2px; height: 12px; }
.gfd .ip-tbar span { border-radius: 3px; min-width: 2px; }
.gfd .ip-tbar .s1 { background: var(--d-gr); }
.gfd .ip-tbar .s2 { background: var(--d-gr55); }
.gfd .ip-tbar .s3 { background: var(--d-nil); }
.gfd .ip-tcap { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--d-cap); white-space: nowrap; }
.gfd .ip-tcap .pname { font-size: 11px; }
.gfd .ip-tcap span:first-child { overflow: hidden; text-overflow: ellipsis; }
.gfd .ip-ttie { grid-column: 2; font-size: 10px; color: var(--d-cap); margin-top: -2px; }

/* Drawer: full table */
.gfd .ip-drawer { margin-top: 4px; }
.gfd .ip-drawer summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; padding: 10px 12px; border: 1px solid var(--d-bd); border-radius: 8px; background: var(--d-panel); font-size: 1.285rem; font-weight: 500; color: var(--d-hd); }
.gfd .ip-drawer summary::-webkit-details-marker { display: none; }
.gfd .ip-drawer summary:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }
.gfd .ip-drawer summary .ip-chev { font-size: 16px; line-height: 1; color: var(--d-ft); transition: transform .2s; }
.gfd .ip-drawer[open] summary { border-color: rgba(20,155,72,.45); margin-bottom: 10px; }
.gfd .ip-drawer[open] summary .ip-chev { transform: rotate(90deg); color: var(--d-gr); }
.gfd .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gfd .ip-drawer .tscroll { max-height: 560px; overflow: auto; background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; }
.gfd .dtbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gfd .dtbl th { position: sticky; top: 0; z-index: 2; background: #f3f2f7; color: #5e5873; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 8px 10px; text-align: right; white-space: nowrap; }
.dark-layout .gfd .dtbl th { background: #343d55; color: #d0d2d6; }
.gfd .dtbl td { padding: 7px 10px; text-align: right; white-space: nowrap; box-shadow: inset 0 -1px 0 #ebe9f1; color: #6e6b7b; }
.dark-layout .gfd .dtbl td { box-shadow: inset 0 -1px 0 #3b4253; color: #b4b7bd; }
.gfd .dtbl th.l, .gfd .dtbl td.l { text-align: left; }
.gfd .dtbl td.strong { font-weight: 700; color: #5e5873; }
.dark-layout .gfd .dtbl td.strong { color: #d0d2d6; }
.gfd .dtbl tbody tr:hover td { background: rgba(20,155,72,.06); }
.gfd .ip-drawer .dtbl .tm { margin-left: 4px; }
.gfd .ip-drawer .dtbl th:first-child, .gfd .ip-drawer .dtbl td:first-child { position: sticky; left: 0; }
.gfd .ip-drawer .dtbl th:first-child { z-index: 3; background: #f3f2f7; }
.dark-layout .gfd .ip-drawer .dtbl th:first-child { background: #343d55; }
.gfd .ip-drawer .dtbl td:first-child { z-index: 1; background: var(--d-card); }
.gfd .ip-drawer .dtbl tbody tr:hover td:first-child { background: linear-gradient(rgba(20,155,72,.06), rgba(20,155,72,.06)) var(--d-card); }
.gfd .ip-drawer .z { color: var(--d-ft); }
.gfd .ip-trk { display: inline-block; min-width: 20px; font-size: 10.5px; font-weight: 600; color: var(--d-cap); }
.gfd .dtbl td.ip-few, .dark-layout .gfd .dtbl td.ip-few { color: var(--d-ft); font-style: italic; }

/* Heat cells */
.gfd .dtbl td.heat-1 { background: rgba(20,155,72,.10); }
.gfd .dtbl td.heat-2 { background: rgba(20,155,72,.22); color: #0d5e2c; }
.gfd .dtbl td.heat-3 { background: rgba(20,155,72,.38); color: #0d5e2c; }
.gfd .dtbl td.heat-4 { background: rgba(20,155,72,.56); color: #0d3a1e; }
.gfd .dtbl td.heat-5 { background: #0f7a39; color: #fff; }
.gfd .dtbl td.heat-n1 { background: rgba(234,84,85,.14); color: #7a1f20; }
.gfd .dtbl td.heat-n2 { background: rgba(234,84,85,.30); color: #7a1f20; }
.gfd .dtbl td.heat-n3 { background: rgba(234,84,85,.50); color: #7a1f20; }
.dark-layout .gfd .dtbl td.heat-1, .dark-layout .gfd .dtbl td.heat-2, .dark-layout .gfd .dtbl td.heat-n1 { color: #b4b7bd; }
.dark-layout .gfd .dtbl td.heat-3, .dark-layout .gfd .dtbl td.heat-4, .dark-layout .gfd .dtbl td.heat-5,
.dark-layout .gfd .dtbl td.heat-n2, .dark-layout .gfd .dtbl td.heat-n3 { color: #fff; }
.gfd .dtbl tbody tr:hover td.heat-1 { background: rgba(20,155,72,.10); }
.gfd .dtbl tbody tr:hover td.heat-2 { background: rgba(20,155,72,.22); }
.gfd .dtbl tbody tr:hover td.heat-3 { background: rgba(20,155,72,.38); }
.gfd .dtbl tbody tr:hover td.heat-4 { background: rgba(20,155,72,.56); }
.gfd .dtbl tbody tr:hover td.heat-5 { background: #0f7a39; }
.gfd .dtbl tbody tr:hover td.heat-n1 { background: rgba(234,84,85,.14); }
.gfd .dtbl tbody tr:hover td.heat-n2 { background: rgba(234,84,85,.30); }
.gfd .dtbl tbody tr:hover td.heat-n3 { background: rgba(234,84,85,.50); }
.gfd .ip-dnote { font-size: 10.5px; color: var(--d-cap); margin-top: 8px; }
.gfd .ip-dnote .lgc { display: inline-block; width: 12px; height: 6px; border-radius: 3px; margin: 0 4px 0 8px; vertical-align: middle; }
.gfd .ip-dnote .lgc.g { background: rgba(20,155,72,.56); }
.gfd .ip-dnote .lgc.r { background: rgba(234,84,85,.45); }

/* Footnote */
.gfd .foot { font-size: 11px; color: #b9b9c3; margin-top: 10px; }

/* Phone Show more buttons */
.gfd .ip-phmore { display: none; }
.gfd .ip-phmore:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }

@media (max-width: 575.98px) {
    .gfd .ip-cards .ip-card:nth-child(n+7) { display: none; }
    .gfd .ip-cards.ip-open .ip-card:nth-child(n) { display: block; }
    .gfd .ip-teams .ip-trow:nth-child(n+11) { display: none; }
    .gfd .ip-teams.ip-open .ip-trow:nth-child(n) { display: grid; }
    .gfd .ip-phmore { display: block; margin: 12px auto 0; font-size: 12px; padding: .35rem .9rem; }
    .gfd .ip-drawer .tscroll { max-height: none; overflow-y: visible; }
    .gfd .ip-drawer .ip-trk { display: none; }
    .gfd .ip-drawer .dtbl td:first-child .pname { display: block; max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
    .gfd .ip-drawer .dtbl td:first-child .tm { margin: 2px 0 0; min-width: 0; padding: 1px 4px; font-size: 9px; }
    .gfd .ip-sc .lb.ph-hide { display: none; }
    .gfd .ip-sc .pt { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; box-shadow: 0 0 0 1.5px var(--d-card); }
    .gfd .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gfd .ip-tcap { white-space: normal; }
    .gfd .ip-tcap span:first-child { overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
}

/* Phones: the site filter panel (Filter Options toggle), label left and control right as on every site page */
@media (max-width: 767.98px) {
    .gfd .psg-section--filters .psg-toolbar-row .psg-control-group { flex: 0 0 auto; max-width: none; }
}
/* Phones: a Definitions row that would wrap scrolls sideways as one line instead */
@media (max-width: 767.98px) {
    .gfd .psg-legend-row .psg-legend-group { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .gfd .psg-legend-row .psg-legend-group::-webkit-scrollbar { display: none; }
    .gfd .psg-legend-row .psg-legend-icons { flex-wrap: nowrap; flex: 0 0 auto; }
    .gfd .psg-legend-row .psg-legend-group > *, .gfd .psg-legend-row .psg-legend-icons > * { flex: 0 0 auto; white-space: nowrap; }
}

/* Phones: long filter labels take their short form */
.gfd .psg-control-label .lbl-s { display: none; }
@media (max-width: 767.98px) {
    .gfd .psg-control-label .lbl-l { display: none; }
    .gfd .psg-control-label .lbl-s { display: inline; }
}
