*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"PingFang HK","Microsoft YaHei",system-ui,sans-serif;background:#f5f6f8;color:#222;line-height:1.6}
a{color:#0a66c0;text-decoration:none}a:hover{text-decoration:underline}
.wrap{max-width:1080px;margin:0 auto;padding:16px}
.nav{background:#0f2540;color:#fff}
.nav-inner{max-width:1080px;margin:0 auto;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.logo{color:#fff;font-size:18px;font-weight:700}
.menu a,.menu span.who{color:#dce6f2;margin-left:16px;font-size:14px}
.menu .btn{color:#fff;background:#1a7f4b;padding:6px 12px;border-radius:6px}
.flash{padding:12px 16px;border-radius:8px;margin-top:12px;font-size:14px}
.flash-ok{background:#e2f3e8;color:#146634;border:1px solid #9fd8b6}
.flash-err{background:#fdecea;color:#96271f;border:1px solid #f2b8b1}
.hero{background:linear-gradient(120deg,#0f2540,#1e5f9e);color:#fff;border-radius:12px;padding:28px;margin-bottom:18px}
.hero h1{font-size:26px;margin-bottom:6px}.hero p{opacity:.85}
.brands{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.brands a{padding:8px 16px;background:#fff;border:1px solid #d8dee6;border-radius:20px;font-size:14px;color:#333}
.brands a.on{background:#0f2540;color:#fff;border-color:#0f2540}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.card{background:#fff;border:1px solid #e3e7ee;border-radius:12px;overflow:hidden;transition:box-shadow .2s}
.card:hover{box-shadow:0 6px 18px rgba(15,37,64,.12)}
.card .img{height:180px;display:flex;align-items:center;justify-content:center;background:#f0f3f8}
.card .img img{max-height:160px}
.card .body{padding:12px 14px}
.card h3{font-size:16px;margin-bottom:4px}
.card .brand{font-size:12px;color:#888}
.card .price{color:#c0392b;font-weight:700;margin-top:6px;font-size:14px}
.card .price-sub{color:#5a6b80;font-size:12px;margin-top:5px;padding-top:5px;border-top:1px dashed #e3e7ee}
.detail{display:grid;grid-template-columns:380px 1fr;gap:20px;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:20px}
.detail .pic{background:#f0f3f8;border-radius:10px;display:flex;align-items:center;justify-content:center;min-height:300px}
.detail .pic img{max-width:100%;max-height:320px}
table.cfg{width:100%;border-collapse:collapse;margin:10px 0 16px;font-size:14px}
table.cfg th,table.cfg td{border:1px solid #e3e7ee;padding:8px 10px;text-align:left}
table.cfg th{background:#f7f9fc}
.form{display:grid;gap:12px}
.form label{font-size:14px;font-weight:600}
.form input[type=text],.form input[type=password],.form input[type=tel],.form input[type=number],.form input[type=date],.form select,.form textarea{
  width:100%;padding:9px 12px;border:1px solid #c9d2dd;border-radius:8px;font-size:14px;background:#fff}
.radio-row{display:flex;gap:16px;font-weight:400!important;align-items:center}
.radio-row label{font-weight:400;display:flex;gap:4px;align-items:center}
.btn{display:inline-block;background:#1a7f4b;color:#fff!important;border:0;padding:11px 22px;border-radius:8px;font-size:15px;cursor:pointer;text-align:center}
.btn:hover{filter:brightness(1.1);text-decoration:none}
.btn-red{background:#c0392b}.btn-gray{background:#5a6b80}.btn-sm{padding:6px 12px;font-size:13px}
.amount{background:#fff8ec;border:1px solid #f0d9a8;border-radius:10px;padding:14px 16px;font-size:14px}
.amount b{color:#c0392b;font-size:18px}
.hint{font-size:12px;color:#888}
.foot{text-align:center;color:#7a8698;font-size:13px;padding:26px 10px}
.panel{background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:18px 20px;margin-bottom:16px}
.panel h2{font-size:17px;margin-bottom:12px}
table.list{width:100%;border-collapse:collapse;font-size:13px}
table.list th,table.list td{border:1px solid #e3e7ee;padding:7px 9px;text-align:left;vertical-align:top}
table.list th{background:#f7f9fc;white-space:nowrap}
.tag{display:inline-block;padding:2px 10px;border-radius:12px;font-size:12px}
.tag-pending_pay{background:#fff1cd;color:#8a6100}.tag-rented{background:#d9ead9;color:#1c5c1c}
.tag-returned{background:#d7e9f7;color:#14507e}.tag-completed{background:#e2e2e2;color:#555}
.tag-cancelled{background:#f6d9d6;color:#8d261b}.tag-pending{background:#fff1cd;color:#8a6100}
.tag-active{background:#d9ead9;color:#1c5c1c}
.tag-sent{background:#e7ddf6;color:#5b2d86}.tag-connected{background:#d7e9f7;color:#14507e}.tag-rejected{background:#f6d9d6;color:#8d261b}
.authbox{max-width:420px;margin:30px auto;background:#fff;border:1px solid #e3e7ee;border-radius:12px;padding:26px}
.authbox h2{margin-bottom:14px;font-size:20px}
.reg-hint{font-size:17px;color:#c0392b;font-weight:600;line-height:1.7}
.pending-body{font-size:16px;color:#333;background:#fff8ec;border:1px solid #f0d9a8;border-radius:10px;padding:14px 16px;margin-top:8px;line-height:1.8}
.modal-mask{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(15,37,64,.96);display:none;align-items:center;justify-content:center;z-index:9999;padding:16px;overflow:auto}
.modal-mask.open{display:flex;display:-webkit-flex;align-items:center;-webkit-align-items:center;justify-content:center;-webkit-justify-content:center}
.modal{background:#fff;border-radius:14px;padding:24px;max-width:420px;width:100%;box-shadow:0 12px 40px rgba(0,0,0,.25);text-align:center;margin:auto}
.modal .modal-body{font-size:15px;line-height:1.8;margin-bottom:16px;text-align:left}
/* 手机竖屏：机型卡片固定两列（auto-fill 在 343px 宽度下只容得下一个 230px 列，会塌成单列），
   同时压缩图片与字号，保证三行价格不挤出卡片 */
@media(max-width:600px){
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card .img{height:112px}
  .card .img img{max-height:96px}
  .card .body{padding:8px 9px}
  .card .brand{font-size:11px}
  .card h3{font-size:13px;margin-bottom:2px}
  .card .price{font-size:12px;margin-top:4px;line-height:1.45}
  .card .price-sub{font-size:11px;margin-top:4px;padding-top:4px}
}
@media(max-width:760px){.detail{grid-template-columns:1fr}.nav-inner{flex-direction:column;align-items:flex-start}.menu a,.menu span.who{margin:0 10px 0 0}}
/* 更窄的手机（≤380px，如 iPhone SE）两列时每列仅约 121px 内容宽，再收一档字号避免价格频繁折行 */
@media(max-width:380px){
  .grid{gap:8px}
  .card .body{padding:7px 7px}
  .card .price{font-size:11px}
  .card .price-sub{font-size:10px}
}
/* 全站浮窗客服：右侧垂直居中的圆形客服头像，点击跳转后台配置的客服链接 */
.cs-fab{position:fixed;right:14px;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;background:#fff;box-shadow:0 6px 18px rgba(15,37,64,.24);display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:9000}
.cs-fab:hover{text-decoration:none;transform:translateY(-50%) scale(1.06)}
.cs-fab img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 38%}
@media(max-width:600px){.cs-fab{width:48px;height:48px;right:10px}}
