#timeround { background-image: var(--timer-face, url('img/timer/gymtimer.webp')); }
#stopwatchround { background-image: var(--stopwatch-face, url('img/timer/stopwatch.webp')); }
#facesPage[hidden] { display: none; }
#facesPage {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  color: #fff; background: rgb(191 57 57); padding-top: 0;
  font-family: gymtimer, sans-serif;
}
#facesPage .siteTitle { top: 0; }
#facesPage .badgespage-container2 { margin-top: 60px; }
#facesPage .badgeCollectionPanel { flex-shrink: 0; }
#facesEquippedPanel { position: sticky; top: 60px; z-index: 1; isolation: isolate; padding-top: 40px; }
#facesEquippedPanel > .badgeCollectionHeader, #facesEquipped { position: relative; z-index: 1; }
#facesEquippedBackdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#facesEquippedBackdrop img {
  position: absolute; top: 80%; right: 0; width: 100%; height: 220px;
  transform: translateY(-50%); object-fit: contain; object-position: right center; opacity: .45;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, rgba(0, 0, 0, .2) 50%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 10%, rgba(0, 0, 0, .2) 50%, #000 100%);
}
#facesEquipped { display: flex; justify-content: center; padding: 0px 20px 20px; }
.faceEquippedCard { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; }
.faceEquippedCard img { width: 115px; height: 115px; max-width: 100%; object-fit: contain; }
#facesList { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 8px; padding: 0px 20px 20px; }
.faceTile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0;
  width: 100%; height: auto; min-height: 0;
  padding: 0; background: none; border: 0; box-shadow: none; color: #fff;
  font: 13px gymtimer, sans-serif; cursor: pointer; overflow-wrap: anywhere;
}
.faceTile img { width: 100%; height: 100px; object-fit: contain; }
.faceTile small { font: 10px gymtimer, sans-serif; }
.faceTile.is-equipped { opacity: .45; }
.faceTile.is-locked img { opacity: .28; filter: grayscale(1); }
.faceTile:disabled { cursor: default; }
.faceTile:focus-visible { outline: 2px solid white !important; outline-offset: 5px; border-radius: 8px; }
.facesBottomMenu { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.facesFilters { display: flex; justify-content: center; gap: 8px; border-radius: 28px; padding: 6px; box-shadow: inset 10px 0 15px -6px #0005, inset -10px 0 15px -6px #0005; }
#facesPage .facesFilters .menu-btn.active { background: #007bff; }
#closeFaces { border: 0; background: none; padding: 0; cursor: pointer; }
#facesStatus { margin: 0; font-size: 14px; }
#facesStatus:empty, #facesStatus:empty + #facesRetry { display: none; }
#facesRetry { align-self: center; }
