/* =============================================================================
 * V13 Home — banner-first layout, image-rich, products on home.
 * Scoped under .v13-* class names (no global resets — assumes theme.css loaded).
 * ===========================================================================*/

/* -------- Brand variables specific to home (V13 modern wallet palette) ----- */
:root {
    --v13h-brand-1: #6366F1;
    --v13h-brand-2: #8B5CF6;
    --v13h-brand-3: #EC4899;
    --v13h-brand-deep: #3730A3;
    --v13h-gold:    #F5B642;
    --v13h-rose:    #FB7185;
    --v13h-teal:    #2DD4BF;
    --v13h-lime:    #84CC16;

    --v13h-bg:        #0B0B18;
    --v13h-surface:   #14142B;
    --v13h-surface-1: #1B1B36;
    --v13h-line:      rgba(255,255,255,0.07);
    --v13h-line-2:    rgba(255,255,255,0.12);

    --v13h-txt:   #F1F5F9;
    --v13h-txt-2: #A0A3BD;
    --v13h-txt-3: #6B6E89;
}

/* Apply ambient backdrop for home (no global body change) */
body.v13-home {
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(99,102,241,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 100% 20%, rgba(236,72,153,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 95% 70% at 50% 110%, rgba(45,212,191,0.10) 0%, transparent 60%),
        var(--v13h-bg) !important;
    background-attachment: fixed;
    color: var(--v13h-txt);
    padding-bottom: 110px !important;
}
body.v13-home::before { display: none; }

/* -------- Keyframes -------------------------------------------------------- */
@keyframes v13h-float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes v13h-rise     { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes v13h-shimmer  { 0% { transform: translateX(-140%) skewX(-22deg); opacity: 0; } 20% { opacity: 0.7; } 100% { transform: translateX(280%) skewX(-22deg); opacity: 0; } }
@keyframes v13h-marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== TOP STATUS BAR (overlays banner) ==================================== */
.v13-stbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px 0;
}
.v13-stbar .avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
    overflow: hidden;
}
.v13-stbar .avatar img { width: 100%; height: 100%; object-fit: cover; }
.v13-stbar .who { flex: 1; min-width: 0; color: #fff; }
.v13-stbar .who .hi {
    font-size: 11px;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.2px;
}
.v13-stbar .who .name {
    font-size: 14px; font-weight: 700; margin-top: 1px;
    display: flex; align-items: center; gap: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.20);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.v13-stbar .tier {
    display: inline-flex; align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    color: #4A2D03;
    background: linear-gradient(135deg, #FFE08A, var(--v13h-gold));
    letter-spacing: 0.4px;
    flex-shrink: 0;
}
.v13-stbar .icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.22);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    position: relative;
    text-decoration: none;
}
.v13-stbar .icon-btn:active { background: rgba(255,255,255,0.30); }
.v13-stbar .icon-btn i.layui-icon { font-size: 17px; }
.v13-stbar .icon-btn .dot {
    position: absolute; top: 6px; right: 7px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--v13h-rose);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.40);
}

/* ===== TOP BANNER (carousel) =============================================== */
.v13-banner {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
}
.v13-banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.v13-banner-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 70px 24px 50px;
    color: #fff;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.v13-banner-slide.has-img { padding: 0; }
.v13-banner-slide.has-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Fallback (no admin banner) — synthetic gradient slides */
.v13-banner-slide.s1 {
    background:
        radial-gradient(circle at 80% 25%, rgba(255,255,255,0.20), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(0,0,0,0.18), transparent 55%),
        linear-gradient(160deg, #FFB347 0%, #FB7185 45%, #BE185D 100%);
}
.v13-banner-slide.s2 {
    background:
        radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 55%),
        linear-gradient(160deg, #4F46E5 0%, #7C3AED 50%, #312E81 100%);
}
.v13-banner-slide.s3 {
    background:
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.20), transparent 55%),
        linear-gradient(160deg, #10B981 0%, #0EA5E9 60%, #1E3A8A 100%);
}
.v13-banner-slide.s4 {
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 55%),
        linear-gradient(160deg, #FCD34D 0%, #F5B642 50%, #C68A14 100%);
    color: #3A1F00;
}
.v13-banner-deco {
    position: absolute;
    right: -10px; top: 50%; transform: translateY(-50%);
    width: 220px; height: 220px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
    animation: v13h-float 4s ease-in-out infinite;
    color: rgba(255,255,255,0.92);
}
.v13-banner-slide.s4 .v13-banner-deco { color: #fff; }
.v13-banner-deco svg { width: 100%; height: 100%; }

.v13-banner-content { position: relative; z-index: 1; max-width: 240px; }
.v13-banner-tag {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.2px; text-transform: uppercase;
    margin-bottom: 12px;
}
.v13-banner-slide.s4 .v13-banner-tag { background: rgba(58,31,0,0.20); color: #3A1F00; }
.v13-banner-title {
    font-size: 28px; font-weight: 800;
    letter-spacing: -0.4px; line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.20);
}
.v13-banner-slide.s4 .v13-banner-title { text-shadow: none; }
.v13-banner-sub {
    margin-top: 8px;
    font-size: 13px; line-height: 1.5;
    opacity: 0.92;
}
.v13-banner-cta {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    padding: 10px 18px;
    background: #fff;
    color: #BE185D;
    border-radius: 999px;
    font-size: 13px; font-weight: 800;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    text-decoration: none;
}
.v13-banner-slide.s2 .v13-banner-cta { color: #4F46E5; }
.v13-banner-slide.s3 .v13-banner-cta { color: #0EA5E9; }
.v13-banner-slide.s4 .v13-banner-cta { color: #C68A14; }
.v13-banner-cta i.layui-icon { font-size: 12px; }

.v13-banner-dots {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex; gap: 6px;
}
.v13-banner-dots i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
}
.v13-banner-dots i.active {
    width: 22px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.20);
}

/* ===== ASSET SUMMARY (rises from banner) =================================== */
.v13-asset {
    position: relative;
    z-index: 5;
    margin: -36px 16px 0;
    padding: 18px 18px 14px;
    border-radius: 16px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        var(--v13h-surface);
    border: 1px solid var(--v13h-line-2);
    color: var(--v13h-txt);
    box-shadow: 0 12px 36px rgba(0,0,0,0.40);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
            backdrop-filter: blur(20px) saturate(140%);
}
.v13-asset-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
}
.v13-asset-label {
    font-size: 12px; color: var(--v13h-txt-2);
    display: inline-flex; align-items: center; gap: 6px;
    letter-spacing: 0.2px;
}
.v13-asset-eye {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--v13h-txt-2);
}
.v13-asset-eye i.layui-icon { font-size: 12px; }
.v13-asset-today {
    font-size: 11px; color: var(--v13h-lime);
    font-weight: 700;
    background: rgba(132,204,22,0.14);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(132,204,22,0.25);
}
.v13-asset-amount {
    display: flex; align-items: baseline; gap: 4px;
    color: var(--v13h-txt);
    font-variant-numeric: tabular-nums;
}
.v13-asset-amount .cur { font-size: 18px; font-weight: 600; opacity: 0.65; }
.v13-asset-amount .val { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.v13-asset-row {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--v13h-line);
    border-radius: 10px;
    overflow: hidden;
}
.v13-asset-stat {
    background: var(--v13h-surface-1);
    padding: 10px 4px;
    text-align: center;
}
.v13-asset-stat .l { font-size: 10px; color: var(--v13h-txt-3); letter-spacing: 0.3px; }
.v13-asset-stat .v {
    margin-top: 3px;
    font-size: 14px; font-weight: 800; color: var(--v13h-txt);
    font-variant-numeric: tabular-nums;
}
.v13-asset-stat .v.up   { color: var(--v13h-lime); }
.v13-asset-stat .v.gold { color: var(--v13h-gold); }
.v13-asset-cta {
    margin-top: 12px;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.v13-asset-cta a {
    padding: 11px 8px;
    border-radius: 12px;
    border: 1px solid var(--v13h-line-2);
    color: var(--v13h-txt);
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    transition: transform 0.12s, background 0.18s;
    text-decoration: none;
}
.v13-asset-cta a:active { transform: scale(0.97); }
.v13-asset-cta a.primary {
    background: linear-gradient(135deg, var(--v13h-brand-1), var(--v13h-brand-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(99,102,241,0.40);
}
.v13-asset-cta a i.layui-icon { font-size: 14px; }

/* ===== QUICK GRID ========================================================= */
.v13-quick {
    margin: 14px 12px 0;
    padding: 14px 8px;
    background: var(--v13h-surface);
    border: 1px solid var(--v13h-line);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}
.v13-quick a {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 6px 4px;
    border-radius: 12px;
    position: relative;
    transition: background 0.18s, transform 0.12s;
    text-decoration: none;
}
.v13-quick a:active { background: rgba(255,255,255,0.04); transform: scale(0.96); }
.v13-quick .ic {
    width: 42px; height: 42px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.v13-quick .ic i.layui-icon { font-size: 20px; }
.v13-quick .ic.c1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.v13-quick .ic.c2 { background: linear-gradient(135deg, #F59E0B, #DC2626); }
.v13-quick .ic.c3 { background: linear-gradient(135deg, #10B981, #059669); }
.v13-quick .ic.c4 { background: linear-gradient(135deg, #EC4899, #DB2777); }
.v13-quick .ic.c5 { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.v13-quick .lab { font-size: 11px; color: var(--v13h-txt-2); font-weight: 600; letter-spacing: 0.2px; }
.v13-quick a .badge {
    position: absolute; top: 2px; right: 4px;
    min-width: 16px; height: 16px;
    border-radius: 10px;
    background: var(--v13h-rose);
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px var(--v13h-surface);
}

/* ===== MARQUEE NEWS ======================================================= */
.v13-news {
    margin: 14px 12px 0;
    height: 40px;
    background: linear-gradient(90deg, rgba(245,182,66,0.16), rgba(245,182,66,0.04));
    border: 1px solid rgba(245,182,66,0.25);
    border-radius: 12px;
    display: flex; align-items: center; gap: 8px;
    padding: 0 12px;
    overflow: hidden;
}
.v13-news .horn {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--v13h-gold);
    color: #4A2D03;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v13-news .horn i.layui-icon { font-size: 11px; }
.v13-news .wrap {
    flex: 1; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.v13-news .track {
    display: inline-flex; align-items: center; gap: 32px;
    white-space: nowrap;
    animation: v13h-marquee 28s linear infinite;
    font-size: 12px;
    color: var(--v13h-txt-2);
}
.v13-news .track b { color: var(--v13h-gold); font-weight: 700; }
.v13-news .more { font-size: 11px; color: var(--v13h-txt-3); flex-shrink: 0; }

/* ===== ACTIVITY ROW (3 equal image cards) ================================= */
.v13-acts {
    margin: 14px 16px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: stretch;
}
.v13-act {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 12px;
    display: flex; flex-direction: column; justify-content: space-between;
    color: #fff;
    min-width: 0;
    text-decoration: none;
}
.v13-act svg.deco {
    position: absolute;
    right: -10px; bottom: -10px;
    width: 80px; height: 80px;
    color: rgba(255,255,255,0.30);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.20));
}
.v13-act.c1 { background: linear-gradient(140deg, #8B5CF6, #6366F1); }
.v13-act.c2 { background: linear-gradient(140deg, #F472B6, #EC4899); }
.v13-act.c3 { background: linear-gradient(140deg, #34D399, #10B981); }
.v13-act .v-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    font-size: 9px; font-weight: 800;
    letter-spacing: 0.8px; text-transform: uppercase;
    align-self: flex-start;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: #fff;
}
.v13-act .v-body { z-index: 1; }
.v13-act .v-title { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.2; }
.v13-act .v-sub { margin-top: 4px; font-size: 11px; opacity: 0.92; }

/* ===== SECTION HEADER ===================================================== */
.v13-sh {
    display: flex; align-items: center; justify-content: space-between;
    margin: 22px 16px 12px;
}
.v13-sh .left { display: flex; align-items: center; gap: 8px; }
.v13-sh .left h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.2px; color: var(--v13h-txt); margin: 0; }
.v13-sh .left .hot {
    display: inline-flex; align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #F472B6, #EF4444);
    letter-spacing: 0.6px; text-transform: uppercase;
}
.v13-sh .sub { font-size: 12px; color: var(--v13h-txt-3); margin-top: 2px; display: block; }
.v13-sh .more {
    font-size: 12px; color: var(--v13h-txt-2);
    display: inline-flex; align-items: center; gap: 2px;
    text-decoration: none;
}
.v13-sh .more i.layui-icon { font-size: 12px; }

/* ===== PRODUCT TABS ======================================================= */
.v13-tabs {
    margin: 0 16px 12px;
    display: flex; gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.v13-tabs::-webkit-scrollbar { display: none; }
.v13-tabs .tab {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--v13h-surface);
    border: 1px solid var(--v13h-line);
    font-size: 13px; font-weight: 600;
    color: var(--v13h-txt-2);
    flex-shrink: 0;
    transition: all 0.18s;
    cursor: pointer;
}
.v13-tabs .tab.active {
    background: linear-gradient(135deg, var(--v13h-brand-1), var(--v13h-brand-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99,102,241,0.45);
    font-weight: 700;
}

/* ===== PRODUCT CARDS (image-rich) ========================================= */
.v13-pwrap { margin: 0 16px; }
.v13-product {
    background: var(--v13h-surface);
    border: 1px solid var(--v13h-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    transition: transform 0.18s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    text-decoration: none;
}
.v13-product:active { transform: scale(0.992); }
.v13-product-img {
    width: 130px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #6366F1, #8B5CF6);
}
.v13-product-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.v13-product:hover .v13-product-img img { transform: scale(1.08); }
/* Fallback gradients when no image */
.v13-product[data-gx="1"] .v13-product-img { background: linear-gradient(140deg, #6366F1, #8B5CF6, #EC4899); }
.v13-product[data-gx="2"] .v13-product-img { background: linear-gradient(140deg, #F59E0B, #DC2626); }
.v13-product[data-gx="3"] .v13-product-img { background: linear-gradient(140deg, #10B981, #059669, #064E3B); }
.v13-product[data-gx="4"] .v13-product-img { background: linear-gradient(140deg, #06B6D4, #3B82F6); }
.v13-product[data-gx="5"] .v13-product-img { background: linear-gradient(140deg, #FB923C, #F472B6); }

.v13-product-img::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle 60px at 70% 30%, rgba(255,255,255,0.15), transparent 70%),
        linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18));
    pointer-events: none;
}
.v13-product-img .badges {
    position: absolute; top: 8px; left: 8px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 1;
}
.v13-product-img .badge {
    display: inline-flex; align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px; font-weight: 800;
    letter-spacing: 0.4px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.v13-product-img .badge.vip {
    background: linear-gradient(135deg, #FFE08A, var(--v13h-gold));
    color: #4A2D03;
    box-shadow: 0 2px 6px rgba(245,182,66,0.40);
}
.v13-product-img .badge.tenor { background: rgba(0,0,0,0.32); color: #fff; }
.v13-product-img .badge.hot { background: linear-gradient(135deg, #FB7185, #DC2626); color: #fff; }

.v13-product-body {
    flex: 1; min-width: 0;
    padding: 14px;
    display: flex; flex-direction: column;
}
.v13-product-name {
    font-size: 15px; font-weight: 800;
    color: var(--v13h-txt);
    line-height: 1.3; margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.v13-product-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
    margin-bottom: 10px;
}
.v13-product-grid .cell { display: flex; justify-content: space-between; font-size: 11px; }
.v13-product-grid .l { color: var(--v13h-txt-3); }
.v13-product-grid .v { color: var(--v13h-txt); font-weight: 700; font-variant-numeric: tabular-nums; }
.v13-product-grid .v.gold { color: var(--v13h-gold); }
.v13-product-grid .v.lime { color: var(--v13h-lime); }
.v13-product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.v13-product-price { display: flex; align-items: baseline; gap: 3px; }
.v13-product-price .cur { font-size: 12px; color: var(--v13h-txt-2); }
.v13-product-price .val { font-size: 18px; font-weight: 800; color: var(--v13h-txt); font-variant-numeric: tabular-nums; }
.v13-product-btn {
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--v13h-brand-1), var(--v13h-brand-2));
    color: #fff;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(99,102,241,0.40);
    letter-spacing: 0.3px;
    position: relative; overflow: hidden;
    border: 0;
    cursor: pointer;
}
.v13-product-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: v13h-shimmer 3.5s ease-in-out infinite;
}
.v13-product-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--v13h-txt-3);
    background: var(--v13h-surface);
    border: 1px dashed var(--v13h-line-2);
    border-radius: 16px;
    margin-bottom: 14px;
}
.v13-product-empty i.layui-icon { font-size: 38px; color: var(--v13h-txt-3); display: block; margin-bottom: 8px; }

/* ===== INVITE BANNER ====================================================== */
.v13-invite {
    margin: 22px 16px 0;
    position: relative;
    padding: 18px 20px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 90% 30%, rgba(255,255,255,0.18), transparent 60%),
        linear-gradient(135deg, #FFE08A 0%, #F5B642 50%, #C68A14 100%);
    overflow: hidden;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 8px 24px rgba(245,182,66,0.30);
    text-decoration: none;
}
.v13-invite .deco {
    width: 72px; height: 72px;
    color: #fff;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.20));
    flex-shrink: 0;
    animation: v13h-float 4.5s ease-in-out infinite;
}
.v13-invite .deco svg { width: 100%; height: 100%; }
.v13-invite .body { flex: 1; min-width: 0; }
.v13-invite .tag {
    display: inline-block;
    padding: 2px 8px; border-radius: 999px;
    background: rgba(255,255,255,0.45);
    color: #6B3300;
    font-size: 9px; font-weight: 800;
    letter-spacing: 0.8px; text-transform: uppercase;
    margin-bottom: 4px;
}
.v13-invite .title { font-size: 17px; font-weight: 800; color: #3A1F00; letter-spacing: -0.2px; }
.v13-invite .sub { font-size: 12px; color: #5A3300; margin-top: 2px; line-height: 1.4; }
.v13-invite .sub b { color: #BE2200; font-weight: 800; font-size: 14px; }

/* ===== FLOATING PILL TABBAR ============================================== */
.v13-tabbar {
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    height: 60px;
    background: rgba(20, 20, 43, 0.78);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
            backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 30px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.10);
    display: flex; align-items: center;
    padding: 6px;
    gap: 4px;
}
@media (min-width: 560px) {
    .v13-tabbar { max-width: 448px; left: 50%; transform: translateX(-50%); }
}
.v13-tabbar a {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    color: var(--v13h-txt-3);
    font-size: 13px; font-weight: 700;
    overflow: hidden;
    position: relative;
    transition: flex 0.32s cubic-bezier(0.22,1,0.36,1), background 0.25s;
    white-space: nowrap;
    text-decoration: none;
}
.v13-tabbar a i.layui-icon {
    font-size: 22px;
    flex-shrink: 0;
    transition: font-size 0.25s, margin 0.25s;
}
.v13-tabbar a .lab {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    transition: max-width 0.32s cubic-bezier(0.22,1,0.36,1), opacity 0.18s ease 0.05s, margin 0.32s;
}
.v13-tabbar a.active {
    flex: 1.9;
    background: linear-gradient(135deg, var(--v13h-brand-1), var(--v13h-brand-2));
    color: #fff;
    box-shadow:
        0 6px 16px rgba(99, 102, 241, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.20);
}
.v13-tabbar a.active i.layui-icon {
    font-size: 19px;
    margin-right: 2px;
}
.v13-tabbar a.active .lab {
    max-width: 90px;
    opacity: 1;
    margin-left: 7px;
}
.v13-tabbar a .nd {
    position: absolute; top: 8px; right: 12px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--v13h-rose);
    box-shadow: 0 0 0 2px rgba(20,20,43,0.92), 0 0 8px var(--v13h-rose);
}
.v13-tabbar a.active .nd { display: none; }

/* Hide default v8-tabbar and floating service button on home (we have our own entries) */
body.v13-home .v8-tabbar { display: none !important; }
body.v13-home .v11-service { display: none !important; }
