body { --rail: 76px; padding-left: var(--rail); }
body > header { left: var(--rail); }
body > header #navigation, body > header .menu { display: none; }
.sporting-sidebar {
  position: fixed; z-index: 1000; inset: 0 auto 0 0;
  width: var(--rail); display: flex; flex-direction: column;
  background: #252326; border-right: 1px solid #fff1; color: #f2f4f0;
  overflow: auto; overflow-x: hidden; transition: width .24s ease;
  font: 400 14px/1.35 "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
.sporting-sidebar[data-open] { width: min(273px, 48vw); box-shadow: 16px 0 48px #0006; }
.side-toggle {
  display: grid; place-items: center; width: var(--rail); min-height: 66px;
  padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.side-toggle img { width: 35px; height: auto; }
.sporting-sidebar #side-links { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 5px; flex: 1; padding: 7px 0 15px; }
.sporting-sidebar :is(.side-row,summary) {
  display: grid; grid-template-columns: var(--rail) minmax(0,1fr) 24px; align-items: center;
  min-height: 45px; padding-right: 12px; color: #eef0ed; text-decoration: none;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  text-transform: none; font: 500 14px/1.35 "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .025em; white-space: nowrap; cursor: pointer; list-style: none;
}
.sporting-sidebar summary::-webkit-details-marker { display: none; }
.sporting-sidebar svg { justify-self: center; width: 26px; height: 26px; fill: none; stroke: currentColor; color: #b0adb3; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.sporting-sidebar :is(.side-row,summary) span { width: max-content; position: relative; }
.sporting-sidebar :is(.side-row,summary) span::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 13px; height: 1px; background: currentColor; transition: width .2s; }
.sporting-sidebar details { --menu-accent: #9ce5a5; border: 0; padding: 0; }
.sporting-sidebar .side-row[href="#competicion"] { --menu-accent: #d5f66b; }
.sporting-sidebar .side-row[href="scc-girls.html"] { --menu-accent: #ffa6d4; }
.sporting-sidebar .side-row[href="actividades.html"] { --menu-accent: #ffb075; }
.sporting-sidebar .side-row[href="temporada-2027.html"] { --menu-accent: #ffe173; }
.sporting-sidebar .side-row[href="sporting-tv.html"] { --menu-accent: #68e1aa; }
.sporting-sidebar .side-row[href="socios.html"] { --menu-accent: #f4c062; }
.sporting-sidebar .side-row[href="tienda.html"] { --menu-accent: #ff975c; }
.sporting-sidebar :is(.side-row,summary):is(:hover,:focus-visible),
.sporting-sidebar :is(.side-row,summary):is(:hover,:focus-visible) svg { color: var(--menu-accent, #d5f66b); }
.sporting-sidebar :is(.side-row,summary):is(:hover,:focus-visible) span::after { width: 100%; }
.sporting-sidebar :focus-visible { outline: 2px solid var(--menu-accent, #d5f66b); outline-offset: -3px; }
.sporting-sidebar:not([data-open]) :is(.side-row,summary) { grid-template-columns: var(--rail); padding: 0; }
.sporting-sidebar:not([data-open]) :is(.side-row span, summary span, summary i, .side-sub) { display: none; }
.side-sub {
  position: fixed; top: var(--submenu-top, 72px);
  left: min(273px, 48vw); width: min(225px, 50vw);
  display: grid; gap: 3px; padding: 8px;
  max-height: min(450px, calc(100dvh - var(--submenu-top, 72px) - 12px));
  overflow-y: auto; background: #2d2a2e; border: 1px solid #fff2;
  box-shadow: 12px 16px 35px #0006;
}
.sporting-sidebar .side-sub a { padding: 7px 9px; text-decoration: none; }
.sporting-sidebar .side-sub a:is(:hover,:focus-visible) { color: var(--menu-accent, #d5f66b); }
.sporting-sidebar .side-sub a { color: inherit; font: inherit; text-transform: none; }
@media(max-width:600px) { body { --rail: 56px; } .side-toggle img { width: 32px; } }
@media(prefers-reduced-motion:reduce) { .sporting-sidebar,.sporting-sidebar :is(.side-row,summary) span::after { transition: none; } }
