/* ================================================================
   P3: 首页 Hero 轮播
   ================================================================ */
.aura-hero-carousel { position: relative; overflow: hidden; border-radius: 20px; }
.aura-hero-static { min-height: 320px; }
.aura-hero-track { display: flex; transition: transform 0.5s ease; }
.aura-hero-track > .aura-hero-slide {
    min-width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    color: #fff;
    position: relative;
    background: linear-gradient(135deg,var(--aura-hero-from,#2563eb),var(--aura-hero-to,#4338ca));
}
.aura-hero-static-slide {
    min-height: 320px;
}
.aura-hero-static-slide.no-visual .aura-hero-content {
    max-width: 100%;
}
.aura-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 50%);
}
.aura-hero-visual {
    position: absolute;
    right: 28px;
    top: 28px;
    width: 34%;
    max-width: 280px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 36px rgba(15,23,42,0.18);
    background: rgba(255,255,255,0.08);
    z-index: 5;
}
.aura-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.aura-hero-content {
    position: relative;
    z-index: 10;
    max-width: 56%;
}
.aura-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    font-size: 10px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.aura-hero-title {
    max-width: 420px;
    margin: 14px 0 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}
.aura-hero-desc {
    max-width: 400px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.85;
}
.aura-hero-version {
    margin: 8px 0 0;
    font-size: 10px;
    opacity: 0.6;
}
.aura-hero-link {
    position: relative;
    z-index: 10;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--aura-hero-from,#2563eb);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.aura-hero-link i {
    font-size: 10px;
    line-height: 1;
}
.aura-hero-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 5;
}
.aura-hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer; border: none;
    transition: width .2s ease, background-color .2s ease, transform .2s ease; padding: 0;
}
.aura-hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.aura-hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; font-size: 14px;
    transition: background 0.15s;
}
.aura-hero-nav:hover { background: rgba(255,255,255,0.35); }
.aura-hero-nav.prev { left: 12px; }
.aura-hero-nav.next { right: 12px; }

/* 首页公告 */
.aura-home-announcements {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.aura-home-announcements li {
    margin-left: 0;
}
.aura-home-announcement-link {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.aura-home-announcement-link:hover {
    color: #2563eb;
}
.aura-home-announcement-title {
    min-width: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
}
.aura-home-announcement-title::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-radius: 50%;
    background: #2563eb;
    opacity: .75;
    flex: 0 0 auto;
}
.aura-home-announcement-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-modal-lock {
    overflow: hidden;
}
.aura-home-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.aura-home-modal.is-open {
    display: flex;
}
.aura-home-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(124, 58, 237, .48), transparent 34%),
        radial-gradient(circle at 82% 10%, rgba(37, 99, 235, .32), transparent 30%),
        rgba(15, 23, 42, .62);
    backdrop-filter: blur(10px);
}
.aura-home-modal-card {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(78vh, 760px);
    overflow: auto;
    border-radius: 28px;
    border: 1px solid rgba(191, 219, 254, .95);
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .96) 0, rgba(255, 255, 255, .98) 34%, #fff 100%);
    box-shadow: 0 30px 90px rgba(30, 64, 175, .26), 0 12px 36px rgba(88, 28, 135, .16);
}
.aura-home-modal-card::before {
    content: "";
    position: sticky;
    top: 0;
    display: block;
    height: 8px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 58%, #a855f7 100%);
    z-index: 2;
}
.aura-home-modal-close {
    position: sticky;
    top: 22px;
    float: right;
    z-index: 3;
    width: 30px;
    height: 30px;
    margin: 18px 18px 0 0;
    border: 1px solid rgba(203, 213, 225, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
    transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}
.aura-home-modal-close:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    color: #4f46e5;
    box-shadow: 0 14px 30px rgba(79, 70, 229, .18);
}
.aura-home-modal-content {
    padding: 46px 52px 46px;
}
.aura-home-modal-article h2 {
    margin: 18px 0 18px;
    font-size: 32px;
    line-height: 1.28;
    color: #0f172a;
    letter-spacing: 0;
}
.aura-home-modal-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.aura-home-modal-type,
.aura-home-modal-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.aura-home-modal-type {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}
.aura-home-modal-meta {
    background: #eef5ff;
    color: #2563eb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-home-modal-article .aura-content {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    color: #334155;
    font-size: 15px;
    line-height: 1.85;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.aura-home-modal-article .aura-content p:first-child {
    margin-top: 0;
}
.aura-home-modal-article .aura-content p:last-child {
    margin-bottom: 0;
}
.aura-home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.aura-home-marketing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.aura-home-marketing-card {
    overflow: hidden;
}
.aura-home-marketing-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}
.aura-home-marketing-body strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}
.aura-home-marketing-body span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}
.aura-home-post-card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.aura-home-post-card-button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.aura-home-post-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .12);
}
.aura-home-post-date {
    color: #94a3b8;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-home-post-card h3 {
    display: block;
    width: 100%;
    margin: 12px 0 10px;
    overflow: hidden;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.aura-home-post-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}
.aura-home-post-more {
    margin-top: auto;
    padding-top: 18px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}
.aura-home-post-more i {
    margin-left: 6px;
}
@media (max-width: 1024px) {
    .aura-hero-visual {
        width: 30%;
        right: 20px;
        top: 20px;
    }
    .aura-hero-content {
        max-width: 62%;
    }
    .aura-home-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .aura-hero-static-slide {
        min-height: 340px;
    }
    .aura-hero-visual {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: none;
        margin-bottom: 18px;
    }
    .aura-hero-content {
        max-width: 100%;
    }
    .aura-home-modal {
        padding: 14px;
    }
    .aura-home-modal-card {
        max-height: 84vh;
        border-radius: 22px;
    }
    .aura-home-modal-content {
        padding: 36px 22px 28px;
    }
    .aura-home-modal-article h2 {
        font-size: 24px;
    }
    .aura-home-modal-article .aura-content {
        padding: 18px;
        font-size: 14px;
    }
    .aura-home-post-grid {
        grid-template-columns: 1fr;
    }
}
[data-theme="dark"] .aura-home-modal-card,
[data-theme="dark"] .aura-home-post-card {
    background: linear-gradient(135deg, #111827 0, #1e293b 100%);
    border-color: #334155;
}
[data-theme="dark"] .aura-hero-visual {
    border-color: rgba(148,163,184,0.2);
    background: rgba(15,23,42,0.26);
}
[data-theme="dark"] .aura-home-marketing-body strong {
    color: #e2e8f0;
}
[data-theme="dark"] .aura-home-marketing-body span {
    color: #94a3b8;
}
[data-theme="dark"] .aura-home-action-card-custom {
    background: rgba(30, 64, 175, 0.18);
    border-color: rgba(96, 165, 250, 0.32);
}
[data-theme="dark"] .aura-home-action-card-custom .text-blue-900 {
    color: #dbeafe !important;
}
[data-theme="dark"] .aura-home-action-card-custom .text-blue-600 {
    color: #93c5fd !important;
}
[data-theme="dark"] .aura-home-modal-article h2,
[data-theme="dark"] .aura-home-post-card h3 {
    color: #e2e8f0;
}
[data-theme="dark"] .aura-home-post-card p {
    color: #94a3b8;
}
[data-theme="dark"] .aura-home-modal-close {
    background: rgba(30, 41, 59, .9);
    color: #cbd5e1;
}
[data-theme="dark"] .aura-home-modal-meta {
    background: rgba(37, 99, 235, .18);
    color: #bfdbfe;
}
[data-theme="dark"] .aura-home-modal-article .aura-content {
    background: rgba(15, 23, 42, .62);
    border-color: #334155;
    color: #cbd5e1;
}

.aura-global-notice-bar {
    position: relative;
    z-index: 45;
}
.aura-global-notice-bar .aura-ad-wrap {
    margin: 0;
}
.aura-ad-position-notice_bar {
    background: linear-gradient(90deg, #eff6ff 0%, #eef2ff 55%, #f5f3ff 100%);
    border-bottom: 1px solid #dbeafe;
    padding: 10px 16px;
}
.aura-ad-position-notice_bar .aura-ad-link,
.aura-ad-position-notice_bar .aura-ad-text {
    display: block;
    max-width: 1280px;
    margin: 0 auto;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.aura-floating-ad-slot {
    position: fixed;
    bottom: 144px;
    z-index: 48;
    max-width: 220px;
}
.aura-floating-ad-slot-left {
    left: 24px;
}
.aura-floating-ad-slot-right {
    right: 112px;
}
.aura-floating-ad-slot .aura-ad-wrap {
    margin-bottom: 12px;
}
.aura-floating-ad-slot .aura-ad-link,
.aura-floating-ad-slot .aura-ad-text {
    display: block;
    background: rgba(255,255,255,.96);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(37, 99, 235, .14);
    text-decoration: none;
}
.aura-floating-ad-slot .aura-ad-text {
    padding: 14px 16px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
}
.aura-floating-ad-slot img {
    display: block;
    width: 100%;
    height: auto;
}
.aura-ad-position-detail_popup.aura-ad-wrap {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .58);
}
.aura-ad-position-detail_popup .aura-popup-inner {
    position: relative;
    width: min(560px, 100%);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
    overflow: hidden;
}
.aura-ad-position-detail_popup .aura-popup-inner img {
    display: block;
    width: 100%;
    height: auto;
}
.aura-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
}
[data-theme="dark"] .aura-ad-position-notice_bar {
    background: linear-gradient(90deg, rgba(30,41,59,.98) 0%, rgba(49,46,129,.92) 100%);
    border-bottom-color: rgba(99,102,241,.22);
}
[data-theme="dark"] .aura-ad-position-notice_bar .aura-ad-link,
[data-theme="dark"] .aura-ad-position-notice_bar .aura-ad-text {
    color: #e0e7ff;
}
[data-theme="dark"] .aura-floating-ad-slot .aura-ad-link,
[data-theme="dark"] .aura-floating-ad-slot .aura-ad-text,
[data-theme="dark"] .aura-ad-position-detail_popup .aura-popup-inner {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
    color: #e2e8f0;
}
@media (max-width: 1024px) {
    .aura-floating-ad-slot {
        display: none;
    }
}

/* ================================================================
   Aura Home — grander front page refinement
   ================================================================ */
.aura-home-shell {
    position: relative;
}

.aura-home-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -24px;
    left: 50%;
    width: min(1180px, calc(100vw - 32px));
    height: 520px;
    transform: translateX(-50%);
    border-radius: 0 0 28px 28px;
    background:
        linear-gradient(180deg, rgba(239,246,255,.92), rgba(255,255,255,0)),
        radial-gradient(circle at 18% 10%, rgba(37,99,235,.12), transparent 34%),
        radial-gradient(circle at 80% 4%, rgba(124,58,237,.11), transparent 30%);
    pointer-events: none;
}

.aura-home-hero-grid {
    align-items: stretch;
}

.aura-home-shell .aura-hero-carousel {
    min-height: 390px;
    border: 1px solid rgba(255,255,255,.40);
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 26px 60px rgba(30,41,59,.16);
}

.aura-home-shell .aura-hero-track,
.aura-home-shell .aura-hero-track > .aura-hero-slide {
    min-height: 390px;
}

.aura-home-shell .aura-hero-track > .aura-hero-slide {
    padding: 42px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--aura-hero-from,#2563eb) 92%, #020617), color-mix(in srgb, var(--aura-hero-to,#4338ca) 88%, #111827)),
        linear-gradient(135deg, var(--aura-hero-from,#2563eb), var(--aura-hero-to,#4338ca));
}

.aura-home-shell .aura-hero-track > .aura-hero-slide::before,
.aura-home-shell .aura-hero-track > .aura-hero-slide::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.aura-home-shell .aura-hero-track > .aura-hero-slide::before {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,23,42,.34), rgba(15,23,42,.06) 52%, rgba(255,255,255,.08)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0 1px, transparent 1px 18px);
}

.aura-home-shell .aura-hero-track > .aura-hero-slide::after {
    right: -110px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 62%);
}

.aura-home-shell .aura-hero-glow {
    background:
        radial-gradient(circle at 74% 22%, rgba(255,255,255,.22), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(255,255,255,.12), transparent 36%);
}

.aura-home-shell .aura-hero-content {
    max-width: 58%;
}

.aura-home-shell .aura-hero-kicker {
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 12px;
    font-weight: 700;
}

.aura-home-shell .aura-hero-title {
    max-width: 540px;
    margin: 18px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 0;
}

.aura-home-shell .aura-hero-desc {
    max-width: 520px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.8;
    opacity: 1;
}

.aura-home-shell .aura-hero-version {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15,23,42,.20);
    color: rgba(255,255,255,.76);
    font-size: 12px;
    opacity: 1;
}

.aura-hero-product-panel {
    position: absolute;
    z-index: 9;
    top: 44px;
    right: 34px;
    width: min(280px, 34%);
    padding: 16px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    background: rgba(255,255,255,.13);
    box-shadow: 0 24px 50px rgba(15,23,42,.20);
    backdrop-filter: blur(16px);
}

.aura-hero-product-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 13px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-size: 28px;
}

.aura-hero-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aura-hero-product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.aura-hero-product-info strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.aura-hero-product-info span {
    color: rgba(255,255,255,.70);
    font-size: 12px;
}

.aura-hero-product-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.aura-hero-product-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.86);
    font-size: 10px;
    font-weight: 700;
}

.aura-home-shell .aura-hero-link {
    padding: 11px 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(15,23,42,.16);
}

.aura-home-shell .aura-hero-nav {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(15,23,42,.18);
}

.aura-home-shell .aura-hero-dots {
    bottom: 18px;
}

.aura-home-shell .aura-home-side-panel {
    min-height: 390px;
    border-color: #dbe6f3 !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 48px rgba(15,23,42,.08);
}

.aura-home-module {
    position: relative;
}

.aura-home-module-head {
    margin-bottom: 4px;
    padding-bottom: 14px !important;
    border-bottom-color: #dbe4f0 !important;
}

.aura-home-module-head h2 {
    gap: 10px;
    font-size: 19px !important;
    letter-spacing: 0;
}

.aura-home-module-head h2 span {
    width: 4px !important;
    height: 22px !important;
    border-radius: 999px !important;
}

.aura-home-module-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #fff;
    color: #2563eb !important;
    font-weight: 700;
}

.aura-home-shell .aura-software-card {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.aura-home-shell .aura-software-card:hover,
.aura-home-shell .aura-software-card:focus-visible {
    transform: translateY(-4px);
    background: linear-gradient(180deg, #2563eb 0%, #4f46e5 58%, #312e81 100%);
    box-shadow: 0 24px 48px rgba(37,99,235,.18);
}

@media (max-width: 1024px) {
    .aura-hero-product-panel {
        display: none;
    }

    .aura-home-shell .aura-hero-content {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .aura-home-shell {
        padding-top: 18px !important;
    }

    .aura-home-shell .aura-hero-carousel,
    .aura-home-shell .aura-hero-track,
    .aura-home-shell .aura-hero-track > .aura-hero-slide {
        min-height: 340px;
    }

    .aura-home-shell .aura-hero-track > .aura-hero-slide {
        padding: 28px 22px;
    }

    .aura-home-shell .aura-hero-title {
        font-size: 30px;
    }

    .aura-home-module-head h2 {
        font-size: 17px !important;
    }
}

/* ================================================================
   Aura Portal Home — mature download portal
   ================================================================ */
.aura-home-shell {
    max-width: 1180px !important;
    padding-top: 28px !important;
}

.aura-portal-hero {
    position: relative;
    margin: -28px calc(50% - 50vw) 0;
    min-height: 430px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2)) 0;
    background: #1d4ed8;
    color: #fff;
    overflow: visible;
}

.aura-portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.14), transparent 56%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 22px);
    pointer-events: none;
    z-index: 2;
}

.aura-portal-slider-track {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.aura-portal-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background:
        linear-gradient(135deg, rgba(15,23,42,.08), rgba(15,23,42,.02)),
        var(--portal-slide-image, linear-gradient(135deg, var(--portal-slide-from,#1d4ed8), var(--portal-slide-to,#3386ff)));
    background-color: var(--portal-slide-from,#1d4ed8);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: opacity .42s ease, visibility .42s ease, transform .72s ease;
}

.aura-portal-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.aura-portal-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--portal-slide-from,#1d4ed8), var(--portal-slide-to,#3386ff)),
        var(--portal-slide-image, none);
    background-blend-mode: multiply;
    opacity: .94;
    z-index: 1;
    pointer-events: none;
}

.aura-portal-slide.has-video::before {
    background: linear-gradient(135deg, var(--portal-slide-from,#1d4ed8), var(--portal-slide-to,#3386ff));
    opacity: .72;
    mix-blend-mode: multiply;
}

.aura-portal-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.aura-portal-hero-inner {
    position: absolute;
    z-index: 3;
    top: 58px;
    left: max(24px, calc((100vw - 1180px) / 2));
    right: max(24px, calc((100vw - 1180px) / 2));
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.aura-portal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: 0;
}

.aura-portal-hero p {
    margin: 18px auto 0;
    max-width: 760px;
    color: rgba(239,246,255,.86);
    font-size: 15px;
    line-height: 1.8;
}

.aura-portal-slide-button {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 17px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.aura-portal-hero-content {
    position: relative;
    z-index: 4;
    max-width: 780px;
    margin: 0 auto;
    padding-top: 250px;
    padding-bottom: 72px;
    text-align: center;
}

.aura-portal-hero-content.is-search-hidden {
    visibility: hidden;
    pointer-events: none;
}

.aura-portal-search {
    width: min(620px, 100%);
    height: 54px;
    margin: 28px auto 0;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(15,23,42,.20);
}

.aura-portal-search-scope {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
    height: 44px;
    padding: 0 12px 0 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.aura-portal-search-scope select {
    width: auto;
    min-width: 4.5em;
    max-width: 8em;
    border: 0;
    padding: 0 8px 0 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    line-height: 1;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
}

.aura-portal-search-scope i {
    pointer-events: none;
}

.aura-portal-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    padding: 0 14px;
    color: #1e293b;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.aura-portal-search button {
    height: 44px;
    min-width: 92px;
    border: 0;
    border-radius: 999px;
    background: #1683f8;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37,99,235,.24);
}

.aura-portal-hotwords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: rgba(239,246,255,.70);
    font-size: 12px;
}

.aura-portal-hotwords a {
    padding: 6px 13px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.aura-portal-slider-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}

.aura-portal-slider-arrow {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    cursor: pointer;
}

.aura-portal-slider-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.aura-portal-slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: width .18s ease, background-color .18s ease;
}

.aura-portal-slider-dots button.is-active {
    width: 22px;
    background: #fff;
}

.aura-portal-stats {
    position: relative;
    z-index: 2;
    width: min(1040px, calc(100vw - 32px));
    margin: -38px auto 0;
    display: grid;
    grid-template-columns: repeat(var(--portal-stat-columns, 5), minmax(0, 1fr));
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15,23,42,.14);
    overflow: hidden;
    --portal-showcase-height: 96px;
}

.aura-portal-stat {
    height: var(--portal-showcase-height);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #e8eef6;
}

.aura-portal-stat:last-child {
    border-right: 0;
}

.aura-portal-stat > strong {
    color: #2563eb;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 850;
}

.aura-portal-stat > span {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.aura-portal-stat-link,
.aura-portal-stat-image,
.aura-portal-stat-collection {
    color: inherit;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.aura-portal-stat-link:hover,
.aura-portal-stat-image:hover,
.aura-portal-stat-collection:hover {
    background: #f8fbff;
    transform: translateY(-1px);
}

.aura-portal-stat-image {
    padding: 0;
    overflow: hidden;
}

.aura-portal-stat-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.aura-portal-stat-collection {
    min-height: 0;
    padding: 12px 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}

.aura-portal-stat-collection-image,
.aura-portal-stat-collection-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    flex: 0 0 auto;
    overflow: hidden;
}

.aura-portal-stat-collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aura-portal-stat-collection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: linear-gradient(135deg, #eaf2ff, #f3e8ff);
    font-size: 20px;
}

.aura-portal-stat-collection-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aura-portal-stat-collection-body strong {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
}

.aura-portal-stat-collection-body small {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aura-portal-stat-collection-body em {
    color: #2563eb;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.aura-portal-stat-collection-action {
    align-self: center;
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.aura-portal-section,
.aura-portal-promos,
.aura-portal-rankings {
    margin-top: 34px;
}

.aura-portal-categories {
    margin-top: 58px;
}

.aura-portal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.aura-portal-section-head h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 850;
}

.aura-portal-section-head h2::before {
    content: "";
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: #1683f8;
}

.aura-portal-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.aura-portal-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.aura-portal-category-card {
    min-height: 122px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2eaf3;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.aura-portal-category-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 34px rgba(37,99,235,.10);
}

.aura-portal-category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #334155;
    font-size: 18px;
}

.aura-portal-category-card strong {
    margin-top: 10px;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
}

.aura-portal-category-card small {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.aura-portal-promos {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 18px;
}

.aura-portal-promo-card {
    box-sizing: border-box;
    height: 240px;
    min-height: 240px;
    padding: 28px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 12px;
    background-color: var(--portal-promo-from,#1d4ed8);
    background-image: linear-gradient(135deg, var(--portal-promo-from,#1d4ed8), var(--portal-promo-to,#2563eb));
    background-position: center;
    background-size: cover;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.aura-portal-promo-card.has-background-image {
    background-image:
        linear-gradient(135deg, var(--portal-promo-overlay-from, rgba(29,78,216,.82)), var(--portal-promo-overlay-to, rgba(37,99,235,.72))),
        var(--portal-promo-image);
    background-position: center;
    background-size: cover;
}

.aura-portal-promo-card::after {
    content: "";
    display: none;
    position: absolute;
    inset: auto 0 0;
    height: 44px;
    background: linear-gradient(90deg, rgba(255,255,255,.18), transparent);
    z-index: 0;
    pointer-events: none;
}

.aura-portal-promo-card span {
    position: relative;
    z-index: 1;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.aura-portal-promo-card strong {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    color: #fff;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aura-portal-promo-card p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aura-portal-promo-card em {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 9px 17px;
    border-radius: 8px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
}

.aura-portal-software-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 20px;
}

.aura-portal-resource-card {
    min-height: 279px;
    padding: 18px;
    border-radius: 12px;
    border-color: #dbe5f0;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.aura-portal-resource-card:hover,
.aura-portal-resource-card:focus-visible {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    background: #fff;
    box-shadow: 0 18px 34px rgba(37,99,235,.12);
}

.aura-portal-resource-card.is-premium {
    border-color: #dbe5f0;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.aura-portal-resource-card:hover .aura-software-card-title,
.aura-portal-resource-card:focus-visible .aura-software-card-title {
    color: #2563eb;
}

.aura-portal-resource-card:hover .aura-software-card-sub span + span::before,
.aura-portal-resource-card:focus-visible .aura-software-card-sub span + span::before {
    color: #cbd5e1;
}

.aura-portal-resource-card:hover .aura-software-icon,
.aura-portal-resource-card:focus-visible .aura-software-icon {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
    box-shadow: 0 10px 22px rgba(37,99,235,.12);
}

.aura-portal-resource-card .aura-software-icon,
.aura-portal-resource-card .aura-software-icon-xl {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 12px;
    font-size: 22px;
}

.aura-portal-resource-card .aura-software-card-title {
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.aura-portal-resource-card .aura-software-card-sub,
.aura-portal-resource-card .aura-software-meta {
    font-size: 12px;
    line-height: 1.45;
}

.aura-portal-resource-card .aura-software-card-sub {
    gap: 6px 12px;
}

.aura-portal-resource-card .aura-software-card-sub span + span {
    padding-left: 12px;
}

.aura-portal-resource-card .aura-software-badge {
    max-width: 68px;
    padding: 5px 9px;
    border-radius: 0 14px 0 12px;
    font-size: 10px;
}

.aura-home-shell .aura-portal-software-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 20px !important;
}

.aura-home-shell .aura-portal-resource-card,
.aura-home-shell .aura-portal-resource-card.is-premium {
    min-height: 279px !important;
    padding: 18px !important;
    border-color: #dbe5f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.05) !important;
}

.aura-home-shell .aura-portal-resource-card:hover,
.aura-home-shell .aura-portal-resource-card:focus-visible {
    border-color: #bfdbfe !important;
    background: #fff !important;
    box-shadow: 0 18px 34px rgba(37,99,235,.12) !important;
    transform: translateY(-3px) !important;
}

.aura-portal-rankings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.aura-portal-ranking-card {
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
    overflow: hidden;
}

.aura-portal-ranking-head {
    min-height: 56px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf2f7;
}

.aura-portal-ranking-head h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #172033;
    font-size: 15px;
    font-weight: 850;
}

.aura-portal-ranking-head i {
    color: #1683f8;
}

.aura-portal-ranking-head a {
    color: #94a3b8;
    font-size: 12px;
    text-decoration: none;
}

.aura-portal-ranking-card ol {
    margin: 0;
    padding: 14px 18px 16px;
    list-style: none;
}

.aura-portal-ranking-card li {
    display: grid;
    grid-template-columns: 28px 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.aura-portal-ranking-card .rank {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
}

.aura-portal-ranking-card .rank.is-top {
    background: #f1f5f9;
    color: #64748b;
}

.aura-portal-ranking-card li:nth-child(1) .rank {
    background: #fee2e2;
    color: #dc2626;
}

.aura-portal-ranking-card li:nth-child(2) .rank {
    background: #fef3c7;
    color: #d97706;
}

.aura-portal-ranking-card li:nth-child(3) .rank {
    background: #ffedd5;
    color: #ea580c;
}

.aura-portal-ranking-card .icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #dbeafe;
    color: #2563eb;
    overflow: hidden;
}

.aura-portal-ranking-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aura-portal-ranking-card .info {
    min-width: 0;
}

.aura-portal-ranking-card .info strong {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aura-portal-ranking-card .info small {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aura-portal-ranking-card li > a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .aura-portal-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .aura-portal-software-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aura-home-shell .aura-portal-software-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    .aura-portal-software-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aura-home-shell .aura-portal-software-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aura-portal-stats,
    .aura-portal-rankings,
    .aura-portal-promos {
        grid-template-columns: 1fr;
    }

    .aura-portal-stat {
        border-right: 0;
        border-bottom: 1px solid #e8eef6;
    }

    .aura-portal-stat:last-child {
        border-bottom: 0;
    }

    .aura-portal-stat-collection {
        align-items: flex-start;
    }

    .aura-portal-stat-collection-action {
        align-self: flex-start;
    }
}

@media (max-width: 640px) {
    .aura-software-grid {
        grid-template-columns: 1fr;
    }

    .aura-portal-hero {
        min-height: 500px;
        padding-top: 42px;
    }

    .aura-portal-hero-inner {
        top: 42px;
    }

    .aura-portal-hero-content {
        padding-top: 250px;
    }

    .aura-portal-search {
        height: auto;
        flex-wrap: wrap;
        border-radius: 14px;
    }

    .aura-portal-search input,
    .aura-portal-search button {
        width: 100%;
    }

    .aura-portal-search-scope {
        width: auto;
        max-width: 44%;
    }

    .aura-portal-category-grid,
    .aura-portal-software-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aura-home-shell .aura-portal-software-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .aura-portal-software-grid {
        grid-template-columns: 1fr;
    }

    .aura-home-shell .aura-portal-software-grid {
        grid-template-columns: 1fr !important;
    }

    .aura-portal-resource-card {
        min-height: 228px;
        padding: 16px;
        border-radius: 14px;
    }

    .aura-portal-resource-card .aura-software-icon,
    .aura-portal-resource-card .aura-software-icon-xl {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 12px;
    }

    .aura-portal-resource-card .aura-software-card-title {
        font-size: 14px;
    }

    .aura-portal-resource-card .aura-software-card-sub,
    .aura-portal-resource-card .aura-software-meta {
        font-size: 12px;
    }

    .aura-portal-promo-card {
        height: 210px;
        min-height: 210px;
        padding: 22px;
    }

    .aura-portal-promo-card strong {
        font-size: 19px;
    }

    .aura-portal-promo-card p {
        font-size: 13px;
        line-height: 1.5;
    }
}
