/* Standalone startup screen: available before the Blazor runtime and theme. */
.farm-boot {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    box-sizing: border-box;
    overflow: auto;
    padding: 48px 24px;
    color: #164c37;
    background: radial-gradient(ellipse at 15% 10%, #e2eddb 0, transparent 55%),
        radial-gradient(ellipse at 90% 90%, #ebefd9 0, transparent 50%), #f7f9f3;
    font-family: var(--app-font-family, system-ui, sans-serif);
    text-align: center;
}
.farm-boot-content { width: min(100%, 520px); margin-block: auto; animation: farm-boot-enter .7s ease-out both; }
.farm-boot-mark { position: relative; width: 144px; height: 144px; margin: 0 auto 36px; }
.farm-boot-mark::before {
    content: ""; position: absolute; inset: 14px; border: 1px solid #d0dfcd; border-radius: 35px;
    background: linear-gradient(145deg, #fff, #e9f0e2); box-shadow: 0 18px 42px #164c3712, inset 0 1px #fff;
    transform: rotate(-8deg);
}
.farm-boot-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: farm-boot-spin 5s linear infinite; }
.farm-boot-orbit circle { fill: none; stroke: #76ad0e; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 60 355; }
.farm-boot-logo { position: absolute; inset: 24px; width: 96px; height: 96px; border-radius: 18px; object-fit: contain; animation: farm-boot-breathe 3s ease-in-out infinite; }
.farm-boot-eyebrow { margin: 0 0 14px; color: #617b59; font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.adw-app .farm-boot h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; }
.farm-boot h1 span { display: inline-block; margin-left: 5px; padding: 3px 9px; border: 1px solid #c8dac0; border-radius: 8px; color: #487820; background: #edf3e6; font-size: .42em; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.farm-boot-description { margin: 16px 0 32px; color: #637269; font-size: 14px; line-height: 1.6; }
.farm-boot-progress { width: min(72%, 260px); height: 3px; overflow: hidden; margin: 0 auto; border-radius: 4px; background: #dce5d7; }
.farm-boot-progress span { display: block; width: var(--blazor-load-percentage, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #236344, #76ad0e); transition: width .2s ease; }
.farm-boot-percentage { min-height: 18px; margin: 10px 0 0; color: #70806e; font-size: 11px; font-variant-numeric: tabular-nums; }
.farm-boot-percentage::after { content: var(--blazor-load-percentage-text, "Načítání aplikace…"); }
.farm-boot-signature { margin: 0; color: #7b8879; font-size: 11px; letter-spacing: .06em; }
.farm-boot-signature span { margin-inline: 8px; color: #76ad0e; }
@keyframes farm-boot-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes farm-boot-spin { to { transform: rotate(360deg); } }
@keyframes farm-boot-breathe { 50% { transform: translateY(-3px); } }
@media (max-height: 480px) { .farm-boot { justify-content: flex-start; gap: 16px; padding-block: 16px; } .farm-boot-mark { margin-bottom: 16px; width: 80px; height: 80px; } .farm-boot-mark::before { inset: 8px; border-radius: 22px; } .farm-boot-logo { inset: 16px; width: 48px; height: 48px; border-radius: 10px; } .farm-boot-eyebrow { margin-bottom: 8px; font-size: 9px; } .adw-app .farm-boot h1 { font-size: 28px; } .farm-boot-description { margin: 8px 0 16px; } }
@media (prefers-reduced-motion: reduce) { .farm-boot-content, .farm-boot-orbit, .farm-boot-logo { animation: none; } .farm-boot-progress span { transition: none; } }
