html, body {
    margin: 0;
    padding: 0;
    font-family: "JetBrains Mono", Consolas, monospace;
}

#app {
    min-height: 100vh;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 1rem;
    background: #1c2630;
    color: #e0e8f0;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #3d5260;
    border-top-color: #8cafc4;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

.loading-text {
    font-size: 1.1rem;
    letter-spacing: .04em;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

#blazor-error-ui {
    background: #2c1c1c;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #f0d0d0;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.holder-mono {
    font-family: "JetBrains Mono", Consolas, monospace;
    word-break: break-all;
}

.holder-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(140, 175, 196, .45);
}

.holder-empty {
    text-align: center;
    padding: 3rem 1rem;
}
