/* ═══════════════════════════════════
   债权质押交易平台 - 响应式全局样式
   移动优先 · 全端适配 · 简洁统一
   ═══════════════════════════════════ */

/* ===== Reset & Base ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,"Microsoft YaHei","PingFang SC",sans-serif;background:#F5EFE6;color:#3E2723;line-height:1.6;min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;margin:0}
a{color:#B71C1C;text-decoration:none}
img{max-width:100%;height:auto}
ul,ol{padding-left:20px}

/* ===== Header (响应式) ===== */
.site-header{background:#B71C1C;border-bottom:2px solid #C9A227;position:sticky;top:0;z-index:1000;box-shadow:0 1px 4px rgba(0,0,0,0.04)}
.header-inner{max-width:1200px;margin:0 auto;padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;position:relative}
.site-logo{font-size:20px;font-weight:700;background:linear-gradient(135deg,#C9A227,#E6C35C);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;white-space:nowrap}

/* Hamburger */
.menu-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;background:none;border:none;cursor:pointer;padding:6px;z-index:1001}
.menu-toggle span{display:block;height:2.5px;background:#fff;border-radius:2px;transition:all 0.3s}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Main Nav */
.site-nav{display:flex;align-items:center;gap:2px}
.site-nav a{padding:8px 14px;color:rgba(255,255,255,0.85);text-decoration:none;border-radius:6px;font-size:14px;transition:all 0.2s;white-space:nowrap}
.site-nav a:hover{background:rgba(255,255,255,0.12);color:#fff}
.nav-admin{color:#ffb74d!important;font-weight:600}
.nav-admin:hover{background:#ffeaa7!important}
.nav-login-mobile,.nav-logout-mobile,.nav-reg-mobile{display:none!important}

/* Right side */
.header-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.nav-btn{padding:8px 20px;border-radius:6px;text-decoration:none;font-size:14px;transition:all 0.2s;color:rgba(255,255,255,0.9);white-space:nowrap}
.nav-btn:hover{background:rgba(255,255,255,0.14)}
.nav-btn-primary{background:#E65100;color:#fff!important}
.nav-btn-primary:hover{background:#D84315!important}

/* User Dropdown */
.user-dropdown{position:relative;cursor:pointer;padding:4px 0}
.user-name{font-size:14px;color:#fff;font-weight:600}
.user-role{font-size:12px;color:rgba(255,255,255,0.7);margin-left:6px}
.dropdown-menu{display:none;position:absolute;top:100%;right:0;min-width:150px;background:#fff;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.12);z-index:200;overflow:hidden}
.dropdown-menu a{display:block;padding:10px 16px;color:#636e72;text-decoration:none;font-size:14px;transition:background 0.15s}
.dropdown-menu a:hover{background:#f5f5fa;color:#3E2723}

/* ===== Announce Bar ===== */
.announce-bar{background:#fffbe6;border-bottom:1px solid #ffe58f;padding:8px 20px;text-align:center;font-size:13px;color:#d48806}
.announce-text{padding:2px 0}

/* ===== Main ===== */
.site-main{flex:1 0 auto;max-width:1200px;margin:0 auto;padding:24px 20px;width:100%}

/* ===== Hero ===== */
.hero-section{background:linear-gradient(135deg,#B71C1C 0%,#E65100 55%,#B71C1C 100%);border-radius:16px;padding:60px 32px;margin-bottom:32px;text-align:center;overflow:hidden}
.hero-title{font-size:34px;font-weight:700;color:#fff;margin-bottom:10px}
.hero-desc{font-size:16px;color:rgba(255,255,255,0.8);margin-bottom:24px}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;border:none;transition:all 0.2s;line-height:1.4;gap:6px}
.btn-lg{padding:14px 32px;font-size:16px;border-radius:8px}
.btn-primary{background:#E65100;color:#ffffff!important;font-weight:600}
.btn-primary:hover{background:#D84315;color:#ffffff!important}
.btn-outline{background:transparent;color:#E65100;border:1.5px solid #E65100}
.btn-outline:hover{background:#fff3e0;color:#E65100!important}
/* 首页 Hero 区「登录」按钮：文字白色（悬停保持白色，避免被 .btn-outline:hover 覆盖） */
.btn-hero-login{color:#fff!important}
.btn-hero-login:hover{background:rgba(255,255,255,0.15);color:#fff!important}
/* ===== 首页 Hero 区按钮 3D 立体化 ===== */
.hero-actions .btn-primary{
    background:linear-gradient(180deg,#FF8A50 0%,#E65100 50%,#C63E00 100%);
    box-shadow:0 4px 0 #9C3200,0 8px 16px rgba(0,0,0,0.22),inset 0 1px 0 rgba(255,255,255,0.28);
    text-shadow:0 1px 2px rgba(0,0,0,0.28)
}
.hero-actions .btn-primary:hover{
    background:linear-gradient(180deg,#FF9658 0%,#EE5A05 50%,#D04300 100%);
    box-shadow:0 3px 0 #9C3200,0 6px 12px rgba(0,0,0,0.2),inset 0 1px 0 rgba(255,255,255,0.3);
    transform:translateY(1px)
}
.hero-actions .btn-primary:active{
    background:linear-gradient(180deg,#D64500 0%,#B83700 100%);
    box-shadow:0 1px 0 #9C3200,inset 0 2px 6px rgba(0,0,0,0.25);
    transform:translateY(3px)
}
.hero-actions .btn-hero-login{
    background:linear-gradient(180deg,rgba(255,255,255,0.35) 0%,rgba(255,255,255,0.10) 100%);
    border-color:#E65100;
    box-shadow:0 4px 0 rgba(140,20,0,0.35),0 8px 16px rgba(0,0,0,0.18),inset 0 1px 0 rgba(255,255,255,0.35);
    text-shadow:0 1px 2px rgba(0,0,0,0.25)
}
.hero-actions .btn-hero-login:hover{
    background:linear-gradient(180deg,rgba(255,255,255,0.42) 0%,rgba(255,255,255,0.16) 100%);
    border-color:#E65100;
    box-shadow:0 3px 0 rgba(140,20,0,0.35),0 6px 12px rgba(0,0,0,0.16),inset 0 1px 0 rgba(255,255,255,0.4);
    transform:translateY(1px);
    color:#fff!important
}
.hero-actions .btn-hero-login:active{
    background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(255,255,255,0.05) 100%);
    box-shadow:0 1px 0 rgba(140,20,0,0.35),inset 0 2px 6px rgba(0,0,0,0.2);
    transform:translateY(3px)
}
.btn-green{background:#2E7D32;color:#fff}
.btn-green:hover{background:#276C2A}
.btn-red{background:#e17055;color:#fff}
.btn-red:hover{background:#d63031}
.btn-orange{background:#fdcb6e;color:#3E2723}
.btn-sm{padding:6px 14px;font-size:12px}
.btn-block{width:100%;text-align:center}
.btn:disabled{opacity:0.5;cursor:not-allowed}

/* ===== Section ===== */
.section{margin-bottom:32px}
.section-title{font-size:20px;font-weight:700;color:#3E2723;margin-bottom:16px;padding-left:14px;border-left:4px solid #B71C1C}

/* ===== Stats ===== */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stat-item{background:#fff;border-radius:12px;padding:24px 16px;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,0.04);transition:transform 0.2s}
.stat-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(183,28,28,0.1)}
.stat-value{font-size:30px;font-weight:700;color:#E65100;line-height:1.2}
.stat-label{font-size:14px;color:#b2bec3;margin-top:4px}

/* ===== Grid ===== */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}

/* ===== Info Cards ===== */
.info-card{background:#fff;border-radius:12px;padding:24px;border:1px solid rgba(62,39,35,0.18);box-shadow:0 1px 4px rgba(0,0,0,0.04);transition:transform 0.2s}
.info-card:hover{transform:translateY(-2px)}
.info-icon{font-size:32px;margin-bottom:10px}
.info-card h3{font-size:16px;font-weight:600;color:#3E2723;margin-bottom:6px;border-left:3px solid #C9A227;padding-left:8px}
.info-card p{font-size:14px;color:#636e72;line-height:1.7}

/* ===== 平台定位 ===== */
.pos-card{background:#fff;border-radius:12px;padding:28px 32px;border:1px solid rgba(62,39,35,0.18);box-shadow:0 1px 4px rgba(0,0,0,0.04);position:relative;overflow:hidden}
.pos-intro{font-size:17px;font-weight:700;color:#3E2723;line-height:1.7;margin-bottom:12px}
.pos-content{font-size:14px;color:#5d4a42;line-height:2;margin-bottom:16px}
.pos-warning{background:#fff8e6;border:1px solid #f0d48a;border-radius:8px;padding:12px 16px;font-size:13px;color:#8a6d1d;line-height:1.9;display:flex;gap:6px}
.pos-warning strong{color:#b7791f;white-space:nowrap;flex-shrink:0}

/* ===== 最新需求 ===== */
.od-card{background:#fff;border-radius:12px;border:1px solid rgba(62,39,35,0.18);box-shadow:0 1px 4px rgba(0,0,0,0.04);overflow:hidden}
.od-item{display:block;padding:14px 20px;border-bottom:1px solid #f7f3ec}
.od-item:last-child{border-bottom:none}
.od-item:hover{background:#fdf9f1}
.od-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.od-tag{display:inline-block;padding:3px 10px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}
.od-tag-cat1{background:#fdecea;color:#B71C1C}
.od-tag-cat2{background:#e8f5e9;color:#2E7D32}
.od-tag-cat3{background:#e3f2fd;color:#1976D2}
.od-tag-matched{background:#fdf3d7;color:#b7791f}
.od-title{font-size:14.5px;color:#3E2723;flex:1;min-width:200px;line-height:1.6}
.od-fields{margin-top:8px;padding:10px 14px;background:#faf7f2;border:1px solid #f0e8dc;border-radius:8px;font-size:13px;color:#5d4a42;line-height:1.9}
.od-field{display:flex;gap:6px}
.od-f-label{color:#9c7a5a;font-weight:600;flex-shrink:0}
.od-detail{font-size:13px;color:#8a7a6f;line-height:1.8;margin-top:6px;padding-left:2px}
.od-empty{padding:40px;text-align:center;color:#b2bec3;font-size:14px}

/* ===== 撮合需求列表页 ===== */
.od-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.od-filter-item{display:inline-block;padding:6px 18px;border-radius:20px;font-size:13px;font-weight:500;color:#5d4a42;background:#fff;border:1px solid #e5dccc;text-decoration:none;transition:all 0.2s}
.od-filter-item:hover{border-color:#B71C1C;color:#B71C1C}
.od-filter-item.active{background:#B71C1C;border-color:#B71C1C;color:#fff}
.od-time{font-size:12px;color:#b2bec3;flex-shrink:0}
.od-title-link{color:#3E2723;text-decoration:none;transition:color 0.2s}
.od-title-link:hover{color:#B71C1C}
.od-line{font-size:13px;color:#5d4a42;line-height:1.9;margin-top:8px;padding:8px 14px;background:#faf7f2;border:1px solid #f0e8dc;border-radius:8px}

/* ===== 撮合需求详情页 ===== */
.od-detail-card{background:#fff;border-radius:12px;border:1px solid rgba(62,39,35,0.18);box-shadow:0 1px 4px rgba(0,0,0,0.04);padding:28px 32px;max-width:860px}
.od-detail-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.od-detail-title{font-size:20px;font-weight:700;color:#3E2723;line-height:1.5;flex:1;min-width:200px;margin:0}
.od-detail-meta{font-size:12.5px;color:#b2bec3;padding-bottom:14px;border-bottom:1px solid #f0f0f5;margin-bottom:16px}
.od-detail-fields{margin:0 0 16px}
.od-detail-body{font-size:14px;color:#4a3f38;line-height:2}
.od-detail-sec{font-size:14px;font-weight:600;color:#3E2723;margin-bottom:8px;padding-left:10px;border-left:3px solid #C9A227}
.od-detail-actions{margin-top:28px;text-align:center}

/* ===== Flow Steps ===== */
.flow-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.flow-step{background:#fff;border-radius:10px;padding:18px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 1px 4px rgba(0,0,0,0.04);transition:transform 0.2s}
.flow-step:hover{transform:translateY(-2px)}
.step-number{font-size:20px;font-weight:800;color:#B71C1C;min-width:32px;opacity:0.5}
.step-title{font-size:14px;font-weight:600;color:#3E2723}
.step-desc{font-size:12px;color:#b2bec3;margin-top:2px}

/* ===== Card (通用) ===== */
.card{background:#fff;border-radius:12px;padding:24px;margin-bottom:16px;box-shadow:0 1px 4px rgba(0,0,0,0.04)}
.card-title{font-size:16px;font-weight:600;color:#3E2723;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #f0f0f5}
.card-title a{color:#B71C1C;margin-right:8px}

/* ===== Forms ===== */
.form-group{margin-bottom:14px}
.form-group label{display:block;margin-bottom:5px;font-size:14px;font-weight:500;color:#3E2723}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #dfe6e9;border-radius:6px;font-size:14px;transition:border 0.2s;background:#fff;font-family:inherit}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#E65100;outline:none;box-shadow:0 0 0 3px rgba(230,81,0,0.12)}
.form-group textarea{min-height:100px;resize:vertical}
.form-group small{display:block;color:#b2bec3;font-size:12px;margin-top:3px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}

/* ===== Alerts ===== */
.alert{padding:12px 16px;border-radius:8px;margin-bottom:14px;font-size:14px;line-height:1.6}
.alert-success{background:#e8f5e9;color:#2E7D32;border:1px solid #a5d6a7}
.alert-error{background:#fce4ec;color:#e17055;border:1px solid #f8bbd0}
.alert-info{background:#e8f0fe;color:#B71C1C;border:1px solid #c5cae9}
.alert-warning{background:#fef7e0;color:#d48806;border:1px solid #ffe58f}

/* ===== Tables (响应式) ===== */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:16px;border-radius:8px;border:1px solid #f0f0f5}
table{width:100%;border-collapse:collapse;font-size:14px;min-width:600px}
th,td{padding:10px 14px;text-align:left;border-bottom:1px solid #f0f0f5;white-space:nowrap}
th{background:#fafbfc;color:#636e72;font-weight:600;font-size:13px}
tr:hover td{background:#f8f9fb}

/* ===== Badges ===== */
.badge{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;font-weight:500}
.badge-blue{background:#e8f0fe;color:#B71C1C}
.badge-green{background:#e8f5e9;color:#2E7D32}
.badge-red{background:#fce4ec;color:#e17055}
.badge-orange{background:#fef7e0;color:#d48806}

/* ===== Pagination ===== */
.pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px;padding:16px 0}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border:1px solid #dfe6e9;border-radius:6px;text-decoration:none;color:#636e72;font-size:13px;transition:all 0.15s}
.pagination a:hover{border-color:#B71C1C;color:#B71C1C;background:#fdecea}
.pagination .page-current{background:#B71C1C;color:#fff;border-color:#B71C1C}
.pagination .page-info{border:none;color:#b2bec3;font-size:13px}

/* ===== Login/Register ===== */
.login-box{max-width:400px;margin:40px auto;padding:32px;background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,0.06)}
.login-box h2{text-align:center;margin-bottom:24px;color:#3E2723;font-size:22px}
.login-box p{text-align:center;margin-top:12px;font-size:14px;color:#636e72}
.login-box p a{color:#B71C1C}

/* ===== Popup ===== */
.popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.popup-modal{background:#fff;border-radius:12px;max-width:520px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:0 12px 40px rgba(0,0,0,0.2)}
.popup-head{padding:16px 20px;border-bottom:1px solid #f0f0f5;display:flex;justify-content:space-between;align-items:center}
.popup-head h4{font-size:16px;color:#3E2723}
.popup-close{background:none;border:none;font-size:22px;color:#b2bec3;cursor:pointer;padding:4px;line-height:1}
.popup-close:hover{color:#636e72}
.popup-body{padding:20px;font-size:14px;line-height:1.8;color:#636e72}
.popup-foot{padding:12px 20px;border-top:1px solid #f0f0f5;text-align:center;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.popup-foot button{padding:8px 16px;border:1px solid #dfe6e9;border-radius:6px;background:#fff;cursor:pointer;font-size:13px;color:#636e72;transition:all 0.15s}
.popup-foot button:hover{border-color:#B71C1C;color:#B71C1C}

/* ===== Promo ===== */
.promo-link{background:#fdecea;border:1px dashed #B71C1C;padding:20px;border-radius:10px;text-align:center;margin:16px 0}
.promo-link input{width:100%;padding:10px;border:1px solid #dfe6e9;border-radius:6px;font-size:14px;text-align:center;max-width:400px}

/* ===== Amount Display ===== */
.amount-display{background:#f8f9fb;padding:20px;border-radius:10px;text-align:center;margin:16px 0}
.amount-display .num{font-size:32px;font-weight:700;color:#E65100;line-height:1.3}
.amount-display .label{color:#b2bec3;font-size:14px;margin-bottom:4px}

/* ===== Channels ===== */
.channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.channel-option{border:2px solid #dfe6e9;border-radius:8px;padding:14px;text-align:center;cursor:pointer;transition:all 0.2s;display:block}
.channel-option:hover,.channel-option.selected{border-color:#B71C1C;background:#fdecea}
.channel-option .icon{font-size:28px;margin-bottom:6px}
.channel-option .name{font-size:14px;font-weight:600;color:#3E2723}

/* ===== Steps (进度条) ===== */
.steps-row{display:flex;overflow-x:auto;gap:0;margin-bottom:16px;padding-bottom:4px}
.step-dot{flex:1;text-align:center;padding:8px 4px;font-size:12px;color:#b2bec3;position:relative;min-width:60px}
.step-dot.active{color:#B71C1C;font-weight:600}
.step-dot.done{color:#2E7D32}
.step-dot::after{content:'';display:block;height:3px;background:#dfe6e9;margin:6px auto 0;width:80%}
.step-dot.done::after{background:#2E7D32}
.step-dot.active::after{background:#B71C1C}

/* ===== Footer ===== */
.site-footer{background:#2b1d1a;color:#b2bec3;padding:20px 0;margin-top:auto;flex-shrink:0}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.footer-links{display:flex;align-items:center;gap:8px}
.footer-links a{color:#b2bec3;text-decoration:none;font-size:13px}
.footer-links a:hover{color:#fff}
.footer-divider{color:#636e72;font-size:12px}
.footer-copy{font-size:13px;color:#636e72;display:flex;align-items:center;gap:6px}
.footer-copy .footer-icp-link{color:#636e72;text-decoration:none}
.footer-copy .footer-icp-link:hover{color:#fff}

/* ===== Admin Body ===== */
.admin-body .card:first-child{margin-top:0}

/* ===========================================
   📱 响应式断点
   =========================================== */

/* Tablet (≤1024px) */
@media(max-width:1024px){
    .stats-row{grid-template-columns:repeat(2,1fr)}
    .hero-title{font-size:28px}
    .hero-section{padding:48px 24px;border-radius:14px}
    .flow-steps{grid-template-columns:repeat(3,1fr)}
}

/* Mobile (≤768px) */
@media(max-width:768px){
    /* Header */
    .header-inner{padding:0 16px;height:56px}
    .menu-toggle{display:flex}
    .header-right{display:none}
    
    /* Mobile Nav */
    .site-nav{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;flex-direction:column;padding:80px 24px 24px;z-index:999;overflow-y:auto;gap:0}
    .site-nav.open{display:flex;background:#fff}
    .site-nav a{padding:14px 16px;font-size:16px;border-bottom:1px solid #f0f0f5;color:#3E2723;border-radius:0;width:100%}
    .site-nav a:hover{background:#f8f9fb}
    .nav-admin{display:block!important}
    .nav-login-mobile,.nav-logout-mobile,.nav-reg-mobile{display:block!important;color:#e17055!important;font-weight:600}
    
    /* Hero */
    .hero-section{padding:36px 20px;border-radius:12px;margin-bottom:24px}
    .hero-title{font-size:24px}
    .hero-desc{font-size:14px;margin-bottom:20px}
    .hero-actions{flex-direction:column;align-items:center}
    .btn-lg{width:100%;max-width:260px}
    
    /* Stats */
    .stats-row{grid-template-columns:repeat(2,1fr);gap:10px}
    .stat-item{padding:16px}
    .stat-value{font-size:24px}
    
    /* Grids */
    .grid-2,.grid-3{grid-template-columns:1fr}
    .flow-steps{grid-template-columns:1fr}
    
    /* Section */
    .section{margin-bottom:24px}
    .section-title{font-size:18px}
    
    /* Cards */
    .card{padding:16px;border-radius:10px}
    .form-row{grid-template-columns:1fr}
    
    /* Tables */
    th,td{padding:8px 10px;font-size:13px}
    
    /* Login */
    .login-box{margin:24px auto;padding:24px}
    
    /* Popup */
    .popup-overlay{padding:12px}
    .popup-modal{border-radius:10px}
    
    /* Footer */
    .footer-inner{flex-direction:column;text-align:center}
    
    /* Channels */
    .channels{grid-template-columns:repeat(2,1fr)}
}

/* Small Mobile (≤480px) */
@media(max-width:480px){
    .stats-row{grid-template-columns:1fr 1fr;gap:8px}
    .stat-item{padding:12px 8px;border-radius:8px}
    .stat-value{font-size:20px}
    .stat-label{font-size:12px}
    .hero-section{padding:28px 16px}
    .hero-title{font-size:20px}
    .flow-steps{grid-template-columns:1fr}
    .channels{grid-template-columns:1fr 1fr}
    .site-main{padding:16px 12px}
    .popup-head,.popup-body,.popup-foot{padding:12px 16px}
}

/* ═══════════════════════════════════
   后台管理 - 美化样式
   ═══════════════════════════════════ */

/* Sidebar */
.admin-sidebar{background:linear-gradient(180deg,#3E2723 0%,#4E342E 60%,#B71C1C 100%);width:240px;min-height:100vh;color:#fff;flex-shrink:0;transition:all 0.3s;box-shadow:2px 0 10px rgba(0,0,0,0.1)}
.admin-sidebar h3{padding:22px 20px;text-align:center;font-size:15px;font-weight:700;letter-spacing:1px;border-bottom:1px solid rgba(255,255,255,0.08);background:rgba(255,255,255,0.05);margin:0}
.admin-sidebar .menu-group{padding:6px 0;border-bottom:1px solid rgba(255,255,255,0.04)}
.admin-sidebar .menu-group-title{padding:8px 20px 4px;font-size:11px;color:rgba(255,255,255,0.3);text-transform:uppercase;letter-spacing:1.5px;font-weight:600}
.admin-sidebar a{display:flex;align-items:center;gap:8px;padding:9px 20px 9px 24px;color:rgba(255,255,255,0.55);text-decoration:none;font-size:13.5px;border-left:3px solid transparent;transition:all 0.2s}
.admin-sidebar a:hover{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.85);border-left-color:#B71C1C}
.admin-sidebar a.active{background:rgba(183,28,28,0.15);color:#fff;border-left-color:#B71C1C;font-weight:600}
.admin-sidebar a.sub{padding-left:44px;font-size:13px}

/* Main area */
.admin-main{flex:1;background:#f0f2f5;display:flex;flex-direction:column;min-height:100vh}
.admin-header{background:#fff;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 4px rgba(0,0,0,0.04);position:sticky;top:0;z-index:100}
.admin-header .breadcrumb{color:#b2bec3;font-size:13px}
.admin-header .breadcrumb span{color:#3E2723;font-weight:600;font-size:14px}
.admin-body{padding:24px 28px;flex:1}

/* Admin Cards */
.admin-body .card{border-radius:10px;border:1px solid #f0f0f5;box-shadow:0 1px 3px rgba(0,0,0,0.04);transition:box-shadow 0.2s}
.admin-body .card:hover{box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.admin-body .card-title{font-size:15px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #f0f0f5;display:flex;align-items:center;gap:8px}

/* Stats Cards */
.admin-body .stat-card{border-radius:10px;border:1px solid #f0f0f5;padding:20px 16px;transition:all 0.2s}
.admin-body .stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(183,28,28,0.1);border-color:#d5cff5}
.admin-body .stat-card .num{font-size:28px}
.admin-body .stat-card .label{font-size:13px}

/* Admin Tables */
.admin-body .table-wrap{border-radius:8px;border:1px solid #f0f0f5;overflow:hidden}
.admin-body table{margin-bottom:0}
.admin-body th{background:#f8f9fb;color:#636e72;font-weight:600;font-size:12.5px;text-transform:none;padding:10px 12px;border-bottom:2px solid #eef0f4}
.admin-body td{padding:9px 12px;font-size:13px;border-bottom:1px solid #f5f5f8}
.admin-body tr:last-child td{border-bottom:none}
.admin-body tr:hover td{background:#f8f9fc}

/* Admin Buttons */
.admin-body .btn{padding:7px 16px;font-size:12.5px;border-radius:5px}
.admin-body .btn-sm{padding:4px 10px;font-size:11.5px}

/* Admin Forms */
.admin-body input,.admin-body select,.admin-body textarea{font-size:13px;padding:8px 12px;border-radius:5px}

/* Admin Badges */
.admin-body .badge{font-size:11px;padding:2px 8px}

/* Admin Pagination */
.admin-body .pagination{padding:12px 0}
.admin-body .pagination a,.admin-body .pagination span{min-width:30px;height:30px;font-size:12px}

/* Admin Layout */
.admin-layout{display:flex;min-height:100vh}

/* Scrollbar */
.admin-sidebar::-webkit-scrollbar{width:4px}
.admin-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.1);border-radius:2px}
.admin-sidebar::-webkit-scrollbar-track{background:transparent}
