:root {
  --ink: #102d39;
  --cream: #fffbe9;
  --lime: #e3f34f;
  --orange: #ff9464;
  --phone-turn: 0deg;
  --phone-width: 100vw;
  --phone-height: 100dvh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #123c46;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 4px solid #ff935d;
  outline-offset: 5px;
}
button {
  touch-action: manipulation;
}
input {
  min-width: 0;
}
input:focus {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
h1,
h2,
p {
  margin: 0;
}
button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}
button:active:not(:disabled) {
  translate: 0 2px;
}
[v-cloak] {
  display: none;
}
#loading {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--lime);
  font-size: 64px;
  font-style: italic;
  font-weight: 900;
}
#loading span {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: white;
  margin-top: 15px;
}
.app-shell {
  position: relative;
  width: 100%;
  min-height: 100dvh;
}
.desktop-app .app-shell {
  height: 100dvh;
  overflow: hidden;
}
#game-court {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.home-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #082d43b0 0%,
    #082d4360 31%,
    transparent 61%
  );
  pointer-events: none;
}
.topbar {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  padding: 25px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.topbar > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--cream);
  font-weight: 900;
  font-size: 37px;
  letter-spacing: -2px;
  font-style: italic;
  text-shadow: 2px 3px 0 var(--ink);
  position: relative;
}
.brand-ball {
  color: var(--lime);
  font-size: 42px;
  line-height: 1;
  font-style: normal;
  letter-spacing: 0;
}
.brand-caption {
  position: absolute;
  left: 51px;
  bottom: -11px;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.top-actions {
  display: flex;
  gap: 10px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--cream);
  box-shadow: 0 3px 0 var(--ink);
  font-size: 26px;
  font-weight: 800;
}
.desktop-content {
  position: relative;
  z-index: 2;
  height: 100%;
  pointer-events: none;
}
.desktop-content button,
.desktop-content input,
.desktop-content .paper {
  pointer-events: auto;
}
.home {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-48%);
  width: 460px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.home-eyebrow {
  color: var(--cream);
  font-size: 11px;
}
.home h1 {
  font-size: clamp(66px, 7.8vw, 116px);
  font-style: italic;
  letter-spacing: -6px;
  line-height: 0.88;
  font-weight: 1000;
  color: var(--cream);
  text-shadow: 4px 5px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 30px;
}
.home h1 em {
  color: var(--lime);
  font-style: inherit;
}
.mode-buttons {
  display: flex;
  gap: 12px;
}
.primary,
.secondary {
  border: 2.5px solid var(--ink);
  border-radius: 13px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 16px 21px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 54px;
  text-decoration: none;
}
.primary {
  background: var(--lime);
}
.secondary {
  background: var(--cream);
}
.primary:hover {
  background: #edf880;
}
.secondary:hover {
  background: #fff;
}
.wide {
  width: 100%;
}
.mode-buttons button {
  min-width: 185px;
  justify-content: space-between;
}
.mode-buttons span {
  font-size: 23px;
  line-height: 0.5;
}
.join-link {
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  padding: 26px 0 0;
  text-shadow: 1px 2px 0 var(--ink);
}
.join-link span {
  padding-left: 20px;
}
.home-footer {
  position: absolute;
  bottom: 28px;
  left: 38px;
  right: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  text-shadow: 1px 2px 0 var(--ink);
}
.home-footer > span {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 800;
}
.home-footer button {
  background: #123c467a;
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fff6;
  border-radius: 20px;
  padding: 10px 15px;
}
.home-status {
  margin-top: 15px;
  color: white;
  font-size: 13px;
}
.home-status button {
  border: 0;
  background: none;
  color: var(--lime);
  text-decoration: underline;
}
.scoreboard {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 23px;
  display: flex;
  gap: 17px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 7px 22px;
  box-shadow: 0 5px 0 var(--ink);
}
.score-player {
  display: flex;
  align-items: center;
  gap: 18px;
}
.score-player span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}
.score-player b {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
}
.score-divider {
  align-self: center;
  font-size: 24px;
  opacity: 0.4;
}
.paper {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 25px;
  box-shadow: 7px 8px 0 #102d3999;
  padding: 30px;
  color: var(--ink);
}
.paper h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  font-weight: 900;
  margin-bottom: 15px;
}
.paper p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  color: #41616a;
}
.paper .compact {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.lobby {
  position: absolute;
  inset: 105px 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 20px;
  pointer-events: none;
}
.pair-card {
  width: 350px;
  top: 50vh;
  bottom: 50vh;
  text-align: center;
  flex-shrink: 0;
}
.pair-card h2 {
  font-size: 32px;
}
.qr-wrap {
  background: white;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  width: 218px;
  height: 218px;
  margin: 20px auto 10px;
}
.qr-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pair-code {
  border: 0;
  border-top: 1px solid #102d3920;
  border-bottom: 1px solid #102d3920;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  margin: 13px 0 17px;
}
.pair-code span {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 800;
}
.pair-code b {
  font-size: 23px;
  letter-spacing: 3px;
}
.ready-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.status-dot,
.connection-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.status-dot.ready,
.connection-dot.ready {
  background: #59b659;
}
.invite-card {
  width: 315px;
  transform: rotate(2deg);
  background: #e7f18d;
  padding: 28px;
}
.invite-card h2 {
  font-size: 30px;
}
.invite-card p {
  font-size: 12px;
}
.match-code {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #102d3926;
  font-size: 39px;
  font-weight: 900;
  letter-spacing: 4px;
  padding: 6px 0 18px;
  margin-bottom: 18px;
}
.ready-mark {
  margin: 30px auto;
  border: 3px solid var(--ink);
  background: var(--lime);
  font-size: 55px;
  line-height: 100px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.countdown {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
}
.countdown b {
  display: inline-block;
  font-size: 35px;
  padding-left: 12px;
}
.back-link {
  position: absolute;
  left: 35px;
  bottom: 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
}
.modal-layer {
  position: absolute;
  z-index: 15;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #092a4177;
  backdrop-filter: blur(5px);
  pointer-events: auto;
}
.small-dialog {
  width: 380px;
  text-align: center;
}
.small-dialog form {
  text-align: left;
}
.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.small-dialog > .eyebrow {
  margin-top: 12px;
}
.small-dialog .primary {
  margin-top: 17px;
}
form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 8px 0;
}
input:not([type="checkbox"]):not([type="range"]) {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: white;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 4px;
  text-align: center;
}
input::placeholder {
  color: #90a2a4;
}
input[type="range"] {
  accent-color: #91a817;
  width: 100%;
  min-height: 30px;
}
input[type="checkbox"] {
  accent-color: #174a47;
  width: 20px;
  height: 20px;
}
.text-button {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rally-chip {
  position: absolute;
  left: 50%;
  top: 109px;
  transform: translateX(-50%);
  background: #102d39d9;
  border: 1px solid #fff5;
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 9px 16px;
  border-radius: 20px;
}
.rally-chip b {
  color: var(--lime);
  font-size: 15px;
  margin-left: 8px;
}
.court-prompt {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: #fffbe9f2;
  border: 3px solid var(--ink);
  border-radius: 17px;
  padding: 14px 32px;
  box-shadow: 3px 4px 0 var(--ink);
  white-space: nowrap;
}
.court-prompt strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.8px;
}
.court-prompt span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.hit-prompt {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  color: var(--lime);
  font-size: 90px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -5px;
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 4px 5px 0 var(--ink);
  pointer-events: none;
}
.point-prompt {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  text-align: center;
  white-space: nowrap;
  color: var(--cream);
}
.point-prompt strong {
  display: block;
  font-size: 65px;
  font-style: italic;
  font-weight: 1000;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 5px 0 var(--ink);
}
.point-prompt span {
  display: inline-block;
  background: var(--ink);
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 13px;
  margin-top: 12px;
}
.connection-dot {
  position: absolute;
  right: 40px;
  bottom: 34px;
  border: 2px solid var(--cream);
  width: 11px;
  height: 11px;
}
.demo-hint {
  position: absolute;
  bottom: 22px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cream);
  text-shadow: 1px 2px 0 var(--ink);
}
.final-score {
  font-size: 76px;
  font-weight: 900;
  margin: 20px 0;
}
.final-score span {
  font-weight: 400;
  font-size: 35px;
  opacity: 0.4;
}
.error-banner {
  position: absolute;
  z-index: 30;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  max-width: calc(100% - 32px);
  background: #ffebe0;
  border: 2px solid var(--ink);
  box-shadow: 3px 4px 0 #102d3977;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.error-banner button {
  border: 0;
  background: none;
  font-size: 25px;
}
.offline-badge {
  position: absolute;
  top: 98px;
  left: 35px;
  border-radius: 10px;
  background: var(--orange);
  font-size: 11px;
  padding: 8px 11px;
  z-index: 10;
}
.settings-layer {
  z-index: 20;
}
.settings-dialog {
  width: 390px;
  max-height: 100%;
  overflow: auto;
}
.settings-dialog h2 {
  font-size: 31px;
  margin-bottom: 20px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #102d391f;
  font-size: 13px;
  font-weight: 700;
}
.setting-row input[type="range"] {
  max-width: 145px;
}
.setting-row select {
  border: 1px solid #789098;
  border-radius: 8px;
  background: transparent;
  padding: 8px;
}
.settings-dialog .primary,
.settings-dialog .secondary {
  margin-top: 20px;
  font-size: 13px;
  min-height: 49px;
  padding: 12px;
}
.settings-dialog .settings-note {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 5px;
}
.help-details {
  font-size: 12px;
  margin-top: 25px;
  border-top: 1px solid #102d391f;
  padding-top: 16px;
}
.help-details summary {
  cursor: pointer;
  font-weight: 700;
}
.help-details p {
  font-size: 12px;
  margin-top: 15px;
  margin-bottom: 5px;
}
.help-details a {
  color: var(--ink);
  display: block;
  margin-top: 15px;
}
.phone-app {
  color: var(--cream);
  background: #123c46;
}
.phone-shell {
  background: radial-gradient(ellipse at 50% 25%, #245a5e 0%, #123c46 65%);
  padding-top: 1px;
}
.phone-app .topbar {
  padding: max(22px, env(safe-area-inset-top)) 24px 14px;
  position: relative;
}
.phone-app .brand {
  font-size: 30px;
}
.phone-app .brand-ball {
  font-size: 36px;
}
.phone-app .brand-caption {
  font-size: 6px;
  left: 43px;
  bottom: -7px;
  letter-spacing: 2.5px;
}
.phone-app .icon-button {
  width: 39px;
  height: 39px;
  border-radius: 12px;
}
.phone-content {
  max-width: 420px;
  margin: auto;
  padding: 32px 28px max(24px, env(safe-area-inset-bottom));
}
.phone-join {
  text-align: center;
}
.phone-join .eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  opacity: 0.7;
  margin-top: 10px;
}
.phone-join h1 {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -3.5px;
  line-height: 1.02;
  margin-top: 24px;
}
.phone-join h1 em {
  color: var(--lime);
  font-style: italic;
}
.phone-join p {
  font-size: 14px;
  line-height: 1.65;
  color: #c1d8d5;
}
.phone-ball {
  font-size: 85px;
  color: var(--lime);
  line-height: 1;
  margin: 26px auto;
  text-shadow: 3px 4px 0 var(--ink);
  transform: rotate(-30deg);
}
.phone-code-form {
  margin-top: 26px;
  text-align: left;
}
.phone-code-form label {
  color: #c4d7d7;
  font-size: 10px;
  margin-bottom: 10px;
}
.phone-code-form .primary {
  margin-top: 13px;
}
.phone-app .compact {
  font-size: 12px;
  margin-top: 16px;
}
.controller {
  text-align: center;
  min-height: calc(100dvh - 135px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.controller-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 27px;
}
.controller .ready-status {
  font-size: 11px;
  color: #d3e4dc;
}
.phone-score {
  font-size: 25px;
  font-weight: 800;
}
.phone-score i {
  color: #83a7a9;
  font-style: normal;
  padding: 0 5px;
}
.phone-racket {
  height: clamp(140px, 29dvh, 280px);
  margin: 16px auto;
  transform-origin: 50% 87%;
  width: 170px;
  transition: transform 60ms linear;
  filter: drop-shadow(0 7px 0 #082c3070);
  pointer-events: none;
}
.phone-racket svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}
.controller h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  font-weight: 900;
  line-height: 1.1;
  margin: 10px 0;
}
.phone-hint {
  font-size: 12px;
  color: #bbd6d5;
  line-height: 1.7;
  max-width: 270px;
  margin: 0 auto 23px;
  min-height: 40px;
}
.controller-actions {
  width: 100%;
}
.recenter-button {
  border: 1px solid #80aba977;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--cream);
  background: transparent;
  margin-top: 10px;
}
.phone-bottom {
  font-size: 8px;
  letter-spacing: 2.5px;
  opacity: 0.55;
  margin-top: auto;
  padding-top: 32px;
}
.sensor-message {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 18px;
  color: #ffd2b1;
}
.sensor-message button {
  color: var(--lime);
  background: none;
  border: 0;
  text-decoration: underline;
}
.phone-flash .phone-racket {
  filter: drop-shadow(0 0 24px #e3f34f88);
}
.aim-label {
  display: block;
  font-size: 10px;
  text-align: left;
  margin-bottom: 4px;
}
.hit-button {
  margin-top: 12px;
  font-size: 23px;
  user-select: none;
  touch-action: none;
}
.phone-app .offline-badge {
  position: relative;
  left: auto;
  top: auto;
  margin: 15px 28px 0;
  width: max-content;
  color: var(--ink);
}
.phone-app .error-banner {
  top: 85px;
}
.phone-app .modal-layer {
  position: fixed;
  padding: 20px;
}
.phone-app .settings-dialog {
  max-height: calc(100% - 20px);
  border-radius: 20px;
  padding: 25px;
}
.racket-mode,
.racket-mode body {
  overflow: hidden;
  overscroll-behavior: none;
  height: 100%;
  touch-action: manipulation;
}
.racket-mode .phone-shell {
  position: fixed;
  width: var(--phone-width);
  height: var(--phone-height);
  min-height: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--phone-turn));
  overflow: hidden;
  transform-origin: center;
}
.racket-mode .phone-content {
  height: calc(var(--phone-height) - 84px);
  padding-top: 20px;
}
.racket-mode .controller {
  min-height: 0;
  height: 100%;
}
.racket-mode .phone-racket {
  height: clamp(120px, calc(var(--phone-height) * 0.29), 275px);
}
.racket-mode .phone-bottom {
  padding-top: 14px;
}
.racket-mode .modal-layer {
  position: absolute;
}
.racket-mode .phone-shell .phone-hint {
  margin-bottom: 13px;
}
.racket-mode .phone-racket {
  transition: none;
}
@media (max-height: 720px) and (min-width: 821px) {
  .topbar {
    padding: 20px 30px;
  }
  .home h1 {
    font-size: 84px;
    margin-bottom: 23px;
  }
  .home .eyebrow {
    margin-bottom: 15px;
  }
  .paper {
    padding: 22px;
  }
  .lobby {
    inset: 94px 0 22px;
  }
  .pair-card h2 {
    font-size: 28px;
  }
  .qr-wrap {
    width: 175px;
    height: 175px;
    margin-top: 14px;
  }
  .pair-card .pair-code {
    margin: 10px 0;
    padding: 11px 0;
  }
  .home-footer {
    bottom: 20px;
  }
  .scoreboard {
    top: 17px;
  }
  .invite-card {
    width: 285px;
  }
}
@media (max-width: 820px) {
  .desktop-app .brand-caption {
    display: none;
  }
  .desktop-app .topbar {
    padding: 20px;
  }
  .desktop-app .brand {
    font-size: 26px;
  }
  .desktop-app .brand-ball {
    font-size: 32px;
  }
  .desktop-app .fullscreen-button {
    display: none;
  }
  .desktop-app .scoreboard {
    gap: 10px;
    padding: 6px 12px;
    top: 20px;
  }
  .score-player {
    gap: 10px;
  }
  .score-player b {
    font-size: 28px;
  }
  .score-player span {
    font-size: 8px;
  }
  .home {
    left: 7%;
    width: 86%;
    top: 48%;
  }
  .home h1 {
    font-size: 80px;
    letter-spacing: -4px;
  }
  .home .mode-buttons {
    flex-wrap: wrap;
    max-width: 430px;
  }
  .home .mode-buttons button {
    min-width: 160px;
    padding: 14px;
  }
  .home-footer {
    left: 24px;
    right: 24px;
    gap: 15px;
  }
  .home-footer > span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .home-footer button {
    font-size: 10px;
  }
  .lobby {
    inset: 100px 0 0;
    overflow-y: auto;
    display: block;
    padding: 20px;
  }
  .pair-card {
    margin: 0 auto;
    width: min(350px, 100%);
  }
  .invite-card {
    width: min(350px, 100%);
    margin: 20px auto 70px;
    transform: none;
  }
  .back-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
  }
  .home-shade {
    background: linear-gradient(90deg, #082d43c0, transparent);
  }
  .point-prompt strong {
    font-size: 42px;
  }
  .court-prompt {
    bottom: 70px;
    padding: 12px 20px;
  }
  .court-prompt strong {
    font-size: 24px;
  }
  .court-prompt span {
    font-size: 11px;
  }
  .modal-layer {
    padding: 20px;
  }
  .demo-hint {
    font-size: 8px;
  }
  .paper {
    padding: 24px;
  }
  .settings-dialog h2 {
    font-size: 28px;
  }
  .error-banner {
    font-size: 12px;
  }
}
@media (max-height: 650px) {
  .phone-content {
    padding-top: 20px;
  }
  .phone-join h1 {
    font-size: 45px;
    margin-top: 10px;
  }
  .phone-ball {
    font-size: 60px;
    margin: 17px auto;
  }
  .phone-code-form {
    margin-top: 18px;
  }
  .controller h1 {
    font-size: 27px;
  }
  .phone-hint {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .racket-mode .phone-racket {
    margin: 8px auto;
    height: calc(var(--phone-height) * 0.24);
  }
  .phone-bottom {
    padding-top: 15px;
  }
  .controller .primary {
    min-height: 48px;
    padding: 11px;
  }
  .phone-app .topbar {
    padding-top: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
