/* 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(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); gap: clamp(0.4rem, 1.35vh, 0.85rem); } .loading-top { display: flex; flex-direction: column; align-items: center; gap: 0rem; width: 100%; max-width: min(95vw, 680px); } .loading-icon { width: auto; height: clamp(52px, 22vh, 223px); max-height: 22vh; object-fit: contain; filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.55)); } .loading-bar-wrap { --loading-bar-height: min(16.2vh, 141px); --loading-bar-fill-inset-x: 5.7%; --loading-bar-fill-inset-y: 25.5%; position: relative; width: calc(var(--loading-bar-height) * (658 / 141)); max-width: 95vw; height: var(--loading-bar-height); background: url(IMAGE/loading-bg.png) center / 100% 100% no-repeat; border: none; border-radius: 0; box-shadow: none; overflow: hidden; margin-top: -3rem; } .loading-bar-fill { position: absolute; left: var(--loading-bar-fill-inset-x); top: var(--loading-bar-fill-inset-y); bottom: var(--loading-bar-fill-inset-y); width: calc(100% - (var(--loading-bar-fill-inset-x) * 2)); background: url(IMAGE/loading.png) left center / 100% 100% no-repeat; border-radius: 4px; transform-origin: left center; transform: scaleX(var(--loading-fill-scale, 0)); } .loading-pct { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 100%; font-size: clamp(1.05rem, 3vw, 2.55rem); font-weight: 700; color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.45); } .loading-status-img { display: block; width: min(50vw, 380px); max-width: 92%; height: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.42)); margin-top: -1.2rem; } .loading-carousel { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0; width: 100%; max-width: min(96vw, 990px); } .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; display: block; } .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(54vh, 551px); display: flex; align-items: center; justify-content: center; } .loading-slide-img { display: block; max-width: min(96vw, 921px); max-height: min(54vh, 551px); width: auto; height: auto; object-fit: contain; filter: none; } .loading-page-ind { margin: -2.35rem 0 0; font-size: clamp(0.78rem, 1.8vw, 1.5rem); font-weight: 600; color: #7feeff; text-shadow: 0 0 10px rgba(102, 240, 255, 0.52); } .loading-skip { display: none; margin-top: 0.15rem; 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; } .loading-debug-freeze { /* display: block; */ display: none; position: fixed; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); z-index: 999; pointer-events: auto !important; padding: 0.35rem 0.65rem; border: 1px solid rgba(34, 211, 238, 0.55); border-radius: 8px; background: rgba(12, 24, 44, 0.72); color: #a5f3fc; font-family: inherit; font-size: 0.75rem; cursor: pointer; } .loading-debug-freeze:hover { filter: brightness(1.08); }