/* Hall of Fame — Games Core; ergänzt Artemis (Overlay fest über dem Viewport) */
.hof-panel.artemis-hof {
  position: fixed;
  inset: 0;
  z-index: 10050;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.38s ease, visibility 0s linear 0.42s;
}

.hof-panel.artemis-hof.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s, 0s;
}

.hof-panel.artemis-hof .hof-panel__sheet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding: clamp(18px, 4.5vw, 44px) clamp(16px, 3.5vw, 36px) clamp(20px, 4vh, 36px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.14) 0%, transparent 42%),
    linear-gradient(165deg, rgba(7, 17, 31, 0.97) 0%, rgba(6, 8, 22, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(99, 102, 241, 0.06);
  transform: translate3d(108%, 0, 0);
  transition: transform 0.62s cubic-bezier(0.32, 0.72, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.hof-panel.artemis-hof.is-open .hof-panel__sheet {
  transform: translate3d(0, 0, 0);
}

.hof-panel.artemis-hof .hof-panel__close {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  right: clamp(12px, 3vw, 22px);
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hof-panel.artemis-hof .hof-panel__close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hof-panel.artemis-hof .hof-panel__title {
  margin: 0 48px 0 0;
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef4ff;
}

.hof-panel.artemis-hof .hof-panel__intro {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #9eb2d1;
}

.hof-panel.artemis-hof .hof-panel__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hof-panel.artemis-hof .hof-panel__loading {
  list-style: none;
  margin: 0;
  padding: 12px;
  color: #9eb2d1;
}

.hof-panel.artemis-hof #hallOfFameList .hof-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translate3d(20px, 0, 0);
}

.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row {
  animation: artemisHofRowIn 0.48s cubic-bezier(0.32, 0.72, 0.25, 1) forwards;
}

.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(1) {
  animation-delay: 0.05s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(2) {
  animation-delay: 0.1s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(3) {
  animation-delay: 0.15s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(4) {
  animation-delay: 0.2s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(5) {
  animation-delay: 0.25s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(6) {
  animation-delay: 0.3s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(7) {
  animation-delay: 0.35s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(8) {
  animation-delay: 0.4s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(9) {
  animation-delay: 0.45s;
}
.hof-panel.artemis-hof #hallOfFameList.hof-ready .hof-row:nth-child(10) {
  animation-delay: 0.5s;
}

@keyframes artemisHofRowIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hof-panel.artemis-hof #hallOfFameList .hof-rank {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: rgba(129, 140, 248, 0.95);
  min-width: 2ch;
  text-align: right;
}

.hof-panel.artemis-hof #hallOfFameList .hof-name {
  display: block;
  font-weight: 700;
  color: #f0f4ff;
  font-size: 15px;
  line-height: 1.35;
}

.hof-panel.artemis-hof #hallOfFameList .hof-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: #9eb2d1;
  text-align: right;
}

.hof-panel.artemis-hof #hallOfFameList .hof-score {
  color: #a5b4fc;
  font-weight: 800;
}

.hof-panel.artemis-hof #hallOfFameList .hof-levels {
  color: #c5d0e8;
}

.hof-panel.artemis-hof #hallOfFameList .hof-row--pending {
  border-color: rgba(129, 140, 248, 0.45);
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.75), rgba(15, 23, 42, 0.85));
}

.hof-panel.artemis-hof #hallOfFameList .hof-row--register {
  opacity: 1;
  transform: none;
  animation: none !important;
}

.hof-panel.artemis-hof .hof-inline-register {
  display: grid;
  gap: 10px;
  width: 100%;
}

.hof-panel.artemis-hof .hof-inline-register__lead {
  margin: 0;
  font-size: 13px;
  color: #d4dff8;
}

.hof-panel.artemis-hof .hof-inline-register__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 16px;
}

.hof-panel.artemis-hof .hof-inline-register__feedback {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  color: #9eb2d1;
}

.hof-panel.artemis-hof .hof-inline-register__submit {
  justify-self: start;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.hof-panel.artemis-hof .hof-inline-register__submit:hover {
  background: rgba(99, 102, 241, 0.5);
}
