/* FlipDown TV Override - scaled for full-screen TV display */
.flipdown {
  overflow: visible;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  gap: 3vw;
}

.flipdown .rotor-group {
  position: relative;
  float: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1vh;
  padding-right: 0;
}

.flipdown .rotor-group-heading:before {
  display: block;
  height: 5vh;
  line-height: 5vh;
  text-align: center;
  font-size: 2.5vh;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 100%;
}

/* Delimiter dots */
.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  display: none;
}

.flipdown .rotor {
  position: relative;
  float: none;
  width: 9vh;
  height: 13vh;
  margin: 0;
  border-radius: 1vh;
  font-size: 8vh;
  text-align: center;
  perspective: 300px;
}

.flipdown .rotor-top,
.flipdown .rotor-bottom {
  width: 9vh;
  height: 6.5vh;
}

.flipdown .rotor-leaf {
  width: 9vh;
  height: 13vh;
}

.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
  width: 9vh;
  height: 6.5vh;
}

.flipdown .rotor-leaf-front {
  line-height: 13vh;
  border-radius: 1vh 1vh 0 0;
}

.flipdown .rotor-leaf-rear {
  line-height: 0;
  border-radius: 0 0 1vh 1vh;
}

.flipdown .rotor-top {
  line-height: 13vh;
  border-radius: 1vh 1vh 0 0;
}

.flipdown .rotor-bottom {
  border-radius: 0 0 1vh 1vh;
}

.flipdown .rotor:after {
  width: 9vh;
  height: 6.5vh;
  border-radius: 0 0 1vh 1vh;
}

/* Dark theme - gold accent for display */
.flipdown.flipdown__theme-dark .rotor-group-heading:before {
  color: var(--gold-accent, var(--accent, #d4af37));
}

.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
  color: #FFFFFF;
  background-color: rgba(255,255,255,0.1);
}

.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
  color: #EEEEEE;
  background-color: rgba(255,255,255,0.07);
}

.flipdown.flipdown__theme-dark .rotor:after {
  border-top: solid 2px rgba(0,0,0,0.3);
}

.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
  background-color: var(--gold-accent, var(--accent, #d4af37));
}
