/* ================================================================
   User Panel
   ================================================================ */
.aura-panel { display: none; }
.aura-panel:not(.hidden) { display: block; }
.aura-user-page {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 32px 16px;
}
.aura-user-announcement-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    margin: 0 0 14px;
    padding: 8px 14px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(239, 68, 68, .06), rgba(37, 99, 235, .05), #fff);
    color: #475569;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    box-sizing: border-box;
}
.aura-user-announcement-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: #ef4444;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.aura-user-announcement-label i {
    font-size: 12px;
}
.aura-user-announcement-viewport {
    flex: 1 1 auto;
    min-width: 0;
    height: 24px;
    overflow: hidden;
}
.aura-user-announcement-track {
    transform: translateY(0);
    transition: transform .35s ease;
    will-change: transform;
}
.aura-user-announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 24px;
    min-width: 0;
}
.aura-user-announcement-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-user-announcement-text:hover,
.aura-user-announcement-more:hover {
    color: #2563eb;
}
.aura-user-announcement-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 46px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .08);
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
#aura-user-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.aura-user-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 -36px;
    padding: 44px 48px 68px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 10%, rgba(255,255,255,.22), transparent 28%),
        linear-gradient(135deg, #2563eb 0%, #2f7df4 50%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(37, 99, 235, .22);
}
.aura-user-hero-profile {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}
.aura-user-hero-avatar {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255,255,255,.16);
    border: 4px solid rgba(255,255,255,.5);
    box-shadow: 0 18px 46px rgba(15,23,42,.22);
}
.aura-user-hero-main {
    min-width: 0;
}
.aura-user-hero-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.aura-user-hero-name h1 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}
.aura-user-hero-vip,
.aura-user-hero-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}
.aura-user-hero-vip i {
    color: #fbbf24;
}
.aura-user-hero-meta {
    margin: 10px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 600;
}
.aura-user-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
}
.aura-user-hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 700;
}
.aura-user-hero-stats strong {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}
.aura-user-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.aura-user-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform .16s ease, background-color .16s ease;
}
.aura-user-hero-btn:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-1px);
}
#aura-user-sidebar {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
#aura-user-main {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 460px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.aura-user-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.aura-user-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    text-align: left;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.aura-user-stat-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 50px rgba(37, 99, 235, .12);
}
.aura-user-stat-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}
.aura-user-stat-icon.is-blue { background: #dbeafe; color: #2563eb; }
.aura-user-stat-icon.is-amber { background: #fef3c7; color: #f59e0b; }
.aura-user-stat-icon.is-emerald { background: #d1fae5; color: #059669; }
.aura-user-stat-icon.is-purple { background: #ede9fe; color: #7c3aed; }
.aura-user-stat-card strong,
.aura-user-stat-card em {
    display: block;
}
.aura-user-stat-card strong {
    color: #0f172a;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
}
.aura-user-stat-card em {
    margin-top: 4px;
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}
.aura-user-vip-dashboard {
    padding: 28px;
    border-radius: 18px;
    background: var(--aura-user-vip-gradient, linear-gradient(135deg,#2563eb,#7c3aed));
    color: #fff;
    box-shadow: 0 22px 60px rgba(79,70,229,.22);
}
.aura-user-vip-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}
.aura-user-vip-badge {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.16);
    color: #fbbf24;
    font-size: 24px;
}
.aura-user-vip-head h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}
.aura-user-vip-head p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 700;
}
.aura-user-vip-expire {
    text-align: right;
}
.aura-user-vip-expire span,
.aura-user-vip-expire strong {
    display: block;
}
.aura-user-vip-expire span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
}
.aura-user-vip-expire strong {
    margin-top: 5px;
    color: #fde68a;
    font-size: 15px;
    font-weight: 900;
}
.aura-user-vip-progress {
    height: 10px;
    margin: 24px 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    overflow: hidden;
}
.aura-user-vip-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #facc15, #fb923c);
}
.aura-user-vip-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.aura-user-vip-foot span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 800;
}
.aura-user-vip-foot i {
    color: #34d399;
}
.aura-user-vip-link {
    margin-left: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.aura-user-vip-link:hover {
    background: rgba(255,255,255,.24);
    transform: translateY(-1px);
}
.aura-user-dashboard-table {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .04);
}
.aura-user-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
}
.aura-user-dashboard-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
}
.aura-user-dashboard-head h3 i {
    color: #2563eb;
}
.aura-user-dashboard-head button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.aura-user-dashboard-head button:hover {
    color: #2563eb;
}
@media (min-width: 768px) {
    #aura-user-layout {
        flex-direction: row;
    }
    #aura-user-sidebar {
        width: 224px;
        min-width: 224px;
        max-width: 224px;
        flex-basis: 224px;
    }
}
@media (max-width: 640px) {
    .aura-user-hero {
        margin-bottom: -22px;
        padding: 28px 20px 46px;
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .aura-user-hero-avatar {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }
    .aura-user-hero-name h1 {
        font-size: 24px;
    }
    .aura-user-hero-actions {
        width: 100%;
    }
    .aura-user-hero-btn {
        flex: 1;
        justify-content: center;
    }
    .aura-user-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .aura-user-stat-card {
        min-height: 86px;
        padding: 16px;
    }
    .aura-user-vip-head {
        grid-template-columns: auto 1fr;
    }
    .aura-user-vip-expire {
        grid-column: 1 / -1;
        text-align: left;
    }
    .aura-user-vip-foot a {
        margin-left: 0;
    }
    .aura-user-announcement-bar {
        gap: 8px;
        padding: 8px 10px;
    }
    .aura-user-announcement-label,
    .aura-user-announcement-text {
        font-size: 12px;
    }
    .aura-user-announcement-item {
        gap: 8px;
    }
    .aura-user-announcement-more {
        min-width: 40px;
        padding: 0 8px;
    }
}
.aura-user-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
}
.aura-user-nav-section {
    padding: 16px 8px 8px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.aura-user-nav-item {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}
.aura-user-nav-item:hover {
    background: #f8fafc;
}
.aura-user-nav-item.active {
    background: #eff6ff;
    color: #2563eb;
}
.aura-user-nav-item:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .26);
    outline-offset: 2px;
}
@media (max-width: 767px) {
    #aura-user-sidebar.aura-user-nav {
        position: sticky;
        top: calc(var(--aura-header-height, 64px) + 8px);
        z-index: 20;
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scroll-snap-type: inline proximity;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    }
    .aura-user-nav-section {
        display: none;
    }
    .aura-user-nav-item {
        width: auto;
        min-width: max-content;
        flex: 0 0 auto;
        justify-content: center;
        scroll-snap-align: start;
        border: 1px solid #e2e8f0;
        background: #fff;
    }
    .aura-user-nav-item.active,
    .aura-user-nav-item[aria-current="page"] {
        border-color: #bfdbfe;
        background: #eff6ff;
    }
    .aura-user-nav-item.is-danger {
        margin-top: 0;
    }
    .aura-user-nav-badge,
    .aura-user-nav-dot {
        display: none;
    }
}
.aura-user-nav-item.is-danger {
    margin-top: 8px;
    color: #ef4444;
}
.aura-user-nav-item.is-danger:hover {
    background: #fef2f2;
}
.aura-user-nav-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aura-user-nav-main span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-user-nav-icon {
    width: 18px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}
.aura-user-nav-icon.is-amber { color: #f59e0b; }
.aura-user-nav-icon.is-blue { color: #3b82f6; }
.aura-user-nav-icon.is-emerald { color: #10b981; }
.aura-user-nav-icon.is-rose { color: #f43f5e; }
.aura-user-nav-icon.is-purple { color: #a855f7; }
.aura-user-nav-icon.is-muted { color: #64748b; }
.aura-user-nav-badge {
    flex-shrink: 0;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.aura-user-nav-badge.is-balance {
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
}
.aura-user-nav-badge.is-points {
    border-radius: 6px;
    background: #f3e8ff;
    color: #6b21a8;
}
.aura-user-nav-badge.is-vip {
    border-radius: 6px;
    background: var(--aura-nav-badge-bg, #f1f5f9);
    color: var(--aura-nav-badge-color, #475569);
}
.aura-user-nav-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #ef4444;
}
.aura-member-status-card {
    position: relative;
    overflow: hidden;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--aura-member-status-bg, linear-gradient(135deg,#64748b,#475569));
    color: #fff;
}
.aura-member-status-card::before,
.aura-member-status-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.aura-member-status-card::before {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
}
.aura-member-status-card::after {
    right: 30px;
    bottom: -30px;
    width: 80px;
    height: 80px;
    opacity: 0.75;
}
.aura-member-status-inner {
    position: relative;
    z-index: 1;
}
.aura-member-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.aura-member-eyebrow {
    margin: 0 0 4px;
    font-size: 10px;
    opacity: 0.8;
}
.aura-member-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}
.aura-member-title i {
    font-size: 18px;
}
.aura-member-level {
    text-align: right;
}
.aura-member-level p {
    margin: 0;
}
.aura-member-level-label {
    font-size: 10px;
    opacity: 0.7;
}
.aura-member-level-value {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
}
.aura-member-progress {
    margin-top: 10px;
}
.aura-member-progress-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 10px;
    opacity: 0.75;
}
.aura-member-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
}
.aura-member-xp-rules {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.aura-member-xp-rules-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
}
.aura-member-xp-rule-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.aura-member-xp-rule-list span {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    font-size: 10px;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .aura-member-xp-rule-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.aura-member-progress-bar {
    height: 100%;
    width: var(--aura-progress, 0%);
    border-radius: 3px;
    background: rgba(255,255,255,0.9);
    transition: width 0.6s ease;
}
.aura-member-progress-note {
    margin: 3px 0 0;
    font-size: 9px;
    opacity: 0.6;
}
.aura-member-expiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}
.aura-member-expiry-title {
    margin: 0;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
}
.aura-member-expiry-date {
    margin: 2px 0 0;
    color: #15803d;
    font-size: 10px;
}
.aura-member-expiry-date i {
    margin-right: 4px;
}
.aura-member-expiry-badge {
    display: inline-flex;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #bbf7d0;
    color: #166534;
    font-size: 10px;
    font-weight: 700;
}
.aura-member-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background: #166534;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.aura-member-tip {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
}
.aura-member-tip p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
}
.aura-member-benefits {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 10px;
}
.aura-member-benefits th,
.aura-member-benefits td {
    padding: 8px;
}
.aura-member-benefits thead tr {
    border-bottom: 1px solid #e2e8f0;
}
.aura-member-benefits tbody tr {
    border-bottom: 1px solid #f1f5f9;
}
.aura-member-benefits tbody tr:last-child {
    border-bottom: 0;
}
.aura-member-benefits th {
    color: #334155;
    font-weight: 700;
}
.aura-member-benefits th:first-child,
.aura-member-benefits td:first-child {
    text-align: left;
    color: #64748b;
    font-weight: 600;
}
.aura-member-benefits td {
    color: #475569;
}
.aura-member-benefits .is-current {
    color: #2563eb;
    font-weight: 700;
}
.aura-member-current-mark {
    display: block;
    color: #22c55e;
    font-size: 8px;
}
.aura-member-plan-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    background: var(--aura-plan-bg, #fff);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.aura-member-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.12);
}
.aura-member-plan-card.is-recommended {
    border-color: rgba(249,115,22,0.35);
    border-width: 1.5px;
    box-shadow: 0 8px 28px rgba(217,119,6,0.18);
}
.aura-member-plan-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.aura-member-plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.aura-member-plan-title {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: var(--aura-plan-text, #111);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}
.aura-member-plan-current {
    padding: 1px 5px;
    border-radius: 4px;
    background: #22c55e;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
}
.aura-member-plan-badge {
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--aura-plan-badge-bg, #fef3c7);
    color: var(--aura-plan-badge-color, #92400e);
    font-size: 8px;
    font-weight: 800;
}
.aura-member-plan-icon {
    flex-shrink: 0;
    color: var(--aura-plan-icon, #94a3b8);
    font-size: 13px;
}
.aura-member-plan-price {
    display: flex;
    align-items: baseline;
}
.aura-member-plan-currency {
    margin-right: 2px;
    color: var(--aura-plan-price-soft, var(--aura-plan-text, #111));
    font-size: 16px;
    font-weight: 800;
}
.aura-member-plan-amount {
    color: var(--aura-plan-price, #111);
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}
.aura-member-plan-period {
    margin-left: 6px;
    color: var(--aura-plan-muted, #999);
    font-size: 10px;
}
.aura-member-plan-meta {
    margin: 0;
    color: var(--aura-plan-subtle, #bbb);
    font-family: var(--font-mono);
    font-size: 10px;
}
.aura-member-plan-extra {
    margin: 0;
    color: var(--aura-plan-extra, #10b981);
    font-size: 10px;
    font-weight: 600;
}
.aura-member-plan-desc {
    margin: 0;
    color: var(--aura-plan-desc, #94a3b8);
    font-size: 10px;
    line-height: 1.6;
}
.aura-member-plan-actions {
    margin-top: 16px;
}
.aura-member-plan-btn {
    width: 100%;
    padding: 10px 12px;
    border: var(--aura-plan-btn-border, 0);
    border-radius: 12px;
    background: var(--aura-plan-btn-bg, linear-gradient(135deg,#2563eb,#3b82f6));
    color: var(--aura-plan-btn-color, #fff);
    box-shadow: var(--aura-plan-btn-shadow, none);
    font-size: 12px;
    font-weight: 800;
    opacity: var(--aura-plan-btn-opacity, 1);
    cursor: var(--aura-plan-btn-cursor, pointer);
    transition: transform 0.15s, opacity 0.15s;
}
.aura-member-plan-btn:not(:disabled):hover {
    transform: translateY(-1px);
}
.aura-vip-groupbuy {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(249, 115, 22, .3);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 247, 237, .96), rgba(245, 243, 255, .96));
    color: #334155;
}
.aura-vip-groupbuy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.aura-vip-groupbuy-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ea580c;
    font-size: 11px;
    font-weight: 800;
}
.aura-vip-groupbuy-head strong {
    color: #ea580c;
    font-size: 17px;
}
.aura-vip-groupbuy > p {
    margin: 6px 0 10px;
    color: #64748b;
    font-size: 10px;
}
.aura-vip-groupbuy-btn,
.aura-vip-groupbuy-open button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}
.aura-vip-groupbuy-btn {
    width: 100%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
}
.aura-vip-groupbuy-btn.is-pending {
    background: #fff7ed;
    color: #c2410c;
    cursor: default;
}
.aura-vip-groupbuy-btn.is-ineligible {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}
.aura-vip-groupbuy-open {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}
.aura-vip-groupbuy-open button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 8px 10px;
    border: 1px solid #fed7aa;
    background: rgba(255,255,255,.82);
    color: #334155;
    text-align: left;
}
.aura-vip-groupbuy-open span,
.aura-vip-groupbuy-open small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-vip-groupbuy-open small {
    color: #64748b;
    font-size: 9px;
}
.aura-vip-groupbuy-open b {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #ea580c;
    font-size: 10px;
}
.aura-member-groupbuy-zone {
    margin: 48px 0 32px;
    padding: 24px;
    border: 1px solid #fed7aa;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 0, rgba(251,146,60,.14), transparent 34%),
        linear-gradient(135deg, #fffaf5, #faf7ff);
    box-shadow: 0 18px 42px rgba(124,45,18,.07);
}
.aura-member-groupbuy-zone.is-user-center {
    margin-top: 24px;
}
.aura-member-plan-grid {
    margin-bottom: 0;
}
.aura-member-groupbuy-zone-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.aura-member-groupbuy-kicker,
.aura-member-groupbuy-plan {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 800;
}
.aura-member-groupbuy-zone-head h3 {
    margin: 7px 0 5px;
    color: #0f172a;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.3;
}
.aura-member-groupbuy-zone-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}
.aura-member-groupbuy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 20px;
    align-items: stretch;
}
.aura-member-groupbuy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.aura-member-groupbuy-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(251,146,60,.38);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
}
.aura-member-groupbuy-main {
    min-width: 0;
}
.aura-member-groupbuy-main h4 {
    margin: 5px 0;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
}
.aura-member-groupbuy-main p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.aura-member-groupbuy-price {
    display: grid;
    justify-items: end;
}
.aura-member-groupbuy-price small {
    color: #94a3b8;
    font-size: 10px;
}
.aura-member-groupbuy-price strong {
    color: #ea580c;
    font-size: 24px;
    line-height: 1.2;
}
.aura-member-groupbuy-price del {
    color: #94a3b8;
    font-size: 11px;
}
.aura-member-groupbuy-action {
    display: flex;
    align-items: center;
    gap: 10px;
}
.aura-member-groupbuy-action .aura-vip-groupbuy-btn {
    width: auto;
    min-width: 142px;
    padding: 0 18px;
}
.aura-member-groupbuy-action > span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.aura-member-groupbuy-restriction {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: -2px 0 0;
    padding: 9px 11px;
    border-radius: 10px;
    color: #9a3412;
    background: #fff7ed;
    font-size: 10px;
    line-height: 1.5;
}
.aura-vip-groupbuy-open-empty.is-restricted i {
    color: #f97316;
}
.aura-member-groupbuy-card > .aura-vip-groupbuy-open {
    grid-column: 1 / -1;
    margin-top: 0;
}
.aura-vip-groupbuy-open-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #fed7aa;
}
.aura-vip-groupbuy-open-title span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c2410c;
    font-size: 11px;
    font-weight: 800;
}
.aura-vip-groupbuy-open-title span i {
    color: #f97316;
}
.aura-vip-groupbuy-open-title > small {
    color: #94a3b8;
    font-size: 9px;
}
.aura-vip-groupbuy-open-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid #ffedd5;
    border-radius: 11px;
    background: rgba(255,255,255,.9);
}
.aura-vip-groupbuy-open-row.is-invited {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251,146,60,.12);
}
.aura-vip-groupbuy-open-row.is-current {
    border-color: #fdba74;
    background: linear-gradient(135deg, #fff7ed, #fff);
}
.aura-vip-groupbuy-open-row.is-current .aura-vip-groupbuy-open-info strong {
    color: #c2410c;
}
.aura-vip-groupbuy-open-row.is-current > button {
    color: #fff;
    border-color: #f97316;
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.aura-vip-groupbuy-open-avatar {
    display: grid;
    overflow: hidden;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #c2410c;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 900;
}
.aura-vip-groupbuy-open-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aura-vip-groupbuy-open-info {
    display: grid;
    min-width: 0;
    gap: 2px;
}
.aura-vip-groupbuy-open-info strong,
.aura-vip-groupbuy-open-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-vip-groupbuy-open-info strong {
    color: #334155;
    font-size: 11px;
}
.aura-vip-groupbuy-open-info small {
    color: #94a3b8;
    font-size: 9px;
}
.aura-vip-groupbuy-open-row > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #fdba74;
    border-radius: 9px;
    color: #c2410c;
    background: #fff7ed;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
.aura-vip-groupbuy-open-row > button:hover {
    color: #fff;
    border-color: #f97316;
    background: #f97316;
}
.aura-vip-groupbuy-open-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    margin: 0;
    color: #94a3b8;
    font-size: 10px;
    text-align: left;
}
.aura-vip-groupbuy-open-empty > span {
    display: grid;
    gap: 2px;
}
.aura-vip-groupbuy-open-empty strong {
    color: #64748b;
    font-size: 10px;
}
.aura-vip-groupbuy-open-empty small {
    color: #94a3b8;
    font-size: 9px;
}
.aura-member-groupbuy-mine {
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffaf5, #fff);
}
.aura-member-groupbuy-mine-head,
.aura-member-groupbuy-mine-head > div,
.aura-member-groupbuy-progress-meta,
.aura-member-groupbuy-mine-foot {
    display: flex;
    align-items: center;
}
.aura-member-groupbuy-mine-head,
.aura-member-groupbuy-progress-meta,
.aura-member-groupbuy-mine-foot {
    justify-content: space-between;
    gap: 12px;
}
.aura-member-groupbuy-mine-head > div {
    gap: 8px;
}
.aura-member-groupbuy-mine-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}
.aura-member-groupbuy-mine-head strong {
    color: #94a3b8;
    font-size: 10px;
}
.aura-member-groupbuy-mine-head > b {
    padding: 4px 8px;
    border-radius: 999px;
    color: #c2410c;
    background: #ffedd5;
    font-size: 9px;
}
.aura-member-groupbuy-progress-meta {
    margin-top: 13px;
    color: #64748b;
    font-size: 10px;
}
.aura-member-groupbuy-progress-meta strong {
    color: #334155;
}
.aura-member-groupbuy-progress {
    overflow: hidden;
    height: 7px;
    margin-top: 7px;
    border-radius: 999px;
    background: #ffedd5;
}
.aura-member-groupbuy-progress > span {
    display: block;
    height: 100%;
    min-width: 8px;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #ef4444);
}
.aura-member-groupbuy-mine-foot {
    margin-top: 13px;
}
.aura-member-groupbuy-mine-foot > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 10px;
}
.aura-member-groupbuy-mine-foot button {
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
.aura-member-groupbuy-guide {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(251,146,60,.28);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,247,237,.86));
}
.aura-member-groupbuy-guide::after {
    position: absolute;
    right: -38px;
    bottom: -52px;
    width: 150px;
    height: 150px;
    border: 24px solid rgba(249,115,22,.06);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.aura-member-groupbuy-guide-title {
    display: flex;
    align-items: center;
    gap: 11px;
}
.aura-member-groupbuy-guide-title > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    box-shadow: 0 8px 18px rgba(234,88,12,.2);
}
.aura-member-groupbuy-guide-title div {
    display: grid;
}
.aura-member-groupbuy-guide-title small {
    color: #f97316;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}
.aura-member-groupbuy-guide-title strong {
    color: #0f172a;
    font-size: 15px;
}
.aura-member-groupbuy-guide ol {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}
.aura-member-groupbuy-guide li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.aura-member-groupbuy-guide li > b {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #fed7aa;
    border-radius: 50%;
    color: #ea580c;
    background: #fff7ed;
    font-size: 10px;
}
.aura-member-groupbuy-guide li span {
    display: grid;
    gap: 1px;
}
.aura-member-groupbuy-guide li strong {
    color: #334155;
    font-size: 12px;
}
.aura-member-groupbuy-guide li small {
    color: #94a3b8;
    font-size: 10px;
}
.aura-member-groupbuy-guide > p {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed #fed7aa;
    color: #9a3412;
    font-size: 10px;
    line-height: 1.55;
}
@media (max-width: 767px) {
    .aura-member-groupbuy-zone {
        margin-top: 32px;
        padding: 18px;
        border-radius: 20px;
    }
    .aura-member-groupbuy-layout {
        grid-template-columns: 1fr;
    }
    .aura-member-groupbuy-grid {
        grid-template-columns: 1fr;
    }
    .aura-member-groupbuy-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 15px;
    }
    .aura-member-groupbuy-card > .aura-vip-groupbuy-open {
        grid-template-columns: 1fr;
    }
    .aura-member-groupbuy-mine-foot {
        align-items: stretch;
        flex-direction: column;
    }
    .aura-member-groupbuy-mine-foot button {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .aura-member-groupbuy-layout {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .aura-member-plan-card,
    .aura-member-plan-btn {
        transition: none;
    }
}
.aura-user-panel-title {
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}
.aura-wallet-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg,#f59e0b,#d97706,#b45309);
    color: #fff;
    box-shadow: 0 10px 22px rgba(180,83,9,0.16);
}
.aura-wallet-label {
    margin: 0;
    color: #fef3c7;
    font-size: 12px;
}
.aura-wallet-value {
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 800;
}
.aura-wallet-note {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.6;
}
.aura-wallet-points {
    text-align: right;
}
.aura-wallet-points .aura-wallet-value {
    font-size: 16px;
}
.aura-recharge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    text-align: center;
    font-size: 12px;
}
@media (min-width: 640px) {
    .aura-recharge-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}
.aura-recharge-tier {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: rgba(248,250,252,0.75);
    color: inherit;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s, background-color 0.15s;
}
.aura-recharge-tier:hover {
    border-color: #2563eb;
    background: #fff;
    transform: translateY(-1px);
}
.aura-recharge-tier-title {
    margin: 0;
    color: #1e293b;
    font-weight: 800;
}
.aura-recharge-tier-sub {
    margin: 2px 0 0;
    color: #94a3b8;
    font-size: 10px;
}
.aura-recharge-tier-sub.is-bonus {
    color: #059669;
    font-weight: 800;
}
.aura-custom-recharge {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.aura-security-form {
    display: grid;
    gap: 12px;
    padding-top: 12px;
}
.aura-security-form > .aura-btn {
    justify-self: start;
    width: fit-content;
}
.aura-security-stack {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.aura-security-item {
    padding: 16px 18px;
}
.aura-security-item + .aura-security-item {
    border-top: 1px solid #f1f5f9;
}
.aura-security-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.aura-security-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}
.aura-security-panel-head {
    padding-bottom: 4px;
}
.aura-security-panel-desc {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 12px;
}
.aura-security-card-list {
    display: grid;
    gap: 12px;
}
.aura-security-card-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.aura-security-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #fff;
    font-size: 18px;
}
.aura-security-card-icon.is-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.aura-security-card-icon.is-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.aura-security-card-icon.is-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.aura-security-card-main {
    min-width: 0;
    flex: 1 1 auto;
}
.aura-security-card-item > .aura-btn {
    margin-left: auto;
}
.aura-security-card-title {
    margin: 0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 800;
}
.aura-security-card-desc {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}
.aura-security-social-block {
    padding-top: 8px;
}
.aura-security-social-title {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 800;
}
.aura-security-social-sub {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 12px;
}
.aura-security-social-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}
@media (min-width: 960px) {
    .aura-security-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.aura-security-social-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fafafa;
}
.aura-security-social-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.aura-security-social-card > .aura-btn {
    margin-left: auto;
}
.aura-security-social-card .aura-security-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
}
.aura-security-modal-card {
    max-width: 560px;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}
.aura-security-modal-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 30px;
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 42%, #2563eb 100%);
}
#aura-refund-modal .aura-security-modal-card {
    display:flex;
    flex-direction:column;
    max-height:calc(100dvh - 40px);
}
#aura-refund-modal .aura-security-modal-head { flex:0 0 auto; }
.aura-security-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: rgba(255,255,255,0.16);
    font-size: 20px;
}
.aura-security-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}
.aura-security-modal-desc {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
.aura-security-modal-body {
    padding: 24px 30px 30px;
}
.aura-security-modal-pane.hidden {
    display: none;
}
.aura-security-modal-stephead {
    margin-bottom: 18px;
}
.aura-security-modal-step-title {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 800;
}
.aura-security-modal-step-desc {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 12px;
}
.aura-security-modal-form {
    display: grid;
    gap: 12px;
}
.aura-refund-form {
    flex:1 1 auto;
    min-height:0;
    padding:26px 30px 0;
    gap:10px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
}
.aura-refund-form #aura-refund-note { min-height:96px; max-height:140px; resize:vertical; }
.aura-refund-form .aura-form-actions {
    position:sticky;
    bottom:0;
    z-index:2;
    margin:8px -30px 0;
    padding:16px 30px max(20px,env(safe-area-inset-bottom));
    border-top:1px solid var(--aura-line);
    background:rgba(255,255,255,.96);
    box-shadow:0 -12px 28px rgba(15,23,42,.06);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.aura-refund-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 6px; padding:0; border:0; }
.aura-refund-methods legend { grid-column:1/-1; margin-bottom:2px; color:var(--aura-ink); font-size:14px; font-weight:800; }
.aura-refund-methods label { position:relative; display:grid; grid-template-columns:44px 1fr; grid-template-rows:auto auto; gap:1px 10px; align-items:center; min-height:76px; padding:13px; border:1px solid var(--aura-line); border-radius:16px; background:var(--aura-surface); cursor:pointer; transition:border-color 160ms,box-shadow 160ms,transform 160ms; }
.aura-refund-methods label:hover { transform:translateY(-1px); border-color:#9db4ee; }
.aura-refund-methods input { position:absolute; opacity:0; pointer-events:none; }
.aura-refund-methods label:has(input:checked) { border-color:var(--aura-primary); box-shadow:0 0 0 3px rgba(49,85,217,.12); }
.aura-refund-methods input:checked + span { box-shadow:0 0 0 3px rgba(49,85,217,.18); }
.aura-refund-methods label > span { grid-row:1/3; display:grid; place-items:center; width:44px; height:44px; border-radius:13px; color:#fff; font-size:21px; }
.aura-refund-methods .is-alipay { background:linear-gradient(135deg,#1677ff,#3155d9); }
.aura-refund-methods .is-wechat { background:linear-gradient(135deg,#20c66b,#07a84f); }
.aura-refund-methods label strong { align-self:end; font-size:15px; }
.aura-refund-methods label small { align-self:start; color:var(--aura-ink-subtle); font-size:12px; }
.aura-refund-upload { display:flex; align-items:center; gap:13px; min-height:82px; padding:13px; border:1px dashed #aebdd2; border-radius:15px; background:var(--aura-surface-muted); cursor:pointer; transition:border-color 160ms,background 160ms; }
.aura-refund-upload:hover { border-color:var(--aura-primary); background:#f3f6ff; }
.aura-refund-upload input { position:absolute; width:1px; height:1px; opacity:0; }
.aura-refund-upload-icon { display:grid; place-items:center; flex:0 0 44px; height:44px; border-radius:13px; color:var(--aura-primary); background:#e7edff; font-size:18px; }
.aura-refund-upload-copy { display:grid; gap:3px; min-width:0; }
.aura-refund-upload-copy strong { color:var(--aura-ink); font-size:14px; }
.aura-refund-upload-copy small { color:var(--aura-ink-subtle); font-size:12px; }
.aura-refund-upload img { margin-left:auto; width:58px; height:58px; object-fit:cover; border:1px solid var(--aura-line); border-radius:10px; }
@media (max-width:600px) {
    #aura-refund-modal .aura-security-modal-card { max-height:calc(100dvh - 16px); }
    .aura-refund-form { padding:18px 20px 0; }
    .aura-refund-form .aura-form-actions { margin:8px -20px 0; padding:14px 20px max(16px,env(safe-area-inset-bottom)); }
    .aura-refund-methods { grid-template-columns:1fr; }
}
[data-theme="dark"] .aura-refund-form .aura-form-actions { background:rgba(17,24,39,.96); }
.aura-security-modal-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}
.aura-security-modal-form > .aura-btn {
    justify-self: start;
    width: fit-content;
}
.aura-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.aura-custom-recharge-title {
    margin: 0 0 12px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}
.aura-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.aura-input-row .aura-field {
    min-width: 0;
}
.aura-btn-sm {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
}
.aura-submission-create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 74px;
    max-width: 96px;
    min-height: 0;
    height: 34px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}
.aura-custom-recharge-btn {
    flex: 0 0 auto;
    min-width: 96px;
    min-height: 38px;
    padding: 0 16px;
    line-height: 1;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    word-break: keep-all;
    text-align: center;
}
.aura-input-prefix {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}
.aura-help-text {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 10px;
}
.aura-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
}
.aura-security-row-title {
    margin: 0;
    color: #1e293b;
    font-weight: 800;
}
.aura-security-row-desc {
    margin: 2px 0 0;
    color: #94a3b8;
}
.aura-security-socials {
    display: grid;
    gap: 0;
    margin-top: 10px;
}
.aura-security-social-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid #f1f5f9;
    background: transparent;
}
.aura-security-social-item:first-child {
    border-top: 0;
    padding-top: 0;
}
.aura-security-social-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.aura-security-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.92);
    font-size: 18px;
}
.aura-security-social-name {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}
.aura-security-social-desc {
    margin: 3px 0 0;
    font-size: 10px;
    color: #64748b;
}
.aura-security-social-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.aura-notice-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-left: 14px;
    flex-wrap: wrap;
}
.aura-profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.aura-profile-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    object-fit: cover;
}
.aura-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.15s;
}
.aura-upload-btn:hover {
    background: #e2e8f0;
}
.aura-sr-input {
    display: none;
}
.aura-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    font-size: 12px;
}
@media (min-width: 640px) {
    .aura-profile-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
.aura-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.aura-form-msg {
    align-self: center;
    font-size: 12px;
}
.aura-form-msg.is-loading {
    color: #94a3b8;
}
.aura-form-msg.is-success {
    color: #059669;
}
.aura-form-msg.is-error {
    color: #e11d48;
}
.aura-referral-dashboard {
    display: grid;
    gap: 22px;
}
.aura-referral-topcards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.aura-referral-stat-card {
    position: relative;
    min-height: 145px;
    overflow: hidden;
    padding: 22px 26px;
    border-radius: 8px;
    color: #fff;
    isolation: isolate;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
}
.aura-referral-stat-card::before,
.aura-referral-stat-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    z-index: -1;
}
.aura-referral-stat-card::before {
    width: 220px;
    height: 220px;
    left: 36%;
    bottom: -120px;
}
.aura-referral-stat-card::after {
    width: 140px;
    height: 140px;
    right: -22px;
    top: -38px;
}
.aura-referral-stat-card.is-rate {
    background: linear-gradient(135deg, #ff665c 0%, #ff3f44 100%);
}
.aura-referral-stat-card.is-commission {
    background: linear-gradient(135deg, #4fc3f7 0%, #278df2 100%);
}
.aura-referral-stat-card.is-license {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}
.aura-referral-stat-label,
.aura-referral-stat-sub {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}
.aura-referral-stat-card strong {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 14px 0 10px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0;
}
.aura-referral-stat-card strong em {
    font-style: normal;
    font-size: .56em;
}
.aura-referral-stat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 15px;
    font-weight: 800;
}
.aura-referral-withdraw-btn {
    position: absolute;
    right: 20px;
    top: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 999px;
    background: #fff;
    color: #1677d2;
    box-shadow: 0 8px 20px rgba(9, 77, 145, .18);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.aura-referral-withdraw-btn:hover {
    transform: translateY(-1px);
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(9, 77, 145, .24);
}
.aura-referral-withdraw-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,.55);
    outline-offset: 3px;
}
.aura-referral-withdraw-btn i {
    font-size: 11px;
}
.aura-referral-program-card {
    padding: 30px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.aura-referral-program-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.aura-referral-program-head h4 {
    position: relative;
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 900;
}
.aura-referral-program-head h4::after,
.aura-referral-detail-box h5::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 4px;
    border-radius: 999px;
    background: #12b99f;
}
.aura-referral-program-head p {
    margin: 0;
    color: #8b97a7;
    font-size: 15px;
    font-weight: 700;
}
.aura-referral-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.aura-referral-section-title {
    display: flex;
    margin: 34px 0 18px;
    border-bottom: 1px solid #edf1f7;
}
.aura-referral-section-title span {
    position: relative;
    padding-bottom: 14px;
    color: #0fb69d;
    font-size: 15px;
    font-weight: 900;
}
.aura-referral-section-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #0fb69d;
}
.aura-referral-info-table {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}
.aura-referral-info-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}
.aura-referral-info-row > span {
    color: #a1a9b6;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}
.aura-referral-info-row:not(.is-link) .aura-referral-chip-group,
.aura-referral-info-row:not(.is-link) > .aura-referral-chip {
    justify-self: start;
    width: max-content;
    max-width: 100%;
}
.aura-referral-link-tools,
.aura-referral-chip-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.aura-referral-link-tools input {
    width: min(360px, 100%);
    height: 40px;
    padding: 0 13px;
    border: 0;
    border-radius: 6px;
    background: #fff0f4;
    color: #ff3f72;
    font-size: 15px;
    font-weight: 800;
    outline: none;
}
.aura-referral-link-tools input:focus-visible {
    outline: 3px solid rgba(255, 63, 114, .22);
    outline-offset: 2px;
}
.aura-referral-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 7px;
    border: 0;
    border-radius: 6px;
    background: #f1f3f5;
    color: #687386;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: default;
}
button.aura-referral-chip {
    cursor: pointer;
}
.aura-referral-chip.is-warm {
    background: #fff0df;
    color: #ff6b1a;
}
.aura-referral-chip.is-cyan {
    background: #e8f8fa;
    color: #0098a7;
}
.aura-referral-chip.is-pink {
    background: #ffeaf0;
    color: #ff2d66;
}
.aura-referral-chip.is-blue {
    background: #eaf4ff;
    color: #1684ff;
}
.aura-referral-chip.is-license {
    background: #f2edff;
    color: #7c3aed;
}
.aura-referral-code {
    width: max-content;
    max-width: 100%;
    padding: 8px 13px;
    border-radius: 8px;
    background: #f4ecff;
    color: #7c3aed;
    font-size: 15px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.aura-referral-detail-box {
    margin-top: 28px;
}
.aura-referral-detail-box h5 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 900;
}
.aura-referral-detail-box p {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}
.aura-referral-record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.aura-referral-record-grid .aura-profile-referral-panel.is-license {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(37, 99, 235, .06));
}
.aura-referral-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.aura-referral-row-actions > span {
    color: #94a3b8;
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-modal-lock {
    overflow: hidden;
}
.aura-referral-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overscroll-behavior: contain;
}
.aura-referral-modal.is-open {
    display: flex;
}
.aura-referral-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
}
.aura-referral-modal.is-open:not(.is-closing) .aura-referral-modal-backdrop {
    animation: aura-referral-fade-in .2s ease-out both;
}
.aura-referral-modal.is-open:not(.is-closing) .aura-referral-modal-dialog,
.aura-referral-modal.is-open:not(.is-closing) .aura-referral-poster-shell {
    animation: aura-referral-dialog-in .24s cubic-bezier(.2,.8,.2,1) both;
    transform-origin: center;
}
.aura-referral-modal.is-closing .aura-referral-modal-backdrop {
    animation: aura-referral-fade-out .18s ease-in both;
}
.aura-referral-modal.is-closing .aura-referral-modal-dialog,
.aura-referral-modal.is-closing .aura-referral-poster-shell {
    animation: aura-referral-dialog-out .18s ease-in both;
    transform-origin: center;
}
@keyframes aura-referral-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes aura-referral-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes aura-referral-dialog-in {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes aura-referral-dialog-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(6px) scale(.99); }
}
.aura-referral-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
}
.aura-referral-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid #eef2f7;
}
.aura-referral-modal-head h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #334155;
    font-size: 18px;
    font-weight: 900;
}
.aura-referral-modal-head h4 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: #14b8a6;
    color: #fff;
    font-size: 14px;
}
.aura-referral-modal-head button,
.aura-referral-qr-hero button {
    border: 0;
    background: transparent;
    color: #a1a9b6;
    font-size: 20px;
    cursor: pointer;
}
.aura-referral-modal-body {
    overflow: auto;
    padding: 20px 22px;
}
.aura-referral-modal-notice {
    padding: 13px 16px;
    border-radius: 8px;
    background: #f5f5f5;
}
.aura-referral-modal-notice p {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.55;
}
.aura-referral-withdraw-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    margin-top: 18px;
    border: 1px solid #e5e7eb;
}
.aura-referral-withdraw-summary div {
    min-height: 42px;
    padding: 10px 12px;
    border-right: 1px solid #e5e7eb;
}
.aura-referral-withdraw-summary div:last-child {
    border-right: 0;
}
.aura-referral-withdraw-summary span,
.aura-referral-withdraw-summary strong {
    display: block;
    color: #64748b;
    font-size: 14px;
    font-weight: 900;
}
.aura-referral-withdraw-summary strong {
    margin-top: 8px;
    color: #64748b;
}
.aura-referral-withdraw-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.aura-referral-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    border-top: 1px solid #eef2f7;
}
.aura-referral-modal-actions.is-split {
    padding: 0;
    gap: 0;
}
.aura-referral-modal-link,
.aura-referral-modal-primary,
.aura-referral-modal-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}
.aura-referral-modal-link {
    color: #ff6b1a;
}
.aura-referral-modal-primary {
    color: #1684ff;
}
.aura-referral-modal-muted {
    color: #64748b;
}
.aura-referral-modal-actions.is-split button {
    flex: 1;
    min-height: 56px;
    border-right: 1px solid #eef2f7;
}
.aura-referral-modal-actions.is-split button:last-child {
    border-right: 0;
}
.aura-referral-modal-dialog.is-qr {
    width: min(600px, 100%);
}
.aura-referral-qr-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 120px;
    background: linear-gradient(135deg, #55c7f4, #2a93f6);
    color: #fff;
    overflow: hidden;
}
.aura-referral-qr-hero::before,
.aura-referral-qr-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}
.aura-referral-qr-hero::before {
    width: 240px;
    height: 240px;
    left: -78px;
    bottom: -140px;
}
.aura-referral-qr-hero::after {
    width: 130px;
    height: 130px;
    right: 55px;
    top: -70px;
}
.aura-referral-qr-hero > i {
    font-size: 24px;
}
.aura-referral-qr-hero h4 {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 900;
}
.aura-referral-qr-hero button {
    position: absolute;
    top: 14px;
    right: 14px;
    color: rgba(255,255,255,.78);
}
.aura-referral-qr-notice {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
}
.aura-referral-qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.aura-referral-qr-upload-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.aura-referral-qr-preview-box {
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f4f6;
    color: #94a3b8;
    font-size: 42px;
}
.aura-referral-qr-preview-box.has-image {
    padding: 0;
    border: 4px solid #22c55e;
    background: #fff;
}
.aura-referral-qr-preview-box img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: contain;
    border-radius: 2px;
}
.aura-referral-qr-upload-card strong {
    color: #1684ff;
    font-size: 15px;
    font-weight: 900;
}
.aura-referral-qr-current {
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.aura-profile-referral-panel.is-embedded {
    margin-top: 18px;
    box-shadow: none;
}
.aura-referral-poster-shell {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    display: grid;
    justify-items: center;
    gap: 16px;
}
.aura-referral-poster-close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
}
.aura-referral-poster-card {
    width: min(420px, calc(100vw - 36px));
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .34);
}
.aura-referral-poster-visual {
    position: relative;
    min-height: 238px;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(20,184,166,.92), rgba(37,99,235,.94)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.30), transparent 26%);
    overflow: hidden;
}
.aura-referral-poster-visual::before {
    content: "";
    position: absolute;
    inset: 40px auto auto 38px;
    width: 250px;
    height: 160px;
    opacity: .16;
    background:
        linear-gradient(45deg, transparent 43%, rgba(255,255,255,.9) 44%, rgba(255,255,255,.9) 56%, transparent 57%) 0 0 / 62px 62px,
        linear-gradient(-45deg, transparent 43%, rgba(255,255,255,.9) 44%, rgba(255,255,255,.9) 56%, transparent 57%) 0 0 / 62px 62px;
    transform: rotate(-9deg);
}
.aura-referral-poster-visual::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
}
.aura-referral-poster-visual span,
.aura-referral-poster-visual strong {
    position: relative;
    display: block;
    z-index: 1;
}
.aura-referral-poster-visual span {
    font-size: 17px;
    font-weight: 900;
}
.aura-referral-poster-visual strong {
    margin-top: 12px;
    font-size: 30px;
    line-height: 1.2;
}
.aura-referral-poster-content {
    padding: 24px;
}
.aura-referral-poster-content > p {
    margin: 0 0 12px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 900;
}
.aura-referral-poster-content h4 {
    margin: 0 0 14px;
    color: #172033;
    font-size: 24px;
    line-height: 1.35;
}
.aura-referral-poster-content div p {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
}
.aura-referral-poster-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 14px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #f8fbff;
}
.aura-referral-poster-footer span,
.aura-referral-poster-footer small {
    display: block;
}
.aura-referral-poster-footer span {
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}
.aura-referral-poster-footer small {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}
.aura-referral-poster-qrcode {
    display: grid;
    place-items: center;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
}
.aura-referral-poster-qrcode canvas,
.aura-referral-poster-qrcode img {
    width: 96px !important;
    height: 96px !important;
}
.aura-referral-poster-qrcode > span {
    max-width: 96px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.aura-referral-poster-actions {
    display: flex;
    gap: 14px;
}
.aura-referral-poster-actions button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}
.aura-referral-poster-actions button:first-child {
    background: #14b8a6;
}
.aura-profile-referral-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(124, 58, 237, .08));
    box-shadow: 0 14px 34px rgba(37, 99, 235, .08);
}
@media (min-width: 768px) {
    .aura-profile-referral-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
        align-items: center;
    }
}
.aura-profile-referral-kicker {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}
.aura-profile-referral-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.45;
}
.aura-profile-referral-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.aura-profile-referral-stats span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.aura-profile-referral-copy {
    display: grid;
    gap: 8px;
}
.aura-profile-referral-copy label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.aura-profile-referral-copy code {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    color: #7c3aed;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.aura-profile-referral-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.aura-profile-referral-panel {
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.aura-profile-referral-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.aura-profile-referral-panel-head h5 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
}
.aura-profile-referral-panel-head span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}
.aura-referral-withdraw-form {
    margin-top: 6px;
}
.aura-profile-referral-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.aura-profile-referral-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
}
.aura-profile-referral-row strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
}
.aura-profile-referral-row p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}
.aura-profile-referral-row > span {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-profile-referral-empty {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}
@media (max-width: 900px) {
    .aura-referral-topcards,
    .aura-referral-record-grid {
        grid-template-columns: 1fr;
    }
    .aura-referral-program-card {
        padding: 22px;
    }
    .aura-referral-withdraw-btn {
        position: static;
        margin-top: 10px;
    }
    .aura-referral-info-row {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .aura-referral-link-tools input {
        width: 100%;
    }
    .aura-profile-referral-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .aura-referral-stat-card {
        padding: 18px;
    }
    .aura-referral-stat-card strong {
        font-size: 31px;
    }
    .aura-referral-program-head {
        flex-direction: column;
    }
    .aura-referral-qr-grid,
    .aura-referral-withdraw-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .aura-referral-withdraw-summary {
        gap: 0;
    }
    .aura-referral-withdraw-summary div {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    .aura-referral-withdraw-summary div:last-child {
        border-bottom: 0;
    }
    .aura-referral-modal-actions {
        padding: 12px 16px;
    }
    .aura-referral-poster-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
.aura-profile-member-card {
    padding: 16px;
    border-radius: 12px;
    background: var(--aura-profile-member-bg, linear-gradient(135deg,#64748b,#475569));
    color: #fff;
    font-size: 12px;
}
.aura-profile-member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.aura-profile-member-label {
    margin: 0;
    color: rgba(255,255,255,0.8);
}
.aura-profile-member-name {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 800;
}
.aura-profile-member-expire {
    text-align: right;
}
.aura-profile-member-expire p {
    margin: 0;
}
.aura-profile-member-link {
    display: inline-block;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-family: inherit;
    font-size: 10px;
    text-decoration: underline;
    cursor: pointer;
    transition: color .2s ease;
}
.aura-profile-member-link:hover {
    color: #fff;
}
.aura-user-table-wrap {
    overflow-x: auto;
}
.aura-user-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}
.aura-user-table thead tr {
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
    color: #94a3b8;
    font-weight: 600;
}
.aura-user-table th,
.aura-user-table td {
    padding: 12px;
}
.aura-user-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}
.aura-user-table-title {
    color: #1e293b;
    font-weight: 800;
}
.aura-user-table-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aura-user-table-muted {
    color: #94a3b8;
}
.aura-submission-actions-cell {
    width: 174px;
}
.aura-submission-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
}
.aura-submission-icon-btn {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #fff;
    color: #52637a;
    font-size: 13px;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.aura-submission-icon-btn .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.aura-submission-icon-btn:hover {
    border-color: #93b4ff;
    background: #eff5ff;
    color: #2563eb;
    transform: translateY(-1px);
}
.aura-submission-icon-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .22);
    outline-offset: 2px;
}
.aura-submission-icon-btn.is-withdraw {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}
.aura-submission-icon-btn.is-delete {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #be123c;
}
#aura-panel-submissions .aura-user-table {
    table-layout: fixed;
}
#aura-panel-submissions .aura-user-table th:nth-child(1) { width: 34%; }
#aura-panel-submissions .aura-user-table th:nth-child(2) { width: 13%; }
#aura-panel-submissions .aura-user-table th:nth-child(3) { width: 11%; }
#aura-panel-submissions .aura-user-table th:nth-child(4) { width: 20%; }
#aura-panel-submissions .aura-user-table th:nth-child(5) { width: 174px; }

.aura-wechat-bind-modal[hidden] {
    display: none !important;
}
.aura-wechat-bind-modal {
    position: fixed;
    z-index: 100100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}
.aura-wechat-bind-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(8px);
}
.aura-wechat-bind-card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .25);
    text-align: center;
}
.aura-wechat-bind-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}
.aura-wechat-bind-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 18px;
    background: #ecfdf5;
    color: #07c160;
    font-size: 28px;
}
.aura-wechat-bind-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
}
.aura-wechat-bind-desc {
    margin: 10px 0 16px;
    color: #64748b;
    line-height: 1.7;
}
.aura-wechat-bind-qr {
    width: 164px;
    height: 164px;
    margin: 0 auto 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    object-fit: cover;
}
.aura-wechat-bind-keyword {
    margin: 0 0 18px;
    color: #166534;
    font-weight: 800;
}
.aura-wechat-bind-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    text-align: left;
    font-weight: 700;
}
.aura-wechat-bind-code {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    color: #0f172a;
    font-size: 18px;
    letter-spacing: .18em;
    text-align: center;
}
.aura-wechat-bind-code:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, .14);
}
.aura-wechat-bind-message {
    min-height: 22px;
    margin: 10px 0;
    font-size: 13px;
}
.aura-wechat-bind-message.is-error { color: #dc2626; }
.aura-wechat-bind-message.is-success { color: #059669; }
.aura-wechat-bind-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.aura-wechat-bind-submit:disabled {
    cursor: wait;
    opacity: .7;
}
.aura-user-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
}
.aura-user-pill.is-success {
    background: #ecfdf5;
    color: #047857;
}
.aura-user-empty {
    padding: 24px;
    color: #94a3b8;
    text-align: center;
    font-size: 13px;
}
.aura-order-list,
.aura-notice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}
.aura-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}
.aura-order-title {
    margin: 0;
    color: #1e293b;
    font-weight: 800;
}
.aura-order-no {
    margin: 4px 0 0;
    color: #94a3b8;
    font-family: var(--font-mono);
    font-size: 10px;
}
.aura-order-payment-summary {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:7px 0 5px;
    color:var(--aura-ink-muted);
    font-size:13px;
    font-weight:700;
}
.aura-order-payment-summary span {
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:3px 10px;
    border-radius:999px;
    background:var(--aura-surface-muted);
}
.aura-order-payment-summary .is-discount {
    color:#047857;
    background:#ecfdf5;
}
[data-theme="dark"] .aura-order-payment-summary .is-discount {
    color:#6ee7b7;
    background:rgba(5,150,105,.16);
}
.aura-signin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .aura-signin-layout {
        grid-template-columns: 1fr 2fr;
    }
}
.aura-signin-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg,#9333ea,#4f46e5);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(79,70,229,0.16);
}
.aura-signin-label {
    margin: 0;
    color: #ddd6fe;
    font-size: 10px;
}
.aura-signin-count {
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 800;
}
.aura-signin-count span {
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
}
.aura-signin-btn {
    width: 100%;
    margin-top: 16px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}
.aura-signin-btn:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}
.aura-info-box,
.aura-record-box {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.aura-info-title,
.aura-record-title {
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.aura-rule-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-size: 12px;
}
.aura-rule-list p {
    margin: 0;
}
.aura-record-scroll {
    max-height: 640px;
    overflow-y: auto;
    padding-right: 4px;
}
#aura-panel-signin .aura-record-box {
    margin-top: 32px;
    min-height: clamp(420px, 50vh, 760px);
}
#aura-panel-signin .aura-record-scroll {
    max-height: clamp(340px, calc(50vh - 70px), 680px);
}
@media (max-width: 767px) {
    #aura-panel-signin .aura-record-box {
        min-height: 320px;
    }
    #aura-panel-signin .aura-record-scroll {
        max-height: 420px;
    }
}
.aura-user-table tr.is-today {
    background: rgba(168,85,247,0.08);
}
.aura-user-table .is-today-text {
    color: #7e22ce;
    font-weight: 800;
}
.aura-today-mark {
    color: #a855f7;
    font-size: 9px;
}
.aura-notice-item {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: rgba(248,250,252,0.55);
    font-size: 12px;
}
.aura-notice-item.is-unread {
    border-color: #bfdbfe;
    background: rgba(239,246,255,0.72);
}
.aura-notice-pagination {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.aura-notice-page-nav,
.aura-notice-page-numbers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #475569;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.aura-notice-page-nav {
    gap: 7px;
    padding: 0 13px;
}
.aura-notice-page-nav:not(.is-disabled):hover,
.aura-notice-page-numbers a:hover,
.aura-notice-page-numbers a.is-current {
    color: #fff;
    border-color: #6366f1;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
}
.aura-notice-page-nav.is-disabled {
    color: #cbd5e1;
    background: #f8fafc;
    cursor: not-allowed;
}
.aura-notice-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
}
.aura-notice-page-numbers a {
    width: 36px;
}
.aura-notice-page-gap {
    color: #94a3b8;
    font-size: 12px;
}
.aura-notice-retention-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 10px;
}
@media (max-width: 640px) {
    .aura-notice-pagination {
        grid-template-columns: 1fr 1fr;
    }
    .aura-notice-page-numbers {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .aura-notice-page-nav {
        width: 100%;
    }
}
.aura-notice-title {
    display: flex;
    align-items: center;
    margin: 0;
    color: #334155;
    font-weight: 800;
}
.aura-notice-item.is-unread .aura-notice-title {
    color: #1e3a8a;
}
.aura-notice-dot {
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 999px;
    background: #2563eb;
}
.aura-notice-content,
.aura-notice-time {
    margin: 4px 0 0;
    padding-left: 14px;
    color: #64748b;
}
.aura-notice-time {
    color: #94a3b8;
    font-size: 10px;
}
.aura-text-center {
    text-align: center;
}
.aura-text-right {
    text-align: right;
}
.aura-points-gain {
    color: #d97706;
    font-weight: 700;
}
.aura-security-identity {
    min-width: 0;
    margin: 4px 0;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #f8fbff;
}
.aura-security-identity legend {
    padding: 0 6px;
    color: #334155;
    font-weight: 700;
}
.aura-security-channel-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.aura-security-identity-tip {
    margin: 6px 0 10px;
    color: #64748b;
    font-size: 12px;
}
