body { padding: 0; margin: 0; overflow: hidden; }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #231F20 }
#unity-loading-bar { position: absolute; left: 50%; top: 50%;  display: none; background-image: url('bg_gate.png'); }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* 캡처 결과 UI 스타일 */
.capture-result-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.capture-result-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 1;
}

.capture-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000099;
  backdrop-filter: blur(25px) brightness(100%);
  -webkit-backdrop-filter: blur(25px) brightness(100%);
  z-index: 2;
}

.capture-result-image {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  max-height: 72.5vh;
  width: 75vw;
  height: auto;
  object-fit: contain;
  z-index: 3;
}

.capture-result-buttons {
  position: fixed;
  bottom: max(8.9vh, 120px);
  display: flex;
  gap: 0;
  z-index: 4;
  width: 75vw;
}

.btn-sub {
  display: flex;
  width: max(28.8vw, 108px);
  height: max(6.9vh, 56px);
  align-items: center;
  gap: max(2.1vw, 8px);
  padding: max(4.3vw, 16px);
  background-color: #06204c;
  border-radius: 0 0 0 max(1.3vw, 5px);
  cursor: pointer;
  transition: 0.1s;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

.btn-sub:hover {
  filter: brightness(1.15);
}

.btn-sub:active {
  transform: scale(0.95);
  filter: brightness(0.85);
}

.btn-sub .text-wrapper {
  position: relative;
  flex: 1;
  font-family: Pretendard;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0%;
  line-height: 16px;
  white-space: nowrap;
}

.btn-sub .img-2 {
  position: relative;
  width: max(6.4vw, 24px);
  height: max(6.4vw, 24px);
  flex-shrink: 0;
}

.capture-result-buttons .button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  height: max(6.9vh, 56px);
  align-items: center;
  gap: max(2.1vw, 8px);
  padding: max(4.3vw, 16px);
  background-color: #ffffff;
  border-radius: 0 0 max(1.3vw, 5px) 0;
  cursor: pointer;
  transition: 0.1s;
  user-select: none;
  -webkit-user-select: none;
}

.capture-result-buttons .button:hover {
  filter: brightness(0.95);
}

.capture-result-buttons .button:active {
  transform: scale(0.95);
  filter: brightness(0.85);
}

.capture-result-buttons .button .text-wrapper-2 {
  position: relative;
  flex: 1;
  font-family: Pretendard;
  font-weight: 700;
  color: #06204c;
  font-size: 16px;
  letter-spacing: 0%;
  line-height: 16px;
  white-space: nowrap;
}

.capture-result-buttons .button .img-2 {
  position: relative;
  width: max(6.4vw, 24px);
  height: max(6.4vw, 24px);
  flex-shrink: 0;
}

.btn-main {
  position: fixed;
  bottom: max(1.97vh, 30px);
  display: flex;
  align-items: center;
  gap: max(4.3vw, 16px);
  padding: max(4.3vw, 16px);
  background-color: #e52d12;
  border-radius: max(1.3vw, 5px);
  cursor: pointer;
  transition: 0.1s;
  user-select: none;
  -webkit-user-select: none;
  z-index: 4;
  box-sizing: border-box;
  width: 75vw;
}

.btn-main:hover {
  filter: brightness(1.1);
}

.btn-main:active {
  transform: scale(0.98);
  filter: brightness(0.9);
}

.btn-main .text-wrapper-3 {
  position: relative;
  flex: 1;
  font-family: Pretendard;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0%;
  line-height: 16px;
  white-space: nowrap;
}

.btn-main .img-2 {
  position: relative;
  width: max(6.4vw, 24px);
  height: max(6.4vw, 24px);
  flex-shrink: 0;
}
