.lux-page {
  --lux-ink: #f8f1eb;
  --lux-muted: #c0b3bf;
  --lux-accent: #ffc585;
  --lux-edge: #453345;
  --lux-type: "Chakra Petch", sans-serif;
  color: var(--lux-ink);
}
.lux-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 21px;
}
.lux-intro h1,
.lux-panel h2,
.lux-walkthrough h2 {
  font-family: var(--lux-type);
  line-height: 1.08;
  margin: 0;
}
.lux-intro h1 {
  font-size: clamp(27px, 4vw, 45px);
  letter-spacing: -0.04em;
}
.lux-intro h1 span {
  color: #ddafc8;
}
.lux-jump {
  color: var(--lux-accent);
  font-size: 14px;
  font-weight: 700;
}
.lux-cabinet {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  border: 1px solid var(--lux-edge);
  border-radius: 12px;
  overflow: hidden;
  background: #1d1520;
}
.lux-playfield {
  display: grid;
  place-items: center;
  padding: 25px;
  background:
    radial-gradient(ellipse at 72% 20%, #3b203b, transparent 74%), #18131d;
}
.lux-board {
  display: grid;
  width: min(100%, 418px);
  grid-template-columns: 38px repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border: 1px solid #543c52;
  background: #170f19;
  border-radius: 8px;
  box-shadow: 0 6px 24px #0d0912aa;
  font-family: var(--lux-type);
}
.lux-corner,
.lux-lane {
  display: grid;
  place-content: center;
}
.lux-corner {
  color: #b88fb0;
}
.lux-lane {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #624764;
  border-radius: 4px;
  min-height: 35px;
  padding: 3px;
  background: #3a273c;
  color: #f5dbea;
  font-family: inherit;
  font-weight: 700;
}
.lux-lane span {
  color: var(--lux-accent);
}
.lux-lane:hover:not(:disabled),
.lux-lane[aria-pressed="true"] {
  border-color: var(--lux-accent);
  background: #65423e;
}
.lux-cell {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #2d2333;
  border: 1px solid #44354a;
  border-radius: 4px;
}
.lux-cell:nth-child(odd) {
  background: #34263a;
}
.lux-cell i {
  width: 39%;
  aspect-ratio: 1;
  transform: rotate(45deg);
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    #fff0bb 5%,
    #ffbb78 50%,
    #b55d70 51%,
    #ef9588
  );
  box-shadow: 0 0 14px #ffd28e55;
  border: 1px solid #f4c592;
}
.lux-cell.is-cleared i {
  visibility: hidden;
}
.lux-cell.is-aimed {
  background: #6d484a;
  border-color: #efb780;
}
.lux-cell.is-lit {
  background: #4e3445;
  border-color: #c28463;
}
.lux-panel {
  align-self: center;
  padding: 22px clamp(22px, 5vw, 62px);
}
.lux-label,
.lux-warning {
  font: 700 12px var(--lux-type);
  letter-spacing: 0.13em;
  color: var(--lux-accent);
}
.lux-panel h2 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -0.05em;
}
.lux-help,
.lux-walkthrough p {
  color: var(--lux-muted);
}
.lux-help {
  max-width: 33ch;
  margin: 12px 0 18px;
  line-height: 1.5;
}
.lux-stats {
  display: flex;
  gap: 25px;
  margin: 0 0 18px;
}
.lux-stats div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.lux-stats dt {
  font-size: 13px;
  color: var(--lux-muted);
}
.lux-stats dd {
  order: -1;
  margin: 0;
  font: 700 27px var(--lux-type);
}
.lux-actions {
  display: flex;
  gap: 9px;
}
.lux-primary,
.lux-reset {
  font: 700 16px var(--lux-type);
  min-height: 44px;
  padding: 8px 17px;
  border-radius: 5px;
  border: 1px solid var(--lux-accent);
  background: var(--lux-accent);
  color: #24131e;
}
.lux-reset {
  background: transparent;
  color: var(--lux-accent);
  border-color: #725568;
}
.lux-primary:disabled {
  opacity: 0.56;
  cursor: default;
}
.lux-status {
  margin: 9px 0 0;
  min-height: 1.5em;
  font-size: 13px;
  color: var(--lux-accent);
}
.lux-walkthrough {
  max-width: 820px;
  padding: 30px 0 18px;
}
.lux-walkthrough h2 {
  font-size: clamp(23px, 3vw, 32px);
}
.lux-spoiler {
  border: 1px solid var(--lux-edge);
  border-radius: 8px;
  background: #201723;
}
.lux-spoiler summary {
  padding: 15px;
  cursor: pointer;
  font-weight: 700;
}
.lux-warning {
  margin: 0 8px;
}
.lux-answer {
  padding: 0 16px 15px;
}
.lux-answer li {
  margin: 0 0 10px;
}
.lux-answer a,
.lux-related a {
  color: var(--lux-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lux-related a {
  margin-left: 5px;
}
@media (max-width: 700px) {
  .lux-intro {
    display: block;
    padding: 10px 0 12px;
  }
  .lux-jump {
    display: inline-block;
    margin-top: 7px;
  }
  .lux-cabinet {
    grid-template-columns: minmax(0, 1fr);
  }
  .lux-playfield {
    padding: 10px 12px;
  }
  .lux-board {
    max-width: 305px;
    grid-template-columns: 32px repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
  }
  .lux-lane {
    min-height: 32px;
    font-size: 14px;
  }
  .lux-panel {
    grid-row: 1;
    padding: 10px 14px 11px;
  }
  .lux-panel h2 {
    font-size: 27px;
  }
  .lux-label {
    margin: 4px 0;
    font-size: 10px;
  }
  .lux-help {
    max-width: none;
    font-size: 13px;
    margin: 5px 0 7px;
  }
  .lux-stats {
    margin: 0 0 7px;
  }
  .lux-stats dd {
    font-size: 22px;
  }
  .lux-status {
    margin-top: 5px;
  }
  .lux-walkthrough {
    padding-top: 19px;
  }
}
