/* v0.35.6 공통 조작 버튼 배치 및 일시멈춤 화면 */
    .scene2-layer-ui .scene2-home-control {
      position: absolute;
      top: 2.2%;
      left: 2.4%;
      z-index: 6;
    }

    .scene2-layer-ui .scene2-nav {
      position: absolute;
      top: 2.2%;
      right: 2.4%;
      left: auto;
      bottom: auto;
      display: flex;
      justify-content: flex-end;
      gap: clamp(8px, 1vw, 18px);
      align-items: center;
      pointer-events: none;
      z-index: 6;
    }

    .scene2-layer-ui .scene2-nav .scene2-control,
    .scene2-layer-ui .scene2-home-control,
    .scene2-layer-ui .scene2-game-controls .scene2-control {
      pointer-events: auto;
    }

    .scene2-layer-ui .scene2-music-toggle {
      position: absolute;
      top: auto;
      right: auto;
      left: 2.4%;
      bottom: 1.4%;
      z-index: 6;
    }

    .scene2-game-controls {
      position: absolute;
      left: 50%;
      bottom: 1.4%;
      transform: translateX(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: clamp(7px, 1.0vw, 16px);
      pointer-events: none;
      z-index: 6;
    }

    .scene2-control {
      min-height: clamp(42px, 5.4vw, 62px);
      padding: 0.48em 1.05em;
      font-size: clamp(13px, 1.45vw, 21px);
      white-space: nowrap;
    }


    .scene2-guide-replay-control {
      background: linear-gradient(160deg, #d8f6ff, #a9dcff);
    }

    .scene2-pause-control {
      background: linear-gradient(160deg, #bff8ff, #84d5ff);
    }

    .scene2-restart-control {
      background: linear-gradient(160deg, #fff2a8, #ffbc86);
    }

    .scene2-pause-overlay {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      background: rgba(4, 18, 52, 0.54);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 180ms ease, visibility 180ms ease;
      z-index: 4;
    }

    .scene2-pause-card {
      min-width: min(62vw, 520px);
      padding: clamp(18px, 3vw, 34px) clamp(24px, 4vw, 48px);
      border: 4px solid rgba(255,255,255,0.92);
      border-radius: 30px;
      background: rgba(11, 55, 105, 0.94);
      color: #fff7a8;
      text-align: center;
      font-family: "NanumSquareRound", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
      font-weight: 900;
      font-size: clamp(26px, 4vw, 54px);
      box-shadow: 0 18px 34px rgba(0,0,0,0.36);
      text-shadow: 0 3px 0 rgba(0,0,0,0.22);
    }

    .scene2-pause-card small {
      display: block;
      margin-top: 0.5em;
      color: #ffffff;
      font-size: 0.48em;
      line-height: 1.45;
    }

    .scene-2-consonant.is-paused .scene2-pause-overlay {
      opacity: 1;
      visibility: visible;
    }

    .scene-2-consonant.is-paused .scene2-layer-learning *,
    .scene-2-consonant.is-paused .scene2-layer-start * {
      pointer-events: none !important;
      animation-play-state: paused !important;
    }

    .scene-2-consonant.is-paused .scene2-pause-control {
      filter: brightness(1.08);
      box-shadow: 0 6px 0 rgba(30, 86, 130, 0.38), 0 0 0 5px rgba(255,255,255,0.28);
    }

    @media (max-width: 760px) {
      .scene2-layer-ui .scene2-home-control,
      .scene2-layer-ui .scene2-nav {
        top: 1.4%;
      }

      .scene2-layer-ui .scene2-home-control { left: 1.5%; }
      .scene2-layer-ui .scene2-nav { right: 1.5%; }
      .scene2-layer-ui .scene2-music-toggle { left: 1.5%; bottom: 1.0%; }
      .scene2-game-controls { bottom: 1.0%; }

      .scene2-control {
        min-height: 38px;
        padding: 0.42em 0.72em;
        font-size: clamp(11px, 2.5vw, 16px);
        border-width: 3px;
      }

      .scene2-music-toggle {
        padding: 0.4em 0.7em;
        font-size: clamp(11px, 2.3vw, 15px);
      }
    }
