/* CSS splash: zobrazí se okamžitě, než se stáhne a spustí WebAssembly. Musí být samostatný a nezávislý na ostatních souborech. */
html, body {
    margin: 0;
    background: #231651;
}

.tt-splash {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 20px;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(120% 80% at 50% 0, #33207a, #231651);
}

.tt-splash__mark {
    width: 112px;
    height: auto;
    filter: drop-shadow(0 6px 0 #150c33);
    animation: tt-splash-bob 1.6s ease-in-out infinite;
}

.tt-splash__text {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.tt-splash__dots i {
    font-style: normal;
    animation: tt-splash-dot 1.2s infinite;
}

.tt-splash__dots i:nth-child(2) { animation-delay: .2s; }
.tt-splash__dots i:nth-child(3) { animation-delay: .4s; }

@keyframes tt-splash-bob {
    50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes tt-splash-dot {
    0%, 60%, 100% { opacity: .2; }
    30% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .tt-splash__mark, .tt-splash__dots i { animation: none; }
}

/* Chybová lišta Blazoru (neodchycená výjimka). */
#blazor-error-ui {
    display: none;
    background: #fff8ec;
    color: #1e1239;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    position: fixed;
    z-index: 1000;
    font-family: system-ui, sans-serif;
    font-weight: 600;
    border-top: 3px solid #1e1239;
}

#blazor-error-ui:not([hidden]) { display: block; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; padding: 0 8px; }
#blazor-error-ui a { color: #b3123f; margin-left: 8px; }
