/* The room around the cabinets: quick choices, one original late-night tape,
   a free snack gag, and the actual walk across LaSalle Street. */
.first-play {
  max-width: 900px;
  margin: 0 auto 54px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,45,149,.08), rgba(41,230,255,.045));
  border: 1px solid var(--cab-edge);
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0,0,0,.38), 0 18px 60px rgba(0,0,0,.18);
}

.first-play-head { text-align: center; margin-bottom: 15px; }
.first-play-head p,
.room-break-head p {
  color: var(--neon-amber);
  font-size: 7px;
  letter-spacing: 3px;
  margin-bottom: 7px;
}
.first-play-head h2,
.room-break-head h2 {
  color: #fff;
  font-size: clamp(11px, 2vw, 16px);
  letter-spacing: 2px;
}

.first-play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.first-play-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  color: #cfd6ea;
  background: #0b0819;
  border: 1px solid #302653;
  border-radius: 9px;
  text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}

.first-play-card:hover,
.first-play-card:focus-visible {
  transform: translateY(-3px);
  border-color: currentColor;
  box-shadow: 0 8px 30px rgba(0,0,0,.38);
  outline: none;
}

.first-play-card .first-label {
  color: #6f7b9d;
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.first-play-card strong {
  color: #fff;
  font-size: 10px;
  line-height: 1.55;
}

.first-play-card small {
  margin: 9px 0 13px;
  color: #8fa0c2;
  font: 11px/1.55 "Courier New", monospace;
}

.first-play-card b {
  margin-top: auto;
  font-size: 7px;
  line-height: 1.5;
}

.first-chart b { color: var(--neon-green); }
.first-puzzle b { color: #ff9d3c; }
.first-adventure b { color: #d8a657; }

.cab-promise {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  padding: 7px 8px 18px;
  color: #dbe3f1;
  background: linear-gradient(rgba(4,3,8,.94) 38%, transparent);
  font-size: 6px;
  line-height: 1.55;
  letter-spacing: .5px;
  text-align: center;
  pointer-events: none;
}

.room-break {
  max-width: 820px;
  margin: 62px auto 50px;
  padding: 20px;
  border: 1px solid #33284e;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(82,50,35,.15) 1px, transparent 1px),
    linear-gradient(#100b1b, #090611);
  background-size: 18px 100%, auto;
  box-shadow: inset 0 -35px 70px rgba(0,0,0,.45);
}

.room-break-head { text-align: center; margin-bottom: 18px; }
.room-break-head p { color: #d8a657; }
.room-break-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(210px, .65fr);
  gap: 22px;
  align-items: stretch;
}

.tube-tv,
.snack-machine {
  border: 1px solid #2c2443;
  border-radius: 10px;
  background: #080610;
}

.tube-tv { padding: 13px; }
.tv-case {
  position: relative;
  padding: 13px 34px 24px 13px;
  border: 7px solid #3b3028;
  border-bottom-color: #2a211d;
  border-radius: 17px 17px 24px 24px;
  background: #1c1715;
  box-shadow: inset 0 0 0 2px #59463a, 0 12px 30px rgba(0,0,0,.4);
}

#late-movie {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border: 2px solid #050505;
  border-radius: 14px / 10px;
  background: #020304;
  image-rendering: pixelated;
}

.tv-brand {
  position: absolute;
  right: 5px;
  bottom: 10px;
  color: #8a6a44;
  font-size: 5px;
  writing-mode: vertical-rl;
}

.tv-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.tv-controls button,
.snack-buttons button {
  color: #ffe9b5;
  background: #21162c;
  border: 1px solid #d8a657;
  border-radius: 5px;
  font: 7px/1 "Press Start 2P", "Courier New", monospace;
  cursor: pointer;
}
.tv-controls button { padding: 10px 12px; }
.tv-controls button:hover,
.tv-controls button:focus-visible,
.snack-buttons button:hover,
.snack-buttons button:focus-visible {
  color: #fff;
  box-shadow: 0 0 12px rgba(216,166,87,.42);
  outline: 2px solid transparent;
}
.tv-controls span { color: #8a7f75; font-size: 7px; }
#tv-caption {
  min-height: 30px;
  margin-top: 9px;
  color: #8fa0c2;
  font: 11px/1.45 "Courier New", monospace;
}

.snack-machine {
  padding: 14px;
  border-color: #41485b;
  background: linear-gradient(150deg, #252d3c, #111722 55%, #080b11);
  box-shadow: inset 3px 0 #3e485d, inset -4px 0 #090d14;
}
.snack-sign {
  padding: 9px 4px;
  color: #fff;
  background: #15243b;
  border: 1px solid #42516a;
  font-size: 8px;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 0 7px #29e6ff;
}
.snack-sign span { color: #65edff; }
.snack-window {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin: 9px 0;
  overflow: hidden;
  color: #e7b454;
  background: #070b12;
  border: 4px solid #1c2431;
  font: 28px/1 monospace;
  letter-spacing: 7px;
  text-align: center;
}
.snack-row { opacity: .75; }
.snack-chute {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 56px;
  height: 17px;
  transform: translateX(-50%);
  background: #010203;
  border: 2px solid #333d4d;
}
.snack-machine.dispensing .snack-chute::after {
  content: "▰";
  position: absolute;
  left: 17px;
  top: -115px;
  color: #ffca62;
  font-size: 19px;
  animation: snack-drop .7s cubic-bezier(.4,0,.7,1) forwards;
}
@keyframes snack-drop { to { transform: translateY(112px) rotate(25deg); } }
.snack-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.snack-buttons button { padding: 9px 3px; }
#snack-message {
  min-height: 37px;
  margin-top: 10px;
  color: #8fa0c2;
  font-size: 6px;
  line-height: 1.8;
  text-align: center;
}

.street-cross {
  position: relative;
  max-width: 820px;
  min-height: 128px;
  margin: 30px auto 62px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 18px 22px 30px;
  color: #fff;
  background: linear-gradient(#19131e 0 56%, #282027 56%);
  border: 1px solid #403442;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.street-cross:hover,
.street-cross:focus-visible { border-color: var(--neon-cyan); outline: none; }
.walk-light {
  width: 65px;
  height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #9df7d9;
  background: #050708;
  border: 5px solid #35313a;
  font-size: 7px;
  box-shadow: 0 0 14px rgba(47,191,155,.2);
}
.walk-light i {
  width: 14px;
  height: 23px;
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: #62e8bd;
  box-shadow: 0 0 12px #2fbf9b;
  animation: walk-pulse 1.3s steps(2) infinite;
}
@keyframes walk-pulse { 50% { opacity: .55; } }
.street-cross-copy small {
  display: block;
  margin-bottom: 9px;
  color: #7885a6;
  font-size: 6px;
  letter-spacing: 2px;
}
.street-cross-copy strong {
  color: #fff;
  font-size: clamp(10px, 2vw, 15px);
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(41,230,255,.5);
}
.crosswalk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  transform: skewX(-18deg);
}
.crosswalk i { width: 80px; background: rgba(232,236,246,.52); }

@media (max-width: 720px) {
  .first-play-grid { grid-template-columns: 1fr; }
  .first-play-card { min-height: 0; }
  .room-break-grid { grid-template-columns: 1fr; }
  .snack-machine { max-width: 330px; width: 100%; margin: 0 auto; }
}

@media (max-width: 460px) {
  .first-play, .room-break { padding: 13px; }
  .room-break { margin-top: 48px; }
  .street-cross { grid-template-columns: 58px 1fr; gap: 12px; padding: 14px 13px 28px; }
  .walk-light { width: 55px; height: 64px; }
  .street-cross-copy small { letter-spacing: 1px; }
  .tv-case { padding-right: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .walk-light i, .snack-machine.dispensing .snack-chute::after { animation: none; }
}
