/* ============================================
   Guardian Atlas · 守护者图鉴
   清新马卡龙 / 扁平化 / 抽屉式布局
   ============================================ */

:root{
  /* 马卡龙主色板 */
  --mint:        #A8E6CF;   /* 薄荷绿 */
  --mint-deep:   #6FCF97;
  --peach:       #FFD3B6;   /* 蜜桃 */
  --peach-deep:  #FFB088;
  --lilac:       #C7CEEA;   /* 薰衣草紫 */
  --lilac-deep:  #9AA8E0;
  --lemon:       #FFF3B0;   /* 柠檬黄 */
  --rose:        #FFAAA5;   /* 玫瑰粉 */
  --sky:         #B5E5F5;   /* 晴空蓝 */
  --cream:       #FFFBF5;   /* 奶油白 */

  /* 文字 */
  --ink:         #4A4A5C;
  --ink-soft:    #6B6B80;
  --ink-faint:   #9494A8;

  /* 结构 */
  --card:        #FFFFFF;
  --line:        #EFEAF5;
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   26px;
  --shadow:      0 4px 18px rgba(122,130,168,.10);
  --shadow-hover:0 8px 28px rgba(122,130,168,.18);

  --drawer-w:    250px;
  --drawer-w-sm: 208px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",-apple-system,sans-serif;
  background:
    radial-gradient(1100px 520px at 8% -6%,  #E8F8F1 0%, transparent 62%),
    radial-gradient(900px 460px at 96% 4%,   #F3F0FF 0%, transparent 58%),
    radial-gradient(1000px 600px at 50% 108%,#FFF6E9 0%, transparent 62%),
    var(--cream);
  color:var(--ink);
  min-height:100vh;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

/* ---------- 顶部条 ---------- */
.topbar{
  position:sticky; top:0; z-index:60;
  display:flex; align-items:center; gap:14px;
  height:62px; padding:0 22px;
  background:rgba(255,251,245,.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.icon-btn{
  width:40px; height:40px; flex:0 0 40px;
  display:grid; place-items:center;
  border:none; border-radius:12px;
  background:linear-gradient(135deg,var(--mint) 0%,var(--sky) 100%);
  color:#3D6B5A; cursor:pointer;
  transition:transform .2s, box-shadow .2s;
  box-shadow:0 3px 10px rgba(168,230,207,.55);
}
.icon-btn:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(168,230,207,.7); }
.icon-btn:active{ transform:translateY(0); }

.topbar .brand{
  font-size:17px; font-weight:700; letter-spacing:.4px;
  display:flex; align-items:center; gap:9px;
}
.brand .dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--peach-deep);
  box-shadow:0 0 0 4px rgba(255,176,136,.22);
}
.topbar .spacer{ flex:1; }
.topbar .reset-chip{
  font-size:12.5px; color:var(--ink-soft);
  background:#fff; border:1px solid var(--line);
  padding:6px 13px; border-radius:999px;
  white-space:nowrap;
}
.reset-chip b{ color:var(--mint-deep); }

/* ---------- 抽屉 ---------- */
.drawer{
  position:fixed; top:0; left:0; z-index:90;
  width:var(--drawer-w); height:100vh;
  background:linear-gradient(180deg,#FFFFFF 0%,#FDFBFF 100%);
  border-right:1px solid var(--line);
  padding:22px 16px;
  transform:translateX(-100%);
  transition:transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y:auto;
  box-shadow:6px 0 30px rgba(122,130,168,.10);
}
.drawer.open{ transform:translateX(0); }

.drawer-logo{
  display:flex; align-items:center; gap:11px;
  padding:6px 10px 20px;
  border-bottom:1px solid var(--line);
  margin-bottom:14px;
}
.drawer-logo .mark{
  width:36px; height:36px; border-radius:11px;
  background:linear-gradient(135deg,var(--peach) 0%,var(--rose) 100%);
  display:grid; place-items:center; font-size:18px;
  flex:0 0 36px;
}
.drawer-logo h1{ font-size:15.5px; font-weight:800; letter-spacing:.5px; }
.drawer-logo span{ display:block; font-size:11px; color:var(--ink-faint); font-weight:400; letter-spacing:1.6px; }

.nav-group-title{
  font-size:11px; color:var(--ink-faint);
  letter-spacing:1.8px; font-weight:700;
  padding:14px 12px 8px;
}
.nav-item{
  display:flex; align-items:center; gap:11px;
  padding:11px 13px; margin-bottom:4px;
  border-radius:13px; cursor:pointer;
  color:var(--ink-soft); font-size:14px; font-weight:500;
  text-decoration:none;
  transition:background .18s, color .18s, transform .18s;
  position:relative;
}
.nav-item .ico{ font-size:16px; width:20px; text-align:center; }
.nav-item:hover{ background:#F7F4FF; color:var(--ink); transform:translateX(2px); }
.nav-item.active{
  background:linear-gradient(135deg,#EAF9F2 0%,#F0F4FF 100%);
  color:#3D6B5A; font-weight:700;
}
.nav-item.active::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:3.5px; height:20px; border-radius:3px;
  background:linear-gradient(180deg,var(--mint-deep),var(--lilac-deep));
}
.nav-item .badge{
  margin-left:auto; font-size:10.5px; font-weight:700;
  background:var(--lemon); color:#8A7A2E;
  padding:2px 8px; border-radius:999px;
}

.drawer-foot{
  margin-top:20px; padding:14px 12px;
  border-top:1px dashed var(--line);
  font-size:11.5px; color:var(--ink-faint); line-height:1.8;
}

.overlay{
  position:fixed; inset:0; z-index:80;
  background:rgba(74,74,92,.22);
  backdrop-filter:blur(2px);
  opacity:0; pointer-events:none;
  transition:opacity .3s;
}
.overlay.show{ opacity:1; pointer-events:auto; }

/* ---------- 主内容 ---------- */
.main{
  max-width:1180px;
  margin:0 auto;
  padding:34px 26px 80px;
}

/* Hero / 封面 */
.hero{
  position:relative; overflow:hidden;
  border-radius:var(--radius-lg);
  padding:52px 46px;
  margin-bottom:30px;
  background:linear-gradient(125deg,#EAF9F2 0%,#F0F4FF 46%,#FFF4EA 100%);
  box-shadow:var(--shadow);
}
.hero::after{
  content:""; position:absolute; right:-90px; top:-90px;
  width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle,rgba(168,230,207,.55) 0%,rgba(199,206,234,.28) 52%,transparent 70%);
  pointer-events:none;
}
.hero::before{
  content:""; position:absolute; right:130px; bottom:-130px;
  width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,211,182,.5) 0%,transparent 68%);
  pointer-events:none;
}
.hero-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:1.2px;
  color:#5E8A78; background:rgba(255,255,255,.78);
  border:1px solid rgba(168,230,207,.9);
  padding:6px 14px; border-radius:999px; margin-bottom:20px;
}
.hero-tag i{ width:6px; height:6px; border-radius:50%; background:var(--mint-deep); font-style:normal; }
.hero h2{
  font-size:clamp(30px,4.2vw,46px);
  font-weight:800; letter-spacing:1px;
  line-height:1.24; position:relative; z-index:1;
}
.hero h2 em{
  font-style:normal;
  background:linear-gradient(100deg,var(--mint-deep),var(--lilac-deep),var(--peach-deep));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p{
  margin-top:15px; max-width:600px;
  font-size:15px; color:var(--ink-soft); line-height:1.85;
  position:relative; z-index:1;
}
.hero-actions{ margin-top:26px; display:flex; gap:12px; flex-wrap:wrap; position:relative; z-index:1; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 24px; border-radius:999px;
  border:none; cursor:pointer; font-size:14px; font-weight:700;
  text-decoration:none; transition:transform .2s, box-shadow .2s;
}
.btn-primary{
  background:linear-gradient(120deg,var(--mint-deep),#7FD3C4);
  color:#fff; box-shadow:0 6px 18px rgba(111,207,151,.42);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(111,207,151,.55); }
.btn-ghost{
  background:rgba(255,255,255,.9); color:var(--ink-soft);
  border:1.5px solid var(--line);
}
.btn-ghost:hover{ transform:translateY(-2px); border-color:var(--lilac); color:var(--ink); }

/* 重置倒计时卡 */
.countdown{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin-top:30px; padding:18px 22px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.9);
  border-radius:var(--radius);
  position:relative; z-index:1;
  backdrop-filter:blur(6px);
}
.countdown .cd-ico{
  width:42px; height:42px; border-radius:13px; flex:0 0 42px;
  background:linear-gradient(135deg,var(--lemon),var(--peach));
  display:grid; place-items:center; font-size:19px;
}
.countdown .cd-label{ font-size:12px; color:var(--ink-faint); letter-spacing:.6px; }
.countdown .cd-time{
  font-size:24px; font-weight:800; letter-spacing:1px;
  font-variant-numeric:tabular-nums; color:var(--ink);
}
.countdown .cd-sub{ font-size:12px; color:var(--ink-faint); }

/* 区块标题 */
.section-head{
  display:flex; align-items:flex-end; gap:14px;
  margin:38px 0 18px;
}
.section-head h3{
  font-size:21px; font-weight:800; letter-spacing:.6px;
  display:flex; align-items:center; gap:10px;
}
.section-head h3::before{
  content:""; width:5px; height:20px; border-radius:4px;
  background:linear-gradient(180deg,var(--mint-deep),var(--lilac-deep));
}
.section-head .sub{ font-size:12.5px; color:var(--ink-faint); margin-bottom:3px; }
.section-head .more{ margin-left:auto; font-size:13px; color:var(--lilac-deep); cursor:pointer; font-weight:600; }
.section-head .more:hover{ text-decoration:underline; }

/* 卡片网格 */
.grid{ display:grid; gap:18px; }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .22s, box-shadow .22s, border-color .22s;
  position:relative; overflow:hidden;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(199,206,234,.75);
}

/* 功能入口卡 */
.feature{
  cursor:pointer;
  padding:26px 22px 34px;
}
.feature .f-ico{
  width:52px; height:52px; border-radius:16px;
  display:grid; place-items:center; font-size:23px;
  margin-bottom:16px;
}
.feature h4{ font-size:16px; font-weight:800; margin-bottom:7px; letter-spacing:.3px; }
.feature p{ font-size:13.2px; color:#61617A; line-height:1.78; padding-right:20px; }
.feature .f-arrow{
  position:absolute; right:20px; bottom:20px;
  font-size:15px; color:var(--ink-faint);
  transition:transform .22s, color .22s;
}
.feature:hover .f-arrow{ transform:translateX(4px); color:var(--mint-deep); }

.bg-mint  { background:linear-gradient(135deg,#D6F5E7,#B9EBD9); color:#3E7D64; }
.bg-peach { background:linear-gradient(135deg,#FFE8D8,#FFD2B8); color:#A96234; }
.bg-lilac { background:linear-gradient(135deg,#E6E9F9,#CFD6F2); color:#5C68A8; }
.bg-lemon { background:linear-gradient(135deg,#FFF9D6,#FFEDA0); color:#8A7823; }
.bg-rose  { background:linear-gradient(135deg,#FFE5E4,#FFCBC7); color:#B05A55; }
.bg-sky   { background:linear-gradient(135deg,#DDF2FA,#BCE3F2); color:#3E7A93; }

/* 周报条目 */
.weekly-item{
  display:flex; gap:16px; padding:16px 0;
  border-bottom:1px dashed var(--line);
}
.weekly-item:last-child{ border-bottom:none; padding-bottom:2px; }
.weekly-item .w-date{
  flex:0 0 62px; text-align:center;
  font-size:11px; color:var(--ink-faint); line-height:1.4;
}
.weekly-item .w-date b{ display:block; font-size:18px; color:var(--ink); font-weight:800; }
.weekly-item .w-body h5{ font-size:14.5px; font-weight:700; margin-bottom:5px; }
.weekly-item .w-body p{ font-size:12.8px; color:#61617A; line-height:1.72; }
.w-tag{
  display:inline-block; font-size:10.5px; font-weight:700;
  padding:2px 9px; border-radius:999px; margin-top:7px;
}
.w-tag.new{ background:#E6F9F0; color:#4E8F76; }
.w-tag.hot{ background:#FFEFEF; color:#C06B66; }
.w-tag.info{ background:#EFF1FC; color:#6B77B8; }

/* 突袭掉落表 */
.raid-list{ display:flex; flex-direction:column; gap:12px; }
.raid-row{
  display:flex; align-items:center; gap:16px;
  padding:15px 18px; border-radius:var(--radius-sm);
  background:#FDFCFF; border:1px solid var(--line);
  transition:background .2s, transform .2s;
}
.raid-row:hover{ background:#F7F9FF; transform:translateX(3px); }
.raid-row .r-badge{
  width:38px; height:38px; border-radius:12px; flex:0 0 38px;
  display:grid; place-items:center; font-size:15px; font-weight:800;
}
.raid-row .r-name{ font-size:14px; font-weight:700; }
.raid-row .r-meta{ font-size:11.5px; color:var(--ink-faint); margin-top:2px; }
.raid-row .r-loot{
  margin-left:auto; text-align:right;
  font-size:12px; color:var(--ink-soft);
}
.raid-row .r-loot b{ color:var(--mint-deep); font-weight:700; }

/* 职业卡 */
.class-card{ text-align:center; padding:26px 18px; }
.class-card .c-emblem{
  width:64px; height:64px; margin:0 auto 14px;
  border-radius:20px; display:grid; place-items:center; font-size:31px;
}
.class-card h5{ font-size:15px; font-weight:800; margin-bottom:4px; }
.class-card .c-en{ font-size:10.5px; color:var(--ink-faint); letter-spacing:1.4px; margin-bottom:10px; }
.class-card p{ font-size:12.8px; color:#61617A; line-height:1.75; }

/* 页脚 */
.foot{
  margin-top:42px; padding-top:22px;
  border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
  font-size:12px; color:var(--ink-faint);
}
.foot b{ color:var(--ink-soft); }

/* 移动端 */
@media (max-width:920px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .hero{ padding:38px 26px; }
  .hero h2{ font-size:29px; }
}
@media (max-width:640px){
  .main{ padding:22px 16px 64px; }
  .grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; }
  .hero{ padding:32px 22px; border-radius:22px; }
  .hero h2{ font-size:26px; }
  .topbar{ padding:0 14px; }
  .topbar .reset-chip{ display:none; }
  .drawer{ width:min(84vw,var(--drawer-w)); }
  .countdown{ gap:12px; padding:15px 16px; }
  .countdown .cd-time{ font-size:20px; }
  .raid-row{ flex-wrap:wrap; gap:10px; }
  .raid-row .r-loot{ margin-left:0; text-align:left; width:100%; }
  .section-head h3{ font-size:18px; }
}

/* 滚动条 */
::-webkit-scrollbar{ width:9px; }
::-webkit-scrollbar-thumb{ background:#E2DDF0; border-radius:99px; }
::-webkit-scrollbar-thumb:hover{ background:#D0C9E6; }
::-webkit-scrollbar-track{ background:transparent; }


/* 功能卡作为链接时的重置（首页周报卡） */
a.card.feature{ text-decoration:none; color:inherit; }
a.card.feature:hover{ text-decoration:none; }
