html.unsupported-browser #app-shell-root {
    display: none !important;
}

.unsupported-browser-fallback[hidden] {
    display: none !important;
}

.unsupported-browser-fallback {
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, #408D93 0%, #4f9db3 22%, #d4cf69 56%, #efefef 86%, #efefef 100%);
}

.unsupported-browser-card {
    width: min(34rem, 100%);
    padding: 2rem 1.5rem;
    border-radius: 28px;
    background: rgba(255, 254, 250, 0.96);
    border: 1px solid rgba(14, 73, 93, 0.12);
    box-shadow: 0 28px 60px rgba(14, 73, 93, 0.18);
    text-align: center;
    color: #232b2b;
}

.unsupported-browser-logo {
    width: min(12rem, 62vw);
    height: auto;
    margin-bottom: 1.5rem;
}

.unsupported-browser-card h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.15;
    color: #0e495d;
}

.unsupported-browser-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.unsupported-browser-detail {
    margin-top: 1rem !important;
    color: #0e495d;
    font-weight: 600;
}

.unsupported-browser-steps {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    display: grid;
    gap: 0.75rem;
}

.unsupported-browser-step {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #f7f4ea;
    border: 1px solid rgba(14, 73, 93, 0.1);
}

.unsupported-browser-english {
    margin-top: 1.25rem !important;
    color: #58605f;
    font-size: 0.95rem !important;
}

.route-error-fallback {
    min-height: 100vh;
    padding: 1.5rem 1rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:
        linear-gradient(180deg, #408D93 0%, #4f9db3 22%, #d4cf69 56%, #efefef 86%, #efefef 100%);
}

.route-error-card {
    width: min(52rem, 100%);
    margin-top: 0.5rem;
    padding: 1.35rem 1.1rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 254, 250, 0.97);
    border: 1px solid rgba(14, 73, 93, 0.14);
    box-shadow: 0 22px 48px rgba(14, 73, 93, 0.16);
    color: #232b2b;
}

.route-error-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0e495d;
}

.route-error-card h1 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.12;
    color: #0e495d;
}

.route-error-card p {
    margin: 0.7rem 0 0;
    line-height: 1.55;
}

.route-error-chip {
    margin-top: 0.9rem;
    display: inline-flex;
    max-width: 100%;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #f3f0e6;
    border: 1px solid rgba(14, 73, 93, 0.12);
    color: #173c47;
    font-size: 0.88rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.route-error-details {
    margin-top: 1rem;
    border-radius: 18px;
    background: #f7f4ea;
    border: 1px solid rgba(14, 73, 93, 0.1);
    overflow: hidden;
}

.route-error-details summary {
    cursor: pointer;
    padding: 0.8rem 0.95rem;
    font-weight: 700;
    color: #0e495d;
}

.route-error-details pre {
    margin: 0;
    padding: 0 0.95rem 0.95rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: min(50vh, 28rem);
    overflow: auto;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #1f2b31;
}

.route-error-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.route-error-button,
.route-error-link {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.route-error-button {
    background: #f39a32;
    color: #1d1306;
    box-shadow: 0 12px 24px rgba(243, 154, 50, 0.24);
}

.route-error-link {
    background: rgba(14, 73, 93, 0.08);
    color: #0e495d;
    border: 1px solid rgba(14, 73, 93, 0.12);
}

.route-error-button:focus-visible,
.route-error-link:focus-visible {
    outline: 3px solid rgba(243, 154, 50, 0.4);
    outline-offset: 2px;
}
