html, body { margin: 0; min-height: 100%; background: #0A0910; color: #F4F2FA; }
/* фон темы до загрузки CSS — без «вспышки» Midnight при перезагрузке в другой теме */
html[data-theme=ink-neon], html[data-theme=ink-neon] body { background: #05050A; }
html[data-theme=ocean], html[data-theme=ocean] body { background: #06111C; }
html[data-theme=sakura-dusk], html[data-theme=sakura-dusk] body { background: #FBF2F6; color: #301020; }
html[data-theme=light-mint], html[data-theme=light-mint] body { background: #F5F3FB; color: #17141F; }
/* Экран загрузки в стиле редизайна: логотип Yutori2 (глаз + YUTORI + ユトリ · АНИМЕ ОНЛАЙН) по центру.
   Появляется с задержкой — при быстром старте его не видно вовсе. */
#yutori-boot {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60% 45% at 50% 42%, rgba(139, 92, 246, .16), transparent 70%);
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  opacity: 0; animation: yb-in .35s ease .25s forwards;
}
#yutori-boot .yb { display: flex; align-items: center; gap: 14px; }
#yutori-boot img { width: 76px; height: auto; filter: drop-shadow(0 0 14px rgba(255, 59, 92, .3)); }
#yutori-boot b { display: block; font-size: 30px; font-weight: 800; letter-spacing: .16em; line-height: 1; }
#yutori-boot small { display: block; margin-top: 7px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #FF3B5C; }
#yutori-boot i { position: absolute; left: 50%; bottom: 18%; width: 120px; height: 3px; margin-left: -60px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.08); }
#yutori-boot i::after { content: ''; position: absolute; inset: 0; width: 40%; border-radius: 3px; background: linear-gradient(90deg, #8B5CF6, #EC4899); animation: yb-bar 1.1s ease-in-out infinite; }
html[data-theme=light-mint] #yutori-boot img { filter: invert(1) hue-rotate(180deg); }
@keyframes yb-in { to { opacity: 1; } }
@keyframes yb-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { #yutori-boot { animation: none; opacity: 1; } #yutori-boot i::after { animation: none; } }
