@font-face {
    font-family: 'PressStart2P';
    src: url('../fonts/PressStart2P.woff2') format('woff2'),
         url('../fonts/PressStart2P.woff') format('woff'),
         url('../fonts/PressStart2P.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.adjudicator-Carolina { background-color: #004855; }
.adjudicator-Deanna { background-color: #0e7890; }
.adjudicator-Humuza { background-color: #001755; }
.adjudicator-Marcel { background-color: #5d6d99; } 

.podium0 { 
  background: inherit; 
}
.podium1 {
  background: #e5e4e2;
  color: #000;
}
.podium2 { 
  background: #d4af37;
  color: #000;
}
.podium3 { 
  background: #c0c0c0; 
  color: #000;
}
.podium4 { 
  background: #cd7f32; 
  color: #000;
}

div#cleanup {
    display: flex;
    flex-direction: row;
    gap: 1em;
}
div#cleanup > div {
    flex: 1;
}
.column {
  width: 100%;
}
.columns {
    display: flex;
    flex-direction: column;
    gap: 2em;
}
div#ifb-upload-form-wrapper {
    padding: 30px;
    border: 1px solid green;
    background: #121f12;
}
div#keep-top-records {
    padding: 30px;
    border: 1px solid red;
    background: #3e0808;
}

div#publish-top-records {
    padding: 30px;
    border: 1px solid green;
    background: #121f12;
}
div#emergency-clearboard,
div#emergency-delete {
    padding: 30px;
    border: 1px solid red;
    background: #3e0808;
}

.ifb-scores-table th:nth-child(1),.ifb-scores-table td:nth-child(1) {
    width: 120px;
    text-align: center;
}
.ifb-scores-table th:nth-child(2),.ifb-scores-table td:nth-child(2)  {
    width: 50px;
    text-align: center;
}
.ifb-scores-table th:nth-child(3),.ifb-scores-table td:nth-child(3)  {
    width: 80px;
    text-align: center;
}
.ifb-scores-table th:nth-child(5),.ifb-scores-table td:nth-child(5)  {
    width: 80px;
    text-align: center;
}
.ifb-scores-table th:nth-child(6),.ifb-scores-table td:nth-child(6)  {
    width: 80px;
    text-align: center;
}
.ifb-scores-table th:nth-child(7),.ifb-scores-table td:nth-child(7)  {
    width: 120px;
    text-align: center;
}


/* Spinner */
.spinner-overlay {
    display: none;
    position: fixed;
    width: 100vw !important;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: none !important;
    transition: .25s;
}
.spinner {
    border: 6px solid rgba(0, 0, 0, 110);
    width: 36px;
    height: 36px;
    left: calc(50% - 18px);
    top: calc(50% - 18px);
    position: fixed;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s infinite linear;
    border-right-color: #09f;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* .page-template-interstellar-final-board */
body.page-template-interstellar-finals-template,
body.page-template-interstellar-finals-template-2025-dev,
body.page-template-interstellar-finals-template {
    background-image: url(http://blockparty.dance/wp-content/uploads/2024/04/if-rect.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    min-height: 1000px;
}

html {
    -ms-overflow-style: none;      /* IE and Edge */
    scrollbar-width: none;         /* Firefox */
    overflow-y: scroll;            /* Keeps scrollability */
}

html::-webkit-scrollbar {
    display: none;                 /* Chrome, Safari, Opera */
}

.ct-container-full {
    padding: 16px 0 !important;
}
.page-template-interstellar-final-board header#header, .page-template-interstellar-final-board footer {
  display: none;
}
.highscore-board-wrapper.two-columns {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 30px;
}

.highscore-board-level {
    width: 100%;
    position: relative;
}
.highscore-board-wrapper h3 {
  text-align: center;
  text-align: center;
  width: 100%;
  font-size: 26px;
  font-weight: 900;
    font-family: 'PressStart2P', Arial, sans-serif; 
}
.highscore-board-container h2.shadows {
    font-family: 'PressStart2P', Arial, sans-serif; 
    font-size: 40px !important;
}
img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999999;
}
@keyframes flickerAnimation {
  0%, 100% {
    text-shadow: -3px -3px 0px #e74c3c, 3px 3px 0px #9b59b6;
  }
  10% {
    text-shadow: 1px 1px 0px #e74c3c, -1px -1px 0px #9b59b6;
  }
  20% {
    text-shadow: -2px 2px 0px #e74c3c, 2px -2px 0px #9b59b6;
  }
  30% {
    text-shadow: 3px -3px 0px #e74c3c, -3px 3px 0px #9b59b6;
  }
  40% {
    text-shadow: -1px -1px 0px #e74c3c, 1px 1px 0px #9b59b6;
  }
  50% {
    text-shadow: -3px -3px 0px #e74c3c, 3px 3px 0px #9b59b6;
  }
  60% {
    text-shadow: 2px 2px 0px #e74c3c, -2px -2px 0px #9b59b6;
  }
  70% {
    text-shadow: -3px 3px 0px #e74c3c, 3px -3px 0px #9b59b6;
  }
  80% {
    text-shadow: 1px 1px 0px #e74c3c, -1px -1px 0px #9b59b6;
  }
  90% {
    text-shadow: 3px -3px 0px #e74c3c, -3px 3px 0px #9b59b6;
  }
}

.highscore-board-container {
  margin-bottom: 0 !important;
  max-width: none !important;
  }
  p.notice {
    font-weight: bold;
    background: rgba(0,0,0,.5);
  text-align: center;
}
p.notice {
    display: flex;
    justify-content: space-between;
    max-width: none !important;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 5px;
}
.highscore-board-wrapper h3 {
  animation: flickerAnimation 8s infinite;
  color: #fff; /* Adjust text color as needed */
}
h2.shadows {
font-size: 56px !important;
}
.shadows {
  animation: flickerAnimation 8s infinite;
  color: #fff; /* Adjust text color as needed */
}
.highscore-board-wrapper ul {
  display: flex;
  justify-content: space-around;
}
.highscore-board-wrapper li {
  display: inline-block;
  list-style-type: none;
}

.page-template-interstellar-final-board table, .page-template-interstellar-final-board td, .page-template-interstellar-final-board th {
    border: none !important;
    border-color: #000000 !important;
    text-align: center;
    padding: 0;
    margin-bottom: 0;
    font-weight: bold;
}
.page-template-interstellar-final-board table {
  border-bottom: 1px solid #000000 !important;
}
.page-template-interstellar-final-board table:last-child {
  border-bottom: 0px solid #ffffff !important;
}


.page-template-interstellar-final-board th:nth-child(1),.page-template-interstellar-final-board td:nth-child(1) {
    width: 100px;
    text-align: center;
}
.page-template-interstellar-final-board th:nth-child(2),.page-template-interstellar-final-board td:nth-child(2)  {
    width: 80px;
    text-align: center;
}
.page-template-interstellar-final-board th:nth-child(3),.page-template-interstellar-final-board td:nth-child(3)  {
    text-align: left;
}
.page-template-interstellar-final-board th:nth-child(4),.page-template-interstellar-final-board td:nth-child(4)  {
    width: 80px;
    text-align: center;
}
.page-template-interstellar-final-board th:nth-child(5),.page-template-interstellar-final-board td:nth-child(5)  {
    width: 100px;
    text-align: center;
}
.page-template-interstellar-final-board th:nth-child(7),.page-template-interstellar-final-board td:nth-child(7)  {
    width: 120px;
    text-align: center;
}

@keyframes glowingBorder {
  0%, 100% {
    box-shadow: 2px 2px 8px #ffffff30, -2px -2px 8px #ffffff30;
  }
  10% {
    box-shadow: 0 0 10px #ffffff50, 0 0 10px #ffffff50;
  }
  20% {
    box-shadow: 2px 2px 9px #ffffff38, -2px -2px 9px #ffffff38;
  }
  30% {
    box-shadow: 0 0 8px #ffffff28, 0 0 8px #ffffff28;
  }
  40% {
    box-shadow: 2px 2px 7px #ffffff40, -2px -2px 7px #ffffff40;
  }
  50% {
    box-shadow: 0 0 9px #ffffff48, 0 0 9px #ffffff48;
  }
  60% {
    box-shadow: 2px 2px 8px #ffffff30, -2px -2px 8px #ffffff30;
  }
  70% {
    box-shadow: 0 0 10px #ffffff50, 0 0 10px #ffffff50;
  }
  80% {
    box-shadow: 2px 2px 8px #ffffff38, -2px -2px 8px #ffffff38;
  }
  90% {
    box-shadow: 0 0 7px #ffffff25, 0 0 7px #ffffff25;
  }
}

.highscore-board-level {
    border: 2px solid #b07befdb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
    color: #fff;
    box-shadow: 1px 1px 8px #ffffff60, -1px -1px 8px #ffffff60;
    background: #00000095;
    margin: 0 auto 15px;
    animation: glowingBorder 4.5s infinite ease-in-out;
}

.highscore-board-level thead tr {
  border-bottom: 2px solid #ffffff;
}
.highscore-board-level {
    width: 100%;
    border-collapse: collapse;
    font-size: inherit;
    max-width: 1200px;
    font-size: 1.15em;
    margin-bottom: 1em !important;
}

.highscore-board-level {
    width: 100%;
    border-collapse: collapse;
    font-family: 'PressStart2P', Arial, sans-serif; 
    font-size: inherit;
    max-width: 1200px;
    font-size: 0.8em;
    margin-bottom: 1em !important;
}

    @media screen and (max-width: 700px) {
    .highscore-board-wrapper h3 {
      position: static !important;
    }
      .highscore-board-wrapper.two-columns {
        flex-direction: column !important;
      }      
      
      
      
      
    }
    
    @media screen and (max-width: 400px) {
      .page-template-interstellar-final-board table, .page-template-interstellar-final-board td, .page-template-interstellar-final-board th {
            font-size: 10px;
        padding: 4px 0;
      }
    }
    
    
    
/* Hide mobile version by default */
.mobile-scoreboard {
  display: none;
}

/* Mobile display only */
@media (max-width: 768px) {
  .highscore-board-adjudicator {
    display: none;
  }

  .mobile-scoreboard {
    display: block;
    margin-top: 1rem;
  }

  .mobile-score-row {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: white;
  }

  .mobile-score-row .top-line {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .mobile-score-row .name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .mobile-score-row .studio {
    font-size: 0.9rem;
    opacity: 0.8;
  }
}
