/* Transition loading — assets /Loading/IMAGE */ * { box-sizing: border-box; } html { min-height: 100%; -webkit-text-size-adjust: 100%; } body.loading-page { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; font-family: 'Kanit', 'Sarabun', system-ui, sans-serif; color: #e2e8f0; background: #0a0518; } .loading-bg { position: fixed; inset: 0; z-index: 0; background: url(IMAGE/BG-loading.png) center / cover no-repeat, radial-gradient(ellipse 80% 60% at 50% 20%, rgba(88, 28, 135, 0.35), transparent 55%), #0a0518; pointer-events: none; } .loading-ui { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); gap: clamp(0.75rem, 2.5vh, 1.25rem); } .loading-top { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; width: 100%; max-width: min(92vw, 420px); } .loading-icon { width: clamp(56px, 14vw, 88px); height: auto; object-fit: contain; filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.65)); } .loading-bar-wrap { position: relative; width: 100%; height: clamp(36px, 8vw, 44px); border-radius: 6px; border: 2px solid transparent; background: linear-gradient(#1a1030, #1a1030) padding-box, linear-gradient(90deg, #22d3ee, #e879f9, #22d3ee) border-box; box-shadow: 0 0 18px rgba(236, 72, 153, 0.45), 0 0 24px rgba(34, 211, 238, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.35); overflow: hidden; } .loading-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: linear-gradient(90deg, rgba(168, 85, 247, 0.85), rgba(236, 72, 153, 0.9)); border-radius: 4px 0 0 4px; } .loading-pct { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 100%; font-size: clamp(0.95rem, 2.8vw, 1.15rem); font-weight: 700; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.5); } .loading-status { margin: 0; font-size: clamp(0.88rem, 2.2vw, 1.05rem); font-weight: 600; color: #67e8f9; text-align: center; text-shadow: 0 0 14px rgba(34, 211, 238, 0.55); letter-spacing: 0.02em; } .loading-carousel { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: clamp(4px, 1.2vw, 12px); width: 100%; max-width: min(96vw, 920px); } .loading-arrow { flex-shrink: 0; padding: 0; border: none; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.15s, filter 0.2s; } .loading-arrow:hover, .loading-arrow:focus-visible { transform: scale(1.06); filter: brightness(1.1); } .loading-arrow:focus-visible { outline: 2px solid #22d3ee; outline-offset: 4px; } .loading-arrow img { display: block; width: clamp(36px, 8vw, 52px); height: auto; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5)); } .loading-slide-frame { flex: 1; min-width: 0; max-height: min(52vh, 520px); display: flex; align-items: center; justify-content: center; } .loading-slide-img { display: block; max-width: 100%; max-height: min(52vh, 520px); width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45)); } .loading-page-ind { margin: 0; font-size: clamp(0.8rem, 2vw, 0.95rem); font-weight: 600; color: rgba(248, 250, 252, 0.9); text-shadow: 0 0 10px rgba(34, 211, 238, 0.35); } .loading-skip { margin-top: 0.25rem; padding: 0.4rem 1rem; border: 1px solid rgba(148, 163, 184, 0.45); border-radius: 8px; background: rgba(15, 23, 42, 0.65); color: #94a3b8; font-family: inherit; font-size: 0.85rem; cursor: pointer; } .loading-skip:hover { border-color: #22d3ee; color: #e2e8f0; }