/* app-creative.min.css 
 */
 .modal-header {
    padding: 6px 12px !important;
}
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:focus,
.btn-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
body, .wrapper, .content-page {
    overflow: visible;
}

/* header */
.header-navbar {
    height: 80px;
    margin-bottom: 24px;
    /* background-color: #fff307; 
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%); */
}
.header-flex {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-title {
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    color: #3687fc;
    margin-left: 2px;
    vertical-align: middle;
    font-family: "Nunito,sans-serif";
}
.menu-container {
    background: #494746;
    border-radius: 0.6rem;
    padding: 0.18rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.18rem;
}

/* 手机端菜单适配 */
@media (max-width: 768px) {
    .header-navbar {
        height: auto;
        margin-bottom: 16px;
    }
    
    .header-flex {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        height: auto;
        min-height: auto;
        padding: 8px 0;
    }
    
    /* 顶部行：LOGO + 手机端搜索框 + 货币选择器 */
    .topnav-logo {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        gap: 8px;
    }
    
    .topnav-logo img {
        height: 35px;
    }
    
    .logo-title {
        font-size: 14px;
        margin-left: 6px;
    }
    
    /* 手机端专用搜索框样式 */
    .mobile-search {
        flex: 1;
        margin: 0 8px;
        max-width: 200px;
    }
    
    .mobile-search .form-control {
        height: 36px;
        font-size: 14px;
        border-radius: 18px;
        width: 100%;
        padding: 8px 16px;
        border: 1px solid #e0e0e0;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-search .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
        outline: none;
    }
    
    .mobile-search .uil-search {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        font-size: 16px;
        pointer-events: none;
    }
    
    /* PC端搜索框在手机端隐藏 */
    .title-search {
        display: none;
    }
    
    
    /* 手机端货币选择器显示，PC端隐藏 */
    .mobile-currency-selector {
        display: block;
        order: 3;
    }
    
    /* PC端货币选择器在手机端隐藏 */
    .menu-container .currency-icon-selector {
        display: none;
    }
    
    .currency-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        background: #007bff;
        color: white;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .currency-icon-btn:hover {
        background: #0056b3;
        transform: translateY(-1px);
    }
    
    /* 菜单容器 */
    .menu-container {
        order: 4;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 6px;
        padding: 0.3rem;
        max-width: 100%;
        background: #494746;
        border-radius: 0.6rem;
    }
    
    .menu-container a.btn,
    .menu-container a.btn.head-menu-con,
    .menu-container a.btn.head-menu-sc {
        justify-content: center;
        font-size: 12px;
        padding: 8px 10px;
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        background: #494746 !important;
        color: #f5ede9 !important;
        border-radius: 0.4rem;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 50px;
    }
    
    .menu-container a.btn:hover,
    .menu-container a.btn.head-menu-con:hover,
    .menu-container a.btn.head-menu-sc:hover {
        background: #5a5a5a !important;
        color: #f5ede9 !important;
        transform: translateY(-1px);
    }
    
    .menu-container a.btn .btn-text,
    .menu-container a.btn.head-menu-con .btn-text,
    .menu-container a.btn.head-menu-sc .btn-text {
        font-size: 10px;
        line-height: 1;
        text-align: center;
        color: #f5ede9 !important;
    }
    
    .menu-container a.btn i,
    .menu-container a.btn.head-menu-con i,
    .menu-container a.btn.head-menu-sc i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown {
        display: flex;
        flex-direction: column;
    }
    
    .menu-container .dropdown .btn {
        font-size: 12px;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        background: #494746 !important;
        color: #f5ede9 !important;
        border-radius: 0.4rem;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 50px;
        justify-content: center;
    }
    
    .menu-container .dropdown .btn:hover {
        background: #5a5a5a !important;
        color: #f5ede9 !important;
        transform: translateY(-1px);
    }
    
    .menu-container .dropdown .btn i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-name {
        font-size: 10px;
        line-height: 1;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-balance {
        font-size: 9px;
        line-height: 1;
        color: #007bff !important;
        font-weight: bold;
        text-align: center;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .header-flex {
        gap: 8px;
        padding: 8px 0;
    }
    
    .topnav-logo img {
        height: 35px;
    }
    
    .logo-title {
        font-size: 14px;
    }
    
    .currency-icon-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    
    .menu-container {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 4px;
        padding: 0.2rem;
        background: #494746;
        border-radius: 0.6rem;
    }
    
    .menu-container a.btn,
    .menu-container a.btn.head-menu-con,
    .menu-container a.btn.head-menu-sc {
        font-size: 11px;
        padding: 6px 8px;
        min-height: 45px;
        background: #494746 !important;
        color: #f5ede9 !important;
        border-radius: 0.4rem;
    }
    
    .menu-container a.btn .btn-text,
    .menu-container a.btn.head-menu-con .btn-text,
    .menu-container a.btn.head-menu-sc .btn-text {
        font-size: 9px;
        color: #f5ede9 !important;
    }
    
    .menu-container a.btn i,
    .menu-container a.btn.head-menu-con i,
    .menu-container a.btn.head-menu-sc i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .btn {
        font-size: 11px;
        padding: 6px 8px;
        min-height: 45px;
        background: #494746 !important;
        color: #f5ede9 !important;
        border-radius: 0.4rem;
    }
    
    .menu-container .dropdown .btn i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-name {
        font-size: 10px;
        max-width: 50px;
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-balance {
        font-size: 9px;
    }
}
a.btn.head-menu-con {
    background: #f5ede9;
    color: #494746;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
a.btn.head-menu-sc {
    color: #f5ede9;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
a.btn.head-menu-sc:hover {
    background: #3687fc;
    color: #fff;
}
a.btn.head-menu-con:hover {
   background: #3687fc;
   color: #fff;
}

/* 用户下拉菜单样式 - 符合mhfaka模板风格 */
.head-menu-user {
    background: #494746;
    color: #f5ede9;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #494746;
}

.head-menu-user:hover {
    background: #3687fc;
    color: #fff;
    border-color: #3687fc;
}

.head-menu-user i {
    font-size: 16px;
}

/* 用户余额显示样式 - 符合mhfaka模板风格 */
.user-balance {
    background: #f5ede9;
    color: #494746;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    border: 1px solid #d1cdb2;
    transition: all 0.3s ease;
}

.head-menu-user:hover .user-balance {
    background: #fff;
    color: #3687fc;
    border-color: #3687fc;
    transform: scale(1.05);
}

/* 下拉菜单项样式 - 符合mhfaka模板风格 */
.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: #495057;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #f5ede9;
    color: #494746;
}

.dropdown-menu {
    border: 1px solid #d1cdb2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.4rem;
    padding: 0.25rem 0;
    min-width: 180px;
    background-color: #fff;
}

.dropdown-divider {
    margin: 0.25rem 0;
    border-top: 1px solid #d1cdb2;
}

/* 购买页面用户信息样式 - 符合mhfaka模板风格 */
.user-login-info-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fdfcfc;
    border: 1px solid #d1cdb2;
    border-radius: 0.5rem;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.user-login-info-simple .user-name {
    font-weight: 600;
    color: #494746;
    font-size: 15px;
}
.user-login-info-simple .user-email {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
    background: #f5ede9;
    padding: 2px 6px;
    border-radius: 0.25rem;
    border: 1px solid #e9ecef;
}
.user-login-info-simple .user-balance {
    background: #f5ede9;
    color: #494746;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
    display: inline-block;
    border: 1px solid #d1cdb2;
    transition: all 0.3s ease;
}

/* 支付页面样式 */
.user-info-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #fdfcfc;
    border: 1px solid #d1cdb2;
    border-radius: 0.5rem;
}

.user-info-simple .user-name {
    font-weight: 600;
    color: #494746;
    font-size: 16px;
}

.user-info-simple .user-email {
    font-size: 13px;
    color: #6c757d;
    font-family: monospace;
}

.user-info-simple .user-balance {
    background: #f5ede9;
    color: #494746;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    border: 1px solid #d1cdb2;
    width: fit-content;
}

.help-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.5;
}

.table-borderless td {
    padding: 8px 0;
    border: none;
}

.table-borderless .text-muted {
    width: 120px;
    font-weight: 500;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

body {
    background-color: #f5ede9;
    height: 100%;
}
body[data-leftbar-compact-mode=condensed] {
    min-height: 0;
}
body[data-layout=topnav] .content-page {
    padding: 0!important;
    min-height: 0;
}
.page-title-box {
    display: none;
}
@media screen and (max-width: 767px) {
    .page-title-box {
    display: block;
  }
}
.title-search {
    position: relative;
    flex: 1;
    margin-left: 18px;
    margin-right: 222px;
    z-index: 3;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .title-search {
    margin-right: 58px;
  }
    .card.card-body.sticky {
    background: #fdfcfc;
  }
    .card.card-body.buy-product{
      background: #fdfcfc;
  }
}
@media screen and (max-width: 767px) {
    .title-search {
    display: none;
  }
    .card.card-body.sticky {
    background: #fdfcfc;
  }
    .card.card-body.buy-product{
      background: #fdfcfc;
  }
}

.title-search .form-control {
    border: none;
    height: 48px;
    padding-left: 18px;
    padding-right: 20px;
    background-color: #eee3de;
    box-shadow: none;
    border-radius: 0.6rem;
}

/* 手机端搜索框样式覆盖 */
@media (max-width: 768px) {
}
.title-search span {
    position: absolute;
    z-index: 9;
    font-size: 22px;
    line-height: 48px;
    right: 15px;
    top: 0;
}
.content {
    margin-bottom: 69px;
}
@media screen and (max-width: 380px) {
    .table td, .table th{
         padding: 1.3rem 0.2rem 1.3rem 0rem;
     }
}
.mhfaka-wrapper a {
    color: #000;
}
@media screen and (max-width: 411px) and (max-width: 991px) {
    .logo-title {
        display: none;
    }
    .table td, .table th{
         padding: 1.3rem 0.2rem 1.3rem 0rem;
     }
}
.mhfaka-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px 0;
    line-height: 16px;
    border-top: 0px solid rgba(152,166,173,.2);
    color: #c38b8b;
    font-size: 13px;
}
@media screen and (max-width: 768px) {
    .mhfaka-footer {
        text-align: center;
    }
}
.mhfaka-footer a {
    color: #c38b8b;
}
@media screen and (max-width: 576px) {
    .container {
       padding: 0 12px; 
    }
}
@media screen and (min-width: 576px) {
    .container {
       padding: 0; 
    }
}
@media screen and (min-width: 992px) {
    .mhfaka-sm-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }
}

/* Home Page */

/* modal-dialog */
.modal-body img {
    max-width: 100%;
    height: auto;
}
@media screen and (min-width: 1367px) {
    .modal-dialog {
        max-width: 900px !important;
    }
}
@media screen and (max-width: 1367px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}
@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 500px !important;
    }
}
@media (max-width: 991px) {
    .notice-1 {
        display: block !important;
    }
    .custom-image-0 {
        width: 400px !important;
        height: 69px !important;
    }
    .stk-column-95f5b65 {
        width: 100% !important;
    }
}
@media (max-width: 576px) {
    .custom-image-0 {
        width: 345px !important;
        height: 60px !important;
    }
    .custom-image-1 {
        width: 300px !important;
        height: 239px !important;
    }
}

/* Select Button */

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.nav-list::-webkit-scrollbar {
    display: none; 
}
@media screen and (min-width: 767px) {
    .tab-link {
        min-width: 100px;
    }
}
@media screen and (max-width: 767px) {
    .tab-link {
        min-width: 60px;
    }
}
.tab-link {
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: .5rem;
    border: 1px solid #3688fc;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tab-link.active {
    color: #fff;
    background: linear-gradient(-45deg, #3369ff, #3798f7);
}
.img-checkmark img {
    width: 36px;
}
.tab-link.active .img-checkmark {
    display: block;
}
.img-checkmark {
    position: absolute;
    opacity: 0.8;
    right: -6px;
    bottom: -12px;
    display: none;
}

/* Home Card */
.home-card {
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 12%);
    transition: all .5s;
}
.home-card:hover {
    box-shadow: 1px 3px 2px 0 rgb(0 0 0 / 5%);
}
@media screen and (max-width: 767px) {
    .mhfaka-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-gap: 12px;
        gap: 12px;
    }
    .home-card {
        padding: 12px;
        margin-bottom: 0;
        font-size: 14px;
        display: flex;
        align-items: flex-start;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    	
    }
    .home-img {
        max-width: 80px;
        margin-right: 12px;
    }
    .flex {
        display: flex;
        flex-direction: column;
    }
    .name {
        font-size: 14px;
        min-height: 42px;
    	display: -webkit-box;
        -webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
    	text-align: left;
    }
    .price {
        color: #d0021b;
    }
    .price b {
        font-size: 14px;
    }
}
@media screen and (min-width: 768px) {
    .mhfaka-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

@media screen and (min-width: 992px) {
    .mhfaka-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}
@media screen and (min-width: 1320px) {
    .mhfaka-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

/* Buy Page*/
.form-group h3 {
    font-weight: 400;
    color: #212529;
}
.geetest_holder.geetest_wind {
    width: 100% !important;
    min-width: 100% !important;
}
.buy-product img {
    max-width:100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}
@media screen and (min-width: 992px) {
    .buy-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }
    .sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 6px;
        background: #fdfcfc;
    }
    .buy-shop {
        grid-column: span 2 / span 2;
    }
    .buy-product {
        grid-column: span 4 / span 4;
        background: #fdfcfc;
    }
}
img.custom-image-0 {
    position: relative !important;
}
/* pay-type */
@media screen and (min-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 991px) and (max-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 576px) and (max-width: 768px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 576px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 380px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
.pay-type {
    background-color: #fff0;
    border: 1px solid #dbe6f1;
    padding: 4.35px 0 4.35px 15px;
    border-radius: .6rem;
}
.pay-type:hover {
    background-color: #fff;
    color: #000;
}
.pay-type.active {
    background-color: #f5ede9;
    color: #071c3a;
    border: 1px solid #d1cdb2;
    font-weight: 500;
}

/* 支付方式图标和名称样式 */
.pay-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.pay-name {
    vertical-align: middle;
    font-size: 14px;
    font-weight: 500;
}

.pay-type {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pay-type:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #c38b8b;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    color: #c38b8b;
    font-size: 16px;
    margin-bottom: 24px;
}

/* 余额统计卡片样式 */
.balance-stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.balance-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 余额记录表格样式 */
.balance-records-table .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.balance-records-table .table td {
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.balance-records-table .badge {
    font-size: 12px;
    padding: 4px 8px;
}


.mhfaka-category-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3688fc 0%, #3798f7 100%);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(54, 136, 252, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.mhfaka-category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mhfaka-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 136, 252, 0.4);
}

.mhfaka-category-badge:hover::before {
    left: 100%;
}

/* 公告区域样式 */
.notice-section {
    margin-top: 20px;
    width: 100%;
    position: relative;
}

/* 分类标签板块样式 */
.category-tags-section {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #dbe6f1;
    border-radius: 16px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-tags-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.category-tags-icon {
    font-size: 20px;
    display: inline-block;
}

.category-tags-title {
    font-size: 16px;
    font-weight: 600;
    color: #494746;
}

.category-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.category-tag {
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #494746;
    background-color: #f5ede9;
    border: 1px solid #dbe6f1;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

/* 多种颜色标签样式 - 随机分配 */
.category-tag.color-1 {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}
.category-tag.color-1:hover {
    background-color: #4caf50;
    color: #ffffff;
    border-color: #4caf50;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}

.category-tag.color-2 {
    background-color: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}
.category-tag.color-2:hover {
    background-color: #ff9800;
    color: #ffffff;
    border-color: #ff9800;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

.category-tag.color-3 {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}
.category-tag.color-3:hover {
    background-color: #2196f3;
    color: #ffffff;
    border-color: #2196f3;
    box-shadow: 0 3px 8px rgba(33, 150, 243, 0.3);
}

.category-tag.color-4 {
    background-color: #fce4ec;
    border-color: #e91e63;
    color: #c2185b;
}
.category-tag.color-4:hover {
    background-color: #e91e63;
    color: #ffffff;
    border-color: #e91e63;
    box-shadow: 0 3px 8px rgba(233, 30, 99, 0.3);
}

.category-tag.color-5 {
    background-color: #f3e5f5;
    border-color: #9c27b0;
    color: #7b1fa2;
}
.category-tag.color-5:hover {
    background-color: #9c27b0;
    color: #ffffff;
    border-color: #9c27b0;
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.3);
}

.category-tag.color-6 {
    background-color: #e0f2f1;
    border-color: #009688;
    color: #00695c;
}
.category-tag.color-6:hover {
    background-color: #009688;
    color: #ffffff;
    border-color: #009688;
    box-shadow: 0 3px 8px rgba(0, 150, 136, 0.3);
}

.category-tag.color-7 {
    background-color: #fff9c4;
    border-color: #fbc02d;
    color: #f57f17;
}
.category-tag.color-7:hover {
    background-color: #fbc02d;
    color: #ffffff;
    border-color: #fbc02d;
    box-shadow: 0 3px 8px rgba(251, 192, 45, 0.3);
}

/* 红色点样式 */
.category-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

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

/* 激活状态的标签 */
.category-tag.active {
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-tag.active .category-dot {
    background-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: none;
}

/* 悬停时点的样式 */
.category-tag:hover .category-dot {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* 激活状态下的悬停样式 */
.category-tag.active:hover .category-dot {
    background-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.category-tag:active {
    transform: translateY(0);
}

/* 针对不同类型的标签，设置激活状态下的颜色 */
.category-tag.color-1.active {
    background-color: #4caf50;
    color: #fff;
    border-color: #4caf50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.category-tag.color-2.active {
    background-color: #ff9800;
    color: #fff;
    border-color: #ff9800;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.category-tag.color-3.active {
    background-color: #2196f3;
    color: #fff;
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.category-tag.color-4.active {
    background-color: #e91e63;
    color: #fff;
    border-color: #e91e63;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.category-tag.color-5.active {
    background-color: #9c27b0;
    color: #fff;
    border-color: #9c27b0;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.4);
}

.category-tag.color-6.active {
    background-color: #009688;
    color: #fff;
    border-color: #009688;
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.4);
}

.category-tag.color-7.active {
    background-color: #fbc02d;
    color: #fff;
    border-color: #fbc02d;
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.4);
}

/* 手机端响应式 */
@media (max-width: 768px) {
    .category-tags-section {
        padding: 15px 18px;
        margin-top: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .category-tags-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .category-tags-icon {
        font-size: 18px;
    }
    
    .category-tags-title {
        font-size: 14px;
    }
    
    .category-tag {
        padding: 6px 14px;
        font-size: 13px;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .category-tags-section {
        padding: 12px 15px;
    }
    
    .category-tags-header {
        gap: 6px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .category-tags-icon {
        font-size: 16px;
    }
    
    .category-tags-title {
        font-size: 13px;
    }
    
    .category-tag {
        padding: 5px 12px;
        font-size: 12px;
        border-radius: 16px;
    }
}

/* 公告标签样式 - 与容器结合 */
.notice-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #42d29d 0%, #28a745 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(66, 210, 157, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-bottom: none;
}


/* 公告背景容器样式 - 符合mhfaka模板风格 */
.notice {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
}

.buy-price {
    color: #ea5455;
}

/* Orderinfo Page */

.orderinfo-grid {
    display: grid;
    grid-template-columns: auto;
}
@media screen and (min-width: 767px) {
    .orderinfo-card-grid {
        display: grid;
        grid-template-columns: repeat(6,minmax(0,1fr));
        grid-gap: 12px;
    }
    .orderinfo-info {
        grid-column: span 2 / span 2;
    }
    .orderinfo-kami {
        grid-column: span 4 / span 4;
    }
}
@media screen and (max-width: 767px) {
    .orderinfo-info {
        display: grid;
        justify-content: center;
    }
}
.textarea-kami {
    min-height: calc(100% - 48px - 38px)
}
.kami-btn {
    margin-top: 6px;
    float: right;
}

/* Footer */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 99;
}
#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 44px;
    height: 44px;
}

/* 旧货币选择器样式已移除 - 现在使用图标式货币选择器 */



/* 首页价格显示样式 */
.price-display-home {
    display: flex;
    align-items: baseline;
}

.price-symbol-home {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 2px;
}

.price-amount-home {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
}

/* 图标式货币选择器样式 */
.currency-icon-selector {
    position: relative;
    display: inline-block;
}

/* PC端：显示菜单中的货币选择器，隐藏LOGO右侧的 */
@media (min-width: 769px) {
    .mobile-currency-selector {
        display: none;
    }
    
    .menu-container .currency-icon-selector {
        display: inline-block;
    }
    
    /* PC端恢复原有水平布局 */
    .header-flex {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 80px !important;
        gap: 0 !important;
    }
    
    /* PC端保持原有布局 - 搜索框独立显示 */
    .topnav-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
        flex: 0 0 auto !important;
    }
    
    /* PC端隐藏手机端搜索框 */
    .mobile-search {
        display: none !important;
    }
    
    /* PC端显示PC端搜索框 */
    .title-search {
        display: block !important;
        order: 2 !important;
        margin: 0 20px !important;
        width: 300px !important;
        max-width: 300px !important;
        flex: 0 0 auto !important;
    }
    
    /* PC端菜单容器 */
    .menu-container {
        order: 3 !important;
        flex: 0 0 auto !important;
    }
    
    .title-search .form-control {
        height: 48px !important;
        font-size: 14px !important;
        border-radius: 0.6rem !important;
        padding: 12px 20px !important;
        border: none !important;
        background-color: #eee3de !important;
        box-shadow: none !important;
    }
    
    .title-search .form-control:focus {
        border-color: #007bff !important;
        box-shadow: 0 0 0 2px rgba(0,123,255,0.25) !important;
        outline: none !important;
    }
    
    .title-search .uil-search {
        position: absolute !important;
        right: 15px !important;
        top: 0 !important;
        transform: none !important;
        font-size: 22px !important;
        line-height: 48px !important;
        color: #666 !important;
    }
    
    /* PC端导航栏统一颜色 */
    .menu-container a.btn,
    .menu-container a.btn.head-menu-con,
    .menu-container a.btn.head-menu-sc {
        background: #494746 !important;
        color: #f5ede9 !important;
    }
    
    .menu-container a.btn:hover,
    .menu-container a.btn.head-menu-con:hover,
    .menu-container a.btn.head-menu-sc:hover {
        background: #5a5a5a !important;
        color: #f5ede9 !important;
    }
    
    .menu-container a.btn i,
    .menu-container a.btn.head-menu-con i,
    .menu-container a.btn.head-menu-sc i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .btn {
        background: #494746 !important;
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .btn:hover {
        background: #5a5a5a !important;
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .btn i {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-name {
        color: #f5ede9 !important;
    }
    
    .menu-container .dropdown .user-balance {
        color: #007bff !important;
    }
}

.currency-icon-btn {
    background: #f5ede9;
    color: #494746;
    border: none;
    border-radius: 0.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: bold;
}

.currency-icon-btn:hover {
    background: #e8ddd8;
    transform: translateY(-1px);
}

.currency-icon-symbol {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.currency-icon-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.4rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 100px;
    margin-top: 4px;
    overflow: hidden;
}

.currency-icon-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.currency-icon-option:last-child {
    border-bottom: none;
}

.currency-icon-option:hover {
    background: #f8f9fa;
}

.currency-icon-option.active {
    background: #e3f2fd;
    color: #1976d2;
}

.currency-icon-option .currency-icon-symbol {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
}

.currency-icon-option .currency-icon-text {
    font-size: 12px;
    color: #495057;
}
