.section-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 26px;padding:0}
.section-navigation:has(>a:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
.section-navigation:has(>a:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
.section-navigation>a{--nav-accent:#66d8ff;display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;min-height:82px;padding:14px;box-sizing:border-box;text-align:left;border:1px solid #30536d;border-radius:12px;background:linear-gradient(120deg,#102d44,#0a2034);box-shadow:none;text-decoration:none!important}
.section-navigation>a:nth-child(2){--nav-accent:#65e0b2}.section-navigation>a:nth-child(3){--nav-accent:#c2a3ff}.section-navigation>a:nth-child(4){--nav-accent:#ffcf59}.section-navigation>a:nth-child(5){--nav-accent:#ff97b5}
.section-navigation>a>span:last-child{min-width:0;overflow-wrap:anywhere}
.section-navigation .section-navigation-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;color:var(--nav-accent);background:#071927;border:1px solid #36546c;border-radius:10px;font-size:1.5rem;line-height:1}
.section-navigation strong{display:block;color:#ecf7ff;font-size:.9rem;line-height:1.4}
.section-navigation small{display:block;margin-top:4px;color:#a0bdd1;font-size:.72rem;font-weight:400;line-height:1.45}
.section-navigation a[aria-current=page]{border-color:var(--nav-accent);background:linear-gradient(115deg,#164566,#0d2e48);box-shadow:inset 0 -3px var(--nav-accent)}
.section-navigation a[aria-current=page] strong{color:var(--nav-accent)}
.section-navigation a:hover{border-color:var(--nav-accent);background:#153951}.section-navigation a:focus-visible{outline:2px solid var(--nav-accent);outline-offset:3px}
@media(max-width:1050px){.section-navigation:has(>a:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.section-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.section-navigation>a{padding:12px;min-height:80px;gap:9px}.section-navigation .section-navigation-icon{flex-basis:28px;height:30px;font-size:1.15rem}.section-navigation strong{font-size:.8rem}.section-navigation small{font-size:.68rem}}
@media(max-width:420px){.section-navigation>a{flex-direction:column;align-items:flex-start}.section-navigation .section-navigation-icon{flex-basis:auto;width:28px}}

/* Compact player shortcuts on phones; retain the desktop cards. */
@media(max-width:700px){
 .player-page-shortcuts .section-navigation{grid-template-columns:1fr;gap:6px;margin-bottom:18px}
 .player-page-shortcuts .section-navigation>a{flex-direction:row;align-items:center;min-height:42px;padding:8px 12px;gap:10px}
 .player-page-shortcuts .section-navigation small{display:none}
 .player-page-shortcuts .section-navigation .section-navigation-icon{flex:0 0 24px;width:24px;height:24px;font-size:1rem}
}

.section-navigation:not(:has(>a:nth-child(3))){grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading:has(>.section-navigation),.morale-hero:has(>.section-navigation),.cohesion-hero:has(>.section-navigation){flex-wrap:wrap}.page-heading>.section-navigation,.morale-hero>.section-navigation,.cohesion-hero>.section-navigation{width:100%;flex-basis:100%;margin-top:18px}@media(max-width:520px){.section-navigation:not(:has(>a:nth-child(3))){grid-template-columns:1fr}}
