html, body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "微软雅黑", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 站点辅助样式 ---------- */

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(1100px 480px at 88% -12%, rgba(0, 152, 220, 0.28), transparent 62%), radial-gradient(900px 420px at 6% 112%, rgba(191, 215, 50, 0.16), transparent 60%), linear-gradient(135deg, #14161c 0%, #1a1e26 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 28%;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 18, 22, 0.94) 0%, rgba(16, 18, 22, 0.82) 45%, rgba(16, 18, 22, 0.42) 100%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(720px 400px at 70% 30%, #000 0%, transparent 75%);
}

.section-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    border: 1px solid transparent;
}

    .section-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0, 152, 220, 0.45);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    }

.stat-card {
    height: 100%;
    border-left: 3px solid var(--mud-palette-primary);
}

.fact-table td {
    padding: 6px 12px;
    vertical-align: top;
}


    .fact-table td:first-child {
        white-space: nowrap;
        opacity: 0.65;
    }

.logo-preview {
    max-width: 100%;
    max-height: 10rem;
    width: auto;
    height: auto;
    display: block;
}
/* ---------- Blazor 加载与错误 UI ---------- */

#blazor-error-ui {
    color-scheme: light;
    background: rgba(30, 30, 45, 0.95);
    color: #f5f5f7;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    box-sizing: border-box;
    display: none;
    left: 50%;
    right: auto;
    bottom: 1rem;
    width: min(52rem, calc(100vw - 2rem));
    transform: translateX(-50%);
    padding: 0.85rem 4rem 0.85rem 1rem;
    position: fixed;
    z-index: 2000;
}

    #blazor-error-ui .reload {
        color: #4fc0f0;
        font-weight: 600;
        margin-left: 0.5rem;
        text-decoration: none;
    }

        #blazor-error-ui .reload:hover {
            text-decoration: underline;
        }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.55rem;
        width: 1.75rem;
        height: 1.75rem;
        line-height: 1.65rem;
        text-align: center;
        border-radius: 999px;
        color: #d7d7df;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

        #blazor-error-ui .dismiss:hover {
            background: rgba(255, 255, 255, 0.12);
        }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "组件发生错误。";
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #2a2e37;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #0098dc;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: #9aa0a8;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "载入中…");
    }
