/* === Highscores Layout === */
.panel--parchment.hs-layout {
  display: grid;
  grid-template-columns: 1fr 120px; /* table + sidebar */
  gap: 20px;
  align-items: start;
}

/* Table */
.table.hs .tc-outfit { width: 72px; }
.table.hs .tc-outfit img {
  width: 64px; height: 64px; image-rendering: pixelated; border-radius: 6px;
  background: transparent; border: 1px solid #4c4133;
}
.table.hs .tc-name .flag {
  width: 18px; height: 14px; margin-left: 6px; border-radius: 2px; vertical-align: -2px;
}

/* Pager */
.pager { display:flex; gap:8px; justify-content:center; margin-top:12px }
.pager .link, .pager span {
  padding:4px 8px; border:1px solid #4c4133; border-radius:6px; background:#1f1a14
}
.pager .is-current { font-weight:600; background:#3a3025 }

/* === Filters Sidebar === */
.hs-filters {
  background: #3a3025; /* parchment */
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hs-filters h4 {
  font-size: 14px;
  font-family: Georgia, serif;
  font-weight: bold;
  margin-bottom: 8px;
  color: #5a3e1b;
  border-bottom: 1px solid #d6b77c;
  padding-bottom: 3px;
}

.filter-box { margin-bottom: 10px; }

.filter-link {
  display: block;
  padding: 6px 10px;
  margin-bottom: 5px;
  border: 1px solid #c2a56b;
  border-radius: 5px;
  background: #fffdf6;
  font-size: 13px;
  font-family: Georgia, serif;
  color: #5a3e1b;
  text-decoration: none;
  transition: all 0.2s;
}
.filter-link:hover {
  background: #fff2cc;
  border-color: #8c6a2f;
}
.filter-link.active {
  background: #e0c88f;
  font-weight: bold;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.reset-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-style: italic;
  color: #8c6a2f;
  text-decoration: none;
}
.reset-link:hover { text-decoration: underline; }

.name-link { color: 
  inherit; 
  text-decoration: none;
  cursor: pointer;
}

.name-link:hover {
  cursor: pointer;
}

.name-link:focus { 
  outline: none; 
}