/* FGG fixtures 0.6.0 — one visual system (mockup v3, 17/11/2026; contrast pass + Tickets signal, 18/11):
   radius 8px everywhere (999px only for counters), border #dfe6e3, one control height (40px desktop / 36px small screens),
   kick-off groups instead of a time box per card, TV bar + legend-as-filters, aligned columns, ground line as second row. */
.fgg-wk{font-family:Outfit,sans-serif;color:#1d2a41;padding:4px 0 40px;line-height:1.4;font-size:15px}
.fgg-wk *{box-sizing:border-box}
.fgg-wk a{color:#1d2a41;text-decoration:underline;text-decoration-color:#44ccab;text-underline-offset:3px}
.fgg-wk a:hover{color:#44ccab}
.fgg-wk [hidden]{display:none!important}

/* ---- day strip */
.fgg-wk__strip{display:grid;grid-template-columns:40px 1fr 40px;gap:6px;border:1px solid #dfe6e3;border-radius:8px;padding:6px;background:#fff;margin:0 0 12px;position:relative}
.fgg-wk__month{position:absolute;top:-9px;left:60px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:#fff;padding:0 6px;color:#56657a}
.fgg-wk__arr{border:0;background:#f1f6f4;border-radius:8px;font:inherit;font-size:20px;color:#1d2a41;cursor:pointer;height:100%;min-height:44px}
.fgg-wk__days{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px}
.fgg-wk__d{height:60px;border:2px solid transparent;border-radius:8px;padding:5px 0 0;text-align:center;background:#fff;display:flex;flex-direction:column;align-items:center;text-decoration:none!important;color:#1d2a41}
.fgg-wk__d:hover{background:#eef3f1;color:#1d2a41}
.fgg-wk__d small{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#56657a;font-weight:600;line-height:13px}
.fgg-wk__n{font-size:18px;font-weight:600;line-height:21px;font-variant-numeric:tabular-nums}
.fgg-wk__c{font-size:10px;font-weight:600;min-width:22px;height:15px;line-height:15px;border-radius:999px;background:#eef3f1;color:#56657a;margin-top:2px;padding:0 5px}
.fgg-wk__d.is-past .fgg-wk__n,.fgg-wk__d.is-past small{color:#8a97a0}
.fgg-wk__d.is-zero .fgg-wk__c{background:#f6f8f7;color:#b4bec5}
.fgg-wk__d.is-we{background:#eef7f4}
.fgg-wk__d.is-today{border-color:#44ccab}.fgg-wk__d.is-today small{color:#2aa98a;font-weight:700}
.fgg-wk .fgg-wk__d.is-on,.fgg-wk .fgg-wk__d.is-on:hover{background:#1d2a41;border-color:#1d2a41;color:#fff}
.fgg-wk .fgg-wk__d.is-on small,.fgg-wk .fgg-wk__d.is-on .fgg-wk__n{color:#fff!important}
.fgg-wk__d.is-on .fgg-wk__c{background:#44ccab;color:#102a22}

/* ---- toolbar: every control is 40px, radius 8, border #cfd8d4 */
.fgg-wk__tb{display:flex;gap:8px;align-items:center;margin:0 0 18px;flex-wrap:wrap;position:relative}
.fgg-wk__sep{width:1px;height:24px;background:#dfe6e3;margin:0 2px}
.fgg-wk__sel{position:relative}
.fgg-wk__sel summary,.fgg-wk__chip,.fgg-wk__near{height:40px;border:1px solid #cfd8d4;background:#fff;border-radius:8px;padding:0 14px;font:600 14px/1 Outfit,sans-serif;color:#1d2a41;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer;text-decoration:none!important}
.fgg-wk__sel summary{list-style:none;user-select:none}
.fgg-wk__sel summary::-webkit-details-marker{display:none}
.fgg-wk__sel summary small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#56657a;font-weight:600}
.fgg-wk__sel summary b{font-weight:600}
.fgg-wk__sel summary i{font-style:normal;color:#56657a}
.fgg-wk__sel.is-on summary{border-color:#1d2a41;background:#1d2a41;color:#fff}
.fgg-wk__sel.is-on summary small,.fgg-wk__sel.is-on summary i{color:#cfe5dd}
.fgg-wk__sel[open] summary{border-color:#1d2a41}
.fgg-wk__pop{position:absolute;top:46px;left:0;z-index:30;background:#fff;border:1px solid #cfd8d4;border-radius:8px;box-shadow:0 12px 32px rgba(29,42,65,.18);padding:10px 12px 12px;width:min(560px,calc(100vw - 32px))}
.fgg-wk__ph{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#56657a;margin:2px 0 6px;font-weight:600}
.fgg-wk__pop ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:2px 12px}
.fgg-wk__pop li a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;padding:7px 10px;border-radius:8px;font-size:14px;font-weight:500;min-height:36px;color:#1d2a41}
.fgg-wk__pop li a:hover{background:#eef7f4;color:#1d2a41}
.fgg-wk__pop li a span{font-size:12px;background:#eef3f1;border-radius:999px;padding:1px 8px;color:#56657a;font-weight:600}
.fgg-wk__pop li a[aria-current]{background:#1d2a41;color:#fff}
.fgg-wk__pop li a[aria-current] span{background:#44ccab;color:#102a22}
.fgg-wk__pop li a[data-empty]{color:#9aa5ad}
.fgg-wk__pop li a[data-empty] span{background:#f3f6f5;color:#b4bec5}
.fgg-wk__near{border-color:#44ccab;margin-left:auto}
.fgg-wk__near::before{content:'';width:8px;height:8px;border:2px solid #44ccab;border-radius:999px}
.fgg-wk__near.is-on{background:#44ccab;border-color:#44ccab}
.fgg-wk__near.is-on::before{border-color:#1d2a41}

/* ---- the day: one H2, TV bar, legend = filters */
.fgg-wk__date{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin:4px 0 8px!important;padding:0;border:0}
.fgg-wk .fgg-wk__date h2.fgg-wk__dn{font-size:22px!important;line-height:1.2!important;font-weight:700;margin:0!important;padding:0;border:0;color:#1d2a41}
.fgg-wk__date em{font-style:normal;font-size:13px;font-weight:500;color:#56657a;margin-left:auto}
.fgg-wk__leg{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 6px}
.fgg-wk__leg .fgg-wk__chip{height:36px;font-weight:500;font-size:13px;padding:0 12px}
.fgg-wk__chip b{font-weight:700}
.fgg-wk__chip::before{content:'';width:8px;height:8px;border-radius:999px;background:#2aa98a;flex:none}
.fgg-wk__chip--bo::before{background:#e8a33d}.fgg-wk__chip--no::before{background:#b4bec5}.fgg-wk__chip--ft::before{background:#1d2a41}.fgg-wk__chip--off::before{background:#c0392b}
.fgg-wk__chip--all::before{display:none}
.fgg-wk .fgg-wk__chip.is-on{background:#1d2a41;color:#fff;border-color:#1d2a41}
.fgg-wk__chip.is-on::before{background:#fff}
.fgg-wk .fgg-wk__sec{font-size:17px!important;margin:18px 0 6px!important;font-weight:700;line-height:1.2!important;color:#1d2a41;letter-spacing:0;text-transform:none}
.fgg-wk__empty{border:1px dashed #c9d6d1;border-radius:8px;padding:26px;text-align:center;color:#56657a;margin:12px 0}
.fgg-wk__empty b{display:block;color:#1d2a41;font-size:18px;margin-bottom:4px}
.fgg-wk .fgg-wk__empty a{display:inline-block;margin-top:10px;background:#1d2a41;color:#fff!important;border-radius:8px;padding:9px 18px;text-decoration:none;font-weight:600}
.fgg-wk__stale{display:block;margin-top:8px;font-size:13px}
.fgg-wk__body{background:#f3f6f5;border-radius:8px;padding:12px 14px 16px;margin-top:10px}
.fgg-wk__cols{margin-top:0}
.fgg-wk.is-loading .fgg-wk__body{opacity:.4;pointer-events:none;transition:opacity .15s}

/* ---- columns, kick-off groups, rows */
.fgg-wk__cols,.fgg-wk__m{display:grid;grid-template-columns:minmax(0,2.2fr) 140px 190px 170px 96px;gap:2px 12px;align-items:center}
.fgg-wk__cols--nocomp,.fgg-wk__m--nocomp{grid-template-columns:minmax(0,2.4fr) 200px 170px 96px}
.fgg-wk__cols{padding:0 14px;margin-top:10px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#3d4b5f;font-weight:600;margin:0 0 2px}
.fgg-wk__grp{display:flex;align-items:center;gap:10px;margin:12px 0 6px}
.fgg-wk__g:first-of-type .fgg-wk__grp{margin-top:6px}
.fgg-wk__ko{background:#1d2a41;color:#fff;border-radius:8px;padding:0 10px;height:28px;display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:14px}
.fgg-wk__ko small{font-size:12px;font-weight:600;color:#cfe5dd}
.fgg-wk__ko.is-live{background:#44ccab;color:#102a22}.fgg-wk__ko.is-live small{color:#102a22}
.fgg-wk__ko.is-ft{background:#eef3f1;color:#1d2a41}.fgg-wk__ko.is-ft small{color:#56657a}
.fgg-wk__ko.is-off{background:#fbeeee;color:#a33}
.fgg-wk__ko.is-near{background:#44ccab;color:#102a22}
.fgg-wk__gn{font-size:13px;color:#3d4b5f;font-weight:500}
.fgg-wk__list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.fgg-wk__m{background:#fff;border:1px solid #c9d4cf;border-radius:8px;padding:10px 14px;box-shadow:0 1px 2px rgba(29,42,65,.08)}
.fgg-wk__teams{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.fgg-wk__team{display:flex;align-items:center;gap:8px;font-weight:600;font-size:16px;min-width:0}
.fgg-wk__team>span{min-width:0}
.fgg-wk__team img,.fgg-wk__badge{width:24px;height:24px;object-fit:contain;flex:none}
.fgg-wk__badge{background:#e6ecea;display:inline-block}
.fgg-wk__vs{font-style:normal;color:#56657a;font-size:12px;padding:0 2px}
.fgg-wk__score{display:inline-flex;white-space:nowrap;align-items:center;gap:3px;justify-self:center;background:#1d2a41;color:#fff;border-radius:8px;padding:2px 7px;font-size:13px;font-weight:700;font-style:normal}
.fgg-wk__score.is-live{background:#44ccab;color:#102a22}
.fgg-wk__pp{font-style:normal;background:#fbeeee;color:#a33;border-radius:8px;padding:2px 6px;font-size:11px;font-weight:700;justify-self:center}
.fgg-wk__m--off .fgg-wk__team{color:#8a97a0}
.fgg-wk__comp{font-size:13px;color:#3d4b5f;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fgg-wk__m[data-tier=nl] .fgg-wk__comp{white-space:normal;line-height:1.25}
.fgg-wk__gr{font-size:14px;line-height:1.25;min-width:0}
.fgg-wk__gr a{font-weight:600}
.fgg-wk__gr small{display:block;color:#3d4b5f;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fgg-wk__dist{color:#1d2a41;font-weight:600}
.fgg-wk__acts{display:contents}
.fgg-wk__lnk{justify-self:end;font-size:13px;font-weight:600;white-space:nowrap}
/* theme rules such as .content-single a are more specific than a bare class: pin the two text links of a row */
.fgg-wk .fgg-wk__gr a,.fgg-wk .fgg-wk__lnk,.content-single .fgg-wk .fgg-wk__gr a,.content-single .fgg-wk .fgg-wk__lnk{color:#1d2a41;text-decoration:underline;text-decoration-color:#44ccab;text-underline-offset:3px}
.fgg-wk .fgg-wk__gr a:hover,.fgg-wk .fgg-wk__lnk:hover{color:#0f5c48}
.fgg-wk__tvc{display:inline-flex;align-items:center;gap:6px;height:30px;border:1px solid #9fd9c8;background:#e8f8f3;border-radius:8px;padding:0 10px;font-size:13px;font-weight:600;color:#1d2a41;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;justify-self:start}
.fgg-wk__tvc b{color:#3d4b5f;font-weight:600;font-size:12px}
.fgg-wk__tvc--bo{border-color:#edc98a;background:#fff3dc;color:#7a4d08}
.fgg-wk__tvc--no{border-color:#cfd8d4;background:#fff;color:#56657a;font-weight:500}
.fgg-wk__tvc--off{border-color:#f3c9c9;background:#fbeeee;color:#a33}
.fgg-wk__tvc--att{border-color:#cfe5dd;background:#eef7f4}
.fgg-wk__fact{grid-column:1/-1;font-size:13px;color:#33415a;line-height:1.35;padding-top:4px;border-top:1px dashed #eef3f1;margin-top:4px}
.fgg-wk__fact b{color:#1d2a41;font-weight:600}
.fgg-wk__fk{color:#3d4b5f}
.fgg-wk__tk{display:inline-flex;align-items:center;gap:6px;height:22px;border-radius:8px;padding:0 8px;margin-right:6px;font-size:12px;font-weight:600;color:#1d2a41;background:#eef3f1;vertical-align:middle}
.fgg-wk__tk i{width:7px;height:7px;border-radius:999px;background:#8a97a0}
.fgg-wk__tk--sold{background:#f9dcdc;color:#7a1f1f}.fgg-wk__tk--sold i{background:#c0392b}
.fgg-wk__tk--limited{background:#fde9c4;color:#6e4406}.fgg-wk__tk--limited i{background:#e8a33d}
.fgg-wk__tk--open{background:#cdf1e6;color:#0f5c48}.fgg-wk__tk--open i{background:#2aa98a}
.fgg-wk__chip--tk::before{background:#2aa98a;border:2px solid #cfe5dd;box-sizing:content-box;width:4px;height:4px}
.fgg-wk__chip--nl::before{background:#fff;border:2px solid #1d2a41;box-sizing:content-box;width:4px;height:4px}
.fgg-wk .fgg-wk__dbl,.content-single .fgg-wk .fgg-wk__dbl{color:#1d2a41;font-style:normal;font-weight:600;text-decoration:underline;text-decoration-color:#44ccab;text-underline-offset:3px;margin-left:6px;white-space:nowrap}

/* ---- two in a day, footer */
.fgg-wk__doubles{background:#1d2a41;color:#fff;border-radius:8px;padding:12px 16px;margin:16px 0 0;font-size:14px}
.fgg-wk .fgg-wk__doubles h3{color:#44ccab;font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px!important;font-weight:700;line-height:1.2!important}
.fgg-wk__doubles ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.fgg-wk .fgg-wk__doubles li,.content-single .fgg-wk .fgg-wk__doubles li,.fgg-wk .fgg-wk__doubles li>span{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#fff}
.fgg-wk .fgg-wk__doubles li>span{display:inline}
.fgg-wk .fgg-wk__doubles li b{font-weight:600;color:#cfe5dd!important}
.fgg-wk__doubles li i{font-style:normal;color:#44ccab;font-weight:700}
.fgg-wk .fgg-wk__doubles li em{font-style:normal;font-size:12px;font-weight:700;background:#44ccab;color:#1d2a41!important;border-radius:8px;padding:1px 6px}
.fgg-wk .fgg-wk__doubles a,.content-single .fgg-wk__doubles a,.fgg-wk .fgg-wk__doubles a:hover{color:#fff!important;text-decoration-color:#44ccab}
.fgg-wk__foot{margin:24px 0 0;font-size:14px;color:#56657a;display:flex;gap:16px;flex-wrap:wrap;align-items:baseline}
.fgg-wk__foot a{font-weight:600;color:#1d2a41}

/* ---- narrow desktop: narrower fixed columns */
@media (min-width:1001px) and (max-width:1100px){
	.fgg-wk__cols,.fgg-wk__m{grid-template-columns:minmax(0,2fr) 120px 160px 150px 90px;gap:2px 10px}
	.fgg-wk__cols--nocomp,.fgg-wk__m--nocomp{grid-template-columns:minmax(0,2.2fr) 180px 150px 90px}
}

/* ---- small screens and tablets: cards in three blocks, controls 36px */
@media (max-width:1000px){
	.fgg-wk{padding-top:8px}
	.fgg-wk__strip{grid-template-columns:1fr;padding:6px 0}
	.fgg-wk__arr{display:none}
	.fgg-wk__month{left:10px}
	.fgg-wk__days{grid-auto-columns:48px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 6px 2px;scroll-padding:0 6px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 14px,#000 calc(100% - 14px),transparent);mask-image:linear-gradient(90deg,transparent,#000 14px,#000 calc(100% - 14px),transparent)}
	.fgg-wk__days::-webkit-scrollbar{display:none}
	.fgg-wk__d{scroll-snap-align:center}
	.fgg-wk__tb{gap:6px;margin-bottom:14px}
	.fgg-wk__sep{display:none}
	.fgg-wk__sel{flex:0 1 auto;min-width:0}
	.fgg-wk__sel summary{max-width:100%}
	.fgg-wk__sel summary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
	.fgg-wk__sel summary,.fgg-wk__chip,.fgg-wk__near{height:36px;font-size:13px;padding:0 12px}
	.fgg-wk__sel summary small{font-size:10px}
	.fgg-wk__pop{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto;max-height:70vh;overflow:auto}
	.fgg-wk .fgg-wk__date h2.fgg-wk__dn{font-size:19px!important}
	.fgg-wk__date{margin-top:10px!important;gap:4px}
	.fgg-wk__date em{margin-left:0;width:100%}
	.fgg-wk__leg{gap:6px;margin-bottom:8px}
	.fgg-wk__leg .fgg-wk__chip{height:34px;font-size:12px;padding:0 10px}
	.fgg-wk .fgg-wk__sec{font-size:15px!important;margin:14px 0 4px!important}
	.fgg-wk__cols{display:none}
	.fgg-wk__list{gap:8px}
	.fgg-wk__m,.fgg-wk__m--nocomp{grid-template-columns:1fr;gap:4px;padding:12px}
	.fgg-wk__teams{display:grid;gap:4px;padding-bottom:8px;border-bottom:1px solid #e3eae7;margin-bottom:4px}
	.fgg-wk__vs{display:none}
	.fgg-wk__score,.fgg-wk__pp{justify-self:start;margin:2px 0 2px 28px}
	.fgg-wk__team{font-size:15px}
	.fgg-wk__comp{font-size:12px;white-space:normal}
	.fgg-wk__gr small{display:inline;margin-left:4px;white-space:normal}
	.fgg-wk__fact{border:0;margin:0;padding:0}
	.fgg-wk__fact .fgg-wk__tk{display:flex;width:max-content;max-width:100%;margin:0 0 4px}
	.fgg-wk__acts{order:9;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}
	.fgg-wk__lnk{justify-self:auto}
	.fgg-wk__body{padding:10px 10px 12px}
	.fgg-wk__tvc{height:36px}
	.fgg-wk__doubles{padding:14px;font-size:13px}
	.fgg-wk__doubles ul{gap:10px}
}
