/* Loading screen (until Flutter shows its first frame). */
#loading{position:fixed;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:#1A110B radial-gradient(70% 520px at 50% -120px,rgba(240,178,110,.26),rgba(240,178,110,0) 70%);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#BFA993;transition:opacity .45s ease}
#loading.done{opacity:0;pointer-events:none}
#loading .lamp{position:relative;width:132px;height:110px;display:flex;align-items:center;justify-content:center}
#loading .lamp::before{content:"";position:absolute;inset:-60px;background:radial-gradient(circle at 50% 55%,rgba(255,196,128,.3),rgba(255,196,128,0) 62%);animation:glow 2.4s ease-in-out infinite}
#loading svg{position:relative;width:112px;height:93px}
#loading .r{stroke:#F0C389;animation:rays 2.4s ease-in-out infinite}
#loading .p{fill:#F6E7CF}#loading .s{stroke:#1A110B}#loading .e{stroke:#E0A458}
#loading .name{font:700 22px Georgia,"Times New Roman",serif;color:#F3E9DC;letter-spacing:-.01em}
#loading .hint{font-size:14px;margin-top:-12px}
/* light theme (set by the inline script of index.html: stored choice or local hour) */
html[data-theme=light] #loading{background:#F6EFE6 radial-gradient(70% 520px at 50% -120px,rgba(255,204,140,.55),rgba(240,178,110,0) 70%);color:#6B5443}
html[data-theme=light] #loading .lamp::before{background:radial-gradient(circle at 50% 55%,rgba(255,204,140,.55),rgba(255,204,140,0) 62%)}
html[data-theme=light] #loading .name{color:#2A1A10}
html[data-theme=light] #loading .r{stroke:#B07A2E}html[data-theme=light] #loading .p{fill:#6B3F22}html[data-theme=light] #loading .s{stroke:#F6EFE6}html[data-theme=light] #loading .e{stroke:#96600F}
@keyframes glow{0%,100%{opacity:.65;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
@keyframes rays{0%,100%{opacity:.75}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){#loading .lamp::before,#loading .r{animation:none}}
