*{box-sizing:border-box}
:root{
  --orange:#ff8a16;
  --orange2:#ffb45b;
  --orange-soft:#fff7ee;
  --cream:#f8f4ee;
  --line:#e7e7e7;
  --text:#20242c;
  --muted:#8e96a3;
  --danger:#e45757;
  --ok:#2aa96b;
  --shadow:0 14px 40px rgba(42,33,21,.07);
}
html,body{margin:0;padding:0;background:var(--cream);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif}
a{color:var(--orange);text-decoration:none}
.page{max-width:1180px;margin:34px auto;padding:0 18px 50px}
.card{background:#fff;border:1px solid #eee;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}
.head{padding:28px 32px;background:linear-gradient(180deg,#fff9f1,#fffdf9);border-bottom:1px solid #f1e8dc;display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;align-items:center;gap:16px}
.mark{display:grid;grid-template-columns:repeat(4,16px);gap:4px;width:76px}
.mark i{height:3px;background:var(--orange);transform:rotate(36deg);border-radius:8px}
.brand{font-size:25px;font-weight:800;color:var(--orange);letter-spacing:.5px}
.subtitle{font-size:14px;color:var(--muted);margin-top:6px}
.top-links{font-size:14px;color:#6e7480;display:flex;gap:18px;flex-wrap:wrap}
.content{padding:28px 32px 34px}
.shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:30px}
.shortcut{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border:1.5px solid #ffb463;border-radius:16px;background:#fffaf4;color:#7b2f00;font-size:21px;font-weight:800}
.shortcut small{display:block;color:#7c8491;font-size:13px;font-weight:500;margin-top:5px}
.section-title{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;margin:20px 0 18px}
.bar{width:5px;height:28px;background:var(--orange);border-radius:5px}
.servers{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}
.server-card{padding:22px 24px;border:1.5px solid #dfe3e8;border-radius:16px;background:#fff;cursor:pointer;position:relative}
.server-card.active{border-color:var(--orange);background:#fff9f2}
.server-card strong{font-size:20px}
.server-card .muted{color:var(--muted);margin-top:8px}
.radio{position:absolute;right:20px;top:22px;width:24px;height:24px;border:2px solid #cbd2da;border-radius:50%}
.active .radio{border-color:var(--orange);box-shadow:inset 0 0 0 5px #fff;background:var(--orange)}
.plan-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px;
  align-items:stretch;
}
.plan{border:1.5px solid #e2e5e9;border-radius:16px;padding:18px 20px;background:#fff;position:relative;cursor:pointer}
.plan.active{border-color:var(--orange);background:#fff9f2}
.plan-title{font-size:18px;font-weight:800}
.price{margin-top:8px;color:var(--orange);font-weight:800;font-size:29px}
.price small{font-size:14px;color:#8a8f98;margin-left:4px}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tag{font-size:12px;background:#f2f2f2;border-radius:7px;padding:4px 8px;color:#666}
.form{display:grid;gap:16px}
.label{font-weight:800;margin-bottom:7px}
.req{color:#e33}
.input,.select{width:100%;height:54px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;padding:0 15px;font-size:16px;outline:none;transition:.15s}
.input:focus,.select:focus{border-color:#ffb463;box-shadow:0 0 0 3px rgba(255,138,22,.08)}
.help{font-size:12px;color:#929aa7;margin-top:6px}
.agree{display:flex;align-items:center;gap:9px;font-size:15px;flex-wrap:wrap}
.agree input{width:18px;height:18px;accent-color:var(--orange)}
.btn{height:58px;border:0;border-radius:13px;background:linear-gradient(90deg,var(--orange2),var(--orange));color:#fff;font-size:20px;font-weight:800;cursor:pointer}
.btn:hover{filter:brightness(.98)}
.note{text-align:center;color:var(--orange);font-size:12px;margin-top:10px}
.alert{padding:13px 15px;border-radius:11px;margin-bottom:15px}
.alert.err{background:#fff1f1;color:#b23b3b;border:1px solid #ffd0d0}
.alert.ok{background:#effbf5;color:#237a4e;border:1px solid #cbeedc}
.simple{max-width:760px;margin:40px auto;padding:0 16px}
.simple .card{padding:28px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px 10px;border-bottom:1px solid #eee;text-align:left;font-size:14px}
.table th{color:#6c7480}
.admin-wrap{max-width:1180px;margin:30px auto;padding:0 16px}
.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.admin-nav a{padding:10px 14px;background:#fff;border:1px solid #e5e5e5;border-radius:9px;color:#333}
.admin-nav a.active{background:#fff5e9;border-color:#ffc47d;color:#d86d00}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
textarea.input{height:130px;padding-top:12px;resize:vertical}
@media(max-width:760px){
  .page{margin-top:15px;padding:0 10px 30px}
  .head,.content{padding:20px 16px}
  .head{align-items:flex-start}
  .top-links{display:none}
  .shortcuts,.servers,.grid2,.plan-list{grid-template-columns:1fr}
  .brand{font-size:21px}
  .section-title{font-size:21px}
  .shortcut{font-size:18px}
}


.online-status{
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  margin-top:2px;
}
.online-status.is-online{
  color:#00e5b0;
}
.online-status.is-offline{
  color:#9aa1aa;
}


/* 在线人数专用颜色 */
.server-card .online-count{
    color:#00c98d !important;
    font-size:15px;
    font-weight:500;
    margin-top:8px;
    line-height:1.4;
}


/* =====================================
   VIP老板位
===================================== */

.vip-boss-section{
  margin-top:36px;
  padding-top:8px;
  scroll-margin-top:20px;
}

.vip-boss-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:22px;
}

.vip-boss-option{
  min-height:105px;
  border:1.5px solid #dfe3e8;
  border-radius:15px;
  padding:20px 22px;
  background:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:.18s ease;
}

.vip-boss-option:hover{
  border-color:#ffb15d;
}

.vip-boss-option.active{
  border-color:#ff8a16;
  background:#fff8ef;
}

.vip-boss-name{
  font-size:19px;
  font-weight:800;
  color:#20242c;
}

.vip-boss-price{
  margin-top:9px;
  font-size:17px;
  font-weight:700;
  color:#ff8a16;
}

.vip-boss-check{
  opacity:0;
  color:#ff8a16;
  font-size:26px;
  font-weight:800;
}

.vip-boss-option.active .vip-boss-check{
  opacity:1;
}

.vip-boss-form{
  display:grid;
  gap:16px;
}

.vip-boss-pay{
  margin-top:6px;
}

.vip-boss-msg{
  min-height:20px;
  text-align:center;
  color:#ff8a16;
  font-size:13px;
}

html{
  scroll-behavior:smooth;
}

@media(max-width:760px){

  .vip-boss-options{
    grid-template-columns:1fr;
  }

}


/* ==========================================
   首页社区/VIP独立切换
========================================== */

.home-panel{
    display:none;
}

.home-panel.active{
    display:block;
}

.shortcuts .shortcut.active{
    border-color:#ff8a16;
    background:#fff8ef;
}

.shortcuts .shortcut{
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.shortcuts .shortcut:hover{
    border-color:#ff8a16;
    background:#fffaf5;
}

#vip-panel{
    margin-top:28px;
    padding-top:0;
}

/* 切到VIP时只显示VIP内容 */
#vip-panel.home-panel{
    display:none;
}

#vip-panel.home-panel.active{
    display:block;
}

@media(max-width:760px){
    #vip-panel{
        margin-top:20px;
    }
}


/* 社区名称 */
.community-name{
  font-size:15px;
  font-weight:700;
  color:#ff8a16;
  margin-bottom:5px;
  letter-spacing:.5px;
}


/* ==========================================
   深色社区赞助横幅
========================================== */

.hero-head{
  position:relative;
  overflow:hidden;
  padding:28px 32px 26px;
  color:#fff;

  background-color:#171b23;

  background-image:
    linear-gradient(
      rgba(255,255,255,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.045) 1px,
      transparent 1px
    );

  background-size:32px 32px;

  border-bottom:1px solid rgba(255,255,255,.05);
}

/* 右上角微弱橙色光晕 */
.hero-head::after{
  content:"";
  position:absolute;
  top:-80px;
  right:-55px;
  width:260px;
  height:220px;
  pointer-events:none;

  background:
    radial-gradient(
      circle,
      rgba(255,139,22,.30) 0%,
      rgba(255,139,22,.12) 35%,
      transparent 70%
    );

  filter:blur(8px);
}

.hero-eyebrow{
  display:flex;
  align-items:center;
  gap:7px;

  color:#9aa5b7;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size:11px;
  letter-spacing:1.5px;
  font-weight:600;

  margin-bottom:12px;
}

.hero-dot{
  width:7px;
  height:7px;

  background:#ff9518;

  border-radius:50%;

  box-shadow:
    0 0 8px rgba(255,149,24,.35);
}

.hero-title{
  font-size:31px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.3px;

  color:#fff;

  margin-bottom:8px;

  text-shadow:
    0 1px 2px rgba(0,0,0,.18);
}

.hero-desc{
  color:#c1c8d2;

  font-size:14px;
  line-height:1.7;

  margin-bottom:15px;
}

.hero-tags{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.hero-tags span{
  display:inline-flex;
  align-items:center;

  height:26px;

  padding:0 12px;

  border:1px solid rgba(255,255,255,.19);

  border-radius:999px;

  color:#d8dde5;

  background:
    rgba(255,255,255,.055);

  font-size:12px;
  line-height:1;
}

@media(max-width:760px){

  .hero-head{
    padding:24px 20px 22px;
  }

  .hero-title{
    font-size:26px;
  }

  .hero-desc{
    font-size:13px;
  }

  .hero-eyebrow{
    font-size:9px;
    letter-spacing:1px;
  }

}


/* 顶部提示框 */
.notice-box{
  margin:18px 0 22px;
  background:#fff;
  border:1px solid #efefef;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(42,33,21,.05);
  padding:14px 18px;
}

.notice-list{
  display:grid;
  gap:10px;
}

.notice-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#6f7783;
  font-size:13px;
  line-height:1.65;
}

.notice-num{
  flex:0 0 auto;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff4e5;
  color:#f39a23;
  font-size:12px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
}

.notice-text{
  flex:1 1 auto;
}

@media(max-width:760px){
  .notice-box{
    padding:12px 14px;
    margin:14px 0 18px;
  }
  .notice-item{
    font-size:12px;
    gap:8px;
  }
  .notice-num{
    width:20px;
    height:20px;
    font-size:11px;
  }
}


/* =========================================
   提示框右侧联系方式
========================================= */

.notice-box{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);
  align-items:center;
  gap:36px;
}

.notice-list{
  min-width:0;
}

.notice-contact{
  min-height:120px;

  display:flex;
  flex-direction:column;
  justify-content:center;

  gap:22px;

  padding:10px 10px 10px 30px;

  border-left:1px solid #eeeeee;
}

.notice-contact-line{
  font-size:17px;
  line-height:1.6;
  font-weight:600;

  color:#df6767;
}

.notice-contact-main{
  font-size:19px;
  font-weight:700;
}

@media(max-width:850px){

  .notice-box{
    grid-template-columns:1fr;
    gap:18px;
  }

  .notice-contact{
    min-height:auto;

    padding:
      18px 0
      2px;

    border-left:0;
    border-top:1px solid #eeeeee;

    gap:12px;
  }

  .notice-contact-line{
    font-size:15px;
  }

  .notice-contact-main{
    font-size:16px;
  }

}
