/* HHCLUB 工作台公共样式（黑黑电竞风格） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #f4f5f8;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #2b2b34;
    font-size: 14px;
}
a { text-decoration: none; }

/* ===== 顶部导航 ===== */
.wb-nav { background: #23232e; color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wb-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 0 24px; height: 56px; gap: 28px; }
.wb-logo { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 1px; flex-shrink: 0; }
.wb-logo::before { content: "● "; color: #c43c32; }
.wb-nav-menus { display: flex; gap: 8px; flex: 1; }
.wb-nav-menu { color: #b9bcc9; padding: 8px 16px; border-radius: 8px; font-size: 14px; transition: all .15s; }
.wb-nav-menu:hover { color: #fff; background: rgba(255,255,255,.08); }
.wb-nav-menu.active { color: #fff; background: #c43c32; font-weight: 500; }
.wb-nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.wb-nav-title { color: #8f93a2; font-size: 13px; }
.wb-user { color: #ffd9a0; font-size: 13px; }
.wb-logout { color: #b9bcc9; font-size: 13px; padding: 6px 12px; border: 1px solid #4a4a58; border-radius: 6px; }
.wb-logout:hover { color: #fff; border-color: #c43c32; }

/* ===== 布局 ===== */
.wb-container { max-width: 1200px; margin: 20px auto; padding: 0 24px; }
.wb-card { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.wb-card-title { font-size: 16px; font-weight: 700; color: #23232e; padding-bottom: 12px; border-bottom: 1px solid #f0f0f3; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.wb-empty { text-align: center; color: #9aa0ae; padding: 60px 0; font-size: 14px; }

/* ===== 统计卡片 ===== */
.wb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 16px; }
.wb-stat { background: #fff; border-radius: 12px; padding: 20px; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 1px 4px rgba(0,0,0,.05); border-top: 3px solid transparent; }
.wb-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.wb-stat .num { font-size: 30px; font-weight: 700; color: #23232e; }
.wb-stat .label { color: #8f93a2; margin-top: 6px; font-size: 13px; }
.wb-stat.warn { border-top-color: #ff9500; }
.wb-stat.info { border-top-color: #007aff; }
.wb-stat.ok { border-top-color: #34c759; }
.wb-stat.hot { border-top-color: #c43c32; }

/* ===== 筛选/搜索 ===== */
.wb-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wb-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-tab { padding: 7px 18px; border-radius: 999px; background: #eceef2; color: #5c6070; cursor: pointer; font-size: 13px; transition: all .15s; }
.wb-tab.active { background: #c43c32; color: #fff; font-weight: 500; }
.wb-search { display: flex; gap: 8px; margin-left: auto; }
.wb-input { border: 1px solid #dcdfe6; border-radius: 8px; padding: 8px 12px; font-size: 14px; outline: none; min-width: 200px; }
.wb-input:focus { border-color: #c43c32; }

/* ===== 按钮 ===== */
.wb-btn { display: inline-block; border: none; border-radius: 8px; padding: 8px 20px; font-size: 14px; cursor: pointer; transition: opacity .15s; background: #eceef2; color: #2b2b34; }
.wb-btn:hover { opacity: .85; }
.wb-btn.primary { background: #c43c32; color: #fff; }
.wb-btn.blue { background: #007aff; color: #fff; }
.wb-btn.warn { background: #ff9500; color: #fff; }
.wb-btn.ghost { background: #fff; border: 1px solid #c43c32; color: #c43c32; }
.wb-btn.mini { padding: 4px 14px; font-size: 13px; border-radius: 6px; }
.wb-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== 订单卡片列表 ===== */
.wb-order { background: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); cursor: pointer; transition: box-shadow .15s; }
.wb-order:hover { box-shadow: 0 4px 14px rgba(0,0,0,.09); }
.wb-order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wb-order-id { font-weight: 700; font-size: 15px; color: #23232e; }
.wb-tag { font-size: 12px; padding: 3px 12px; border-radius: 999px; border: 1px solid; }
.wb-order-row { display: flex; gap: 24px; color: #5c6070; font-size: 13px; margin-top: 6px; flex-wrap: wrap; }
.wb-order-row .amount { color: #c43c32; font-weight: 700; font-size: 16px; }
.wb-order-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #eee; }

/* ===== 详情页 ===== */
.wb-banner { border-radius: 12px; color: #fff; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 4px; padding: 18px; margin-bottom: 16px; }
.wb-info-line { display: flex; padding: 7px 0; font-size: 14px; }
.wb-info-line .label { color: #8f93a2; width: 100px; flex-shrink: 0; }
.wb-info-line .value { color: #2b2b34; flex: 1; word-break: break-all; }
.wb-info-line .value.amount { color: #c43c32; font-weight: 700; font-size: 16px; }

.wb-play-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f4f5f8; }
.wb-play-item:last-child { border-bottom: none; }
.wb-play-name { font-weight: 600; font-size: 15px; }
.wb-play-meta { color: #8f93a2; font-size: 13px; margin-top: 4px; }
.wb-play-actions { display: flex; gap: 8px; }

/* ===== 售后记录 ===== */
.wb-as-item { padding: 14px 0; border-bottom: 1px solid #f4f5f8; }
.wb-as-item:last-child { border-bottom: none; }
.wb-as-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.wb-as-type { font-weight: 600; }
.wb-as-status { font-size: 13px; font-weight: 500; }
.wb-as-line { font-size: 13px; color: #5c6070; margin-top: 4px; display: flex; justify-content: space-between; }
.wb-as-line .amt { color: #c43c32; font-weight: 700; }

/* ===== 时间线 ===== */
.wb-track { position: relative; padding-left: 6px; }
.wb-track-item { display: flex; padding-bottom: 20px; position: relative; }
.wb-track-item:last-child { padding-bottom: 0; }
.wb-track-item:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 18px; bottom: -2px; width: 2px; background: #eceef2; }
.wb-track-dot { width: 12px; height: 12px; border-radius: 50%; background: #007aff; margin-top: 4px; margin-right: 16px; flex-shrink: 0; position: relative; z-index: 1; }
.wb-track-dot.red { background: #ff9500; }
.wb-track-text { font-size: 14px; color: #2b2b34; font-weight: 500; }
.wb-track-who { font-size: 12px; color: #c43c32; background: rgba(196,60,50,.08); padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.wb-track-sub { font-size: 13px; color: #8f93a2; margin-top: 3px; }
.wb-track-time { font-size: 12px; color: #b0b4c0; margin-top: 3px; }

/* ===== 弹窗（layer 皮肤简化） ===== */
.wb-layer-form { padding: 10px 6px; }
.wb-layer-form .row { display: flex; align-items: center; margin-bottom: 14px; gap: 10px; }
.wb-layer-form .row label { width: 90px; color: #5c6070; flex-shrink: 0; }
.wb-layer-form .row input, .wb-layer-form .row select, .wb-layer-form .row textarea { flex: 1; border: 1px solid #dcdfe6; border-radius: 8px; padding: 8px 10px; outline: none; font-size: 14px; }

/* ===== 门户卡片 ===== */
.wb-portal { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.wb-portal-card { background: #fff; border-radius: 14px; padding: 32px 28px; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 1px 4px rgba(0,0,0,.05); border-left: 4px solid #c43c32; }
.wb-portal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.wb-portal-card.blue { border-left-color: #007aff; }
.wb-portal-card h3 { font-size: 19px; margin-bottom: 8px; }
.wb-portal-card p { color: #8f93a2; font-size: 13px; line-height: 1.6; }

/* ===== 登录页 ===== */
.wb-login-wrap { min-height: 100vh; background: linear-gradient(135deg, #23232e 0%, #3a2b34 60%, #4e2a33 100%); display: flex; align-items: center; justify-content: center; }
.wb-login-box { width: 400px; background: #fff; border-radius: 16px; padding: 36px 36px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.wb-login-title { text-align: center; margin-bottom: 6px; font-size: 22px; font-weight: 700; color: #23232e; }
.wb-login-sub { text-align: center; color: #9aa0ae; font-size: 13px; margin-bottom: 22px; }
.wb-login-tabs { display: flex; border-bottom: 1px solid #eef0f3; margin-bottom: 20px; }
.wb-login-tab { flex: 1; text-align: center; padding: 10px 0; color: #8f93a2; cursor: pointer; font-size: 14px; border-bottom: 2px solid transparent; }
.wb-login-tab.active { color: #c43c32; font-weight: 600; border-bottom-color: #c43c32; }
.wb-login-field { margin-bottom: 14px; }
.wb-login-field input { width: 100%; border: 1px solid #dcdfe6; border-radius: 10px; padding: 11px 14px; font-size: 14px; outline: none; }
.wb-login-field input:focus { border-color: #c43c32; }
.wb-login-field .with-btn { display: flex; gap: 8px; }
.wb-login-field .with-btn input { flex: 1; }
.wb-login-submit { width: 100%; background: #c43c32; color: #fff; border: none; border-radius: 10px; padding: 12px; font-size: 15px; cursor: pointer; margin-top: 4px; }
.wb-login-submit:hover { opacity: .9; }
.wb-login-tip { text-align: center; color: #9aa0ae; font-size: 12px; margin-top: 16px; line-height: 1.7; }
