@font-face {
  font-family: f;
  src: url("/media/games/mouse-trap/fonts/LilitaOne-Regular.ttf");
}
#full-area {
  width: 100%;
  height: 100vh;
  background: #000;
  position: absolute;
  overflow: hidden;
  user-select: none;
}
#full-area #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #3a2210;
}
#full-area #game-area #content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 999999999;
  background: url("/media/games/mouse-trap/background.png") center center/cover;
}
#full-area #game-area #content #bg-effect {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

#mt-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: f;
  color: #fff;
  background: url("/media/games/mouse-trap/images/wooden-floor.png") center/cover;
}

#mt-hud {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 90px 0 2%;
  z-index: 30;
  font-size: 30px;
}

#mt-guesses, #mt-range {
  background: #0000006e;
  border-radius: 18px;
  padding: 4px 22px;
  font-style: italic;
  white-space: nowrap;
}

.mt-turn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2e9b45;
  border: 4px solid #000;
  border-radius: 40px;
  padding: 2px 24px 2px 4px;
  box-shadow: 0 4px 0 #0006;
  white-space: nowrap;
}
.mt-turn.sq {
  background: #c23030;
}
.mt-turn.p2 {
  background: #2a6fd6;
}
.mt-turn .mt-face {
  height: 56px;
}
.mt-turn b {
  font-weight: normal;
  letter-spacing: 1px;
  -webkit-text-stroke: 1.5px #000;
}

#mt-grid {
  position: absolute;
  left: 2%;
  right: 12%;
  top: 54%;
  height: 31%;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  z-index: 20;
}

.mt-cell {
  position: relative;
  background: url("/media/games/mouse-trap/images/cheese-big.png") center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.3s;
  cursor: pointer;
  outline: none;
}
.mt-cell span {
  font-size: 22px;
  -webkit-text-stroke: 4px #000;
  paint-order: stroke fill;
  margin-top: -12%;
}
.mt-cell.gone {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.mt-cell.tap {
  animation: mtGlow 1.4s ease-in-out infinite;
}
.mt-cell.danger {
  filter: drop-shadow(0 0 6px #ff2a2a) saturate(0.7) hue-rotate(-25deg);
}
.mt-cell.mt-bounce {
  animation: mtBounce 0.45s ease;
}
.mt-cell.mt-poof {
  animation: mtPoof 0.4s ease forwards;
}
.mt-cell.tv-focus, .mt-cell:focus-visible {
  filter: drop-shadow(0 0 10px #fff) brightness(1.15);
}

@keyframes mtGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 #fff600);
  }
  50% {
    filter: drop-shadow(0 0 7px #fff600);
  }
}
@keyframes mtBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-35%) scale(1.25);
  }
}
@keyframes mtPoof {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
  }
  40% {
    transform: scale(1.35) rotate(8deg);
    opacity: 1;
    filter: brightness(1.6);
  }
  100% {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }
}
#mt-stage.mt-zoom #mt-grid {
  left: 1.5%;
  right: 1.5%;
  top: 20%;
  height: 65%;
  gap: 6px;
}
#mt-stage.mt-zoom .mt-cell.gone {
  display: none;
}
#mt-stage.mt-zoom .mt-cell span {
  font-size: var(--num, 22px);
  -webkit-text-stroke: calc(var(--num, 22px) * 0.2) #000;
}
#mt-stage.mt-zoom #mt-grid.mt-scroll {
  overflow-y: scroll;
  overscroll-behavior: contain;
  touch-action: pan-y;
  align-content: start;
  padding: 4px 0 44px;
}
#mt-stage.mt-zoom #mt-lane {
  visibility: hidden;
}
#mt-stage.mt-zoom #mt-msg {
  top: 12.5%;
}
#mt-stage.mt-zoom #mt-any {
  top: 12%;
  bottom: auto;
  height: 7.5%;
  right: 1.5%;
}

#mt-grid.mt-scroll::-webkit-scrollbar {
  width: 16px;
}

#mt-grid.mt-scroll::-webkit-scrollbar-track {
  background: #00000055;
  border-radius: 8px;
}

#mt-grid.mt-scroll::-webkit-scrollbar-thumb {
  background: #ffd23a;
  border: 3px solid #000;
  border-radius: 8px;
}

#mt-more {
  position: absolute;
  left: 50%;
  bottom: 15.5%;
  z-index: 27;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 18px 4px 10px;
  background: #ffd23a;
  border: 4px solid #000;
  border-radius: 30px;
  box-shadow: 0 4px 0 #0007;
  color: #fff;
  font-size: 26px;
  pointer-events: none;
  animation: mtMore 1.1s ease-in-out infinite;
}
#mt-more svg {
  width: 34px;
  height: 34px;
}
#mt-more b {
  font-weight: normal;
  -webkit-text-stroke: 5px #000;
  paint-order: stroke fill;
  letter-spacing: 1px;
}

@keyframes mtMore {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}
#mt-any {
  position: absolute;
  right: 1.5%;
  bottom: 16%;
  height: 28%;
  z-index: 25;
  cursor: pointer;
  animation: logoAnim 1.3s infinite;
  display: none;
  outline: none;
}
#mt-any img {
  height: 100%;
}

#mt-lane {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  height: 41%;
  z-index: 22;
  pointer-events: none;
}

#mt-runner {
  position: absolute;
  width: 22%;
  top: 50%;
  left: -24%;
  transform: translateY(-50%);
  display: none;
}
#mt-runner.there {
  left: 46.8%;
}

#mt-target {
  position: absolute;
  width: 8.5%;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
#mt-target img {
  width: 100%;
}

#mt-target span, #mt-close .mt-tag {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  -webkit-text-stroke: 6px #000;
  paint-order: stroke fill;
}

#mt-close {
  position: absolute;
  height: 118%;
  aspect-ratio: 1;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s ease;
  border-radius: 50%;
  border: 6px solid #000;
  background: radial-gradient(circle at 50% 45%, #fffbe0 0%, #ffd960 55%, #f0a52a 100%);
  box-shadow: 0 8px 0 #0005, 0 0 0 10px #ffffff55;
  overflow: hidden;
}
#mt-close.in {
  transform: translate(-50%, -50%) scale(1);
}
#mt-close.in.mt-pop {
  animation: mtIris 0.35s ease;
}
#mt-close .mt-eater {
  position: absolute;
  left: 50%;
  bottom: 2%;
  height: 90%;
  aspect-ratio: 372/446;
  transform: translateX(-50%);
  background-repeat: no-repeat;
}
#mt-close .mt-eater.mt-tremble {
  animation: mtTremble 0.12s linear infinite;
}
#mt-close.sq .mt-eater {
  aspect-ratio: 343/460;
}
#mt-close .mt-tag {
  left: 80%;
  top: 16%;
  background: #ffd23a;
  border: 4px solid #000;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 34px;
  -webkit-text-stroke: 0;
  color: #000;
}
#mt-close .mt-tick {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 28%;
  display: none;
}
#mt-close .mt-trap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112%;
  transform: translate(-50%, -50%);
  display: none;
}
#mt-close.caught {
  background: radial-gradient(circle, #ffdddd 0%, #ff8b8b 60%, #c53434 100%);
}
#mt-close.caught .mt-eater {
  display: none;
}

@keyframes mtIris {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes mtTremble {
  0%, 100% {
    transform: translateX(-50%) rotate(0);
  }
  25% {
    transform: translateX(-51%) rotate(-1deg);
  }
  75% {
    transform: translateX(-49%) rotate(1deg);
  }
}
.mt-crumbs {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0;
  height: 0;
}
.mt-crumbs i {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ffd23a;
  border: 3px solid #b77b00;
  border-radius: 3px;
  opacity: 0;
}
.mt-crumbs i:nth-child(1) {
  --dx: -90px;
  --dy: -70px;
}
.mt-crumbs i:nth-child(2) {
  --dx: 80px;
  --dy: -90px;
}
.mt-crumbs i:nth-child(3) {
  --dx: -110px;
  --dy: 10px;
}
.mt-crumbs i:nth-child(4) {
  --dx: 110px;
  --dy: -10px;
}
.mt-crumbs i:nth-child(5) {
  --dx: -40px;
  --dy: -120px;
}
.mt-crumbs i:nth-child(6) {
  --dx: 40px;
  --dy: 60px;
}
.mt-crumbs.mt-burst i {
  animation: mtCrumb 0.7s ease-out forwards;
}

@keyframes mtCrumb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) rotate(200deg) scale(0.6);
    opacity: 0;
  }
}
#mt-splat {
  position: absolute;
  height: 105%;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 3;
}
#mt-splat.mt-pop {
  animation: mtSplatFade 2.2s ease forwards;
}

@keyframes mtSplatFade {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-30deg);
    opacity: 1;
  }
  14% {
    transform: translate(-50%, -50%) scale(1.25) rotate(8deg);
    opacity: 1;
  }
  24% {
    transform: translate(-50%, -50%) scale(1) rotate(0);
    opacity: 1;
  }
  60% {
    transform: translate(-50%, -50%) scale(1) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15) rotate(0);
    opacity: 0;
  }
}
@keyframes mtSplat {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-30deg);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.25) rotate(8deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
}
#mt-high {
  position: absolute;
  left: 30%;
  top: 20%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-size: 48px;
  color: #ffe34d;
  -webkit-text-stroke: 3px #000;
  display: none;
  white-space: nowrap;
}

#mt-msg {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 26;
  font-size: 30px;
  line-height: 1.2;
  background: #000000a6;
  border-radius: 30px;
  padding: 4px 26px;
  width: max-content;
  max-width: 92%;
  text-align: center;
  font-style: italic;
  display: none;
}

#mt-typed {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  z-index: 28;
  font-size: 44px;
  padding: 4px 30px;
  background: #ffd23a;
  color: #fff;
  border: 4px solid #000;
  border-radius: 30px;
  -webkit-text-stroke: 5px #000;
  paint-order: stroke fill;
  display: none;
}

#mt-intro {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: url("/media/games/mouse-trap/background.png") center bottom/cover;
}

#mt-stage.mt-intro-on #mt-lane {
  display: none;
}
#mt-stage.mt-intro-on #mt-guesses, #mt-stage.mt-intro-on #mt-range {
  visibility: hidden;
}

.mt-sprite {
  position: absolute;
  background-repeat: no-repeat;
  transition: left 0.45s ease, right 0.45s ease, top 0.45s ease, bottom 0.45s ease, height 0.45s ease;
  display: none;
}

#mt-grey {
  left: 3%;
  bottom: -60%;
  height: 72%;
  aspect-ratio: 374/460;
}
#mt-grey.in {
  bottom: 14%;
}

#mt-sq {
  right: -40%;
  bottom: 14%;
  height: 72%;
  aspect-ratio: 1;
}
#mt-sq.in {
  right: 2%;
}

#mt-stage.mt-intro-grid #mt-grey, #mt-stage.mt-intro-grid #mt-sq {
  height: 46%;
  bottom: auto;
  top: 3%;
}

#mt-stage.mt-mode #mt-grey, #mt-stage.mt-mode #mt-sq {
  height: 54%;
  bottom: 16%;
}
#mt-stage.mt-mode #mt-grey {
  left: 1%;
}
#mt-stage.mt-mode #mt-sq {
  right: 1%;
}

#mt-logo {
  position: absolute;
  left: 50%;
  top: 46%;
  height: 76%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.5s ease;
  display: none;
}
#mt-logo.in {
  transform: translate(-50%, -50%) scale(1);
}
#mt-logo.in.small {
  top: 25%;
  height: 42%;
}

#mt-trapshow {
  position: absolute;
  left: 50%;
  top: 28%;
  height: 40%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
  display: none;
}
#mt-trapshow.in {
  transform: translate(-50%, -50%) scale(1);
}

#mt-splat2 {
  position: absolute;
  left: 50%;
  top: 28%;
  height: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
#mt-splat2.mt-pop {
  animation: mtSplat 0.4s ease;
}

#mt-danger {
  position: absolute;
  transform: translate(-50%, -150%) scale(0);
  transition: transform 0.3s ease;
  display: none;
  z-index: 21;
}
#mt-danger.in {
  transform: translate(-50%, -150%) scale(1);
}
#mt-danger img {
  height: 90px;
}
#mt-danger b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 70px;
  font-weight: normal;
  color: #ff3b3b;
  -webkit-text-stroke: 3px #000;
}

.mt-rat {
  position: absolute;
  top: 22%;
  left: -25%;
  width: 16%;
  display: none;
  z-index: 15;
  filter: brightness(0.45) contrast(1.3);
}
.mt-rat.r2 {
  top: 34%;
  width: 13%;
}
.mt-rat img:first-child {
  width: 100%;
}
.mt-rat .mt-rat-cheese {
  position: absolute;
  width: 30%;
  left: 30%;
  top: 30%;
  filter: brightness(2.1);
}
.mt-rat.in {
  left: 110%;
  transition: left 2.6s linear;
}

#mt-skip {
  position: absolute;
  right: 2%;
  bottom: 16%;
  height: 12%;
  z-index: 40;
  cursor: pointer;
  display: none;
  animation: logoAnim 1.3s infinite;
  outline: none;
}

.mt-pop {
  animation: mtPop 0.35s ease;
}

@keyframes mtPop {
  0% {
    transform: scale(0.4);
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
#mt-logo.mt-pop, #mt-trapshow.mt-pop {
  animation: none;
}

#mt-stage.mt-shake {
  animation: mtShake 0.5s ease;
}

@keyframes mtShake {
  0%, 100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-12px, 6px);
  }
  40% {
    transform: translate(10px, -8px);
  }
  60% {
    transform: translate(-8px, 4px);
  }
  80% {
    transform: translate(6px, -2px);
  }
}
#mt-stage.mt-wobble {
  animation: mtWobble 1.6s ease;
}

@keyframes mtWobble {
  0%, 100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-1.2deg);
  }
  75% {
    transform: rotate(1.2deg);
  }
}
.mt-shiver {
  animation: mtShiver 0.1s linear 14;
}

@keyframes mtShiver {
  0%, 100% {
    margin-left: 0;
  }
  50% {
    margin-left: 4px;
  }
}
#mode-select-section {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 60;
  font-family: f;
}
#mode-select-section .mode-select-content {
  margin-top: -4%;
  background: rgba(40, 20, 4, 0.9);
  border: 6px solid #000;
  box-shadow: 0 0 0 6px #ffd23a, 0 14px 0 #0007;
  border-radius: 36px;
  padding: 30px 50px 24px;
  color: #fff;
}
#mode-select-section .mode-select-content .h2 {
  font-size: 58px;
  margin-bottom: 22px;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}
#mode-select-section .mode-buttons {
  display: flex;
  justify-content: center;
  gap: 34px;
}
#mode-select-section .mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 270px;
  padding: 14px 10px 16px;
  font-family: f;
  color: #fff;
  border-radius: 30px;
  border: 5px solid #000;
  background: #c23030;
  box-shadow: 0 7px 0 #0008;
  cursor: pointer;
  outline: none;
  transition: transform 0.15s, filter 0.15s;
}
#mode-select-section .mode-btn.two {
  background: #2e9b45;
}
#mode-select-section .mode-btn img {
  height: 110px;
  margin-bottom: 6px;
}
#mode-select-section .mode-btn span {
  font-size: 44px;
  line-height: 1;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}
#mode-select-section .mode-btn small {
  font-size: 24px;
  opacity: 0.9;
  margin-top: 4px;
}
#mode-select-section .mode-btn:hover, #mode-select-section .mode-btn.tv-focus, #mode-select-section .mode-btn:focus-visible {
  transform: scale(1.06);
  filter: brightness(1.12);
}
#mode-select-section #mode-select-message {
  font-size: 28px;
  font-style: italic;
  color: #ffe27a;
  margin: 20px 0 0;
}

#end-section {
  position: absolute;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  display: none;
}
#end-section #end-btns {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 16%;
  display: flex;
  justify-content: space-around;
  pointer-events: auto;
}
#end-section #end-btns img {
  height: 120px;
  cursor: pointer;
  outline: none;
  transition: transform 0.15s, filter 0.15s;
}
#end-section #end-btns img:hover, #end-section #end-btns img.tv-focus, #end-section #end-btns img:focus-visible {
  transform: scale(1.06);
  filter: brightness(1.1);
}
#end-section #end-btns img:active {
  transform: scale(0.97);
}

#scoreboard-section {
  position: absolute;
  inset: 0;
  z-index: 120;
  background: url("/media/games/mouse-trap/images/wooden-floor.png") center/cover;
  display: none;
  font-family: f;
}
#scoreboard-section #scores {
  width: 70%;
  height: 520px;
  position: absolute;
  background: url("/media/games/mouse-trap/images/cheeseboard.png") center/100% 100% no-repeat;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px 0 0 60px;
  color: #fff;
}
#scoreboard-section #scores h6 {
  font-family: f;
  font-size: 70px;
  width: 75%;
  text-align: center;
  margin: 0 0 10px;
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.716);
}
#scoreboard-section #scores p {
  font-size: 40px;
  margin: 0;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.716);
  display: flex;
  align-items: center;
}
#scoreboard-section #scores p img {
  height: 50px;
  margin: 0 20px 0 8px;
}
#scoreboard-section #scores p .rank {
  font-size: 64px;
  width: 80px;
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.716);
}
#scoreboard-section #scores p .num {
  min-width: 40px;
  text-align: right;
}
#scoreboard-section #scores #scores-empty {
  font-size: 32px;
  width: 70%;
  line-height: 1.3;
  font-style: italic;
  margin-top: 40px;
}
#scoreboard-section #back-btn {
  position: absolute;
  right: 2%;
  bottom: 16%;
}
#scoreboard-section #back-btn img {
  height: 100px;
  cursor: pointer;
  outline: none;
}
#scoreboard-section #back-btn img:hover, #scoreboard-section #back-btn img.tv-focus, #scoreboard-section #back-btn img:focus-visible {
  transform: scale(1.06);
  filter: brightness(1.1);
}

@keyframes logoAnim {
  0% {
    transform: scale(1) rotate(-5deg);
  }
  50% {
    transform: scale(0.96) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(-5deg);
  }
}
@media (max-width: 600px) {
  #mt-hud {
    height: 8%;
    padding: 0 3%;
    font-size: 26px;
  }

  #mt-guesses, #mt-range {
    padding: 3px 14px;
  }

  .mt-turn {
    padding: 2px 16px 2px 4px;
  }
  .mt-turn .mt-face {
    height: 46px;
  }

  #mt-lane {
    top: 9%;
    height: 30%;
  }

  #mt-runner {
    width: 30%;
    left: -32%;
  }
  #mt-runner.there {
    left: 43%;
  }

  #mt-target {
    width: 12%;
    left: 75%;
  }

  #mt-close, #mt-splat {
    left: 50%;
  }

  #mt-close {
    height: 100%;
  }

  #mt-high {
    left: 50%;
    top: 8%;
  }

  #mt-grid {
    left: 3%;
    right: 3%;
    top: 46%;
    height: 40%;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
  }

  .mt-cell span {
    font-size: 26px;
  }

  #mt-msg {
    top: 39.5%;
    font-size: 28px;
  }

  #mt-any {
    bottom: auto;
    top: 38.5%;
    height: 6.5%;
    right: 2%;
  }

  #mt-stage.mt-zoom #mt-grid {
    left: 2%;
    right: 2%;
    top: 15%;
    height: 71%;
  }
  #mt-stage.mt-zoom #mt-msg {
    top: 9%;
  }
  #mt-stage.mt-zoom #mt-any {
    top: 8.5%;
    height: 5.5%;
  }

  #mt-more {
    bottom: 13.5%;
  }

  #mt-typed {
    bottom: 14%;
  }

  #mt-grey, #mt-sq {
    height: 40%;
  }

  #mt-grey.in, #mt-sq {
    bottom: 15%;
  }

  #mt-stage.mt-intro-grid #mt-grey, #mt-stage.mt-intro-grid #mt-sq {
    height: 30%;
    top: 2%;
  }

  #mt-logo {
    height: auto;
    width: 92%;
    top: 40%;
  }
  #mt-logo.in.small {
    top: 22%;
    height: auto;
    width: 40%;
  }

  #mt-trapshow {
    height: auto;
    width: 60%;
    top: 22%;
  }

  #mt-splat2 {
    height: auto;
    width: 60%;
    top: 22%;
  }

  .mt-rat {
    top: 26%;
    width: 26%;
  }
  .mt-rat.r2 {
    top: 34%;
    width: 21%;
  }

  #mt-skip {
    bottom: 14%;
    height: 7%;
  }

  #mode-select-section .mode-select-content {
    padding: 26px 24px 20px;
  }
  #mode-select-section .mode-select-content .h2 {
    font-size: 48px;
  }
  #mode-select-section .mode-buttons {
    flex-direction: column;
    gap: 22px;
  }
  #mode-select-section .mode-btn {
    width: 520px;
  }

  #end-section #end-btns {
    bottom: 15%;
    flex-wrap: wrap;
    gap: 20px 0;
  }
  #end-section #end-btns img {
    height: 100px;
  }

  #scoreboard-section #scores {
    width: 94%;
    height: 440px;
    top: 40%;
    padding: 30px 0 0 34px;
  }
  #scoreboard-section #scores h6 {
    font-size: 56px;
  }
  #scoreboard-section #back-btn {
    right: 50%;
    transform: translateX(50%);
    bottom: 15%;
  }
}
@media (width: 960px) and (height: 480px) {
  #full-area #game-area {
    width: 960px;
    height: 480px;
  }

  #mt-hud {
    font-size: 20px;
    height: 12%;
    padding-right: 60px;
  }

  .mt-turn {
    border-width: 3px;
    padding: 0 14px 0 3px;
    gap: 6px;
  }
  .mt-turn .mt-face {
    height: 34px;
  }

  #mt-guesses, #mt-range {
    padding: 2px 12px;
    border-radius: 12px;
  }

  #mt-lane {
    top: 12%;
    height: 38%;
  }

  #mt-grid {
    top: 50%;
    height: 36%;
    left: 1.5%;
    right: 11%;
    gap: 1px;
  }

  .mt-cell span {
    font-size: 16px;
    -webkit-text-stroke: 3px #000;
  }

  #mt-target span {
    font-size: 26px;
    -webkit-text-stroke: 4px #000;
  }

  #mt-close {
    border-width: 4px;
  }
  #mt-close .mt-tag {
    font-size: 22px;
    border-width: 3px;
    padding: 0 6px;
  }

  #mt-msg {
    font-size: 19px;
    top: 42%;
    padding: 2px 16px;
  }

  #mt-stage.mt-zoom #mt-msg {
    top: 13%;
  }
  #mt-stage.mt-zoom #mt-grid {
    gap: 4px;
    top: 21%;
    height: 65%;
  }
  #mt-stage.mt-zoom #mt-grid.mt-scroll {
    padding-bottom: 34px;
  }

  #mt-grid.mt-scroll::-webkit-scrollbar {
    width: 12px;
  }

  #mt-more {
    font-size: 18px;
    border-width: 3px;
    padding: 2px 12px 2px 6px;
  }
  #mt-more svg {
    width: 24px;
    height: 24px;
  }
  #mt-more b {
    -webkit-text-stroke: 4px #000;
  }

  #mt-high {
    font-size: 30px;
  }

  #mt-danger img {
    height: 50px;
  }
  #mt-danger b {
    font-size: 40px;
  }

  .mt-crumbs i {
    width: 9px;
    height: 9px;
    border-width: 2px;
  }

  #end-section #end-btns img {
    height: 75px;
  }

  #scoreboard-section #scores {
    transform: translate(-50%, -50%) scale(0.7);
    width: 900px;
  }
}

/*# sourceMappingURL=style.css.map */
