/* Brick Battle V1.5 - title CTA */
#title .main-row {
  height: 4.2cqw;
  align-items: stretch;
  box-shadow: 0 0 2.6cqw #71e8ca66;
}

#title .main-row #cpu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.2cqw;
  min-height: 4.2cqw;
  background: var(--mint);
  color: #06121a;
  font-weight: 800;
  font-size: 1.85cqw;
  border: 0;
  cursor: pointer;
}

#title .main-row #cpu::before {
  content: "▶";
  margin-right: .6em;
}

#title .main-row #cpu:hover {
  background: #a0f3dd;
  box-shadow: 0 0 2.4cqw #71e8ca88;
}

#title .main-row #cpu::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: bb-play-glow 2.2s ease-in-out infinite alternate;
}

@keyframes bb-play-glow {
  from { box-shadow: 0 0 .8cqw #71e8ca55; }
  to { box-shadow: 0 0 2.2cqw #71e8caaa, inset 0 0 1.2cqw #71e8ca33; }
}

#title .main-row #cpu-level {
  height: 4.2cqw;
  min-height: 4.2cqw;
}

body.touch:not(.in-match) #title .main-row,
body.touch:not(.in-match) #title .main-row #cpu,
body.touch:not(.in-match) #title .main-row #cpu-level {
  height: 64px;
  min-height: 64px;
}

/* V 1.7: phones split the row 50 : 50, so the CPU level is as easy to read as PLAY VS CPU */
body.touch:not(.in-match) #title .main-row #cpu,
body.touch:not(.in-match) #title .main-row #cpu-level {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
}
body.touch:not(.in-match) #title .main-row #cpu-level {
  border-left: 2px solid var(--mint);
}

@media (prefers-reduced-motion: reduce) {
  #title .main-row #cpu,
  #title .main-row #cpu::after {
    animation: none;
  }
}
/* V 1.8: Football Arena switch, green while the grass pitch is on. */
#title .menu button#arena.on { color:#8dffa0; border-color:#3fbf4f; box-shadow:0 0 1.2cqw #3fbf4f55, inset 0 0 1cqw #3fbf4f22; }
/* PC title: PLAY ONLINE and the arena switch share one row, so the menu keeps its old height. */
body:not(.touch) #title .menu #play-online,
body:not(.touch) #title .menu #arena { display:inline-block; vertical-align:top; width:calc(50% - .55cqw); font-size:1.3cqw; letter-spacing:.1em; white-space:nowrap; }
body:not(.touch) #title .menu #arena { margin-left:1.1cqw; }
