/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-page: #ffffff;
    --bg-card: #f9fafb;
    --bg-sidebar: #f3f4f6;
    --bg-header: #ffffff;
    --border-light: #e5e7eb;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --accent: #3b82f6;
    --accent-soft: #dbeafe;
    --danger: #ef4444;
    --danger-soft: #fee2e2;
    --success: #10b981;
    --warning: #f59e0b;
    --tag-bg: #e2e8f0;
    --input-bg: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
    --admin-badge: #f59e0b;
    --my-flag: #8b5cf6;
    --like-color: #ef4444;
    --like-bg: #fee2e2;
    --icon-filter: none;
    --transition-default: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --help-bg: #f3f4f6;
    --help-hover: #e5e7eb;
    --footer-bg: #f3f4f6;
    --footer-text: #6b7280;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

/* 布局 */
.app {
    display: flex;
    flex: 1 0 auto;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 60px);
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    flex-shrink: 0;
    transition: var(--transition-default);
    scrollbar-width: thin;
    scrollbar-color: var(--text-muted) var(--bg-sidebar);
    position: relative;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}
.sidebar::-webkit-scrollbar-track {
    background: var(--bg-sidebar);
}
.sidebar::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

.sidebar h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.01em;
}

.category-filter {
    margin-bottom: 1rem;
}

/* 图标 */
.icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    vertical-align: middle;
    margin-right: 0.2em;
    filter: var(--icon-filter);
}

.icon-folder { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7l-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
.icon-sun { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
.icon-moon { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); }
.icon-search { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.icon-plus { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
.icon-logout { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }
.icon-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.icon-edit { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 20h9M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E"); }
.icon-check { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.icon-x { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
.icon-trash { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); }
.icon-tag { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); }
.icon-clock { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.icon-heart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.icon-heart-filled { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.icon-play { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E"); }
.icon-game { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cpath d='M6 12h4'/%3E%3Cpath d='M14 12h4'/%3E%3C/svg%3E"); }
.icon-help { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.icon-qq { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 16c0 3-2 4-5 4-2 0-3-1-4-1s-2 1-4 1c-3 0-5-1-5-4 0-6 4-9 9-9s9 3 9 9z'/%3E%3Cpath d='M9 9c0-3 2-5 3-5s3 2 3 5'/%3E%3C/svg%3E"); }
.icon-mail { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 7L2 7'/%3E%3C/svg%3E"); }

/* 分类列表 */
.category-list {
    list-style: none;
    margin-top: 0.5rem;
}

.category-item {
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    margin-bottom: 2px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-default);
    transform: translateX(0);
}

.category-item:hover {
    background-color: var(--accent-soft);
    color: var(--accent);
    transform: translateX(4px);
}

.category-item.active {
    background-color: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--accent);
}

.count-badge {
    margin-left: auto;
    background-color: var(--border-light);
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* 主内容区 */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-page);
}

/* 头部 */
.header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    backdrop-filter: blur(4px);
}

.search-section {
    display: flex;
    gap: 8px;
    flex: 2;
    min-width: 200px;
}

.search-input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-default);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 按钮 */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: var(--transition-default);
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    background-color: var(--accent);
}

.btn-outline {
    background: transparent;
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.badge {
    background-color: var(--accent-soft);
    color: var(--accent);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-badge {
    background-color: var(--admin-badge);
    color: #000;
}

.my-badge {
    background-color: var(--my-flag);
    color: white;
}

/* 链接容器 */
.link-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    scroll-behavior: smooth;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* 卡片 */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition-default);
    animation: cardAppear 0.3s ease-out;
    position: relative;
    backdrop-filter: blur(2px);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

@keyframes cardAppear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.card.pending {
    opacity: 0.8;
    border-left: 4px solid var(--warning);
}

.card.disabled {
    opacity: 0.5;
    border-left: 4px solid var(--text-muted);
    background-color: var(--bg-sidebar);
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.link-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    object-fit: contain;
}

.card .url {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.75rem;
    word-break: break-all;
    transition: var(--transition-default);
}

.card .url:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.card .desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.75rem 0;
    line-height: 1.6;
}

/* 标签 */
.tag {
    background-color: var(--tag-bg);
    padding: 0.25rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-default);
    margin-right: 4px;
    margin-bottom: 4px;
}

.tag:hover {
    background-color: var(--accent-soft);
    color: var(--accent);
}

/* 元信息 */
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-light);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 点赞区域 */
.like-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-default);
    font-size: 0.85rem;
}

.like-btn:hover {
    transform: scale(1.05);
    border-color: var(--like-color);
    color: var(--like-color);
}

.like-btn.liked {
    background-color: var(--like-bg);
    border-color: var(--like-color);
    color: var(--like-color);
}

.like-count {
    font-weight: 600;
    color: var(--text-primary);
}

.icon-heart, .icon-heart-filled {
    width: 1.2em;
    height: 1.2em;
}

.liked .icon-heart {
    display: none;
}

.like-btn .icon-heart-filled {
    display: none;
}

.liked .icon-heart-filled {
    display: inline-block;
}

/* 管理操作 */
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    justify-content: flex-end;
}

.small-btn {
    background: none;
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    cursor: pointer;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-default);
    text-decoration: none;
}

.small-btn:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent);
    transform: scale(1.05);
}

.small-btn.danger:hover {
    background-color: var(--danger-soft);
    border-color: var(--danger);
    color: var(--danger);
}

.small-btn.success:hover {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

/* 提示信息 */
.login-prompt {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.message-banner {
    background-color: var(--success);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

/* 底部版权 */
.footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-light);
    color: var(--footer-text);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    z-index: 10;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-heart {
    color: var(--like-color);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 帮助按钮 */
.help-button {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 100;
    background-color: var(--help-bg);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition-default);
    color: var(--text-primary);
    font-weight: 500;
}

.help-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--help-hover);
    border-color: var(--accent);
}

/* 帮助卡片 */
.help-card {
    position: fixed;
    bottom: 140px;
    left: 20px;
    z-index: 99;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-hover);
    min-width: 250px;
    backdrop-filter: blur(10px);
    animation: slideUp 0.3s ease-out;
}

.help-card.hidden {
    display: none;
}

.help-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-card .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.help-card .contact-item:last-child {
    border-bottom: none;
}

.help-card .contact-item .icon {
    width: 1.5em;
    height: 1.5em;
    color: var(--accent);
}

.help-card .contact-info {
    flex: 1;
}

.help-card .contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.help-card .contact-value {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    cursor: pointer;
}

.help-card .contact-value:hover {
    color: var(--accent);
}

.help-card .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card .close-btn:hover {
    background-color: var(--border-light);
    color: var(--text-primary);
}

.help-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .app {
        flex-direction: column;
        height: calc(100vh - 100px);
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        max-height: 40vh;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 1rem;
    }
    
    .header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-section {
        width: 100%;
    }
    
    .user-info {
        justify-content: space-between;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        height: 40px;
        font-size: 0.8rem;
    }
    
    .help-button {
        bottom: 60px;
    }
    
    .help-card {
        bottom: 120px;
    }
}
/* 驳回相关样式 */
.card.rejected {
    opacity: 0.9;
    border-left: 4px solid var(--danger);
    background-color: var(--bg-card);
}

.reject-info {
    background: var(--danger-soft);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
    border-left: 3px solid var(--danger);
}

.reject-info .reject-reason {
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.5;
}

.reject-info .reject-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 弹窗样式已在main.js中添加，但确保基础样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-hover);
}