/* 弹窗遮罩 */ .animadex-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 9999; display: flex; justify-content: center; align-items: center; color: #e2e8f0; font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } /* 弹窗主容器 */ .animadex-modal { background: #181825; border: 1px solid #313244; border-radius: 12px; width: 95%; max-width: 1400px; height: 90vh; display: flex; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); overflow: hidden; } /* 左侧边栏 (Sidebar) */ .animadex-sidebar { width: 320px; background: #11111b; border-right: 1px solid #313244; display: flex; flex-direction: column; } .animadex-sidebar-title { font-size: 12px; letter-spacing: 2px; color: #a6adc8; text-transform: uppercase; padding: 20px 20px 10px 20px; font-weight: 600; } .animadex-filter-section { padding: 10px 20px; border-bottom: 1px solid #313244; display: flex; flex-direction: column; gap: 10px; } .animadex-search-input { width: 100%; background: #1e1e2e; border: 1px solid #313244; border-radius: 6px; padding: 10px 12px; color: #cdd6f4; font-size: 14px; outline: none; box-sizing: border-box; transition: border-color 0.2s; } .animadex-search-input:focus { border-color: #f38ba8; } /* 侧边栏可折叠列表区 */ .animadex-sidebar-lists { flex: 1; overflow-y: auto; } .animadex-accordion { border-bottom: 1px solid #313244; } .animadex-accordion-header { padding: 15px 20px; font-weight: bold; color: #cdd6f4; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #11111b; } .animadex-accordion-header:hover { background: #181825; } .animadex-accordion-body { max-height: 40vh; overflow-y: auto; background: #181825; padding: 5px 0; } .animadex-list-item { padding: 8px 15px 8px 20px; font-size: 13px; color: #a6adc8; cursor: pointer; display: flex; align-items: center; transition: background 0.1s; } .animadex-list-item:hover { background: #313244; color: #cdd6f4; } .animadex-list-item.active { background: #f38ba8; color: #11111b; font-weight: bold; } .animadex-list-item-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .animadex-list-item-count { font-size: 11px; opacity: 0.7; margin-right: 10px; } .animadex-list-fav-btn { background: transparent; border: none; color: #45475a; cursor: pointer; font-size: 14px; padding: 0 5px; transition: color 0.2s; } .animadex-list-fav-btn:hover { color: #f38ba8; } .animadex-list-fav-btn.active { color: #f38ba8; } /* 右侧主区域 */ .animadex-main { flex: 1; display: flex; flex-direction: column; background: #181825; position: relative; } /* 顶部信息栏 */ .animadex-main-header { padding: 15px 20px; font-size: 14px; color: #cdd6f4; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #313244; } .animadex-header-controls { display: flex; gap: 15px; align-items: center; } .animadex-icon-btn { background: transparent; border: none; color: #a6adc8; font-size: 20px; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: color 0.2s; } .animadex-icon-btn:hover { color: #f38ba8; } .animadex-icon-btn.active { color: #f38ba8; } .animadex-icon-btn span { font-size: 14px; font-weight: bold; } /* 网格区域 */ .animadex-grid-container { flex: 1; overflow-y: auto; padding: 20px; } .animadex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; } /* 卡片样式 */ .animadex-card { background: #282838; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; border: 2px solid #313244; /* Thicker border to show selected state better */ position: relative; } .animadex-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.7); border-color: #f38ba8; } .animadex-card.selected { border-color: #a6e3a1; box-shadow: 0 0 0 3px rgba(166, 227, 161, 0.4); } /* 图片区域 */ .animadex-card-img-container { width: 100%; aspect-ratio: 3/4; background: #dce0e8; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; } .animadex-card-img { width: 100%; height: 100%; object-fit: contain; } /* ================================ 卡片悬浮遮罩 (Hover Overlay) ================================ */ .animadex-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); opacity: 0; transition: opacity 0.2s ease-in-out; display: flex; flex-direction: column; padding: 15px; z-index: 10; } .animadex-card:hover .animadex-card-overlay { opacity: 1; } .animadex-overlay-top { display: flex; gap: 10px; margin-bottom: auto; } .animadex-fav-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; color: white; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; } .animadex-fav-btn:hover { background: rgba(255,255,255,0.4); } .animadex-fav-btn.active { color: #f38ba8; } .animadex-overlay-title { font-size: 10px; color: #a6adc8; letter-spacing: 1px; margin-top: 15px; margin-bottom: 5px; font-weight: bold; } .animadex-trigger-box { background: rgba(255,255,255,0.15); padding: 8px 10px; border-radius: 6px; font-size: 12px; color: white; word-break: break-all; margin-bottom: 10px; } .animadex-tags-container { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .animadex-tag-badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 12px; font-size: 10px; color: white; } /* ================================ 卡片下方文字区 ================================ */ .animadex-card-info { padding: 12px 12px 8px 12px; position: relative; z-index: 11; background: #282838; } .animadex-card-title { font-size: 15px; font-weight: bold; color: #cdd6f4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; } .animadex-card-subtitle { font-size: 10px; color: #a6adc8; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* 底部数据统计 */ .animadex-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 11px; color: #a6adc8; background: #212130; border-top: 1px solid #313244; position: relative; z-index: 11; } .animadex-card-footer-item { display: flex; align-items: center; gap: 4px; } .animadex-card-footer-left, .animadex-card-footer-right { display: flex; gap: 12px; } /* ================================ 底部翻页 (Pagination) ================================ */ .animadex-pagination { padding: 15px; border-top: 1px solid #313244; display: flex; justify-content: center; align-items: center; gap: 8px; background: #11111b; } .animadex-page-btn { background: #313244; color: #cdd6f4; border: 1px solid #45475a; border-radius: 6px; padding: 6px 12px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-size: 13px; min-width: 32px; } .animadex-page-btn:hover:not(:disabled) { background: #45475a; border-color: #cdd6f4; } .animadex-page-btn:disabled { opacity: 0.5; cursor: not-allowed; } .animadex-page-btn.active { background: #f38ba8; border-color: #f38ba8; color: #11111b; font-weight: bold; } .animadex-page-ellipsis { color: #a6adc8; padding: 0 4px; } /* 滚动条美化 */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #45475a; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #585b70; }