:root {
  --bg: #07070c;
  --bg2: #0a0a12;
  --panel: #101018;
  --panel2: #14141f;
  --line: rgba(255,255,255,.085);
  --line2: rgba(255,255,255,.16);
  --txt: #f3f3f8;
  --dim: #8d8da6;
  --dim2: #5b5b72;
  --lime: #c9ff2e;
  --pink: #ff3d9a;
  --cyan: #24e9ff;
  --purple: #a874ff;
  --yellow: #ffd93d;
  --orange: #ff7b34;
  --red: #ff4d5e;
  --green: #3dffa8;
  --mono: "SFMono-Regular", Consolas, monospace;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--txt); font-family: var(--sans);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; outline: none; border: none; background: none; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: #08080c; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0b0b12; }
::-webkit-scrollbar-thumb { background: #2c2c3c; border-radius: 8px; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 4vw; }
.sec { margin-top: 74px; }
.sec-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 22px;
}
.sec-hd .ttl { display: flex; align-items: center; gap: 12px; }
.sec-hd .ttl::before {
  content: ""; display: block; width: 5px; height: 26px;
  background: var(--fc, var(--lime)); box-shadow: 0 0 14px var(--fc, var(--lime));
}
.sec-hd h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.sec-hd .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--dim2); text-transform: uppercase; margin-top: 4px; }
.more { font-size: 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--dim); transition: .3s; }
.more:hover { border-color: var(--fc, var(--lime)); color: var(--fc, var(--lime)); box-shadow: 0 0 12px var(--fc, var(--lime)); }

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,13,.86); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 4vw;
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; }
.brand img { height: 34px; border-radius: 6px; }
.brand .en { font-family: var(--mono); font-size: 10px; color: var(--lime); letter-spacing: 0.1em; display: block; line-height: 1.2; }
nav { display: flex; gap: 4px; }
nav a { padding: 8px 10px; font-size: 13.5px; color: var(--dim); border-radius: 6px; transition: .2s; }
nav a:hover, nav a.active { color: var(--lime); background: rgba(201,255,46,.08); }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-right .btn-dl { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 6px; background: var(--lime); color: #08080c; }

.search-hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: calc(100vh - 104px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 4vw 96px;
  background: radial-gradient(ellipse 55% 55% at 50% 34%, rgba(201,255,46,.11), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.search-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 78%);
}
.search-hero > * { position: relative; z-index: 2; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--lime); margin-bottom: 20px; }
.search-hero h1 { font-size: clamp(48px, 8vw, 96px); line-height: 1; letter-spacing: -0.04em; font-weight: 900; }
.search-hero h1 .hl { color: var(--lime); text-shadow: 0 0 34px rgba(201,255,46,.55); }
.search-hero h1 .en { display: block; font-family: var(--mono); font-size: clamp(12px, 1.5vw, 18px); letter-spacing: 0.42em; color: var(--dim2); font-weight: 400; margin-top: 14px; }
.slogan { font-size: clamp(18px, 2.2vw, 26px); margin: 22px 0 30px; color: var(--txt); }
.big-search {
  width: min(720px, 92vw); height: 62px; display: flex; align-items: center; gap: 10px;
  padding: 0 8px 0 20px; border-radius: 16px;
  background: rgba(16,16,24,.92); border: 1px solid var(--line2);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,.9); transition: .25s;
}
.big-search:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(201,255,46,.1), 0 0 38px rgba(201,255,46,.22); }
.big-search .s-ico { color: var(--dim2); font-size: 20px; }
.big-search input { flex: 1; min-width: 0; font-size: 15px; color: var(--txt); }
.big-search input::placeholder { color: var(--dim2); }
.s-btn { height: 46px; padding: 0 22px; border-radius: 11px; font-size: 14px; font-weight: 800; color: #08080c; background: var(--lime); white-space: nowrap; transition: .2s; }
.s-btn:hover { box-shadow: 0 0 30px rgba(201,255,46,.6); }
.hot-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 20px; max-width: 720px; }
.hot-chips span { font-size: 12px; padding: 6px 13px; border-radius: 20px; border: 1px dashed var(--line2); color: var(--dim); transition: .2s; cursor: pointer; }
.hot-chips span:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.hero-badges { display: flex; gap: 10px; margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.hero-badges span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--dim); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; transition: .3s; overflow: hidden;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--fc); box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); }
.feat-card::after { content: attr(data-num); position: absolute; right: 16px; top: 0; font-family: var(--mono); font-size: 96px; font-weight: 900; color: rgba(255,255,255,.03); line-height: 1; pointer-events: none; }
.feat-card h3 { font-size: 22px; color: var(--fc); text-shadow: 0 0 14px currentColor; margin-bottom: 4px; }
.feat-card .en-sub { font-family: var(--mono); font-size: 11px; color: var(--dim2); letter-spacing: 0.1em; margin-bottom: 14px; }
.feat-card p { font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.feat-card .stat { font-size: 28px; font-weight: 800; color: var(--txt); font-family: var(--mono); }
.feat-card .stat small { font-size: 13px; font-weight: 400; color: var(--dim2); margin-left: 4px; }
.fbar { height: 6px; background: var(--bg2); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.fbar i { display: block; height: 100%; background: var(--fc); width: var(--w); animation: grow 1.2s ease-out both; }
@keyframes grow { 0% { width: 0; } 100% { width: var(--w); } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 26px; margin-top: 40px; }
.col-main { display: flex; flex-direction: column; gap: 40px; }
.col-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; height: fit-content; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 16px; }
.tabs button { padding: 6px 14px; font-size: 13px; border-radius: 20px; color: var(--dim); border: 1px solid var(--line); white-space: nowrap; transition: .2s; }
.tabs button.active { background: var(--lime); color: #08080c; border-color: var(--lime); }

.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .3s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); }
.post-img { height: 160px; width: 100%; object-fit: cover; display: block; background: var(--bg2); }
.post-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.pmeta { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim2); margin-bottom: 8px; }
.pmeta .tag { color: var(--pink); border: 1px solid currentColor; padding: 1px 6px; border-radius: 4px; font-family: var(--mono); }
.post h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.post p { font-size: 12px; color: var(--dim); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.post-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--dim2); }
.post-foot .like { cursor: pointer; transition: .2s; }
.post-foot .like:hover, .post-foot .like.liked { color: var(--pink); }

.hot-wrap { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; overflow: hidden; }
.hot-wrap::before { content: ""; position: absolute; top: -50px; right: -50px; width: 120px; height: 120px; background: var(--pink); filter: blur(80px); opacity: .3; }
.hot-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.hot-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.hot-item .rank { font-family: var(--mono); font-weight: 800; width: 24px; text-align: center; }
.hot-item:nth-child(1) .rank { color: var(--red); text-shadow: 0 0 8px var(--red); }
.hot-item:nth-child(2) .rank { color: var(--orange); text-shadow: 0 0 8px var(--orange); }
.hot-item:nth-child(3) .rank { color: var(--yellow); text-shadow: 0 0 8px var(--yellow); }
.hot-item .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-item .hbar { width: 60px; height: 4px; background: var(--bg); border-radius: 2px; }
.hot-item .hbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange)); border-radius: 2px; width: var(--w); animation: grow 1s both; }

.live-box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.live-hd { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--red); }
.live-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: .25; transform: scale(.7); } }
.live-main { position: relative; height: 280px; background: var(--bg2); display: flex; align-items: flex-end; padding: 20px; }
.live-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.live-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 10%, transparent 80%); z-index: 1; }
.live-main .info { position: relative; z-index: 2; }
.live-main h3 { font-size: 20px; margin-bottom: 4px; }
.live-main .tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: var(--red); color: #fff; }

.contest { background: linear-gradient(135deg, var(--panel2), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: 1fr 200px; gap: 24px; }
.contest-left h3 { font-size: 20px; color: var(--yellow); text-shadow: 0 0 14px var(--yellow); margin-bottom: 8px; }
.contest-left p { font-size: 14px; color: var(--dim); margin-bottom: 16px; }
.contest-right { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg); border-radius: 12px; border: 1px solid var(--line); padding: 16px; }
.contest-right .label { font-size: 12px; color: var(--dim2); margin-bottom: 8px; }
.cd-nums { display: flex; gap: 6px; }
.cd-nums span { font-family: var(--mono); font-size: 24px; font-weight: 800; color: var(--yellow); background: var(--panel); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,217,61,.2); }

.matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: .3s; position: relative; }
.board:hover { border-color: var(--bc); transform: translateY(-4px); }
.board .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bc); box-shadow: 0 0 8px var(--bc); margin-bottom: 12px; }
.board h3 { font-size: 16px; margin-bottom: 6px; }
.board p { font-size: 12px; color: var(--dim2); }

.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.side-card h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.side-card h4::before { content: ""; width: 4px; height: 14px; background: var(--lime); border-radius: 2px; }
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-item { font-size: 13px; color: var(--dim); display: flex; gap: 8px; cursor: pointer; transition: .2s; }
.side-item:hover { color: var(--lime); }
.side-item .n { font-family: var(--mono); color: var(--dim2); }

.download-sec { background: radial-gradient(ellipse at center, rgba(36,233,255,.1), transparent 70%), var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; margin-top: 60px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.dl-left h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.dl-left p { color: var(--dim); margin-bottom: 24px; }
.dl-links { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--cyan); border-radius: 8px; color: var(--cyan); font-weight: 700; transition: .2s; }
.dl-btn:hover { background: rgba(36,233,255,.1); box-shadow: 0 0 16px rgba(36,233,255,.3); }
.dl-feats { display: flex; flex-direction: column; gap: 16px; }
.dl-feat { display: flex; gap: 12px; font-size: 14px; color: var(--dim); }
.dl-feat::before { content: "✓"; color: var(--green); font-weight: bold; }

footer { border-top: 1px solid var(--line); padding: 40px 4vw 30px; font-size: 12px; color: var(--dim2); }
.footer-inner { max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; text-align: center; }
footer a { color: var(--dim); transition: .2s; }
footer a:hover { color: var(--lime); }
footer .copy { font-size: 12px; }

@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  nav a { padding: 8px 6px; font-size: 12px; }
}
@media (max-width: 980px) {
  .feat-grid { grid-template-columns: 1fr; }
  .contest { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 4vw; }
  nav { order: 3; flex: 1 0 100%; overflow-x: auto; margin-top: 8px; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .col-side { grid-template-columns: 1fr; }
  .sec { margin-top: 56px; }
  .big-search { height: 56px; padding-left: 14px; }
  .s-btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .hot-item .hbar { display: none; }
}