*{box-sizing:border-box}
body{margin:0;background:#f5f6f8;color:#1f2329;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:#ff6700;text-decoration:none}
.hd{background:#fff;border-bottom:1px solid #ebedf0;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;padding-left:max(20px,calc((100% - 880px)/2 + 18px));padding-right:max(20px,calc((100% - 880px)/2 + 18px));position:sticky;top:0;z-index:20}
.logo{display:flex;align-items:center;gap:8px;color:#1f2329;font-weight:600;font-size:15px}
.mk{width:26px;height:26px;border-radius:8px;background:#ff6700;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.hd-r{display:flex;align-items:center;gap:14px;font-size:13px}
.hd-r .who{color:#8a9099;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-r .dash{background:#ff6700;color:#fff;padding:6px 14px;border-radius:8px}
.wrap{max-width:880px;margin:0 auto;padding:22px 18px 60px}
h1{font-size:20px;margin:0 0 4px}
.sub{color:#8a9099;font-size:13px;margin-bottom:18px}
.panel{background:#fff;border:1px solid #ebedf0;border-radius:14px;padding:20px;margin-bottom:16px}
.panel h2{font-size:15px;margin:0 0 14px}
.field{margin-bottom:14px}
label{display:block;font-size:12.5px;color:#8a9099;margin-bottom:6px}
input,select{width:100%;padding:11px 12px;border:1px solid #dcdfe6;border-radius:9px;font-size:14px;font-family:inherit;background:#fff;outline:none;color:#1f2329}
input:focus,select:focus{border-color:#ff6700;box-shadow:0 0 0 3px rgba(255,103,0,.09)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:9px;border:1px solid #dcdfe6;background:#fff;color:#4e5969;font-size:13.5px;font-family:inherit;cursor:pointer;text-decoration:none}
.btn:hover{border-color:#ff6700;color:#ff6700}
.btn-primary{background:#ff6700;border-color:#ff6700;color:#fff}
.btn-primary:hover{background:#e85d00;border-color:#e85d00;color:#fff}
.btn-danger{color:#d03050;border-color:#f5c2c7}
.btn-danger:hover{background:#fef0f0;border-color:#d03050;color:#d03050}
.btn-block{width:100%}
.alert{padding:10px 14px;border-radius:9px;font-size:13px;margin-bottom:14px;background:#fef0f0;color:#d03050;border:1px solid #f5c2c7}
.alert.ok{background:#e8f7ee;color:#0f7a3d;border-color:#bfe6ce}
.hint{font-size:12px;color:#a0a6ae;line-height:1.8;margin-top:10px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.site{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #f2f3f5}
.site:last-child{border-bottom:0;padding-bottom:0}
.site:first-child{padding-top:0}
.site .av{width:44px;height:44px;border-radius:12px;background:#fff2e8;color:#ff6700;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;flex:none}
.site .bd{flex:1;min-width:0}
.site .nm{font-weight:600;font-size:15px}
.site .url{font-size:12.5px;color:#8a9099;margin-top:2px;word-break:break-all}
.site .mt{font-size:12px;color:#8a9099;margin-top:4px}
.site .ops{display:flex;flex-direction:column;gap:8px;flex:none}
.badge{display:inline-block;font-size:11.5px;padding:1px 8px;border-radius:999px;background:#e8f7ee;color:#0f7a3d;margin-left:8px;vertical-align:1px}
.badge.warn{background:#fff4e6;color:#c25e00}
.badge.off{background:#f2f3f5;color:#8a9099}
.empty{text-align:center;padding:34px 10px;color:#8a9099;font-size:13px}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.plan{border:1px solid #dcdfe6;border-radius:12px;padding:14px;cursor:pointer;background:#fff;position:relative}
.plan input{position:absolute;opacity:0;pointer-events:none}
.plan .pn{font-weight:600;font-size:14px}
.plan .pd{font-size:12px;color:#8a9099;margin-top:2px}
.plan .pp{font-size:19px;font-weight:700;color:#ff6700;margin-top:8px}
.plan.on{border-color:#ff6700;background:#fff8f2;box-shadow:0 0 0 3px rgba(255,103,0,.08)}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #f0f1f5;font-size:13.5px}
.kv:last-child{border-bottom:0}
.kv b{font-weight:600}
.big{font-size:26px;font-weight:700;color:#ff6700}
.ft{text-align:center;color:#a0a6ae;font-size:12px;padding:26px 16px 40px}
.ft a{color:#a0a6ae;text-decoration:underline}
@media(max-width:600px){
  .site{flex-wrap:wrap}
  .site .ops{flex-direction:row;width:100%}
  .site .ops .btn{flex:1}
  .wrap{padding:16px 14px 50px}
  /* 最近订单：窄屏下订单号独占一行，避免站点名/金额被挤成两行 */
  .kv{flex-wrap:wrap;gap:4px 12px;font-size:12.5px}
  .kv>span:first-child{flex:1 0 100%;font-size:11.5px;color:#8a9099}
}

/* ========== 返回主站（四站统一入口，橙色高对比） ========== */
.back-home{
    display:inline-flex;align-items:center;gap:5px;flex:none;
    height:30px;padding:0 11px;border-radius:7px;
    background:linear-gradient(135deg,#ff8a3d 0%,#ff5722 100%);
    color:#fff!important;font-size:13px;font-weight:600;line-height:1;
    text-decoration:none!important;white-space:nowrap;
    box-shadow:0 1px 4px rgba(255,87,34,.28);
    transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.back-home:hover{box-shadow:0 3px 10px rgba(255,87,34,.38);filter:brightness(1.04)}
.back-home:active{transform:scale(.97)}
.back-home svg{width:13px;height:13px;flex:none}

/* 顶栏右侧出口：放在登录/注册之后，用白底描边弱化，避免和「注册」两个橙块并排 */
.hd-r .back-home{
    background:#fff;
    background-image:none;
    color:#4e5969!important;
    border:1px solid #dcdfe6;
    box-shadow:none;
    font-weight:500;
}
.hd-r .back-home:hover{border-color:#ff6700;color:#ff6700!important;box-shadow:none;filter:none}

@media (max-width:480px){
    .back-home{height:26px;padding:0 9px;font-size:11.5px;gap:3px;border-radius:6px}
    .back-home svg{width:11px;height:11px}
}

/* 顶栏左侧：只放品牌，窄屏隐藏「新媒体网 ·」前缀 */
.hd-l{display:flex;align-items:center;gap:12px;min-width:0}
.hd-l .logo{min-width:0}
@media(max-width:600px){
  .hd-l{gap:9px}
  .hd-l .tx-l{display:none}
  .hd-r{gap:10px}
  .hd-r .back-home{height:26px;padding:0 9px;font-size:11.5px;gap:3px;border-radius:6px}
  .hd-r .back-home svg{width:11px;height:11px}
}
