:root {
  --paper-blue: #dff6fc;
  --paper-blue-deep: #c6eaf3;
  --paper: #fffdf7;
  --ink: #202b35;
  --muted: #718098;
  --line: #aeb6ca;
  --orange: #efbb76;
  --orange-deep: #cf8234;
  --pink: #ff6892;
  --green: #65c780;
  --shadow: rgba(86, 126, 154, 0.22);
  --display-font: "ZCOOL KuaiLe", "YouYuan", "Microsoft YaHei", sans-serif;
  --body-font: "LXGW WenKai", "KaiTi", "Microsoft YaHei", sans-serif;
  --radius-card: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.42), transparent 42%),
    var(--paper-blue);
  background-size: 38px 38px, 38px 38px, 100% 100%, auto;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
input:focus-visible {
  outline: 4px solid rgba(255, 104, 146, 0.45);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.start-screen {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 4vw;
  padding: 6vh 9vw;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.56), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--paper-blue);
  background-size: 100% 100%, 44px 44px, 44px 44px, auto;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.start-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.start-copy {
  position: relative;
  z-index: 2;
}

.start-title {
  display: grid;
  gap: 2px;
  width: max-content;
  margin-bottom: 58px;
  color: #6dcc8c;
  font-family: var(--display-font);
  font-size: clamp(72px, 7vw, 126px);
  font-weight: 900;
  line-height: 0.92;
  text-shadow: 0 9px 0 rgba(86, 126, 154, 0.16);
  transform: rotate(-4deg);
}

.start-title span:first-child {
  color: #35cbb8;
}

.start-menu {
  display: grid;
  gap: 22px;
  width: min(360px, 80vw);
  margin-left: 82px;
}

.start-choice {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 0 14px;
  color: #657396;
  background: transparent;
  font-family: var(--display-font);
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.62);
}

.start-choice::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 18px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid transparent;
}

.start-choice.is-primary::before,
.start-choice:hover::before {
  border-left-color: #6dcc8c;
}

.start-choice.is-primary::after,
.start-choice:hover::after {
  content: "";
  position: absolute;
  left: 68px;
  right: 18px;
  bottom: 6px;
  height: 7px;
  border-radius: 999px;
  background: rgba(109, 204, 140, 0.8);
}

.steam-choice {
  color: #3c6686;
}

.steam-choice::before {
  border-left-color: #3c6686;
}

.steam-choice:hover::after {
  background: rgba(60, 102, 134, 0.72);
}

.start-boot {
  position: relative;
  width: min(760px, 42vw);
  aspect-ratio: 1.25;
  justify-self: center;
  border-radius: 38% 46% 34% 50% / 28% 42% 46% 48%;
  background: #f66c9a;
  box-shadow:
    inset -32px -26px 0 rgba(80, 70, 112, 0.16),
    0 54px 0 #5b5d8f,
    0 78px 34px rgba(61, 70, 103, 0.22);
  transform: rotate(-7deg);
}

.start-boot::before {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -1%;
  width: 58%;
  height: 52%;
  border-radius: 52% 44% 38% 44%;
  background: #fb6f99;
  box-shadow: inset -18px -12px 0 rgba(180, 54, 92, 0.22);
}

.boot-eye {
  position: absolute;
  top: 39%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffdf4;
  border: 18px solid #514468;
}

.boot-eye::after {
  content: "";
  position: absolute;
  left: 35%;
  top: 38%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #071c3c;
}

.boot-eye-left {
  left: 24%;
}

.boot-eye-right {
  left: 48%;
}

.boot-lace {
  position: absolute;
  left: 22%;
  top: 25%;
  width: 62%;
  height: 14%;
  border-top: 18px solid #ffda91;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.boot-sole {
  position: absolute;
  left: -14%;
  right: -4%;
  bottom: -18%;
  height: 24%;
  border-radius: 50%;
  background: #5a5c8f;
  z-index: -1;
}

.game-shell {
  position: relative;
  z-index: 1;
  width: min(1640px, calc(100vw - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 54px 0 36px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.question-no,
.author {
  color: #697894;
  font-family: var(--display-font);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.58);
}

.question-no {
  padding-left: 44px;
}

.tools {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.tool-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff9ee;
  background: var(--orange);
  box-shadow: 0 7px 0 rgba(207, 130, 52, 0.24);
  font-family: var(--display-font);
  font-size: 42px;
  line-height: 1;
  transform: rotate(-3deg);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.tool-button:nth-child(2) {
  transform: rotate(4deg);
}

.tool-button:hover {
  transform: translateY(-3px) rotate(0deg);
  box-shadow: 0 11px 0 rgba(207, 130, 52, 0.2);
}

.stage {
  display: grid;
  grid-template-columns: minmax(420px, 700px) 1fr;
  align-items: end;
  gap: 64px;
  min-height: calc(100svh - 154px);
}

.puzzle-card {
  position: relative;
  width: min(690px, 100%);
  padding: 24px 42px 34px;
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow:
    -12px 14px 0 rgba(112, 139, 169, 0.18),
    0 20px 44px var(--shadow);
  animation: cardIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.puzzle-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 5px 0 rgba(200, 76, 113, 0.22);
  transform: translateX(-50%);
}

.panel {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #fbf5e8;
}

.panel + .panel {
  margin-top: 16px;
}

.panel img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.panel.is-placeholder {
  display: grid;
  place-items: center;
  min-height: 188px;
  border: 3px dashed rgba(105, 120, 148, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent),
    #eef8fb;
}

.panel.is-placeholder::before {
  content: attr(data-placeholder);
  color: #728097;
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 900;
}

.category-ribbon {
  position: absolute;
  left: 38px;
  bottom: -38px;
  padding: 14px 18px 16px;
  border-radius: 10px;
  color: white;
  background: var(--pink);
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 8px 0 rgba(209, 69, 110, 0.2);
}

.answer-desk {
  position: relative;
  min-height: 360px;
  padding: 0 56px 28px;
}

.desk-line {
  width: 100%;
  height: 6px;
  border-radius: 100%;
  background: repeating-linear-gradient(90deg, #aeb6ca 0 8px, transparent 8px 12px);
  opacity: 0.86;
  margin-bottom: 20px;
}

.answer-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 99px;
  margin-bottom: 26px;
}

.mistake-board {
  min-height: 72px;
  margin: -8px 0 18px;
  text-align: center;
}

.mistake-board[hidden] {
  display: none;
}

.mistake-label {
  margin-bottom: 8px;
  color: #7f8899;
  font-size: 18px;
  font-weight: 800;
}

.mistake-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mistake-cell {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  font-family: var(--display-font);
  font-weight: 900;
  box-shadow: 0 6px 0 rgba(86, 126, 154, 0.12);
}

.mistake-cell.is-correct {
  color: white;
  background: var(--green);
}

.mistake-cell.is-wrong-char {
  color: #7c8793;
  background: rgba(255, 255, 255, 0.62);
}

.mistake-cell .hint-pinyin {
  font-size: 18px;
}

.mistake-cell .hint-char,
.mistake-char {
  font-size: 32px;
}

.slot {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border: 4px solid var(--line);
  border-radius: 19px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.26);
  font-family: var(--display-font);
  font-size: 44px;
  font-weight: 900;
  box-shadow: 0 3px 0 rgba(255, 255, 255, 0.46) inset;
}

.slot.is-hint,
.slot.is-pinyin-hint {
  color: white;
  background: var(--green);
  border-color: var(--green);
  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.34) inset,
    0 7px 0 rgba(58, 154, 82, 0.18);
}

.slot.is-pinyin-hint {
  align-items: start;
  padding-top: 18px;
  font-size: 28px;
  line-height: 1;
}

.hint-content {
  display: grid;
  place-items: center;
  gap: 2px;
  line-height: 1;
}

.hint-pinyin {
  font-size: 24px;
  font-family: var(--body-font);
  font-weight: 800;
}

.hint-char {
  font-size: 42px;
  font-family: var(--display-font);
  font-weight: 900;
}

.answer-form {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 194px;
  justify-content: center;
  gap: 16px;
}

#answerInput {
  height: 74px;
  border: 4px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
  font-family: var(--display-font);
  font-size: 34px;
  font-weight: 900;
}

#answerInput::placeholder {
  color: #adb3c1;
}

.confirm-button {
  height: 74px;
  border-radius: 38px;
  color: var(--orange-deep);
  background: rgba(220, 205, 144, 0.78);
  font-family: var(--display-font);
  font-size: 31px;
  font-weight: 900;
  box-shadow: 0 6px 0 rgba(165, 130, 55, 0.14);
  transition: transform 140ms ease, background 140ms ease;
}

.confirm-button:hover {
  background: #e7d58f;
  transform: translateY(-2px);
}

.feedback {
  min-height: 42px;
  margin: 18px 0 0;
  text-align: center;
  color: #66748c;
  font-family: var(--display-font);
  font-size: 28px;
  font-weight: 800;
}

.feedback.is-right {
  color: #258c51;
}

.feedback.is-wrong {
  color: #d3476c;
}

.hint-button {
  position: absolute;
  right: 12px;
  bottom: 2px;
  width: 86px;
  height: 94px;
  color: var(--orange-deep);
  background: transparent;
  font-family: var(--display-font);
  font-weight: 900;
}

.bulb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 2px;
  border-radius: 50%;
  overflow: hidden;
  background: #efbb76;
  box-shadow:
    0 5px 0 rgba(207, 130, 52, 0.18),
    0 0 22px rgba(255, 198, 68, 0.36);
}

.bulb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hint-key {
  display: block;
  font-size: 20px;
}

.hint-button.is-disabled {
  opacity: 0.38;
}

.hint-button.is-hidden {
  display: none !important;
}

.answer-desk.shake {
  animation: shake 360ms ease;
}

.modal {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
}

.modal::backdrop {
  background: rgba(78, 118, 140, 0.28);
  backdrop-filter: blur(4px);
}

.modal-sheet {
  position: relative;
  width: min(520px, calc(100vw - 40px));
  padding: 34px 36px 38px;
  border: 8px solid white;
  border-radius: 24px;
  background: #fff9eb;
  box-shadow: 0 24px 60px rgba(63, 85, 108, 0.24);
}

.modal-sheet-wide {
  width: min(1120px, calc(100vw - 40px));
  max-height: 82svh;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--pink);
  font-size: 28px;
  line-height: 1;
}

.modal h2 {
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: 34px;
}

.modal p {
  margin: 0;
  color: #5e6675;
  font-size: 22px;
  line-height: 1.7;
}

.level-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding-right: 48px;
}

.level-heading h2 {
  margin: 0;
}

.home-button {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 16px;
  color: white;
  background: var(--green);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(58, 154, 82, 0.18);
}

.question-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 14px;
}

.question-jump {
  position: relative;
  display: block;
  padding: 8px;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  box-shadow: 0 7px 0 rgba(112, 139, 169, 0.12);
  transition: transform 140ms ease, background 140ms ease;
}

.question-jump:hover {
  background: #fff;
  transform: translateY(-2px);
}

.question-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 330 / 420;
  border-radius: 10px;
  object-fit: cover;
  background: #f8f2e5;
}

.question-thumb.is-empty {
  display: grid;
  place-items: center;
  color: #778398;
  font-size: 14px;
  text-align: center;
}

.question-index {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 104, 146, 0.86);
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 900;
}

.question-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
}

.question-state {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: rgba(101, 199, 128, 0.92);
  font-size: 18px;
  font-weight: 900;
}

.question-state:empty {
  display: none;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(8px);
  }
  75% {
    transform: translateX(-5px);
  }
}

@media (max-width: 1120px) {
  body {
    overflow: auto;
  }

  .game-shell {
    width: min(760px, calc(100vw - 32px));
    padding: 22px 0 46px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    height: auto;
  }

  .question-no {
    padding-left: 0;
  }

  .author {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .tools {
    grid-column: 2;
    grid-row: 1;
    gap: 10px;
  }

  .tool-button {
    width: 54px;
    height: 54px;
    font-size: 30px;
  }

  .stage {
    grid-template-columns: 1fr;
    gap: 68px;
    min-height: 0;
    padding-top: 16px;
  }

  .puzzle-card {
    margin: 0 auto;
    padding: 18px 24px 30px;
  }

  .answer-desk {
    min-height: 310px;
    padding: 0 0 42px;
  }

  .start-screen {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .start-menu {
    margin-left: 28px;
  }

  .start-boot {
    width: min(580px, 76vw);
  }

  .slot {
    width: 78px;
    height: 78px;
    font-size: 34px;
  }

  .slot.is-pinyin-hint {
    padding-top: 14px;
    font-size: 22px;
  }

  .hint-pinyin {
    font-size: 19px;
  }

  .hint-char {
    font-size: 32px;
  }

  .answer-form {
    grid-template-columns: 1fr 138px;
  }

  #answerInput,
  .confirm-button {
    height: 64px;
    font-size: 25px;
  }
}

@media (min-width: 1121px) and (max-height: 960px) {
  .game-shell {
    padding-top: 36px;
  }

  .topbar {
    height: 58px;
  }

  .question-no,
  .author {
    font-size: 25px;
  }

  .tool-button {
    width: 62px;
    height: 62px;
    font-size: 36px;
  }

  .stage {
    grid-template-columns: minmax(340px, 520px) 1fr;
    gap: 56px;
    min-height: calc(100svh - 130px);
  }

  .puzzle-card {
    width: min(520px, 100%);
    padding: 18px 32px 78px;
  }

  .panel + .panel {
    margin-top: 14px;
  }

  .category-ribbon {
    left: 32px;
    bottom: 16px;
    padding: 10px 14px 12px;
    font-size: 24px;
  }

  .answer-desk {
    min-height: 310px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    min-width: 320px;
  }

  .game-shell {
    width: calc(100vw - 20px);
    padding: 14px 0 30px;
  }

  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .question-no,
  .author {
    font-size: 19px;
  }

  .author {
    display: none;
  }

  .tools {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
  }

  .tool-button {
    width: 46px;
    height: 46px;
    font-size: 27px;
  }

  .stage {
    min-width: 0;
    gap: 38px;
    padding-top: 12px;
  }

  .puzzle-card {
    width: min(300px, 78vw);
    min-width: 0;
    justify-self: center;
    padding: 9px 9px 20px;
    border-radius: 15px;
    box-shadow:
      -6px 8px 0 rgba(112, 139, 169, 0.16),
      0 12px 28px var(--shadow);
  }

  .puzzle-card::after {
    top: -10px;
    width: 20px;
    height: 20px;
  }

  .panel + .panel {
    margin-top: 6px;
  }

  .panel,
  .panel img {
    min-width: 0;
  }

  .question-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .start-screen {
    align-content: center;
    gap: 18px;
    min-height: 100svh;
    padding: 18px 20px 26px;
  }

  .start-title {
    margin-bottom: 16px;
    font-size: 46px;
  }

  .start-menu {
    gap: 4px;
    width: 100%;
    margin-left: 0;
  }

  .start-choice {
    padding: 3px 0 7px;
    font-size: 23px;
  }

  .start-choice::before {
    margin-right: 10px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 13px;
  }

  .start-choice.is-primary::after,
  .start-choice:hover::after {
    left: 42px;
    height: 5px;
  }

  .start-boot {
    width: min(240px, 62vw);
    border-radius: 38% 46% 34% 50% / 28% 42% 46% 48%;
    box-shadow:
      inset -18px -14px 0 rgba(80, 70, 112, 0.16),
      0 28px 0 #5b5d8f,
      0 42px 20px rgba(61, 70, 103, 0.2);
  }

  .boot-eye {
    border-width: 9px;
  }

  .boot-lace {
    border-top-width: 9px;
  }

  .mistake-cell {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .mistake-cell .hint-pinyin {
    font-size: 13px;
  }

  .mistake-cell .hint-char,
  .mistake-char {
    font-size: 21px;
  }

  .slot {
    width: auto;
    min-width: 0;
    max-width: 56px;
    height: auto;
    aspect-ratio: 1;
    flex: 1 1 0;
    overflow: hidden;
    border-width: 3px;
    border-radius: 12px;
    font-size: 22px;
  }

  .slot.is-pinyin-hint {
    padding-top: 8px;
    font-size: 12px;
  }

  .hint-pinyin {
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .hint-char {
    font-size: 21px;
  }

  .answer-desk {
    min-height: 0;
    width: min(430px, 100%);
    justify-self: center;
    padding: 0 4px 10px;
  }

  .desk-line {
    height: 3px;
    margin-bottom: 10px;
  }

  .answer-slots {
    gap: 4px;
    min-height: 0;
    margin-bottom: 12px;
  }

  .answer-form {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 6px;
  }

  #answerInput,
  .confirm-button {
    height: 48px;
    border-width: 3px;
    border-radius: 12px;
    font-size: 18px;
  }

  .category-ribbon {
    left: 14px;
    bottom: -22px;
    padding: 7px 10px 9px;
    font-size: 17px;
  }

  .feedback {
    min-height: 24px;
    margin: 6px 0 0;
    font-size: 17px;
  }

  .hint-button {
    position: static;
    display: block;
    width: 60px;
    height: 66px;
    margin: 0 auto;
  }

  .bulb {
    width: 44px;
    height: 44px;
  }

  .hint-key {
    font-size: 14px;
  }

  .modal-sheet,
  .modal-sheet-wide {
    width: calc(100vw - 16px);
    max-height: 94svh;
    padding: 22px 12px 24px;
    border-width: 5px;
    border-radius: 16px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .level-heading {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
    padding-right: 44px;
  }

  .level-heading h2 {
    font-size: 29px;
  }

  .home-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 16px;
  }

  .question-jump {
    padding: 6px;
    border-radius: 10px;
  }

  .question-index,
  .question-state {
    font-size: 13px;
  }
}
