@font-face {
  font-family: River;
  src: url("./assets/river.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --ink: #0a2429;
  --cream: #f6edcf;
  --gold: #efc65b;
  --teal: #8ccdc4;
  --muted: #aabeb5;
  font-family: River, "Arial Narrow", Arial, sans-serif;
  color: var(--cream);
  background: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  overscroll-behavior: none;
}
button,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  color: inherit;
}
button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
button:hover {
  filter: brightness(1.08);
}
[hidden] {
  display: none !important;
}
#sky,
#river,
#vignette,
#labels {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
#sky {
  background-size: cover;
  background-position: center;
}
#river {
  display: block;
  touch-action: none;
  outline: none;
}
#vignette {
  pointer-events: none;
  box-shadow: inset 0 0 140px #06252a45;
  background: linear-gradient(0deg, #09232b22, transparent 30%);
}
#labels {
  pointer-events: none;
  overflow: hidden;
}
.rival-label {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 850;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow:
    0 2px 3px #000,
    1px 0 #000,
    -1px 0 #000;
  white-space: nowrap;
}
.screen {
  position: fixed;
  inset: 0;
  padding: 24px max(38px, env(safe-area-inset-right)) 18px
    max(38px, env(safe-area-inset-left));
  background:
    linear-gradient(90deg, #062a2bdd, transparent 77%),
    linear-gradient(0deg, #071f25 0%, #071f25dc 30%, transparent 74%);
  overflow: auto;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.location {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 10px;
}
.location i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.location span {
  opacity: 0.48;
  font-size: 9px;
  margin-left: 16px;
  letter-spacing: 1px;
}
.icon-button {
  background: #102b2bcc;
  border: 1px solid #e7dab03b;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.title-block {
  margin: 20px 0 20px;
}
.edition {
  font-size: 10px;
  letter-spacing: 3.5px;
  color: var(--gold);
  font-weight: 700;
}
h1 {
  font-family: River, Impact, sans-serif;
  font-size: clamp(44px, 6.7vw, 104px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -4px;
  margin: 15px 0 18px;
  font-style: italic;
  text-shadow: 3px 5px 0 #072027;
}
h1 span {
  color: var(--gold);
}
.title-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
}
.title-rule b {
  font-size: 14px;
  color: var(--gold);
}
.choose {
  max-width: 1130px;
  margin: auto;
}
.choose-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.choose-heading h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0;
}
.choose-heading > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
#characters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.character {
  position: relative;
  isolation: isolate;
  height: clamp(175px, 26vh, 250px);
  background: linear-gradient(140deg, #41574c, #173a36);
  border: 1px solid #d6dbab30;
  border-radius: 3px;
  text-align: left;
  overflow: hidden;
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.character:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #0000000c 3px 4px
  );
}
.character[aria-pressed="true"] {
  border: 2px solid var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px #0003;
}
.character[aria-pressed="true"]:after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--ink);
  background: var(--gold);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.character .number {
  position: absolute;
  top: 12px;
  left: 13px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #f6edcf99;
  z-index: 2;
}
.character img {
  height: 155%;
  width: 100%;
  object-fit: contain;
  object-position: center top;
  position: absolute;
  top: -19%;
  left: 0;
  image-rendering: auto;
  filter: drop-shadow(8px 2px 0 #0002);
  transition: transform 0.2s;
}
.character:hover img {
  transform: scale(1.035);
}
.character .name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 13px;
  background: linear-gradient(transparent, #0b282a 45%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.character .name strong {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.6px;
}
.character .name small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.7px;
}
.launch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0 4px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--gold);
}
.move-info h3 {
  font-size: 20px;
  margin: 5px 0 3px;
}
.move-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.primary {
  background: var(--gold);
  color: #142727;
  border-radius: 3px;
  min-height: 54px;
  padding: 16px 27px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  box-shadow: 0 4px 0 #917037;
  white-space: nowrap;
  transition: transform 0.15s;
}
.primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #917037;
}
.primary span {
  font-size: 23px;
}
.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1130px;
  margin: 18px auto 0;
  padding-top: 12px;
  border-top: 1px solid #d4dabc22;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #afc3b4;
}
.menu-footer b {
  margin: 0 12px;
  color: var(--gold);
}
.modal-layer {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #061b26a8;
  backdrop-filter: blur(7px);
  z-index: 10;
  padding: 24px;
  overflow: auto;
}
.dialog,
.loading-card {
  background: #102e30;
  padding: 35px;
  border: 1px solid #e9d79944;
  border-radius: 5px;
  width: min(430px, 100%);
  box-shadow: 0 25px 100px #0008;
}
.loading-card {
  text-align: center;
}
.loading-card h2 {
  font-size: 24px;
}
.tube-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 16px dashed #3078c6;
  background: #efe4c7;
  margin: 0 auto 26px;
  box-shadow: inset 0 0 0 5px #102e30;
  animation: bob 2s ease-in-out infinite;
}
.load-track {
  height: 4px;
  background: #ffffff20;
  margin: 24px 0 12px;
}
.load-track > div {
  height: 100%;
  background: var(--gold);
  transition: width 0.25s;
  width: 3%;
}
#load-text {
  font-size: 12px;
  color: var(--muted);
}
.dialog h2 {
  font-size: 33px;
  letter-spacing: -1px;
  margin: 13px 0 25px;
}
.dialog .primary {
  width: 100%;
  margin-bottom: 15px;
}
.secondary {
  background: #ffffff10;
  border: 1px solid #e6dbb630;
  padding: 13px;
  width: 100%;
  border-radius: 3px;
  font-size: 12px;
}
.text-button {
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 12px 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.settings-fields {
  border-top: 1px solid #e6dbb628;
  margin-top: 16px;
  padding-top: 12px;
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
  gap: 15px;
}
.setting input[type="range"] {
  width: 130px;
  accent-color: var(--gold);
}
.setting input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}
.control-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0 24px;
}
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  padding: 22px max(24px, env(safe-area-inset-right)) 22px
    max(24px, env(safe-area-inset-left));
  z-index: 3;
}
.race-top {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}
.position {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 126px;
  text-shadow:
    3px 4px 0 #071a23,
    -1px -1px 0 #071a23;
}
.position strong {
  font-size: 76px;
  font-style: italic;
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -4px;
  color: var(--gold);
}
.position strong span {
  font-size: 26px;
  letter-spacing: -1px;
  vertical-align: top;
  display: inline-block;
  margin: 5px 0 0 5px;
}
.position small {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.route {
  max-width: 420px;
  flex: 1;
  background: #082c34c9;
  padding: 12px 16px;
  border: 1px solid #dfebce33;
  border-radius: 3px;
}
.route > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.route span {
  font-weight: 800;
}
.route time {
  color: #d7e5d8;
  font-variant-numeric: tabular-nums;
}
.progress-track {
  height: 3px;
  background: #ffffff25;
  margin-top: 11px;
  position: relative;
}
.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}
.progress-track b {
  position: absolute;
  right: -5px;
  top: -9px;
  font-size: 16px;
}
#pause {
  margin-left: auto;
  pointer-events: auto;
}
#countdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 35%;
  text-align: center;
  font-size: 120px;
  font-weight: 950;
  font-style: italic;
  color: var(--gold);
  text-shadow: 5px 7px 0 var(--ink);
}
#race-message {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 3px 6px #00151c;
  white-space: nowrap;
}
#race-message strong {
  display: block;
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
}
#race-message small {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 5px;
}
#hint {
  position: absolute;
  bottom: 32px;
  left: 30px;
  background: #0c2d31c9;
  border: 1px solid #e8e2bc40;
  padding: 12px 17px;
  font-size: 12px;
  border-radius: 3px;
  line-height: 1.6;
  color: #e0e6d4;
}
#status-chip {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 3px;
  color: #fff3b4;
  text-shadow: 0 2px 4px #02242a;
}
#super {
  pointer-events: auto;
  position: absolute;
  bottom: max(25px, env(safe-area-inset-bottom));
  right: max(25px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: #092b31ed;
  border: 1px solid #e7d49988;
  box-shadow: 0 5px 25px #00161d55;
  border-radius: 5px;
  padding: 11px 16px 11px 7px;
  min-width: 290px;
  touch-action: none;
}
#super img {
  height: 72px;
  width: 64px;
  object-fit: cover;
  object-position: 50% 25%;
  align-self: flex-end;
}
.super-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.super-copy small {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  color: var(--gold);
}
.super-copy b {
  font-size: 18px;
  letter-spacing: 1px;
}
#super em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
  padding: 3px 5px;
  border: 1px solid #a0bdb34a;
  margin-left: 8px;
  vertical-align: middle;
}
.charge-track {
  height: 5px;
  background: #35504d;
}
.charge-track i {
  display: block;
  height: 100%;
  background: #efc65b;
  width: 100%;
  transition: width 0.1s;
}
#super-symbol {
  font-size: 28px;
  color: var(--gold);
  padding-left: 3px;
}
#super.ready {
  box-shadow:
    0 0 24px #efc65b15,
    0 5px 25px #00161d55;
}
#super:disabled {
  border-color: #b9c2a833;
}
.result-card {
  display: grid;
  grid-template-columns: 300px 380px;
  width: min(750px, 100%);
  background: #102e30;
  border: 1px solid #ecdcac44;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 30px 100px #0008;
}
.result-hero {
  position: relative;
  background: linear-gradient(155deg, #466957, #193c37);
  padding: 28px;
  overflow: hidden;
  min-height: 465px;
}
.result-hero h2 {
  font-size: 35px;
  font-style: italic;
  margin: 15px 0 0;
}
.result-place {
  font-size: 105px;
  font-weight: 950;
  font-style: italic;
  color: var(--gold);
  line-height: 1.1;
  position: relative;
  z-index: 2;
  text-shadow: 3px 4px #183b35;
}
.result-place small {
  font-size: 35px;
}
.result-hero img {
  width: 100%;
  position: absolute;
  bottom: -55px;
  left: 0;
}
.result-content {
  padding: 24px;
}
.result-stats {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d9d6b62e;
  padding-bottom: 15px;
  font-size: 11px;
  color: var(--muted);
}
.result-stats strong {
  display: block;
  color: var(--cream);
  font-size: 20px;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
#standings {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}
#standings li {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 2px;
}
#standings li.you {
  color: var(--cream);
  background: #efc65b19;
  border-left: 2px solid var(--gold);
}
#standings b {
  color: var(--gold);
  margin-right: 15px;
}
#standings time {
  font-variant-numeric: tabular-nums;
}
#results .primary {
  width: 100%;
}
.result-actions {
  display: flex;
  justify-content: space-between;
}
#qa-controls {
  position: fixed;
  bottom: 4px;
  left: 4px;
  z-index: 50;
  background: #192521;
  padding: 4px;
  font-size: 10px;
}
#qa-controls button {
  padding: 5px;
  background: #526659;
  margin: 3px;
}
#qa-controls label {
  margin: 0 8px;
}
@keyframes bob {
  50% {
    transform: translateY(-6px) rotate(14deg);
  }
}
@media (min-height: 850px) and (min-width: 800px) {
  .title-block {
    margin: 40px 0 36px;
  }
  .choose {
    margin-top: 35px;
  }
  .character {
    height: 260px;
  }
}
@media (max-width: 700px) {
  .screen {
    padding: 18px 20px calc(15px + env(safe-area-inset-bottom));
  }
  .location span {
    display: none;
  }
  .location {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .icon-button {
    width: 37px;
    height: 37px;
  }
  .title-block {
    margin: 22px 0 24px;
  }
  h1 {
    font-size: clamp(42px, 11vw, 74px);
    letter-spacing: -2px;
  }
  .edition {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .title-rule {
    font-size: 8px;
    gap: 13px;
    letter-spacing: 2px;
  }
  .choose-heading > span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .choose-heading h2 {
    font-size: 19px;
  }
  #characters {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .character {
    height: 155px;
  }
  .character .name {
    padding: 24px 11px 10px;
  }
  .character .name strong {
    font-size: 22px;
  }
  .character .name small {
    font-size: 9px;
  }
  .character .number {
    font-size: 8px;
  }
  .character img {
    height: 174%;
    top: -22%;
  }
  .launch-row {
    padding-top: 14px;
    gap: 12px;
    align-items: stretch;
  }
  .move-info {
    flex: 1;
  }
  .move-info h3 {
    font-size: 15px;
  }
  .move-info p {
    font-size: 10px;
    line-height: 1.4;
  }
  .move-info .eyebrow {
    font-size: 7px;
  }
  .launch-row .primary {
    font-size: 11px;
    padding: 13px 14px;
    gap: 10px;
    align-self: center;
  }
  .menu-footer {
    font-size: 7px;
    letter-spacing: 1px;
    gap: 12px;
    margin-top: 12px;
  }
  .menu-footer span:last-child {
    max-width: 125px;
    text-align: right;
  }
  .race-top {
    gap: 12px;
  }
  .position {
    min-width: 87px;
    gap: 4px;
  }
  .position strong {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .position strong span {
    font-size: 19px;
    margin-left: 2px;
  }
  .position small {
    font-size: 9px;
  }
  .route {
    padding: 9px 10px;
  }
  .route > div:first-child {
    font-size: 9px;
    gap: 6px;
    flex-direction: column;
  }
  .route time {
    font-size: 9px;
  }
  .progress-track {
    margin-top: 7px;
  }
  #hud {
    padding: 18px 15px;
  }
  #race-message {
    top: 23%;
  }
  #race-message strong {
    font-size: 25px;
  }
  #race-message small {
    font-size: 10px;
  }
  #super {
    min-width: 205px;
    right: 15px;
    bottom: max(18px, env(safe-area-inset-bottom));
    gap: 6px;
    padding: 9px 12px 9px 2px;
  }
  #super img {
    width: 45px;
    height: 57px;
  }
  .super-copy small {
    font-size: 8px;
  }
  .super-copy b {
    font-size: 16px;
  }
  #super em {
    display: none;
  }
  #super-symbol {
    font-size: 24px;
  }
  #hint {
    left: 15px;
    bottom: 118px;
    font-size: 11px;
    padding: 9px 12px;
  }
  #status-chip {
    font-size: 10px;
    bottom: 25%;
    white-space: nowrap;
  }
  .result-card {
    grid-template-columns: 1fr;
    max-width: 410px;
  }
  .result-hero {
    min-height: 170px;
    padding: 20px;
  }
  .result-hero h2 {
    font-size: 27px;
    margin: 10px 0 0;
  }
  .result-place {
    font-size: 66px;
  }
  .result-place small {
    font-size: 25px;
  }
  .result-hero img {
    width: 180px;
    left: auto;
    right: 0;
    bottom: -76px;
  }
  .result-content {
    padding: 17px;
  }
  #standings {
    margin: 8px 0 13px;
  }
  #standings li {
    padding: 6px 8px;
  }
  .result-stats strong {
    font-size: 17px;
  }
  .result-stats {
    font-size: 9px;
  }
  .result-content .primary {
    min-height: 46px;
    padding: 12px;
  }
  .dialog {
    padding: 26px;
  }
  .modal-layer {
    padding: 18px;
  }
  .rival-label {
    font-size: 11px;
  }
}
@media (max-height: 660px) and (min-width: 701px) {
  .screen {
    padding: 14px 28px;
  }
  .title-block {
    margin: 10px 0 12px;
  }
  h1 {
    font-size: 58px;
    margin: 10px 0;
  }
  .edition {
    font-size: 8px;
  }
  .title-rule {
    font-size: 8px;
  }
  .character {
    height: 155px;
  }
  .choose-heading h2 {
    font-size: 18px;
  }
  .launch-row {
    padding-top: 10px;
  }
  .menu-footer {
    margin-top: 10px;
  }
  .masthead .icon-button {
    height: 32px;
    width: 32px;
  }
  .result-hero {
    min-height: 410px;
  }
  #standings li {
    padding: 6px 8px;
  }
}
@media (max-height: 490px) and (orientation: landscape) {
  .screen {
    padding: 10px 20px;
  }
  .title-block {
    margin: 5px 0 10px;
  }
  h1 {
    font-size: 38px;
    letter-spacing: -1px;
    line-height: 0.88;
    margin: 5px 0;
  }
  h1 br {
    display: none;
  }
  h1 span {
    margin-left: 10px;
  }
  .edition,
  .title-rule,
  .menu-footer,
  .choose-heading > span {
    display: none;
  }
  .masthead {
    height: 25px;
  }
  .choose-heading h2 {
    font-size: 15px;
  }
  #characters {
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
  }
  .character {
    height: 145px;
  }
  .character .name strong {
    font-size: 18px;
  }
  .launch-row {
    padding-top: 9px;
  }
  .move-info h3 {
    font-size: 15px;
  }
  .move-info p {
    font-size: 10px;
  }
  .primary {
    min-height: 40px;
    padding: 11px 20px;
  }
  .result-card {
    grid-template-columns: 230px 330px;
  }
  .result-hero {
    min-height: 355px;
  }
  .result-content {
    padding: 14px;
  }
  .result-hero img {
    width: 100%;
    right: 0;
    bottom: -50px;
  }
  #standings li {
    padding: 4px 8px;
  }
  #super {
    bottom: 12px;
    min-width: 230px;
    padding: 5px 10px;
  }
  #super img {
    height: 50px;
  }
  #hint {
    bottom: 20px;
  }
  .dialog {
    max-height: 95vh;
    overflow: auto;
  }
  .race-top .position strong {
    font-size: 48px;
  }
  .route {
    max-width: 280px;
  }
  #race-message {
    top: 24%;
  }
  #race-message strong {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* The condensed display face belongs to headings; small racing copy stays open. */
:root {
  font-family: Arial, Helvetica, sans-serif;
}
h1,
h2,
h3,
.character .name strong,
.position strong,
.result-place {
  font-family: River, Impact, sans-serif;
}
h1 {
  font-style: normal;
  letter-spacing: -3px;
}
.position strong {
  font-style: italic;
}
.character .name strong {
  font-size: 28px;
}
.character img {
  height: 148%;
  top: -14%;
}
.rival-label {
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.character .name small {
  font-size: 10px;
}
@media (max-width: 700px) {
  .character img {
    height: 160%;
    top: -17%;
  }
  .character .name strong {
    font-size: 24px;
  }
}
.result-card {
  grid-template-columns: 300px 1fr;
}
@media (max-width: 700px) {
  .result-card {
    grid-template-columns: 1fr;
  }
}
@media (max-height: 490px) and (orientation: landscape) {
  .result-card {
    grid-template-columns: 230px 330px;
  }
}
@media (max-width: 700px) {
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
  .setting {
    min-height: 44px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .title-block {
    margin: 12px 0 16px;
  }
  h1 {
    font-size: 44px;
  }
  .character {
    height: 126px;
  }
  .menu-footer {
    margin-top: 8px;
  }
  .launch-row {
    padding-top: 11px;
  }
}
@media (max-width: 370px) and (max-height: 620px) {
  .screen {
    padding: 10px 15px;
  }
  .title-block {
    margin: 8px 0 12px;
  }
  h1 {
    font-size: 37px;
  }
  .character {
    height: 112px;
  }
  .character .name strong {
    font-size: 20px;
  }
  .move-info h3 {
    font-size: 13px;
  }
  .move-info p {
    font-size: 9px;
  }
  .launch-row .primary {
    font-size: 10px;
  }
  .menu-footer {
    font-size: 6px;
  }
}
