/* ==================================================
   SUPERSEAL SKIN SELECTOR
   ================================================== */

.skin-overlay {
  position: absolute;
  inset: 0;
  z-index: 9000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
}

.skin-overlay[hidden] {
  display: none;
}

.skin-panel {
  width: 68%;
  max-height: 78%;

  padding: 2.2%;

  overflow-y: auto;

  border:
    1px solid rgba(80, 255, 100, 0.65);

  border-radius: 1.2vw;

  background:
    linear-gradient(
      180deg,
      rgba(3, 18, 8, 0.98),
      rgba(0, 8, 3, 0.98)
    );

  box-shadow:
    0 0 2vw rgba(0, 255, 80, 0.18),
    0 1vw 3vw rgba(0, 0, 0, 0.65);

  color: #6cff7c;

  font-family:
    "Courier New",
    ui-monospace,
    monospace;
}

.skin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 2%;
}

.skin-title {
  font-size:
    min(1.25vw, 2.2vh);

  font-weight: 900;

  letter-spacing: 0.16em;
}

.skin-close {
  width: 3vw;
  min-width: 34px;

  aspect-ratio: 1;

  border:
    1px solid rgba(80, 255, 100, 0.55);

  border-radius: 50%;

  background: rgba(4, 20, 8, 0.95);
  color: #70ff82;

  font-size:
    min(1.2vw, 2.2vh);

  cursor: pointer;
}

.skin-description {
  margin-bottom: 2.4%;

  color:
    rgba(125, 255, 140, 0.72);

  font-size:
    min(0.72vw, 1.28vh);

  line-height: 1.45;
}

.skin-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2%;
}

.skin-choice {
  position: relative;

  padding: 1.2%;

  border:
    1px solid rgba(80, 255, 100, 0.26);

  border-radius: 0.7vw;

  background:
    rgba(4, 20, 8, 0.88);

  color: #76ff85;

  cursor: pointer;

  transition:
    transform 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.skin-choice:hover {
  transform: translateY(-2px);

  border-color:
    rgba(80, 255, 100, 0.7);
}

.skin-choice.is-selected {
  border-color: #64ff78;

  box-shadow:
    0 0 0.8vw
    rgba(70, 255, 100, 0.32);
}

.skin-choice img {
  display: block;

  width: 100%;

  border-radius: 0.45vw;

  pointer-events: none;
}

.skin-choice-name {
  padding-top: 2.2%;

  text-align: center;

  font-size:
    min(0.78vw, 1.4vh);

  font-weight: 900;

  letter-spacing: 0.12em;
}

.skin-choice.is-selected::after {
  content: "ACTIVE";

  position: absolute;

  top: 4%;
  right: 3%;

  padding:
    0.3em
    0.55em;

  border-radius: 0.25vw;

  background: #4dff68;

  color: #001804;

  font-size:
    min(0.55vw, 1vh);

  font-weight: 900;
}

@media (max-width: 700px) {
  .skin-panel {
    width: 86%;
  }

  .skin-grid {
    grid-template-columns: 1fr 1fr;
  }
}
