/* =========================================================================
   STAGE 6-5 : 디지털 서고 보안 패널 해킹 (대분수의 뺄셈 · 3x3 패널 선택)
   - 1920x1080 디자인 좌표 직접 배치 (#game-shell 이 스케일)
   - 모든 클래스 .s65- 접두사 · s64-/s61- 재사용 금지
   - #dialogue-panel / 인벤토리 등 공통 UI 규칙 작성 금지
   ========================================================================= */

.s65-hack-stage {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  color: #eaf6ff;
  font-family: inherit;
}

/* --------------------------------------------------------------- 배경 */

.s65-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 18, 0.08), rgba(3, 10, 18, 0.38)),
    url("../assets/images/s6.png") center / cover no-repeat;
  filter: saturate(0.96) brightness(0.88);
}

.s65-shelves {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(120, 150, 210, 0.08) 0 4px, transparent 4px 110px),
    repeating-linear-gradient(0deg, rgba(120, 150, 210, 0.06) 0 3px, transparent 3px 150px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 60%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 60%);
  opacity: 0.4;
}

.s65-glitch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 40, 70, 0.18) 0 2px, transparent 2px 5px);
  mix-blend-mode: screen;
}

.s65-glitch.is-active { animation: s65-glitch 0.34s steps(2) 1; }

@keyframes s65-glitch {
  0% { opacity: 0; transform: translateX(0); }
  30% { opacity: 0.9; transform: translateX(-7px); }
  60% { opacity: 0.6; transform: translateX(6px); }
  100% { opacity: 0; transform: translateX(0); }
}

/* 멀리 보이는 보안문 */
.s65-vault-door {
  position: absolute;
  left: 50%;
  top: 250px;
  width: 380px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(40, 80, 140, 0.45), rgba(18, 36, 70, 0.38));
  border: 2px solid rgba(120, 200, 255, 0.3);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
  opacity: 0.4;
  z-index: 1;
}

.s65-vault-door::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(120, 200, 255, 0.4);
}

.s65-vault-door.is-pulse { animation: s65-vault-pulse 0.5s ease; }

@keyframes s65-vault-pulse {
  0%, 100% { filter: brightness(1); }
  45% { filter: brightness(1.8) drop-shadow(0 0 24px rgba(95, 224, 255, 0.7)); }
}

.s65-vault-door.is-open { animation: s65-vault-open 1.4s ease forwards; }

@keyframes s65-vault-open {
  0% { filter: brightness(1); }
  100% { filter: brightness(2.6); opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}

/* --------------------------------------------------------- 상단 HUD */

.s65-hack-stage .stage-chrome-topbar { padding-top: 8px; }

.s65-hud {
  position: absolute;
  top: 8px;
  left: calc(50% + 58px);
  width: 1240px;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  border-radius: 14px;
  background: rgba(7, 15, 28, 0.86);
  border: 1px solid rgba(120, 210, 255, 0.32);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.s65-hud-left { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.s65-hud-prob { display: flex; align-items: center; gap: 14px; min-width: 0; }

.s65-mission-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(200, 222, 240, 0.88);
  white-space: nowrap;
}

.s65-mission-label b { color: #9bedff; font-size: 15px; margin-left: 2px; }

.s65-mission-dots { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; }

.s65-mission-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(38, 52, 72, 0.85);
  border: 1px solid rgba(70, 92, 118, 0.55);
}

.s65-mission-dot.is-current {
  background: #5fe0ff;
  border-color: #9bedff;
  box-shadow: 0 0 10px rgba(95, 224, 255, 0.9);
}

.s65-mission-dot.is-pending { background: rgba(32, 44, 62, 0.9); border-color: rgba(58, 78, 102, 0.5); }
.s65-mission-dot.is-done { background: rgba(95, 224, 255, 0.42); border-color: rgba(126, 224, 255, 0.62); }

.s65-hud-problem { font-size: 22px; font-weight: 950; color: #ffe6a6; white-space: nowrap; }
.s65-hud-problem .s65-int { font-size: 24px; }
.s65-hud-problem .s65-num,
.s65-hud-problem .s65-den { font-size: 16px; }
.s65-hud-problem .s65-op { font-size: 22px; color: #9edcff; padding: 0 4px; }

.s65-hud-stats { display: flex; align-items: center; gap: 16px; margin-top: 2px; }
.s65-hud-stats span { font-size: 12px; font-weight: 800; color: rgba(190, 214, 235, 0.82); }
.s65-hud-stats b { color: #9bedff; font-size: 14px; margin-left: 3px; }
.s65-hud-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.s65-step-badge {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
  border: 2px solid;
}

.s65-step-badge[data-color="violet"] { color: #e6cfff; border-color: #a779ff; background: rgba(120, 70, 220, 0.28); }
.s65-step-badge[data-color="cyan"] { color: #c8f4ff; border-color: #5fd0ff; background: rgba(40, 130, 200, 0.28); }
.s65-step-badge[data-color="amber"] { color: #ffe7a8; border-color: #ffce5a; background: rgba(200, 150, 30, 0.28); }
.s65-step-badge[data-color="green"] { color: #b6ffd9; border-color: #59ebbb; background: rgba(30, 170, 120, 0.28); }

.s65-gauge { display: flex; flex-direction: column; gap: 3px; }
.s65-gauge i { font-style: normal; font-size: 11px; font-weight: 800; color: rgba(190, 214, 235, 0.85); }
.s65-gauge i b { color: #ffd98a; }

.s65-bar {
  width: 150px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid rgba(120, 180, 220, 0.3);
}

.s65-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #46c0ff, #7fe0ff);
  transition: width 0.25s ease;
}

.s65-bar span.is-low { background: linear-gradient(90deg, #ff5b5b, #ff9a6b); }

/* --------------------------------------------------------- 좌측 풀이 단계 */

.s65-flow-rail {
  position: absolute;
  left: 96px;
  top: 150px;
  width: 252px;
  z-index: 35;
  pointer-events: none;
}

.s65-flow-steps {
  list-style: none;
  margin: 0;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-radius: 14px;
  background: rgba(7, 15, 28, 0.78);
  border: 1px solid rgba(120, 210, 255, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

.s65-flow-step {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: rgba(175, 200, 225, 0.52);
  transition: color 0.2s ease, font-size 0.2s ease, text-shadow 0.2s ease;
}

.s65-flow-step.is-active {
  color: #9ef5ff;
  font-size: 20px;
  font-weight: 950;
  text-shadow: 0 0 16px rgba(95, 224, 255, 0.65);
}

.s65-flow-step.is-done { color: rgba(130, 210, 255, 0.62); }
.s65-flow-step.is-done::after { content: " ✓"; color: #7fe0c0; }
.s65-flow-step.is-pending { color: rgba(165, 190, 215, 0.44); }
.s65-flow-step.is-skip { color: rgba(140, 160, 185, 0.3); text-decoration: line-through; }

/* --------------------------------------------------------- 중앙 미션 카드 */

.s65-mission-card {
  position: absolute;
  left: calc(50% + 60px);
  top: 132px;
  transform: translateX(-50%);
  z-index: 30;
  width: 640px;
  padding: 12px 28px 14px;
  text-align: center;
  border-radius: 16px;
  background: rgba(7, 16, 30, 0.9);
  border: 2px solid rgba(126, 224, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.s65-mission-card[data-color="violet"] { border-color: rgba(186, 150, 255, 0.7); }
.s65-mission-card[data-color="cyan"] { border-color: rgba(95, 208, 255, 0.7); }
.s65-mission-card[data-color="amber"] { border-color: rgba(255, 206, 90, 0.75); }
.s65-mission-card[data-color="green"] { border-color: rgba(120, 255, 190, 0.7); }

.s65-mc-step {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0.01em;
  color: #9ef5ff;
}

.s65-mission-card[data-color="violet"] .s65-mc-step { color: #d9c2ff; }
.s65-mission-card[data-color="amber"] .s65-mc-step { color: #ffe09a; }
.s65-mission-card[data-color="green"] .s65-mc-step { color: #b6ffd9; }

.s65-mc-hint { margin: 0; font-size: 16px; font-weight: 800; color: rgba(205, 226, 244, 0.9); }

.s65-mc-goal {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 900;
  color: #ffe6a6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.s65-mc-goal:empty { display: none; }

/* --------------------------------------------------------- 제한 시간 바 */

.s65-timer {
  position: absolute;
  left: calc(50% + 60px);
  top: 296px;
  transform: translateX(-50%);
  z-index: 28;
  width: 666px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 18, 34, 0.9);
  border: 1px solid rgba(120, 200, 255, 0.32);
}

.s65-timer-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #46c0ff, #7fe0ff);
  transition: width 0.12s linear;
}

.s65-timer-fill.is-low { background: linear-gradient(90deg, #ff5b5b, #ffae6b); }

/* --------------------------------------------------------- 3x3 보안 패널 */

.s65-grid {
  position: absolute;
  left: calc(50% + 60px);
  top: 332px;
  transform: translateX(-50%);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 210px);
  grid-template-rows: repeat(3, 108px);
  gap: 18px;
}

.s65-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 14px;
  font-family: inherit;
  color: #7fa6cc;
  background: linear-gradient(180deg, rgba(14, 26, 46, 0.92), rgba(8, 16, 32, 0.92));
  border: 2px solid rgba(70, 110, 160, 0.28);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  cursor: default;
  transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.s65-panel::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  border: 1px dashed rgba(90, 130, 180, 0.18);
  pointer-events: none;
}

.s65-panel-index {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(120, 160, 205, 0.55);
}

.s65-panel-content {
  position: relative;
  z-index: 1;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.04;
  text-align: center;
}

/* 활성(선택지) 패널 */
.s65-panel.is-active {
  color: #eaf6ff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(28, 56, 96, 0.96), rgba(14, 30, 58, 0.96));
  border-color: rgba(120, 200, 255, 0.7);
  box-shadow: 0 0 18px rgba(60, 140, 230, 0.45), inset 0 0 12px rgba(80, 150, 230, 0.28);
  animation: s65-panel-glow 1.5s ease-in-out infinite alternate;
}

.s65-panel.is-active::before { border-color: rgba(140, 210, 255, 0.45); }
.s65-panel.is-active .s65-panel-index { color: rgba(150, 220, 255, 0.8); }

@keyframes s65-panel-glow {
  0% { box-shadow: 0 0 14px rgba(60, 140, 230, 0.35), inset 0 0 10px rgba(80, 150, 230, 0.22); }
  100% { box-shadow: 0 0 26px rgba(90, 180, 255, 0.65), inset 0 0 16px rgba(110, 180, 255, 0.36); }
}

/* 두더지처럼 떠오를 때 */
.s65-panel.is-active.is-entering {
  animation: s65-mole-up 0.3s cubic-bezier(0.34, 1.56, 0.5, 1) backwards,
    s65-panel-glow 1.5s ease-in-out 0.3s infinite alternate;
}

@keyframes s65-mole-up {
  0% { transform: translateY(36px) scale(0.66); opacity: 0; }
  60% { transform: translateY(-5px) scale(1.06); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 두더지가 사라질 때 */
.s65-panel.is-leaving {
  animation: s65-mole-down 0.26s ease forwards;
  pointer-events: none;
}

@keyframes s65-mole-down {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(40px) scale(0.62); opacity: 0; }
}

.s65-panel.is-active:hover {
  transform: translateY(-3px);
  border-color: rgba(160, 230, 255, 0.95);
  box-shadow: 0 0 30px rgba(110, 200, 255, 0.8), inset 0 0 16px rgba(130, 200, 255, 0.42);
}

.s65-panel.is-focus {
  border-color: rgba(180, 240, 255, 1);
  box-shadow: 0 0 0 3px rgba(150, 230, 255, 0.45), 0 0 28px rgba(110, 200, 255, 0.75);
}

.s65-panel.is-word .s65-panel-content { font-size: 19px; line-height: 1.16; }
.s65-panel.is-word .s65-panel-content b { display: block; color: #ffe6a6; font-weight: 950; }

/* 정답 성공: 파란/청록 해킹 점등 */
.s65-panel.is-correct {
  color: #dafff0;
  border-color: #59ebbb;
  background: linear-gradient(180deg, rgba(40, 165, 122, 0.96), rgba(20, 110, 90, 0.96));
  box-shadow: 0 0 40px rgba(89, 235, 187, 0.95), inset 0 0 18px rgba(120, 255, 200, 0.5);
  animation: s65-panel-open 0.5s ease;
}

@keyframes s65-panel-open {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); filter: brightness(1.5); }
  100% { transform: scale(1.02); }
}

/* 오답: 붉은 글리치 균열 */
.s65-panel.is-wrong {
  color: #ffd2d2;
  border-color: #ff6b6b;
  background: linear-gradient(180deg, rgba(172, 52, 62, 0.96), rgba(110, 24, 36, 0.96));
  box-shadow: 0 0 32px rgba(255, 70, 80, 0.9), inset 0 0 16px rgba(255, 90, 90, 0.5);
  animation: s65-panel-wrong 0.45s ease;
}

@keyframes s65-panel-wrong {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* --------------------------------------------------------- 분수 렌더 */

.s65-fraction { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.s65-int { font-size: 1em; font-weight: 950; line-height: 1; }
.s65-frac { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.s65-num, .s65-den { font-size: 0.56em; font-weight: 900; padding: 0 5px; }
.s65-num { border-bottom: 3px solid currentColor; padding-bottom: 3px; }
.s65-den { padding-top: 3px; }
.s65-op { font-size: 0.8em; font-weight: 950; color: #9edcff; padding: 0 4px; }

.s65-mc-goal .s65-int { font-size: 22px; }
.s65-mc-goal .s65-num, .s65-mc-goal .s65-den { font-size: 13px; }

/* --------------------------------------------------------- 판정/콤보 텍스트 */

.s65-judge-text {
  position: absolute;
  left: calc(50% + 60px);
  top: 700px;
  transform: translate(-50%, 10px);
  z-index: 33;
  font-size: 56px;
  font-weight: 950;
  letter-spacing: 0.03em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.s65-judge-text.is-show { animation: s65-judge-text 0.72s ease; }

@keyframes s65-judge-text {
  0% { opacity: 0; transform: translate(-50%, 24px) scale(0.7); visibility: visible; }
  25% { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
  70% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -14px) scale(1); visibility: visible; }
}

.s65-judge-text[data-kind="perfect"] { color: #8affc4; }
.s65-judge-text[data-kind="glitch"] { color: #ff7b7b; }
.s65-judge-text[data-kind="miss"] { color: #ffc46b; }
.s65-judge-text[data-kind="fast"] { color: #ffe14a; }

.s65-combo-pop {
  position: absolute;
  left: calc(50% + 60px);
  top: 644px;
  transform: translate(-50%, 0);
  z-index: 32;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: 0.06em;
  color: #ffe14a;
  text-shadow: 0 0 16px rgba(255, 200, 60, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.s65-combo-pop.is-show { animation: s65-combo-pop 0.76s ease; }

@keyframes s65-combo-pop {
  0% { opacity: 0; transform: translate(-50%, 14px) scale(0.8); visibility: visible; }
  30% { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -10px) scale(1); visibility: visible; }
}

/* --------------------------------------------------------- 토스트 / 결과 */

.s65-toast {
  position: absolute;
  left: calc(50% + 60px);
  top: 760px;
  transform: translate(-50%, -8px);
  padding: 12px 30px;
  border-radius: 14px;
  font-size: 26px;
  font-weight: 950;
  white-space: nowrap;
  color: #eaf6ff;
  background: rgba(7, 17, 31, 0.95);
  border: 1px solid rgba(120, 210, 255, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 32;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.s65-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s65-toast[data-type="bad"] { border-color: rgba(255, 120, 120, 0.75); color: #ffd2d2; }
.s65-toast[data-type="good"] { border-color: rgba(120, 255, 190, 0.75); color: #c7ffe6; }
.s65-toast .s65-toast-sub { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; opacity: 0.9; }

.s65-round-clear {
  position: absolute;
  left: calc(50% + 60px);
  top: 470px;
  transform: translate(-50%, 0);
  z-index: 34;
  padding: 20px 40px;
  text-align: center;
  border-radius: 18px;
  background: rgba(6, 14, 28, 0.96);
  border: 2px solid rgba(120, 255, 190, 0.65);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.s65-round-clear.is-visible { opacity: 1; visibility: visible; }
.s65-round-clear h3 { margin: 0 0 8px; color: #b6ffd9; font-size: 30px; font-weight: 950; }
.s65-round-clear p { margin: 2px 0; font-size: 19px; font-weight: 850; color: rgba(220, 235, 250, 0.92); }
/* --------------------------------------------------------- 도움말 */

.s65-help {
  position: absolute;
  left: 192px;
  bottom: 14px;
  z-index: 15;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(190, 214, 235, 0.7);
  background: rgba(7, 15, 28, 0.6);
  border: 1px solid rgba(120, 180, 220, 0.18);
  pointer-events: none;
}

/* --------------------------------------------------------- 오버레이 */

.s65-overlay {
  position: absolute;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 18, 0.74);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.s65-overlay.is-visible { opacity: 1; visibility: visible; }

.s65-overlay-card {
  padding: 40px 56px;
  border-radius: 22px;
  text-align: center;
  background: rgba(8, 20, 36, 0.97);
  border: 1px solid rgba(120, 210, 255, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: s65-card-pop 0.45s cubic-bezier(0.34, 1.5, 0.5, 1);
}

@keyframes s65-card-pop {
  from { transform: scale(0.82); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.s65-overlay-card h2 { margin: 0 0 18px; color: #eef7ff; font-size: 30px; font-weight: 950; line-height: 1.3; }
.s65-overlay-card p { margin: 0 0 18px; color: rgba(200, 222, 240, 0.8); font-size: 16px; }
.s65-clear-kicker { color: #7fe0ff; font-size: 17px; font-weight: 950; letter-spacing: 0.18em; margin: 0 0 12px; }
.s65-danger-title { color: #ff9a9a !important; }
.s65-clear-stats { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 6px; color: rgba(200, 222, 240, 0.92); font-size: 18px; font-weight: 850; }

.s65-overlay-actions { display: flex; gap: 14px; justify-content: center; }

.s65-btn {
  min-width: 150px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.s65-btn:hover { transform: translateY(-2px); }
.s65-btn-retry { color: #06121f; background: linear-gradient(180deg, #9bedff, #5fd0ff); border: 1px solid rgba(154, 240, 255, 0.7); }
.s65-btn-restart { color: #e6dcff; background: rgba(38, 28, 64, 0.92); border: 1px solid rgba(170, 140, 255, 0.42); }
.s65-btn-exit { color: #dbeeff; background: rgba(16, 34, 56, 0.9); border: 1px solid rgba(120, 200, 255, 0.32); }

/* --------------------------------------------------------- 고정 뷰포트 */

body.s65-fixed-viewport-active #game-root,
body.s65-fixed-viewport-active #game-shell { overflow: hidden; }
