:root {
    --primary: #6366f1;
    --primaryHover: #4f46e5;
    --bg: #f8fafc;
    --cardBg: #fff;
    --fontColor: #1e293b;
    --fontMuted: #94a3b8;
    --borderColor: #e2e8f0;
    --buttonBgColor: #6366f1;
    --buttonBorderColor: #6366f1;
    --marRadius: 8px;
    --headerBg: #fff;
    --footerBg: #1e293b;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;height:100%}
body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans SC",sans-serif;
    background:var(--bg);
    color:var(--fontColor);
    font-size:14px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    min-height:100%;
    display:flex;
    flex-direction:column;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:1400px;margin:0 auto;padding:0 16px}

/* ===== HEADER ===== */
.header{background:var(--headerBg);border-bottom:1px solid var(--borderColor);position:sticky;top:0;z-index:100}
.h-fix{background:var(--headerBg)}
.header-bar{display:flex;align-items:center;justify-content:space-between;height:56px;gap:12px}
.logo-text{font-size:20px;font-weight:800;letter-spacing:-.5px;flex-shrink:0}
.logo-text a{color:var(--primary)}
#zhanwei{display:none}
.header-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.header-right-btn{display:flex;align-items:center;gap:6px}
.header-order-link{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;font-size:13px;color:var(--fontMuted);border-radius:var(--marRadius);transition:.2s}
.header-order-link:hover{background:#f1f5f9;color:var(--fontColor)}
.header-order-link i{font-size:13px}
.header-auth-links{display:flex;align-items:center;gap:6px}
.header-auth-btn{display:inline-flex;align-items:center;padding:6px 16px;font-size:13px;font-weight:600;border-radius:var(--marRadius);transition:.2s}
.header-auth-btn.is-ghost{color:var(--fontColor);border:1px solid var(--borderColor)}
.header-auth-btn.is-ghost:hover{border-color:var(--primary);color:var(--primary)}
.header-auth-btn.is-solid{background:var(--primary);color:#fff}
.header-auth-btn.is-solid:hover{background:var(--primaryHover)}
.m-btn{display:none;width:36px;height:36px;align-items:center;justify-content:center;border-radius:var(--marRadius);cursor:pointer;font-size:18px;color:var(--fontColor);border:1px solid var(--borderColor);background:none}
.m-btn:hover{background:#f1f5f9}
#mask{display:none}

/* ===== SITE NOTICE ===== */
.df-topbar{margin-bottom:16px}
.df-site-notice{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-radius:var(--marRadius);padding:14px 18px;border:1px solid #c7d2fe}
.df-site-notice-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.df-site-notice-title{display:flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:var(--primary)}
.df-site-notice-title i{font-size:14px}
.df-site-notice-body{font-size:13px;color:#475569;line-height:1.5;white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}

/* ===== CATEGORY SECTION ===== */
.df-category-section{margin-bottom:20px}
.df-category-wrapper{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.df-category-grid{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.df-category-card{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--marRadius);font-size:13px;font-weight:600;transition:.2s;border:1px solid var(--borderColor);background:var(--cardBg);color:var(--fontMuted);cursor:pointer}
.df-category-card:hover{border-color:var(--primary);color:var(--primary)}
.df-category-card.is-active{border-color:var(--primary);background:#eef2ff;color:var(--primary)}
.df-category-card.is-featured.is-active{border-color:#f59e0b;background:#fffbeb;color:#d97706}
.df-category-badge{display:inline-flex;align-items:center;font-size:12px}
.df-category-badge.is-muted{opacity:.5}
.df-cat-share{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;font-size:11px;color:#94a3b8;cursor:pointer;transition:.2s;flex-shrink:0;margin-left:2px}
.df-cat-share:hover{background:#eef2ff;color:#6366f1}
.df-category-card.is-active .df-cat-share{color:#818cf8}
.df-category-card.is-active .df-cat-share:hover{background:#dbeafe;color:#4f46e5}
.df-search-form{flex-shrink:0;min-width:220px}
.df-search-shell{display:flex;align-items:center;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:0 4px 0 12px;transition:.2s}
.df-search-shell:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.df-search-icon{color:var(--fontMuted);font-size:14px;flex-shrink:0}
.df-search-input{flex:1;border:none;outline:none;padding:8px 6px;font-size:13px;background:transparent;color:var(--fontColor);min-width:0}
.df-search-input::placeholder{color:var(--fontMuted)}
.df-search-clear{display:none;background:none;border:none;padding:4px 6px;cursor:pointer;color:var(--fontMuted);font-size:12px}
.df-search-clear.is-visible{display:block}
.df-search-clear:hover{color:var(--fontColor)}
.df-search-submit{padding:6px 14px;background:var(--primary);color:#fff;border:none;border-radius:var(--marRadius);font-size:13px;font-weight:600;cursor:pointer;transition:.2s;flex-shrink:0;margin:3px}
.df-search-submit:hover{background:var(--primaryHover)}

/* ===== SUBTABS ===== */
.df-subtabs-wrap{margin-top:12px;margin-bottom:8px}
.df-subtabs-wrap.is-hidden{display:none}
.df-subtabs{display:flex;flex-wrap:wrap;gap:6px}
.df-subtab-chip{display:inline-flex;padding:5px 14px;border-radius:20px;font-size:12px;font-weight:600;border:1px solid var(--borderColor);background:var(--cardBg);color:var(--fontMuted);cursor:pointer;transition:.2s}
.df-subtab-chip:hover{border-color:var(--primary);color:var(--primary)}
.df-subtab-chip.is-active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ===== PRODUCTS SECTION ===== */
.df-products-section{margin-top:4px}
.df-products-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.df-section-title{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800}
.df-section-title i{font-size:16px;color:var(--primary)}

/* ===== PRODUCT GRID ===== */
.df-products-grid{display:grid;gap:15px}
.grid-cols-xs-2{grid-template-columns:repeat(2,1fr)}
@media(min-width:576px){.grid-cols-sm-2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.grid-cols-md-3{grid-template-columns:repeat(3,1fr)}}
@media(min-width:992px){.grid-cols-lg-4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1200px){.grid-cols-xl-6{grid-template-columns:repeat(6,1fr)}}
.grid-gap-15{gap:15px}

/* ===== PRODUCT CARD ===== */
.df-product-card{background:var(--cardBg);border-radius:var(--marRadius);overflow:hidden;border:1px solid var(--borderColor);transition:.2s;display:flex;flex-direction:column}
.df-product-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px);border-color:#cbd5e1}
.df-product-thumb{position:relative;overflow:hidden;aspect-ratio:1/1;background:#f8fafc}
.df-product-thumb img{width:100%;height:100%;object-fit:cover;transition:.3s}
.df-product-card:hover .df-product-thumb img{transform:scale(1.05)}
.df-product-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.df-product-name{font-size:14px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.df-product-badges{display:flex;gap:4px;flex-wrap:wrap}
.df-pill{display:inline-flex;align-items:center;gap:3px;font-size:11px;padding:2px 8px;border-radius:4px;font-weight:600}
.df-pill.is-auto{background:#dbeafe;color:#1d4ed8}
.df-pill.is-manual{background:#fef3c7;color:#b45309}
.df-pill i{font-size:10px}
.df-product-stats{display:flex;justify-content:space-between;font-size:11px;color:var(--fontMuted);padding:4px 0}
.df-product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:6px}
.df-product-price-box{display:flex;flex-direction:column}
.df-price-label{font-size:10px;color:var(--fontMuted);letter-spacing:.5px;font-weight:600}
.df-product-price-row{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.df-product-price{font-size:18px;font-weight:800;color:var(--primary)}
.df-product-price em{font-size:11px;font-weight:600;font-style:normal;color:var(--fontMuted)}
.df-product-market{font-size:12px;color:var(--fontMuted);text-decoration:line-through}
.df-product-action{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f1f5f9;color:var(--fontMuted);font-size:12px;transition:.2s;flex-shrink:0}
.df-product-card:hover .df-product-action{background:var(--primary);color:#fff}

/* ===== SKELETON ===== */
.df-skeleton-card{background:var(--cardBg);border-radius:var(--marRadius);overflow:hidden;border:1px solid var(--borderColor);padding:0}
.df-skeleton-thumb{aspect-ratio:1/1;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite}
.df-skeleton-body{padding:12px;display:flex;flex-direction:column;gap:8px}
.df-skeleton-line{height:12px;border-radius:4px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite}
.df-skeleton-line.short{width:60%}
.df-skeleton-line.price{width:40%;height:16px}
@keyframes skeleton-loading{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ===== DESCRIPTION LINKS ===== */
.desc-link,.content a{color:var(--primary);text-decoration:underline}
.desc-link:hover,.content a:hover{color:#4f46e5}

/* ===== EMPTY STATE ===== */
.df-empty-state{text-align:center;padding:60px 20px;color:var(--fontMuted)}
.df-empty-state i{font-size:48px;margin-bottom:12px;color:#cbd5e1}
.df-empty-state h3{font-size:18px;font-weight:700;margin-bottom:6px;color:var(--fontColor)}
.df-empty-state p{font-size:14px;color:var(--fontMuted)}

/* ===== STICKY FOOTER ===== */
.blog-container,.df-list-page{flex:1 0 auto;display:flex;flex-direction:column}
.df-shell{flex:1 0 auto;max-width:1400px;margin:0 auto;padding:16px}

/* ===== FOOTER ===== */
.main-footer{background:var(--cardBg);color:var(--fontMuted);padding:32px 16px;flex-shrink:0;border-top:1px solid var(--borderColor)}
.main-footer .container{max-width:1400px;margin:0 auto}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.footer-brand{font-size:20px;font-weight:800;color:var(--fontColor);letter-spacing:-.5px}
.footer-meta{font-size:13px;line-height:1.6}

/* ===== MOBILE BOTTOM NAV ===== */
.footer-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--cardBg);border-top:1px solid var(--borderColor);z-index:200;padding:4px 0 env(safe-area-inset-bottom,4px);justify-content:space-around}
.footer-nav .nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 12px;font-size:11px;color:var(--fontMuted);transition:.2s;border-radius:var(--marRadius)}
.footer-nav .nav-item.active{color:var(--primary)}
.footer-nav .nav-item .nav-icon{font-size:18px}
.footer-nav .nav-item .nav-text{font-weight:500}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .header-order-link span{display:none}
    .header-auth-links .header-auth-btn{padding:6px 12px;font-size:12px}
    .df-category-wrapper{flex-direction:column;align-items:stretch}
    .df-search-form{min-width:0;width:100%}
    .df-category-grid{flex-wrap:wrap;gap:6px}
    .df-category-card{white-space:nowrap;flex-shrink:0}
    .df-site-notice{padding:12px 14px}
    .footer-nav{display:flex}
    .main-footer{padding-bottom:70px}
    .header-kefu{display:none!important}
}
@media(max-width:576px){
    .df-products-grid{gap:10px}
    .df-product-body{padding:10px}
    .df-product-name{font-size:13px}
    .df-product-price{font-size:16px}
    .df-shell{padding:12px}
}
@media(min-width:992px){
    .df-category-card{padding:12px 24px;font-size:15px}
    .df-site-notice{padding:18px 24px}
    .df-site-notice-title{font-size:16px}
    .df-site-notice-body{font-size:15px}
    .df-search-input{padding:10px 8px;font-size:15px}
    .df-search-submit{padding:8px 20px;font-size:14px}
    .df-product-body{padding:16px}
    .df-product-name{font-size:16px}
    .df-product-price{font-size:22px}
    .df-pill{font-size:12px;padding:3px 10px}
    .df-product-stats{font-size:13px}
    .df-price-label{font-size:12px}
    .df-product-market{font-size:13px}
    .df-product-action{width:36px;height:36px;font-size:14px}
    .df-section-title{font-size:22px}
    .df-products-grid{gap:20px}
    .header-bar{height:64px}
    .logo-text{font-size:24px}
    .header-order-link{padding:8px 16px;font-size:14px}
    .header-auth-btn{padding:8px 20px;font-size:14px}
}
@media(min-width:1200px){
    .df-products-grid{gap:24px}
    .df-site-notice{padding:20px 28px}
}

/* ===== BANNER SLIDER ===== */


/* ===== BUY / AUTH / ORDER PAGES ===== */
.page-wrapper{min-height:100%;display:flex;flex-direction:column}
.page-main{flex:1 0 auto;padding:32px 16px 60px;position:relative}
.page-header{background:var(--headerBg);border-bottom:1px solid var(--borderColor);position:sticky;top:0;z-index:100}
.page-header-inner{display:flex;align-items:center;height:52px;gap:12px;max-width:1400px;margin:0 auto;padding:0 16px}
.page-header-inner .back-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--fontMuted);padding:4px 10px;border-radius:var(--marRadius);transition:.2s}
.page-header-inner .back-link:hover{background:#f1f5f9;color:var(--fontColor)}
.page-header-inner .site-title{font-size:15px;font-weight:700;color:var(--fontColor);flex-shrink:0}
.page-header-inner .header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}

/* Auth card */
.auth-card{max-width:420px;margin:0 auto;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:12px;padding:36px 32px;box-shadow:var(--shadow)}
.auth-card h2{font-size:22px;font-weight:800;text-align:center;margin-bottom:4px}
.auth-card .subtitle{text-align:center;font-size:14px;color:var(--fontMuted);margin-bottom:24px}
.auth-card .field{margin-bottom:16px}
.auth-card .field label{display:block;font-size:12px;font-weight:700;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px;color:var(--fontMuted)}
.auth-card .field input{width:100%;padding:10px 14px;border:1px solid var(--borderColor);border-radius:var(--marRadius);font-size:14px;outline:none;font-family:inherit;transition:.2s}
.auth-card .field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.auth-card .btn-auth{width:100%;padding:12px;background:var(--primary);color:#fff;border:none;border-radius:var(--marRadius);font-size:14px;font-weight:700;cursor:pointer;transition:.2s;font-family:inherit}
.auth-card .btn-auth:hover{background:var(--primaryHover)}
.auth-card .auth-link{text-align:center;margin-top:16px;font-size:13px;color:var(--fontMuted)}
.auth-card .auth-link a{color:var(--primary);font-weight:600}
.auth-card .message{padding:10px 14px;margin-bottom:16px;font-size:13px;font-weight:600;text-align:center;border-radius:var(--marRadius)}
.auth-card .error{background:#fef2f2;color:#991b1b}
.auth-card .success{background:#f0fdf4;color:#166534}

/* Buy card */
.buy-card{max-width:520px;margin:0 auto;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:12px;padding:32px;box-shadow:var(--shadow)}
.buy-card h2{font-size:20px;font-weight:800;margin-bottom:4px}
.buy-card .subtitle{font-size:13px;color:var(--fontMuted);margin-bottom:20px}
.product-preview{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid var(--borderColor);border-radius:var(--marRadius);margin-bottom:20px}
.preview-img{width:56px;height:56px;border-radius:var(--marRadius);object-fit:cover;flex-shrink:0;border:1px solid var(--borderColor)}
.preview-info .name{font-weight:700;font-size:15px}
.preview-info .cat{font-size:12px;color:var(--fontMuted);margin-top:2px}
.preview-price{margin-left:auto;font-size:22px;font-weight:800;color:var(--primary);text-align:right}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:12px;font-weight:700;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px;color:var(--fontMuted)}
.form-group input,.form-group select{width:100%;padding:10px 14px;border:1px solid var(--borderColor);border-radius:var(--marRadius);font-size:14px;outline:none;font-family:inherit;transition:.2s}
.form-group input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.form-group .hint{font-size:12px;color:var(--fontMuted);margin-top:4px}
.pay-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.pay-method{position:relative}
.pay-method input{position:absolute;opacity:0}
.pay-method label{display:flex;flex-direction:column;align-items:center;padding:12px 8px;border:1px solid var(--borderColor);border-radius:var(--marRadius);cursor:pointer;transition:.2s;font-size:12px;font-weight:600;gap:4px;text-align:center}
.pay-method label .pay-icon{font-size:24px;line-height:1}
.pay-method label .pay-icon img{width:24px;height:24px}
.pay-method input:checked+label{border-color:var(--primary);background:#eef2ff;color:var(--primary)}
.total-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;margin-bottom:16px;border-top:1px solid var(--borderColor)}
.total-row .label{font-size:13px;color:var(--fontMuted)}
.total-row .amount{font-size:24px;font-weight:800;color:var(--primary)}
.btn-submit{width:100%;padding:12px;background:var(--primary);color:#fff;border:none;border-radius:var(--marRadius);font-size:14px;font-weight:700;cursor:pointer;transition:.2s;font-family:inherit}
.btn-submit:hover{background:var(--primaryHover)}
.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 20px;background:var(--primary);color:#fff;border:none;border-radius:var(--marRadius);font-size:13px;font-weight:600;cursor:pointer;transition:.2s;font-family:inherit}
.btn:hover{background:var(--primaryHover)}
.btn-sm{padding:6px 14px;font-size:12px}
.btn-outline{background:transparent;color:var(--fontColor);border:1px solid var(--borderColor)}
.btn-outline:hover{background:#f1f5f9;border-color:#cbd5e1}

/* ===== ORDER QUERY ===== */
.query-card{max-width:520px;margin:0 auto;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:12px;padding:32px;box-shadow:var(--shadow)}
.query-card h2{font-size:18px;font-weight:800;margin-bottom:16px;text-align:center}
.query-form{display:flex;gap:8px}
.query-form input{flex:1;padding:10px 14px;border:1px solid var(--borderColor);border-radius:var(--marRadius);font-size:14px;outline:none;font-family:inherit;transition:.2s}
.query-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.query-form button{padding:10px 20px;background:var(--primary);color:#fff;border:none;border-radius:var(--marRadius);font-size:13px;font-weight:600;cursor:pointer;transition:.2s;font-family:inherit}
.query-form button:hover{background:var(--primaryHover)}
.order-result{margin-top:20px}
.order-info{border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:16px}
.order-info .row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:13px;gap:8px}
.order-info .row:last-child{border-bottom:none}
.order-info .row .label{color:var(--fontMuted);flex-shrink:0}
.order-info .row .value{font-weight:600;text-align:right}

/* ===== SUCCESS ===== */
.success-card{max-width:520px;margin:0 auto;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:12px;padding:40px 32px;text-align:center;box-shadow:var(--shadow)}
.success-card .icon{font-size:48px;margin-bottom:12px}
.success-card h2{font-size:22px;font-weight:800;margin-bottom:6px}
.success-card p{color:var(--fontMuted);margin-bottom:24px}
.success-card .info-block{text-align:left;border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:16px;margin-bottom:20px}
.success-card .info-block .label{font-size:11px;color:var(--fontMuted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;font-weight:600}
.success-card .info-block .value{font-size:14px;margin-bottom:12px}
.success-card .info-block .value:last-child{margin-bottom:0}
.success-card .info-block .card-value{background:#f8fafc;border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:12px;font-family:monospace;font-size:13px;white-space:pre-wrap;word-break:break-all}
.btn-back{display:inline-block;padding:10px 28px;background:var(--primary);color:#fff;border-radius:var(--marRadius);font-weight:600;font-size:14px;transition:.2s}
.btn-back:hover{background:var(--primaryHover)}

/* ===== USER CENTER PREMIUM ===== */
:root{--uc-primary:#6366f1;--uc-primary-light:#eef2ff;--uc-bg:#f4f6fb;--uc-card-radius:16px;--uc-hero-h:180px}
.uc-header{background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(226,232,240,.5);position:sticky;top:0;z-index:100}
.uc-header-inner{display:flex;align-items:center;height:52px;gap:12px;max-width:800px;margin:0 auto;padding:0 16px}
.uc-back,.uc-action-link{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;color:var(--fontColor);font-size:16px;transition:.2s;flex-shrink:0}
.uc-back:hover,.uc-action-link:hover{background:#f1f5f9}
.uc-title{font-size:16px;font-weight:700;flex:1;text-align:center}
.uc-actions{display:flex;align-items:center;gap:2px;margin-left:auto}
.uc-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;border-radius:8px;position:absolute;top:-4px;right:-6px}
.uc-body{max-width:800px;margin:0 auto;padding:0 12px 32px}
.uc-hero{position:relative;margin:0 -12px 4px;padding:0 12px}
.uc-hero-bg{position:absolute;top:0;left:0;right:0;height:var(--uc-hero-h);background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 40%,#ec4899 100%);border-radius:0 0 28px 28px}
.uc-hero-content{position:relative;display:flex;align-items:flex-end;gap:16px;padding:40px 16px 0}
.uc-avatar-wrap{position:relative;flex-shrink:0}
.uc-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.8);box-shadow:0 4px 16px rgba(0,0,0,.12);background:#e2e8f0}
.uc-avatar-empty{background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800}
.uc-avatar-edit{position:absolute;bottom:2px;right:0;width:26px;height:26px;border-radius:50%;background:#fff;color:#6366f1;border:2px solid rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;font-size:11px;cursor:pointer;transition:.2s;box-shadow:0 2px 6px rgba(0,0,0,.1);padding:0}
.uc-avatar-edit:hover{transform:scale(1.15);background:#eef2ff}
.uc-hero-info{flex:1;padding:8px 0 10px}
.uc-hero-name{font-size:20px;font-weight:800;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.1)}
.uc-hero-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.uc-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:3px 10px;border-radius:6px;background:rgba(255,255,255,.2);color:#fff;backdrop-filter:blur(4px)}
.uc-badge-vip{background:rgba(251,191,36,.3);color:#fef3c7}
.uc-badge-vip i{font-size:11px}
.uc-badge-expire{background:rgba(255,255,255,.15)}
.uc-badge-normal{background:rgba(255,255,255,.15)}
.uc-balance-card{position:relative;margin:12px 4px 16px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-radius:18px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 4px 20px rgba(99,102,241,.12);border:1px solid rgba(255,255,255,.6)}
.uc-balance-left{flex-shrink:0}
.uc-balance-label{font-size:11px;color:var(--fontMuted);text-transform:uppercase;letter-spacing:.5px;font-weight:600;margin-bottom:2px}
.uc-balance-amount{font-size:28px;font-weight:800;background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}
.uc-balance-right{flex:1;max-width:160px}
.uc-balance-meter{width:100%}
.uc-meter-track{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}
.uc-meter-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,#6366f1,#a855f7);transition:width .6s ease}
.uc-toast{position:relative;margin:0 4px 12px;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px}
.uc-toast.is-success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.uc-toast.is-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.uc-tabs{display:flex;gap:4px;padding:0 4px;margin-bottom:8px;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
.uc-tab{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 14px;min-width:64px;border-radius:14px;font-size:11px;font-weight:600;color:var(--fontMuted);transition:.2s;flex-shrink:0;position:relative;white-space:nowrap}
.uc-tab:hover{background:#f1f5f9;color:var(--fontColor)}
.uc-tab.is-active{background:var(--uc-primary-light);color:var(--uc-primary);box-shadow:0 2px 8px rgba(99,102,241,.08)}
.uc-tab-icon{font-size:18px;line-height:1}
.uc-tab-count{position:absolute;top:4px;right:8px;min-width:16px;height:16px;padding:0 5px;border-radius:8px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
.uc-panels{padding:0 0 24px}
.uc-card{background:#fff;border:1px solid #e2e8f0;border-radius:var(--uc-card-radius);margin-bottom:12px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.04);transition:.2s}
.uc-card-link{display:block;text-decoration:none}
.uc-card-link:hover{border-color:#cbd5e1;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.uc-card-head{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;padding:16px 20px;border-bottom:1px solid #f1f5f9}
.uc-card-head i{color:var(--uc-primary);font-size:15px}
.uc-card-body{padding:16px 20px}
.uc-desc{font-size:13px;color:var(--fontMuted);margin-bottom:16px}
.uc-empty{text-align:center;padding:32px 16px;color:var(--fontMuted)}
.uc-empty i{font-size:36px;color:#cbd5e1;margin-bottom:8px;display:block}
.uc-empty p{font-size:13px}
.uc-input-group{display:flex;align-items:center;gap:0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin-bottom:14px;transition:.2s;background:#f8fafc}
.uc-input-group:focus-within{border-color:var(--uc-primary);box-shadow:0 0 0 3px rgba(99,102,241,.1);background:#fff}
.uc-input-icon{display:flex;align-items:center;justify-content:center;width:44px;flex-shrink:0;color:var(--fontMuted);font-size:15px}
.uc-input{flex:1;border:none;padding:11px 14px 11px 0;font-size:14px;font-family:inherit;outline:none;background:transparent;color:var(--fontColor)}
.uc-input::placeholder{color:#94a3b8}
.uc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 22px;background:#f1f5f9;color:var(--fontColor);border:none;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;transition:.2s;font-family:inherit}
.uc-btn:hover{background:#e2e8f0}
.uc-btn-primary{background:var(--uc-primary);color:#fff}
.uc-btn-primary:hover{background:#4f46e5}
.uc-btn-block{width:100%}
.uc-btn-row{display:flex;gap:8px}
.uc-btn-row .uc-btn,.uc-btn-row a.uc-btn{flex:1;text-align:center}
.uc-btn-sm{padding:7px 14px;font-size:12px;border-radius:8px}
.uc-btn-lg{padding:12px 32px;font-size:15px}
.uc-pay-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.uc-pay-item{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:.2s;font-size:13px;font-weight:600;background:var(--cardBg);user-select:none;flex:1;justify-content:center;min-width:0}
.uc-pay-item:hover{border-color:var(--uc-primary)}
.uc-pay-item.is-active{border-color:var(--uc-primary);background:var(--uc-primary-light);color:var(--uc-primary)}
.uc-pay-item img{width:22px;height:22px;object-fit:contain;flex-shrink:0;border-radius:2px}
.uc-pay-item span{white-space:nowrap}
.uc-current-vip{background:var(--uc-primary-light);border:1px solid #c7d2fe;border-radius:10px;padding:12px 16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center;gap:8px;color:var(--uc-primary)}
.uc-current-vip i{font-size:16px}
.uc-levels{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.uc-level-card{text-align:center;padding:20px 14px;border:1px solid #e2e8f0;border-radius:14px;background:var(--cardBg);transition:.2s}
.uc-level-card:hover{border-color:var(--uc-primary);box-shadow:0 4px 16px rgba(99,102,241,.08)}
.uc-level-name{font-size:15px;font-weight:800;margin-bottom:2px}
.uc-level-discount{font-size:28px;font-weight:800;color:var(--uc-primary);margin:6px 0 2px}
.uc-level-price{font-size:13px;color:var(--fontMuted);margin-bottom:2px}
.uc-level-dur{font-size:11px;color:var(--fontMuted);margin-bottom:12px}
.uc-level-actions{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.uc-orders{margin:0 -20px}
.uc-order-item{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #f1f5f9;text-decoration:none;color:inherit;transition:.2s;gap:12px}
.uc-order-item:last-child{border-bottom:none}
.uc-order-item:hover{background:#f8fafc}
.uc-order-left{flex:1;min-width:0}
.uc-order-name{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uc-order-qty{font-weight:400;color:var(--fontMuted)}
.uc-order-meta{font-size:11px;color:var(--fontMuted);margin-top:2px}
.uc-order-time{font-size:11px;color:#94a3b8;margin-top:1px}
.uc-order-right{text-align:right;flex-shrink:0}
.uc-order-price{font-size:16px;font-weight:800;color:var(--uc-primary);margin-bottom:2px}
.uc-checkin-state{text-align:center;padding:16px 0}
.uc-checkin-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 12px}
.uc-checkin-icon.is-done{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;box-shadow:0 4px 12px rgba(34,197,94,.25)}
.uc-checkin-icon.is-ready{background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;box-shadow:0 4px 12px rgba(99,102,241,.25)}
.uc-checkin-icon.is-disabled{background:#e2e8f0;color:#94a3b8}
.uc-checkin-title{font-size:18px;font-weight:800;margin-bottom:4px}
.uc-checkin-bonus{font-size:26px;font-weight:800;color:var(--uc-primary);margin:6px 0}
.uc-checkin-hint{font-size:13px;color:var(--fontMuted);margin-bottom:16px}
.uc-checkin-stats{margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}
.uc-checkin-stat{display:inline-flex;align-items:baseline;gap:6px;padding:8px 20px;background:#f8fafc;border-radius:10px}
.uc-stat-num{font-size:24px;font-weight:800;color:var(--uc-primary)}
.uc-stat-label{font-size:12px;color:var(--fontMuted);font-weight:600}
.uc-ref-link{display:flex;align-items:center;gap:8px;border:1px solid #e2e8f0;border-radius:10px;padding:4px 4px 4px 14px;margin-bottom:16px;background:#f8fafc}
.uc-ref-link input{flex:1;border:none;background:transparent;font-size:13px;font-family:inherit;outline:none;color:var(--fontColor);padding:8px 0}
.uc-ref-link .uc-btn{flex-shrink:0}
.uc-ref-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.uc-ref-stat{text-align:center;padding:14px 8px;border:1px solid #e2e8f0;border-radius:12px;background:var(--cardBg)}
.uc-ref-stat-num{display:block;font-size:20px;font-weight:800;color:var(--uc-primary)}
.uc-ref-stat-label{display:block;font-size:11px;color:var(--fontMuted);margin-top:2px}
.uc-ref-rules{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;font-size:12px;color:var(--fontMuted);line-height:1.7}
.uc-ref-rules-title{font-weight:700;color:var(--fontColor);margin-bottom:6px;display:flex;align-items:center;gap:6px;font-size:13px}
.uc-ref-rules-title i{color:var(--uc-primary)}
.uc-ref-rules ul{list-style:none;padding:0;margin:0}
.uc-ref-rules li{padding:2px 0}
.uc-ref-rules li::before{content:'• ';color:var(--uc-primary)}
.uc-ref-users{margin:0 -20px}
.uc-ref-user{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid #f1f5f9}
.uc-ref-user:last-child{border-bottom:none}
.uc-ref-user-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}
.uc-ref-user-info{flex:1;min-width:0}
.uc-ref-user-name{font-size:14px;font-weight:600}
.uc-ref-user-time{font-size:11px;color:#94a3b8;margin-top:1px}
.uc-ref-user-badge{font-size:11px;padding:2px 10px;border-radius:6px;background:#dbeafe;color:#1d4ed8;font-weight:600;flex-shrink:0}
.uc-commissions{margin:0 -20px}
.uc-commission-item{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #f1f5f9;gap:12px}
.uc-commission-item:last-child{border-bottom:none}
.uc-comm-referee{font-size:14px;font-weight:600}
.uc-comm-order{font-size:11px;color:#94a3b8;margin-top:1px}
.uc-comm-right{text-align:right}
.uc-comm-amount{font-size:16px;font-weight:800;color:var(--uc-primary)}
.uc-comm-rate{font-size:11px;color:var(--fontMuted)}

/* ===== BADGE ===== */
.badge{display:inline-block;padding:2px 10px;font-size:11px;font-weight:700;border-radius:4px}
.badge-success{background:#dbeafe;color:#1d4ed8}
.badge-warning{background:#fef3c7;color:#b45309}
.badge-info{background:#e0e7ff;color:#4338ca}
.badge-secondary{background:#f1f5f9;color:var(--fontMuted)}

/* ===== KEFU FLOAT ===== */
.rides-cs{font-size:12px;background:var(--primary);position:fixed;top:250px;right:0;z-index:1500;border-radius:6px 0 0 6px;box-shadow:var(--shadow)}
.rides-cs .floatL{width:36px;float:left;position:relative;z-index:1;margin-top:21px;height:181px}
.rides-cs .floatL a{font-size:0;text-indent:-999em;display:block}
.rides-cs .floatR{width:130px;float:left;padding:5px;overflow:hidden;display:none}
.rides-cs .floatR .cn{background:#F7F7F7;border-radius:6px;margin-top:4px}
.rides-cs .cn .titZx{font-size:14px;margin-bottom:0;color:#333;font-weight:600;line-height:24px;padding:5px;text-align:center}
.rides-cs .cn ul{padding:0;margin:0}
.rides-cs .cn ul li{line-height:38px;height:38px;border-bottom:solid 1px #E6E4E4;overflow:hidden;text-align:center;list-style:none}
.rides-cs .cn ul li span{color:#777}
.rides-cs .cn ul li a{color:#777}
.rides-cs .cn ul li img{vertical-align:middle}
.rides-cs .btnOpen,.rides-cs .btnCtn{position:relative;z-index:9;top:25px;left:0;background-image:url(../content/plugins/service/shopnc.png);background-repeat:no-repeat;display:block;height:146px;padding:8px}
.rides-cs .btnOpen{background-position:-410px 0}
.rides-cs .btnCtn{background-position:-450px 0}

/* ===== ANNOUNCEMENT MODAL ===== */
#annModal{display:none;position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);justify-content:center;align-items:center}

/* ===== NOTICE BAR ===== */
.notice-bar{background:var(--footerBg);padding:10px 0;overflow:hidden;position:relative}
.notice-inner{display:flex;align-items:center;white-space:nowrap;animation:scrollNotice 30s linear infinite}
.notice-label{display:inline-flex;align-items:center;gap:4px;background:var(--primary);color:#fff;padding:2px 12px;font-size:12px;font-weight:700;flex-shrink:0;margin-right:20px;border-radius:4px}
.notice-text{display:inline-block;color:#94a3b8;font-size:13px}
.notice-text span{display:inline-block;margin-right:80px}
@keyframes scrollNotice{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ===== FOOTER SIMPLE ===== */
.footer-simple{text-align:center;padding:28px 16px;color:var(--fontMuted);font-size:13px;border-top:1px solid var(--borderColor);background:var(--cardBg);flex-shrink:0}

/* ===== CART BADGE ===== */
.cart-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;border-radius:9px;line-height:1}

/* ===== MINI AVATAR IN HEADER ===== */
.mini-avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;flex-shrink:0}

/* ===== CART PAGE ===== */
.cart-page{max-width:960px;margin:0 auto;padding:20px}
.cart-empty{text-align:center;padding:80px 20px}
.cart-empty i{font-size:72px;color:#e2e8f0;margin-bottom:16px}
.cart-empty h3{font-size:20px;color:var(--fontColor);margin-bottom:8px}
.cart-empty p{font-size:15px;color:var(--fontMuted);margin-bottom:28px}
.cart-list{background:var(--cardBg);border:1px solid var(--borderColor);border-radius:var(--marRadius);overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.cart-list-header{display:grid;grid-template-columns:60px 1fr 140px 120px 40px;gap:12px;padding:12px 20px;background:#f8fafc;border-bottom:1px solid var(--borderColor);font-size:12px;color:var(--fontMuted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.cart-item{display:grid;grid-template-columns:60px 1fr 140px 120px 40px;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #f1f5f9;transition:background .15s}
.cart-item:hover{background:#fafbfc}
.cart-item:last-child{border-bottom:none}
.cart-item-img{width:48px;height:48px;border-radius:8px;object-fit:cover;flex-shrink:0;border:1px solid var(--borderColor)}
.cart-item-info{min-width:0}
.cart-item-name{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fontColor)}
.cart-item-price{font-size:14px;color:var(--uc-primary);font-weight:700;margin-top:3px}
.cart-item-qty{display:flex;align-items:center;gap:6px}
.cart-qty-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--borderColor);border-radius:6px;background:var(--cardBg);cursor:pointer;font-size:15px;color:var(--fontMuted);transition:.15s;user-select:none}
.cart-qty-btn:hover{background:#f1f5f9;border-color:var(--uc-primary);color:var(--uc-primary)}
.cart-qty-input{width:44px;height:32px;text-align:center;border:1px solid var(--borderColor);border-radius:6px;padding:4px;font-size:14px;font-weight:600;font-family:inherit;outline:none;color:var(--fontColor)}
.cart-qty-input:focus{border-color:var(--uc-primary);box-shadow:0 0 0 2px rgba(99,102,241,.1)}
.cart-item-subtotal{font-size:18px;font-weight:800;color:var(--uc-primary);text-align:right;white-space:nowrap}
.cart-item-remove{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;font-size:16px;color:#cbd5e1;border-radius:6px;transition:.15s;margin-left:auto}
.cart-item-remove:hover{color:#ef4444;background:#fef2f2}
.cart-footer{padding:16px 20px;border-top:1px solid var(--borderColor);background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:0 0 var(--marRadius) var(--marRadius)}
.cart-footer-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-total-label{font-size:15px;color:var(--fontMuted)}
.cart-total-label strong{font-size:24px;font-weight:800;color:var(--uc-primary);margin-left:4px;vertical-align:middle}
.cart-total-amount{font-size:24px;font-weight:800;color:var(--uc-primary);vertical-align:middle}
/* Desktop enhancement */
@media(min-width:768px){
    .cart-page{padding:32px 40px}
    .cart-item{padding:20px 24px;grid-template-columns:72px 1fr 160px 140px 44px}
    .cart-item-img{width:56px;height:56px;border-radius:10px}
    .cart-item-name{font-size:16px}
    .cart-item-price{font-size:15px}
    .cart-qty-btn{width:36px;height:36px;font-size:16px}
    .cart-qty-input{width:50px;height:36px;font-size:15px}
    .cart-item-subtotal{font-size:20px}
    .cart-list-header{grid-template-columns:72px 1fr 160px 140px 44px;padding:14px 24px}
    .cart-footer{padding:20px 24px}
    .cart-total-label strong{font-size:28px}
}
@media(max-width:640px){
    .cart-page{padding:12px}
    .cart-item{display:flex;flex-wrap:wrap;padding:14px 16px;gap:10px;position:relative}
    .cart-item-img{width:44px;height:44px;border-radius:10px}
    .cart-item-info{flex:1;min-width:0;padding-right:36px}
    .cart-item-name{font-size:14px;line-height:1.3}
    .cart-item-price{font-size:13px;margin-top:2px}
    .cart-item-remove{position:absolute;top:14px;right:14px;width:28px;height:28px;color:#cbd5e1}
    .cart-item-qty{flex:0 0 auto;display:flex;align-items:center;gap:6px;margin-top:4px}
    .cart-item-subtotal{flex:1;text-align:right;font-size:16px;line-height:36px;margin-top:4px}
    .cart-qty-btn{width:30px;height:30px;font-size:14px;border-radius:6px}
    .cart-qty-input{width:36px;height:30px;font-size:13px}
    .cart-list-header{display:none}
    .cart-footer-row{flex-direction:column;align-items:stretch}
    .cart-footer-row .uc-btn,.cart-footer-row a.uc-btn{justify-content:center}
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page{max-width:640px;margin:0 auto;padding:16px}
.checkout-page h2{font-size:22px;font-weight:800;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.checkout-page h2 i{color:var(--primary)}
.checkout-card{background:var(--cardBg);border:1px solid var(--borderColor);border-radius:12px;padding:24px;box-shadow:var(--shadow);margin-bottom:20px}
.checkout-card h3{font-size:16px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.checkout-card h3 i{color:var(--primary);font-size:15px}
.checkout-items{margin-bottom:4px}
.checkout-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:13px}
.checkout-item:last-child{border-bottom:none}
.checkout-item .name{flex:1;font-weight:600}
.checkout-item .qty{color:var(--fontMuted)}
.checkout-item .price{font-weight:700;color:var(--primary)}
.checkout-total-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0 4px;border-top:1px solid var(--borderColor);margin-top:8px;font-size:15px}
.checkout-total-row .amount{font-size:24px;font-weight:800;color:var(--primary)}
.form-group .checkout-contact-input{width:100%;padding:10px 14px;border:1px solid var(--borderColor);border-radius:var(--marRadius);font-size:14px;outline:none;font-family:inherit;transition:.2s}
.form-group .checkout-contact-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(99,102,241,.1)}

/* ===== NO-DATA FALLBACK ===== */
.no-data{text-align:center;padding:40px 20px;color:var(--fontMuted);font-size:14px}

/* ===== PAYMENT ICONS (buy.php) ===== */
.payment-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.payment-icon img{width:24px;height:24px;object-fit:contain}

/* ===== CART ADD BUTTON ON PRODUCT CARDS ===== */
.df-cart-add{cursor:pointer}
.df-cart-add:hover{background:var(--primary)!important;color:#fff!important}
.df-cart-add i{pointer-events:none}

/* ===== BATCH ORDER DISPLAY ON SUCCESS PAGE ===== */
.batch-orders-list{margin-top:16px}
.batch-order-card{border:1px solid var(--borderColor);border-radius:8px;padding:14px;margin-bottom:10px;background:#f8fafc;text-align:left}
.batch-order-card .bo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:13px}
.batch-order-card .bo-header .bo-name{font-weight:700}
.batch-order-card .bo-header .bo-status{font-size:11px}
.batch-order-card .bo-card{font-family:monospace;font-size:13px;background:#fff;padding:10px;border-radius:6px;border:1px solid #e2e8f0;white-space:pre-wrap;word-break:break-all;margin-top:4px}
.batch-order-card .bo-card:empty,.batch-order-card .bo-card[style*="display:none"]{display:none}
.batch-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap;justify-content:center}
.batch-actions .btn{font-size:12px}
.success-card .batch-info-block{text-align:left;border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:16px;margin-bottom:16px}
.success-card .batch-info-block .bi-row{display:flex;justify-content:space-between;padding:6px 0;font-size:13px;border-bottom:1px solid #f1f5f9}
.success-card .batch-info-block .bi-row:last-child{border-bottom:none}
.success-card .batch-info-block .bi-label{color:var(--fontMuted)}
.success-card .batch-info-block .bi-value{font-weight:600}

/* ===== CHECKOUT PAGE ===== */
.uc-checkout-items{margin:0}
.uc-checkout-item{display:flex;align-items:center;padding:12px 20px;border-bottom:1px solid #f1f5f9;gap:12px}
.uc-checkout-item:last-child{border-bottom:none}
.uci-left{flex:1}
.uci-name{font-size:14px;font-weight:600}
.uci-qty{color:var(--fontMuted);font-size:13px;flex-shrink:0}
.uci-price{font-size:15px;font-weight:800;color:var(--uc-primary);min-width:80px;text-align:right;flex-shrink:0}
.uc-checkout-total{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:14px}
.uct-amount{font-size:24px;font-weight:800;background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* ===== UC RESPONSIVE ===== */
@media(max-width:600px){
    :root{--uc-hero-h:150px}
    .uc-hero-content{padding:28px 12px 0;gap:12px}
    .uc-avatar{width:64px;height:64px}
    .uc-avatar-empty{font-size:24px}
    .uc-hero-name{font-size:18px}
    .uc-balance-amount{font-size:22px}
    .uc-balance-right{display:none}
    .uc-tab{padding:8px 10px;min-width:56px;font-size:10px}
    .uc-tab-icon{font-size:16px}
    .uc-card-head{font-size:14px;padding:14px 16px}
    .uc-card-body{padding:14px 16px}
    .uc-levels{grid-template-columns:repeat(2,1fr)}
    .uc-pay-options{gap:10px}
    .uc-pay-item{padding:12px 14px;font-size:13px;flex:1 1 100%}
    .uc-pay-item img{width:26px;height:26px}
    .uc-ref-stats{gap:4px}
    .uc-ref-stat{padding:10px 4px}
    .uc-ref-stat-num{font-size:16px}
}
@media(max-width:768px){
    .checkout-page,.cart-page{padding:12px}
    .pay-methods{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:769px){
    .uc-levels{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
}

/* ===== DESKTOP SIDEBAR LAYOUT ===== */
@media(max-width:899px){
    .uc-desktop-only{display:none!important}
}
@media(min-width:900px){
    .uc-mobile-only{display:none!important}
    .uc-desktop-only{display:block!important}
}

.uc-desk-container{display:flex;gap:24px;max-width:1100px;margin:0 auto;padding:24px}
.uc-desk-sidebar{width:240px;flex-shrink:0;background:var(--cardBg);border:1px solid var(--borderColor);border-radius:var(--marRadius);padding:24px 20px;text-align:center;align-self:flex-start;position:sticky;top:80px}
.uc-desk-main{flex:1;min-width:0}

.uc-desk-avatar-wrap{position:relative;display:inline-block;margin-bottom:12px}
.uc-desk-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid #e2e8f0}
.uc-desk-avatar-empty{width:88px;height:88px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;margin:0 auto}
.uc-desk-camera{position:absolute;bottom:0;right:0;width:28px;height:28px;border-radius:50%;background:var(--uc-primary);color:#fff;border:2px solid #fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;transition:.2s}
.uc-desk-camera:hover{transform:scale(1.1)}

.uc-desk-name{font-size:18px;font-weight:700;color:var(--fontColor);margin-bottom:6px}
.uc-desk-badges{margin-bottom:6px}
.uc-desk-expire{font-size:12px;color:var(--fontMuted);margin-bottom:12px}

.uc-desk-balance{padding:12px 0;border-top:1px solid var(--borderColor);border-bottom:1px solid var(--borderColor);margin-bottom:12px}
.uc-desk-balance-label{font-size:12px;color:var(--fontMuted);margin-bottom:2px}
.uc-desk-balance-amount{font-size:24px;font-weight:800;background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

.uc-desk-stats{display:flex;justify-content:center;gap:16px;margin-bottom:16px}
.uc-desk-stat{text-align:center}
.uc-ds-num{display:block;font-size:20px;font-weight:800;color:var(--fontColor)}
.uc-ds-label{display:block;font-size:11px;color:var(--fontMuted);margin-top:1px}

.uc-desk-logout{display:inline-block;padding:8px 20px;border:1px solid #e2e8f0;border-radius:var(--marRadius);color:var(--fontMuted);font-size:13px;transition:.2s}
.uc-desk-logout:hover{border-color:#ef4444;color:#ef4444}

@media(min-width:900px){
    body .footer-nav{display:none!important}
    body .footer-simple{display:none!important}
}
