/* 与模组管理器落地页同系蓝灰配色 */
:root {
    --shc-primary: #3b82f6;
    --shc-primary-dark: #2563eb;
    --shc-success: #10b981;
    --shc-text-main: #0f172a;
    --shc-text-sub: #475569;
    --shc-bg: #f8fafc;
    --shc-card-bg: #ffffff;
    --shc-border: #e2e8f0;
    --shc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shc-landing {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--shc-bg);
    color: var(--shc-text-main);
    line-height: 1.5;
    width: 100%;
    margin: 0;
    padding: 0 0 64px;
}

.shc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.shc-navbar {
    display: none;
}

.shc-games-section {
    padding: 28px 0 8px;
}

.shc-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.shc-section-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: var(--shc-text-main);
}

.shc-section-header p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--shc-text-sub);
    font-size: 15px;
}

/* 游戏卡片：对齐模组管理器 sc-game-adapt */
.shc-games-section {
    padding: 28px 0 8px;
}

.shc-game-adapt-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    margin: 0 -4px;
    padding-bottom: 4px;
}

.shc-game-adapt-scroll::-webkit-scrollbar {
    display: none;
}

.shc-game-adapt-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    width: max-content;
    min-width: 100%;
    padding: 4px;
}

.shc-game-adapt-card {
    appearance: none;
    border: 0;
    background: transparent;
    display: block;
    flex: 0 0 168px;
    width: 168px;
    padding: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.shc-game-adapt-card:hover {
    transform: translateY(-4px);
}

.shc-game-adapt-card.is-active .shc-game-adapt-cover-wrap {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.45), var(--shc-shadow);
}

.shc-game-adapt-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: var(--shc-shadow);
}

.shc-game-adapt-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shc-game-cover-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 28px;
    background: #e2e8f0;
}

.shc-game-adapt-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.shc-game-adapt-badge.is-adapted {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.shc-game-adapt-badge.is-adapting {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
    min-width: 48px;
}

.shc-game-adapt-name {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--shc-text-main);
    line-height: 1.35;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shc-game-adapt-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--shc-text-sub);
    text-align: center;
    line-height: 1.4;
}

/* Hero */
.shc-hero {
    padding: 48px 0 40px;
}

.shc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shc-text-sub);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.shc-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--shc-success);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.shc-hero-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--shc-text-main);
}

.shc-hero-desc {
    margin: 0 0 28px;
    font-size: 16px;
    color: var(--shc-text-sub);
    line-height: 1.65;
    max-width: 46ch;
}

.shc-hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
}

.shc-hero-side {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.shc-recent-downloads {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 240px;
    height: 64px;
    overflow: hidden;
    position: relative;
    background: var(--shc-card-bg);
    border-radius: 12px;
    border: 1px solid var(--shc-border);
    display: flex;
    align-items: center;
}

.shc-downloads-scroll {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: shc-scroll-y 20s linear infinite;
}

.shc-recent-downloads:hover .shc-downloads-scroll {
    animation-play-state: paused;
}

@keyframes shc-scroll-y {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.shc-download-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--shc-text-sub);
    white-space: nowrap;
    height: 40px;
    box-sizing: border-box;
}

.shc-download-item img,
.shc-avatar-fallback {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.shc-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
}

.shc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.shc-btn-primary {
    background: var(--shc-primary);
    color: #fff !important;
    padding: 14px 22px;
    min-height: 64px;
    flex: 0 0 auto;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.45);
}

.shc-btn-primary:hover {
    background: var(--shc-primary-dark);
    transform: translateY(-2px);
    color: #fff !important;
}

.shc-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.shc-btn-text .title {
    font-size: 16px;
    font-weight: 700;
}

.shc-btn-text .subtitle {
    font-size: 12px;
    opacity: 0.92;
}

.shc-btn-ghost {
    background: var(--shc-card-bg);
    border-color: var(--shc-border);
    color: var(--shc-text-main) !important;
    padding: 14px 18px;
    font-weight: 650;
}

.shc-stat {
    min-width: 96px;
    flex: 0 0 auto;
    height: 64px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--shc-border);
    background: var(--shc-card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shc-stat strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--shc-primary);
    line-height: 1.1;
}

.shc-stat span {
    font-size: 12px;
    color: var(--shc-text-sub);
}

.shc-hero-meta {
    margin-top: 16px;
    color: var(--shc-text-sub);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.shc-oneclick-tip a {
    color: var(--shc-primary);
    font-weight: 650;
    text-decoration: none;
    margin: 0 2px;
}

.shc-oneclick-tip a:hover {
    text-decoration: underline;
}

/* 无外壳多图轮播 */
.shc-hero-visual {
    position: relative;
}

.shc-carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--shc-shadow);
    aspect-ratio: 16 / 10;
}

.shc-carousel-track {
    position: absolute;
    inset: 0;
}

.shc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: zoom-in;
}

.shc-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.shc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shc-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.shc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.shc-dot.is-active {
    background: #fff;
}

.shc-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.shc-carousel-nav:hover {
    background: rgba(15, 23, 42, 0.7);
}

.shc-prev { left: 12px; }
.shc-next { right: 12px; }

.shc-coming-visual {
    border-radius: 16px;
    border: 1px dashed var(--shc-border);
    background: var(--shc-card-bg);
    padding: 72px 24px;
    text-align: center;
    color: var(--shc-text-sub);
}

.shc-coming-visual i {
    font-size: 36px;
    color: var(--shc-primary);
    margin-bottom: 12px;
}

/* 核心功能介绍：左右结构 */
.shc-features {
    padding: 48px 0;
    background: #fff;
}

.shc-feature-showcase {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.shc-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.shc-feature-item {
    appearance: none;
    border: 1px solid var(--shc-border);
    background: var(--shc-card-bg);
    border-radius: 14px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shc-feature-item:hover {
    transform: translateY(-1px);
}

.shc-feature-item.is-active {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.06);
}

.shc-feature-item strong {
    display: block;
    font-size: 15px;
    font-weight: 750;
    margin-bottom: 4px;
    color: var(--shc-text-main);
}

.shc-feature-item span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: var(--shc-text-sub);
}

.shc-feature-media {
    position: relative;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    gap: 0;
}

.shc-feature-stage-col {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shc-feature-stage-wrap {
    position: relative;
    flex: 1;
    min-height: 420px;
}

.shc-feature-stage {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(100% 70% at 100% 100%, rgba(14, 165, 233, 0.16), transparent 50%),
        #0b1220;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    cursor: zoom-in;
}

.shc-feature-thumbs {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.shc-feat-thumb {
    appearance: none;
    position: relative;
    width: 128px;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #0b1220;
    flex: 0 0 128px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shc-feat-thumb:hover {
    transform: translateY(-1px);
}

.shc-feat-thumb.is-active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.shc-feat-thumb img,
.shc-feat-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    background: #0b1220;
}

.shc-feat-thumb-ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(120% 80% at 30% 0%, rgba(59, 130, 246, 0.28), transparent 55%),
        #111827;
    color: rgba(255, 255, 255, 0.35);
    font-size: 18px;
}

.shc-feat-thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.28);
    color: #fff;
    pointer-events: none;
}

.shc-feat-thumb-play i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    display: grid;
    place-items: center;
    font-size: 11px;
    padding-left: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.shc-feature-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 14px;
    padding: 24px;
    text-align: center;
}

.shc-feat-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: grid;
    place-items: center;
}

.shc-feat-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.shc-feat-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    background: transparent;
}

.shc-feat-slide video,
.shc-feat-slide iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.shc-feat-slide video {
    object-fit: contain;
}

.shc-feat-video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    cursor: zoom-in;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
        #000;
    color: #fff;
}

.shc-feat-video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.shc-feat-video-poster.has-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(15, 23, 42, 0.28);
    pointer-events: none;
}

.shc-feat-video-poster i {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    display: grid;
    place-items: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.shc-feature-media-nav,
.shc-media-prev,
.shc-media-next,
.shc-feature-media-dots,
.shc-feat-dot {
    display: none !important;
}

/* AI 能力清单 */
.shc-ai-cap {
    padding: 48px 0 24px;
}

.shc-ai-cap-intro {
    max-width: 920px;
    margin: 0 auto 20px;
    padding: 20px 22px;
    border-radius: 16px;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
        var(--shc-card-bg);
    border: 1px solid var(--shc-border);
    box-shadow: var(--shc-shadow);
}

.shc-ai-cap-intro p {
    margin: 0 0 12px;
    color: var(--shc-text-sub);
    font-size: 14px;
    line-height: 1.75;
}

.shc-ai-cap-intro p:last-child {
    margin-bottom: 0;
}

.shc-ai-cap-warning {
    max-width: 920px;
    margin: 0 auto 22px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.6;
}

.shc-ai-cap-warning i {
    margin-top: 2px;
    flex-shrink: 0;
}

.shc-ai-cap-list {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shc-ai-cap-item {
    border: 1px solid var(--shc-border);
    border-radius: 14px;
    background: var(--shc-card-bg);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shc-ai-cap-item.is-open {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.shc-ai-cap-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.shc-ai-cap-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.12);
    color: var(--shc-primary);
    flex-shrink: 0;
}

.shc-ai-cap-head-text {
    flex: 1;
    min-width: 0;
}

.shc-ai-cap-head-text strong {
    display: block;
    font-size: 15px;
    font-weight: 750;
    color: var(--shc-text-main);
}

.shc-ai-cap-head-text em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    color: var(--shc-text-sub);
}

.shc-ai-cap-chevron {
    color: var(--shc-text-sub);
    transition: transform 0.2s ease;
}

.shc-ai-cap-item.is-open .shc-ai-cap-chevron {
    transform: rotate(180deg);
    color: var(--shc-primary);
}

.shc-ai-cap-body {
    padding: 0 16px 16px;
    border-top: 1px solid transparent;
}

.shc-ai-cap-item.is-open .shc-ai-cap-body {
    border-top-color: var(--shc-border);
    padding-top: 12px;
}

.shc-ai-cap-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shc-ai-cap-row {
    display: grid;
    grid-template-columns: minmax(140px, 0.9fr) 1.2fr;
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.08);
}

.shc-ai-cap-action {
    font-size: 13px;
    font-weight: 650;
    color: var(--shc-text-main);
    line-height: 1.5;
}

.shc-ai-cap-example {
    min-width: 0;
}

.shc-ai-cap-quote {
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}

.shc-ai-cap-notes {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--shc-text-sub);
    font-size: 13px;
    line-height: 1.7;
}

.shc-ai-cap-extras {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.06);
    color: var(--shc-text-sub);
    font-size: 13px;
    line-height: 1.7;
}

.shc-ai-cap-extras p {
    margin: 0 0 8px;
}

.shc-ai-cap-extras p:last-child {
    margin-bottom: 0;
}

.shc-ai-cap-flow {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--shc-border);
    background: var(--shc-card-bg);
    box-shadow: var(--shc-shadow);
}

.shc-ai-cap-flow-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--shc-text-main);
}

.shc-ai-cap-flow-head p {
    margin: 0 0 16px;
    color: var(--shc-text-sub);
    font-size: 13px;
}

.shc-ai-cap-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    counter-reset: shc-step;
}

.shc-ai-cap-steps li {
    counter-increment: shc-step;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.08);
    font-size: 13px;
    color: var(--shc-text-main);
    line-height: 1.55;
}

.shc-ai-cap-steps li::before {
    content: counter(shc-step);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--shc-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.shc-ai-cap-tip {
    max-width: 920px;
    margin: 16px auto 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #92400e;
    font-size: 13px;
    line-height: 1.65;
}

.shc-ai-cap-tip i {
    margin-top: 2px;
    color: #d97706;
}

@media (max-width: 768px) {
    .shc-ai-cap-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shc-ai-cap-quote {
        border-radius: 10px;
    }
}

[data-bs-theme="dark"] .shc-landing .shc-ai-cap-quote,
body.dark-open .shc-landing .shc-ai-cap-quote,
.shc-landing[data-theme="dark"] .shc-ai-cap-quote {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

[data-bs-theme="dark"] .shc-landing .shc-ai-cap-warning,
body.dark-open .shc-landing .shc-ai-cap-warning,
.shc-landing[data-theme="dark"] .shc-ai-cap-warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

[data-bs-theme="dark"] .shc-landing .shc-ai-cap-tip,
body.dark-open .shc-landing .shc-ai-cap-tip,
.shc-landing[data-theme="dark"] .shc-ai-cap-tip {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* AI 能力 / 版本更新 选项卡 */
.shc-info-tabs {
    padding: 32px 0 48px;
}

.shc-info-tablist {
    display: flex;
    align-items: stretch;
    gap: 28px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--shc-border);
    background: transparent;
    max-width: none;
    border-radius: 0;
}

.shc-info-tab {
    appearance: none;
    position: relative;
    border: 0;
    background: transparent;
    color: var(--shc-muted, #6b7280);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    padding: 12px 2px 14px;
    border-radius: 0;
    cursor: pointer;
    transition: color .18s ease;
}

.shc-info-tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    transform: scaleX(0.55);
    transition: background .18s ease, transform .18s ease;
}

.shc-info-tab:hover {
    color: var(--shc-text);
}

.shc-info-tab.is-active {
    background: transparent;
    color: var(--shc-text);
    font-weight: 800;
    box-shadow: none;
}

.shc-info-tab.is-active::after {
    background: linear-gradient(90deg, #f59e0b, #f97316);
    transform: scaleX(1);
}

.shc-info-panel {
    display: none;
}

.shc-info-panel.is-active {
    display: block;
}

.shc-info-panel[hidden] {
    display: none !important;
}

.shc-ai-cap-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 160px;
    border: 1px dashed var(--shc-border);
    border-radius: 14px;
    color: var(--shc-muted, #6b7280);
    background: var(--shc-card-bg);
}

.shc-ai-cap-empty i {
    font-size: 28px;
    opacity: 0.7;
}

.shc-ai-cap-empty p {
    margin: 0;
    font-size: 14px;
}

/* 版本更新 · 左侧时间轴 + 右侧内容 */
.shc-changelog {
    padding: 12px 0 12px;
}

.shc-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
    padding: 4px 0 8px;
}

.shc-timeline::before {
    content: '';
    position: absolute;
    left: 132px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.85) 0%, rgba(59, 130, 246, 0.35) 55%, rgba(148, 163, 184, 0.2) 100%);
    border-radius: 2px;
    pointer-events: none;
}

.shc-timeline-item {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 0 24px;
    align-items: start;
    padding-bottom: 28px;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.shc-timeline-item:last-child {
    padding-bottom: 0;
}

.shc-timeline-axis {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 28px;
    padding-top: 2px;
    min-height: 48px;
}

.shc-timeline-dot {
    position: absolute;
    right: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--shc-card-bg);
    border: 2px solid rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    z-index: 1;
}

.shc-timeline-dot.is-current {
    width: 14px;
    height: 14px;
    right: -8px;
    top: 9px;
    border-color: #f97316;
    background: linear-gradient(135deg, #fb923c, #f97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.shc-timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    width: 100%;
}

.shc-timeline-ver {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--shc-text-main);
}

.shc-timeline-item.is-latest .shc-timeline-ver {
    color: #ea580c;
}

.shc-timeline-date,
.shc-timeline-size {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--shc-text-sub);
}

.shc-timeline-size {
    font-size: 12px;
    opacity: 0.9;
}

.shc-timeline-content {
    border: 1px solid var(--shc-border);
    background: var(--shc-card-bg);
    border-radius: 14px;
    padding: 16px 18px;
    min-width: 0;
}

.shc-timeline-item.is-latest .shc-timeline-content {
    border-color: rgba(249, 115, 22, 0.28);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.08);
}

.shc-tag {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.shc-timeline-body-wrap {
    position: relative;
}

.shc-timeline-body {
    color: var(--shc-text-sub);
    font-size: 13.5px;
    line-height: 1.7;
}

.shc-timeline-body.is-collapsed {
    max-height: calc(1.7em * 20);
    overflow: hidden;
}

.shc-timeline-body-wrap.is-collapsible:not(.is-expanded)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--shc-card-bg));
}

.shc-timeline-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
    color: var(--shc-primary);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.shc-timeline-more:hover {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.55);
}

.shc-timeline-body > *:first-child {
    margin-top: 0;
}

.shc-timeline-body > *:last-child {
    margin-bottom: 0;
}

.shc-timeline-body h1,
.shc-timeline-body h2,
.shc-timeline-body h3,
.shc-timeline-body h4,
.shc-timeline-body h5,
.shc-timeline-body h6 {
    margin: 14px 0 6px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--shc-text-main);
}

.shc-timeline-body h1 { font-size: 15px; }
.shc-timeline-body h2 { font-size: 14.5px; }
.shc-timeline-body h3,
.shc-timeline-body h4,
.shc-timeline-body h5,
.shc-timeline-body h6 { font-size: 14px; }

.shc-timeline-body p,
.shc-timeline-body li {
    margin: 0 0 6px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--shc-text-sub);
}

.shc-timeline-body ul,
.shc-timeline-body ol {
    margin: 0 0 8px;
    padding-left: 1.25em;
}

.shc-timeline-body li + li {
    margin-top: 2px;
}

.shc-timeline-body strong,
.shc-timeline-body b {
    font-weight: 650;
    color: var(--shc-text-main);
}

.shc-coming-block {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--shc-border);
    border-radius: 16px;
    color: var(--shc-text-sub);
    max-width: 640px;
    margin: 0 auto;
    background: var(--shc-card-bg);
}

.shc-coming-block i {
    font-size: 32px;
    color: var(--shc-primary);
    margin-bottom: 10px;
}

.shc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 72px 48px;
}

.shc-modal[hidden] {
    display: none !important;
}

.shc-modal-stage {
    width: min(96vw, 1400px);
    height: min(88vh, 900px);
    display: grid;
    place-items: center;
}

.shc-modal-stage img,
.shc-modal-stage video,
.shc-modal-stage iframe {
    width: 100%;
    height: 100%;
    max-width: min(96vw, 1400px);
    max-height: min(88vh, 900px);
    object-fit: contain;
    border: 0;
    background: #000;
    border-radius: 8px;
}

.shc-modal-stage img {
    background: transparent;
}

.shc-modal-close {
    position: absolute;
    top: 16px;
    right: 22px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

.shc-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease;
}

.shc-modal-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.shc-modal-prev {
    left: 18px;
}

.shc-modal-next {
    right: 18px;
}

.shc-modal-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.02em;
    z-index: 2;
}

/* Dark mode：对齐模组管理器 */
[data-bs-theme="dark"] .shc-landing,
body.dark-open .shc-landing,
.shc-landing[data-theme="dark"] {
    --shc-text-main: #e2e8f0;
    --shc-text-sub: #94a3b8;
    --shc-bg: #0b1220;
    --shc-card-bg: #0f172a;
    --shc-border: #1f2a44;
    --shc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .shc-landing .shc-navbar,
body.dark-open .shc-landing .shc-navbar,
.shc-landing[data-theme="dark"] .shc-navbar {
    background: rgba(10, 14, 24, 0.85);
    border-bottom-color: var(--shc-border);
}

[data-bs-theme="dark"] .shc-landing .shc-pill,
body.dark-open .shc-landing .shc-pill,
.shc-landing[data-theme="dark"] .shc-pill {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

[data-bs-theme="dark"] .shc-landing .shc-hero-badge,
body.dark-open .shc-landing .shc-hero-badge,
.shc-landing[data-theme="dark"] .shc-hero-badge {
    background: #0f172a;
    color: var(--shc-text-sub);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .shc-landing .shc-features,
body.dark-open .shc-landing .shc-features,
.shc-landing[data-theme="dark"] .shc-features {
    background: #0f172a;
}

[data-bs-theme="dark"] .shc-landing .shc-feature-media-nav,
body.dark-open .shc-landing .shc-feature-media-nav,
.shc-landing[data-theme="dark"] .shc-feature-media-nav {
    background: rgba(2, 6, 23, 0.62);
}

[data-bs-theme="dark"] .shc-landing .shc-media-prev,
[data-bs-theme="dark"] .shc-landing .shc-media-next,
body.dark-open .shc-landing .shc-media-prev,
body.dark-open .shc-landing .shc-media-next,
.shc-landing[data-theme="dark"] .shc-media-prev,
.shc-landing[data-theme="dark"] .shc-media-next {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

[data-bs-theme="dark"] .shc-landing .shc-game-adapt-cover-wrap,
body.dark-open .shc-landing .shc-game-adapt-cover-wrap,
.shc-landing[data-theme="dark"] .shc-game-adapt-cover-wrap {
    background: #1f2937;
}

[data-bs-theme="dark"] .shc-landing .shc-btn-ghost,
body.dark-open .shc-landing .shc-btn-ghost,
.shc-landing[data-theme="dark"] .shc-btn-ghost {
    background: #0f172a;
}

@media (max-width: 992px) {
    .shc-feature-showcase {
        grid-template-columns: 1fr;
    }

    .shc-feature-list {
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding-bottom: 4px;
    }

    .shc-feature-item {
        flex: 0 0 200px;
    }

    .shc-feat-thumb {
        width: 112px;
        height: auto;
        aspect-ratio: 16 / 9;
        flex: 0 0 112px;
    }

    .shc-modal {
        padding: 52px 16px 44px;
    }

    .shc-modal-nav {
        width: 40px;
        height: 40px;
    }

    .shc-modal-prev {
        left: 8px;
    }

    .shc-modal-next {
        right: 8px;
    }
}

@media (max-width: 768px) {
    .shc-game-adapt-card {
        flex-basis: 148px;
        width: 148px;
    }

    .shc-games-section {
        padding-top: 20px;
    }

    .shc-hero {
        padding-top: 28px;
    }

    .shc-carousel-nav {
        width: 34px;
        height: 34px;
    }

    .shc-timeline::before {
        left: 11px;
    }

    .shc-timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 22px;
    }

    .shc-timeline-axis {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding-right: 0;
        padding-left: 28px;
        min-height: auto;
    }

    .shc-timeline-dot {
        left: -28px;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .shc-timeline-dot.is-current {
        left: -29px;
        top: 50%;
        transform: translateY(-50%);
    }

    .shc-timeline-meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 8px;
    }

    .shc-timeline-ver {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .shc-game-adapt-card {
        flex-basis: 136px;
        width: 136px;
    }

    .shc-hero-actions {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .shc-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .shc-hero-side {
        width: 100%;
    }

    .shc-stat {
        flex: 0 0 auto;
    }

    .shc-recent-downloads {
        flex: 1 1 auto;
        max-width: none;
    }
}
/* 本地下载弹窗（对齐详情页） */
.apg-download-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 18, 28, 0.58);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
	backdrop-filter: blur(4px);
}
.apg-download-modal-content {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 520px;
	box-shadow: 0 18px 48px rgba(0,0,0,0.22);
	overflow: hidden;
	border: 1px solid rgba(229, 167, 81, 0.22);
}

.apg-dl-vip-ticker {
	overflow: hidden;
	position: relative;
	height: 44px;
	display: flex;
	align-items: center;
	margin: 0 10px 10px;
	border-radius: 10px;
	background: linear-gradient(90deg, #fff8ec 0%, #fff1d6 45%, #fff8ec 100%);
	border: 1px solid rgba(229, 167, 81, 0.2);
}

.apg-dl-vip-ticker-wrap {
	margin: 4px 22px 0;
	padding: 10px 0 2px;
	border-radius: 12px;
	border: 1px solid rgba(229, 167, 81, 0.22);
	background: linear-gradient(180deg, #fffaf2 0%, #fff8ec 100%);
	box-sizing: border-box;
}

.apg-dl-vip-ticker-wrap[hidden],
.apg-dl-vip-ticker[hidden] {
	display: none !important;
}

.apg-dl-vip-ticker::before,
.apg-dl-vip-ticker::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 24px;
	z-index: 1;
	pointer-events: none;
	border-radius: inherit;
}

.apg-dl-vip-ticker::before {
	left: 0;
	background: linear-gradient(90deg, #fff8ec, rgba(255, 248, 236, 0));
}

.apg-dl-vip-ticker::after {
	right: 0;
	background: linear-gradient(270deg, #fff8ec, rgba(255, 248, 236, 0));
}

.apg-dl-vip-ticker-track {
	display: inline-flex;
	align-items: center;
	gap: 52px;
	white-space: nowrap;
	will-change: transform;
	animation: apg-dl-vip-ticker-scroll 48s linear infinite;
	padding-left: 16px;
}

.apg-dl-vip-ticker:hover .apg-dl-vip-ticker-track {
	animation-play-state: paused;
}

.apg-dl-vip-ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	color: #8a5a12;
	letter-spacing: 0.01em;
}

.apg-dl-vip-ticker-avatar-wrap {
	position: relative;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.apg-dl-vip-ticker-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 1px solid rgba(212, 160, 23, 0.35);
	background: #fff;
}

.apg-dl-vip-ticker-avatar.is-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f3e2c0;
	color: #b8860b;
	font-size: 11px;
}

.apg-dl-vip-ticker-avatar-wrap.is-boos .apg-dl-vip-ticker-avatar {
	border: 2px solid #d4a017;
	box-shadow:
		0 0 0 2px rgba(255, 215, 120, 0.35),
		0 3px 10px rgba(196, 122, 26, 0.35);
}

.apg-dl-vip-ticker-crown {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 7px;
	color: #fff;
	background: linear-gradient(135deg, #f6d365, #c47a1a);
	box-shadow: 0 2px 6px rgba(196, 122, 26, 0.4);
	z-index: 1;
}

.apg-dl-vip-ticker-text {
	line-height: 1.2;
}

.apg-dl-vip-ticker-item.is-boos {
	color: #9a5b10;
}

.apg-dl-vip-ticker-thanks {
	padding: 0 14px 8px;
	font-size: 11px;
	line-height: 1.45;
	color: #8a5a12;
	font-weight: 600;
}

@keyframes apg-dl-vip-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.apg-download-modal-header {
	padding: 18px 22px 14px;
	border-bottom: 1px solid #f0ebe3;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	background: linear-gradient(180deg, #fff8ec 0%, #fff 100%);
}
.apg-download-modal-kicker {
	font-size: 11px;
	letter-spacing: 0.16em;
	font-weight: 700;
	color: #c47a1a;
	margin-bottom: 4px;
}
.apg-download-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: #2b2116;
}
.apg-download-modal-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	padding: 0 2px;
}
.apg-download-modal-body {
	padding: 18px 22px 8px;
	font-size: 14px;
	color: #333;
}
.apg-dl-mod-card {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px;
	border-radius: 12px;
	background: #fffaf2;
	border: 1px solid rgba(229, 167, 81, 0.22);
	margin-bottom: 16px;
}
.apg-dl-mod-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e5a751, #ff5000);
	color: #fff;
	flex-shrink: 0;
}
.apg-dl-mod-name {
	font-size: 15px;
	font-weight: 700;
	color: #2b2116;
	line-height: 1.4;
	word-break: break-word;
}
.apg-dl-mod-sub {
	margin-top: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: #8a7460;
}
.apg-dl-mod-sub span:empty { display: none; }
.apg-dl-eta-head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 10px;
}
.apg-dl-eta-head span {
	font-size: 14px;
	font-weight: 700;
	color: #3b2d1d;
}
.apg-dl-eta-head small {
	color: #9a8774;
	font-size: 12px;
	line-height: 1.5;
}
.apg-dl-eta-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.apg-dl-eta-row {
	display: grid;
	grid-template-columns: 1.1fr 1fr 0.9fr;
	gap: 8px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #eee;
	background: #fafafa;
}
.apg-dl-eta-row.is-current {
	background: #fff7eb;
	border-color: rgba(229, 167, 81, 0.35);
}
.apg-dl-eta-row.is-vip {
	background: linear-gradient(180deg, #fffaf2, #fff);
	border-color: rgba(229, 167, 81, 0.28);
}
.apg-dl-eta-row.is-boos {
	background: linear-gradient(180deg, #fff4e4, #fffaf2);
	border-color: rgba(255, 80, 0, 0.22);
	box-shadow: inset 0 0 0 1px rgba(229, 167, 81, 0.08);
}
.apg-dl-eta-tier {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.apg-dl-eta-tier strong { font-size: 13px; color: #2f2418; }
.apg-dl-eta-tier em { font-style: normal; font-size: 11px; color: #9a8774; }
.apg-dl-eta-time {
	font-size: 14px;
	font-weight: 700;
	color: #3b2d1d;
	text-align: center;
}
.apg-dl-eta-save {
	text-align: right;
	font-size: 12px;
	font-weight: 700;
	color: #b0a090;
}
.apg-dl-eta-save.has-save { color: #ff5000; }
.apg-dl-eta-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(90deg, #ff5000, #ff8c00);
	vertical-align: middle;
}
.apg-dl-eta-note {
	margin: 12px 0 4px;
	font-size: 12px;
	color: #9a8774;
	line-height: 1.6;
}
.apg-dl-limit-alert {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff4e8;
	border: 1px solid #f0c48a;
	color: #8a5a12;
	font-size: 13px;
	line-height: 1.65;
}
.apg-dl-limit-alert.is-error {
	background: #fff1f0;
	border-color: #f3b5b0;
	color: #a33b32;
}
.apg-download-modal-footer {
	padding: 14px 22px 18px;
	border-top: none;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}
.apg-dl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}
.apg-dl-btn i { font-size: 13px; }
.apg-dl-btn-ghost {
	background: #fff;
	border-color: rgba(229, 167, 81, 0.35);
	color: #8a5a18;
}
.apg-dl-btn-ghost:hover {
	background: #fff8ec;
	border-color: #e5a751;
	color: #b86a12;
}
.apg-dl-btn-primary {
	background: linear-gradient(90deg, #ff5000, #ff8c00);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 18px rgba(255, 80, 0, 0.22);
}
.apg-dl-btn-primary:hover {
	color: #fff;
	filter: brightness(1.05);
	box-shadow: 0 10px 22px rgba(255, 80, 0, 0.28);
	text-decoration: none;
}
@media (max-width: 520px) {
	.apg-dl-eta-row {
		grid-template-columns: 1fr;
		gap: 4px;
		text-align: left;
	}
	.apg-dl-eta-time,
	.apg-dl-eta-save { text-align: left; }
}
html[data-bs-theme="dark"] .apg-dl-vip-ticker,
[data-bs-theme="dark"] .apg-dl-vip-ticker,
body.dark-open .apg-dl-vip-ticker {
	background: linear-gradient(90deg, #2a2418 0%, #3a2f1c 45%, #2a2418 100%);
	border-color: #4a3d28;
}

html[data-bs-theme="dark"] .apg-dl-vip-ticker-wrap,
[data-bs-theme="dark"] .apg-dl-vip-ticker-wrap,
body.dark-open .apg-dl-vip-ticker-wrap {
	background: linear-gradient(180deg, #2a2418 0%, #241e16 100%);
	border-color: #4a3d28;
}

html[data-bs-theme="dark"] .apg-dl-vip-ticker::before,
[data-bs-theme="dark"] .apg-dl-vip-ticker::before,
body.dark-open .apg-dl-vip-ticker::before {
	background: linear-gradient(90deg, #2a2418, rgba(42, 36, 24, 0));
}

html[data-bs-theme="dark"] .apg-dl-vip-ticker::after,
[data-bs-theme="dark"] .apg-dl-vip-ticker::after,
body.dark-open .apg-dl-vip-ticker::after {
	background: linear-gradient(270deg, #2a2418, rgba(42, 36, 24, 0));
}

html[data-bs-theme="dark"] .apg-dl-vip-ticker-item,
[data-bs-theme="dark"] .apg-dl-vip-ticker-item,
body.dark-open .apg-dl-vip-ticker-item {
	color: #f0d5a0;
}

html[data-bs-theme="dark"] .apg-download-modal-content,
[data-bs-theme="dark"] .apg-download-modal-content,
body.dark-open .apg-download-modal-content {
	background: #242428;
	border-color: rgba(229, 167, 81, 0.28);
}
html[data-bs-theme="dark"] .apg-download-modal-header,
[data-bs-theme="dark"] .apg-download-modal-header,
body.dark-open .apg-download-modal-header {
	background: linear-gradient(180deg, #3a3024 0%, #242428 100%);
	border-color: #3d3d42;
}
html[data-bs-theme="dark"] .apg-download-modal-title,
[data-bs-theme="dark"] .apg-download-modal-title,
body.dark-open .apg-download-modal-title { color: #fff8ec; }
html[data-bs-theme="dark"] .apg-download-modal-body,
[data-bs-theme="dark"] .apg-download-modal-body,
body.dark-open .apg-download-modal-body { color: #ddd; }
html[data-bs-theme="dark"] .apg-dl-mod-card,
[data-bs-theme="dark"] .apg-dl-mod-card,
body.dark-open .apg-dl-mod-card {
	background: #2f281f;
	border-color: rgba(229, 167, 81, 0.24);
}
html[data-bs-theme="dark"] .apg-dl-mod-name,
[data-bs-theme="dark"] .apg-dl-mod-name,
body.dark-open .apg-dl-mod-name { color: #fff8ec; }
html[data-bs-theme="dark"] .apg-dl-mod-sub,
html[data-bs-theme="dark"] .apg-dl-eta-head small,
html[data-bs-theme="dark"] .apg-dl-eta-note,
[data-bs-theme="dark"] .apg-dl-mod-sub,
[data-bs-theme="dark"] .apg-dl-eta-head small,
[data-bs-theme="dark"] .apg-dl-eta-note,
body.dark-open .apg-dl-mod-sub,
body.dark-open .apg-dl-eta-head small,
body.dark-open .apg-dl-eta-note { color: #b9a894; }
html[data-bs-theme="dark"] .apg-dl-eta-head span,
html[data-bs-theme="dark"] .apg-dl-eta-tier strong,
html[data-bs-theme="dark"] .apg-dl-eta-time,
[data-bs-theme="dark"] .apg-dl-eta-head span,
[data-bs-theme="dark"] .apg-dl-eta-tier strong,
[data-bs-theme="dark"] .apg-dl-eta-time,
body.dark-open .apg-dl-eta-head span,
body.dark-open .apg-dl-eta-tier strong,
body.dark-open .apg-dl-eta-time { color: #fff8ec; }
html[data-bs-theme="dark"] .apg-dl-eta-row,
[data-bs-theme="dark"] .apg-dl-eta-row,
body.dark-open .apg-dl-eta-row {
	background: #2a2a2e;
	border-color: #3d3d42;
}
html[data-bs-theme="dark"] .apg-dl-eta-row.is-current,
html[data-bs-theme="dark"] .apg-dl-eta-row.is-vip,
html[data-bs-theme="dark"] .apg-dl-eta-row.is-boos,
[data-bs-theme="dark"] .apg-dl-eta-row.is-current,
[data-bs-theme="dark"] .apg-dl-eta-row.is-vip,
[data-bs-theme="dark"] .apg-dl-eta-row.is-boos,
body.dark-open .apg-dl-eta-row.is-current,
body.dark-open .apg-dl-eta-row.is-vip,
body.dark-open .apg-dl-eta-row.is-boos {
	background: #3a3024;
	border-color: rgba(229, 167, 81, 0.28);
}
html[data-bs-theme="dark"] .apg-dl-limit-alert,
[data-bs-theme="dark"] .apg-dl-limit-alert,
body.dark-open .apg-dl-limit-alert {
	background: #3a2e1c;
	border-color: #8a6a30;
	color: #f0d19a;
}
html[data-bs-theme="dark"] .apg-dl-limit-alert.is-error,
[data-bs-theme="dark"] .apg-dl-limit-alert.is-error,
body.dark-open .apg-dl-limit-alert.is-error {
	background: #3a2220;
	border-color: #8a4540;
	color: #f0b4ae;
}
html[data-bs-theme="dark"] .apg-download-modal-footer,
[data-bs-theme="dark"] .apg-download-modal-footer,
body.dark-open .apg-download-modal-footer { border-color: #3d3d42; }
html[data-bs-theme="dark"] .apg-dl-btn-ghost,
[data-bs-theme="dark"] .apg-dl-btn-ghost,
body.dark-open .apg-dl-btn-ghost {
	background: #3a3024;
	border-color: #e5a751;
	color: #ffb36b;
}
