/* 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; }
.gfd { --d-dim: rgba(255,255,255,.5); }
.dark-layout .gfd { --d-dim: rgba(40,48,70,.5); }

/* 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; } }

/* Toolbar */
.gfd .glr-tb .psg-control-group.glr-sel { flex: 1 1 140px; max-width: 240px; }
.gfd .glr-tb .psg-control-group.glr-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.glr-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; }

/* Definitions legend row */
.gfd .psg-legend-icons { flex-wrap: wrap; }

/* Empty states */
.gfd .gfb-empty { font-size: .875rem; }
.gfd .psg-data-card { margin-bottom: 2rem; }

/* Shared kit parts */
.gfd .muted { color: #b9b9c3; }
.dark-layout .gfd .muted { color: #676d7d; }
.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 .pos-pill { flex: 0 0 auto; min-width: 28px; padding: 3px 6px; font-size: 9px; line-height: 1.1; vertical-align: middle; }
.gfd .pos-pill.oth { background: transparent; color: var(--d-tx); box-shadow: inset 0 0 0 1px var(--d-nil); }
.gfd .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 992px) { .gfd .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gfd .foot { font-size: 11px; color: #b9b9c3; margin-top: 10px; }
.gfd .z { color: var(--d-ft); }

/* Section heads and legends */
.gfd .sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.gfd .sec-hd .card-title { margin: 0; }
.gfd .glr-desc { margin: -4px 0 12px; font-size: 12px; color: #b9b9c3; }
.dark-layout .gfd .glr-desc { color: #9aa0b0; }
.gfd .sec-hd .gl-hd-key { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.gfd .gl-hd-key .legend { margin: 0; justify-content: flex-end; align-items: center; gap: 4px 6px; display: flex; flex-wrap: wrap; font-size: 11px; }
.gfd .gl-hd-key .psg-legend-label { margin-right: 4px; }
.gfd .gl-hd-key .badge { display: inline-flex; align-items: center; font-size: .6875rem; }
.gfd .gl-hd-key .badge > i, .gfd .gl-hd-key .badge > .vflag { margin-right: 5px; }
.gfd .gl-hd-key .badge > i.qd.td { margin-left: 2px; margin-right: 7px; }
.gfd .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.gfd .sw.on { background: var(--d-gr); }
.gfd .sw.vf { background: #ea5455; }

/* Stat 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; }
@media (max-width: 575.98px) { .gfd .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 576px) and (max-width: 1199.98px) { .gfd .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gfd .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* Position colours for bar segments and swatches */
.gfd .seg.qb, .gfd .sw.qb, .gfd .swb.qb { background-color: #fca5a5; color: #991b1b; }
.gfd .seg.rb, .gfd .sw.rb, .gfd .swb.rb { background-color: #86efac; color: #166534; }
.gfd .seg.wr, .gfd .sw.wr, .gfd .swb.wr { background-color: #fcd34d; color: #92400e; }
.gfd .seg.te, .gfd .sw.te, .gfd .swb.te { background-color: #67e8f9; color: #155e75; }
.gfd .seg.oth, .gfd .sw.oth, .gfd .swb.oth { background-color: #d6d3e0; color: #5e5873; }
.gfd .seg.nil, .gfd .sw.nil, .gfd .swb.nil { background-color: var(--d-nil); color: var(--d-hd); }
.dark-layout .gfd .seg.qb, .dark-layout .gfd .sw.qb, .dark-layout .gfd .swb.qb { background-color: #d08f8f; color: #711414; }
.dark-layout .gfd .seg.rb, .dark-layout .gfd .sw.rb, .dark-layout .gfd .swb.rb { background-color: #6db286; color: #0d3a1e; }
.dark-layout .gfd .seg.wr, .dark-layout .gfd .sw.wr, .dark-layout .gfd .swb.wr { background-color: #bda159; color: #582608; }
.dark-layout .gfd .seg.te, .dark-layout .gfd .sw.te, .dark-layout .gfd .swb.te { background-color: #54a7b3; color: #0b303c; }
.dark-layout .gfd .seg.oth, .dark-layout .gfd .sw.oth, .dark-layout .gfd .swb.oth { background-color: #6b7288; color: #161d31; }
.gfd .seg.qb { color: #7f1d1d; }
.dark-layout .gfd .seg.qb { color: #5c0f0f; }
.dark-layout .gfd .seg.oth { color: #fff; }
.gfd .seg.alt, .gfd .sw.alt, .gfd .swb.alt { background-image: linear-gradient(90deg, rgba(0,0,0,.38) 0 3px, transparent 3px); }
.gfd .seg.alt2, .gfd .sw.alt2, .gfd .swb.alt2 { background-image: linear-gradient(90deg, rgba(0,0,0,.38) 0 2px, transparent 2px 4px, rgba(0,0,0,.38) 4px 6px, transparent 6px); }
.gfd .sb { display: flex; flex: 1 1 auto; min-width: 0; height: 18px; border-radius: 4px; overflow: hidden; background: var(--d-track); }
.gfd .seg { display: block; height: 100%; min-width: 3px; padding: 0 3px; font-size: 9px; font-weight: 700; line-height: 18px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset -2px 0 0 var(--d-card); }
.gfd .seg:last-child { box-shadow: none; }
.gfd .sb-none { font-size: 10px; line-height: 18px; padding-left: 8px; color: var(--d-ft); }

/* Player cards */
.gfd .pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 12px; }
.gfd .pc, .gfd .tc, .gfd .vc { min-width: 0; background: var(--d-card); border: 1px solid var(--d-bd); border-radius: 8px; box-shadow: var(--d-shadow); padding: 12px 12px 11px; }
.gfd .pc:hover, .gfd .tc:hover { border-color: rgba(20,155,72,.45); }
.gfd .pc-id { display: flex; align-items: center; gap: 7px; }
.gfd .pc-name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .pc-big { display: flex; align-items: center; gap: 4px; margin-left: 2px; }
.gfd .pc-bv { font-size: 24px; font-weight: 800; line-height: 1; color: var(--d-gr); font-variant-numeric: tabular-nums; }
.gfd .pc-bl { font-size: 8px; font-weight: 700; letter-spacing: .4px; line-height: 1.1; color: var(--d-tx); }
.gfd .pc-wk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.gfd .wk { font-size: 10px; font-weight: 600; color: var(--d-tx); padding: 2px 7px; border-radius: 50rem; background: var(--d-panel); }
.gfd .wk b { color: var(--d-hd); margin-left: 2px; }
.gfd .pc-cap { margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-tx); }
.gfd .dns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.gfd .dn { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gfd .dn-l { font-size: 8.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--d-tx); white-space: nowrap; }
.gfd .dn svg { display: block; margin: 3px 0 1px; width: 100%; max-width: 52px; height: auto; }
.gfd .dn-t { fill: none; stroke: var(--d-track); stroke-width: 5; }
.gfd .dn-a { fill: none; stroke: var(--d-gr); stroke-width: 5; }
.gfd .dn-v { font-family: inherit; font-size: 10px; font-weight: 700; fill: var(--d-hd); text-anchor: middle; }
.gfd .dn-v.nil { fill: var(--d-ft); }
.gfd .dn-n { font-size: 10px; color: var(--d-tx); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gfd .pc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--d-bd); }
.gfd .st { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gfd .stl { font-size: 8.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--d-tx); white-space: nowrap; line-height: 1; margin-bottom: 3px; }
.gfd .stv { font-size: 13px; font-weight: 700; line-height: 1; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .st.hot .stv { color: var(--d-gr); }
.gfd .vflag { display: inline-block; flex: 0 0 auto; font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 2px 6px; border-radius: 50rem; background: rgba(234,84,85,.16); color: #b42324; white-space: nowrap; }
.dark-layout .gfd .vflag { color: #ff8a8b; }
.gfd .vflag.sm { font-size: 9px; padding: 1px 4px; vertical-align: middle; }
.gfd .vflag.vmark { width: 16px; height: 16px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; letter-spacing: 0; line-height: 1; }

/* Vulture watch */
.gfd .vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.gfd .vc-big { font-size: 12px; margin: 8px 0 6px; color: var(--d-tx); }
.gfd .vc-big b { font-size: 14px; color: var(--d-hd); }
.gfd .vc-sub { font-size: 10.5px; color: var(--d-tx); margin-top: 6px; }
.gfd .vc .seg:not(.hl) { background-image: linear-gradient(var(--d-dim), var(--d-dim)); }
.gfd .vc .seg.alt:not(.hl) { background-image: linear-gradient(90deg, rgba(0,0,0,.38) 0 3px, transparent 3px), linear-gradient(var(--d-dim), var(--d-dim)); }
.gfd .vc .seg.alt2:not(.hl) { background-image: linear-gradient(90deg, rgba(0,0,0,.38) 0 2px, transparent 2px 4px, rgba(0,0,0,.38) 4px 6px, transparent 6px), linear-gradient(var(--d-dim), var(--d-dim)); }
.dark-layout .gfd .vc .seg:not(.hl) { color: #fff; }

/* QB carries */
.gfd .qrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 0 22px; }
.gfd .qr { display: flex; align-items: center; gap: 8px; padding: 5px 0; box-shadow: inset 0 -1px 0 var(--d-bd); }
.gfd .qr-id { flex: 0 0 124px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.gfd .qr-n { font-size: 12px; font-weight: 600; color: var(--d-hd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .qr-d { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.gfd .qr-s { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .qd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.gfd .qd.ok { background: var(--d-gr); }
.gfd .qd.no { background: #ea5455; }
.gfd .qd.td { background: var(--d-gr); box-shadow: 0 0 0 2px var(--d-card), 0 0 0 3.5px var(--d-hd); }

/* League mix */
.gfd .mx { padding: 9px 0; box-shadow: inset 0 -1px 0 var(--d-bd); }
.gfd .mx:last-child { box-shadow: none; }
.gfd .mx-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.gfd .mx-t { font-size: 12.5px; font-weight: 600; color: var(--d-hd); }
.gfd .mx-s { font-size: 11px; color: var(--d-tx); white-space: nowrap; }
.gfd .mx .sb { height: 14px; }
.gfd .mx .seg { line-height: 14px; }
.gfd .mx-p { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 10.5px; color: var(--d-tx); margin-top: 4px; }
.gfd .mx-k { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; font-weight: 600; margin-top: 4px; color: var(--d-tx); }

/* Team cards */
.gfd .tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.gfd .tc-hd { display: flex; align-items: center; gap: 8px; }
.gfd .tc-name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--d-hd); white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.gfd .tc-big { font-size: 10px; color: var(--d-tx); white-space: nowrap; }
.gfd .tc-big b { font-size: 18px; font-weight: 800; color: var(--d-gr); margin-right: 3px; font-variant-numeric: tabular-nums; }
.gfd .tc-sub { font-size: 10.5px; color: var(--d-tx); margin: 1px 0 6px; }
.gfd .tc-sub .sm { font-style: italic; color: var(--d-ft); }
.gfd .tr { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.gfd .tr-l { flex: 0 0 50px; font-size: 9.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--d-tx); white-space: nowrap; }
.gfd .tr-n { flex: 0 0 18px; text-align: right; font-size: 11px; font-weight: 700; color: var(--d-hd); font-variant-numeric: tabular-nums; }
.gfd .mt { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin-top: 9px; font-size: 11px; font-variant-numeric: tabular-nums; }
.gfd .mt th { font-size: 8.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--d-tx); text-align: right; padding: 3px; box-shadow: inset 0 -1px 0 var(--d-bd); }
.gfd .mt th:first-child { width: 30%; }
.gfd .mt th:nth-child(2) { width: 14%; }
.gfd .mt th:nth-child(6) { width: 16%; }
.gfd .mt th:nth-child(2), .gfd .mt td:nth-child(2) { text-align: center; }
.gfd .mt td { text-align: right; padding: 3px; color: var(--d-tx); box-shadow: inset 0 -1px 0 var(--d-bd); }
.gfd .mt tr:last-child td { box-shadow: none; }
.gfd .mt .l { text-align: left; }
.gfd .mt td.l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfd .mt-n { font-weight: 600; color: var(--d-hd); }
.gfd .mt td.td-hot { color: var(--d-gr); font-weight: 700; }
.gfd .mt .oth-r td { color: #b9b9c3; }
.gfd .swb { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

/* Drawer and full table */
.gfd .drw { margin-top: 16px; border: 1px solid var(--d-bd); border-radius: 8px; }
.gfd .drw > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; color: var(--d-hd); }
.gfd .drw > summary::-webkit-details-marker { display: none; }
.gfd .drw > summary:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }
.gfd .drw-x { font-size: 11px; font-weight: 700; color: var(--d-gr); }
.gfd .drw-x::before { content: "Show"; }
.gfd .drw[open] .drw-x::before { content: "Hide"; }
.gfd .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gfd .drw .tscroll { max-height: 560px; overflow: auto; border-top: 1px solid var(--d-bd); }
.gfd .drw .foot { padding: 0 12px 10px; }
.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 tbody tr:hover td { background: rgba(20,155,72,.06); }
.gfd .ptbl tr.gh th { position: static; padding-bottom: 2px; }
.gfd .ptbl th.gs { text-align: center; box-shadow: inset 0 -2px 0 var(--d-gr22); }
.gfd .ptbl td { vertical-align: middle; }
.gfd .ptbl .pn { font-weight: 600; color: var(--d-hd); }
.gfd .ptbl td .big { display: block; font-weight: 700; line-height: 1.15; color: var(--d-hd); }
.gfd .ptbl td .shp { display: inline-block; margin-top: 2px; padding: 1px 6px; border-radius: 50rem; font-size: 9.5px; font-weight: 600; background: var(--d-panel); color: var(--d-tx); }
.gfd .ptbl td .shp.md { background: var(--d-gr22); color: #0d5e2c; }
.dark-layout .gfd .ptbl td .shp.md { color: var(--d-tx); }
.gfd .ptbl td .shp.hi { background: #149b48; color: #04200f; }
.gfd .ptbl td .shp.sm { font-style: italic; }
.gfd .ptbl .sn, .gfd .ptbl .tm-ph { display: none; }
.gfd .more-btn { display: none; }

/* Phones */
@media (max-width: 575.98px) {
    .gfd .dtbl th:first-child, .gfd .dtbl td:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
    .gfd .dtbl td:first-child { background: #fff; }
    .dark-layout .gfd .dtbl td:first-child { background: #283046; }
    .gfd .dtbl th:first-child { z-index: 3; background: #f3f2f7; }
    .dark-layout .gfd .dtbl th:first-child { background: #343d55; }
    .gfd .dtbl tbody tr:hover td:first-child { background: #f1f9f4; }
    .dark-layout .gfd .dtbl tbody tr:hover td:first-child { background: #273646; }
    .gfd .ptbl .fn { display: none; }
    .gfd .ptbl .sn { display: inline; }
    .gfd .ptbl .tm-ph { display: block; width: max-content; margin-top: 2px; }
    .gfd .ptbl th:nth-child(3), .gfd .ptbl td:nth-child(3) { display: none; }
    .gfd .pc-grid:not(.all) > .pc:nth-child(n+9), .gfd .tc-grid:not(.all) > .tc:nth-child(n+7) { display: none; }
    .gfd .more-btn { display: block; margin: 12px auto 0; font-size: 12px; padding: .35rem .9rem; }
}
.gfd .more-btn:focus-visible { outline: 2px solid var(--d-gr); outline-offset: 2px; }

/* 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; }
}
