/* ===== GNOME 风格全局样式 ===== */

:root {
    /* Adwaita 色板 */
    --blue-1: #3584e4;
    --blue-2: #2a7de1;
    --blue-3: #1c71d8;
    --blue-4: #1a5fb4;
    --red-1: #e01b24;
    --red-2: #c01c28;
    --green-1: #2ec27e;
    --green-2: #26a269;
    --yellow-1: #e5a50a;
    --orange-1: #e66100;
    --purple-1: #9141ac;
    --teal-1: #0d9488;

    /* 语义色 */
    --primary: var(--blue-1);
    --primary-hover: var(--blue-3);
    --danger: var(--red-1);
    --danger-hover: var(--red-2);
    --success: var(--green-1);
    --success-hover: var(--green-2);
    --warning: var(--yellow-1);

    /* 中性色 — Adwaita Light */
    --bg: #f6f5f4;
    --card-bg: #ffffff;
    --border: #d5d1cc;
    --border-light: #e8e6e3;
    --text: #2e3436;
    --text-secondary: #77767b;
    --text-dim: #a7a5a4;

    /* 阴影 */
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 3px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 6px 24px rgba(0,0,0,0.12);

    /* 圆角 */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;

    /* 顶部栏高度 */
    --topbar-h: 32px;
    /* 底部Dock高度 */
    --dock-h: 64px;
}

/* ===== 重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans SC', Cantarell, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--topbar-h);
    padding-bottom: var(--dock-h);
}

/* 登录页不需要顶部/底部留白 */
body:has(.login-container) {
    padding-top: 0;
    padding-bottom: 0;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-4); }

/* ========================================
   顶部面板 — GNOME Panel 风格（很细）
   ======================================== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: #303030;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 200;
    font-size: 0.78rem;
    user-select: none;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-brand {
    color: #f0f0f0;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.topbar-date {
    color: #b0b0b0;
    font-size: 0.72rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 汉堡菜单按钮（仅移动端） */
.navbar-hamburger {
    display: none;
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}
.navbar-hamburger:hover { background: rgba(255,255,255,0.1); }

/* ===== 右上角用户菜单按钮 ===== */
.user-menu-trigger {
    background: none;
    border: none;
    color: #d0d0d0;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
    line-height: 1;
}
.user-menu-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ===== 用户弹出面板（GNOME风格） ===== */
.user-menu-panel {
    display: none;
    position: absolute;
    top: calc(var(--topbar-h) - 2px);
    right: 8px;
    width: 260px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 300;
    color: var(--text);
}
.user-menu-panel.open { display: block; }

.user-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
}

.user-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-info-text {
    min-width: 0;
}
.user-info-text .user-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-panel-divider {
    height: 1px;
    background: var(--border-light);
}

.user-panel-section {
    padding: 6px 0;
}

.user-panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.88rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.12s;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-align: left;
}
.user-panel-item:hover {
    background: rgba(53,132,228,0.08);
    text-decoration: none;
    color: var(--text);
}
.user-panel-item i {
    width: 18px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.user-panel-item.static {
    cursor: default;
}
.user-panel-item.static:hover {
    background: transparent;
}

.ai-points-value {
    margin-left: auto;
    font-weight: 700;
    color: var(--purple-1);
    font-size: 0.92rem;
}

.user-panel-item.logout-item {
    color: var(--danger);
}
.user-panel-item.logout-item i {
    color: var(--danger);
}
.user-panel-item.logout-item:hover {
    background: rgba(224,27,36,0.06);
}

/* 角色徽章 */
.role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.role-badge.admin { background: #f8e8c8; color: #925f1a; }
.role-badge.super_admin { background: #e8d8f0; color: #7a3ea0; }
.role-badge.member { background: #d8e8f8; color: #1a5f92; }

/* ========================================
   底部导航 Dock（仅桌面端）
   ======================================== */
.dock {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--dock-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 16px;
    z-index: 200;
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 52px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.18s ease;
    position: relative;
    /* 不预留label空间，label只在active时出现 */
}
.dock-item i {
    font-size: 1.2rem;
    transition: transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
    line-height: 1;
}
.dock-label {
    font-size: 0.62rem;
    font-weight: 600;
    height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: opacity 0.18s ease, margin-top 0.18s ease, height 0.18s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.dock-item:hover {
    background: rgba(53,132,228,0.08);
    color: var(--primary);
}
.dock-item:hover i {
    transform: scale(1.1);
}
.dock-item.active {
    color: var(--primary);
}
/* 当前页：图标变小并上移，下方显示文字 */
.dock-item.active i {
    font-size: 0.95rem;
    transform: translateY(-4px);
}
.dock-item.active .dock-label {
    height: auto;
    opacity: 1;
    margin-top: 3px;
}
.dock-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
}

/* ========================================
   移动端汉堡菜单
   ======================================== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 500;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    background: var(--card-bg);
    z-index: 501;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 18px;
    background: var(--bg);
}

.mobile-user-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mobile-user-info { min-width: 0; }
.mobile-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}
.mobile-ai-points {
    font-size: 0.78rem;
    color: var(--purple-1);
    font-weight: 600;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-light);
}

.mobile-menu-nav {
    padding: 6px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 0.92rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.12s;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
.mobile-nav-item:hover {
    background: rgba(53,132,228,0.08);
    text-decoration: none;
    color: var(--text);
}
.mobile-nav-item i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}
.mobile-nav-item.active {
    color: var(--primary);
    font-weight: 600;
}
.mobile-nav-item.active i {
    color: var(--primary);
}

.mobile-menu-actions .mobile-nav-item.logout-item {
    color: var(--danger);
}
.mobile-menu-actions .mobile-nav-item.logout-item i {
    color: var(--danger);
}

/* ===== 主容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

/* ===== 卡片 — GNOME Card ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== 按钮 — GNOME Pill/Flat ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    gap: 6px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: var(--success-hover); }

.btn-sm { padding: 5px 12px; font-size: 0.82rem; border-radius: var(--radius-xs); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover {
    background: var(--bg);
    color: var(--text);
    border-color: var(--text-secondary);
}

/* ===== 表单 — GNOME Entry ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    font-family: inherit;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(53,132,228,0.15);
}

textarea.form-control { min-height: 100px; resize: vertical; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2377767b' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; }
table th, table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
}
table th {
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg);
    white-space: nowrap;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
table tr:hover td { background: rgba(53,132,228,0.04); }

/* ===== 状态标签 ===== */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.status-pending { background: #f8e8c8; color: #925f1a; }
.status-approved { background: #d4f0df; color: #1a7a42; }
.status-rejected { background: #f8d8d8; color: #a01c28; }

/* ===== 登录页 ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg);
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 44px 40px;
    width: 100%;
    max-width: 400px;
}
.login-card h1 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.login-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.9rem;
}
.login-card .form-group:last-of-type { margin-bottom: 24px; }

/* ===== 模态框 ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 200; padding: 24px;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%; max-width: 500px;
    max-height: 90vh; overflow-y: auto;
    animation: slideUp 0.2s ease;
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
    background: none; border: none; font-size: 1.1rem;
    cursor: pointer; color: var(--text-secondary);
    line-height: 1; padding: 4px 6px;
    border-radius: var(--radius-xs);
    transition: background 0.15s;
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

/* ===== Toast 通知 ===== */
.toast-container {
    position: fixed; top: 44px; left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    pointer-events: none; max-width: 480px; width: calc(100% - 40px);
}
.toast {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem; font-weight: 500; color: var(--text);
    pointer-events: auto;
    animation: toastIn 0.25s ease;
    transition: all 0.3s ease;
    width: 100%;
}
.toast.toast-out { animation: toastOut 0.25s ease forwards; }
.toast-icon {
    flex-shrink: 0; font-size: 1.1rem;
}
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-message { flex: 1; min-width: 0; word-break: break-word; }
.toast-close {
    flex-shrink: 0; background: none; border: none;
    cursor: pointer; color: var(--text-secondary);
    font-size: 0.9rem; line-height: 1;
    padding: 4px; border-radius: 4px;
    transition: background 0.15s;
}
.toast-close:hover { background: var(--bg); color: var(--text); }

@keyframes toastIn { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-16px); opacity: 0; } }

/* ===== 对话框（确认/输入） ===== */
.dialog-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; padding: 24px;
    animation: fadeIn 0.15s ease;
}
.dialog-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%; max-width: 420px;
    animation: slideUp 0.2s ease;
    overflow: hidden;
}
.dialog-body { padding: 28px 28px 20px; }
.dialog-icon-wrap { text-align: center; margin-bottom: 16px; }
.dialog-icon-wrap .dialog-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    font-size: 1.3rem; color: #fff;
}
.dialog-icon.primary { background: var(--primary); }
.dialog-icon.danger { background: var(--danger); }
.dialog-icon.warning { background: var(--warning); color: var(--text); }
.dialog-title { text-align: center; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.dialog-message { text-align: center; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }
.dialog-input-wrap { margin-top: 16px; }
.dialog-input-wrap .form-control { text-align: center; font-size: 0.95rem; }
.dialog-footer { display: flex; gap: 0; border-top: 1px solid var(--border-light); }
.dialog-footer .dialog-btn {
    flex: 1; padding: 14px;
    border: none; background: transparent;
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
    color: var(--text-secondary); font-family: inherit;
}
.dialog-footer .dialog-btn:not(:last-child) { border-right: 1px solid var(--border-light); }
.dialog-footer .dialog-btn:hover { background: var(--bg); }
.dialog-footer .dialog-btn.primary { color: var(--primary); }
.dialog-footer .dialog-btn.primary:hover { background: rgba(53,132,228,0.08); }
.dialog-footer .dialog-btn.danger-btn { color: var(--danger); }
.dialog-footer .dialog-btn.danger-btn:hover { background: rgba(224,27,36,0.06); }

/* ===== 旧版 alert 兼容 ===== */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; }
.alert-error { background: #f8d8d8; color: #a01c28; border: 1px solid #f0c0c0; }
.alert-success { background: #d4f0df; color: #1a7a42; border: 1px solid #b8e0c8; }

/* ===== 首页网格 ===== */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

/* ===== 列表项 ===== */
.list-item { padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.list-item:last-child { border-bottom: none; }
.list-item .item-title { font-weight: 600; margin-bottom: 4px; }
.list-item .item-preview { color: var(--text-secondary); font-size: 0.85rem; }
.list-item .item-meta { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-dim); }
.empty-state p { font-size: 0.92rem; }

/* ===== 页面标题 ===== */
.page-title {
    font-size: 1.6rem; font-weight: 800;
    margin-bottom: 22px; color: var(--text);
    letter-spacing: -0.02em;
}

/* ===== Tab 导航 ===== */
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
    padding: 11px 22px; background: none; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    cursor: pointer; font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); transition: all 0.15s; white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.tab-btn.super-admin-only { color: var(--purple-1); }
.tab-btn.super-admin-only.active { color: var(--purple-1); border-bottom-color: var(--purple-1); }

/* ===== 维度标签 ===== */
.dimension-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-xs); font-size: 0.75rem; font-weight: 600; }
.dimension-overworld { background: #d4f0df; color: #1a7a42; }
.dimension-nether { background: #f8d8d8; color: #a01c28; }
.dimension-end { background: #d8d8f8; color: #3a3aa0; }

/* ===== 工具类 ===== */
.hidden { display: none !important; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); }
.action-group { display: flex; gap: 6px; }

/* ===== 彩蛋动画 ===== */
@keyframes eggShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px) rotate(-1deg); }
    40% { transform: translateX(3px) rotate(1deg); }
    60% { transform: translateX(-2px) rotate(-0.5deg); }
    80% { transform: translateX(2px) rotate(0.5deg); }
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 768px) {
    /* 移动端显示汉堡按钮 */
    .navbar-hamburger { display: block; }

    /* 移动端隐藏底部Dock */
    .dock { display: none; }
    body { padding-bottom: 0; }

    /* 顶部栏微调 */
    .topbar { padding: 0 10px; }
    .topbar-date { display: none; }

    /* 主内容 */
    .container { padding: 16px 14px; }
    .card { padding: 18px; }
    .home-grid { grid-template-columns: 1fr; }
    .login-card { padding: 28px 24px; }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    table th, table td { padding: 8px 10px; font-size: 0.8rem; }
}
