.app-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 16px;
    background: #111113;
    color: #9a9aa1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.app-loading-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.web-scanner {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    background: #000;
}

.web-scanner-view {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.web-scanner-hint {
    color: #fff;
    text-align: center;
}

.install-hint {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--tab-height, 64px) + 12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
}

.install-hint p {
    flex: 1;
    margin: 0;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
    background: #3a1c1c;
    color: #fff;
}

#blazor-error-ui .reload {
    color: #ff6a00;
    margin-left: 8px;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}
