/*隐藏页脚*/
.site-footer {
    display: none;
}
.site-header {
    display: none;
}
.header-gap {
    height: 0 !important;
}
/* 左侧菜单样式 */
span.fa.fa-times-circle.text-red-500 {
    color: red;
}
span.fa.fa-check-circle.text-green-500 {
    color: #37f42c;
}
.dropdown-menu.show {
    display: block;
}
.modal-header.border-0 {
    background: var(--is-body);
    padding: 0px;
}
.col-md-2.sidebar.p-5 {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 25px 5px !important;
}
h5.modal-title {
    padding: 10px 15px 0;
    text-align: center;
}
/* 菜单项样式优化 */
.ai-sidebar .nav-item {
    padding: 8px 20px;
}
.ai-sidebar {
  overflow: visible !important;
}
.ai-sidebar .nav-link {
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var( --is-font);
}

.ai-sidebar .nav-link:hover {
    background: var(--is-body);
    transform: translateY(-2px);
    color: var(--is-element);
}

.nav-link.active {
    background-color: var(--is-body);  /* 设置选中时的背景颜色 */
    color: #007bff;             /* 设置选中时的字体颜色 */
    border-left: 3px solid #007bff; /* 可选：为选中项添加左边框 */
}


/* 客服图标悬浮效果 */
.customer-service {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.customer-service:hover {
    background: #f5f7ff;
    transform: translateY(-2px);
}

/* 确保内容区域在小屏幕上也能正常显示 */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 10px;
    }
    
    .ai-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .ai-sidebar.show {
        transform: translateX(0);
    }
}
/* 表单元素样式 */
.form-control,
.form-select {
    border-color: #e5e7eb;
    padding: 0.75rem 1rem;
}
/* 固定底部容器样式 */
.fixed-bottom-container {
    position: absolute; /* 改为absolute定位 */
    bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar-bottom-section{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 135px;
    border-top: 1px solid  var(--is-body);
    padding: 12px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar-bottom-section .bottom-buttons{
    display: flex;
    flex-direction: row;
    gap: 16px;
}
.sidebar-bottom-section .anniu{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.sidebar-bottom-section .anniu .menu-icon{
    margin-bottom: 0;
}
.sidebar-bottom-section .anniu i{
    font-size: 20px;
}
.sidebar-bottom-section .anniu span{
    font-size: 11px;
    color: #4a4a4a;
}
.flex-grow-1.bg-light {
    margin-left: 140px;
}
.ai-sidebar {
    height: 100vh;
    position: fixed;
    left: 0;
    z-index: 30;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: var(--is-surface);
}
.form-control:focus,
.form-select:focus {
    border-color: #4e6ef3;
    box-shadow: 0 0 0 0.25rem rgba(78,110,243,0.1);
}

/* 范围滑块样式 */
.form-range::-webkit-slider-thumb {
    background: #4e6ef3;
}

.form-range::-webkit-slider-runnable-track {
    background: #e5e7eb;
}

/* 导航pills样式 */
.nav-pills .nav-link {
    color: #666;
    border-radius: 50rem;
    padding: 0.5rem 1rem;
}

.nav-pills .nav-link.active {
    background-color: #4e6ef3;
    color: white;
}
/* 客服图标悬浮效果 */
.customer-service {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    display: flex
;
    align-items: center;
    justify-content: center;
}




.customer-service:hover + .customer-service-popup {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 帮助按钮样式 */
.help-item {
    margin-top: auto;
    margin-bottom: 24px;
}
/*用户中心*/
.menu-item {
  display: block;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
}

.menu-item:hover {
  background: #f5f7ff;
  color: #4e6ef3;
}

.dropdown-item:hover {
  background: #f5f7ff;
  color: #4e6ef3;
}

.dropdown-item.text-danger:hover {
  background: #fff1f0;
  color: #ff4d4f;
}

/* 按钮样式 */
.btn-primary {
  background: #4e6ef3;
  border: none;
}

.btn-primary:hover {
  background: #4058c9;
}
/* 自定义下拉菜单样式 */
.dropdown-menu {
  min-width: 200px;
  position: absolute;
  right: 0; /* 将菜单定位到触发元素的右侧 */
  top: 80%; /* 将菜单向下偏移 */
  margin-top: 5px; /* 微调间距 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 8px;
  padding: 10px 0;
}

/* 触发元素样式 */
.customer-service {
  cursor: pointer;
  transition: 0.3s;
}
        /* 禁用状态下的鼠标样式 */
        .record-btn:disabled {
            cursor: not-allowed;
        }
/* 移动端保持点击触发 */
@media (max-width: 991px) {
  .dropdown:hover .dropdown-menu {
    display: none;
  }
}
.voice-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    background: #f0f0f0; /* 加载时的背景色 */
    border-radius: 50%;
    overflow: hidden;
}

.voice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}
.suanli-promo {
    width: 30%;
    background: #fff9f2;
    padding: 30px;
    border-right: 1px solid #eee;
}
    .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3sease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* 闪光效果 */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 2s infinite;
}

/* 光芒效果 */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: glow 2s infinite;
}
/* 促销弹窗样式 */
.promo-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    animation: float 3s ease-in-out infinite;
}

.promo-card {
    width: 300px;
    background: linear-gradient(135deg, #ff7a18, #ff3c00);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: visible; /* 改为visible以显示关闭按钮 */
}

/* 关闭按钮样式 */
.promo-button {
    background: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}
.promo-subtitle span {
    color: #ff9f00;
    margin-right: 5px;
}
.promo-subtitle {
    color: #000000;
    font-size: 16px;
    margin-bottom: 30px;
}
.feature-badge {
    position: absolute;
    top: 1px; /* 根据需要调整，负值表示向上偏移 */
    right: 0; /* 放置在右侧 */
}
    .feature-content {
    position: relative; /* 使内部元素可以使用绝对定位 */
}
.youhuiquan-title {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}
.package-card {
    position: relative;
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,.125);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.package-badge {
    position: absolute;
    top: 10px;
    right: -8px;
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    font-size: 12px;
    z-index: 1;
}

.package-power {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3a40ffcc;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff0051;
}


.suanli-modal {
    max-width: 1200px !important;
    width: 90vw;
}

.suanli-container {
    display: flex;
    min-height: 600px;
}

.suanli-packages {
    width: 70%;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.suanli-packages::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.suanli-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.suanli-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.suanli-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.suanli-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4d4f;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.suanli-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.suanli-power {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.suanli-price {
    color: #ff6b00;
    font-size: 28px;
    font-weight: bold;
}



.suanli-btn {
    width: 100%;
    background: #1890ff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.suanli-btn:hover {
    background: #40a9ff;
}

.suanli-promo {
    width: 30%;
    background: #fff9f2;
    padding: 30px;
    border-right: 1px solid #eee;
}

.feature-list {
    margin-top: 30px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 14px;
    color: #666;
}

.feature-badge {
    background: #ff4d4f;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.view-more {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.view-more:hover {
    color: #ff9f00;
}

.promo-discount {
    font-size: 64px;
    color: #fff;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.promo-button {
    background: #fff;
    color: #ff3c00;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 动画关键帧 */
@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 添加关闭按钮样式 */
.original-price {
    text-decoration-line: line-through;
    color: #999;
    font-size: 14px;
}
.promo-card {
    background: linear-gradient(135deg, #ff7a18, #ff3c00);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 280px;
    position: relative;
    animation: cardEntrance 1.6s ease-out;
    transform-style: preserve-3d;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: perspective(1000px) translateZ(-300px) rotateY(360deg); /* 减少旋转圈数到1圈 */
    }
    30% {
        opacity: 0.5;
        transform: perspective(1000px) translateZ(-200px) rotateY(240deg);
    }
    60% {
        opacity: 0.8;
        transform: perspective(1000px) translateZ(-100px) rotateY(120deg);
    }
    85% {
        opacity: 1;
        transform: perspective(1000px) translateZ(-50px) rotateY(45deg);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) translateZ(0) rotateY(0);
    }
}
div#countdown {
    color: #ff0b0b;
    font-size: 16px;
    background: #ffffff;
    border-radius: 2rem;
}
.packageqiang {
    display: flex;
    align-items: center;
    gap: 38px;
}
.shegnqian {
    min-width: 50px;
    height: 16px;
    border: 1px solid #ffdede;
    font-size: 12px;
    color: #fe5050;
    line-height: 16px;
    text-align: center;
    border-radius: 4px;
    padding: 0 3px;
}
.custom-button-wrapper {
    display: inline-block;
    margin-top: 1rem;
}

.custom-pay-button {
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    border: none !important;
    overflow: hidden;
    background: none !important;
    box-shadow: none !important;
}

.price-tag {
    background-color: #FFE7BA;
    padding: 8px 12px;
    color: #333;
    font-weight: bold;
    border-radius: 4px 0 0 4px;
    display: flex;
    align-items: center;
}

.price-tag small {
    font-size: 12px;
    margin-left: 4px;
    font-weight: normal;
}

.action-tag {
    background-color: #FF4D4F;
    color: white;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
}

/* 鼠标悬停效果 */
.custom-pay-button:hover {
    opacity: 0.9;
}

/* 确保按钮内容垂直居中 */
.custom-pay-button span {
    line-height: 1;
}
/*顶部彩色导航*/
div#countdown {
    color: #ff0b0b;
    font-size: 16px;
    background: #ffffff;
    border-radius: 2rem;
}
.banner-header {
    background-image: linear-gradient(to right, #ff5f6d, #ffc371);
    padding: 20px;
    height: 66px;
    border-radius: 8px 8px 0 0;
}

.banner-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.star-icon {
    margin: 0 8px;
    font-size: 18px;
}

/* 调整弹窗样式 */
.modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.modal-header {
    padding-top: 20px;
}
.modal-menu {
    display: flex;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.menu-btn {
    padding: 8px 20px;
    margin-right: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
}

.menu-btn.active {
    color: #ff4d4f;
    font-weight: 500;
}

.menu-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff4d4f;
}
/* 修改CSS，优化初始加载状态 */
.init-load .content-item {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.init-load .content-item.active {
    display: block;
    opacity: 1;
}

/* 预加载内容完全隐藏 */
.preload {
    display: none !important;
}

/* 移除preload类后的状态 */
.content-item {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item.active {
    display: block;
    opacity: 1;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.pagination .page-numbers.current {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.pagination .dots {
    border: none;
    padding: 0 8px;
    cursor: default;
}

.pagination .dots:hover {
    border: none;
    color: #666;
}

.pagination .prev,
.pagination .next {
    font-size: 18px;
}
.bill-container {
    padding: 20px;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 500;
    border-bottom: none;
}

.table td {
    vertical-align: middle;
}

/* 只给数字添加颜色 */
.amount-positive {
    color: #28a745 !important;  /* 正数显示绿色 */
    font-weight: 500;
}

.amount-negative {
    color: #dc3545 !important;  /* 负数显示红色 */
    font-weight: 500;
}
.dropdown-menu.user-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.dropdown-menu.user-menu .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px; /* 固定图标容器高度 */
}

.dropdown-menu.user-menu .menu-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dropdown-menu.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.dropdown-menu.user-menu .dropdown-item .menu-icon {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.dropdown-menu.user-menu .balance-info {
    border-top: 1px solid rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin: 10px 0;
}
.dropdown-menu.show {
    width: 280px !important;
}


/* 网格菜单样式 */
.dropdown-menu.user-menu .menu-grid {
    padding: 10px;
}

.dropdown-menu.user-menu .menu-grid .col-4 {
    padding: 5px;
}
.modal.fade .modal-dialog {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.feature-list {
    max-height: 35vh; /* 限制高度，可根据需求调整 */
    overflow-y: auto; /* 启用垂直滚动 */
    padding-right: 10px; /* 防止滑动条覆盖内容 */
}

/* 隐藏滚动条 */
.feature-list::-webkit-scrollbar {
    display: none;
}

/* 如果需要兼容 Firefox */
.feature-list {
    scrollbar-width: none; /* Firefox */
}
.promo-title {
    background-image: linear-gradient(271.52deg, #FFBF1C 6.41%, #f17b00e6 48.69%, #f6dc34 94.66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: var( --is-font);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.aikelong-header-ios{
    height:72px;
border-bottom: 1px solid var(--is-surface);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: var(--ios-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
    overflow: visible;
    background: var(--is-surface);
}
.app-wrapper{ padding-top:72px; }
.header-logo{height:28px; width:auto;}
.header-link{
    font-size:14px; 
    text-decoration:none; 
    color:#666;
    transition: all 0.2s ease;
}
.header-link i {
    color: inherit;
    line-height: 1;
}
.header-link span {
    color: inherit;
}
.header-link:hover {
    color: #007AFF;
}
.header-link:hover i,
.header-link:hover span {
    color: #007AFF;
}
.pill{
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--is-body);
    font-size: 14px;
    line-height: 1;
    border: 1px solid var(--is-surface);
}
.pill-recharge{
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    line-height:1;
    box-shadow: var(--ios-shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
}
.avatar-wrap{
    width:42px;
    height:42px;
    border-radius:50%;
    position:relative;
    display:inline-block;
}
.avatar-ring{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #f5b400;
}
.header-avatar .avatar-trigger{
    outline:none;
    box-shadow:none;
}
.header-avatar .avatar-trigger:focus,
.header-avatar .avatar-trigger:focus-visible{
    outline:none;
    box-shadow:none;
}
/* 兼容全局 toggle-color 作用域（克隆页不在 .navbar .actions 内） */
.aikelong-toggle-color > span{display:none;}
.aikelong-toggle-color > span.show{display:inline-flex;}
.avatar-badge{
    right:-6px;
    bottom:-6px;
    transform:scale(.7);
}
.header-avatar{position:relative;}
.header-avatar .dropdown-menu{
    min-width:220px;
    display:none;
    pointer-events:none;
}
/* 纯 hover 行为：移入显示，移出隐藏 */
.header-avatar:hover .dropdown-menu{
    display:block;
    pointer-events:auto;
}
.user-menu{width:290px; border:0; box-shadow: 0 10px 28px rgba(0,0,0,0.08);}
.douyin-panel{padding:10px 12px 8px;}
.avatar-lg img{width:56px;height:56px;border-radius:12px;object-fit:cover;display:block;}
.dy-header{padding-bottom:6px;border-bottom:1px solid #f2f2f2;}
.dy-stats span{color:#8e8e93;font-size:12px;}
.dy-stats b{color:#1d1d1f;font-weight:600;margin-left:4px;}
.dy-stack{padding-top:6px; display:flex; flex-direction:column; gap:8px;}
.dy-accordion{background:var(--ios-gray-4); border-radius:12px; padding:6px;}
.dy-tile{display:flex; align-items:center; justify-content:space-between; padding:8px 6px; border-radius:10px; background:var(--ios-gray-4);}
.dy-accordion .dy-tile{margin:0;}
.dy-tile a:hover{opacity:0.8;}
.dy-accordion:hover .dy-sub{max-height:200px; opacity:1; margin-top:6px;}
.dy-sub{max-height:0; overflow:hidden; transition:max-height .2s ease, opacity .2s ease; opacity:0; padding:0 6px 6px;}
.dy-thumb-row{display:grid; grid-template-columns:repeat(3,1fr); gap:8px;}
.dy-thumb-item{display:flex; flex-direction:column; align-items:center; gap:4px;}
.dy-thumb-box{
    width:100%;
    height:64px;
    border-radius:10px;
    background:linear-gradient(135deg,#f5f5f7,#eceef3);
    background-size:cover;
    background-position:center;
    position:relative;
    display:block;
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease;
}
.dy-thumb-item:hover .dy-thumb-box{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,0.18);
}
.dy-thumb-title{
    font-size:11px; 
    font-weight:normal; 
    line-height:1.3;
    color:#666;
    text-align:center;
    width:100%;
    word-break:break-all;
    transition:color .18s ease;
}
.dy-thumb-item:hover .dy-thumb-title{
    color:#3b82f6;
}
.dy-arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px; height:26px;
    border-radius:50%;
    background:#e7ecf3;
    color:#6b7280;
    text-decoration:none;
    font-size:14px;
}
.dy-arrow:hover{background:#d9e3f5; color:#3b82f6;}
.tiny{font-size:12px;}
.dy-consume-list{display:flex; flex-direction:column; gap:6px; padding:4px 0; max-height:120px; overflow-y:auto;}
.dy-consume-item{display:flex; justify-content:space-between; align-items:center; padding:8px 10px; border-radius:8px; background:#f7f8fc; color:#4b5563; transition:background .15s ease;}
.dy-consume-item:hover{background:#eef2f7;}
.dy-consume-item .desc{flex:1; margin-right:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px; line-height:1.4; text-align:left;}
.dy-consume-item .amount{font-weight:600; font-size:13px; white-space:nowrap;}
.dy-consume-item.usage .amount{color:#ef4444;}
.dy-consume-item.recharge .amount{color:#10b981;}
/* 查看全部按钮样式 - iOS风格 */
.view-all-billing{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:6px 14px;
    border-radius:8px;
    font-size:12px;
    font-weight:500;
    border:none;
    cursor:pointer;
    transition:all 0.2s ease;
    background:var(--primary-color,#007aff);
    color:#fff;
    box-shadow:0 1px 3px rgba(0,122,255,0.2);
}
.view-all-billing:hover{
    background:var(--primary-hover,#0056d6);
    transform:translateY(-1px);
    box-shadow:0 2px 6px rgba(0,122,255,0.3);
}
.view-all-billing:active{
    transform:translateY(0);
    box-shadow:0 1px 2px rgba(0,122,255,0.2);
}
.view-all-billing i{font-size:11px;}

/* 菜单项红色"新"角标 */
.menu-badge-new {
    position: absolute;
    top: -6px;
    right: -36px;
    background: linear-gradient(135deg, #ff3b30 0%, #ff2d55 100%);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.4);
    z-index: 10;
    letter-spacing: 0.2px;
}