:root {
  --game-bg: #071126;
  --game-panel: #0d1c39;
  --game-panel-2: #10264d;
  --game-line: rgba(255, 255, 255, .12);
  --game-text: #f7fbff;
  --game-muted: rgba(247, 251, 255, .72);
  --game-blue: #2f80ff;
  --game-cyan: #3fd7ff;
  --game-green: #40d78a;
  --game-yellow: #ffd45a;
  --game-pink: #f45d9c;
  --game-purple: #8b5cf6;
}

body.kp-game-redesign,
body.visual-game-redesign {
  color: var(--game-text);
  background:
    radial-gradient(circle at 18% 0%, rgba(63, 215, 255, .18), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(139, 92, 246, .18), transparent 34%),
    linear-gradient(180deg, #0b1730, #071126);
}

.kp-game-redesign .card {
  width: min(1120px, calc(100% - 20px));
  min-height: 100svh;
  padding-top: 92px;
}

.kp-game-redesign h1,
.visual-game-redesign h1 {
  color: #fff;
  font-family: "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-shadow: 0 12px 26px rgba(0, 0, 0, .28);
}

.kp-game-redesign .lead,
.visual-game-redesign .lead {
  color: var(--game-muted);
  text-shadow: none;
}

.kp-game-redesign .quiz-menu {
  width: min(1120px, 100vw);
  padding: 12px 12px 0;
}

.kp-game-redesign .menu-icon-btn,
.kp-game-redesign .menu-tab,
.visual-game-redesign .top-link,
.visual-game-redesign .level-button {
  border-radius: 8px;
  border: 1px solid var(--game-line);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: none;
}

.kp-game-redesign .menu-tab-red,
.kp-game-redesign .menu-tab-blue {
  background: linear-gradient(180deg, rgba(47, 128, 255, .32), rgba(139, 92, 246, .25));
}

.kp-game-redesign .workspace {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
}

.kp-game-redesign .question-panel,
.kp-game-redesign .score-card,
.visual-game-redesign .panel {
  border-radius: 8px;
  border: 1px solid var(--game-line);
  background:
    radial-gradient(circle at 50% 0%, rgba(63, 215, 255, .12), transparent 38%),
    linear-gradient(180deg, rgba(16, 38, 77, .96), rgba(7, 17, 38, .96));
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.kp-game-redesign .question-panel::before {
  content: "3 / 10";
  display: block;
  height: 12px;
  width: min(360px, 76%);
  margin: 0 auto 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0;
  background:
    linear-gradient(90deg, var(--game-green) 0 34%, transparent 34%),
    rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05);
}

.kp-game-redesign .note-image-wrap {
  width: min(260px, 68vw);
  height: min(260px, 68vw);
  margin: 8px auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(63, 215, 255, .24);
  background: radial-gradient(circle, rgba(139, 92, 246, .34), rgba(47, 128, 255, .12) 56%, transparent 57%);
  box-shadow: 0 0 0 12px rgba(139, 92, 246, .12), 0 0 36px rgba(63, 215, 255, .2);
}

.kp-game-redesign #noteReplayVisual {
  border-radius: 50%;
  opacity: .82;
}

.kp-game-redesign .control-proxy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 18px;
}

.kp-game-redesign .main,
.kp-game-redesign .secondary,
.kp-game-redesign .btn-sub,
.kp-game-redesign .audio-btn,
.kp-game-redesign .start-btn,
.kp-game-redesign .level-btn,
.kp-game-redesign .game-switch-btn,
.kp-game-redesign .x-share-btn,
.visual-game-redesign .primary,
.visual-game-redesign .level-choice {
  border-radius: 8px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #233bff, #1726a9);
  box-shadow: 0 12px 24px rgba(47, 80, 255, .22), inset 0 -3px 0 rgba(0, 0, 0, .22);
}

.kp-game-redesign .secondary,
.kp-game-redesign .btn-sub,
.kp-game-redesign .audio-btn {
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--game-line);
  box-shadow: none;
}

.kp-game-redesign .prompt,
.visual-game-redesign .prompt {
  color: #fff;
  font-size: clamp(20px, 4vw, 30px);
}

.kp-game-redesign .grid,
.kp-game-redesign .choices,
.visual-game-redesign .choices {
  gap: 10px;
}

.kp-game-redesign .grid button,
.kp-game-redesign .choices button,
.visual-game-redesign .choice {
  min-height: 78px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .94);
  color: #081633;
  box-shadow: inset 0 -4px 0 rgba(8, 22, 51, .08);
}

.kp-game-redesign .grid button:hover,
.kp-game-redesign .grid button:focus-visible,
.kp-game-redesign .choices button:hover,
.kp-game-redesign .choices button:focus-visible,
.visual-game-redesign .choice:hover,
.visual-game-redesign .choice:focus-visible {
  border-color: var(--game-green);
  box-shadow: 0 0 0 4px rgba(64, 215, 138, .24), inset 0 -4px 0 rgba(8, 22, 51, .08);
}

.kp-game-redesign .result-box {
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--game-line);
}

.kp-game-redesign .note-image-wrap img {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.kp-note-quiz-redesign .note-image-wrap {
  position: relative;
  width: min(560px, 100%);
  height: auto;
  min-height: 250px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(238, 246, 255, .98));
  box-shadow: none;
}

.kp-note-quiz-redesign .note-image-wrap::before {
  content: "★ ★ ★";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--game-yellow);
  font-weight: 900;
  letter-spacing: 4px;
}

.kp-note-quiz-redesign .score-title {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.kp-game-redesign .beat-guide {
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--game-line);
  color: #fff;
}

.kp-game-redesign .rhythm-choice,
.kp-rhythm-quiz-redesign .choice-btn {
  border-radius: 8px;
}

.kp-rhythm-quiz-redesign .note-image-wrap {
  border-radius: 50%;
  border: 1px solid rgba(63, 215, 255, .24);
}

.kp-rhythm-quiz-redesign .score-title {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.kp-ear-quiz-redesign {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
  background:
    radial-gradient(circle at 16% 0%, rgba(80, 140, 255, .24), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(64, 215, 138, .12), transparent 32%),
    linear-gradient(180deg, #f7fbff, #edf3ff);
}

.kp-ear-quiz-redesign .card {
  width: min(900px, 100%);
  min-height: 0;
  padding: clamp(12px, 2vw, 18px);
  border-radius: 24px;
  background: #050b16;
  border: 4px solid #050b16;
  box-shadow:
    0 22px 46px rgba(8, 15, 34, .28),
    inset 0 0 0 2px rgba(255, 255, 255, .06);
  overflow: hidden;
}

.kp-ear-quiz-redesign .quiz-menu {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  padding: 0 0 8px;
  z-index: 2;
}

.kp-ear-quiz-redesign .menu-left {
  min-width: 136px;
}

.kp-ear-quiz-redesign .menu-center {
  position: relative;
  justify-content: center;
}

.kp-ear-quiz-redesign .menu-center::before {
  content: "";
  width: min(240px, 38vw);
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--game-green) 0 34%, transparent 34%),
    rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.kp-ear-quiz-redesign .menu-center::after {
  content: "3/10";
  margin-left: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 900;
}

.kp-ear-quiz-redesign .menu-tab {
  display: none;
}

.kp-ear-quiz-redesign .menu-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 20px;
}

.kp-ear-quiz-redesign #btnMenuAudio,
.kp-ear-quiz-redesign #btnMenuSettings {
  display: none;
}

.kp-ear-quiz-redesign .menu-left::after {
  content: "音当てクイズ";
  align-self: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.kp-ear-quiz-redesign .menu-right::before {
  content: "Ⅱ";
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
  font-weight: 900;
}

.kp-ear-quiz-redesign .menu-heart {
  display: none;
}

.kp-ear-quiz-redesign h1,
.kp-ear-quiz-redesign .lead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.kp-ear-quiz-redesign .workspace {
  position: relative;
  display: block;
  min-height: 0;
  padding: 12px 22px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 16%, rgba(63, 215, 255, .14), transparent 28%),
    radial-gradient(circle at 58% 70%, rgba(64, 215, 138, .10), transparent 28%),
    linear-gradient(135deg, #07152c 0%, #0a1b38 58%, #071126 100%);
}

.kp-ear-quiz-redesign .question-panel {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  grid-template-areas:
    "combo play score"
    ". prompt ."
    "choices choices choices"
    "level . hearts";
  gap: 10px 14px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.kp-ear-quiz-redesign .question-panel::before {
  content: "連続正解\A 6\A COMBO!";
  grid-area: combo;
  white-space: pre;
  width: auto;
  height: auto;
  margin: 22px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-align: left;
  background: transparent;
  box-shadow: none;
}

.kp-ear-quiz-redesign .question-panel::after {
  content: "スコア\A ★\A 1250";
  grid-area: score;
  white-space: pre;
  margin: 22px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  text-align: right;
}

.kp-ear-quiz-redesign .note-image-wrap {
  grid-area: play;
  width: 142px;
  height: 142px;
  min-height: 0;
  margin: 10px auto 0;
  border-radius: 50%;
  border: 1px solid rgba(63, 215, 255, .38);
  background:
    radial-gradient(circle, #4468ff 0 36%, #2633a2 37% 56%, rgba(63, 215, 255, .18) 57% 100%);
  box-shadow:
    0 0 0 12px rgba(139, 92, 246, .16),
    0 0 36px rgba(63, 215, 255, .24);
}

.kp-ear-quiz-redesign .note-image-wrap::before,
.kp-ear-quiz-redesign .note-image-wrap::after {
  position: absolute;
  pointer-events: none;
}

.kp-ear-quiz-redesign .note-image-wrap::before {
  content: "♪";
  left: -120px;
  top: 48px;
  color: #a98cff;
  font-size: 44px;
}

.kp-ear-quiz-redesign .note-image-wrap::after {
  content: "♪";
  right: -120px;
  top: 42px;
  color: var(--game-yellow);
  font-size: 50px;
  transform: rotate(10deg);
}

.kp-ear-quiz-redesign #noteReplayVisual {
  opacity: 0;
}

.kp-ear-quiz-redesign .note-image-wrap > * {
  position: absolute;
  inset: 0;
}

.kp-ear-quiz-redesign .note-image-wrap {
  position: relative;
}

.kp-ear-quiz-redesign .note-image-wrap:focus-within,
.kp-ear-quiz-redesign .note-image-wrap:hover {
  filter: brightness(1.08);
}

.kp-ear-quiz-redesign .note-image-wrap .speaker-icon,
.kp-ear-quiz-redesign .note-image-wrap svg {
  display: none;
}

.kp-ear-quiz-redesign .note-image-wrap + .control-proxy::before {
  content: "🔊";
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  font-size: 42px;
  pointer-events: none;
}

.kp-ear-quiz-redesign .control-proxy {
  grid-area: play;
  display: block;
  position: absolute;
  inset: 0;
  width: 142px;
  height: 142px;
  margin: 10px auto 0;
}

.kp-ear-quiz-redesign .control-proxy button {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.kp-ear-quiz-redesign .control-proxy #btnReplay,
.kp-ear-quiz-redesign .control-proxy #btnSettings {
  display: none;
}

.kp-ear-quiz-redesign .prompt {
  grid-area: prompt;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-align: center;
}

.kp-ear-quiz-redesign .grid {
  grid-area: choices;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.kp-ear-quiz-redesign .grid .choice,
.kp-ear-quiz-redesign .grid button {
  position: relative;
  min-height: 152px;
  padding: 72px 8px 12px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, .16);
  color: #33415f;
  font-size: 12px;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff, #eff5ff);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, .18),
    inset 0 -5px 0 rgba(8, 22, 51, .08);
  overflow: visible;
}

.kp-ear-quiz-redesign .grid button.has-score {
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  align-items: end;
  gap: 2px;
  padding: 12px 8px 10px;
}

.kp-ear-quiz-redesign .choice-score {
  display: block;
  width: min(92px, 100%);
  height: 74px;
  object-fit: contain;
  margin: 0 auto 2px;
  border-radius: 7px;
  background: #fff;
}

.kp-ear-quiz-redesign .choice-solfege {
  display: block;
  color: #ef5d84;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.kp-ear-quiz-redesign .choice-letter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  background: #61c8ff;
}

.kp-ear-quiz-redesign .grid .choice::before,
.kp-ear-quiz-redesign .grid button::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 28px;
  height: 48px;
  background:
    linear-gradient(#c9cfda 1px, transparent 1px) 0 6px / 100% 9px repeat-y;
}

.kp-ear-quiz-redesign .grid button.has-score::before,
.kp-ear-quiz-redesign .grid button.has-score::after {
  display: none;
}

.kp-ear-quiz-redesign .grid .choice::after,
.kp-ear-quiz-redesign .grid button::after {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.kp-ear-quiz-redesign .grid button:nth-child(1)::after { content: "C"; background: #f36b8f; }
.kp-ear-quiz-redesign .grid button:nth-child(2)::after { content: "D"; background: #ffb83d; }
.kp-ear-quiz-redesign .grid button:nth-child(3)::after { content: "E"; background: var(--game-green); }
.kp-ear-quiz-redesign .grid button:nth-child(4)::after { content: "F"; background: #61c8ff; }
.kp-ear-quiz-redesign .grid button:nth-child(5)::after { content: "G"; background: var(--game-purple); }

.kp-ear-quiz-redesign .grid button:nth-child(1) .choice-letter { background: #f36b8f; }
.kp-ear-quiz-redesign .grid button:nth-child(2) .choice-letter { background: #ffb83d; }
.kp-ear-quiz-redesign .grid button:nth-child(3) .choice-letter { background: var(--game-green); }
.kp-ear-quiz-redesign .grid button:nth-child(4) .choice-letter { background: #61c8ff; }
.kp-ear-quiz-redesign .grid button:nth-child(5) .choice-letter { background: var(--game-purple); }
.kp-ear-quiz-redesign .grid button.note-c .choice-letter { background: #f36b8f; }
.kp-ear-quiz-redesign .grid button.note-d .choice-letter { background: #ffb83d; }
.kp-ear-quiz-redesign .grid button.note-e .choice-letter { background: var(--game-green); }
.kp-ear-quiz-redesign .grid button.note-f .choice-letter { background: #61c8ff; }
.kp-ear-quiz-redesign .grid button.note-g .choice-letter { background: var(--game-purple); }
.kp-ear-quiz-redesign .grid button.note-a .choice-letter { background: #ff7db0; }
.kp-ear-quiz-redesign .grid button.note-b .choice-letter { background: #37c7c9; }

.kp-ear-quiz-redesign .grid button:nth-child(1) { --jp-note: "ド"; }
.kp-ear-quiz-redesign .grid button:nth-child(2) { --jp-note: "レ"; }
.kp-ear-quiz-redesign .grid button:nth-child(3) { --jp-note: "ミ"; }
.kp-ear-quiz-redesign .grid button:nth-child(4) { --jp-note: "ファ"; }
.kp-ear-quiz-redesign .grid button:nth-child(5) { --jp-note: "ソ"; }

.kp-ear-quiz-redesign .grid button:nth-child(-n+5):hover,
.kp-ear-quiz-redesign .grid button:nth-child(-n+5):focus-visible {
  border-color: var(--game-green);
  box-shadow:
    0 0 0 5px rgba(64, 215, 138, .28),
    0 18px 34px rgba(0, 0, 0, .2),
    inset 0 -5px 0 rgba(8, 22, 51, .08);
}

.kp-ear-quiz-redesign .grid button.unknown {
  display: none;
}

.kp-ear-quiz-redesign .result-box {
  display: none;
}

.kp-ear-quiz-redesign .question-panel > .muted {
  display: none;
}

.kp-ear-quiz-redesign .score-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.kp-ear-quiz-redesign .score-title {
  display: none;
}

.kp-ear-quiz-redesign .score {
  display: contents;
}

.kp-ear-quiz-redesign .score .pill {
  display: none;
}

.kp-ear-quiz-redesign .score .pill:nth-child(3) {
  display: inline-flex;
  order: 1;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
}

.kp-ear-quiz-redesign .score .pill:nth-child(6) {
  display: inline-flex;
  order: 3;
  min-width: 118px;
  min-height: 42px;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: transparent;
  background: rgba(255, 255, 255, .08);
}

.kp-ear-quiz-redesign .score .pill:nth-child(6)::before {
  content: "♥ ♥ ♥";
  color: var(--game-pink);
  letter-spacing: 3px;
  font-size: 18px;
}

.kp-ear-quiz-redesign .score-reset-btn {
  display: none !important;
}

.kp-ear-quiz-redesign .legal-footer {
  display: none;
}

.kp-ear-quiz-redesign .modal-panel {
  border-radius: 16px;
}

.kp-ear-quiz-redesign .answer-modal-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(64, 215, 138, .18), transparent 32%),
    #fff;
}

@media (max-width: 720px) {
  .kp-ear-quiz-redesign {
    place-items: start center;
    padding: 8px;
  }

  .kp-ear-quiz-redesign .card {
    border-radius: 18px;
    padding: 10px;
  }

  .kp-ear-quiz-redesign .workspace {
    padding: 10px;
  }

  .kp-ear-quiz-redesign .question-panel {
    grid-template-columns: 1fr 120px 1fr;
    gap: 8px;
  }

  .kp-ear-quiz-redesign .question-panel::before,
  .kp-ear-quiz-redesign .question-panel::after {
    font-size: 11px;
  }

  .kp-ear-quiz-redesign .note-image-wrap,
  .kp-ear-quiz-redesign .control-proxy {
    width: 112px;
    height: 112px;
  }

  .kp-ear-quiz-redesign .note-image-wrap + .control-proxy::before {
    top: 47px;
    font-size: 34px;
  }

  .kp-ear-quiz-redesign .note-image-wrap::before,
  .kp-ear-quiz-redesign .note-image-wrap::after {
    display: none;
  }

  .kp-ear-quiz-redesign .grid {
    grid-template-columns: repeat(5, minmax(58px, 1fr));
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .kp-ear-quiz-redesign .grid .choice,
  .kp-ear-quiz-redesign .grid button {
    min-height: 126px;
    padding-top: 66px;
  }

  .kp-ear-quiz-redesign .grid .choice::before,
  .kp-ear-quiz-redesign .grid button::before {
    left: 10px;
    right: 10px;
  }
}

.kp-game-redesign .muted,
.visual-game-redesign .lead,
.visual-game-redesign .feedback {
  color: var(--game-muted);
}

.kp-game-redesign .score-title::after {
  content: " ★★★";
  color: var(--game-yellow);
}

.kp-game-redesign .score .pill,
.visual-game-redesign .pill {
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--game-line);
  color: #fff;
}

.kp-game-redesign .score .pill:nth-child(2)::after {
  content: " COMBO";
  color: var(--game-yellow);
  margin-left: 5px;
  font-size: 11px;
}

.kp-game-redesign .legal-footer {
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--game-line);
  color: var(--game-muted);
}

.kp-game-redesign .legal-footer a {
  color: #fff;
}

.kp-game-redesign .modal {
  background: rgba(4, 10, 24, .72);
}

.kp-game-redesign .modal-panel,
.visual-game-redesign .modal-panel {
  border-radius: 8px;
  background: #fff;
  color: #081633;
}

.kp-game-redesign .answer-mark {
  color: var(--game-green);
}

.kp-game-redesign .test-result-score,
.visual-game-redesign .result-score {
  color: #1726a9;
}

.visual-game-redesign .app {
  width: min(1060px, 100%);
}

.visual-game-redesign .question-card {
  border-radius: 8px;
  border: 1px solid var(--game-line);
  background: rgba(255, 255, 255, .94);
}

.visual-game-redesign .switch-links a {
  color: #9ecbff;
}

@media (max-width: 760px) {
  .kp-game-redesign .card {
    width: min(100% - 12px, 1120px);
    padding-top: 82px;
  }
  .kp-game-redesign .workspace {
    grid-template-columns: 1fr;
  }
  .kp-game-redesign .control-proxy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kp-game-redesign .quiz-menu {
    grid-template-columns: auto 1fr auto;
  }
}
