/* Bundled first paint: usable before Vue, fonts, or the network are ready. */
html { background: #f3f6f3; }
html[data-theme='dark'] { background: #06131a; }
.boot-screen { --boot-bg: #f3f6f3; --boot-card: #fff; --boot-text: #0d211b; --boot-muted: #5f7269; --boot-accent: #176b4a; --boot-border: #d7e1da; --boot-on: #fff; position: fixed; inset: 0; z-index: 9999; overflow: auto; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; background: var(--boot-bg); color: var(--boot-text); font-family: Vazirmatn, Tahoma, sans-serif; text-align: center; }
[data-theme='dark'] .boot-screen { --boot-bg: #06131a; --boot-card: #091a22; --boot-text: #f4f8f6; --boot-muted: #96aaa3; --boot-accent: #42d59b; --boot-border: #203b44; --boot-on: #03291c; }
.boot-card { width: min(100%, 420px); padding: 32px 24px; box-sizing: border-box; border: 1px solid var(--boot-border); border-radius: 26px; background: var(--boot-card); box-shadow: 0 18px 48px rgb(12 38 29 / 10%); }
.boot-court { width: 128px; height: 82px; margin: 0 auto 28px; position: relative; border: 2px solid var(--boot-accent); border-radius: 10px; background: color-mix(in srgb, var(--boot-accent) 9%, var(--boot-card)); }
.boot-court::before { content: ''; position: absolute; inset: 15px 0; border-block: 1px solid var(--boot-accent); opacity: .5; }
.boot-court::after { content: ''; position: absolute; inset: 0 50% 0 auto; border-left: 2px dashed var(--boot-accent); opacity: .6; }
.boot-ball { position: absolute; left: 12px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: #b7d840; border: 1px solid var(--boot-accent); animation: boot-rally 2.4s ease-in-out infinite; }
.boot-card h1 { margin: 0 0 12px; font-family: Vazirmatn, Tahoma, sans-serif; font-size: 24px; line-height: 1.7; }
.boot-card p { color: var(--boot-muted); font-size: 14px; line-height: 2; margin: 0 0 24px; }
.boot-actions { display: grid; gap: 12px; }
.boot-actions a { display: grid; gap: 4px; align-content: center; min-height: 52px; padding: 10px 16px; box-sizing: border-box; border: 1px solid var(--boot-border); border-radius: 14px; color: var(--boot-text); text-decoration: none; font-size: 14px; line-height: 1.8; }
.boot-actions .boot-retry { background: var(--boot-accent); color: var(--boot-on); border-color: var(--boot-accent); font-weight: 700; }
.boot-actions b { font-size: 20px; letter-spacing: .04em; }
.boot-actions a:focus-visible { outline: 3px solid var(--boot-accent); outline-offset: 3px; }
.boot-screen[hidden], .boot-screen [hidden] { display: none; }
.boot-screen[data-failed] .boot-ball { animation: none; }
@keyframes boot-rally { 0%, 100% { transform: translate(0, -12px); } 50% { transform: translate(84px, 22px); } }
@media (prefers-reduced-motion: reduce) { .boot-ball { animation: none; } }
