* {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'VT323', monospace;
  background-color: #fbdb00;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.header {
  width: 90%;
  max-width: 500px;
  margin: 0px;
  text-align: center;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 32pt;
  font-family: 'VT323', monospace;
  background-color: black;
  color: #fbdb00;
  padding: 0px;
  box-sizing: border-box;
}
.section {
  width: 90%;
  max-width: 500px;
  margin: 5px;
  text-align: center;
  border: 1px solid black;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  flex-direction: row;
}
.squeeze {
  width: 90%;
  max-width: 500px;
  margin: 0px;
  padding: 0px;
  text-align: center;
}
.squeeze.section {
  width: 100%;
  max-width: 500px;
  margin: 10px 0px;
  padding: 10px;
  text-align: center;
}
.section-title {
  background-color: black;
  color: #fbdb00;
  padding: 0px;
  font-size: 24px;
}
.controls {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.number {
  font-size: 48pt;
  width: 160px;
  text-align: left;
  border: none;
  background: none;
  outline: none;
  font-family: 'VT323', monospace;
  padding: 5px;
}
.number.speed {
  font-size: 64pt; /* Increased by 50% */
  height: 90px; /* Increased height to avoid clipping */
}
.unit-toggle {
  float: right;
  cursor: pointer;
  background-color: black;
  color: #fbdb00;
  padding: 2px 10px;
  border: none;
  font-family: 'VT323', monospace;
  font-size: 18px;
}
.quantity {
  position: relative;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.quantity input {
  width: 80%;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  float: left;
  position: relative;
  height: 42px;
}

.quantity-button {
  position: relative;
  cursor: pointer;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  width: 21px;
  text-align: center;
  font-weight: bold;
  color: black;
  font-size: 13px;
  background: #fbdb00;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 4px 0 0;
  line-height: 1.6;
  background: url('up-icon.png') center center no-repeat; /* Use up arrow icon */
  background-size: contain;
}

.quantity-button.quantity-down {
  position: absolute;
  bottom: 0;
  height: 50%;
  border-radius: 0 0 4px 0;
  background: url('down-icon.png') center center no-repeat; /* Use down arrow icon */
  background-size: contain;
}

@media (orientation: landscape) {
  .squeeze {
    display: flex;
  }

  .squeeze.section {
    margin: 20px 0;
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  .squeeze.section.left {
    margin-left: 0px;
    margin-right: 10px;
  }
  .squeeze.section.right {
    margin-left: 10px;
    margin-right: 0px;
  }

}
