/* ===== 武当靓号网 v3 — 1:1对标购号网 ===== */
:root {
  --red: #C62828;
  --red-dark: #8E0000;
  --red-bright: #E53935;
  --red-light: #FFEBEE;
  --gold: #F9A825;
  --gold-light: #FFF8E1;
  --bg: #F5F5F5;
  --card: #FFFFFF;
  --text: #333;
  --text1: #444;
  --text2: #666;
  --text3: #999;
  --border: #E0E0E0;
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-light: #E3F2FD;
  --max-w: 1200px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; background:var(--bg); color:var(--text); font-size:14px; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; border:none; background:none; font:inherit; }
input { font:inherit; outline:none; }

/* ===== 顶部红色导航条（对标购号网） ===== */
.top-nav { background:var(--red); color:#fff; }
.top-nav-inner { max-width:var(--max-w); margin:0 auto; padding:0 16px; height:42px; display:flex; align-items:center; }
.top-nav > .top-nav-inner > a { color:rgba(255,255,255,.9); font-size:14px; font-weight:600; padding:0 14px; height:42px; display:inline-flex; align-items:center; transition:all .15s; text-decoration:none; white-space:nowrap; }
.top-nav > .top-nav-inner > a:first-child { color:#fff; font-weight:700; padding-left:0; }
.top-nav > .top-nav-inner > a:hover { color:#fff; background:rgba(255,255,255,.15); }
.top-nav > .top-nav-inner > a.active { color:#fff; background:rgba(0,0,0,.12); }
/* 带下拉的导航项 */
.nav-item { position:relative; }
.nav-item > a { color:rgba(255,255,255,.9); font-size:14px; font-weight:600; padding:0 14px; height:42px; display:flex; align-items:center; text-decoration:none; white-space:nowrap; transition:background .15s; cursor:pointer; }
.nav-item > a:hover { color:#fff; background:rgba(255,255,255,.15); }
.nav-item > a i.fa-caret-down { font-size:10px; margin-left:3px; }
.nav-dropdown { display:none; position:absolute; top:42px; left:0; background:#fff; border-radius:0 0 6px 6px; box-shadow:0 6px 20px rgba(0,0,0,.15); min-width:170px; max-width:100%; z-index:200; padding:6px 0; }
.nav-item:hover .nav-dropdown { display:block; }
.nav-dropdown a { color:var(--text); font-size:14px; font-weight:400; padding:10px 18px; line-height:1.3; display:flex; align-items:center; gap:8px; transition:all .12s; text-decoration:none; }
.nav-dropdown a:hover { background:#FFF5F5; color:var(--red); }
.nav-dropdown a i { width:16px; text-align:center; font-size:13px; color:var(--text3); }
.nav-dropdown a:hover i { color:var(--red); }
.nav-drop-sep { height:1px; background:var(--border); margin:5px 14px; }

/* ===== Header: 白底品牌+搜索 ===== */
.header { background:#fff; border-bottom:2px solid var(--red); }
.header-inner { max-width:var(--max-w); margin:0 auto; padding:0 16px; height:80px; display:flex; align-items:center; gap:24px; }
.logo { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.logo .logo-icon-img { width:48px; height:48px; border-radius:8px; flex-shrink:0; }
.logo-text { display:flex; flex-direction:column; line-height:1.3; }
.logo-text .logo-main { font-size:22px; font-weight:900; color:var(--red); letter-spacing:2px; }
.logo-text .logo-sub { font-size:11px; color:var(--text3); letter-spacing:1px; }
.header-center { display:flex; flex-direction:column; align-items:center; position:relative; margin-right:12px; flex-shrink:0; }
/* 城市独立模块 */
.city-standalone { display:flex; align-items:center; gap:3px; padding:3px 8px; background:#FFF5F5; border:1px solid #F0D0D0; border-radius:4px; cursor:pointer; transition:all .15s; white-space:nowrap; }
.city-standalone:hover { background:#FFE8E8; border-color:var(--red); }
.city-standalone .fa-map-marker-alt { color:var(--red); font-size:12px; }
.city-standalone .city-label { display:none; }
.city-standalone .city-name { font-size:13px; font-weight:700; color:var(--red); }
.city-standalone .city-arrow { font-size:9px; color:var(--red); transition:transform .2s; }
.city-standalone.open .city-arrow { transform:rotate(180deg); }
/* 搜索框 */
.search-wrap { flex:1; max-width:460px; position:relative; }
.search-box { display:flex; align-items:center; border:2px solid var(--red); border-radius:4px; background:#fff; overflow:visible; position:relative; }
.search-box input { flex:1; height:40px; padding:0 12px; border:none; font-size:14px; color:var(--text); background:transparent; }
.search-box input::placeholder { color:var(--text3); }
.search-box input:focus { outline:none; }
/* 隐藏浏览器自带清除按钮（鸿蒙/Chrome/Safari） */
.search-box input { -webkit-appearance:none; appearance:none; }
.search-box input::-webkit-search-cancel-button,
.search-box input::-webkit-search-clear-button,
.search-box input::-webkit-clear-button { -webkit-appearance:none; display:none !important; width:0 !important; height:0 !important; opacity:0 !important; pointer-events:none !important; }
.search-box input::-ms-clear,
.search-box input::-ms-reveal { display:none !important; width:0 !important; height:0 !important; }
.search-box input[type=text]::-webkit-inner-spin-button,
.search-box input[type=text]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.search-box .search-btn { width:72px; height:40px; background:var(--red); color:#fff; font-size:14px; font-weight:600; display:flex; align-items:center; justify-content:center; cursor:pointer; border:none; flex-shrink:0; }
.search-box .search-btn:hover { background:var(--red-dark); }
/* 手机端搜索label，默认隐藏 */
.mobile-search-header-label { display:none; font-size:13px; color:var(--text); font-weight:600; white-space:nowrap; margin-right:6px; flex-shrink:0; }
/* 手机端搜索行（运营商下方） */
.mobile-search-row { display:flex; align-items:center; gap:4px; padding:4px 8px 2px; }
.mobile-search-row .mobile-search-label { font-size:12px; color:var(--text); font-weight:600; white-space:nowrap; flex-shrink:0; }
.mobile-search-row .search-box { flex:1; border-radius:4px; overflow:hidden; max-width:60%; }
.mobile-search-row .search-box input { height:28px; font-size:13px; padding:0 8px; border-radius:0; }
.mobile-search-row .search-btn-icon { width:28px !important; min-width:28px !important; height:28px !important; font-size:12px !important; }
.search-btn-icon { width:34px !important; min-width:34px !important; padding:0 !important; font-size:13px !important; background:var(--red) !important; border:none !important; border-radius:0 4px 4px 0 !important; }
.search-btn-text { display:none; }
/* 城市下拉 */
.city-dropdown { display:none; position:absolute; top:100%; left:0; margin-top:4px; background:#fff; border:1px solid var(--border); border-radius:4px; box-shadow:0 4px 12px rgba(0,0,0,.12); z-index:100; min-width:120px; max-height:300px; overflow-y:auto; }
.city-dropdown.show { display:block; }
.city-dd-item { padding:8px 14px; font-size:13px; color:var(--text); cursor:pointer; transition:all .15s; }
.city-dd-item:hover { background:#FFF5F5; color:var(--red); }
.city-dd-item.active { color:var(--red); font-weight:600; background:#FFF5F5; }
/* 筛选栏搜索输入框 */
.filter-input { height:30px; padding:0 10px; border:1px solid var(--border); border-radius:3px; font-size:13px; color:var(--text); width:160px; }
.filter-input:focus { border-color:var(--red); outline:none; }
.filter-search-btn { height:30px; padding:0 16px; background:var(--red); color:#fff; font-size:12px; font-weight:600; border:none; border-radius:3px; cursor:pointer; margin-left:8px; }
.filter-search-btn:hover { background:var(--red-dark); }
.filter-clear-btn { height:30px; padding:0 12px; background:#f5f5f5; color:var(--text2); font-size:12px; border:1px solid var(--border); border-radius:3px; cursor:pointer; }
.filter-clear-btn:hover { background:#eee; }
/* 精准搜索11位方格 */
.digit-grid { display:flex; align-items:center; gap:4px; }
.digit-box { width:32px; height:34px; text-align:center; font-size:16px; font-weight:700; border:1.5px solid var(--border); border-radius:3px; color:var(--text); background:#fff; -webkit-appearance:none; appearance:none; outline:none; }
.digit-box:focus { border-color:var(--red); outline:none; box-shadow:0 0 0 2px rgba(198,40,40,.1); }
.digit-box::-webkit-inner-spin-button, .digit-box::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
input[type=text].digit-box { -webkit-appearance:none; appearance:none; background-image:none; }
.digit-box { border-bottom:none !important; -webkit-border-after:0 !important; }
.digit-box::placeholder { color:var(--text3); font-size:11px; font-weight:400; }
.digit-search-btn { width:28px; height:28px; border:none; border-radius:3px; background:var(--red); color:#fff; font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:4px; }
.digit-search-btn:hover { background:var(--red-dark); }
.digit-icon-btn { width:30px; height:30px; border:none; border-radius:3px; background:var(--red); color:#fff; font-size:13px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:4px; }
.digit-icon-btn:hover { background:var(--red-dark); }
.digit-clear-icon { background:#999; }
.digit-clear-icon:hover { background:#777; }
#filterCollapse { display:none !important; }
.digit-clear-btn { width:28px; height:28px; border:1px solid var(--border); border-radius:3px; background:#f5f5f5; color:var(--text2); font-size:11px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:2px; }
.digit-clear-btn:hover { background:#eee; }
.desktop-only { display:inline-flex; }
.mobile-only { display:none !important; }
/* 运营商标签pill样式 */
.mobile-carrier-row { display:none; gap:6px; padding:4px 0; align-items:center; }
.carrier-pill { padding:4px 12px; border-radius:14px; font-size:12px; font-weight:600; cursor:pointer; transition:opacity .2s; letter-spacing:1px; }
.carrier-pill:active { opacity:.7; }
.digit-sep { color:var(--text3); font-size:14px; margin:0 1px; }
.header-right { display:flex; align-items:center; gap:6px; margin-left:auto; flex-shrink:0; }
.header-phone { font-size:20px; font-weight:900; color:var(--red); letter-spacing:1px; }
.header-phone-label { font-size:11px; color:var(--text3); text-align:right; }

/* ===== 面包屑导航条 ===== */
.breadcrumb-bar { background:#F9F9F9; border-bottom:1px solid var(--border); }
.breadcrumb-inner { max-width:var(--max-w); margin:0 auto; padding:8px 16px 8px 28px; display:flex; align-items:center; gap:6px; font-size:13px; }
.bc-item { color:var(--text2); }
.bc-brand { color:var(--red); font-weight:700; }
.bc-active { color:var(--text); font-weight:600; }
.bc-link { color:var(--red); cursor:pointer; transition:color .15s; }
.bc-link:hover { color:var(--red-dark); text-decoration:underline; }
.bc-sep { color:var(--text3); font-size:10px; margin:0 2px; display:inline-flex; align-items:center; }

/* ===== 筛选栏 ===== */
.filter-bar { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:90; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.filter-inner { max-width:var(--max-w); margin:0 auto; padding:10px 16px 10px 28px; }
.filter-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:6px; }
.filter-row:last-child { margin-bottom:0; }
.filter-label { font-size:13px; color:var(--text2); font-weight:600; width:72px; min-width:72px; flex-shrink:0; display:inline-flex; align-items:center; }
.filter-tag { padding:4px 12px; border-radius:3px; font-size:12px; cursor:pointer; transition:all .15s; white-space:nowrap; background:var(--bg); color:var(--text2); border:1px solid transparent; }
.filter-tag:hover { border-color:var(--red); color:var(--red); }
.filter-tag.active { background:var(--red); color:#fff; border-color:var(--red); }
.price-inputs { display:flex; align-items:center; gap:4px; }
.price-inputs input { width:70px; height:26px; padding:0 8px; border:1px solid var(--border); border-radius:3px; font-size:12px; text-align:center; }
.price-inputs span { color:var(--text3); font-size:12px; }
.price-inputs button { padding:4px 10px; background:var(--red); color:#fff; border-radius:3px; font-size:12px; }

/* ===== 主区域 ===== */
.main-wrap { max-width:var(--max-w); margin:0 auto; padding:12px 16px 60px 28px; }
.page-content { max-width:var(--max-w); margin:0 auto; padding:12px 16px 60px 28px; }
.content { width:100%; }

/* 排序+统计 */
.sort-bar { display:flex; align-items:center; gap:8px; margin-bottom:10px; background:var(--card); padding:10px 14px; border-radius:4px; border:1px solid var(--border); }
.sort-count { font-size:13px; color:var(--text2); }
.sort-count strong { color:var(--red); font-size:16px; font-weight:800; }
.sort-btns { display:flex; gap:4px; margin-left:auto; }
.sort-btn { padding:6px 16px; border-radius:20px; font-size:13px; color:var(--text2); cursor:pointer; transition:all .2s; border:1px solid var(--border); }
.sort-btn:hover { border-color:var(--red); color:var(--red); }
.sort-btn.active { background:var(--red); color:#fff; font-weight:600; border-color:var(--red); box-shadow:0 2px 8px rgba(198,40,40,.25); }

/* ===== 号码网格（对标购号网卡片 — 大气清晰版） ===== */
.num-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.num-card { background:var(--card); border:1px solid var(--border); border-radius:6px; padding:20px 18px 16px; cursor:pointer; transition:all .2s; position:relative; }
.num-card:hover { border-color:var(--red); box-shadow:0 8px 25px rgba(198,40,40,.15); transform:translateY(-3px); }
.num-card .card-num { font-family:'Cascadia Code','JetBrains Mono','Fira Code',Consolas,'SF Mono',Menlo,monospace; font-size:22px; font-weight:800; letter-spacing:1.5px; line-height:1.3; white-space:nowrap; color:#111; }
.num-card .card-num .sep { color:#bbb; margin:0 2px; font-weight:400; }
.num-card .card-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.num-card .card-price { font-size:20px; font-weight:900; color:var(--red); }
.num-card .card-price .yen { font-size:13px; font-weight:400; }
.num-card .card-tags { display:flex; gap:4px; flex-wrap:wrap; }
.num-card .tag { padding:3px 8px; border-radius:3px; font-size:11px; font-weight:700; }
.num-card .tag.yd { background:#FFF3E0; color:#E65100; }
.num-card .tag.lt { background:#E3F2FD; color:#1565C0; }
.num-card .tag.dx { background:#E8F5E9; color:#2E7D32; }
.num-card .tag.gd { background:#F3E5F5; color:#7B1FA2; }
.num-card .tag.pattern { background:var(--gold-light); color:#F57F17; }
.num-card .card-city { font-size:12px; color:var(--text3); margin-top:6px; }
.num-card .card-city-inline { font-size:11px; color:var(--text3); margin-left:4px; }
.num-card .card-star { padding:2px 6px; font-size:10px; font-weight:800; color:#fff; border-radius:3px; }
.num-card .card-star.s6 { background:linear-gradient(135deg,#C62828,#B71C1C); }
.num-card .card-star.s5 { background:linear-gradient(135deg,#E53935,#C62828); }
.num-card .card-star.s4 { background:linear-gradient(135deg,#F9A825,#F57F17); }
.num-card .card-star.s3 { background:linear-gradient(135deg,#1E88E5,#1565C0); }
.num-card .card-tags { margin-top:6px; }
.num-card .card-fav { cursor:pointer; font-size:14px; color:#ccc; transition:color .2s; margin-left:6px; }
.num-card .card-fav.active { color:var(--red); }
.num-card .card-price-row { display:flex; align-items:center; gap:6px; margin-top:8px; }
.num-card .card-price-row .tag { margin-left:6px; }

/* 分页 */
.pagination { display:flex; justify-content:center; gap:4px; margin:20px 0; }
.pagination button { min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border:1px solid var(--border); border-radius:6px; font-size:14px; background:#fff; color:var(--text2); transition:all .15s; cursor:pointer; }
.pagination button:hover:not(:disabled) { border-color:var(--red); color:var(--red); background:#FFF5F5; }
.pagination button.active { background:var(--red); color:#fff; border-color:var(--red); }
.pagination button:disabled { opacity:.4; cursor:not-allowed; }
.pg-btn { min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:6px; font-size:14px; color:var(--text2); background:#fff; cursor:pointer; transition:all .15s; padding:0 12px; }
.pg-btn:hover:not(.disabled) { border-color:var(--red); color:var(--red); background:#FFF5F5; }
.pg-btn.active { background:var(--red); color:#fff; border-color:var(--red); }
.pg-btn.disabled { opacity:.4; cursor:not-allowed; }

/* 空状态 */
.empty-state { text-align:center; padding:60px 20px; color:var(--text3); }
.empty-state i { font-size:48px; margin-bottom:16px; opacity:.2; }
.loading-overlay { position:absolute; inset:0; background:rgba(255,255,255,.8); display:flex; align-items:center; justify-content:center; z-index:50; }
.loading-spinner { width:32px; height:32px; border:3px solid var(--border); border-top-color:var(--red); border-radius:50%; animation:spin .6s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* 底部 */
/* ===== 底部 ===== */
.footer { background:var(--red-dark); color:rgba(255,255,255,.85); padding:0; }
.footer-inner { max-width:var(--max-w); margin:0 auto; }
.footer-top { display:flex; align-items:center; justify-content:space-between; padding:22px 0 16px; gap:20px; flex-wrap:wrap; }
.footer-brand { display:flex; align-items:center; gap:12px; }
.footer-brand .fb-icon-img { width:36px; height:36px; border-radius:6px; flex-shrink:0; }
.footer-brand .fb-text { display:flex; flex-direction:column; }
.footer-brand .fb-name { color:#fff; font-size:18px; font-weight:800; letter-spacing:2px; }
.footer-brand .fb-sub { color:rgba(255,255,255,.6); font-size:11px; letter-spacing:1px; margin-top:1px; }
.footer-phone-block { text-align:right; }
.footer-phone-block .fp-label { font-size:11px; color:rgba(255,255,255,.55); }
.footer-phone-block .fp-num { font-size:22px; font-weight:900; color:var(--gold); letter-spacing:1px; margin-top:2px; }
.footer-mid { display:flex; justify-content:center; gap:28px; padding:14px 0; border-top:1px solid rgba(255,255,255,.12); flex-wrap:wrap; }
.footer-mid .fm-item { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.75); font-size:13px; }
.footer-mid .fm-item i { color:var(--gold); font-size:14px; width:16px; text-align:center; }
.footer-bottom { text-align:center; padding:12px 0; font-size:12px; color:rgba(255,255,255,.45); line-height:1.8; border-top:1px solid rgba(255,255,255,.08); }
.footer-bottom a { color:rgba(255,255,255,.55); transition:color .15s; }
.footer-bottom a:hover { color:var(--gold); }

/* Modal */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:200; display:none; align-items:center; justify-content:center; padding:16px; }
.modal-overlay.show { display:flex; }
.modal-box { background:#fff; border-radius:8px; width:100%; max-width:440px; max-height:85vh; overflow-y:auto; }
.modal-hd { padding:14px 18px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; background:#fff; z-index:1; }
.modal-hd h3 { font-size:16px; font-weight:600; }
.modal-close { font-size:20px; color:var(--text3); cursor:pointer; }
.modal-bd { padding:18px; }
.detail-num { text-align:center; font-family:'Consolas','SF Mono','DIN Alternate',monospace; font-size:32px; font-weight:900; padding:14px 0; letter-spacing:2px; }
.detail-num .sep { color:#ccc; }
.detail-badges { display:flex; justify-content:center; gap:6px; margin-bottom:14px; flex-wrap:wrap; }
.detail-badge { padding:3px 10px; border-radius:3px; font-size:12px; font-weight:500; }
.detail-price { text-align:center; margin:12px 0; font-size:28px; font-weight:800; color:var(--red); }
.detail-price .yen { font-size:16px; }
.detail-info { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0; }
.info-cell { padding:8px 10px; background:var(--bg); border-radius:3px; }
.info-cell .label { font-size:11px; color:var(--text3); }
.info-cell .val { font-size:13px; font-weight:500; }
.detail-actions { display:flex; gap:8px; margin-top:16px; }
.btn-red { padding:10px 20px; background:var(--red); color:#fff; border-radius:4px; font-size:14px; font-weight:600; flex:1; text-align:center; transition:background .2s; }
.btn-red:hover { background:var(--red-dark); }
.btn-gold { padding:10px 20px; background:var(--gold); color:#fff; border-radius:4px; font-size:14px; font-weight:600; flex:1; text-align:center; transition:background .2s; }
.btn-gold:hover { background:#F57F17; }
.btn-outline { padding:10px 20px; background:#fff; color:var(--red); border:1px solid var(--red); border-radius:4px; font-size:14px; font-weight:600; flex:1; text-align:center; }

/* Toast */
.toast { position:fixed; top:20px; left:50%; transform:translateX(-50%); padding:10px 24px; border-radius:4px; font-size:14px; z-index:999; animation:toastIn .3s; }
.toast.success { background:#38A169; color:#fff; }
.toast.error { background:#C62828; color:#fff; }
.toast.info { background:#1E88E5; color:#fff; }
@keyframes toastIn { from{opacity:0;transform:translateX(-50%) translateY(-10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* 订单状态标签 */
.order-tab { padding:8px 18px; border:1px solid var(--border); border-radius:4px; background:#fff; cursor:pointer; font-size:13px; color:var(--text2); transition:all .2s; }
.order-tab:hover { border-color:var(--red); color:var(--red); }
.order-tab.active { background:var(--red); color:#fff; border-color:var(--red); }
.order-item { padding:16px 20px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:16px; }
.order-item:last-child { border-bottom:none; }
.order-status { font-size:12px; padding:3px 10px; border-radius:3px; font-weight:600; white-space:nowrap; }
.order-status.pending { background:#fff3e0; color:#f57c00; }
.order-status.processing { background:#e3f2fd; color:#1976d2; }
.order-status.completed { background:#e8f5e9; color:#388e3c; }
.order-status.cancelled { background:#f5f5f5; color:#9e9e9e; }
/* FAQ */
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:last-child { border-bottom:none; }
.faq-q { padding:14px 0; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-size:14px; color:var(--text2); }
.faq-q:hover { color:var(--red); }
.faq-a { padding:0 0 14px 0; font-size:13px; color:var(--text3); line-height:1.8; display:none; }
.faq-item.open .faq-a { display:block; }
.faq-item.open .faq-q i { transform:rotate(180deg); }
/* Guide card */
.guide-card { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); cursor:pointer; }
.guide-card:last-child { border-bottom:none; }
.guide-card:hover { color:var(--red); }
.guide-icon { width:40px; height:40px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }

/* ===== 移动端适配 ===== */
/* 平板：768-1024px，3列 */
@media screen and (min-width:769px) and (max-width:1024px) {
  .num-grid { grid-template-columns:repeat(3,1fr) !important; gap:10px !important; }
  .m-grid-4, .m-grid-5 { grid-template-columns:repeat(3,1fr) !important; }
  .m-grid-3 { grid-template-columns:repeat(2,1fr) !important; }
}
/* 全局隐藏手机端菜单（电脑端默认不显示） */
.mobile-menu-overlay { display:none; }
.mobile-menu { display:none; }
/* ===== 双卡入口Banner ===== */
.dual-card-banner { display:flex; gap:16px; margin-bottom:16px; }
.dcb-card { flex:1; display:flex; align-items:center; gap:14px; padding:18px 20px; border-radius:10px; text-decoration:none; position:relative; overflow:hidden; transition:transform .2s, box-shadow .2s; }
.dcb-card:hover { transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,.12); }
.dcb-lianghao { background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%); color:#fff; }
.dcb-flowcard { background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%); color:#fff; }
.dcb-icon { width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.dcb-info { flex:1; }
.dcb-title { font-size:18px; font-weight:800; margin-bottom:4px; }
.dcb-desc { font-size:13px; opacity:.9; line-height:1.5; }
.dcb-cta { font-size:13px; font-weight:600; margin-top:6px; opacity:.95; }
.dcb-badge { position:absolute; top:10px; right:10px; background:var(--gold); color:#fff; font-size:11px; font-weight:700; padding:3px 8px; border-radius:10px; }
.dcb-badge-blue { background:var(--gold); }
/* 手机：768px以下，2列 */
@media screen and (max-width:768px) {
  :root { --max-w:100%; }
  /* 导航栏：横向滚动 */
  .top-nav-inner { padding:0 8px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  /* ===== 汉堡菜单 ===== */
  .hamburger-btn { display:flex !important; }
  .mobile-menu-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:998; }
  .mobile-menu-overlay.open { display:block; }
  .mobile-menu { display:block; position:fixed; top:0; right:-280px; width:280px; height:100%; background:#fff; z-index:999; overflow-y:auto; transition:right .3s ease; box-shadow:-2px 0 12px rgba(0,0,0,.15); }
  .mobile-menu.open { right:0; }
  .mobile-menu-header { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; background:var(--red); color:#fff; }
  .mobile-menu-header span { font-size:16px; font-weight:700; }
  .mobile-menu-close { font-size:22px; cursor:pointer; color:#fff; background:none; border:none; padding:4px; }
  .mobile-menu-phone { display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); font-size:15px; font-weight:700; color:var(--red); }
  .mobile-menu-phone i { font-size:14px; }
  .mobile-menu-section { padding:8px 0; border-bottom:1px solid var(--border); }
  .mobile-menu-section-title { padding:8px 16px; font-size:12px; color:var(--text3); font-weight:600; text-transform:uppercase; }
  .mobile-menu a { display:flex; align-items:center; gap:8px; padding:10px 16px; font-size:14px; color:var(--text); text-decoration:none; transition:background .15s; }
  .mobile-menu a:hover { background:#FFF5F5; }
  .mobile-menu a i { width:18px; text-align:center; color:var(--red); font-size:13px; }
  /* ===== 手机端导航隐藏，用汉堡菜单代替 ===== */
  .top-nav { display:none !important; }
  .breadcrumb-bar { display:none !important; }
  /* Header：精简一行 */
  .header { border-bottom:1px solid var(--border); }
  .header-inner { height:56px; padding:0 10px; gap:10px; }
  .logo .logo-icon-img { width:32px; height:32px; border-radius:6px; }
  .logo-text .logo-main { font-size:15px; }
  .logo-text .logo-sub { display:none; }
  .header-center { order:0; width:auto; flex:0 1 auto; margin:0; }
  .search-wrap { max-width:100%; display:flex; align-items:center; flex:1; }
  .header-right { display:none; }
  /* 手机端筛选栏搜索框 */
  .filter-row .search-wrap .search-box input { height:36px; font-size:13px; }
  .filter-row .search-wrap .search-box .search-btn { width:48px; height:36px; }
  /* 筛选栏：精简 */
  .filter-bar { position:sticky; top:0; z-index:90; }
  .filter-inner { padding:6px 8px; }
  .filter-label { width:auto; min-width:auto; font-size:12px; padding:0 6px 0 0; }
  .filter-row { gap:4px; margin-bottom:4px; }
  .filter-tag { padding:3px 8px; font-size:11px; }
  /* 城市/运营商行横向滚动 */
  .filter-row.scroll-row { overflow-x:auto; -webkit-overflow-scrolling:touch; flex-wrap:nowrap; -ms-overflow-style:none; scrollbar-width:none; padding-bottom:2px; }
  .filter-row.scroll-row::-webkit-scrollbar { display:none; }
  /* 模糊搜索、精准搜索、价格、星级 默认折叠 */
  .filter-collapse { display:none; }
  .filter-collapse.show { display:flex; }
  .filter-toggle { display:flex; align-items:center; justify-content:center; padding:6px; font-size:12px; color:var(--red); cursor:pointer; gap:4px; }
  .filter-toggle i { font-size:10px; transition:transform .2s; }
  .filter-toggle.open i { transform:rotate(180deg); }
  /* 精准搜索方格缩小 */
  .filter-row.mobile-only { flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; -ms-overflow-style:none; }
  .filter-row.mobile-only::-webkit-scrollbar { display:none; }
  .mobile-search-label { font-size:11px; margin-right:2px; }
  .digit-grid { gap:1px; flex-wrap:nowrap; justify-content:flex-start; flex:1; min-width:0; }
  .digit-box { width:22px; height:28px; font-size:12px; border-width:1px; padding:0; }
  .digit-box::placeholder { font-size:8px; }
  .digit-sep { font-size:10px; margin:0; }
  .digit-search-btn { width:26px; height:28px; font-size:11px; }
  .digit-clear-btn { width:26px; height:28px; font-size:10px; }
  .digit-search-btn { width:30px; height:30px; font-size:12px; margin-left:2px; }
  .digit-clear-btn { width:30px; height:30px; font-size:11px; margin-left:1px; }
  .mobile-search-label { font-size:12px; color:var(--text); margin-right:4px; white-space:nowrap; flex-shrink:0; }
  .filter-input { width:110px; height:26px; font-size:12px; }
  .filter-search-btn { height:26px; padding:0 10px; font-size:11px; margin-left:4px; }
  .filter-clear-btn { height:26px; padding:0 8px; font-size:11px; }
  /* 桌面/手机切换 */
  .desktop-only { display:none !important; }
  .mobile-only { display:flex !important; }
  .desktop-filter-row { display:none !important; }
  .precise-search-row { display:flex !important; flex-wrap:nowrap; align-items:center; gap:3px; overflow-x:auto; }
  .precise-search-row .filter-label { display:inline !important; margin-right:2px; white-space:nowrap; font-size:12px; }
  .precise-search-row .digit-box { width:18px; height:22px; font-size:11px; padding:0; text-align:center; flex-shrink:0; }
  .precise-search-row .digit-sep { font-size:11px; flex-shrink:0; }
  .precise-search-row .digit-icon-btn { width:26px; height:26px; font-size:12px; flex-shrink:0; }
  .mobile-carrier-row { display:flex !important; }
  .filter-toggle { display:none !important; }
  div#filterCollapse { display:block !important; }
  .mobile-filter-item { display:flex !important; flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; -ms-overflow-style:none; scrollbar-width:none; gap:4px !important; margin-bottom:4px !important; }
  .mobile-filter-item::-webkit-scrollbar { display:none; }
  .mobile-filter-item .filter-tag { padding:3px 7px; font-size:11px; flex-shrink:0; }
  .mobile-filter-item .filter-label { font-size:11px; margin-right:2px; flex-shrink:0; width:auto; min-width:auto; }
  /* 号码卡片：2列 */
  .main-wrap { padding:8px 8px 40px 8px; }
  .num-grid { grid-template-columns:repeat(2,1fr) !important; gap:8px !important; }
  .hamburger-btn { display:flex !important; }
  .num-card { padding:12px 8px; }
  .num-card .card-num { font-size:17px; }
  .num-card .card-price { font-size:16px; margin-bottom:4px; }
  .num-card .card-price span[style*="font-size:16px"] { font-size:14px !important; }
  .num-card .card-price span[style*="font-size:12px"] { font-size:10px !important; }
  .num-card .card-tags { margin-top:2px; }
  /* 弹窗 */
  .modal-box { max-width:95vw; margin:0 8px; }
  .detail-num { font-size:22px; }
  .detail-price { font-size:22px; }
  .detail-price span[style*="font-size:24px"] { font-size:18px !important; }
  .detail-price span[style*="font-size:16px"] { font-size:13px !important; }
  .detail-info { grid-template-columns:1fr 1fr; gap:6px; }
  .detail-actions { flex-direction:column; }
  .detail-actions button { width:100%; }
  /* Footer */
  .footer-inner { padding:0 12px; }
  .footer-top { flex-direction:column; align-items:center; gap:10px; padding:16px 0 10px; }
  .footer-phone-block { text-align:center; }
  .footer-mid { flex-wrap:wrap; gap:12px 20px; padding:10px 0; }
  /* 子页面容器 */
  #pageContainer { padding:8px !important; }
  /* Grid class 响应式 */
  .m-grid-4, .m-grid-5 { grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }
  .m-grid-3 { grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }
  .m-grid-2 { grid-template-columns:1fr !important; }
  .m-form-2 { grid-template-columns:1fr !important; }
  .zixun-grid { grid-template-columns:1fr !important; }
  /* ===== 双卡入口Banner手机端 ===== */
  .dual-card-banner { flex-direction:column; gap:10px; margin-bottom:12px; }
  .dcb-card { padding:14px 16px; }
  .dcb-icon { width:40px; height:40px; font-size:18px; }
  .dcb-title { font-size:16px; }
  .dcb-desc { font-size:12px; }
  .dcb-cta { font-size:12px; }
  /* ===== 底部固定导航栏 ===== */
  .bottom-nav { display:flex !important; }
  .main-wrap { padding-bottom:56px !important; }
  #pageContainer { padding-bottom:56px !important; }
  /* ===== 浮动客服按钮 ===== */
  .float-kf { display:flex !important; }
  /* ===== 流量卡页面手机端适配 ===== */
  #page-flowcard .sort-bar { flex-wrap:wrap; gap:6px; margin-bottom:10px !important }
  #page-flowcard .sort-bar h2 { font-size:16px !important }
  #page-flowcard .sort-bar span { font-size:12px !important }
  /* hero缩小 */
  #page-flowcard > div[style*="linear-gradient"] { padding:16px 14px !important; border-radius:10px !important; margin-bottom:10px !important }
  #page-flowcard h1 { font-size:22px !important; letter-spacing:1px !important; margin-bottom:4px !important }
  #page-flowcard > div[style*="linear-gradient"] p { font-size:12px !important; margin-bottom:8px !important }
  #page-flowcard > div[style*="linear-gradient"] span[style*="border-radius:20px"] { padding:2px 8px !important; font-size:10px !important }
  #page-flowcard > div[style*="linear-gradient"] span[style*="opacity"] { font-size:10px !important }
  /* 热门速览改2列 */
  #fcHotGrid { grid-template-columns:repeat(2,1fr) !important; gap:8px !important }
  /* 选卡攻略缩小 */
  #page-flowcard a[href*="flowcard-guide"] > div { padding:10px 12px !important; border-radius:8px !important; gap:10px !important }
  #page-flowcard a[href*="flowcard-guide"] > div > div:first-child { font-size:24px !important }
  #page-flowcard a[href*="flowcard-guide"] > div > div:nth-child(2) > div:first-child { font-size:13px !important }
  #page-flowcard a[href*="flowcard-guide"] > div > div:nth-child(2) > div:last-child { font-size:11px !important }
  /* 全部套餐手机端保持左图右文 */
  #fcGrid { grid-template-columns:1fr !important; gap:10px !important }
  /* 卡片图片缩小适配窄屏 */
  #fcGrid > div > div:first-child > div:first-child { flex:0 0 38% !important; padding:6px !important }
  #fcGrid > div > div:first-child > div:first-child img { width:100% !important }
  #fcGrid > div > div:first-child > div:last-child { padding:10px !important }
  #fcGrid h4 { font-size:13px !important }
  #fcGrid > div > div:first-child > div:last-child > div:nth-child(3) { font-size:11px !important; line-height:1.5 !important }
  /* 主区域padding缩小 */
  .fc-main-wrap { padding:12px !important; border-radius:8px !important }
  .fc-main-wrap h3 { font-size:14px !important; margin-bottom:8px !important }
  /* 说明区缩小 */
  #page-flowcard > div:last-child { padding:10px 12px !important; font-size:12px !important; line-height:1.6 !important }
  #page-flowcard > div:last-child > p:first-child { font-size:13px !important }
  /* ===== 资讯页手机返回栏 ===== */
  .mobile-back-bar { display:flex !important; position:sticky; top:0; z-index:100; background:var(--red); color:#fff; padding:10px 14px; align-items:center; gap:6px; font-size:14px; font-weight:600; text-decoration:none; margin:-12px -12px 12px; border-radius:0 0 8px 8px }
  .mobile-back-bar:active { background:var(--red-dark) }
}
/* 安卓大屏手机优化（412-768px，Pixel/Samsung等） */
@media screen and (min-width:412px) and (max-width:768px) {
  .header-inner { height:56px; padding:0 12px; gap:12px; }
  .logo .logo-icon-img { width:36px; height:36px; }
  .logo-text .logo-main { font-size:17px; }
  /* 筛选区域整体缩小 */
  .filter-inner { padding:4px 8px; }
  .filter-row { gap:3px; margin-bottom:2px; }
  .filter-tag { padding:4px 10px; font-size:12px; }
  .filter-label { font-size:12px; padding:0 5px 0 0; }
  /* 运营商pill缩小 */
  .carrier-pill { padding:4px 12px; font-size:12px; border-radius:14px; }
  /* 精准搜索方格缩小 */
  .mobile-search-label { font-size:11px; margin-right:2px; }
  .digit-box { width:22px; height:26px; font-size:12px; }
  .digit-sep { font-size:9px; }
  .digit-search-btn { width:26px; height:26px; font-size:11px; }
  .digit-clear-btn { width:26px; height:26px; font-size:10px; margin-left:1px; }
  /* 搜索框缩小 */
  .mobile-search-row { gap:4px; padding:2px 8px 0; }
  .mobile-search-row .mobile-search-label { font-size:12px; }
  .mobile-search-row .search-box input { height:28px; font-size:13px; padding:0 8px; }
  .search-btn-icon { width:34px !important; min-width:34px !important; font-size:13px !important; }
  /* 卡片 */
  .num-card { padding:12px 8px; }
  .num-card .card-num { font-size:17px; letter-spacing:1px; }
  .num-card .card-price { font-size:16px; }
  .num-card .tag { padding:2px 6px; font-size:10px; }
  .num-card .card-city { font-size:10px; }
  .main-wrap { padding:8px 8px 40px 8px; }
  .num-grid { gap:8px !important; }
  .filter-toggle { margin-top:2px; font-size:11px; }
  .filter-input { width:110px; height:26px; font-size:12px; }
  .filter-search-btn { height:26px; font-size:11px; }
  .filter-clear-btn { height:26px; font-size:11px; }
}
@media screen and (max-width:480px) {
  .header-center .search-box { max-width:100%; }
  .header-center .search-box input { font-size:14px; padding:8px 10px; }
  .m-grid-4, .m-grid-5 { grid-template-columns:repeat(2,1fr) !important; }
  .m-grid-3 { grid-template-columns:repeat(2,1fr) !important; }
}
.m-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.m-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.m-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.m-grid-5 { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.m-form-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hamburger-btn { display:none; align-items:center; justify-content:center; width:36px; height:36px; background:none; border:1px solid var(--border); border-radius:4px; cursor:pointer; font-size:18px; color:var(--text); flex-shrink:0; }
.hamburger-btn:hover { background:var(--bg); }

.page-h1{font-size:22px;font-weight:800;color:#c0392b;padding:16px 16px 8px;max-width:var(--max-w,1200px);margin:0 auto}
