/* skip-hop Figure of Eight (13 Nov 2026, figure_of_eight_page.py): the court plan, mirror-skipping clocks, turners'
   panels and team counter. Everything else on the page uses the shared skill-page and coaching styles. */
.f8{--f8-navy:#2C5595;--f8-ink:#16213A;--f8-pale:#EEF3FF;--f8-gold:#FEC603;--f8-line:#DCE4F5;--f8-muted:#5B6782;--f8-card:#FFFFFF;--f8-red:#D93A3A;--f8-cream:#FFF8E8}
.f8 .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.f8 .btn[aria-pressed="true"]{background:var(--f8-navy);color:#fff;box-shadow:none}
.f8-court{background:var(--f8-pale);border-radius:18px;padding:16px;display:grid;gap:14px;margin-top:14px}
.f8-court>svg{width:100%;height:auto;display:block}
.f8 .c-floor{fill:var(--f8-card);stroke:var(--f8-line);stroke-width:2}
.f8 .c-turner{fill:var(--f8-navy)}
.f8 .c-tlabel{fill:#fff;font:900 13px Nunito,system-ui,sans-serif;text-anchor:middle;dominant-baseline:central}
.f8 .c-rope{stroke:var(--f8-gold);fill:none;stroke-linecap:round}
.f8 .c-path{stroke:var(--f8-muted);stroke-width:2;fill:none;stroke-dasharray:6 6;opacity:.7}
.f8 .c-mark{fill:var(--f8-muted);font:800 13px Nunito,system-ui,sans-serif;text-anchor:middle}
.f8 .c-sk{fill:var(--f8-red);stroke:var(--f8-card);stroke-width:2}
.f8 .c-sk.b{fill:#2FA84F}
.f8 .c-num{fill:#fff;font:900 11px Nunito,system-ui,sans-serif;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.f8 .c-hit{fill:var(--f8-gold);opacity:0}
.f8 .c-x line{stroke:var(--f8-red);stroke-width:4;stroke-linecap:round}
.f8 .c-side{fill:var(--f8-muted);font:700 12px Nunito,system-ui,sans-serif}
.f8 .c-dir{stroke:var(--f8-navy);stroke-width:3;fill:none;opacity:.55}
.f8 .c-dirhead{fill:var(--f8-navy);opacity:.55}
.f8 .c-dirlabel{fill:var(--f8-navy);font:800 12px Nunito,system-ui,sans-serif;text-anchor:middle}
.f8-sideview{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;background:var(--f8-card);border-radius:14px;padding:10px 14px}
.f8-sideview svg{width:190px;max-width:100%;flex:none}
.f8-sideview p{flex:1 1 220px;min-width:0;font-size:15px;margin:0}
.f8 .sv-rope{stroke:var(--f8-gold);stroke-width:4;fill:none}
.f8 .sv-line{stroke:var(--f8-line);stroke-width:3}
.f8 .sv-arrow{fill:var(--f8-navy)}
.f8 .sv-label{fill:var(--f8-muted);font:700 10px Nunito,system-ui,sans-serif}
.f8-stats{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.f8-stat b{display:block;font-size:30px;font-weight:900;color:var(--f8-navy);font-variant-numeric:tabular-nums;line-height:1}
.f8-stat span{font-size:13px;color:var(--f8-muted);font-weight:700}
.f8-range{display:flex;gap:10px;align-items:center;font-weight:800;font-size:15px}
.f8-range input{accent-color:var(--f8-navy);min-height:28px}
.f8-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--f8-muted);font-weight:700}
.f8-legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.f8-clocks{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:14px 0}
.f8-clocks svg{width:360px;max-width:100%;height:auto}
.f8-stack{display:flex;flex-direction:column;gap:10px;flex:1 1 220px;min-width:0}
.f8-stack p{margin:0}
.f8 .ck-face{fill:var(--f8-card);stroke:var(--f8-muted);stroke-width:2;opacity:.95}
.f8 .ck-hand{stroke:var(--f8-red);stroke-width:5;stroke-linecap:round}
.f8 .ck-tick{fill:var(--f8-muted);font:800 11px Nunito,system-ui,sans-serif;text-anchor:middle;dominant-baseline:central}
.f8 .ck-axis{stroke:var(--f8-line);stroke-width:2;stroke-dasharray:4 4}
.f8 .ck-lab{fill:var(--f8-ink);font:800 12px Nunito,system-ui,sans-serif;text-anchor:middle}
.f8 .ck-pivot{fill:var(--f8-ink)}
.f8 .ck-rope{stroke:var(--f8-gold);stroke-width:4;fill:none}
.f8-turners{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:14px}
.f8-cue{display:inline-block;background:var(--f8-cream);border-radius:6px;padding:0 6px;font-weight:800}
.f8-ref{margin:14px 0;display:grid;gap:6px}
.f8-ref img{width:100%;height:auto;border-radius:12px;display:block}
.f8-ref figcaption{font-size:14px;color:var(--f8-muted);font-weight:700}
.f8-counter{display:flex;flex-wrap:wrap;gap:16px;align-items:center;background:var(--f8-pale);border-radius:18px;padding:18px 20px;margin:14px 0}
.f8-count{font-size:48px;font-weight:900;font-variant-numeric:tabular-nums;min-width:3ch;color:var(--f8-navy);line-height:1}
.f8-record{display:flex;flex-wrap:wrap;gap:8px 20px;font-weight:800}
.f8 .xo-lee+.xo-lee,.f8 .xo-cards+.xo-lee,.f8 .f8-ref+.xo-lee{margin-top:12px}
/* Where it fits: three "learn first" skills, kept on one row on a desktop */
.shk .path.f8-path{flex-wrap:nowrap}
.shk .path.f8-path .pcol{min-width:0}
.shk .path.f8-path .pcol:first-child{flex:0 1 270px}
@media (max-width:640px){.shk .path.f8-path{flex-wrap:wrap}.shk .path.f8-path .pcol:first-child{flex:1 1 100%}}
@media (max-width:560px){.f8-court{padding:12px}.f8-counter{padding:14px}}
