:root {
    --ac-primary: #2563eb;
    --ac-primary-dark: #1d4ed8;
    --ac-primary-light: #dbeafe;
    --ac-bg: #f8fafc;
    --ac-surface: #ffffff;
    --ac-text: #0f172a;
    --ac-muted: #64748b;
    --ac-border: #e2e8f0;
    --ac-radius: 14px;
    --ac-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 16px rgba(15, 23, 42, 0.04);
    --ac-shadow-hover: 0 8px 24px rgba(37, 99, 235, 0.1);
}

* { box-sizing: border-box; }

body {
    background: var(--ac-bg);
    color: var(--ac-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

.btn-primary {
    --bs-btn-bg: var(--ac-primary);
    --bs-btn-border-color: var(--ac-primary);
    --bs-btn-hover-bg: var(--ac-primary-dark);
    --bs-btn-hover-border-color: var(--ac-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--ac-primary);
    --bs-btn-border-color: var(--ac-border);
    --bs-btn-hover-bg: var(--ac-primary-light);
    --bs-btn-hover-border-color: var(--ac-primary);
    --bs-btn-hover-color: var(--ac-primary);
}

.site-container { max-width: 1200px; }
.site-main { padding-bottom: 2rem; }

/* 导航 */
.site-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ac-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    padding: 0.65rem 0;
}

.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ac-text);
    font-weight: 700;
    font-size: 1.05rem;
}

.site-navbar .navbar-brand i { color: var(--ac-primary); font-size: 1.25rem; }

.site-navbar .nav-link {
    color: var(--ac-muted);
    font-weight: 500;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px;
    margin: 0 2px;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--ac-primary);
    background: var(--ac-primary-light);
}

.site-navbar .nav-link.active { font-weight: 600; }

.site-navbar .btn-admin {
    border: 1px solid var(--ac-border);
    color: var(--ac-text);
    font-weight: 500;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-navbar .btn-admin:hover {
    background: var(--ac-primary-light);
    border-color: var(--ac-primary);
    color: var(--ac-primary);
}

/* Hero */
.ac-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 45%, #f8fafc 100%);
    border: 1px solid var(--ac-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0 0;
    overflow: hidden;
}

.ac-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.ac-hero-title span { color: var(--ac-primary); }

.ac-hero-desc {
    color: var(--ac-muted);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ac-search-box {
    display: flex;
    align-items: center;
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: var(--ac-shadow);
    max-width: 540px;
}

.ac-search-box > i { color: var(--ac-muted); margin-right: 0.5rem; }

.ac-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.65rem 0;
    font-size: 1rem;
    min-width: 0;
}

.ac-search-box .btn {
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.ac-hero-tags { margin-top: 1rem; }

.ac-hero-tags-label {
    color: var(--ac-muted);
    font-size: 0.85rem;
    margin-right: 0.25rem;
}

.ac-hero-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem 0.25rem 0 0;
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: 999px;
    color: var(--ac-muted);
    font-size: 0.85rem;
    text-decoration: none;
}

.ac-hero-tags a:hover {
    border-color: var(--ac-primary);
    color: var(--ac-primary);
    background: var(--ac-primary-light);
}

/* Hero 视觉 */
.ac-hero-visual-wrap { position: relative; }

.ac-browser-mock {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(239,246,255,0.9));
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    padding: 0.75rem;
    min-height: 220px;
}

.ac-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.5rem 0.75rem;
}

.ac-browser-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ac-browser-bar .dot.red { background: #fca5a5; }
.ac-browser-bar .dot.yellow { background: #fde047; }
.ac-browser-bar .dot.green { background: #86efac; }

.ac-browser-url {
    flex: 1;
    margin-left: 0.5rem;
    background: rgba(255,255,255,0.8);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--ac-muted);
}

.ac-browser-body { padding: 0.5rem 1rem 1.5rem; }

.ac-browser-line {
    height: 8px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.ac-browser-line.w80 { width: 80%; }
.ac-browser-line.w60 { width: 60%; }

.ac-browser-cards {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ac-browser-card {
    flex: 1;
    height: 64px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.06));
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.ac-float-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255,255,255,0.8);
}

.ac-float-icon.icon-plugin {
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    animation: ac-float 4s ease-in-out infinite;
}

.ac-float-icon.icon-theme {
    bottom: 30px;
    left: -10px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
    animation: ac-float 4s ease-in-out infinite 0.5s;
}

.ac-float-icon.icon-package {
    bottom: -8px;
    right: 40px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    animation: ac-float 4s ease-in-out infinite 1s;
}

@keyframes ac-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ac-stats-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ac-stat-item {
    flex: 1;
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: center;
    box-shadow: var(--ac-shadow);
}

.ac-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ac-primary);
    line-height: 1.2;
}

.ac-stat-label {
    font-size: 0.75rem;
    color: var(--ac-muted);
    margin-top: 0.15rem;
}

/* 区块 */
.ac-home-body { padding: 2rem 0 1rem; }

.ac-section { margin-bottom: 0.5rem; }

.ac-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ac-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.ac-section-more {
    color: var(--ac-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.ac-section-more:hover { text-decoration: underline; }

/* 推荐卡片 */
.ac-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ac-featured-card {
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius);
    padding: 1.15rem;
    box-shadow: var(--ac-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.ac-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ac-shadow-hover);
}

.ac-featured-top {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.ac-featured-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--ac-primary-light);
    flex-shrink: 0;
}

.ac-featured-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.ac-featured-name a {
    color: var(--ac-text);
    text-decoration: none;
}

.ac-featured-name a:hover { color: var(--ac-primary); }

.ac-featured-desc {
    font-size: 0.82rem;
    color: var(--ac-muted);
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ac-featured-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--ac-muted);
    margin-bottom: 0.75rem;
}

.ac-featured-info i { margin-right: 0.2rem; }

.ac-featured-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ac-primary);
    text-decoration: none;
}

.ac-featured-link:hover { text-decoration: underline; }

/* Badge */
.ac-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ac-badge-plugin { background: #ecfeff; color: #0891b2; }
.ac-badge-theme { background: #f5f3ff; color: #7c3aed; }

.ac-version-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--ac-muted);
    background: #f1f5f9;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

/* 紧凑列表 */
.ac-compact-list { display: flex; flex-direction: column; gap: 0.5rem; }

.ac-compact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ac-compact-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--ac-shadow);
}

.ac-compact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--ac-primary-light);
    flex-shrink: 0;
}

.ac-compact-body { flex: 1; min-width: 0; }

.ac-compact-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-compact-desc {
    font-size: 0.78rem;
    color: var(--ac-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-compact-meta {
    font-size: 0.72rem;
    color: var(--ac-muted);
    margin-top: 0.15rem;
}

.ac-compact-meta span + span::before { content: " · "; }

.ac-compact-action {
    font-size: 0.78rem;
    color: var(--ac-primary);
    font-weight: 600;
    flex-shrink: 0;
}

/* 热门排行 */
.ac-hot-list { display: flex; flex-direction: column; gap: 0.35rem; }

.ac-hot-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.ac-hot-item:hover { background: #f1f5f9; }

.ac-hot-rank {
    width: 22px;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--ac-primary);
    text-align: center;
}

.ac-hot-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--ac-primary-light);
}

.ac-hot-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-hot-dl {
    font-size: 0.8rem;
    color: var(--ac-muted);
    font-weight: 600;
}

/* 侧栏面板 */
.ac-panel {
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius);
    padding: 1.15rem;
    box-shadow: var(--ac-shadow);
}

.ac-panel-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
}

.ac-cat-list { display: flex; flex-direction: column; gap: 0.15rem; }

.ac-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ac-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.ac-cat-item:hover,
.ac-cat-item.active {
    background: var(--ac-primary-light);
    color: var(--ac-primary);
}

.ac-cat-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.8;
}

.ac-home-cat-tabs {
    border-bottom: 1px solid var(--ac-border, #e2e8f0);
    margin-bottom: 0.75rem;
}

.ac-home-cat-tabs .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ac-muted);
    border: none;
    padding: 0.35rem 0.75rem;
}

.ac-home-cat-tabs .nav-link.active {
    color: var(--ac-primary);
    background: transparent;
    border-bottom: 2px solid var(--ac-primary);
}

.ac-cat-list-compact .ac-cat-item {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.ac-page-subtitle {
    font-size: 0.9rem;
}

/* 应用网格 */
.ac-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ac-app-card {
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius);
    box-shadow: var(--ac-shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.ac-app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ac-shadow-hover);
}

.ac-app-card-head {
    display: flex;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 0.5rem;
}

.ac-app-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--ac-primary-light);
    flex-shrink: 0;
}

.ac-app-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.ac-app-card-title a {
    color: var(--ac-text);
    text-decoration: none;
}

.ac-app-card-title a:hover { color: var(--ac-primary); }

.ac-app-card-desc {
    padding: 0 1.15rem;
    font-size: 0.82rem;
    color: var(--ac-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ac-app-card-meta {
    padding: 0.65rem 1.15rem;
    font-size: 0.78rem;
    color: var(--ac-muted);
}

.ac-app-card-meta span + span { margin-left: 0.75rem; }

.ac-app-card-foot {
    padding: 0.65rem 1.15rem;
    border-top: 1px solid var(--ac-border);
}

/* 列表页 */
.ac-list-page { padding: 1.5rem 0; }

.ac-page-head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ac-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.ac-page-count { color: var(--ac-muted); font-size: 0.9rem; }

.ac-filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.ac-pill {
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--ac-border);
    background: var(--ac-surface);
    color: var(--ac-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.ac-pill.active,
.ac-pill:hover {
    background: var(--ac-primary-light);
    border-color: var(--ac-primary);
    color: var(--ac-primary);
}

.ac-search-header { margin-bottom: 1.5rem; }
.ac-search-header .ac-page-title { margin-bottom: 1rem; }
.ac-search-page .ac-search-box { max-width: 100%; }
.ac-result-count { color: var(--ac-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* 详情页 */
.ac-detail-page { padding: 1.5rem 0; }

.ac-detail-header {
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ac-shadow);
}

.ac-detail-main { display: flex; gap: 1.25rem; align-items: flex-start; }

.ac-detail-icon {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--ac-primary-light);
    flex-shrink: 0;
}

.ac-detail-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.ac-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ac-detail-author {
    color: var(--ac-muted);
    font-size: 0.9rem;
}

.ac-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--ac-muted);
}

.ac-detail-stats strong { color: var(--ac-text); }

.ac-download-panel {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid var(--ac-border);
    border-radius: 14px;
    padding: 1.25rem;
}

.ac-download-btn { font-weight: 700; border-radius: 10px; }

.ac-content-panel {
    background: var(--ac-surface);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--ac-shadow);
}

.ac-content-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--ac-border);
}

.ac-rich-content { line-height: 1.75; color: #334155; }

.ac-changelog {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    white-space: pre-wrap;
    border: 1px solid var(--ac-border);
    margin: 0;
}

.ac-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ac-border);
    font-size: 0.9rem;
}

.ac-info-list li:last-child { border-bottom: none; }
.ac-info-list span { color: var(--ac-muted); }

.ac-version-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-version-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--ac-border);
    font-size: 0.88rem;
}

.ac-version-list li:last-child { border-bottom: none; }
.ac-version-num { font-weight: 700; }
.ac-version-date { color: var(--ac-muted); }

.ac-sha-label { font-size: 0.8rem; color: var(--ac-muted); margin-bottom: 0.35rem; }

.ac-sha-value {
    display: block;
    font-size: 0.72rem;
    word-break: break-all;
    background: #f1f5f9;
    padding: 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--ac-border);
}

.ac-screenshot { border: 1px solid var(--ac-border); }

/* 分页 */
.ac-pagination { margin-top: 2rem; }

.ac-pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border-color: var(--ac-border);
    color: var(--ac-muted);
}

.ac-pagination .page-item.active .page-link {
    background: var(--ac-primary);
    border-color: var(--ac-primary);
}

/* 空状态 */
.ac-empty-state,
.ac-empty-inline {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--ac-muted);
}

.ac-empty-state i {
    font-size: 2.5rem;
    color: var(--ac-border);
    display: block;
    margin-bottom: 0.75rem;
}

.ac-empty-inline { padding: 1rem; font-size: 0.9rem; }

/* 页脚 */
.site-footer {
    background: var(--ac-surface);
    border-top: 1px solid var(--ac-border);
    padding: 1.5rem 0;
    margin-top: 2rem;
    color: var(--ac-muted);
    text-align: center;
}

.site-footer p { margin: 0; font-size: 0.875rem; }

/* 响应式 */
@media (max-width: 991px) {
    .ac-featured-grid { grid-template-columns: repeat(2, 1fr); }
    .ac-app-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .ac-hero { padding: 1.75rem 1.25rem; }
    .ac-featured-grid { grid-template-columns: 1fr; }
    .ac-app-grid { grid-template-columns: 1fr; }
    .ac-stats-row { flex-direction: column; }
    .ac-detail-main { flex-direction: column; }
}

/* 截图 Gallery */
.ac-gallery { margin-bottom: 2rem; }
.ac-gallery-main {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid var(--ac-border);
    cursor: zoom-in;
}
.ac-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ac-gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.75;
}
.ac-gallery-thumb.active, .ac-gallery-thumb:hover { border-color: var(--ac-primary); opacity: 1; }

.ac-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.92);
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.ac-lightbox.show { display: flex; }
.ac-lightbox img {
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
body.ac-lightbox-open { overflow: hidden; }
#acLightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85);
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
#acLightbox.show { display: flex; }
#acLightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
