/* ============================================================
 * icons.css
 * Lucide 图标尺寸与对齐
 * 依赖 lucide@latest UMD（lucide.min.js）将 <i data-lucide="..."> 替换为 <svg>
 * ============================================================ */

[data-lucide] {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    stroke-width: 2;
}

.nav-icon [data-lucide] { font-size: 14px; }
.nav-child .nav-icon [data-lucide] { font-size: 12px; }
.tabbar-icon [data-lucide] { font-size: 18px; }
.item-icon [data-lucide] { font-size: 12px; }
.item-card-icon [data-lucide] { font-size: 20px; }
.tile-icon [data-lucide] { font-size: 18px; }
.fav-card-icon [data-lucide] { font-size: 14px; }
.icon-btn [data-lucide] { font-size: 16px; }
.modal-close [data-lucide] { font-size: 16px; }
.search-icon { font-size: 14px; color: var(--text-tertiary); flex-shrink: 0; }
.notice-icon { font-size: 16px; flex-shrink: 0; }
.fav-title-icon { font-size: 16px; vertical-align: -2px; color: var(--accent); }
.kpi-label [data-lucide] { font-size: 13px; vertical-align: -2px; margin-right: 2px; }
.category-name [data-lucide] { font-size: 14px; vertical-align: -2px; }
.fav-btn [data-lucide], .qty-btn [data-lucide] { pointer-events: none; }
.favorites-empty [data-lucide] { font-size: 12px; color: var(--accent); vertical-align: -1px; }
