/* =========================
   Base
   ========================= */
.account-page{
  background:#f5f6fa;
  color:#0f172a;
  padding:24px 0 40px;
  margin-bottom:20px;
}

.account-shell{
  width:min(1440px, 100vw - 200px);
  margin-inline:auto;
}

.account-layout{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:24px;
  align-items:flex-start;
}

/* helpers */
.fm-mobile-only{ display:none; }
.fm-desktop-only{ display:block; }

/* =========================
   Sidebar (PC)
   ========================= */
.account-sidebar{
  background:#ffffff;
  border-radius:24px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
  padding:14px 0 172px;
}

.account-nav{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.account-nav-section{ padding:4px 0; }
.account-nav-section + .account-nav-section{
  margin-top:6px;
  border-top:1px solid #e5e7eb;
  padding-top:10px;
}

.account-nav .nav-item{
  display:flex;
  align-items:center;
  gap:13px;
  padding:10px 20px;
  margin:7px 9px;
  border-radius:14px;
  font-size:14px;
  color:#4b5563;
  text-decoration:none;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  cursor:pointer;
}

.account-nav .nav-item .nav-icon{
  font-size:20px;
  color:#9ca3af;
}

.account-nav .nav-item:hover{
  background:rgba(44,101,173,.06);
  color:#111827;
  box-shadow:0 10px 20px rgba(44,101,173,.15);
  transform:translateY(-1px);
}
.account-nav .nav-item:hover .nav-icon{ color:#2c65ad; }

.account-nav .nav-item.is-active{
  background:#2c65ad;
  color:#f9fafb;
  box-shadow:0 14px 28px rgba(44,101,173,.4);
}
.account-nav .nav-item.is-active .nav-icon{ color:#f9fafb; }

/* =========================
   Main (PC)
   ========================= */
.account-main{ align-self:flex-start; }

.account-main-title{
  font-size:20px;
  font-weight:800;
  color:#020617;
  margin:4px 2px 16px;
}

.account-grid{
  display:grid;
  grid-template-columns:minmax(0, 2.2fr) minmax(0, 1.8fr);
  grid-template-rows:auto auto;
  gap:16px;
}

.account-card{
  position:relative;
  background:#ffffff;
  border-radius:24px;
  padding:18px 20px 20px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
}

.card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}

.card-header-left{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.card-title{
  margin:0;
  font-size:15px;
  font-weight:700;
  color:#020617;
}

.card-subtitle{
  font-size:12px;
  color:#94a3b8;
}

/* Buttons */
.btn-ghost,
.btn-ghost-light{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(44,101,173,.18);
  background:rgba(44,101,173,.06);
  color:#2c65ad;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition: background 140ms ease, box-shadow 140ms ease, transform 120ms ease, border-color 140ms ease;
  white-space:nowrap;
}

.btn-ghost::after{
  content:"›";
  font-size:14px;
  transform:translateY(.5px);
}

.btn-ghost-light::after{ content:""; }

.btn-ghost:hover,
.btn-ghost-light:hover{
  background:rgba(44,101,173,.12);
  border-color:rgba(44,101,173,.32);
  box-shadow:0 10px 24px rgba(44,101,173,.35);
  transform:translateY(-1px);
}

.btn-ghost:active,
.btn-ghost-light:active{
  transform:translateY(0);
  box-shadow:0 6px 14px rgba(44,101,173,.28);
}

.btn-secondary,
.btn-primary{
  border-radius:999px;
  height:34px;
  padding:0 16px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  border:1px solid transparent;
}

.btn-secondary{
  border-color:#e5e7eb;
  background:#f3f4f6;
  color:#374151;
}
.btn-secondary:hover{ background:#e5e7eb; }

.btn-primary{
  border-color:#f97316;
  background:#f97316;
  color:#fff;
}
.btn-primary:hover{ filter:brightness(1.05); }

/* Profile card */
.card-profile{ padding:16px 20px 16px; }
.card-header-profile{ margin-bottom:10px; }

.card-profile-main{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.profile-main-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.avatar-shell{
  position:relative;
  width:56px;
  height:56px;
  flex-shrink:0;
  cursor:pointer;
}

.avatar-circle.avatar-circle-lg{
  width:56px;
  height:56px;
  border-radius:999px;
  background:#020617;
  color:#f9fafb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:20px;
  overflow:hidden;
}

.avatar-circle.avatar-circle-lg img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.avatar-edit-badge{
  position:absolute;
  right:-4px;
  bottom:-4px;
  width:22px;
  height:22px;
  border-radius:999px;
  border:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f97316;
  color:#fff;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.35);
}

/* 你现在用 svg 的通用图标（不影响 PC 布局，只管大小） */
.fm-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2em;
  height:2em;
}
.fm-ico svg{ width:100%; height:100%; display:block; }
.avatar-edit-badge .fm-ico{ width:14px; height:14px; }

.profile-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.profile-id{ font-size:13px; font-weight:700; color:#020617; }
.profile-name{ font-size:14px; color:#020617; }
.profile-email{ font-size:12px; color:#64748b; }

.profile-meta{
  display:grid;
  grid-auto-rows:minmax(20px, auto);
  row-gap:4px;
  column-gap:24px;
  font-size:12px;
  color:#6b7280;
  min-width:220px;
}
.profile-meta-row{ display:flex; gap:8px; }
.profile-meta-row dt{ min-width:70px; color:#9ca3af; }
.profile-meta-row dd{ margin:0; color:#111827; }

/* Edit form */
.profile-edit-form{
  margin-top:14px;
  padding-top:10px;
  border-top:1px solid #e5e7eb;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.pe-row{ display:flex; flex-direction:column; gap:4px; }
.pe-row label{ font-size:12px; color:#6b7280; }

.pe-row input[type="text"]{
  border-radius:12px;
  border:1px solid #e5e7eb;
  padding:6px 10px;
  font-size:13px;
  background:#fff;
  height:34px;
}
.pe-row input[type="text"]:focus{
  outline:none;
  border-color:#3b82f6;
  box-shadow:0 0 0 1px rgba(59,130,246,.16);
}

.pe-avatar-row{ display:flex; align-items:center; gap:8px; }
.pe-avatar-input{ display:none; }
.pe-help{ margin:2px 0 0; font-size:11px; color:#9ca3af; }

.pe-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:4px;
}

/* Toast */
.account-toast{
  position:absolute;
  right:18px;
  bottom:14px;
  max-width:260px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1.3;
  color:#0f172a;
  background:rgba(240,253,250,.96);
  border:1px solid rgba(16,185,129,.4);
  box-shadow:0 8px 18px rgba(15,23,42,.15);
  opacity:0;
  pointer-events:none;
  transform:translateY(6px);
  transition: opacity 140ms ease, transform 140ms ease;
}
.account-toast.is-error{
  background:#fef2f2;
  border-color:rgba(248,113,113,.7);
}
.account-toast.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* Orders (PC) */
.card-orders .orders-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:8px;
}

.card-orders .orders-item{
  background:#f8fafc;
  border-radius:18px;
  padding:14px 12px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 24px rgba(15,23,42,.05);
  text-decoration:none;
  transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.card-orders .orders-item:hover{
  background:#fff;
  box-shadow:0 16px 32px rgba(15,23,42,.08);
  transform:translateY(-2px);
}
.orders-label{ font-size:12px; color:#6b7280; margin-bottom:4px; }
.orders-count{ font-size:22px; font-weight:800; color:#020617; }

/* Simple cards (PC) */
.card-simple-main{
  display:flex;
  align-items:center;
  gap:12px;
  margin:40px 0;
  text-decoration:none;
  color:inherit;
}

.card-simple-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  background:#fef3c7;
  display:flex;
  align-items:center;
  justify-content:center;
}
.card-simple-icon .fm-ico{ width:20px; height:20px; color:#f97316; }

.card-simple-text{ display:flex; flex-direction:column; gap:2px; }
.card-simple-count{ font-size:20px; font-weight:800; color:#020617; }
.card-simple-label{ font-size:12px; color:#6b7280; }

/* =========================
   <=1024: sidebar 横向滚动（Pad）
   ========================= */
@media (max-width: 1024px){
  .account-layout{ grid-template-columns:minmax(0, 1fr); }

  .account-sidebar{
    padding:10px;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
    position:sticky;
    top:10px;
    z-index:10;
    background:#fff;
  }

  .account-nav{
    flex-direction:row;
    align-items:center;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    padding:4px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .account-nav::-webkit-scrollbar{ display:none; }

  .account-nav-section{
    display:flex;
    flex-direction:row;
    gap:10px;
    padding:0;
    flex:0 0 auto;
  }

  .account-nav-section + .account-nav-section{
    margin-top:0;
    border-top:none;
    padding-top:0;
    border-left:1px solid #e5e7eb;
    padding-left:10px;
  }

  .account-nav .nav-item{
    margin:0;
    padding:10px 12px;
    border-radius:999px;
    white-space:nowrap;
    font-size:13px;
    line-height:1;
    scroll-snap-align:start;
    background:#f8fafc;
    border:1px solid rgba(148,163,184,.35);
    box-shadow:none;
    transform:none;
  }

  .account-nav .nav-item .nav-icon{ font-size:18px; }
}

/* 修复你原来的 640px 写法错误 */
@media (max-width: 640px){
  .account-shell{
    width:min(1200px, calc(100% - 32px));
    margin-inline:auto;
  }
}


/* =========================
   Mobile <=768: match your reference (smaller, lighter, fewer borders)
   ========================= */
@media (max-width: 768px) {
    /* hide desktop sidebar */
    .account-sidebar {
        display: none !important;
    }

    .fm-mobile-only {
        display: block;
    }

    .fm-desktop-only {
        display: none !important;
    }

    .account-layout {
        grid-template-columns:1fr !important;
        gap: 0 !important;
    }

    .account-shell {
        width: calc(100% - 24px) !important;
        margin-inline: auto;
    }

    /* overall sizing down */
    .account-page {
        background: #f6f7fb !important;
        padding: 10px 0 calc(18px + var(--fm-mbbar-h, 56px) + env(safe-area-inset-bottom)) !important;
        margin-bottom: 0 !important;
        font-size: 13px; /* 整体字小一档 */
        line-height: 1.4;
        color: #0f172a;
    }

    .account-main-title {
        display: none !important;
    }

    /* icon helpers */
    .m-ico-stroke {
        stroke: currentColor;
    }

    .m-ico-accent {
        fill: #FBBF24;
    }

    /* 参考图黄色点缀 */
    /* ===== Top head (lighter) ===== */
    .m-my-head {
        border-radius: 16px;
        background: linear-gradient(135deg,
        #eaf4ff 0%,
        #f5f9ff 38%,
        #ffffff 72%,
        #ffffff 100%
        );
        box-shadow: none;
        padding: 14px 14px 12px;
        position: relative;
        overflow: hidden;
    }

    /* 右上角淡淡蓝色光晕纹理（很克制） */
    .m-my-head::before {
        content: "";
        position: absolute;
        inset: -36px -50px auto auto;
        width: 280px;
        height: 280px;
        background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, .14), transparent 64%);
        transform: rotate(12deg);
        pointer-events: none;
    }

    /* 再加一层更淡的光晕，让层次更像参考图那种“轻” */
    .m-my-head::after {
        content: "";
        position: absolute;
        left: -60px;
        top: -80px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, .08), transparent 66%);
        pointer-events: none;
    }


    .m-my-hero {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .m-avatar-circle {
        width: 54px;
        height: 54px;
        border-radius: 999px;
        background: #111827;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600; /* 不要 800/900 */
        overflow: hidden;
        box-shadow: none;
    }

    .m-avatar-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .m-my-meta {
        min-width: 0;
        flex: 1 1 auto;
    }

    .m-my-id {
        font-size: 20px; /* 比你现在小 */
        font-weight: 700; /* 不要 900 */
        color: #111827;
        letter-spacing: .2px;
        line-height: 1.1;
    }

    .m-my-vip {
        display: none !important;
    }

    /* ===== Orders 4 tabs: one outer border + inner dividers ===== */
    .m-my-card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        margin-top: 12px;
        overflow: visible;
    }

    .m-order-tabs {
        display: grid;
        grid-template-columns:repeat(4, minmax(0, 1fr));
        background: #fff;
        border: 1px solid rgba(15, 23, 42, .10); /* 很淡 */
        border-radius: 14px;
        overflow: hidden;
        margin: 0; /* 参考图：紧跟上面 */
    }

    .m-tab {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 6px 12px;
        text-decoration: none;
        color: #111827;
        -webkit-tap-highlight-color: transparent;
    }

    /* divider with inset */
    .m-tab:not(:first-child)::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 1px;
        background: rgba(15, 23, 42, .10);
    }

    .m-tab-ico {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #111827;
    }

    .m-tab-ico svg {
        width: 28px;
        height: 28px;
        display: block;
    }

    .m-tab-txt {
        font-size: 12px; /* 更小 */
        font-weight: 600; /* 不要粗黑 */
        letter-spacing: .2px;
        color: #111827;
        line-height: 1;
    }

    /* ===== Menu list: simple, no heavy card ===== */
    .m-menu {
        margin-top: 14px;
        background: #fff;
        border-radius: 16px;
        box-shadow: none;
        overflow: hidden;
    }

    .m-menu-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 14px;
        background: #fff;
        border: 0;
        border-bottom: 1px solid rgba(15, 23, 42, .06); /* 很淡的分割线 */
        text-decoration: none;
        color: #111827;
        cursor: pointer;
        text-align: left;
    }

    .m-menu-item:last-of-type {
        border-bottom: 0;
    }

    .m-menu-ico {
        width: 24px;
        height: 24px;
        border-radius: 0;
        background: transparent;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: #111827;
    }

    .m-menu-ico svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    .m-menu-name {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 15px;
        font-weight: 600; /* 轻一点 */
        color: #111827;
        line-height: 1.1;
    }

    .m-menu-sub {
        flex: 0 0 auto;
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
        white-space: nowrap;
        margin-right: 6px;
    }

    .m-menu-tail {
        flex: 0 0 auto;
        color: #9ca3af;
        font-weight: 600;
        font-size: 18px;
        margin-left: auto;
        transform: translateY(-.5px);
    }

    /* logout: soft pill like reference */
    .m-logout-btn {
        width: calc(100% - 28px);
        margin: 14px 14px 16px;
        height: 44px;
        border-radius: 999px;
        background: #f3f4f6;
        border: 0;
        color: #111827;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
    }


    /* 超小屏：再轻微压一下 */
    @media (max-width: 420px) {
        .m-my-id {
            font-size: 18px;
        }

        .m-recent-title {
            font-size: 15px;
        }

        .m-menu-name {
            font-size: 14px;
        }
    }



    /* ===== Mobile Recent (3 cols x 2 rows) - sales only, smaller fonts ===== */
    @media (max-width: 768px) {
        .m-my-recent {
            margin-top: 16px;
        }

        /* 比你现在“参考图那段 20px”小 4px */
        .m-recent-title {
            font-size: 16px;
            font-weight: 700;
            color: #0b1220;
            margin: 6px 2px 12px;
        }

        .m-recent-grid {
            display: grid;
            grid-template-columns:repeat(3, minmax(0, 1fr));
            gap: 18px 16px;
        }

        .m-recent-empty {
            grid-column: 1 / -1;
            font-size: 12px;
            color: #9ca3af;
            padding: 6px 2px;
        }

        .m-recent-card {
            display: block;
            text-decoration: none;
            color: #0b1220;
            min-width: 0;
        }

        .m-recent-thumb {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 14px;
            overflow: hidden;
            background: #eef2f7;
            border: 1px solid rgba(226, 232, 240, .95);
            box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
        }

        .m-recent-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* 名称：18 -> 14（小 4px） */
        .m-recent-name {
            margin-top: 10px;
            font-size: 14px;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 销量：18 -> 14（小 4px） */
        .m-recent-sold {
            margin-top: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #6b7280;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .m-recent-sold span {
            margin-left: 6px;
            font-weight: 500;
            color: #6b7280;
        }
    }
    /* =========================
       FINAL OVERRIDE: Mobile Recent font smaller
       放在 account.css 最底部，强制覆盖
       ========================= */
    @media (max-width: 768px) {
        .m-recent-title {
            font-size: 16px !important; /* 你之前 20 => 直接小 4+ */
            font-weight: 700 !important;
            margin: 6px 2px 10px !important;
        }

        .m-recent-grid {
            gap: 12px 10px !important; /* 原来 18/16 太松 */
        }

        .m-recent-thumb {
            border-radius: 12px !important;
            border: 0 !important;
            box-shadow: none !important; /* 更干净，接近你要的 */
        }

        .m-recent-name {
            font-size: 14px !important; /* 原来 18 => 小很多 */
            margin-top: 8px !important;
        }

        .m-recent-sold {
            font-size: 11px !important; /* 原来 18 => 小很多 */
            font-weight: 500 !important;
            margin-top: 4px !important;
            color: #6b7280 !important;
        }

        .m-recent-sold span {
            margin-left: 4px !important;
            font-weight: 500 !important;
            color: #6b7280 !important;
        }

        /* ✅ 明确禁止折扣角标出现（你怕残留） */
        .m-recent-badge {
            display: none !important;
        }
    }


    /* =========================================================
       Flashmunk ACCOUNT THEME PATCH — Deep Blue Nightglow
       Append at END of account.css
       规则：
       - 主交互/按钮/选中：#1e3a8a / #2563eb / #60a5fa
       - 橙色 #ff5a1f 仅用于价格/优惠语义
    ========================================================= */
    :root {
        --fm-primary: #2563eb;
        --fm-primary-deep: #1e3a8a;
        --fm-primary-glow: #60a5fa;
        --fm-primary-soft: rgba(37, 99, 235, .08);

        --fm-price: #ff5a1f; /* 只给金额/优惠 */
    }

    /* 页面底色更贴蓝系（更干净） */
    .account-page {
        background: #f3f8ff;
    }

    /* =========================
       Sidebar (PC) — replace #2c65ad
    ========================= */
    .account-nav .nav-item:hover {
        background: rgba(37, 99, 235, .06);
        box-shadow: 0 10px 20px rgba(37, 99, 235, .14);
    }

    .account-nav .nav-item:hover .nav-icon {
        color: var(--fm-primary);
    }

    .account-nav .nav-item.is-active {
        background: linear-gradient(135deg, var(--fm-primary-deep) 0%, var(--fm-primary) 70%, #3b82f6 100%);
        box-shadow: 0 14px 28px rgba(37, 99, 235, .26);
    }

    .account-nav .nav-item.is-active .nav-icon {
        color: #fff;
    }

    /* =========================
       Buttons — ghost + primary
       (把原来橙色 btn-primary 改为蓝；橙只留价格)
    ========================= */
    .btn-ghost,
    .btn-ghost-light {
        border-color: rgba(37, 99, 235, .18);
        background: rgba(37, 99, 235, .06);
        color: var(--fm-primary-deep);
    }

    .btn-ghost:hover,
    .btn-ghost-light:hover {
        background: rgba(37, 99, 235, .12);
        border-color: rgba(37, 99, 235, .30);
        box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
    }

    /* account 这里的 .btn-primary：统一蓝系 CTA */
    .btn-primary {
        border-color: rgba(96, 165, 250, .28);
        background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, var(--fm-primary-deep) 0%, var(--fm-primary) 58%, #3b82f6 100%);
        color: #fff;
        box-shadow: 0 14px 28px rgba(37, 99, 235, .16), inset 0 1px 0 rgba(255, 255, 255, .14);
    }

    .btn-primary:hover {
        filter: brightness(1.02);
    }

    /* 表单 focus：统一夜光蓝 */
    .pe-row input[type="text"]:focus {
        border-color: var(--fm-primary);
        box-shadow: 0 0 0 3px rgba(96, 165, 250, .22);
    }

    /* =========================
       Avatar edit badge — 原来是橙色，改成主交互蓝
    ========================= */
    .avatar-edit-badge {
        background: var(--fm-primary);
        color: #fff;
        box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
    }

    /* =========================
       Simple cards icon — 原来黄底+橙图标，改成蓝系
    ========================= */
    .card-simple-icon {
        background: rgba(37, 99, 235, .12);
    }

    .card-simple-icon .fm-ico {
        color: var(--fm-primary);
    }

    /* =========================
       Mobile icon accent — 原来黄点缀，改成夜光蓝
    ========================= */
    @media (max-width: 768px) {
        .m-ico-accent {
            fill: var(--fm-primary-glow);
        }
    }

    /* （可选）如果你后面有“金额/优惠”的元素，希望用橙色，
       给它们加 .fm-price 即可 */
    .fm-price {
        color: var(--fm-price) !important;
    }

    /* Mobile: recent title + more */
    .m-my-recent .m-recent-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .m-my-recent .m-recent-more {
        font-size: 13px;
        color: var(--fm-blue, #3b82f6);
        text-decoration: none;
        padding: 4px 6px;
        border-radius: 10px;
    }

    .m-my-recent .m-recent-more:active {
        opacity: .7;
    }

    /* 保底：你菜单图标如果是 svg，统一尺寸（不影响 _m_svg） */
    .m-menu .m-menu-ico svg {
        width: 22px;
        height: 22px;
        display: block;
    }
}
