/* Menu di navigazione lato GIOCATORI — condiviso da home, schede e pagine dei materiali.
   Stile fisso e autonomo (non dipende dalle variabili di tema della pagina), così è identico
   ovunque. Linkato con <link rel="stylesheet" href="player-nav.css"> (o ../player-nav.css). */
.pnav {
  position: sticky; top: 0; z-index: 200;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: safe center;
  gap: .1rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: .4rem .6rem;
  background: rgba(18,14,12,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(160,130,70,.32);
  font-family: system-ui,-apple-system,sans-serif;
  font-size: .68rem; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase;
}
.pnav::-webkit-scrollbar { display: none; }
.pnav .brand { color: #c3a04a; font-weight: 700; letter-spacing: .18em; padding: .42rem .7rem; border-radius: 6px; white-space: nowrap; flex: none; text-decoration: none; }
.pnav a { color: #c9bda0; text-decoration: none; padding: .42rem .8rem; border-radius: 6px; white-space: nowrap; flex: none; transition: background .15s, color .15s; }
.pnav a:hover, .pnav a:focus-visible { color: #e6cd82; background: rgba(230,205,130,.12); }
.pnav .brand:hover, .pnav .brand:focus-visible { color: #e6cd82; background: rgba(230,205,130,.10); }
.pnav a[aria-current="page"] { color: #161210; background: #c3a04a; }
@media print { .pnav { display: none !important; } }
