body { margin: 0; background: #16264a; }
#loading { position: fixed; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 35%, #3c63a8, #16264a 70%); font: 700 18px 'Trebuchet MS', system-ui, sans-serif; }
#loading[hidden] { display: none; }
#loadlogo { width: min(420px, 82vw); height: auto; animation: hop 0.9s ease-in-out infinite alternate; }
#track { width: min(320px, 76vw); height: 18px; border-radius: 9px; overflow: hidden; background: #0b1733; border: 3px solid #fff; }
#bar { width: 100%; height: 100%; transform: scaleX(0.05); transform-origin: left; transition: transform 0.2s; background: repeating-linear-gradient(120deg, #e0303f 0 14px, #fff 14px 28px); }
@keyframes hop { to { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { #loadlogo { animation: none; } }
#rotate { display: none; }
@media (orientation: portrait) and (pointer: coarse) {
  #rotate { position: fixed; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 35%, #3c63a8, #16264a 70%); font: 18px 'Trebuchet MS', system-ui, sans-serif; }
  #rotate i { font-style: normal; font-size: 84px; animation: turn 2.4s ease-in-out infinite; }
  #rotate b { font-size: 26px; }
  #rotate a { color: #ffe27a; }
}
@keyframes turn { 0%, 25% { transform: none; } 60%, 100% { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { #rotate i { animation: none; transform: rotate(-90deg); } }
