/* =============================================================================
 * V14 Home — "Meituan Yellow 美团黄主题【全局浅色版】"
 * Banner-first, image-rich, products on home.
 * 严格对齐美团官方 #FFC300 美团黄，全站浅色底 + 品牌黄，移除深色底
 * Scoped under .v14-* class names (assumes theme.css loaded). NO bounce — refined ease-out.
 * ===========================================================================*/

/* -------- Meituan Yellow palette【美团官方色值，唯一可信源】 ------------------- */
:root {
    --v14h-brand-1:  #FFC300;   /* 美团主黄 官方标准色 primary action */
    --v14h-brand-2:  #FFB800;   /* 美团深黄（官方辅助） */
    --v14h-brand-3:  #FFA500;   /* 加深美团黄，仅点缀，不作大面积背景 */
    --v14h-brand-deep:#CC8800;  /* 最深黄，仅边框/点缀 */
    --v14h-brand-ink: #A66E00;  /* 浅底上的黄色文字，保证可读 */
    --v14h-rose:     #FFDD66;   /* 浅黄高亮 */
    --v14h-gold:     #FFD633;   /* 高亮点缀 */
    --v14h-gold-2:   #FFE680;   /* 浅金色，次要高亮 */
    --v14h-up:       #A66E00;   /* 正向色（浅底可读） */
    --v14h-down:     #E0392B;   /* 负向色（浅底可读） */

    /* legacy names kept for un-reskinned pages */
    --v14h-teal:     #FFB800;
    --v14h-lime:     #A66E00;

    /* ---- Surfaces (LIGHT) ---- */
    --v14h-bg:        #F5F5F7;   /* 页面底色 */
    --v14h-surface:   #FFFFFF;   /* 卡片 / 面板 */
    --v14h-surface-1: #F5F5F7;   /* 内嵌块 */
    --v14h-line:      rgba(0, 0, 0, 0.06);
    --v14h-line-2:    rgba(0, 0, 0, 0.10);

    /* ---- Text ---- */
    --v14h-txt:   #1A1A1A;       /* 主文字 深灰 */
    --v14h-txt-2: #666666;       /* 次要文字 */
    --v14h-txt-3: #191919;       /* 辅助文字 */
    --v14h-ease:   cubic-bezier(0.22, 1, 0.36, 1);  /* refined ease-out */
    --v14h-spring: cubic-bezier(0.22, 1, 0.36, 1);  /* no overshoot */
}

/* Apply ambient backdrop for home */
body.v14-home {
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 195, 0, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 100% 18%, rgba(255, 214, 51, 0.20) 0%, transparent 60%),
        radial-gradient(ellipse 95% 70% at 50% 110%, rgba(255, 195, 0, 0.10) 0%, transparent 60%),
        var(--v14h-bg) !important;
    background-attachment: fixed;
    color: var(--v14h-txt);
    padding-bottom: 96px !important;
}
body.v14-home::before { display: none; }

/* -------- Keyframes -------------------------------------------------------- */
@keyframes v14h-float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes v14h-rise     { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes v14h-shimmer  { 0% { transform: translateX(-140%) skewX(-20deg); opacity: 0; } 20% { opacity: 0.6; } 100% { transform: translateX(280%) skewX(-20deg); opacity: 0; } }
@keyframes v14h-marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Gold hairline sheen — signature reveal */
@keyframes v14h-sheen    { 0% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
.layui-layer-setwin .layui-layer-close2{color:#000!important;}
.layui-layer-setwin .layui-layer-close2::before{margin-top:3px;}
/* ===== TOP STATUS BAR (overlays banner) ==================================== */
.v14-stbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px 0;
}
.v14-stbar .avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 195, 0, 0.55);
    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;
}
.v14-stbar .avatar img { width: 100%; height: 100%; object-fit: cover; }
.v14-stbar .who { flex: 1; min-width: 0; color: #fff; }
.v14-stbar .who .hi {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.4px;
}
.v14-stbar .who .name {
    font-size: 14px; font-weight: 800; margin-top: 1px;
    display: flex; align-items: center; gap: 6px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    letter-spacing: 0.2px;
}
.v14-stbar .tier {
    display: inline-flex; align-items: center;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    color: #1A1A1A;
    background: linear-gradient(135deg, var(--v14h-gold-2), var(--v14h-brand-1));
    letter-spacing: 0.6px;
    flex-shrink: 0;
}
.v14-stbar .icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 195, 0, 0.35);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    position: relative;
    text-decoration: none;
}
.v14-stbar .icon-btn:active { background: rgba(0, 0, 0, 0.42); }
.v14-stbar .icon-btn i.layui-icon { font-size: 17px; }
.v14-stbar .icon-btn .dot {
    position: absolute; top: 6px; right: 7px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--v14h-brand-1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.40);
}

/* ===== TOP BANNER (carousel) =============================================== */
.v14-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.v14-banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s var(--v14h-ease);
}
.v14-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;
}
.v14-banner-slide.has-img { padding: 0; }
.v14-banner-slide.has-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Fallback (no admin banner) — Meituan Yellow gradient slides */
.v14-banner-slide.s1 {
    background:
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.30), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(204, 136, 0, 0.28), transparent 55%),
        linear-gradient(160deg, #FFC300 0%, #FFB800 45%, #CC8800 100%);
}
.v14-banner-slide.s2 {
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 230, 128, 0.28), transparent 55%),
        linear-gradient(160deg, #FFB800 0%, #FFA500 60%, #CC8800 100%);
}
.v14-banner-slide.s3 {
    background:
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.22), transparent 55%),
        linear-gradient(160deg, #FFC300 0%, #FFB800 60%, #FFA500 100%);
}
.v14-banner-slide.s4 {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 55%),
        linear-gradient(160deg, #FFE680 0%, #FFD633 50%, #FFB800 100%);
    color: #1A1A1A;
}
.v14-banner-deco {
    position: absolute;
    right: -10px; top: 50%; transform: translateY(-50%);
    width: 220px; height: 220px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.20));
    animation: v14h-float 4.5s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.85);
}
.v14-banner-slide.s4 .v14-banner-deco { color: rgba(255, 255, 255, 0.90); }
.v14-banner-deco svg { width: 100%; height: 100%; }
.v14-banner-content { position: relative; z-index: 1; max-width: 250px; }
.v14-banner-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 195, 0, 0.55);
    color: var(--v14h-gold-2);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 10px; font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.v14-banner-slide.s4 .v14-banner-tag { background: rgba(255, 255, 255, 0.55); border-color: rgba(0, 0, 0, 0.08); color: #1A1A1A; }
.v14-banner-title {
    font-size: 30px; font-weight: 900;
    letter-spacing: -0.6px; line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}
.v14-banner-slide.s4 .v14-banner-title { text-shadow: none; }
.v14-banner-sub {
    margin-top: 10px;
    font-size: 13px; line-height: 1.5;
    opacity: 0.92;
}
.v14-banner-cta {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 18px;
    padding: 11px 20px;
    background: var(--v14h-brand-1);
    color: #1A1A1A;
    border-radius: 6px;
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.35);
    text-decoration: none;
}
.v14-banner-slide.s4 .v14-banner-cta { background: #1A1A1A; color: var(--v14h-gold-2); }
.v14-banner-cta i.layui-icon { font-size: 12px; }
.v14-banner-dots {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex; gap: 6px;
}
.v14-banner-dots i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.3s var(--v14h-ease);
    cursor: pointer;
    display: inline-block;
}
.v14-banner-dots i.active {
    width: 22px;
    border-radius: 2px;
    background: var(--v14h-brand-1);
    box-shadow: 0 0 8px rgba(255, 195, 0, 0.55);
}

/* ===== ASSET SUMMARY (rises from banner) =================================== */
.v14-asset {
    position: relative;
    z-index: 5;
    margin: 16px 16px 0;
    padding: 18px 18px 14px;
    border-radius: 14px;
    background:
        linear-gradient(160deg, rgba(255, 195, 0, 0.10), rgba(255, 195, 0, 0.02)),
        var(--v14h-surface);
    border: 1px solid var(--v14h-line-2);
    color: var(--v14h-txt);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
/* gold top hairline */
.v14-asset::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 195, 0, 0.85) 30%, rgba(255, 195, 0, 0.85) 70%, transparent);
}
.v14-asset-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
}
.v14-asset-label {
    font-size: 11px; color: var(--v14h-txt-2);
    display: inline-flex; align-items: center; gap: 6px;
    letter-spacing: 1px; font-weight: 700;
}
.v14-asset-eye {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255, 195, 0, 0.14);
    display: flex; align-items: center; justify-content: center;
    color: var(--v14h-brand-ink);
}
.v14-asset-eye i.layui-icon { font-size: 12px; }
.v14-asset-today {
    font-size: 11px; color: var(--v14h-brand-ink);
    font-weight: 800;
    background: rgba(255, 195, 0, 0.14);
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid rgba(255, 195, 0, 0.35);
    font-variant-numeric: tabular-nums;
}
.v14-asset-amount {
    display: flex; align-items: baseline; gap: 4px;
    color: var(--v14h-txt);
    font-variant-numeric: tabular-nums;
}
.v14-asset-amount .cur { font-size: 18px; font-weight: 700; color: var(--v14h-brand-ink); opacity: 0.95; }
.v14-asset-amount .val { font-size: 34px; font-weight: 900; letter-spacing: -0.8px; line-height: 1; }
.v14-asset-row {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--v14h-line);
    border-radius: 8px;
    overflow: hidden;
}
.v14-asset-stat {
    background: var(--v14h-surface-1);
    padding: 10px 4px;
    text-align: center;
}
.v14-asset-stat .l { font-size: 10px; color: var(--v14h-txt-3); letter-spacing: 0.5px; }
.v14-asset-stat .v {
    margin-top: 3px;
    font-size: 14px; font-weight: 800; color: var(--v14h-txt);
    font-variant-numeric: tabular-nums;
}
.v14-asset-stat .v.up   { color: var(--v14h-brand-ink); }
.v14-asset-stat .v.gold { color: var(--v14h-brand-ink); }
.v14-asset-cta {
    margin-top: 12px;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.v14-asset-cta a {
    padding: 11px 8px;
    border-radius: 8px;
    border: 1px solid var(--v14h-line-2);
    color: var(--v14h-txt);
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    transition: transform 0.16s var(--v14h-ease), background 0.18s, border-color 0.18s;
    text-decoration: none;
    letter-spacing: 0.3px;
    background: #FFFFFF;
}
.v14-asset-cta a:active { transform: scale(0.97); }
.v14-asset-cta a:hover { border-color: rgba(255, 195, 0, 0.55); background: #FFF9E0; }
.v14-asset-cta a.primary {
    background: linear-gradient(135deg, var(--v14h-brand-1), var(--v14h-brand-2));
    color: #1A1A1A;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(255, 195, 0, 0.32);
}
.v14-asset-cta a.primary:hover { border-color: transparent; background: linear-gradient(135deg, #FFD828, var(--v14h-brand-1)); }
.v14-asset-cta a i.layui-icon { font-size: 14px; }

/* ===== QUICK GRID ========================================================= */
.v14-quick {
    margin: 14px 12px 0;
    padding: 14px 8px;
    background: var(--v14h-surface);
    border: 1px solid var(--v14h-line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.v14-quick a {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 6px 4px;
    border-radius: 10px;
    position: relative;
    transition: background 0.18s, transform 0.14s var(--v14h-ease);
    text-decoration: none;
}
.v14-quick a:active { background: rgba(255, 195, 0, 0.10); transform: scale(0.96); }
.v14-quick .ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #1A1A1A;
    box-shadow: 0 4px 10px rgba(255, 195, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    position: relative;
}
.v14-quick .ic::after {
    content: ''; position: absolute; inset: 0; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}
.v14-quick .ic i.layui-icon { font-size: 20px; }
/* 全部图标统一美团黄系渐变 */
.v14-quick .ic.c1 { background: linear-gradient(135deg, #FFC300, #FFB800); }
.v14-quick .ic.c2 { background: linear-gradient(135deg, #FFD633, #FFB800); }
.v14-quick .ic.c3 { background: linear-gradient(135deg, #FFB800, #FFA500); }
.v14-quick .ic.c4 { background: linear-gradient(135deg, #FFDD66, #FFB800); }
.v14-quick .ic.c5 { background: linear-gradient(135deg, #FFB800, #CC8800); }
.v14-quick .lab { font-size: 11px; color: var(--v14h-txt-2); font-weight: 600; letter-spacing: 0.3px; }
.v14-quick a .badge {
    position: absolute; top: 2px; right: 4px;
    min-width: 16px; height: 16px;
    border-radius: 8px;
    background: var(--v14h-brand-1);
    color: #1A1A1A;
    font-size: 10px; font-weight: 700;
    padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px var(--v14h-surface);
}

/* ===== MARQUEE NEWS ======================================================= */
.v14-news {
    margin: 14px 12px 0;
    height: 40px;
    background: linear-gradient(90deg, rgba(255, 195, 0, 0.18), rgba(255, 195, 0, 0.04));
    border: 1px solid rgba(255, 195, 0, 0.32);
    border-radius: 10px;
    display: flex; align-items: center; gap: 8px;
    padding: 0 12px;
    overflow: hidden;
}
.v14-news .horn {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--v14h-brand-1);
    color: #1A1A1A;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v14-news .horn i.layui-icon { font-size: 11px; }
.v14-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);
}
.v14-news .track {
    display: inline-flex; align-items: center; gap: 32px;
    white-space: nowrap;
    animation: v14h-marquee 28s linear infinite;
    font-size: 12px;
    color: var(--v14h-txt-2);
}
.v14-news .track b { color: var(--v14h-brand-ink); font-weight: 700; }
.v14-news .more { font-size: 11px; color: var(--v14h-txt-3); flex-shrink: 0; }

/* ===== ACTIVITY ROW (3 equal image cards) ================================= */
.v14-acts {
    margin: 14px 16px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: stretch;
}
.v14-act {
    position: relative;
    border-radius: 12px;
    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;
    border: 1px solid rgba(255, 195, 0, 0.30);
    box-shadow: 0 4px 12px rgba(255, 195, 0, 0.18);
}
.v14-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 10px rgba(0, 0, 0, 0.18));
}
.v14-act.c1 { background: linear-gradient(140deg, #FFB800, #CC8800); }
.v14-act.c2 { background: linear-gradient(140deg, #FFC300, #FFB800); }
.v14-act.c3 { background: linear-gradient(140deg, #FFD633, #FFB800); color: #1A1A1A; }
.v14-act.c3 svg.deco { color: rgba(26, 26, 26, 0.22); }
.v14-act .v-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 9px; font-weight: 800;
    letter-spacing: 1px;
    align-self: flex-start;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: #fff;
}
.v14-act.c3 .v-tag { background: rgba(255, 255, 255, 0.55); color: #1A1A1A; }
.v14-act .v-body { z-index: 1; }
.v14-act .v-title { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.2; }
.v14-act .v-sub { margin-top: 4px; font-size: 11px; opacity: 0.92; }

/* ===== SECTION HEADER (editorial) ========================================= */
.v14-sh {
    display: flex; align-items: center; justify-content: space-between;
    margin: 24px 16px 12px;
}
.v14-sh .left {display: flex;align-items: center;gap: 10px;}
.v14-sh .left::before {
    content: '';
    /* width: 3px; */
    height: 18px;
    background: linear-gradient(180deg, var(--v14h-brand-1), var(--v14h-brand-2));
    border-radius: 2px;
}
.v14-sh .left h2 { font-size: 19px; font-weight: 900; letter-spacing: 0.2px; color: var(--v14h-txt); margin: 0; }
.v14-sh .left .hot {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    color: #1A1A1A;
    background: linear-gradient(135deg, var(--v14h-brand-1), var(--v14h-brand-2));
    letter-spacing: 0.8px;
}
.v14-sh .sub { font-size: 12px; color: var(--v14h-txt-3); margin-top: 2px; display: block; }
.v14-sh .more {
    font-size: 12px; color: var(--v14h-brand-ink);
    display: inline-flex; align-items: center; gap: 2px;
    text-decoration: none;
    font-weight: 700; letter-spacing: 0.3px;
}
.v14-sh .more i.layui-icon { font-size: 12px; }

/* ===== PRODUCT TABS ======================================================= */
.v14-tabs {
    margin: 0 16px 12px;
    display: flex; gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.v14-tabs::-webkit-scrollbar { display: none; }
.v14-tabs .tab {
    padding: 8px 18px;
    border-radius: 6px;
    background: var(--v14h-surface);
    border: 1px solid var(--v14h-line);
    font-size: 13px; font-weight: 700;
    color: var(--v14h-txt-2);
    flex-shrink: 0;
    transition: all 0.18s var(--v14h-ease);
    cursor: pointer;
    letter-spacing: 0.3px;
}
.v14-tabs .tab.active {
    background: linear-gradient(135deg, var(--v14h-brand-1), var(--v14h-brand-2));
    color: #1A1A1A;
    border-color: rgba(255, 195, 0, 0.50);
    box-shadow: 0 4px 12px rgba(255, 195, 0, 0.32);
}

/* ===== PRODUCT CARDS (image-rich) ========================================= */
.v14-pwrap { margin: 0 16px; }
.v14-product {
    background: var(--v14h-surface);
    border: 1px solid var(--v14h-line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    transition: transform 0.18s var(--v14h-ease), border-color 0.22s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    position: relative;
}
.v14-product::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
    background: linear-gradient(180deg, var(--v14h-brand-1), var(--v14h-brand-2));
    opacity: 0; transition: opacity 0.25s;
    z-index: 2;
}
.v14-product:hover { border-color: rgba(255, 195, 0, 0.55); box-shadow: 0 8px 22px rgba(255, 195, 0, 0.22); transform: translateY(-2px); }
.v14-product:hover::before { opacity: 1; }
.v14-product:active { transform: scale(0.992); }
.v14-product-img {
    width: 130px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #FFB800, #CC8800);
}
.v14-product-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s var(--v14h-ease);
}
.v14-product:hover .v14-product-img img { transform: scale(1.07); }
/* Fallback gradients when no image — Meituan Yellow */
.v14-product[data-gx="1"] .v14-product-img { background: linear-gradient(140deg, #FFC300, #FFB800); }
.v14-product[data-gx="2"] .v14-product-img { background: linear-gradient(140deg, #FFD633, #FFB800); }
.v14-product[data-gx="3"] .v14-product-img { background: linear-gradient(140deg, #FFB800, #CC8800); }
.v14-product[data-gx="4"] .v14-product-img { background: linear-gradient(140deg, #FFDD66, #FFB800); }
.v14-product[data-gx="5"] .v14-product-img { background: linear-gradient(140deg, #FFB800, #FFA500); }
.v14-product-img::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle 60px at 70% 30%, rgba(255, 195, 0, 0.20), transparent 70%),
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.20));
    pointer-events: none;
}
.v14-product-img .badges {
    position: absolute; top: 8px; left: 8px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 1;
}
.v14-product-img .badge {
    display: inline-flex; align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px; font-weight: 800;
    letter-spacing: 0.4px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.v14-product-img .badge.vip {
    background: linear-gradient(135deg, var(--v14h-gold-2), var(--v14h-brand-1));
    color: #1A1A1A;
    box-shadow: 0 2px 8px rgba(255, 195, 0, 0.40);
}
.v14-product-img .badge.tenor { background: rgba(0, 0, 0, 0.42); color: #fff; }
.v14-product-img .badge.hot { background: linear-gradient(135deg, var(--v14h-brand-1), var(--v14h-brand-2)); color: #1A1A1A; }
.v14-product-body {
    flex: 1; min-width: 0;
    padding: 14px;
    display: flex; flex-direction: column;
}
.v14-product-name {
    font-size: 15px; font-weight: 800;
    color: var(--v14h-txt);
    line-height: 1.3; margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    letter-spacing: 0.2px;
}
.v14-product-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
    margin-bottom: 10px;
}
.v14-product-grid .cell { display: flex; justify-content: space-between; font-size: 11px; }
.v14-product-grid .l { color: var(--v14h-txt-3); }
.v14-product-grid .v { color: var(--v14h-txt); font-weight: 700; font-variant-numeric: tabular-nums; }
.v14-product-grid .v.gold { color: var(--v14h-brand-ink); }
.v14-product-grid .v.lime { color: var(--v14h-brand-ink); }
.v14-product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.v14-product-price { display: flex; align-items: baseline; gap: 3px; }
.v14-product-price .cur { font-size: 12px; color: var(--v14h-brand-ink); }
.v14-product-price .val { font-size: 19px; font-weight: 900; color: var(--v14h-txt); font-variant-numeric: tabular-nums; }
.v14-product-btn {
    padding: 8px 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--v14h-brand-1), var(--v14h-brand-2));
    color: #1A1A1A;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 195, 0, 0.32);
    letter-spacing: 0.5px;
    position: relative; overflow: hidden;
    border: 1px solid rgba(255, 195, 0, 0.50);
    cursor: pointer;
}
.v14-product-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: v14h-shimmer 3.8s ease-in-out infinite;
}
.v14-product-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--v14h-txt-3);
    background: var(--v14h-surface);
    border: 1px dashed var(--v14h-line-2);
    border-radius: 14px;
    margin-bottom: 14px;
}
.v14-product-empty i.layui-icon { font-size: 38px; color: var(--v14h-txt-3); display: block; margin-bottom: 8px; }

/* ===== INVITE BANNER ====================================================== */
.v14-invite {
    margin: 22px 16px 0;
    position: relative;
    padding: 18px 20px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.28), transparent 60%),
        linear-gradient(135deg, var(--v14h-gold-2) 0%, var(--v14h-brand-1) 50%, #FFB800 100%);
    overflow: hidden;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 10px 24px rgba(255, 195, 0, 0.28);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.v14-invite .deco {
    width: 72px; height: 72px;
    color: #fff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    flex-shrink: 0;
    animation: v14h-float 4.5s ease-in-out infinite;
}
.v14-invite .deco svg { width: 100%; height: 100%; }
.v14-invite .body { flex: 1; min-width: 0; }
.v14-invite .tag {
    display: inline-block;
    padding: 2px 8px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
    color: #1A1A1A;
    font-size: 9px; font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.v14-invite .title { font-size: 17px; font-weight: 900; color: #1A1A1A; letter-spacing: -0.2px; }
.v14-invite .sub { font-size: 12px; color: #332B00; margin-top: 2px; line-height: 1.4; }
.v14-invite .sub b { color: #8A5A00; font-weight: 800; font-size: 14px; }

/* ===== BOTTOM TABBAR — flat editorial dock ===================================== */
.v14-tabbar {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 60;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #FFFFFF;
    border-top: 1px solid #E5E5E5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    display: flex; align-items: stretch;
}
@media (min-width: 560px) {
    .v14-tabbar { width: 480px; left: calc(50vw - 240px); right: auto; }
}
.v14-tabbar a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
    color: #86868B;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.6px;
    position: relative;
    transition: color 0.2s ease;
    text-decoration: none;
    padding-top: 2px;
}
.v14-tabbar a i.layui-icon {
    font-size: 21px;
    transition: transform 0.25s ease;
}
.v14-tabbar a .lab { line-height: 1; }
.v14-tabbar a:active i.layui-icon { transform: scale(0.9); }
/* active: 美团深黄文字 + 黄色顶部指示条 */
.v14-tabbar a.active {
    color: var(--v14h-brand-ink);
}
.v14-tabbar a.active i.layui-icon {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 6px rgba(255, 195, 0, 0.45));
}
.v14-tabbar a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    /* height: 3px; */
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--v14h-brand-1), var(--v14h-brand-2));
    box-shadow: 0 0 6px rgba(255, 195, 0, 0.55);
}
.v14-tabbar a .nd { display: none; }

/* Hide default v8-tabbar and floating service button on home */
body.v14-home .v8-tabbar { display: none !important; }
body.v14-home .v11-service { display: none !important; }