/* ==================================================================
   美育课程一体化教学管理平台 全局样式
   主题：中国红 #9E1F1B / 靛青 #1F3A5F / 米金 #C8A45D
   ================================================================== */

:root {
    --c-red: #9E1F1B;
    --c-red-dark: #7d1714;
    --c-red-light: #c8453f;
    --c-blue: #1F3A5F;
    --c-blue-dark: #15293f;
    --c-blue-light: #34547a;
    --c-gold: #C8A45D;
    --c-gold-light: #e0c386;
    --c-cream: #faf6ee;
    --c-paper: #f7f3ea;
    --c-ink: #2b2b2b;
    --c-muted: #8a8578;
    --c-border: #e7dfd0;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    --shadow-soft: 0 2px 12px rgba(31, 58, 95, 0.08);
    --shadow-card: 0 4px 18px rgba(31, 58, 95, 0.10);
    --radius: 8px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--c-ink);
    background: var(--c-cream);
    font-size: 14px;
}

h1, h2, h3, h4, h5, .serif {
    font-family: var(--font-serif);
    color: var(--c-blue-dark);
}

a { text-decoration: none; color: var(--c-blue); }
a:hover { color: var(--c-red); }

/* ============ 门户 ============ */
.portal-topbar {
    background: linear-gradient(90deg, var(--c-red-dark), var(--c-red) 55%, #b3302a);
    color: #fff;
    font-size: 13px;
}
.portal-topbar a { color: #f4e3c0; }
.portal-nav {
    background: #fff;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.portal-nav .navbar-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-red) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-seal {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--c-red), var(--c-red-dark));
    color: var(--c-gold-light);
    font-family: var(--font-serif);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: inset 0 0 0 2px rgba(200,164,93,.55);
}
.portal-nav .nav-link {
    color: var(--c-blue-dark) !important;
    font-weight: 600;
    padding: 20px 16px !important;
    position: relative;
}
.portal-nav .nav-link:hover,
.portal-nav .nav-link.active {
    color: var(--c-red) !important;
}
.portal-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-gold);
}

/* 祥云剪纸纹理横幅 */
.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
}
.hero-carousel .carousel-caption {
    display: none;
}
.hero-carousel .hero-title {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
    letter-spacing: 3px;
}
.hero-carousel .hero-sub {
    font-size: 17px;
    color: #f6ecd6;
    margin-top: 12px;
    max-width: 720px;
    line-height: 1.9;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border-radius: 2px;
}
.cloud-band {
    position: relative;
}
.cloud-band::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 26px;
    background-image:
        radial-gradient(circle at 18px 26px, rgba(200,164,93,.28) 12px, transparent 13px),
        radial-gradient(circle at 60px 26px, rgba(200,164,93,.20) 10px, transparent 11px),
        radial-gradient(circle at 104px 26px, rgba(200,164,93,.28) 12px, transparent 13px);
    background-size: 124px 26px;
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin: 46px 0 26px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding: 0 26px;
}
.section-title h2::before,
.section-title h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-gold));
}
.section-title h2::before { right: 100%; }
.section-title h2::after { left: 100%; background: linear-gradient(90deg, var(--c-gold), transparent); }
.section-title p { color: var(--c-muted); margin-top: 8px; }

.card-soft {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* 门户特色卡 */
.feature-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 26px 18px;
    height: 100%;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--c-gold);
}
.feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: linear-gradient(145deg, #fff5e3, #f3e4c2);
    color: var(--c-red);
    box-shadow: inset 0 0 0 2px rgba(200,164,93,.4);
}
.feature-card h5 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--c-muted); font-size: 13px; margin: 0; line-height: 1.8; }

/* 数据条 */
.stat-strip {
    background:
        linear-gradient(120deg, rgba(158,31,27,.95), rgba(31,58,95,.95)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px);
    color: #fff;
    border-radius: var(--radius);
}
.stat-strip .num {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--c-gold-light);
}
.stat-strip .lab { color: #e8dcc4; font-size: 13px; }

/* 门户资源卡 */
.portal-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.portal-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.portal-card .thumb {
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.portal-card .tag-corner {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(158,31,27,.88);
    color: #fff;
}
.portal-card .tag-corner.blue { background: rgba(31,58,95,.9); }
.portal-card .tag-corner.gold { background: rgba(200,164,93,.95); color: #3d2f10; }
.portal-card .body { padding: 14px 16px 16px; }
.portal-card .body h6 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.portal-card .meta { font-size: 12px; color: var(--c-muted); }
.portal-card .desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 专题入口 */
.topic-heritage {
    background: linear-gradient(135deg, #9E1F1B, #c04b3c);
    color: #fff;
}
.topic-red {
    background: linear-gradient(135deg, #1F3A5F, #35587f);
    color: #fff;
}
.topic-fusion {
    background: linear-gradient(135deg, #8a6a26, #C8A45D);
    color: #fff;
}
.topic-box {
    border-radius: var(--radius);
    padding: 34px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.topic-box h4 { color: #fff; font-size: 22px; }
.topic-box p { opacity: .9; font-size: 13px; line-height: 1.8; margin: 10px 0 16px; }
.topic-box .topic-pattern {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 130px;
    opacity: .14;
}
.btn-gold {
    background: linear-gradient(145deg, var(--c-gold-light), var(--c-gold));
    border: none;
    color: #3a2c10;
    font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.05); color: #3a2c10; }

/* 公告 */
.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li {
    padding: 12px 4px;
    border-bottom: 1px dashed var(--c-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--c-red); flex: none;
}
.notice-list a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notice-list .date { color: var(--c-muted); font-size: 12px; flex: none; }
.notice-list .top-flag {
    background: var(--c-red); color: #fff; font-size: 11px;
    padding: 0 6px; border-radius: 3px; flex: none;
}

footer.site-footer {
    margin-top: 60px;
    background: var(--c-blue-dark);
    color: #c7d2e2;
    font-size: 13px;
}
footer.site-footer a { color: #9db3cc; }
.footer-gold-line { height: 4px; background: linear-gradient(90deg, var(--c-red), var(--c-gold) 50%, var(--c-red)); }

/* ============ 登录注册 ============ */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    background:
        linear-gradient(120deg, rgba(158,31,27,.92), rgba(31,58,95,.93)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 46px);
}
.auth-card {
    margin: auto;
    width: 920px;
    max-width: 94%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.auth-left {
    width: 42%;
    background:
        radial-gradient(circle at 20% 15%, rgba(200,164,93,.35), transparent 40%),
        linear-gradient(160deg, var(--c-red), var(--c-blue-dark));
    color: #fff;
    padding: 44px 34px;
    display: flex;
    flex-direction: column;
}
.auth-left h3 { color: #fff; font-size: 24px; line-height: 1.5; }
.auth-left .auth-seal {
    width: 64px; height: 64px; border-radius: 8px;
    background: rgba(255,255,255,.12);
    border: 2px solid var(--c-gold);
    color: var(--c-gold-light);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 30px; font-weight: 700;
    margin-bottom: 26px;
}
.auth-left p { color: #e4dccb; font-size: 13px; line-height: 2; margin-top: auto; }
.auth-right { flex: 1; padding: 40px 44px; }
.auth-tabs { display: flex; border-bottom: 2px solid var(--c-border); margin-bottom: 24px; }
.auth-tabs a {
    padding: 8px 4px;
    margin-right: 28px;
    font-weight: 600;
    color: var(--c-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.auth-tabs a.active { color: var(--c-red); border-bottom-color: var(--c-red); }

/* ============ 后台布局 ============ */
.admin-body { background: #f2f4f7; }
.admin-header {
    height: 56px;
    background: linear-gradient(90deg, var(--c-blue-dark), var(--c-blue) 70%, var(--c-blue));
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.admin-header .a-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 230px;
}
.admin-header .a-brand .brand-seal { width: 32px; height: 32px; font-size: 16px; }
.admin-header .a-title { font-size: 14px; color: #c3d2e6; }
.admin-header .spacer { flex: 1; }
.admin-header .a-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.admin-header .a-user .avatar-sm {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--c-gold); color: #2c230f;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    overflow: hidden;
}
.admin-header .a-user .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.admin-header .dropdown-menu { font-size: 13px; }

.admin-wrap { display: flex; align-items: flex-start; }
.admin-sidebar {
    width: 230px;
    flex: none;
    background: #15293f;
    min-height: calc(100vh - 56px);
    padding: 12px 0 30px;
    position: sticky;
    top: 56px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}
.admin-sidebar .menu-group-title {
    color: #6f86a3;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 14px 20px 6px;
}
.admin-sidebar a.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c1cfdf;
    padding: 9px 20px;
    font-size: 13.5px;
    border-left: 3px solid transparent;
}
.admin-sidebar a.menu-item:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}
.admin-sidebar a.menu-item.active {
    background: linear-gradient(90deg, rgba(158,31,27,.85), rgba(158,31,27,.35));
    color: #fff;
    border-left-color: var(--c-gold);
    font-weight: 600;
}
.admin-sidebar a.menu-item .mi-icon { width: 18px; text-align: center; flex: none; }

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 18px;
}
.page-head {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}
.page-head h4 { margin: 0; font-size: 19px; }
.breadcrumb-strip { font-size: 12.5px; color: var(--c-muted); }
.breadcrumb-strip a { color: var(--c-blue-light); }

.panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid #e9edf2;
    margin-bottom: 16px;
}
.panel-body { padding: 18px; }
.panel-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 18px;
    border-bottom: 1px solid #eef1f4;
    display: flex;
    align-items: center;
    gap: 8px;
}
.panel-title::before {
    content: "";
    width: 4px; height: 15px; border-radius: 2px;
    background: linear-gradient(var(--c-red), var(--c-gold));
}

/* 查询条 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 14px 18px;
    background: #fbfaf7;
    border-bottom: 1px solid #eef1f4;
}
.filter-bar .form-control,
.filter-bar .form-select {
    font-size: 13px;
    padding: 6px 10px;
    min-width: 130px;
}
.filter-bar .form-control.keyword { min-width: 210px; }
.filter-bar .spacer { flex: 1; }

/* 表格 */
.table thead th {
    background: #f5f3ee;
    color: var(--c-blue-dark);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid #e7e0d1;
}
.table td { font-size: 13px; vertical-align: middle; }
.table tbody tr:hover { background: #fdfaf3; }
.table .col-actions { white-space: nowrap; text-align: right; }
.table .col-actions .btn { padding: 2px 8px; font-size: 12px; }
.cell-main { font-weight: 600; color: var(--c-blue-dark); }
.cell-sub { font-size: 12px; color: var(--c-muted); }
.thumb-mini {
    width: 56px; height: 40px;
    border-radius: 4px;
    object-fit: cover;
    background: #eee;
    border: 1px solid var(--c-border);
}

/* 分页条 */
.pager-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 8px;
}
.pager-info { color: var(--c-muted); font-size: 12.5px; }
.pagination .page-link { color: var(--c-blue); font-size: 12.5px; }
.pagination .page-item.active .page-link {
    background: var(--c-red);
    border-color: var(--c-red);
}

/* 数据卡 */
.dash-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e9edf2;
    height: 100%;
}
.dash-card .dc-icon {
    width: 52px; height: 52px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; flex: none;
}
.dc-red { background: linear-gradient(145deg, #b03933, var(--c-red)); }
.dc-blue { background: linear-gradient(145deg, #2f537c, var(--c-blue)); }
.dc-gold { background: linear-gradient(145deg, #d4b06b, #b08d3f); }
.dc-green { background: linear-gradient(145deg, #3f8a5d, #2c6e47); }
.dc-purple { background: linear-gradient(145deg, #6d4c8f, #543a70); }
.dc-teal { background: linear-gradient(145deg, #2e7d7b, #1f5d5b); }
.dash-card .dc-num {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--c-blue-dark);
    line-height: 1.1;
}
.dash-card .dc-lab { color: var(--c-muted); font-size: 12.5px; }

/* 按钮主题 */
.btn-red {
    background: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
}
.btn-red:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); color: #fff; }
.btn-blue {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: #fff;
}
.btn-blue:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); color: #fff; }
.btn-outline-gold {
    border-color: var(--c-gold);
    color: #8a6a26;
}
.btn-outline-gold:hover { background: var(--c-gold); color: #fff; }

/* 表单 */
.form-label { font-size: 13px; font-weight: 600; color: #41464d; }
.form-control, .form-select { font-size: 13.5px; }
.required::before { content: "* "; color: var(--c-red); }
.form-hint { font-size: 12px; color: var(--c-muted); }
.radio-line label { margin-right: 18px; font-weight: normal; }

/* 徽章扩展 */
.badge.bg-heritage { background: var(--c-red) !important; }
.badge.bg-redcult { background: var(--c-blue) !important; }
.badge.bg-fusion { background: var(--c-gold) !important; color: #3a2c10 !important; }
.badge.bg-public { background: #6c7a89 !important; }

/* 详情页 */
.detail-cover {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 14px 0;
    font-size: 13.5px;
    color: #555;
}
.detail-meta b { color: var(--c-blue-dark); }
.detail-content {
    font-size: 14.5px;
    line-height: 2.1;
    color: #333;
}
.detail-content p { margin-bottom: 12px; text-indent: 2em; }
.detail-content img { max-width: 100%; border-radius: 6px; margin: 8px 0; }

.stage-steps {
    display: flex;
    gap: 0;
    margin: 8px 0 4px;
    flex-wrap: wrap;
}
.stage-steps .step {
    flex: 1;
    min-width: 110px;
    text-align: center;
    padding: 10px 6px;
    background: #f5f3ee;
    border-right: 2px solid #fff;
    font-size: 13px;
    color: var(--c-blue-dark);
    position: relative;
}
.stage-steps .step:first-child { border-radius: 6px 0 0 6px; }
.stage-steps .step:last-child { border-radius: 0 6px 6px 0; border-right: none; }
.stage-steps .step .n {
    display: inline-block;
    width: 22px; height: 22px; line-height: 22px;
    border-radius: 50%;
    background: var(--c-red);
    color: #fff;
    font-size: 12px;
    margin-right: 6px;
}

/* 作品展厅 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 18px;
}
.work-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.work-card .work-cover {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.work-card .excellent-flag {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(145deg, var(--c-gold), #a8842f);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
}
.work-card .work-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.work-card h6 { font-family: var(--font-serif); font-size: 15px; margin-bottom: 6px; }
.work-card .work-meta { font-size: 12px; color: var(--c-muted); margin-top: auto; }
.score-circle {
    display: inline-block;
    width: 42px; height: 42px; line-height: 42px;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    font-family: var(--font-serif);
    color: #fff;
}
.score-a { background: linear-gradient(145deg, #c8453f, var(--c-red)); }
.score-b { background: linear-gradient(145deg, #3f8a5d, #2c6e47); }
.score-c { background: linear-gradient(145deg, #9a9a9a, #7c7c7c); }
.score-pending { background: #d9d2c2; color: #6b6252; font-size: 12px; }

.like-btn { cursor: pointer; user-select: none; }
.like-btn:hover { color: var(--c-red); }

/* 评价维度 */
.dim-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dim-row .dim-name { width: 96px; flex: none; font-size: 13px; font-weight: 600; }
.dim-row .form-range { flex: 1; }
.dim-row .dim-val {
    width: 52px; flex: none; text-align: right;
    font-family: var(--font-serif); font-weight: 700; color: var(--c-red);
}
.radar-box { height: 360px; }
.chart-box { height: 300px; }

/* 提示消息 */
#toast-area {
    position: fixed;
    top: 70px;
    right: 18px;
    z-index: 2000;
}
#toast-area .toast { min-width: 260px; }

.flash-msg { margin-bottom: 12px; }

/* 用户头像 */
.avatar-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-gold);
    color: #2c230f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 84px; height: 84px; font-size: 30px; }

/* 工作台待办 */
.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li {
    padding: 10px 4px;
    border-bottom: 1px dashed #eef1f4;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.todo-list li:last-child { border-bottom: none; }
.todo-list .todo-num {
    background: var(--c-red);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    padding: 1px 10px;
    font-weight: 700;
}

.empty-tip {
    text-align: center;
    padding: 40px 0;
    color: var(--c-muted);
    font-size: 13px;
}

/* 安装向导 */
.install-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--c-cream), #efe7d6);
    padding: 30px 0;
}
.install-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.install-steps {
    display: flex;
    background: var(--c-blue-dark);
}
.install-steps .istep {
    flex: 1;
    text-align: center;
    padding: 16px 6px;
    color: #93a7bf;
    font-size: 13px;
    position: relative;
}
.install-steps .istep .sn {
    display: inline-block;
    width: 26px; height: 26px; line-height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    margin-right: 6px;
}
.install-steps .istep.active { color: #fff; }
.install-steps .istep.active .sn { background: var(--c-red); }
.install-steps .istep.done { color: var(--c-gold-light); }
.install-steps .istep.done .sn { background: var(--c-gold); color: #33260c; }
.env-table th { width: 260px; }
.env-ok { color: #2c6e47; font-weight: 700; }
.env-bad { color: var(--c-red); font-weight: 700; }

/* 兼容 1366 宽度 */
@media (max-width: 1400px) {
    .admin-sidebar { width: 206px; }
    .admin-header .a-brand { width: 206px; }
}
