body { padding: 0; margin: 0; background: #05060A }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* WAVAW 첫 로딩창 (2026-10-29) — 유니티 로고 대신 제목 + 3색 파동 + 진행 막대 + 팁 */
@font-face { font-family: 'W3270'; src: url('3270-Regular.ttf'); font-display: swap }
#wavaw-loading { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #0B1424 0%, #05060A 70%); color: #CFE9FF; font-family: 'W3270', system-ui, sans-serif;
  user-select: none; -webkit-user-select: none; transition: opacity .5s ease; overflow: hidden }
#wavaw-loading.done { opacity: 0; pointer-events: none }
#wavaw-title { font-size: clamp(48px, 16vmin, 120px); letter-spacing: .12em; padding-left: .12em; color: #E8FBFF;
  text-shadow: 0 0 6px #5CE6FF, 0 0 18px #5CE6FF, 0 0 42px #2E7BFF; animation: wavaw-pulse 2.4s ease-in-out infinite }
#wavaw-wave { width: min(82vw, 520px); height: 60px; margin: 6px 0 26px }
#wavaw-wave path { fill: none; stroke-width: 2.4; stroke-linecap: round; animation: wavaw-flow 2.2s linear infinite }
#wavaw-wave .b { stroke: #3D6BFF; filter: drop-shadow(0 0 4px #3D6BFF) }
#wavaw-wave .g { stroke: #21FF7A; filter: drop-shadow(0 0 4px #21FF7A); animation-duration: 3s }
#wavaw-wave .r { stroke: #FF5A21; filter: drop-shadow(0 0 4px #FF5A21); animation-duration: 3.8s }
#wavaw-bar { width: min(70vw, 420px); height: 3px; background: rgba(92, 230, 255, .15); border-radius: 2px; overflow: hidden }
#wavaw-bar-fill { width: 0%; height: 100%; background: #5CE6FF; box-shadow: 0 0 10px #5CE6FF; transition: width .25s ease-out }
#wavaw-percent { margin-top: 10px; font-size: 15px; letter-spacing: .2em; color: #7FB8D8 }
#wavaw-tip { position: absolute; left: 50%; bottom: max(9%, 48px); transform: translateX(-50%); width: min(86vw, 560px); box-sizing: border-box;
  padding: 14px 18px; border: 1px solid rgba(92, 230, 255, .35); border-radius: 10px; background: rgba(8, 18, 32, .72);
  box-shadow: 0 0 18px rgba(92, 230, 255, .12) inset; text-align: center; cursor: pointer }
#wavaw-tip-label { font-size: 13px; letter-spacing: .3em; color: #FFFF21; text-shadow: 0 0 8px rgba(255, 255, 33, .6); margin-bottom: 6px }
#wavaw-tip-text { font-family: system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; font-size: clamp(14px, 3.9vmin, 18px);
  line-height: 1.5; color: #E2F2FF; min-height: 3em; display: flex; align-items: center; justify-content: center; transition: opacity .35s ease; word-break: keep-all }
#wavaw-tip-text.fade { opacity: 0 }
#wavaw-version { position: absolute; right: 12px; bottom: 10px; font-size: 13px; letter-spacing: .08em; color: #6F90A8 }
@keyframes wavaw-pulse { 50% { text-shadow: 0 0 4px #5CE6FF, 0 0 12px #5CE6FF, 0 0 28px #2E7BFF } }
@keyframes wavaw-flow { to { transform: translateX(-120px) } }
