/* =============================================================
   星野陪玩 · PC 端设计层（>= 961px 生效）
   与 h5.css 分工：此文件只负责桌面端，移动端样式见 h5.css
   ============================================================= */

@media (min-width: 961px) {

  :root {
    --pc-bg: #f7f7f9;
    --pc-line: #ececf1;
    --pc-radius: 20px;
  }

  body { background: var(--pc-bg); }

  /* ---------------------------------------------------- 顶栏 */
  .site-header {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(16, 24, 40, .06);
  }
  .header-inner {
    height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
  }
  .brand { font-size: 18px; letter-spacing: -.2px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; box-shadow: 0 6px 14px rgba(79, 70, 229, .22); }

  .nav { justify-content: center; align-items: center; gap: 2px; }
  .nav a {
    position: relative; padding: 9px 15px; border-radius: 9px;
    font-size: 14.5px; color: #52525b; font-weight: 500;
  }
  .nav a:hover { background: #f4f5f9; color: #18181b; }
  .nav a.active { background: transparent; color: #18181b; font-weight: 600; }
  .nav a.active::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 1px;
    height: 2px; border-radius: 2px; background: #4f46e5;
  }
  .header-actions { gap: 10px; }
  .icon-btn { width: 38px; height: 38px; border-color: var(--pc-line); background: #fff; border-radius: 11px; }
  .avatar-xs { width: 34px; height: 34px; }

  /* ---------------------------------------------------- 按钮 */
  .btn { border-radius: 11px; }
  .btn-primary {
    background: #4f46e5;
    box-shadow: none;
  }
  .btn-primary:hover {
    background: #4338ca;
    transform: none;
    box-shadow: 0 10px 22px rgba(79, 70, 229, .24);
  }
  .btn-line { border-color: #e2e2ea; background: #fff; }
  .btn-line:hover { border-color: #4f46e5; color: #4f46e5; }

  /* ---------------------------------------------------- 首屏 */
  .hero { margin-top: 24px; }
  .hero-slider {
    height: clamp(300px, 23vw, 360px);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(16, 24, 40, .16);
  }
  .hero-slide { align-items: stretch; height: 100%; }
  .hero-slide.active { height: 100%; }
  .hero-slide::after {
    background: linear-gradient(92deg, rgba(8, 6, 24, .66) 0%, rgba(8, 6, 24, .36) 34%, rgba(8, 6, 24, 0) 62%);
  }
  .hero-copy {
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 56px; max-width: 620px; height: 100%;
  }
  .hero-copy h1 { font-size: 36px; line-height: 1.18; letter-spacing: -1.2px; }
  .hero-copy p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .78); max-width: 460px; }
  .hero-copy .btn { margin-top: 20px; height: 42px; padding: 0 24px; font-size: 14px; border-radius: 11px; }
  .hero-dots { left: 56px; bottom: 20px; }
  .hero-dots i { width: 6px; height: 6px; }
  .hero-dots i.on { width: 18px; }


  .notice-bar {
    margin-top: 18px; padding: 13px 20px; border-radius: 14px;
    border: 1px solid var(--pc-line); box-shadow: none; font-size: 13px;
  }

  /* ---------------------------------------------------- 区块 */
  .section { margin-top: 76px; }
  .section-head { align-items: flex-end; margin-bottom: 24px; }
  .section-head h2 { font-size: 28px; letter-spacing: -.9px; }
  .section-head .sub { font-size: 13.5px; margin-top: 6px; }
  .link-more { font-size: 13.5px; font-weight: 600; }
  .link-more:hover { color: #4338ca; }

  /* ---------------------------------------------------- 游戏入口 */
  .game-entry { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
  .game-entry a {
    padding: 18px 12px 16px; border-radius: 18px;
    border: 1px solid var(--pc-line); box-shadow: none; background: #fff;
  }
  .game-entry a:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16, 24, 40, .08); }
  .game-entry img { width: 46px; height: 46px; border-radius: 14px; }
  .game-entry b { font-size: 13.5px; margin-top: 10px; }

  /* ---------------------------------------------------- 服务卡片 */
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .svc-card {
    border-radius: 20px; border: 1px solid var(--pc-line);
    box-shadow: none; background: #fff;
  }
  .svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(16, 24, 40, .1); }
  .svc-cover { aspect-ratio: 4 / 3; }
  .svc-body { padding: 15px 16px 17px; gap: 7px; }
  .svc-title { font-size: 15.5px; }
  .svc-meta { font-size: 12px; }

  .price { color: #18181b; font-size: 20px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
  .price .unit { color: #9a9aa3; font-size: 11.5px; font-weight: 500; }
  .sales { color: #9a9aa3; font-size: 11.5px; }
  .tag { border-radius: 7px; font-size: 11px; }

  /* ---------------------------------------------------- 商城 */
  .mall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .prod-card {
    border-radius: 20px; border: 1px solid var(--pc-line); box-shadow: none; background: #fff;
  }
  .prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(16, 24, 40, .1); }
  .prod-cover { aspect-ratio: 1 / 1; }
  .prod-body { padding: 14px 16px 16px; }
  .prod-name { font-size: 14.5px; }
  .prod-price { margin-top: 8px; }

  /* ---------------------------------------------------- 通用卡片 */
  .card { border-radius: 18px; border: 1px solid var(--pc-line); box-shadow: none; background: #fff; }
  .section .m-why > .card { padding: 26px 22px !important; }
  .section .m-why h3 { font-size: 16px; }
  .section .m-why p { font-size: 13px; line-height: 1.7; }

  /* 招募横幅 */
  .cta-card {
    padding: 40px 44px; border-radius: 24px; border: none;
    background: linear-gradient(120deg, #17142b, #312e81 52%, #5b21b6);
    color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  .cta-card h2 { font-size: 26px; letter-spacing: -.6px; }
  .cta-card p { color: rgba(255, 255, 255, .72); margin-top: 10px; font-size: 14px; }
  .cta-card .btn { background: #fff; color: #312e81; border: none; height: 44px; padding: 0 24px; }
  .cta-card .btn:hover { background: #f4f4ff; color: #312e81; box-shadow: none; }

  /* ---------------------------------------------------- 列表页 */
  .container > div > h1[style] { font-size: 30px !important; letter-spacing: -1px !important; }
  .tab { padding: 8px 16px; font-size: 13px; border-color: var(--pc-line); }
  .tab.on { background: #fff; border-color: #a5b4fc; color: #4f46e5; font-weight: 600; }
  .chip { padding: 8px 16px; font-size: 13px; border-color: var(--pc-line); }
  .chip.on { background: #4f46e5; border-color: #4f46e5; color: #fff; }
  .chip.on:hover { color: #fff; }

  /* ---------------------------------------------------- 详情页 */
  .detail-layout { gap: 32px; margin-top: 28px; }
  .gallery { border-radius: 24px; border: 1px solid var(--pc-line); box-shadow: none; }
  .gallery-main { border-radius: 0; }
  .info-panel { border-radius: 24px; border: 1px solid var(--pc-line); box-shadow: none; padding: 30px; }
  .info-panel h1 { font-size: 26px; letter-spacing: -.8px; }
  .price-block { border-radius: 16px; background: #f6f6ff; border-color: #ebebff; }
  .price-block .price { color: #4f46e5; font-size: 32px; }
  .player-card { border-radius: 16px; background: #fafafa; }
  .input, .textarea, .select { border-radius: 12px; border-color: #e4e4ea; }
  .input:focus, .textarea:focus, .select:focus { box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
  .stepper { border-radius: 12px; border-color: #e4e4ea; }
  .panel { border-radius: 22px; border: 1px solid var(--pc-line); box-shadow: none; padding: 26px 28px; }
  .panel-head h3 { font-size: 17px; }

  /* ---------------------------------------------------- 订单 */
  .order-card { border-radius: 20px; border: 1px solid var(--pc-line); box-shadow: none; padding: 20px; }
  .order-head { border-bottom-color: #f0f0f4; }
  .order-body img { border-radius: 14px; }
  .status { border-radius: 999px; }

  /* ---------------------------------------------------- 我的 / 登录 */
  .profile-head {
    border-radius: 22px; padding: 26px;
    background: linear-gradient(120deg, #f3f1ff, #fdfbff);
    border: 1px solid #ede9fe;
  }
  .stat-row { gap: 14px; }
  .stat-cell { border-radius: 16px; border: 1px solid var(--pc-line); box-shadow: none; }
  .menu-list { border-radius: 20px; border: 1px solid var(--pc-line); box-shadow: none; }
  .menu-item:hover { background: #fafafa; }

  .auth-wrap { border-radius: 26px; border: 1px solid var(--pc-line); box-shadow: 0 24px 60px rgba(16, 24, 40, .08); }
  .auth-side { background: linear-gradient(150deg, #17142b, #312e81 55%, #6d28d9); }
  .toggle-auth { border-radius: 12px; }
  .toggle-auth button.on { border-radius: 9px; }

  .balance-card { border-radius: 24px; box-shadow: 0 18px 44px rgba(49, 46, 129, .22); }
  .plan-card { border-radius: 18px; box-shadow: none; border: 1px solid var(--pc-line); }
  .vip-card { border-radius: 22px; }

  /* ---------------------------------------------------- 页脚 */
  .site-footer {
    background: #fff; color: #71717a;
    border-top: 1px solid var(--pc-line);
    padding: 50px 0 26px; margin-top: 72px;
  }
  .footer-grid { gap: 32px; }
  .footer-grid h4 { color: #18181b; font-size: 13.5px; margin-bottom: 14px; }
  .footer-grid a, .footer-grid p { color: #71717a; font-size: 13px; }
  .footer-grid a:hover { color: #4f46e5; }
  .footer-grid .brand { color: #18181b; }
  .footer-grid .brand-mark { box-shadow: none; }
  .footer-bottom {
    margin-top: 30px; padding-top: 20px;
    border-top: 1px solid var(--pc-line); color: #9a9aa3;
  }

  /* ---------------------------------------------------- 抢单 / 邀请（桌面） */
  .grab-hero { padding: 28px 32px; border-radius: 24px; }
  .grab-hero h1 { font-size: 26px; }
  .grab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .invite-hero { padding: 32px 34px; border-radius: 26px; }
  .invite-hero h1 { font-size: 28px; }
}

/* PC 个人中心：菜单两列，避免超宽 */
@media (min-width: 961px) {
  .menu-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }
  .menu-item { padding: 15px 18px; border-bottom: 1px solid var(--pc-line); }
  .menu-item:nth-child(odd) { border-right: 1px solid var(--pc-line); }
  .menu-item:nth-last-child(-n+2) { border-bottom: none; }
  .profile-head { min-height: 120px; }
}

/* 订单号与日期保持单行 */
@media (min-width: 961px) {
  .order-no { white-space: nowrap; }
}
