.home .title {
  text-align: center;
  padding: 0 0 26px;
}
.home .title img {
  width: min(600px, 88%);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(255, 56, 232, .28));
}
.cab {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 34px;
  align-items: start;
}
.play {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.slot {
  padding: 18px 18px 16px;
}
.slot label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
}
.slot .cur {
  color: var(--yel);
}
.slotrow {
  display: flex;
  gap: 12px;
}
.slotrow .input {
  font-size: 15px;
}
.status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--dim);
}
.status .step {
  display: block;
}
.status .step.done::after {
  content: " OK";
  color: var(--grn);
  font-family: var(--arcade);
  font-size: 9px;
}
.status .bad {
  color: var(--red);
}
.hiscore {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}
.desk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 210px;
  justify-content: flex-end;
  position: relative;
}
.desk::after {
  content: "";
  width: 140px;
  height: 6px;
  background:
    radial-gradient(
      ellipse,
      rgba(255, 56, 232, .35),
      transparent 70%);
}
.said {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--yel);
  white-space: nowrap;
  min-height: 10px;
}
.board h2 {
  color: var(--cyan);
  font-size: 15px;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.board .meta {
  text-align: center;
  margin-top: 8px;
  font-size: 8px;
}
.score td.gcell {
  width: 1%;
}
.press {
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 8px 0 0;
}
.press .c1 {
  color: var(--cyan);
}
.press .c2 {
  color: var(--white);
}
.press:hover .c2 {
  color: var(--yel);
}
.press {
  animation: blink 1.4s steps(1) infinite;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.cabca {
  display: flex;
  justify-content: center;
}
.wire {
  padding: 14px 16px;
}
.wire .k {
  margin-bottom: 8px;
}
.wire ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.wire li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid #1a1129;
  min-width: 0;
}
.wire li:first-child {
  border-top: 0;
}
.wire li a {
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.wire li a:hover {
  color: var(--cyan);
}
.wire li .t {
  color: var(--faint);
  font-size: 12px;
  flex: none;
}
.wire li.new {
  animation: rowin 1.2s steps(6);
}
.tv {
  position: relative;
  outline: none;
}
.tv .screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 4px solid #1b1229;
  box-shadow:
    0 0 0 3px #000,
    0 0 0 6px var(--mag2),
    0 0 30px rgba(255, 56, 232, .22);
  overflow: hidden;
}
.tv.tall .screen {
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  margin: 0 auto;
}
.tv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, .18) 0 1px,
      transparent 1px 3px),
    radial-gradient(
      130% 100% at 50% 50%,
      transparent 60%,
      rgba(0, 0, 0, .5));
}
.tv .cover {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.tv .cover .pp {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  background: var(--panel);
  border: 3px solid var(--mag);
  box-shadow: 0 0 0 3px #000, 0 0 18px rgba(255, 56, 232, .45);
  color: var(--yel);
}
.tv .cover .pp svg {
  width: 48px;
  height: 48px;
  display: block;
  shape-rendering: crispEdges;
  filter: drop-shadow(3px 3px 0 #000);
}
.tv .cover:hover .pp {
  border-color: var(--yel);
}
.tv .cover:focus-visible {
  outline-offset: -10px;
}
.tv.playing:not(.paused) .cover {
  display: none;
}
.tv .cc {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: calc(2.7em + 16px);
  margin-top: 14px;
  padding: 8px 14px;
  background: #0b0714;
  border: 3px solid #1b1229;
  text-align: center;
  font: 17px/1.35 var(--memo);
  color: var(--white);
}
.tv.playing .cc {
  display: flex;
}
.tv:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
  padding: 12px;
}
.tv:fullscreen .screen {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  max-height: none;
}
.tv:fullscreen video {
  object-fit: contain;
}
.tv .deck {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  background: #0b0714;
  border: 3px solid #1b1229;
  padding: 8px 10px;
}
.tv .start {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--white);
  font: 9px/1 var(--arcade);
}
.tv .start i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 40% 35%,
      #ff8a9b,
      var(--red) 45%,
      #8a0c22);
  box-shadow: 0 3px 0 #4a0412, 0 0 0 3px #000;
  display: block;
}
.tv .start:active i,
.tv .start.lit i {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #4a0412,
    0 0 0 3px #000,
    0 0 14px var(--red);
}
.tv .segs {
  flex: 1;
  display: flex;
  gap: 2px;
  height: 14px;
  position: relative;
  cursor: pointer;
  min-width: 60px;
}
.tv .segs b {
  flex: 1;
  background: #22183a;
}
.tv .segs b.on {
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(52, 233, 255, .6);
}
.tv .segs em {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 22px;
  background: var(--yel);
}
.tv .tm {
  font: 9px/1 var(--arcade);
  color: var(--dim);
  white-space: nowrap;
}
.tv .keys {
  display: flex;
  gap: 4px;
}
.tv .keys button {
  width: 30px;
  height: 30px;
  border: 2px solid #2a1d3d;
  background: #000;
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.tv .keys button svg {
  width: 14px;
  height: 14px;
}
.tv .keys button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.tv .keys button.dim {
  opacity: .45;
}
.tv .chap {
  margin-top: 8px;
  min-height: 12px;
  font-size: 8px;
  text-align: right;
}
@media (max-width: 1020px) {
  .cab {
    grid-template-columns: 1fr;
  }
  .side {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 720px) {
  .home .title {
    padding: 0 0 14px;
  }
  .slotrow {
    flex-direction: column;
  }
  .slotrow .btn {
    justify-content: center;
  }
  .hiscore {
    grid-template-columns: 1fr;
  }
  .desk {
    min-height: 150px;
  }
  .board h2 {
    font-size: 12px;
  }
  .press {
    font-size: 11px;
  }
  .tv .tm {
    display: none;
  }
  .tv .cc {
    font-size: 15px;
    min-height: calc(4.05em + 16px);
  }
  .tv .deck {
    gap: 8px;
    padding: 8px;
  }
  .tv .keys button {
    width: 34px;
    height: 34px;
  }
}
.tv .screen {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.tv .screen::after {
  display: none;
}
.tv .screen {
  background: transparent;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 4%,
      #000 96%,
      transparent),
    linear-gradient(
      to bottom,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 4%,
      #000 96%,
      transparent),
    linear-gradient(
      to bottom,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
  mask-composite: intersect;
}
.tv .cc {
  background: none;
  border: 0;
  padding: 8px 8%;
}
.tv .deck {
  background: none;
  border: 0;
  padding: 8px 8%;
}
.tv .keys button {
  border: 0;
  background: none;
}
.tv .segs b {
  background: #22183a;
}
.title img {
  animation: crt .75s steps(7) both;
}
@keyframes crt {
  0% {
    opacity: 0;
    transform: scaleY(.03);
    filter: brightness(3) saturate(0);
  }
  45% {
    opacity: 1;
    transform: scaleY(1.04);
    filter: brightness(1.8);
  }
  100% {
    transform: none;
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .title img {
    animation: none !important;
  }
}
