/* 神客客户端 · 官网
   深色底 + 樱花粉 + 液态玻璃。没有框架、没有构建步骤，
   改一行 CSS 刷新就能看到效果。 */

:root {
  --bg: #08060c;
  --bg-2: #0d0a12;
  --ink: #f7f2f7;
  --ink-2: #cfc6d4;
  --dim: #9d93a8;
  --dim-2: #6b6276;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .15);
  --pink: #ff7eb6;
  --pink-2: #ffa8cd;
  --violet: #a78bfa;
  --glass: rgba(255, 255, 255, .045);
  --r: 20px;
  --ease: cubic-bezier(.16, .84, .28, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
               "HarmonyOS Sans SC", "Microsoft YaHei UI", "Noto Sans CJK SC",
               system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全站底色：顶部一层极淡的粉，别做成霓虹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 720px at 18% -12%, rgba(255, 126, 182, .16), transparent 62%),
    radial-gradient(900px 640px at 88% 4%, rgba(150, 120, 235, .13), transparent 60%),
    linear-gradient(180deg, #0a070f, var(--bg) 40%);
}

::selection { background: rgba(255, 126, 182, .32); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .07);
  color: var(--pink-2);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .34em;
  color: var(--dim-2);
  text-transform: uppercase;
}

/* ── 按钮 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .22s, border-color .22s,
              box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.btn svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn-primary {
  background: linear-gradient(135deg, #ff8fc0, #e0679f 55%, #c9558e);
  border-color: transparent;
  color: #2a0d1a;
  box-shadow: 0 14px 36px -12px rgba(255, 126, 182, .75);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ffa2cb, #e878aa 55%, #d4659a);
  box-shadow: 0 20px 44px -14px rgba(255, 126, 182, .85);
}
.btn-sm { height: 38px; padding: 0 17px; font-size: 13px; }
.btn-sm b { font-weight: 650; opacity: .75; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-lg svg { width: 19px; height: 19px; }

/* ── 导航 ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 66px;
  padding: 0 clamp(20px, 5vw, 56px);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 7, 13, .78);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 14.5px; }
.brand img { width: 26px; height: 26px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; flex: 1; }
.nav-links a {
  font-size: 13.5px;
  color: var(--dim);
  transition: color .18s;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
}

/* ── 首屏 ─────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 132px clamp(20px, 5vw, 40px) 64px;
  min-height: min(84vh, 780px);
}
.hero-in { position: relative; z-index: 2; }

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 680;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ff9dc6, #ff7eb6 38%, #b98bf7 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 0 0 30px;
  max-width: 33em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin: 26px 0 0;
  font-size: 12.5px;
  color: var(--dim-2);
  font-variant-numeric: tabular-nums;
}
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .14);
}

.glow {
  position: absolute;
  width: 620px; height: 620px;
  right: -120px; top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 126, 182, .22), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

#petals {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .55;
}

/* 窗口截图 */
.hero-shot { position: relative; z-index: 2; perspective: 1600px; }
.window {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #111;
  box-shadow:
    0 50px 110px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transition: transform .8s var(--ease);
}
.window:hover { transform: rotateY(-2deg) rotateX(1deg) scale(1.012); }
.titlebar {
  display: flex; gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.titlebar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.titlebar i:nth-child(1) { background: #ff6159; }
.titlebar i:nth-child(2) { background: #ffbd2e; }
.titlebar i:nth-child(3) { background: #28c840; }

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(22, 16, 28, .82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .9);
  animation: bob 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; font-weight: 620; }
.float-card span { display: block; font-size: 11.5px; color: var(--dim-2); margin-top: 3px; }
.fc-1 { left: -44px; bottom: -22px; }
.fc-2 { right: -30px; top: -28px; animation-delay: -3.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 118px; min-height: 0; }
  .hero-shot { order: 2; margin-top: 12px; }
  .window { transform: none; }
  .fc-1 { left: -8px; bottom: -14px; }
  .fc-2 { right: -4px; top: -14px; }
  .glow { right: -220px; top: 120px; }
}

/* ── 数字条 ───────────────────────────────────────────── */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.strip > div {
  padding: 30px 18px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}
.strip b {
  display: block;
  font-size: 34px;
  font-weight: 660;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #cbb9d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strip span { font-size: 12px; color: var(--dim-2); letter-spacing: .1em; }
@media (max-width: 700px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(3), .strip > div:nth-child(4) { border-top: 0; }
}

/* ── 区块 ─────────────────────────────────────────────── */
.sec {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 40px);
}
.sec-h { max-width: 660px; margin-bottom: 46px; }
.sec-h.center { margin-inline: auto; text-align: center; }
.sec-h h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.24;
  letter-spacing: -.02em;
  font-weight: 660;
}
.sec-h .sub { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.85; }

/* ── Bento ────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cell {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.cell::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 126, 182, .45), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cell:hover { transform: translateY(-4px); border-color: var(--line-2); }
.cell:hover::after { opacity: 1; }
.cell.wide { grid-column: span 2; }
.cell-ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 20px;
  background: rgba(255, 126, 182, .1);
  border: 1px solid rgba(255, 126, 182, .18);
  margin-bottom: 16px;
}
.cell h3 { margin: 0 0 8px; font-size: 17px; font-weight: 620; letter-spacing: -.005em; }
.cell p { margin: 0; font-size: 13.8px; line-height: 1.8; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chips span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--dim);
  background: rgba(255, 255, 255, .03);
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: span 1; }
}

/* ── 界面展示 ─────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.tab {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab.on {
  color: #2a0d1a;
  background: linear-gradient(135deg, #ff9ec8, #e878aa);
  border-color: transparent;
  font-weight: 600;
}
.big-shot {
  margin: 0 auto;
  max-width: 1080px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 46px 100px -34px rgba(0, 0, 0, .95);
  background: #0f0c14;
}
.big-shot img { width: 100%; transition: opacity .28s; }
.skins {
  display: flex; justify-content: center; gap: 14px;
  margin-top: 26px;
}
.skin {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  border: 1px solid rgba(255, 255, 255, .22);
  cursor: default;
  transition: transform .22s var(--ease);
}
.skin:hover { transform: translateY(-4px) scale(1.08); }
.skin::after {
  content: attr(data-n);
  position: absolute;
  bottom: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--dim-2);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
}
.skin:hover::after { opacity: 1; }

/* ── 下载 ─────────────────────────────────────────────── */
.dl-card {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 420px at 8% 0%, rgba(255, 126, 182, .16), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  overflow: hidden;
  position: relative;
}
.dl-card h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; font-weight: 660; }
.dl-card .sub { margin: 0 0 28px; color: var(--dim); font-size: 15px; max-width: 34em; }
.dl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.dl-facts b { display: block; font-size: 11.5px; color: var(--dim-2); letter-spacing: .12em; font-weight: 500; }
.dl-facts span { font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dl-r {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-left: clamp(0px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  .dl-card { grid-template-columns: 1fr; }
  .dl-r { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}
.dl-size { margin: 0; font-size: 12.5px; color: var(--dim-2); text-align: center; font-variant-numeric: tabular-nums; }
.sha {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
  font-size: 11.5px;
}
.sha span { color: var(--dim-2); flex: none; letter-spacing: .1em; }
.sha code {
  flex: 1; min-width: 0;
  background: none; padding: 0;
  color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dl-hint { margin: 0; font-size: 12px; color: var(--dim-2); text-align: center; }
.dl-hint a { color: var(--pink-2); }

/* 主按钮右上角那枚格式角标：一眼看出下的是 exe 还是 zip */
#dlBtn2 { position: relative; }
#dlTag {
  margin-left: 2px;
  padding: 1px 7px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}
.dl-alt {
  font-size: 12.5px;
  color: var(--dim);
  text-align: center;
  transition: color .18s;
}
.dl-alt:hover { color: var(--ink); }
.dl-alt[hidden] { display: none; }

/* ── 更新日志 ─────────────────────────────────────────── */
.log { list-style: none; margin: 0; padding: 0; position: relative; }
.log::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 126, 182, .5), var(--line), transparent);
}
.log li {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 0 0 34px 34px;
}
.log li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(255, 126, 182, .6);
  box-shadow: 0 0 0 4px rgba(255, 126, 182, .08);
}
.log li:first-child::before { background: var(--pink); border-color: var(--pink); }
.log time {
  font-size: 12.5px;
  color: var(--dim-2);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.log h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 620; }
.log p {
  margin: 0 0 6px;
  font-size: 13.8px;
  color: var(--dim);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.log p::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--dim-2);
}
@media (max-width: 640px) {
  .log li { grid-template-columns: 1fr; gap: 6px; }
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq details[open] { padding-bottom: 18px; }
.faq summary {
  cursor: pointer;
  padding: 16px 34px 16px 0;
  font-size: 15.5px;
  font-weight: 560;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--dim-2);
  transition: transform .25s var(--ease), color .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--pink); }
.faq p { margin: 0; font-size: 14.2px; line-height: 1.9; color: var(--dim); }

/* ── 赞赏 ─────────────────────────────────────────────── */
.tip-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}
.tip-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.28;
  letter-spacing: -.02em;
  font-weight: 660;
}
.tip-p { margin: 0 0 14px; color: var(--dim); font-size: 15px; line-height: 1.95; }
.tip-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.tip-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--dim);
}
.tip-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .66em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}
.tip-list b { margin-right: 7px; color: var(--ink); font-weight: 620; }

.tip-qr {
  position: relative;
  display: block;
  width: min(100%, 344px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #0d0a12;
  cursor: zoom-in;
  box-shadow:
    0 40px 90px -34px rgba(255, 126, 182, .5),
    0 0 0 1px var(--line-2);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tip-qr::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  border-radius: inherit;
}
.tip-qr img { width: 100%; height: auto; display: block; }
.tip-qr:hover {
  transform: translateY(-5px);
  box-shadow:
    0 50px 110px -34px rgba(255, 126, 182, .62),
    0 0 0 1px rgba(255, 168, 205, .35);
}
.tip-qr-tag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(12, 8, 16, .52);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.tip-qr:hover .tip-qr-tag { opacity: 0; }

/* 放大查看 */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 4, 10, .84);
  backdrop-filter: blur(10px);
  cursor: zoom-in;
  opacity: 0;
  transition: opacity .26s var(--ease);
}
.qr-modal.in { opacity: 1; }
.qr-modal img {
  width: min(86vw, 520px);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 48px 120px -30px #000;
}

@media (max-width: 820px) {
  .tip-wrap { grid-template-columns: 1fr; }
  .tip-copy { order: 1; }
  .tip-qr { order: 0; width: min(100%, 300px); }
}

/* ── 页脚 ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px clamp(20px, 5vw, 40px) 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 10px; }
.foot-brand b { display: block; font-size: 14.5px; font-weight: 620; }
.foot-brand span { display: block; font-size: 12px; color: var(--dim-2); }
.foot-links { display: flex; gap: 22px; font-size: 13px; color: var(--dim); }
.foot-links a:hover { color: var(--ink); }
.copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--dim-2);
}
@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { flex-wrap: wrap; gap: 16px; }
}

/* ── 滚动渐显 ─────────────────────────────────────────── */
[data-reveal] { opacity: 1; }
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-anim [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  #petals { display: none; }
}

/* hidden 属性要压过 display:flex，否则拼不赢选择器优先级 */
.sha[hidden] { display: none; }

.dl-more {
  text-align: center;
  font-size: 12.5px;
  color: var(--dim-2);
  transition: color .18s;
}
.dl-more:hover { color: var(--pink-2); }

/* ── 公告 ─────────────────────────────────────────────── */
.notices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  align-items: start;
  gap: 16px;
}
.notice {
  position: relative;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
}
.notice.loading, .notice.empty {
  grid-column: 1 / -1;
  color: var(--dim-2);
  font-size: 13.5px;
  padding: 22px;
}
.notice.loading p, .notice.empty p { margin: 0; }
.notice.pin {
  border-color: rgba(255, 126, 182, .34);
  background: linear-gradient(160deg, rgba(255, 126, 182, .10), rgba(255, 255, 255, .02));
}
.notice.pin::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), transparent);
}
.notice-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--pink);
  background: rgba(255, 126, 182, .14);
}
.notice.lv-warn .notice-tag { color: #ffc46b; background: rgba(255, 196, 107, .14); }
.notice.lv-urgent .notice-tag { color: #ff8a8a; background: rgba(255, 120, 120, .16); }
.notice h3 {
  margin: 10px 0 8px;
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -.01em;
}
.notice p {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.8;
  color: var(--dim);
}
.notice img {
  display: block;
  margin-top: 14px;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.log-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(167, 139, 250, .14);
  vertical-align: 2px;
}
