@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Kavoon&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: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.overrideResize {
  transform: translate(-50%, -50%) scale(1) !important;
}

#background-container {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 0;
}

#bg {
  width: 100%;
  height: auto;
  filter: saturate(0.6) brightness(1.12);
}

.orbit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#music-notes {
  filter: saturate(0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: auto;
  transform-origin: center;
  animation: orbit 6s linear infinite, spin 15s linear infinite;
}

#home-section {
  width: 1280px;
  height: 720px;
  position: absolute;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#home-right {
  position: absolute;
  left: 50%;
  top: 41%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  height: 360px;
  justify-content: center;
  display: flex;
  animation: logoAnim 1.3s infinite;
}

@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) translateX(200px) translateY(0);
  }
  25% {
    transform: translate(-50%, -50%) translateX(0) translateY(80px);
  }
  50% {
    transform: translate(-50%, -50%) translateX(-200px) translateY(0);
  }
  75% {
    transform: translate(-50%, -50%) translateX(0) translateY(-80px);
  }
  100% {
    transform: translate(-50%, -50%) translateX(200px) translateY(0);
  }
}
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes drm-bar-hit {
  from {
    transform: translateY(50%) scale(1.3);
  }
  to {
    transform: translateY(50%) scale(1.42);
  }
}
@keyframes drml-do {
  0% {
    opacity: 0;
    transform: translateY(26%) scale(0.5, 0.36);
    animation-timing-function: cubic-bezier(0.2, 0.75, 0.3, 1);
  }
  16% {
    opacity: 1;
  }
  48% {
    transform: translateY(-3%) scale(0.97, 1.04);
    animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5);
  }
  74% {
    transform: translateY(0) scale(1.05, 0.94);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}
@keyframes drml-re {
  0% {
    opacity: 0;
    transform: translateY(30%) scale(0.5, 0.36);
    animation-timing-function: cubic-bezier(0.2, 0.75, 0.3, 1);
  }
  14% {
    opacity: 1;
  }
  46% {
    transform: translateY(-11%) scale(0.95, 1.08);
    animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5);
  }
  72% {
    transform: translateY(0) scale(1.07, 0.92);
    animation-timing-function: ease-out;
  }
  87% {
    transform: translateY(-2.5%) scale(0.99, 1.02);
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}
@keyframes drml-mi {
  0% {
    opacity: 0;
    transform: translateY(34%) scale(0.5, 0.36);
    animation-timing-function: cubic-bezier(0.2, 0.75, 0.3, 1);
  }
  12% {
    opacity: 1;
  }
  44% {
    transform: translateY(-20%) scale(0.94, 1.1);
    animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5);
  }
  70% {
    transform: translateY(0) scale(1.09, 0.9);
    animation-timing-function: ease-out;
  }
  85% {
    transform: translateY(-4%) scale(0.985, 1.03);
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}
@keyframes drml-note {
  0% {
    opacity: 0;
    transform: translate(var(--drml-x, 0px), var(--drml-y, 44px)) scale(0.3) rotate(var(--drml-r, -14deg));
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  22% {
    opacity: 1;
  }
  74% {
    transform: translate(0, -4px) scale(1.06) rotate(0deg);
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}
@keyframes drml-sparks {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes drml-still-in {
  to {
    visibility: visible;
  }
}
@keyframes drml-parts-out {
  to {
    visibility: hidden;
  }
}
#gameContainer {
  width: 1280px;
  height: 720px;
  position: absolute;
  overflow: hidden;
  margin: 0 auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}

#renderCanvas {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
  z-index: 20;
  background: transparent !important;
}

#camera-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: #000;
}

#camera-bg-wrap.active {
  opacity: 1;
}

#camera-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

#camera-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

#camera-bg-lens {
  position: absolute;
  inset: 0;
  display: none;
}

#camera-bg-wrap.lens #camera-bg-lens {
  display: block;
}
#camera-bg-wrap.lens #camera-bg-video {
  display: none;
}

#camera-bg-wrap.side {
  background: linear-gradient(180deg, #a9d6fb 0%, #b8e0ff 55%, #c9e8ff 100%);
}
#camera-bg-wrap.side #camera-bg-overlay {
  display: none;
}

.drm-face-btn {
  position: absolute;
  left: 9%;
  bottom: 14%;
  z-index: 999;
  display: none;
  padding: 10px 22px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 700;
  -webkit-text-stroke: 3px #1b2830;
  paint-order: stroke fill;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s;
}
.drm-face-btn.is-on {
  display: block;
}
.drm-face-btn.is-loading {
  animation: drm-lens-loading 1.1s ease-in-out infinite;
}
.drm-face-btn:hover, .drm-face-btn:focus-visible, .drm-face-btn.focused {
  transform: scale(1.06);
}

@keyframes drm-lens-loading {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.drm-lens-picker {
  position: absolute;
  top: 3%;
  right: 2%;
  bottom: 13%;
  z-index: 1001;
  display: none;
  flex-direction: column;
  width: 430px;
  padding: 16px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: rgba(27, 40, 48, 0.8);
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.drm-lens-picker.is-open {
  display: flex;
}
.drm-lens-picker .drm-lens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
}
.drm-lens-picker .drm-lens-head span {
  font-size: 30px;
  font-weight: 700;
}
.drm-lens-picker .drm-lens-done {
  padding: 8px 22px;
  border-radius: 999px;
  background: #3e8a3a;
  box-shadow: 0 4px 0 #2f6f2c;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.drm-lens-picker .drm-lens-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 4px;
}
.drm-lens-picker .drm-lens-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 3px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.15s;
}
.drm-lens-picker .drm-lens-item:hover, .drm-lens-picker .drm-lens-item:focus-visible, .drm-lens-picker .drm-lens-item.focused {
  background: rgba(255, 255, 255, 0.18);
}
.drm-lens-picker .drm-lens-item.is-current {
  border-color: #ffd84d;
  background: rgba(255, 216, 77, 0.16);
}
.drm-lens-picker .drm-lens-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.15);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.drm-lens-picker .drm-lens-thumb.is-camera {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='14' height='12' rx='3'/%3E%3Cpath d='M16 10l6-3v10l-6-3z'/%3E%3C/svg%3E");
  background-size: 42px;
}
.drm-lens-picker .drm-lens-thumb.is-empty {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='9' cy='10' r='0.6'/%3E%3Ccircle cx='15' cy='10' r='0.6'/%3E%3Cpath d='M8.5 14.5c1.8 2 5.2 2 7 0'/%3E%3C/svg%3E");
  background-size: 46px;
}
.drm-lens-picker .drm-lens-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.drm-lens-picker .drm-lens-text b {
  font-size: 21px;
  font-weight: 700;
}
.drm-lens-picker .drm-lens-text small {
  font-size: 15px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.82);
}

#full-area :where(.drm-ui, .drm-ui *) {
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: normal;
  line-height: normal;
  box-sizing: border-box;
  margin: 0;
}

#full-area .start-screen {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
  pointer-events: auto;
}
#full-area .start-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 51, 96, 0.25);
  z-index: 0;
}
#full-area .modal-image {
  position: relative;
  z-index: 1;
  width: 650px;
  height: 526px;
  margin-top: -20px;
}
#full-area .modal-image::before,
#full-area .end-modal-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/media/games/do-re-mi/images/end-popup.png") center/100% 100% no-repeat;
  filter: saturate(0.6) brightness(1.1);
}
#full-area .end-modal-image::before {
  background-size: contain;
}
#full-area .modal-image[data-view=modes] {
  height: 480px;
  margin-top: 80px;
}
#full-area .modal-image[data-view=modes]::before {
  background-image: url("/media/games/do-re-mi/images/intro-frame.png");
}
#full-area .drm-btn img,
#full-area .end-btns img {
  filter: saturate(0.6);
}
#full-area .drm-view-modes,
#full-area .drm-view-songs {
  display: none;
}
#full-area .modal-image[data-view=modes] .drm-view-modes,
#full-area .modal-image[data-view=songs] .drm-view-songs {
  display: flex;
}
#full-area .drm-view-modes {
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  padding-top: 106px;
}
#full-area .drm-logo {
  position: absolute;
  top: -150px;
  left: 50%;
  width: 503px;
  height: 300px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(42, 12, 85, 0.35));
}
#full-area .drml-parts,
#full-area .drm-logo-still {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#full-area .drml-parts {
  animation: drml-parts-out 1.4s steps(1, end) forwards;
}
#full-area .drm-logo-still {
  visibility: hidden;
  animation: drml-still-in 1.4s steps(1, end) forwards;
}
#full-area .drml {
  position: absolute;
  display: block;
}
#full-area .drml-base {
  left: 0;
  top: 0;
  width: 503px;
  height: 300px;
}
#full-area .drml-sparks {
  left: 118px;
  top: 71px;
  width: 262px;
  height: 179px;
}
#full-area .drml-do {
  left: 176px;
  top: 0;
  width: 152px;
  height: 105px;
}
#full-area .drml-re {
  left: 134px;
  top: 94px;
  width: 138px;
  height: 121px;
}
#full-area .drml-mi {
  left: 272px;
  top: 94px;
  width: 116px;
  height: 110px;
}
#full-area .drml-l1 {
  left: 110px;
  top: 137px;
  width: 30px;
  height: 39px;
}
#full-area .drml-l2 {
  left: 118px;
  top: 88px;
  width: 20px;
  height: 40px;
}
#full-area .drml-l3 {
  left: 137px;
  top: 57px;
  width: 41px;
  height: 37px;
}
#full-area .drml-l4 {
  left: 132px;
  top: 4px;
  width: 36px;
  height: 53px;
}
#full-area .drml-r1 {
  left: 352px;
  top: 80px;
  width: 25px;
  height: 27px;
}
#full-area .drml-r2 {
  left: 336px;
  top: 45px;
  width: 29px;
  height: 42px;
}
#full-area .drml-r3 {
  left: 325px;
  top: 0;
  width: 28px;
  height: 40px;
}
#full-area .drml-b1 {
  left: 195px;
  top: 200px;
  width: 36px;
  height: 43px;
}
#full-area .drml-b2 {
  left: 236px;
  top: 197px;
  width: 45px;
  height: 52px;
}
#full-area .drml-b3 {
  left: 295px;
  top: 184px;
  width: 33px;
  height: 44px;
}
#full-area .drml-b4 {
  left: 327px;
  top: 201px;
  width: 29px;
  height: 31px;
}
#full-area .drml-do,
#full-area .drml-re,
#full-area .drml-mi {
  transform-origin: 50% 100%;
}
#full-area .drml-do {
  animation: drml-do 0.38s 0.12s backwards;
}
#full-area .drml-re {
  animation: drml-re 0.4s 0.32s backwards;
}
#full-area .drml-mi {
  animation: drml-mi 0.44s 0.52s backwards;
}
#full-area .drml-l1,
#full-area .drml-l2,
#full-area .drml-l3,
#full-area .drml-l4,
#full-area .drml-r1,
#full-area .drml-r2,
#full-area .drml-r3,
#full-area .drml-b1,
#full-area .drml-b2,
#full-area .drml-b3,
#full-area .drml-b4 {
  animation: drml-note 0.42s backwards;
}
#full-area .drml-l2 {
  --drml-x: -30px;
  --drml-y: 4px;
  --drml-r: -24deg;
  animation-delay: 0.74s;
}
#full-area .drml-r1 {
  --drml-x: 22px;
  --drml-y: 14px;
  --drml-r: 24deg;
  animation-delay: 0.78s;
}
#full-area .drml-l3 {
  --drml-x: -60px;
  --drml-y: 36px;
  --drml-r: -24deg;
  animation-delay: 0.82s;
}
#full-area .drml-r2 {
  --drml-x: 36px;
  --drml-y: 42px;
  --drml-r: 24deg;
  animation-delay: 0.86s;
}
#full-area .drml-l4 {
  --drml-x: -52px;
  --drml-y: 82px;
  --drml-r: -24deg;
  animation-delay: 0.9s;
}
#full-area .drml-r3 {
  --drml-x: 47px;
  --drml-y: 88px;
  --drml-r: 24deg;
  animation-delay: 0.94s;
}
#full-area .drml-l1 {
  --drml-x: -6px;
  --drml-y: 46px;
  --drml-r: -14deg;
  animation-delay: 0.8s;
}
#full-area .drml-b1 {
  --drml-x: -4px;
  --drml-y: 46px;
  --drml-r: -14deg;
  animation-delay: 0.84s;
}
#full-area .drml-b2 {
  --drml-x: 0px;
  --drml-y: 50px;
  --drml-r: 12deg;
  animation-delay: 0.88s;
}
#full-area .drml-b3 {
  --drml-x: 0px;
  --drml-y: 46px;
  --drml-r: -12deg;
  animation-delay: 0.92s;
}
#full-area .drml-b4 {
  --drml-x: 4px;
  --drml-y: 42px;
  --drml-r: 14deg;
  animation-delay: 0.96s;
}
#full-area .drml-sparks {
  animation: drml-sparks 0.3s 1.08s backwards;
}
@media (prefers-reduced-motion: reduce) {
  #full-area .drml-parts {
    display: none;
  }
  #full-area .drm-logo-still {
    visibility: visible;
    animation: none;
  }
}
#full-area .drm-logo.is-still .drml-parts {
  display: none;
}
#full-area .drm-logo.is-still .drm-logo-still {
  visibility: visible;
  animation: none;
}
#full-area[data-room-intro="1"] .modal-image[data-view] {
  margin-top: 0;
}
#full-area[data-room-intro="1"] .modal-image::before,
#full-area[data-room-intro="1"] .drm-back {
  display: none;
}
#full-area[data-room-intro="1"] .drm-view-modes > :not(.drm-logo) {
  visibility: hidden;
}
#full-area[data-room-intro="1"] .drm-logo {
  top: 50%;
  margin-top: -150px;
  transform: translateX(-50%) scale(1.4);
}
#full-area .drm-camera {
  display: none;
  align-items: center;
  gap: 10px;
  height: 42px;
  margin-top: 6px;
  padding: 0 8px 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 21px;
  background: rgba(42, 12, 85, 0.45);
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, transform 0.2s;
}
#full-area .drm-camera svg {
  width: 22px;
  height: 22px;
}
#full-area .modal-image.has-camera .drm-camera {
  display: flex;
}
#full-area .drm-camera:hover,
#full-area .drm-camera:focus-visible,
#full-area .drm-camera.focused {
  background: rgba(42, 12, 85, 0.7);
  transform: scale(1.04);
}
#full-area .drm-camera-label {
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area .drm-camera-switch {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.2s;
}
#full-area .drm-camera-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  transition: left 0.2s;
}
#full-area .drm-camera.on .drm-camera-switch {
  background: #3ccf6a;
}
#full-area .drm-camera.on .drm-camera-switch i {
  left: 25px;
}
#full-area .drm-modes {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}
#full-area .drm-mode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  cursor: pointer;
  outline: none;
  transition: transform 0.25s ease-in-out;
}
#full-area .drm-mode:hover,
#full-area .drm-mode:focus-visible,
#full-area .drm-mode.focused {
  transform: translateY(-4px);
}
#full-area .drm-mode-pic {
  display: block;
  width: 240px;
  height: 135px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow: 0 5px 0 #2a0c55;
  background: #b8e0ff;
  filter: saturate(0.7) brightness(0.85);
  transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}
#full-area .drm-mode::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f9b52c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat;
  box-shadow: 0 3px 0 #2a0c55;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#full-area .drm-mode.is-picked .drm-mode-pic {
  border-color: #f9b52c;
  box-shadow: 0 0 0 4px rgba(249, 181, 44, 0.45), 0 5px 0 #2a0c55;
  filter: none;
}
#full-area .drm-mode.is-picked .drm-mode-name {
  color: #ffd23f;
}
#full-area .drm-mode.is-picked::after {
  opacity: 1;
  transform: scale(1);
}
#full-area .drm-mode-name {
  margin-top: 8px;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #2a0c55;
  transition: color 0.2s;
}
#full-area .drm-mode-desc {
  margin-top: 4px;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area .drm-start-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
#full-area .drm-btn.drm-play img {
  width: 216px;
}
#full-area .drm-btn.drm-play span {
  font-size: 34px;
}
#full-area .drm-btn.drm-board span {
  font-size: 26px;
  letter-spacing: 0;
  text-shadow: 0 2px 0 #1f5fc2, 0 4px 0 #154a9c, 0 6px 6px rgba(0, 0, 0, 0.35);
}
#full-area .drm-btn {
  position: relative;
  display: flex;
  cursor: pointer;
  outline: none;
  transition: opacity 0.3s;
}
#full-area .drm-btn img {
  display: block;
  width: 250px;
  height: auto;
}
#full-area .drm-btn span {
  position: absolute;
  inset: 0 0 14% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 0 #3e8a3a, 0 4px 0 #2f6f2c, 0 6px 6px rgba(0, 0, 0, 0.35);
}
#full-area .drm-board span {
  font-size: 26px;
  letter-spacing: 0;
  text-shadow: 0 2px 0 #1f5fc2, 0 4px 0 #154a9c, 0 6px 6px rgba(0, 0, 0, 0.35);
}
#full-area .drm-btn:hover,
#full-area .drm-btn:focus-visible,
#full-area .drm-btn.focused {
  opacity: 0.7;
}
#full-area .drm-view-songs {
  position: absolute;
  inset: 0;
}
#full-area .drm-ribbon-title {
  position: absolute;
  left: 118px;
  right: 118px;
  top: 10px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Kavoon", "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 2px 4px 0 #c0688c;
}
#full-area .drm-songs-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 136px;
  display: grid;
  grid-template-columns: 240px 240px;
  justify-content: center;
  gap: 12px 16px;
}
#full-area .drm-song img {
  width: 240px;
}
#full-area .drm-song span {
  font-size: 21px;
  text-transform: none;
  text-shadow: 0 2px 0 var(--shade), 0 3px 0 var(--shade), 0 5px 5px rgba(0, 0, 0, 0.3);
}
#full-area .drm-back {
  display: none;
  position: absolute;
  left: 28px;
  top: 24px;
  z-index: 2;
}
#full-area .drm-back img {
  width: 170px;
}
#full-area .drm-back span {
  font-size: 26px;
}
#full-area .modal-image[data-view=songs] ~ .drm-back {
  display: flex;
}
#full-area .drm-mode-tag {
  display: none;
}
#full-area .modal-image.is-quick[data-view=modes] {
  width: 1000px;
  height: 400px;
  margin-top: 0;
}
#full-area .modal-image.is-quick[data-view=modes]::before {
  display: none;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-view-modes {
  justify-content: center;
  padding-top: 0;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-logo,
#full-area .modal-image.is-quick[data-view=modes] .drm-camera,
#full-area .modal-image.is-quick[data-view=modes] .drm-start-row,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-name,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-desc,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode::after {
  display: none;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-modes {
  gap: 56px;
  margin-top: 0;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode {
  width: 430px;
  transition: transform 0.2s ease-out;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-pic {
  box-sizing: border-box;
  width: 430px;
  height: 262px;
  border: 8px solid #fff;
  border-radius: 28px;
  outline: 5px solid #2a0c55;
  box-shadow: 0 14px 0 #2a0c55;
  filter: none;
  transition: border-color 0.2s;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-tag {
  position: relative;
  display: flex;
  margin-top: -38px;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-tag img {
  display: block;
  width: 270px;
  height: auto;
  filter: saturate(0.75);
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-tag span {
  position: absolute;
  inset: 0 0 14% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 3px 0 #2f6f2c;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode-tag.is-pink span {
  text-shadow: 0 3px 0 #9a1060;
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode:hover,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode:focus-visible,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode.focused {
  transform: translateY(-6px);
}
#full-area .modal-image.is-quick[data-view=modes] .drm-mode:hover .drm-mode-pic,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode:focus-visible .drm-mode-pic,
#full-area .modal-image.is-quick[data-view=modes] .drm-mode.focused .drm-mode-pic {
  border-color: #ffd23f;
}
#full-area .drm-change {
  display: none;
  position: absolute;
  right: 24px;
  bottom: 96px;
  z-index: 1000;
}
#full-area .drm-change img {
  width: 230px;
}
#full-area .drm-change span {
  font-size: 28px;
}
#full-area .drm-change.is-on {
  display: flex;
}
#full-area .game-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#full-area .game-ui.is-on {
  opacity: 1;
}
#full-area .holes-score__outer {
  box-sizing: border-box;
  width: 136px;
  height: 88px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.14) 55%, rgba(255, 255, 255, 0.22) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 8px 22px rgba(42, 12, 85, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#full-area .holes-score__label {
  display: block;
  color: #ffd23f;
  font-size: 17px;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area .holes-score__value {
  color: #fff;
  font-size: 40px;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 0 #2a0c55;
}
#full-area #timer {
  position: absolute;
  right: 5%;
  top: 20px;
  box-sizing: border-box;
  width: 136px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.14) 55%, rgba(255, 255, 255, 0.22) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 8px 22px rgba(42, 12, 85, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 0 #2a0c55;
  font-variant-numeric: tabular-nums;
  z-index: 999;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
#full-area #timer::before {
  content: "TIME";
  color: #ffd23f;
  font-size: 17px;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area #timer.is-on {
  transform: scale(1);
}
#full-area .drm-boost {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: calc(var(--boost, 0) * 0.7);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='132'%3E%3Cg fill='white'%3E%3Crect x='10' y='20' width='90' height='3' rx='1.5'/%3E%3Crect x='120' y='64' width='70' height='3' rx='1.5'/%3E%3Crect x='40' y='108' width='110' height='3' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/220px 132px repeat;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, #000);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, #000);
  animation: drm-streaks 0.28s linear infinite;
}
@keyframes drm-streaks {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -220px 0;
  }
}
#full-area #drmHud.is-boost #timer {
  border-color: #7dffb0;
  box-shadow: 0 5px 0 rgba(42, 12, 85, 0.55), 0 0 22px rgba(125, 255, 176, 0.9);
}
#full-area #wallTimer {
  position: absolute;
  right: 5%;
  top: 118px;
  box-sizing: border-box;
  width: 136px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(196, 38, 62, 0.92);
  box-shadow: 0 5px 0 rgba(96, 10, 28, 0.6);
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(96, 10, 28, 0.9);
  font-variant-numeric: tabular-nums;
  z-index: 999;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
#full-area #wallTimer::before {
  content: "HURRY";
  font-size: 16px;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 0 rgba(96, 10, 28, 0.9);
}
#full-area #wallTimer.is-on {
  transform: scale(1);
}
#full-area #wallTimer.is-on.is-low {
  animation: drm-hurry 0.5s ease-in-out infinite alternate;
}
@keyframes drm-hurry {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
#full-area .drm-strip {
  position: absolute;
  left: 24px;
  top: 130px;
  bottom: 96px;
  display: flex;
  gap: 10px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#full-area .drm-strip.is-on {
  opacity: 1;
}
#full-area .drm-strip-track {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 46px;
  height: 100%;
  border-radius: 23px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.14) 55%, rgba(255, 255, 255, 0.22) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 8px 22px rgba(42, 12, 85, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
#full-area .drm-strip-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--level, 0%);
  background: rgba(255, 255, 255, 0.16);
  opacity: 0;
  transition: height 0.09s linear, opacity 0.15s ease;
}
#full-area .drm-strip-track.is-live .drm-strip-fill {
  opacity: 1;
}
#full-area .drm-strip-tick {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: 0 0 -5px -5px;
  border-radius: 50%;
  opacity: 0.9;
}
#full-area .drm-strip-target {
  display: none;
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: var(--target, 0%);
  box-sizing: border-box;
  height: 26px;
  margin-bottom: -13px;
  border: 4px solid #ffd23f;
  border-radius: 13px;
  transition: bottom 0.2s ease;
}
#full-area .drm-strip-track.has-target .drm-strip-target {
  display: block;
}
#full-area .drm-strip-marker {
  position: absolute;
  left: 50%;
  bottom: max(var(--level, 0%), 20px);
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 0 0 -14px -14px;
  border-radius: 50%;
  background: #f2781f;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  opacity: 0.35;
  transition: bottom 0.09s linear, opacity 0.15s ease;
}
#full-area .drm-strip-track.is-live .drm-strip-marker {
  opacity: 1;
}
#full-area .drm-strip-bars {
  position: relative;
  width: 58px;
}
#full-area .drm-strip-bar {
  position: absolute;
  left: 0;
  transform: translateY(50%);
  transform-origin: left center;
  transition: transform 0.12s ease, opacity 0.2s ease;
}
#full-area .drm-strip-bar span {
  display: block;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 4px #2a0c55;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #2a0c55;
}
#full-area .drm-strip-bar[data-degree="0"] {
  bottom: calc(10% + 0 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="0"] {
  bottom: calc(10% + 0 * 80% / 7);
  background: #ff3d5a;
}
#full-area .drm-strip-bar[data-degree="1"] {
  bottom: calc(10% + 1 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="1"] {
  bottom: calc(10% + 1 * 80% / 7);
  background: #ff8a1e;
}
#full-area .drm-strip-bar[data-degree="2"] {
  bottom: calc(10% + 2 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="2"] {
  bottom: calc(10% + 2 * 80% / 7);
  background: #e8b923;
}
#full-area .drm-strip-bar[data-degree="3"] {
  bottom: calc(10% + 3 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="3"] {
  bottom: calc(10% + 3 * 80% / 7);
  background: #33cf68;
}
#full-area .drm-strip-bar[data-degree="4"] {
  bottom: calc(10% + 4 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="4"] {
  bottom: calc(10% + 4 * 80% / 7);
  background: #14c3dd;
}
#full-area .drm-strip-bar[data-degree="5"] {
  bottom: calc(10% + 5 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="5"] {
  bottom: calc(10% + 5 * 80% / 7);
  background: #3f7cff;
}
#full-area .drm-strip-bar[data-degree="6"] {
  bottom: calc(10% + 6 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="6"] {
  bottom: calc(10% + 6 * 80% / 7);
  background: #a65cff;
}
#full-area .drm-strip-bar[data-degree="7"] {
  bottom: calc(10% + 7 * 80% / 7);
}
#full-area .drm-strip-tick[data-degree="7"] {
  bottom: calc(10% + 7 * 80% / 7);
  background: #ff4fb4;
}
#full-area .drm-strip-bar.is-target {
  transform: translateY(50%) scale(1.3);
}
#full-area .drm-strip-bar.is-target span {
  color: #ffd23f;
}
#full-area .drm-strip-bar.is-hit {
  animation: drm-bar-hit 0.16s ease-in-out infinite alternate;
}
#full-area .drm-strip-bar.is-unused {
  opacity: 0.35;
}
#full-area #end-section {
  width: 1280px;
  height: 720px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(61, 51, 96, 0.25);
  backdrop-filter: blur(3px);
}
#full-area #end-section .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: scale(0);
}
#full-area .end-modal-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 650px;
  height: 650px;
  z-index: 1;
}
#full-area .drm-end-title {
  top: 72px;
}
#full-area #end-score {
  color: white;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: bold;
  line-height: normal;
  margin-top: 40px;
}
#full-area #end-score span {
  font-size: 80px;
  display: block;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
#full-area #end-score small {
  display: block;
  margin-top: -6px;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#full-area #end-score small:empty {
  display: none;
}
#full-area #end-time {
  margin-top: 40px;
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1;
}
#full-area #end-time small {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffd23f;
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area #end-time b {
  display: block;
  margin: 6px 0 4px;
  font-size: 84px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 5px 0 #2a0c55, 2px 2px 8px rgba(0, 0, 0, 0.5);
}
#full-area #end-time em {
  display: block;
  min-height: 28px;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 0 #2a0c55;
}
#full-area #end-time.is-best em {
  color: #ffd23f;
  animation: drm-hurry 0.5s ease-in-out infinite alternate;
}
#full-area .end-btns {
  width: 80%;
  max-width: 400px;
  margin-top: 10px;
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
#full-area .end-btns img {
  display: block;
  cursor: pointer;
  width: 300px;
  height: auto;
}
#full-area #endGameBtn,
#full-area #downloadRecordingBtn,
#full-area #drmShareBtn,
#full-area #drmBoardBtn {
  position: relative;
  display: flex;
  justify-content: center;
  cursor: pointer;
}
#full-area #drmShareBtn span {
  top: 15px;
  font-size: 30px;
  text-shadow: 0 2px 0 #d8318a, 0 4px 0 #a81f68, 0 6px 6px rgba(0, 0, 0, 0.35);
}
#full-area #drmShareBtn.is-busy {
  cursor: default;
  pointer-events: none;
}
#full-area #drmShareBtn.is-busy img {
  filter: grayscale(0.55) brightness(0.9);
}
#full-area #drmShareBtn.is-busy span {
  animation: drm-share-wait 0.9s ease-in-out infinite alternate;
}
@keyframes drm-share-wait {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
#full-area #drmBoardBtn span {
  top: 15px;
  font-size: 30px;
  text-shadow: 0 2px 0 #1f5fc2, 0 4px 0 #154a9c, 0 6px 6px rgba(0, 0, 0, 0.35);
}
#full-area .end-btns span {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 0;
  right: 0;
  color: white;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: bold;
  font-size: 38px;
  line-height: normal;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 2px 0 #3e8a3a, 0 4px 0 #2f6f2c, 0 6px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
  #gameContainer {
    width: 800px;
    height: 1180px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #background-container {
    position: absolute;
    width: 1480px;
    height: 720px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1) rotate(90deg);
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #music-notes {
    width: 1100px;
  }
  #home-section {
    width: 800px;
    height: 1180px;
  }
  #logo {
    height: 360px;
    margin-top: 210px;
  }
  #full-area .modal-image {
    transform: scale(1.15);
  }
  #full-area #end-section {
    width: 800px;
    height: 1180px;
  }
  #full-area .end-modal-image {
    transform: scale(1.1);
  }
  #full-area .modal-image.is-quick[data-view=modes] {
    width: 720px;
    height: 800px;
    transform: none;
  }
  #full-area .modal-image.is-quick[data-view=modes] .drm-modes {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  #full-area .drm-change {
    bottom: 110px;
  }
  #full-area .drm-strip {
    top: 200px;
    bottom: auto;
    height: 620px;
  }
  #full-area .drm-strip-bar span {
    font-size: 24px;
  }
  #full-area .holes-score__outer {
    margin-top: 20px;
  }
  #full-area #timer {
    top: 40px;
  }
  #full-area #wallTimer {
    top: 138px;
  }
}
