:root {
  /* Star App Unified — dark glassmorphism theme */
  --star-background: radial-gradient(ellipse at 70% -10%, #2a3570 0%, #141b3d 45%, #0b1026 100%);
  --star-foreground: #eef1ff;
  --star-card: rgba(255, 255, 255, 0.06);
  --star-card-foreground: #eef1ff;
  --star-popover: #161c3f;
  --star-popover-foreground: #eef1ff;
  --star-primary: #a78bfa;
  --star-primary-foreground: #0b1026;
  --star-muted: rgba(255, 255, 255, 0.08);
  --star-muted-foreground: #9aa3c7;
  --star-border: rgba(255, 255, 255, 0.12);
  --star-input: rgba(255, 255, 255, 0.07);
  --star-ring: #a78bfa;

  --star-gold: #ffd166;
  --star-gold-soft: rgba(255, 209, 102, 0.16);
  --star-success: #34d399;
  --star-success-soft: rgba(52, 211, 153, 0.16);
  --star-danger: #fb7185;
  --star-danger-soft: rgba(251, 113, 133, 0.16);
  --star-info: #7c8cff;
  --star-info-soft: rgba(124, 140, 255, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.dark { color-scheme: dark; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--star-background);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    color: var(--star-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* 桌面端：胶囊高64 + 下方留白12 + 内容间距20 */
body { padding-bottom: calc(64px + 12px + 20px + env(safe-area-inset-bottom)); }
/* 移动端：胶囊高56 + 下方留白10 + 内容间距10 */
@media (max-width: 640px) {
    body { padding-bottom: calc(56px + 10px + 10px + env(safe-area-inset-bottom)); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.header h1 {
    color: var(--star-foreground);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header h1 .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--star-primary);
    color: var(--star-primary-foreground);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 10px 18px;
    background: var(--star-card);
    border: 1px solid var(--star-border);
    color: var(--star-foreground);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-btn:hover {
    background: var(--star-muted);
    border-color: var(--star-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--star-card);
    border: 1px solid var(--star-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--star-foreground);
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: var(--star-primary);
    transform: translateY(-2px);
}

/* 「总星数（个人+小组）」卡——金色强调，占两行更突出 */
.stat-card-total {
    border-color: rgba(255, 209, 102, 0.45);
    background: linear-gradient(135deg, rgba(255,209,102,0.10), rgba(167,139,250,0.08));
}
.stat-card-total .stat-value {
    font-size: 2.6rem;
    color: var(--star-gold);
    text-shadow: 0 0 20px rgba(255,209,102,0.55);
}
.stat-card-total .stat-label {
    color: #fcd98a;
    font-weight: 600;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--star-gold);
    text-shadow: 0 0 14px rgba(255, 209, 102, 0.45);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--star-muted-foreground);
    font-weight: 500;
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--star-muted);
    border: 1px solid var(--star-border);
    padding: 4px;
    border-radius: 12px;
}

.tab {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: var(--star-muted-foreground);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.tab:hover {
    color: var(--star-foreground);
}

.tab.active {
    background: var(--star-card);
    color: var(--star-foreground);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tab-content {
    background: var(--star-card);
    border: 1px solid var(--star-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.tab-content.hidden {
    display: none;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--star-foreground);
    margin-bottom: 16px;
    line-height: 1.3;
}

.btn {
    padding: 10px 22px;
    background: var(--star-primary);
    color: var(--star-primary-foreground);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn:hover {
    background: #b79dff;
    box-shadow: 0 0 16px rgba(167, 139, 250, 0.4);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--star-muted);
    color: var(--star-foreground);
    border: 1px solid var(--star-border);
}

.btn-secondary:hover {
    background: var(--star-border);
    box-shadow: none;
}

.btn-danger {
    background: var(--star-danger-soft);
    color: var(--star-danger);
    border: 1px solid rgba(251, 113, 133, 0.4);
}

.btn-danger:hover {
    background: rgba(251, 113, 133, 0.28);
    box-shadow: 0 0 16px rgba(251, 113, 133, 0.3);
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--star-muted-foreground);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--star-border);
    background: var(--star-input);
    color: var(--star-foreground);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--star-muted-foreground);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--star-primary);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* select 下拉框和选项背景与页面一致 */
select,
select option {
    background: var(--star-popover);
    color: var(--star-foreground);
}

select:focus {
    outline: none;
    border-color: var(--star-primary);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

select option {
    padding: 8px 12px;
}

select option:checked,
select option:hover,
select option:focus {
    background: #2a3570;
    color: var(--star-foreground);
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--star-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.class-card {
    background: var(--star-card);
    border: 1px solid var(--star-border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
    flex-wrap: wrap;
}

.class-card:hover {
    border-color: var(--star-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.class-info {
    flex: 1 1 220px;
    min-width: 0;
    word-break: break-word;
}

.class-info .class-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--star-foreground);
    word-break: break-word;
}

.class-info .class-count {
    font-size: 0.8125rem;
    color: var(--star-muted-foreground);
    margin-top: 4px;
    white-space: normal;
    word-break: break-word;
}

.class-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn {
    padding: 8px 14px;
    background: var(--star-info-soft);
    color: var(--star-info);
    border: 1px solid rgba(124, 140, 255, 0.35);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 56px;
    line-height: 1.2;
}

.action-btn:hover {
    background: rgba(124, 140, 255, 0.28);
}

.action-btn.danger {
    background: var(--star-danger-soft);
    color: var(--star-danger);
    border-color: rgba(251, 113, 133, 0.35);
}

.action-btn.danger:hover {
    background: rgba(251, 113, 133, 0.28);
}

/* === 模态框 === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: var(--star-popover);
    border: 1px solid var(--star-border);
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--star-foreground);
    margin-bottom: 18px;
    line-height: 1.3;
}

.modal-text {
    color: var(--star-muted-foreground);
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--star-border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--star-foreground);
}

.close-btn {
    background: var(--star-muted);
    border: 1px solid var(--star-border);
    color: var(--star-muted-foreground);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: var(--star-border);
    color: var(--star-foreground);
}

.student-modal {
    max-width: 900px;
    width: 95%;
    max-height: 80vh;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.student-table-container {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid var(--star-border);
}

.student-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--star-foreground);
}

.student-table th,
.student-table td {
    border-bottom: 1px solid var(--star-border);
    padding: 12px 10px;
    text-align: left;
}

.student-table th {
    background: var(--star-muted);
    font-weight: 600;
    color: var(--star-foreground);
    position: sticky;
    top: 0;
    z-index: 1;
}

.student-table tr:hover {
    background: var(--star-card);
}

.student-table tr:last-child td {
    border-bottom: none;
}

.search-container input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--star-border);
    background: var(--star-input);
    color: var(--star-foreground);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-container input::placeholder {
    color: var(--star-muted-foreground);
    opacity: 0.6;
}

.search-container input:focus {
    border-color: var(--star-primary);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

.import-preview {
    background: var(--star-card);
    border: 1px solid var(--star-border);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.result-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.result-message:empty {
    display: none;
}

.result-message.success {
    background: var(--star-success-soft);
    color: var(--star-success);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.result-message.error {
    background: var(--star-danger-soft);
    color: var(--star-danger);
    border: 1px solid rgba(251, 113, 133, 0.3);
}

/* === CSV 上传区 === */
.csv-dropzone {
    border: 2px dashed var(--star-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--star-card);
}

.csv-dropzone:hover {
    border-color: var(--star-primary);
    background: var(--star-muted);
}

.csv-dropzone .csv-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.csv-dropzone .csv-name {
    color: var(--star-muted-foreground);
    font-size: 14px;
}

.csv-dropzone .csv-hint {
    font-size: 12px;
    color: var(--star-muted-foreground);
    margin-top: 8px;
    opacity: 0.7;
}

/* === 小组管理 === */
.grp-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 12px;
    min-height: 50px;
}

.grp-box {
    background: var(--star-card);
    border: 2px dashed var(--star-border);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.15s;
    min-height: 120px;
}

.grp-box.drag-over {
    border-color: var(--star-primary);
    background: rgba(167, 139, 250, 0.08);
    box-shadow: 0 0 16px rgba(167, 139, 250, 0.2);
}

.grp-box.new-group {
    animation: pop 0.3s ease;
    border-color: var(--star-primary);
}

@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.grp-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--star-border);
}

.grp-box-name {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--star-foreground);
}

.grp-box-count {
    font-size: 13px;
    color: var(--star-muted-foreground);
    white-space: nowrap;
}

.grp-box-delete {
    border: 1px solid var(--star-border);
    background: var(--star-muted);
    color: var(--star-muted-foreground);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s;
}

.grp-box-delete:hover {
    background: var(--star-danger-soft);
    color: var(--star-danger);
    border-color: rgba(251, 113, 133, 0.3);
}

.grp-box-members {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 36px;
}

.grp-chip {
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    color: #c4b5ff;
    cursor: grab;
    transition: all 0.15s;
    user-select: none;
}

.grp-chip:hover {
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(167, 139, 250, 0.4);
}

.grp-chip.dragging {
    opacity: 0.3;
}

.grp-drag-hint {
    text-align: center;
    font-size: 13px;
    color: var(--star-muted-foreground);
    padding: 8px 0;
    border-top: 1px dashed var(--star-border);
    border-bottom: 1px dashed var(--star-border);
    margin-bottom: 14px;
}

.grp-pool {
    background: var(--star-card);
    border: 1px solid var(--star-border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.15s;
}

.grp-pool.drag-over {
    background: var(--star-gold-soft);
    box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.3) inset;
}

.grp-pool-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--star-muted-foreground);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--star-border);
}

.grp-pool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    min-height: 50px;
}

.grp-pool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--star-border);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: grab;
    transition: all 0.15s;
    user-select: none;
}

.grp-pool-card:hover {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

.grp-pool-card.dragging {
    opacity: 0.3;
}

.grp-pool-card .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--star-foreground);
}

.grp-pool-card .code {
    font-size: 12px;
    color: var(--star-muted-foreground);
    margin-top: 2px;
}

.grp-empty {
    text-align: center;
    color: var(--star-muted-foreground);
    font-size: 13px;
    padding: 20px;
}

.loading-text {
    text-align: center;
    color: var(--star-muted-foreground);
    padding: 40px;
    font-size: 14px;
}

.empty-state-text {
    text-align: center;
    color: var(--star-muted-foreground);
    padding: 40px;
    font-size: 14px;
}

/* === 底部导航（iOS 玻璃胶囊风） === */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    /* 外层全透明（无边框无背景），玻璃效果只在内部胶囊上 */
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 calc(12px + env(safe-area-inset-left)) 8px calc(12px + env(safe-area-inset-right));
    height: auto;
    box-sizing: border-box;
}

.bottom-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(26, 32, 68, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(167,139,250,0.08) inset,
      0 1px 0 rgba(255,255,255,0.06) inset;
    overflow: hidden;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 999px;
    color: var(--star-muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.bottom-nav a svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

/* === 仅移动端：胶囊略小一圈 === */
@media (max-width: 640px) {
    .bottom-nav {
        padding: 0 calc(10px + env(safe-area-inset-left)) 6px calc(10px + env(safe-area-inset-right));
    }
    .bottom-nav-inner {
        height: 56px;
        background: rgba(26, 32, 68, 0.48);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
    .bottom-nav a {
        gap: 2px;
        padding: 4px 0;
        font-size: 11px;
    }
    .bottom-nav a svg {
        width: 22px;
        height: 22px;
    }
    /* 移动端胶囊左右留边，不贴满 */
    .bottom-nav-inner {
        max-width: min(420px, 86%);
    }
}

.bottom-nav a:hover {
    color: var(--star-foreground);
}

.bottom-nav a.active {
    color: var(--star-primary);
}

.bottom-nav a svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* 移动端："总星数（个人+小组）"占满一整行，突出 */
    .stat-card-total {
        grid-column: span 2;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-buttons {
        justify-content: stretch;
    }

    .nav-btn {
        flex: 1;
        justify-content: center;
    }

    .class-list {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .student-modal {
        max-width: 100%;
        width: 100%;
    }

    .student-table {
        font-size: 13px;
    }

    .student-table th,
    .student-table td {
        padding: 8px 6px;
    }
}

/* === 底部导航：桌面端正常尺寸（胶囊玻璃） === */
.bottom-nav-shared {
  background: transparent;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 calc(12px + env(safe-area-inset-left)) 8px calc(12px + env(safe-area-inset-right));
  height: auto;
  box-sizing: border-box;
}
.bottom-nav-inner-shared {
  height: 64px;
  border-radius: 999px;
  background: rgba(26, 32, 68, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(167,139,250,0.08) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
  overflow: hidden;
}
.bottom-nav-link { padding: 6px 4px; border-radius: 999px; }
.bottom-nav-link svg { width: 22px; height: 22px; }
.bottom-nav-label { font-size: 11px; }
.bottom-nav-link.active { color: var(--star-primary, #a78bfa); }

/* === 移动端 nav === */
@media (max-width: 640px) {
  .bottom-nav-shared {
    padding: 0 calc(10px + env(safe-area-inset-left)) 6px calc(10px + env(safe-area-inset-right));
  }
  .bottom-nav-inner-shared {
    height: calc(56px + env(safe-area-inset-bottom));
    background: rgba(26, 32, 68, 0.48);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
  .bottom-nav-link { gap: 2px !important; padding: 4px 0; border-radius: 999px; }
  .bottom-nav-link svg { width: 22px; height: 22px; }
  .bottom-nav-label { font-size: 11px; line-height: 1; }
}

/* 强制胶囊居中 */
.bottom-nav-inner-shared {
  max-width: 28rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
