/* ==========================================================
 * 奶龙引导页
 *   加载页：原样深色
 *   Hub 页：背景图 + 深色遮罩，按钮用奶龙黄
 * ========================================================== */

/* ---------- 背景层 ---------- */
.nl-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  display: none;

  background-image: url("/bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.is-hub .nl-bg{ display: block; }

/* 深色遮罩：保证卡片和文字清楚 */
body.is-hub .nl-bg:before{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(180deg,
      rgba(8,9,11,.78) 0%,
      rgba(8,9,11,.62) 35%,
      rgba(8,9,11,.72) 70%,
      rgba(8,9,11,.86) 100%);
}

/* 底部暖光 */
body.is-hub .nl-bg:after{
  content:'';
  position:absolute; left:0; right:0; bottom:0; height:40vh;
  background: linear-gradient(0deg, rgba(255,179,0,.20), rgba(255,179,0,0));
}

/* 光斑星点关掉 */
.nl-blob, .nl-spark{ display: none !important; }

/* 加载页保持原样 */
.intro{
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #1a1508 0%, #0a0b0d 55%, #06070a 100%);
}

/* ==========================================================
 * 按钮 —— 奶龙黄
 * ========================================================== */

/* 卡片底部的 CTA「进入店铺 →」/「加入群聊 →」 */
body.is-hub .card-cta{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #FFC93C 0%, #FFB300 100%) !important;
  color: #4A2600 !important;
  font-weight: 800 !important;
  border-radius: 24px !important;
  padding: 11px 22px !important;
  margin-top: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 8px 20px rgba(255,179,0,.42) !important;
  transition: transform .14s, box-shadow .14s !important;
  border: 0 !important;
}

body.is-hub .card-cta:active{
  transform: translateY(2px) scale(.985) !important;
  box-shadow: 0 4px 10px rgba(255,179,0,.36) !important;
}

body.is-hub .card-cta svg{
  stroke: #4A2600 !important;
  width: 16px !important;
  height: 16px !important;
}

/* 「复制群号」按钮 */
body.is-hub .qq-copy{
  background: linear-gradient(135deg, #FFC93C 0%, #FFB300 100%) !important;
  color: #4A2600 !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 7px 16px !important;
  font-weight: 800 !important;
  font-size: 12.5px !important;
  box-shadow: 0 5px 14px rgba(255,179,0,.38) !important;
  cursor: pointer !important;
  transition: transform .14s !important;
}

body.is-hub .qq-copy:active{
  transform: scale(.96) !important;
}

/* 徽章「推荐」「官方群」*/
body.is-hub .card-badge{
  background: linear-gradient(135deg, #FFC93C 0%, #FFB300 100%) !important;
  color: #4A2600 !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 10px rgba(255,179,0,.35) !important;
}

/* 卡片图标也染成奶龙黄 */
body.is-hub .card-icon{
  color: #FFB300 !important;
}

/* 标签小药丸 */
body.is-hub .card-tags i{
  background: rgba(255,201,60,.18) !important;
  color: #FFD966 !important;
  border: 1px solid rgba(255,201,60,.32) !important;
}

/* QQ 群号文字 */
body.is-hub .qq-no{
  color: #FFD966 !important;
  font-weight: 800 !important;
}

/* 卡片本身保持深色玻璃感 */
body.is-hub .card{
  background: rgba(20,22,26,.72) !important;
  border: 1px solid rgba(255,201,60,.22) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(10px) !important;
}

body.is-hub .card-main{
  border-color: rgba(255,201,60,.42) !important;
}

body.is-hub .card-qq{
  border-color: rgba(99,166,255,.35) !important;
}

/* 卡片标题/描述 */
body.is-hub .card-title{
  color: #FFF6DA !important;
}
body.is-hub .card-desc{
  color: rgba(255,240,200,.72) !important;
}

/* 公告条 */
body.is-hub .notice-bar{
  background: rgba(20,22,26,.70) !important;
  border: 1px solid rgba(255,201,60,.24) !important;
  color: #FFD966 !important;
  backdrop-filter: blur(8px) !important;
}

/* Toast */
body.is-hub .toast{
  background: rgba(255,201,60,.96) !important;
  color: #3A2000 !important;
  font-weight: 700 !important;
}

/* Hub 顶部留白 */
body.is-hub .hub-inner{
  padding-top: calc(24px + env(safe-area-inset-top)) !important;
}
