@font-face {
  font-family: "Lilita One";
  src: url("/media/fonts/LilitaOne-Regular.woff2") format("woff2");
  font-display: swap;
}
body {
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: transparent;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.327);
  height: 7px;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb {
  background: #8ec3de;
  border-radius: 100px;
}

#full-area {
  width: 100%;
  height: 100vh;
  background: #000;
  position: absolute;
  overflow: hidden;
  user-select: none;
}

#game-area {
  position: absolute;
  width: 1180px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}

#gameContainer {
  width: 1280px;
  height: 720px;
  position: absolute;
  overflow: hidden;
  margin: 0 auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Lilita One", "Fredoka", sans-serif;
}

#renderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
}

.loading-card {
  font-family: "Lilita One", "Fredoka", sans-serif;
  color: #FFF8E7;
  text-align: center;
  letter-spacing: 1px;
}
.loading-card h2, .loading-card .h2 {
  margin: 0;
  font-weight: 400;
  font-size: 33px;
}

.cs-head {
  display: block;
  height: auto;
  image-rendering: auto;
  pointer-events: none;
}

.squash-tall {
  transform: scale(0.6, 1.3);
}

.squash-flat {
  transform: scale(1.35, 0.6);
}

.start-screen,
.start-screen *,
.game-ui,
.game-ui *,
.cw-meter,
.cw-meter *,
.loading-card,
.loading-card * {
  font-family: "Lilita One", "Fredoka", sans-serif;
}

.game-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  font-family: "Lilita One", "Fredoka", sans-serif;
}

.game-ui::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(20, 30, 20, 0.2), rgba(20, 30, 20, 0) 24%);
}

.cow-hud {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 100;
}

.plaque {
  min-width: 150px;
  padding: 6px 20px 10px;
  background: #FFF8E7;
  border: 5px solid #9A6431;
  border-radius: 26px;
  box-shadow: 0 7px 0 #6B3F16, 0 20px 22px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.plaque-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  line-height: 1;
  color: #9A6431;
}

.plaque-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.plaque-value {
  font-size: 40px;
  line-height: 1;
  color: #2D2A24;
}

.plaque-unit {
  font-size: 18px;
  line-height: 1;
  color: #9A8F7C;
}

.cs-card {
  position: relative;
  width: 400px;
  box-sizing: border-box;
  padding: 66px 26px 26px;
  background: #FFF8E7;
  border: 7px solid #9A6431;
  border-radius: 40px;
  box-shadow: 0 10px 0 #6B3F16, 0 24px 22px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.card-head {
  position: absolute;
  left: 50%;
  top: -118px;
  width: 180px;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.3));
}

.cs-btn {
  width: 100%;
  height: 64px;
  border: none;
  border-radius: 26px;
  padding: 6px 16px 0;
  margin-bottom: 8px;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  cursor: pointer;
  outline: none;
  pointer-events: auto;
  white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.cs-btn.green {
  background: #5CC23B;
  box-shadow: 0 8px 0 #3A8A22;
}
.cs-btn.orange {
  background: #FF9A2E;
  box-shadow: 0 8px 0 #C46A0E;
}
.cs-btn.stone {
  background: #A39A8A;
  box-shadow: 0 8px 0 #736B5D;
}
.cs-btn:hover {
  transform: translateY(-2px);
}
.cs-btn.green:hover {
  box-shadow: 0 10px 0 #3A8A22;
}
.cs-btn.orange:hover {
  box-shadow: 0 10px 0 #C46A0E;
}
.cs-btn.stone:hover {
  box-shadow: 0 10px 0 #736B5D;
}
.cs-btn:active {
  transform: translateY(6px);
}
.cs-btn.green:active {
  box-shadow: 0 2px 0 #3A8A22;
}
.cs-btn.orange:active {
  box-shadow: 0 2px 0 #C46A0E;
}
.cs-btn.stone:active {
  box-shadow: 0 2px 0 #736B5D;
}

.start-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 30;
  pointer-events: auto;
}

.start-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50px;
  width: calc(100% + 100px);
  height: 100%;
  background: rgba(15, 27, 34, 0.35);
  z-index: 0;
}

@media (min-width: 601px) {
  .start-screen {
    z-index: 99999999999999;
    pointer-events: none;
    gap: 2px;
    padding-bottom: 10px;
    box-sizing: border-box;
  }
  .start-screen::before {
    background: radial-gradient(ellipse 62% 72% at 50% 48%, rgba(15, 27, 34, 0.45), rgba(15, 27, 34, 0) 100%);
  }
  .start-screen .csl-logo {
    width: 580px;
  }
  .start-screen .cs-card {
    pointer-events: auto;
    width: auto;
    padding: 14px 16px 8px;
    border-width: 6px;
    border-radius: 32px;
    box-shadow: 0 8px 0 #6B3F16, 0 18px 20px rgba(0, 0, 0, 0.3);
    animation: csPop 0.5s 1.35s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }
  .start-screen .card-head,
  .start-screen .game-subtitle,
  .start-screen .instruction-row:last-child,
  .start-screen .instruction-text span {
    display: none;
  }
  .start-screen .start-container {
    width: auto;
    gap: 12px;
  }
  .start-screen .start-instructions {
    flex-direction: row;
    gap: 10px;
  }
  .start-screen .instruction-row {
    flex: 1 1 0;
    padding: 6px 20px 6px 8px;
  }
  .start-screen .instruction-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }
  .start-screen .instruction-text strong {
    position: relative;
    top: 3px;
    font-size: 25px;
  }
  .start-screen .start-buttons {
    flex-direction: row;
    gap: 10px;
  }
  .start-screen .start-game-btn {
    width: 230px;
    margin: 0 0 8px;
  }
  .start-screen .start-board-btn {
    width: auto;
    margin: 0 0 8px;
    padding: 6px 24px 0;
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  .start-screen .start-board-btn {
    font-size: 22px;
  }
}
.game-title {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  z-index: 20;
}

.csl-logo {
  position: relative;
  width: 350px;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.25));
}

.csl-bob {
  position: relative;
  animation: cslBob 2.4s 2.2s ease-in-out infinite alternate;
}

.csl-pieces {
  position: relative;
  width: 100%;
  aspect-ratio: 1076/700;
}

.csl-rim,
.csl-lp {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.csl-rim {
  left: 0;
  top: 0;
  width: 100%;
}

.csl-head-clip {
  position: absolute;
  inset: 0;
  display: block;
  clip-path: inset(-30% -10% 63.2% -10%);
}

.csl-lp {
  transform-origin: 50% 100%;
}

.csl-lp-head {
  left: 58.18%;
  top: 0.86%;
  width: 31.69%;
}

.csl-lp-cow {
  left: 15.43%;
  top: 17.86%;
  width: 67.01%;
}

.csl-lp-squeeze {
  left: 0.56%;
  top: 52.14%;
  width: 98.79%;
}

.start-screen .csl-pieces {
  animation: cslThud 0.34s 0.44s linear both;
}

.start-screen .csl-lp-cow {
  animation: cslCowDrop 1.1s 0.1s linear both;
}

.start-screen .csl-lp-squeeze {
  animation: cslSqueezePop 0.6s 0.6s linear both;
}

.start-screen .csl-rim {
  animation: cslRimIn 0.22s 1.12s ease-out both;
}

.start-screen .csl-lp-head {
  animation: cslPeek 0.6s 1.24s linear both;
}

.csl-dust {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 0;
  height: 0;
  z-index: 0;
}
.csl-dust i {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  background: #F3E6C6;
  box-shadow: 0 0 0 3px rgba(107, 63, 22, 0.35);
  opacity: 0;
  animation: cslDust 0.7s 0.82s cubic-bezier(0.15, 0.7, 0.4, 1) backwards;
}
.csl-dust i:nth-child(1) {
  --dx: -230%;
  --dy: -40%;
}
.csl-dust i:nth-child(2) {
  --dx: -160%;
  --dy: -110%;
  width: 12px;
  height: 12px;
}
.csl-dust i:nth-child(3) {
  --dx: -90%;
  --dy: -30%;
  width: 14px;
  height: 14px;
}
.csl-dust i:nth-child(4) {
  --dx: 90%;
  --dy: -30%;
  width: 14px;
  height: 14px;
}
.csl-dust i:nth-child(5) {
  --dx: 160%;
  --dy: -110%;
  width: 12px;
  height: 12px;
}
.csl-dust i:nth-child(6) {
  --dx: 230%;
  --dy: -40%;
}

.csl-moo {
  position: absolute;
  right: -6%;
  top: -14%;
  z-index: 2;
  padding: 4px 14px 0;
  border: 4px solid #6B3F16;
  border-radius: 18px;
  background: #FFF8E7;
  color: #6B3F16;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 2px;
  transform-origin: 20% 100%;
  opacity: 0;
  pointer-events: none;
  animation: cslMoo 1.3s 1.42s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
.csl-moo::after {
  content: "";
  position: absolute;
  left: 18%;
  bottom: -14px;
  width: 14px;
  height: 14px;
  background: #FFF8E7;
  border-right: 4px solid #6B3F16;
  border-bottom: 4px solid #6B3F16;
  transform: rotate(45deg) skew(8deg, 8deg);
}

@media (prefers-reduced-motion: reduce) {
  .csl-bob,
  .start-screen .csl-pieces,
  .start-screen .csl-lp,
  .start-screen .csl-rim {
    animation: none;
  }
  .csl-dust,
  .csl-moo {
    display: none;
  }
}
@keyframes cslCowDrop {
  0% {
    opacity: 0;
    translate: 0 -150%;
    scale: 0.62 1.55;
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5);
  }
  6% {
    opacity: 1;
  }
  27% {
    opacity: 1;
    translate: 0 0;
    scale: 0.66 1.45;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.4, 1);
  }
  34% {
    translate: 0 0;
    scale: 1.32 0.66;
    animation-timing-function: ease-in-out;
  }
  44% {
    scale: 0.94 1.07;
    animation-timing-function: ease-in-out;
  }
  53% {
    scale: 1.02 0.98;
    animation-timing-function: ease-in-out;
  }
  63% {
    translate: 0 0;
    scale: 1 1;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  73% {
    translate: 0 -14%;
    scale: 0.95 1.06;
    animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5);
  }
  84% {
    translate: 0 0;
    scale: 1.08 0.93;
    animation-timing-function: ease-in-out;
  }
  92% {
    scale: 0.98 1.02;
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1 1;
  }
}
@keyframes cslSqueezePop {
  0% {
    opacity: 0;
    scale: 1.5 0.05;
    animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1);
  }
  6% {
    opacity: 1;
  }
  40% {
    scale: 0.86 1.3;
    animation-timing-function: ease-in-out;
  }
  62% {
    scale: 1.12 0.88;
    animation-timing-function: ease-in-out;
  }
  80% {
    scale: 0.97 1.04;
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    scale: 1 1;
  }
}
@keyframes cslRimIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes cslPeek {
  0% {
    translate: 0 105%;
    scale: 1 1;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  45% {
    translate: 0 0;
    scale: 0.92 1.12;
    animation-timing-function: ease-in-out;
  }
  65% {
    scale: 1.08 0.92;
    animation-timing-function: ease-in-out;
  }
  82% {
    scale: 0.98 1.03;
    animation-timing-function: ease-in-out;
  }
  100% {
    translate: 0 0;
    scale: 1 1;
  }
}
@keyframes cslThud {
  0%, 100% {
    translate: 0 0;
  }
  20% {
    translate: -6px 5px;
  }
  40% {
    translate: 5px -3px;
  }
  60% {
    translate: -3px 2px;
  }
  80% {
    translate: 2px -1px;
  }
}
@keyframes cslBob {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -1.5%;
  }
}
@keyframes cslDust {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(1.3);
  }
}
@keyframes cslMoo {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-12deg);
  }
  18% {
    opacity: 1;
    transform: scale(1.15) rotate(6deg);
  }
  32% {
    transform: scale(1) rotate(-3deg);
  }
  80% {
    opacity: 1;
    transform: scale(1) rotate(-3deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.85) rotate(-3deg) translateY(-12px);
  }
}
.start-card {
  z-index: 1;
  animation: csPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes csPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  55% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.start-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.game-subtitle {
  font-size: 22px;
  line-height: 1;
  color: #9A6431;
  text-align: center;
  margin-bottom: 2px;
}

.start-instructions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instruction-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  background: #F3E6C6;
  border-radius: 20px;
}

.instruction-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 17px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instruction-icon .cs-head {
  width: 38px;
}
.instruction-icon .flag {
  width: 30px;
  height: 36px;
}
.instruction-icon .flag .pole {
  fill: #9A6431;
}
.instruction-icon .flag .pennant {
  fill: #C98B00;
}

.instruction-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  font-family: "Lilita One", "Fredoka", sans-serif;
}
.instruction-text strong {
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.instruction-text strong.high {
  color: #48B02A;
}
.instruction-text strong.low {
  color: #E0473A;
}
.instruction-text strong.goal {
  color: #D49A00;
}
.instruction-text span {
  font-size: 17px;
  line-height: 1;
  color: #6F5A3C;
  white-space: nowrap;
}

.start-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.start-game-btn {
  margin-top: 8px;
  margin-bottom: 0;
}

.game-over-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 25;
  pointer-events: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-over-overlay.active {
  opacity: 1;
}

.game-over-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  z-index: 30;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.8);
  animation: none;
}

.game-over-modal.active {
  opacity: 1;
  animation: modalBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalBounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  40% {
    transform: scale(1.05);
    opacity: 1;
  }
  60% {
    transform: scale(0.98);
  }
  80% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.game-over-card {
  margin-top: 76px;
}

.game-over-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.game-over-title {
  white-space: nowrap;
  font-size: 40px;
  line-height: 1;
  color: #6B3F16;
  text-align: center;
}

.game-over-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.game-over-score {
  font-size: 81px;
  line-height: 0.9;
  color: #2D2A24;
}

.game-over-unit {
  font-size: 37px;
  line-height: 1;
  color: #9A8F7C;
}

.game-over-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  color: #8A5A00;
  box-sizing: border-box;
}
.chip.best {
  background: #FFE07A;
}
.chip .star {
  width: 18px;
  height: 18px;
  fill: #8A5A00;
}

.show-intro .cow-hud {
  display: none !important;
}

#SOG-game-intro-video {
  margin-left: -50px !important;
}

.cw-meter {
  position: absolute;
  left: 58px;
  top: 50%;
  z-index: 100;
  width: 150px;
  transform: translateY(-46%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  --knob: 50%;
}

.cw-meter-end {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  transition: opacity 0.16s ease;
}
.cw-meter-end span {
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.6);
  transition: color 0.16s ease;
}

.cw-meter-icon {
  display: block;
  flex: none;
  width: 54px;
  height: 54px;
  background: center/contain no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.16s ease;
}
.cw-meter-icon.is-ready {
  opacity: 1;
}

.cw-meter-track {
  position: relative;
  width: 20px;
  height: 250px;
  margin: 4px 0 4px 17px;
  border: 2.5px solid #1d2747;
  border-radius: 12px;
  background: linear-gradient(180deg, #c8102e 0%, #e0485a 20%, #f3c9d2 42%, #f2eef6 52%, #b7c9ec 66%, #4f78c4 84%, #1c4597 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.cw-meter-knob {
  position: absolute;
  left: 50%;
  top: var(--knob, 50%);
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #1d2747;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.cw-meter.need-high .cw-meter-top span,
.cw-meter.need-low .cw-meter-bottom span {
  color: #FFE07A;
}
.cw-meter.need-high .cw-meter-top .cw-meter-icon,
.cw-meter.need-low .cw-meter-bottom .cw-meter-icon {
  transform: scale(1.14);
}

.cw-meter.need-high .cw-meter-bottom,
.cw-meter.need-low .cw-meter-top {
  opacity: 0.5;
}

.show-intro .cw-meter {
  display: none !important;
}

.cs-moo {
  position: absolute;
  right: 64px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  rotate: -5deg;
  pointer-events: none;
  z-index: 100;
}
.cs-moo .cs-moo-say {
  position: relative;
  z-index: 1;
  margin: 0 0 -14px 10px;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 33px;
  line-height: 1;
  color: #FFE07A;
  -webkit-text-stroke: 9px #2D2A24;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #2D2A24;
  transform-origin: 50% 100%;
  animation: csMooIn 0.45s 0.1s ease-out both;
}
.cs-moo .cs-moo-word {
  display: flex;
  align-items: baseline;
  transform-origin: 50% 100%;
}
.cs-moo .cs-moo-word i {
  display: block;
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: #FFF8E7;
  -webkit-text-stroke: 11px #2D2A24;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #2D2A24;
  transform-origin: 50% 100%;
  transition: color 0.15s ease;
  animation: csMooIn 0.45s ease-out both;
}
.cs-moo .cs-moo-word i:nth-child(1) {
  font-size: 68px;
  rotate: -4deg;
}
.cs-moo .cs-moo-word i:nth-child(2) {
  font-size: 73px;
  rotate: 2deg;
}
.cs-moo .cs-moo-word i:nth-child(3) {
  font-size: 77px;
  rotate: -3deg;
}
.cs-moo .cs-moo-word i:nth-child(4) {
  font-size: 81px;
  rotate: 3deg;
}
.cs-moo .cs-moo-word i:nth-child(5) {
  font-size: 81px;
  rotate: 7deg;
  margin-left: 4px;
}
.cs-moo .cs-moo-word i:nth-child(1) {
  animation-delay: 0.22s;
}
.cs-moo .cs-moo-word i:nth-child(2) {
  animation-delay: 0.28s;
}
.cs-moo .cs-moo-word i:nth-child(3) {
  animation-delay: 0.34s;
}
.cs-moo .cs-moo-word i:nth-child(4) {
  animation-delay: 0.4s;
}
.cs-moo .cs-moo-word i:nth-child(5) {
  animation-delay: 0.46s;
}
.cs-moo[data-tone=mid] .cs-moo-word i {
  color: #FFE07A;
}
.cs-moo[data-tone=high] .cs-moo-word i {
  color: #5CC23B;
}
.cs-moo[data-tone=low] .cs-moo-word i {
  color: #E0473A;
}

.show-intro .cs-moo {
  display: none !important;
}

@keyframes csMooIn {
  0% {
    scale: 1 0;
    opacity: 0;
  }
  55% {
    scale: 1.08 1.18;
    opacity: 1;
  }
  78% {
    scale: 1.04 0.92;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .cs-moo {
    right: 40px;
    bottom: 270px;
  }
  #gameContainer {
    width: 800px;
    height: 1180px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .start-screen {
    zoom: 0.84;
  }
  .start-screen::before {
    background: rgba(15, 27, 34, 0.2);
  }
  .game-title {
    margin-bottom: 150px;
    width: 100%;
  }
  .csl-logo {
    width: 545px;
  }
  .cs-card {
    width: 640px;
    padding: 110px 40px 40px;
    border-width: 10px;
    border-radius: 60px;
    box-shadow: 0 14px 0 #6B3F16, 0 28px 22px rgba(0, 0, 0, 0.3);
  }
  .card-head {
    width: 290px;
    top: -190px;
  }
  .cs-btn {
    height: 104px;
    border-radius: 40px;
    font-size: 38px;
    margin-bottom: 12px;
  }
  .cs-btn.green {
    box-shadow: 0 12px 0 #3A8A22;
  }
  .cs-btn.orange {
    box-shadow: 0 12px 0 #C46A0E;
  }
  .cs-btn.stone {
    box-shadow: 0 12px 0 #736B5D;
  }
  .start-container {
    gap: 16px;
  }
  .game-subtitle {
    font-size: 33px;
    margin-bottom: 6px;
  }
  .start-instructions {
    gap: 16px;
  }
  .instruction-row {
    gap: 22px;
    padding: 16px;
    border-radius: 32px;
  }
  .instruction-icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
  }
  .instruction-icon .cs-head {
    width: 64px;
  }
  .instruction-icon .flag {
    width: 52px;
    height: 60px;
  }
  .instruction-text {
    gap: 4px;
  }
  .instruction-text strong {
    font-size: 31px;
  }
  .instruction-text span {
    font-size: 23px;
  }
  .start-game-btn {
    margin-top: 14px;
  }
  .cow-hud {
    top: 22px;
    left: 30px;
    right: 30px;
  }
  .plaque {
    min-width: 220px;
    padding: 14px 28px 16px;
    border-width: 8px;
    border-radius: 40px;
    box-shadow: 0 10px 0 #6B3F16, 0 24px 22px rgba(0, 0, 0, 0.3);
  }
  .plaque-label {
    font-size: 23px;
    gap: 6px;
  }
  .plaque-value {
    font-size: 58px;
  }
  .plaque-unit {
    font-size: 27px;
  }
  .game-over-card {
    margin-top: 150px;
  }
  .game-over-content {
    gap: 14px;
  }
  .game-over-title {
    font-size: 50px;
  }
  .game-over-score {
    font-size: 123px;
  }
  .game-over-unit {
    font-size: 54px;
  }
  .game-over-chips {
    gap: 18px;
    margin-bottom: 22px;
  }
  .chip {
    gap: 10px;
    padding: 12px 26px 14px;
    font-size: 27px;
  }
  .chip .star {
    width: 24px;
    height: 24px;
  }
  .cw-meter {
    left: 40px;
    width: 190px;
  }
  .cw-meter-end {
    height: 70px;
  }
  .cw-meter-end span {
    font-size: 28px;
  }
  .cw-meter-icon {
    width: 70px;
    height: 70px;
  }
  .cw-meter-track {
    width: 26px;
    height: 340px;
    margin-left: 22px;
    border-width: 3px;
    border-radius: 15px;
  }
  .cw-meter-knob {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-width: 4px;
  }
}
