
@media (max-width: 700px) {
  .menu-screen {
    padding: 8px;
  }
  .menu-shell {
    width: min(440px, 100%);
  }
  .menu-brand img {
    width: 270px;
    max-width: 78%;
  }
  .has-resume .menu-brand img {
    width: 230px;
  }
  .menu-frame {
    top: 84px;
    height: calc(100% - 84px);
  }
  .menu-body {
    padding: 1px 20px 28px;
  }
  .menu-tagline {
    font-size: 15px;
    line-height: 1.3;
  }
  .mode-switch {
    margin-top: 11px;
    gap: 3px;
    padding: 3px;
    border-radius: 14px;
  }
  .mode-switch button {
    font-size: 13px;
    padding: 6px 4px;
    min-height: 31px;
    gap: 6px;
    border-radius: 11px;
  }
  .mode-switch svg {
    width: 15px;
    height: 15px;
  }
  .menu-heading {
    font-size: 18px;
    gap: 7px;
    margin: 13px 0 10px;
    letter-spacing: -0.2px;
  }
  .menu-heading svg {
    width: 20px;
    height: 20px;
  }
  .menu-screen .seats {
    gap: 6px;
  }
  .menu-screen .seat {
    height: 125px;
    padding: 6px 2px 5px;
    border-radius: 18px;
    border-width: 1.5px;
  }
  .menu-screen .seat-cat {
    width: 76px;
  }
  .menu-screen .seat b {
    font-size: 15px;
    letter-spacing: -0.25px;
  }
  .menu-screen .seat small {
    font-size: 11px;
    margin-top: 2px;
  }
  .seat-state {
    height: 17px;
    margin-top: 4px;
  }
  .menu-screen .seat-state svg {
    width: 17px;
    height: 17px;
  }
  .selection-tip {
    font-size: 11px;
    margin-top: 9px;
  }
  .menu-play {
    height: 71px;
    padding: 0 34px 3px;
    gap: 11px;
    font-size: 25px;
    margin-top: 9px;
  }
  .menu-play svg {
    width: 23px;
    height: 26px;
  }
  .menu-footer {
    margin-top: 9px;
  }
  .menu-footer button {
    font-size: 11px;
    gap: 5px;
    padding: 2px 3px;
  }
  .footer-icon {
    width: 34px;
    height: 34px;
  }
  .footer-icon svg {
    width: 20px;
    height: 20px;
  }
  .menu-resume {
    font-size: 13px;
    padding: 8px 12px;
  }
  .menu-details {
    min-height: 249px;
    padding-top: 10px;
  }
  .menu-details h2 {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .option-row {
    gap: 9px;
    padding: 17px 0;
  }
  .option-row b {
    font-size: 16px;
  }
  .option-row small {
    font-size: 11px;
  }
  .option-toggle,
  .speed-choice button {
    font-size: 13px;
    padding: 10px;
  }
  .menu-rule-list {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 19px;
  }
  .menu-rule-list li {
    padding-bottom: 7px;
  }
  .menu-shortcuts {
    font-size: 11px;
  }
  .menu-back {
    font-size: 12px;
    margin-top: 13px;
  }
}
@media (max-width: 350px) {
  .menu-brand img {
    width: 235px;
  }
  .menu-body {
    padding-inline: 16px;
  }
  .menu-tagline {
    font-size: 13px;
  }
  .menu-heading {
    font-size: 16px;
    gap: 5px;
  }
  .menu-heading svg {
    width: 17px;
    height: 17px;
  }
  .menu-screen .seat {
    height: 115px;
  }
  .menu-screen .seat b {
    font-size: 13px;
  }
  .menu-screen .seat small {
    font-size: 10px;
  }
  .menu-play {
    font-size: 23px;
    height: 65px;
    padding-inline: 30px;
    gap: 8px;
  }
  .footer-icon {
    width: 30px;
    height: 30px;
  }
  .menu-footer button {
    font-size: 10px;
    gap: 4px;
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .menu-brand img,
  .has-resume .menu-brand img {
    width: 210px;
  }
  .menu-body {
    padding-bottom: 14px;
  }
  .menu-frame {
    top: 65px;
    height: calc(100% - 65px);
  }
  .mode-switch {
    margin-top: 8px;
  }
  .menu-heading {
    margin: 10px 0 8px;
  }
  .menu-screen .seat {
    height: 112px;
  }
  .menu-screen .seat-cat {
    width: 66px;
  }
  .selection-tip {
    margin-top: 7px;
  }
  .menu-play {
    height: 64px;
    margin-top: 6px;
  }
  .menu-footer {
    margin-top: 6px;
  }
  .menu-details {
    min-height: 229px;
  }
  .menu-tagline {
    font-size: 13px;
  }
}
@media (min-width: 701px) and (max-height: 500px) {
  .menu-screen {
    padding: 7px;
  }
  .menu-shell {
    width: min(780px, 100%);
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: center;
    padding: 14px 17px;
    box-sizing: border-box;
  }
  .menu-frame {
    top: 0;
    height: 100%;
  }
  .menu-brand img,
  .has-resume .menu-brand img {
    width: 230px;
    max-width: 100%;
  }
  .menu-body {
    padding: 0 10px 2px;
  }
  .menu-tagline {
    display: none;
  }
  .mode-switch {
    margin-top: 4px;
    padding: 3px;
  }
  .mode-switch button {
    font-size: 12px;
    min-height: 29px;
  }
  .mode-switch svg {
    width: 14px;
    height: 14px;
  }
  .menu-heading {
    font-size: 18px;
    gap: 7px;
    margin: 9px 0 8px;
  }
  .menu-heading svg {
    width: 18px;
    height: 18px;
  }
  .menu-screen .seats {
    gap: 6px;
  }
  .menu-screen .seat {
    height: 108px;
    padding: 4px 2px;
  }
  .menu-screen .seat-cat {
    width: 67px;
  }
  .menu-screen .seat b {
    font-size: 15px;
  }
  .menu-screen .seat small {
    font-size: 11px;
  }
  .seat-state {
    margin-top: 2px;
    height: 16px;
  }
  .menu-screen .seat-state svg {
    width: 16px;
    height: 16px;
  }
  .selection-tip {
    font-size: 10px;
    margin-top: 6px;
  }
  .menu-play {
    font-size: 24px;
    height: 69px;
    padding: 0 40px 4px;
    margin-top: 3px;
    gap: 12px;
  }
  .menu-play svg {
    width: 23px;
    height: 25px;
  }
  .menu-footer {
    margin-top: 4px;
  }
  .menu-footer button {
    font-size: 11px;
    gap: 5px;
  }
  .footer-icon {
    width: 30px;
    height: 30px;
  }
  .footer-icon svg {
    width: 17px;
    height: 17px;
  }
  .menu-resume {
    font-size: 12px;
    padding: 5px 12px;
  }
  .menu-details {
    min-height: 196px;
    padding-top: 0;
  }
  .menu-details h2 {
    font-size: 20px;
    margin: 4px 0 10px;
  }
  .option-row {
    padding: 10px 0;
  }
  .option-row b {
    font-size: 16px;
  }
  .option-row small {
    font-size: 11px;
  }
  .menu-rule-list {
    font-size: 12px;
    line-height: 1.3;
  }
  .menu-shortcuts {
    font-size: 10px;
  }
  .menu-back {
    font-size: 11px;
    margin-top: 9px;
  }
}

/* Secondary screens are independent of the small welcome panel. */
.menu-hud {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: flex;
  gap: 8px;
  z-index: 8;
}
.menu-hud button,
.aux-head button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #dedcf4;
  border-radius: 14px;
  color: #655f9f;
  background: #f9f8ff;
  box-shadow:
    0 4px 0 #b9b4d7,
    0 7px 15px #554f8024;
  cursor: pointer;
  transition: transform 0.15s;
}
.menu-hud button:hover,
.aux-head button:hover {
  transform: translateY(-2px);
}
.menu-hud button:active,
.aux-head button:active {
  transform: translateY(2px);
}
.menu-hud svg {
  width: 21px;
  height: 21px;
  display: block;
}
.menu-screen.aux-open .menu-shell,
.menu-screen.aux-open .menu-hud {
  visibility: hidden;
}
.aux-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #45426a55;
}
/* End of css/menu-03.css */
