@charset "UTF-8";
/* ==========================================================================
   游匣补给站 · PC 端 pc.css
   PC 端只提供首页与引导页，所以这里只有首页与引导页的样式。
   由 preview/assets/preview.css 移植，选择器与 parts/*.php 的类名一一对应。
   ========================================================================== */

/* ==========================================================================
   PC 端 · 引导页
   ========================================================================== */
.pc {
  background: #fff;
  min-height: 100vh;
  color: var(--ink);
}

.pc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.notice-bar {
  background: var(--grad-ink);
  color: #c9cee0;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}

.notice-bar b { color: #fff; }

.pc-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.pc-nav .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.pc-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }

.pc-logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: var(--sh-brand);
}

.pc-menu { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }

.pc-menu .on { color: var(--brand); font-weight: 700; position: relative; }

.pc-menu .on::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -24px;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.pc-nav .search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-full);
  background: var(--bg);
  color: var(--ink-3);
  font-size: 13.5px;
  min-width: 240px;
}

/* Hero 引导区 */
.pc-hero {
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.pc-hero h1 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.pc-hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-hero .lead { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin-bottom: 26px; }

.pc-hero .pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }

.pc-hero .stats { display: flex; gap: 40px; }

.pc-hero .stats .n { font-size: 24px; font-weight: 800; font-family: var(--font-num); }

.pc-hero .stats .l { font-size: 12.5px; color: var(--ink-3); }

/* 二维码卡 */
.qr-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-3);
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}

.qr-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(74, 125, 255, 0.05) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.qr-card .qr {
  width: 178px;
  height: 178px;
  margin: 0 auto 16px;
  border-radius: var(--r-m);
  background: #fff;
  padding: 6px;
  box-shadow: var(--sh-1);
}

.qr-card .cap { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }

.qr-card .sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 18px; }

.qr-card .channels { display: flex; justify-content: center; gap: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }

.qr-card .channels .ch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.qr-card .channels .ch i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-style: normal;
  background: var(--bg);
}

/* PC 端精简索引 */
.pc-sec { padding: 8px 0 72px; }

.pc-sec-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.pc-sec-head h2 { font-size: 22px; }

.pc-sec-head .sub { font-size: 13px; color: var(--ink-3); }

.pc-sec-head .hint {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--brand);
  background: var(--brand-soft);
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.idx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }

.idx {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-2);
  transition: 0.16s;
}

.idx .no {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--ink-4);
  width: 22px;
  flex: none;
}

.idx h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idx .tagline { font-size: 12px; color: var(--ink-3); flex: none; }

.idx .lock { font-size: 12px; color: var(--ink-4); flex: none; opacity: 0; transition: 0.16s; }

.idx:hover { background: #fafbfe; padding-left: 12px; padding-right: 12px; border-radius: var(--r-s); }

.idx:hover h3 { color: var(--brand); }

.idx:hover .lock { opacity: 1; color: var(--brand); }

.pc-tip {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--r-l);
  background: linear-gradient(135deg, #f7f5ff 0%, #f1f6ff 100%);
  border: 1px dashed #dcd6ff;
  font-size: 14px;
  color: var(--ink-2);
}

.pc-tip .ico {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: none;
  box-shadow: var(--sh-brand);
}

/* PC 文章引导页 */
.pc-crumb { padding: 24px 0 0; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }

.pc-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  padding: 26px 0 80px;
  align-items: start;
}

.pc-art h1 { font-size: 32px; line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.02em; }

.pc-art .lead-box {
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: var(--r-l);
  background: var(--bg);
  border-left: 3px solid var(--brand);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.pc-art .fade {
  position: relative;
  max-height: 210px;
  overflow: hidden;
}

.pc-art .fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(244, 245, 249, 0), var(--bg) 70%);
}

.locked-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-m);
  background: #fff;
  box-shadow: var(--sh-1);
  font-size: 13.5px;
  color: var(--ink-2);
}

.toc { margin-top: 34px; }

.toc h2 { font-size: 15px; margin-bottom: 14px; color: var(--ink-2); }

.toc li {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.toc li span { color: var(--ink-4); font-family: var(--font-num); font-size: 12px; }

.toc li .lk { margin-left: auto; font-size: 11.5px; color: var(--ink-4); }

.pc-aside { position: sticky; top: 92px; display: grid; gap: 18px; }

.pc-aside .mini-list { display: grid; gap: 12px; }

.pc-aside .mini-list li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; }

.pc-aside .mini-list li b { color: var(--brand); font-family: var(--font-num); font-size: 12px; font-weight: 700; }

.pc-foot {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pc-foot .links { display: flex; gap: 18px; }

.pc-foot .cp { margin-left: auto; }

.qr-mini { width: 96px; padding: 4px; background: #fff; border: 1px solid #dcdcde; border-radius: 6px; }

/* ==========================================================================
   PC 端 · 内页引导（PC 端只提供首页，其余页面一律引导）
   ========================================================================== */
.pc-guide { max-width: 520px; margin: 0 auto; padding: 76px 32px 80px; text-align: center; }

.pc-guide .big {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  border-radius: 24px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
  box-shadow: var(--sh-brand);
}

.pc-guide h1 { font-size: 25px; margin-bottom: 14px; letter-spacing: -0.02em; }

.pc-guide .lead { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 30px; }

.pc-guide .qr-inline {
  display: inline-block;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}

.pc-guide .qr-inline .qr { width: 150px; height: 150px; margin: 0 auto 12px; }

.pc-guide .qr-inline .cap { font-size: 14px; font-weight: 700; margin-bottom: 4px; }

.pc-guide .qr-inline .sub { font-size: 12px; color: var(--ink-3); }

.pc-guide .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #e4e0ff;
}

.pc-guide .note {
  margin-top: 34px;
  padding: 16px 20px;
  border-radius: var(--r-m);
  background: var(--bg);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.75;
  text-align: left;
}

.pc-nav .scan-btn {
  margin-left: auto;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--sh-brand);
}

.idx-list.one-col { grid-template-columns: 1fr; }
/* 二维码未上传时的占位 */
.qr--empty {
	width: 178px; height: 178px; margin: 0 auto 16px;
	border: 1px dashed var(--line); border-radius: var(--r-m);
	display: grid; place-items: center;
	color: var(--ink-4); font-size: 12.5px;
}
.pc-guide .qr-inline .qr--empty { width: 150px; height: 150px; }
