:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-deep: #ebe8df;
  --ink: #17191d;
  --muted: #686b72;
  --line: #d9d5cb;
  --violet: #6d5dfc;
  --violet-dark: #4d3ee0;
  --lime: #c8f455;
  --card: rgba(255, 255, 255, .68);
  --shadow: 0 24px 70px rgba(31, 28, 23, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23,25,29,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,25,29,.025) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: "PingFang SC", "Microsoft YaHei", Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(23,25,29,.1);
  background: rgba(245,243,238,.82);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.brand small { margin-left: 1px; padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.brand-mark { position: relative; display: block; width: 27px; height: 27px; border: 2px solid var(--ink); border-radius: 50%; }
.brand-mark i { position: absolute; display: block; border-radius: 50%; background: var(--ink); }
.brand-mark i:first-child { width: 5px; height: 5px; top: 5px; left: 5px; }
.brand-mark i:nth-child(2) { width: 5px; height: 5px; top: 5px; right: 5px; }
.brand-mark i:last-child { width: 11px; height: 4px; bottom: 5px; left: 6px; border-radius: 0 0 8px 8px; background: var(--violet); }
.top-actions { display: flex; align-items: center; gap: 20px; }
.sync-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.sync-state i { width: 7px; height: 7px; border-radius: 50%; background: #1eb980; box-shadow: 0 0 0 5px rgba(30,185,128,.1); }
.sync-state.error i { background: #e45e50; box-shadow: 0 0 0 5px rgba(228,94,80,.1); }
.ghost-link { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 750; background: rgba(255,255,255,.44); }

main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; min-height: 540px; padding: 78px 0 60px; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { color: var(--violet-dark); }
.eyebrow i { width: 26px; height: 1px; background: var(--line); }
.hero h1 { margin: 18px 0 0; font-size: clamp(50px, 7.2vw, 92px); line-height: .98; letter-spacing: -.075em; }
.hero h1 em { color: var(--violet); font-style: normal; }
.hero-lede { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.search-box { display: flex; align-items: center; width: min(620px, 100%); min-height: 62px; margin-top: 34px; padding: 0 17px; border: 1px solid rgba(23,25,29,.16); border-radius: 17px; background: rgba(255,255,255,.78); box-shadow: 0 13px 40px rgba(37,33,28,.08); transition: border-color .2s, box-shadow .2s, transform .2s; }
.search-box:focus-within { transform: translateY(-2px); border-color: rgba(109,93,252,.6); box-shadow: 0 18px 46px rgba(70,55,175,.13); }
.search-box svg { width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #92928d; }
.search-box kbd { padding: 5px 8px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; color: #87867f; background: #f8f7f3; font: 11px ui-monospace, monospace; }

.hero-orbit { position: relative; justify-self: end; width: min(400px, 34vw); aspect-ratio: 1; }
.orbit-ring { position: absolute; inset: 10%; border: 1px solid rgba(23,25,29,.15); border-radius: 50%; }
.ring-one::before, .ring-two::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 7px rgba(109,93,252,.12); }
.ring-one::before { top: 12%; right: 13%; }
.ring-two { inset: 27%; }
.ring-two::before { bottom: 4%; left: 13%; background: #e36c4d; box-shadow: 0 0 0 7px rgba(227,108,77,.11); }
.radar-core { position: absolute; inset: 38%; display: grid; place-items: center; border-radius: 50%; background: var(--ink); box-shadow: 0 15px 40px rgba(23,25,29,.22); }
.radar-core::before { content: ""; position: absolute; width: 185%; height: 185%; border: 1px solid rgba(109,93,252,.3); border-radius: 50%; animation: pulse 2.8s ease-out infinite; }
.radar-core span { width: 27%; height: 27%; border: 3px solid var(--lime); border-radius: 50%; }
.signal-card { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; min-width: 138px; padding: 12px 14px; border: 1px solid rgba(23,25,29,.13); border-radius: 13px; background: rgba(255,255,255,.86); box-shadow: 0 15px 40px rgba(34,30,25,.09); }
.signal-card i { grid-row: 1 / 3; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.signal-card b { font-size: 12px; }
.signal-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.signal-a { top: 9%; left: -2%; transform: rotate(-3deg); }
.signal-b { right: -4%; bottom: 10%; transform: rotate(3deg); }
.signal-b i { background: #e36c4d; }
.signal-dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.dot-a { top: 27%; right: 14%; }.dot-b { bottom: 18%; left: 24%; }.dot-c { top: 52%; left: 4%; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.65); } 100% { opacity: 0; transform: scale(1.25); } }

.pulse-strip { display: grid; grid-template-columns: 150px 150px 190px 1fr; align-items: center; min-height: 110px; border-bottom: 1px solid var(--line); }
.pulse-strip > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px; }
.pulse-strip strong { font-size: 28px; letter-spacing: -.04em; }
.pulse-strip strong small { margin-left: 2px; font-size: 10px; letter-spacing: 0; }
.pulse-strip span, .pulse-strip p { color: var(--muted); font-size: 11px; }
.pulse-strip p { justify-self: end; margin: 0; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 50px; padding: 72px 0 100px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2, .side-card h2, .wechat-card h2 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.045em; }
.time-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.42); }
.time-tabs button { padding: 7px 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.time-tabs button.active { color: white; background: var(--ink); }
.filter-row { display: flex; gap: 8px; overflow: auto; padding: 0 0 13px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row button { flex: none; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #5d5f64; background: rgba(255,255,255,.46); cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-row button.active { border-color: var(--violet); color: white; background: var(--violet); }
.result-summary { min-height: 18px; margin: 4px 0 12px; color: #8a8881; font-size: 10px; }
.notice-list { display: grid; gap: 10px; }
.notice-card { --accent: var(--violet); display: grid; grid-template-columns: 98px minmax(0, 1fr) 42px; gap: 18px; align-items: center; min-height: 126px; padding: 18px 19px; border: 1px solid rgba(23,25,29,.12); border-radius: 16px; background: var(--card); box-shadow: 0 8px 30px rgba(35,31,26,.035); opacity: 0; transform: translateY(8px); animation: card-in .35s ease var(--delay) forwards; transition: border-color .2s, transform .2s, box-shadow .2s; }
.notice-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent), #fff 45%); box-shadow: var(--shadow); }
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
.notice-game { display: grid; place-items: center; align-self: stretch; min-height: 84px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--accent), #fff 88%); }
.notice-game span { color: color-mix(in srgb, var(--accent), #111 22%); font-size: 12px; font-weight: 850; line-height: 1.4; text-align: center; }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #898780; font-size: 9px; }
.notice-category { padding: 4px 7px; border-radius: 5px; color: color-mix(in srgb, var(--accent), #111 25%); background: color-mix(in srgb, var(--accent), #fff 88%); font-weight: 800; }
.notice-meta time::before, .notice-source::before { content: "·"; margin-right: 8px; color: #bbb7ae; }
.notice-body h3 { margin: 9px 0 0; font-size: 16px; line-height: 1.55; letter-spacing: -.015em; }
.notice-body h3 a { text-decoration: none; }
.notice-body h3 a:hover { color: var(--violet-dark); }
.notice-body p { margin: 7px 0 0; color: #929089; font-size: 10px; }
.notice-arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.6); transition: color .2s, background .2s, transform .2s; }
.notice-arrow:hover { transform: translateX(2px); color: white; background: var(--ink); }
.notice-arrow svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.load-more { width: 100%; min-height: 48px; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.load-more:hover { background: rgba(255,255,255,.6); }

.sidebar { display: grid; align-content: start; gap: 18px; }
.side-card, .wechat-card, .principle-card { border: 1px solid rgba(23,25,29,.12); border-radius: 18px; background: rgba(255,255,255,.5); }
.side-card { padding: 22px; }
.side-head { display: flex; align-items: center; justify-content: space-between; }
.side-head span { color: var(--muted); font-size: 9px; }
.side-card h2 { margin-bottom: 18px; font-size: 24px; }
.game-index { display: grid; gap: 6px; }
.game-index button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 7px 4px; border: 0; border-bottom: 1px solid rgba(23,25,29,.07); background: transparent; cursor: pointer; text-align: left; }
.game-index button:last-child { border: 0; }
.game-index button span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: color-mix(in srgb, var(--accent), #111 25%); background: color-mix(in srgb, var(--accent), #fff 86%); font-size: 12px; font-weight: 900; }
.game-index button b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.game-index button small { display: grid; min-width: 24px; height: 22px; place-items: center; border-radius: 999px; color: var(--muted); background: var(--paper-deep); font-size: 9px; }
.side-empty { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.wechat-card { position: relative; overflow: hidden; padding: 24px; color: white; background: var(--ink); }
.wechat-card::after { content: ""; position: absolute; right: -38px; bottom: -55px; width: 145px; height: 145px; border: 1px solid rgba(200,244,85,.23); border-radius: 50%; box-shadow: 0 0 0 27px rgba(200,244,85,.045), 0 0 0 54px rgba(200,244,85,.025); }
.wechat-icon { display: grid; width: 38px; height: 38px; margin-bottom: 25px; place-items: center; border-radius: 11px; color: #18210a; background: var(--lime); }
.wechat-icon svg { width: 23px; fill: currentColor; }
.wechat-card .section-kicker { color: #9d9ba2; }
.wechat-card h2 { position: relative; z-index: 1; font-size: 27px; line-height: 1.2; }
.wechat-card > p:not(.section-kicker) { position: relative; z-index: 1; color: #aaaab0; font-size: 11px; line-height: 1.75; }
.wechat-card button { position: relative; z-index: 1; width: 100%; min-height: 41px; margin-top: 7px; border: 0; border-radius: 9px; color: #17200a; background: var(--lime); cursor: pointer; font-size: 11px; font-weight: 900; }
.wechat-card button:disabled { cursor: default; opacity: .72; }
.wechat-card small { position: relative; z-index: 1; display: block; margin-top: 9px; color: #787980; font-size: 9px; text-align: center; }
.principle-card { display: grid; grid-template-columns: 24px 1fr; gap: 18px 8px; padding: 22px; }
.principle-card > span { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 8px; }
.principle-card strong { font-size: 11px; }
.principle-card p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

.empty-state { display: grid; min-height: 310px; place-items: center; align-content: center; padding: 30px; border: 1px dashed #c6c1b5; border-radius: 18px; text-align: center; }
.empty-state > span { position: relative; width: 54px; height: 54px; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 50%; }
.empty-state > span i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.empty-state > span i:first-child { top: 12px; left: 24px; }.empty-state > span i:nth-child(2) { right: 11px; bottom: 15px; }.empty-state > span i:last-child { bottom: 9px; left: 12px; }
.empty-state h3 { margin: 0; font-size: 18px; }
.empty-state p { max-width: 360px; margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.empty-state a { margin-top: 16px; padding: 9px 13px; border-radius: 8px; color: white; background: var(--ink); text-decoration: none; font-size: 10px; font-weight: 800; }
.skeleton, .mini-skeleton { position: relative; overflow: hidden; border-radius: 15px; background: #e8e5dd; }
.skeleton { height: 126px; }.mini-skeleton { height: 44px; }
.skeleton::after, .mini-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

footer { display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; align-items: center; padding: 30px max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); background: var(--paper-deep); }
footer div { display: flex; align-items: center; gap: 14px; }
footer strong { font-size: 15px; } footer span, footer p, footer a { color: var(--muted); font-size: 9px; }
footer nav { display: flex; gap: 17px; } footer a { text-decoration: none; } footer p { grid-column: 1 / -1; margin: 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-orbit { display: none; }
  .pulse-strip { grid-template-columns: repeat(3, 1fr); }
  .pulse-strip p { display: none; }
  .content-grid { grid-template-columns: minmax(0,1fr) 270px; gap: 26px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 0 16px; }
  .sync-state, .ghost-link { display: none; }
  main { width: min(100% - 28px, 620px); }
  .hero { padding: 60px 0 42px; }
  .hero h1 { font-size: clamp(45px, 14vw, 70px); }
  .hero-lede { font-size: 14px; }
  .search-box { min-height: 56px; }
  .search-box kbd { display: none; }
  .pulse-strip { min-height: 90px; }
  .pulse-strip > div { display: block; text-align: center; }
  .pulse-strip strong, .pulse-strip span { display: block; }
  .pulse-strip strong { font-size: 23px; }
  .content-grid { grid-template-columns: 1fr; padding: 48px 0 70px; }
  .sidebar { grid-template-columns: 1fr; }
  .side-card, .principle-card { display: none; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .notice-card { grid-template-columns: 72px minmax(0,1fr); gap: 13px; min-height: 116px; padding: 14px; }
  .notice-game { min-height: 78px; }
  .notice-arrow { display: none; }
  .notice-body h3 { font-size: 14px; }
  .notice-source { display: none; }
  .notice-meta time::before { content: ""; margin: 0; }
  footer { grid-template-columns: 1fr; padding: 26px 18px; }
  footer div { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
