:root {
  --bg: #07070c; --bg2: #0a0a12; --panel: #101018; --panel2: #14141f; --panel3: #191924;
  --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, "Liberation Mono", Menlo, monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "WenQuanYi Micro Hei", 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: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0b0b12; }
::-webkit-scrollbar-thumb { background: #2c2c3c; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .32; background: repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0px, rgba(0,0,0,.15) 1px, transparent 1px, transparent 4px); box-shadow: inset 0 0 200px rgba(0,0,0,.8); }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink)); width: 0%; z-index: 9999; transition: width .1s; }
.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; margin-bottom: 4px; }
.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)); border-radius: 2px; }
.sec-hd h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sec-hd .sub { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--dim2); text-transform: uppercase; margin-left: 10px; }
.more { padding: 6px 16px; border: 1px solid var(--line); border-radius: 20px; font-size: 12px; color: var(--dim); transition: .3s; }
.more:hover { border-color: var(--fc, var(--lime)); color: var(--fc, var(--lime)); box-shadow: 0 0 15px rgba(201,255,46,.15); }
.tag { font-family: var(--mono); font-size: 10px; padding: 2px 6px; border: 1px solid currentColor; border-radius: 5px; }
.t-lime { color: var(--lime); } .t-pink { color: var(--pink); } .t-cyan { color: var(--cyan); } .t-purple { color: var(--purple); }
.t-yellow { color: var(--yellow); } .t-orange { color: var(--orange); } .t-red { color: var(--red); } .t-green { color: var(--green); }
.mono { font-family: var(--mono); }
.neon { text-shadow: 0 0 14px currentColor; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h4 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card h4::before { content: ""; width: 4px; height: 14px; background: var(--lime); border-radius: 2px; }
.hover-card { transition: .3s; }
.hover-card:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); }

/* Header */
.topline { height: 34px; background: #0b0b12; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.live-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin: 0 10px 0 4vw; animation: blink 1.1s infinite; }
.topline-track { display: flex; white-space: nowrap; animation: tk 20s linear infinite; }
.topline-track span { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-right: 40px; }
.topline-track b { color: var(--lime); font-weight: normal; }
header { position: sticky; top: 0; z-index: 100; background: rgba(8,8,13,.86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.hd-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 4vw; max-width: 1360px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.brand-text span { font-family: var(--mono); font-size: 9px; color: var(--dim2); letter-spacing: .1em; }
nav { display: flex; gap: 4px; }
nav a { font-size: 13.5px; padding: 8px 9px; color: var(--dim); transition: .2s; border-radius: 6px; }
nav a:hover, nav a.active { color: var(--lime); background: rgba(201,255,46,.08); }
.hd-right { display: flex; align-items: center; gap: 12px; }
.search-sm { display: flex; align-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; height: 32px; }
.search-sm input { width: 140px; font-size: 12px; color: var(--txt); }
.search-sm input::placeholder { color: var(--dim2); }
.btn-pub { font-size: 13px; font-weight: 700; color: #08080c; background: var(--lime); padding: 6px 14px; border-radius: 6px; white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line2); }

/* Hero */
.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%), radial-gradient(ellipse 45% 50% at 82% 78%, rgba(168,116,255,.12), transparent 70%), linear-gradient(180deg, #0a0a13, #07070c); border-bottom: 1px solid var(--line); }
.search-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; 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%); -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 78%); }
.search-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(201,255,46,.07), transparent 70%); }
.search-hero > * { position: relative; z-index: 2; }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--dim2); letter-spacing: .1em; margin-bottom: 20px; }
.search-hero h1 { font-size: clamp(56px, 9vw, 110px); line-height: 1; letter-spacing: -.04em; font-weight: 900; display: flex; flex-direction: column; align-items: center; }
.search-hero h1 .hl { color: var(--lime); -webkit-text-stroke: 1px var(--lime); text-shadow: 0 0 34px rgba(201,255,46,.55); }
.search-hero h1 .en { font-family: var(--mono); font-size: clamp(12px, 1.5vw, 18px); letter-spacing: .42em; color: var(--dim2); font-weight: 400; margin-top: 14px; }
.slogan { font-size: clamp(18px, 2.2vw, 26px); margin: 22px 0 30px; color: var(--dim); }
.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); }
.s-btn { height: 46px; padding: 0 22px; border-radius: 11px; font-size: 14px; font-weight: 800; color: #08080c; background: var(--lime); white-space: nowrap; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); box-shadow: 0 0 18px rgba(201,255,46,.35); 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 a { font-size: 12px; padding: 6px 13px; border-radius: 20px; border: 1px dashed var(--line2); color: var(--dim); transition: .2s; }
.hot-chips a: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: .1em; }
.hero-badges span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--dim); }
.hero-badges span:nth-child(1) { color: var(--pink); } .hero-badges span:nth-child(2) { color: var(--cyan); } .hero-badges span:nth-child(3) { color: var(--lime); }
.scroll-tip { margin-top: 44px; font-size: 12px; color: var(--dim2); letter-spacing: .08em; }
.scroll-tip:hover { color: var(--lime); }

/* Feat */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; overflow: hidden; transition: .3s; --fc: var(--lime); }
.feat-card:hover { transform: translateY(-6px); border-color: var(--fc); }
.feat-card::after { content: attr(data-num); position: absolute; right: 10px; top: 0px; font-family: var(--mono); font-size: 96px; font-weight: 900; color: rgba(255,255,255,.035); line-height: 1; pointer-events: none; }
.feat-icon { font-size: 28px; margin-bottom: 16px; }
.feat-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.feat-card .en-line { font-family: var(--mono); font-size: 10px; color: var(--dim2); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.feat-card p { font-size: 13px; color: var(--dim); margin-bottom: 20px; line-height: 1.5; }
.feat-stat { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.feat-stat b { font-family: var(--mono); font-size: 24px; color: var(--fc); }
.feat-stat span { font-family: var(--mono); font-size: 10px; color: var(--dim2); }
.fbar { height: 4px; background: var(--panel3); border-radius: 2px; overflow: hidden; }
.fbar i { display: block; height: 100%; background: var(--fc); border-radius: 2px; transform-origin: left; animation: grow 1.2s ease-out both; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 26px; }
.col-main { min-width: 0; }
.col-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }

/* Boards */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { white-space: nowrap; font-size: 13px; padding: 6px 16px; border-radius: 20px; background: var(--panel2); color: var(--dim); border: 1px solid var(--line); transition: .2s; }
.tabs button.active { background: var(--lime); color: #08080c; border-color: var(--lime); font-weight: 700; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.post-img { height: 168px; width: 100%; object-fit: cover; background: var(--panel3); }
.post-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.pmeta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--dim2); margin-bottom: 8px; }
.pmeta .views { display: flex; align-items: center; gap: 4px; }
.post h3 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post p { font-size: 12px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; flex: 1; }
.pfoot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim2); border-top: 1px solid var(--line); padding-top: 10px; }
.pfoot-left { display: flex; align-items: center; gap: 6px; }
.pfoot-actions { display: flex; gap: 12px; }
.btn-like { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--dim); transition: .2s; }
.btn-like.liked { color: var(--pink); }

/* Top 10 */
.hot-wrap { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; --fc: var(--pink); }
.hot-wrap::before { content: ""; position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 70%; height: 100px; background: radial-gradient(ellipse, rgba(255,61,154,.15), transparent 70%); pointer-events: none; }
.hot-list { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.hot-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hot-item:last-child { border-bottom: none; }
.rank { font-family: var(--mono); font-size: 16px; font-weight: 700; width: 24px; color: var(--dim2); text-align: center; }
.rank.r1 { color: var(--red); text-shadow: 0 0 10px rgba(255,77,94,.5); }
.rank.r2 { color: var(--orange); text-shadow: 0 0 10px rgba(255,123,52,.5); }
.rank.r3 { color: var(--yellow); text-shadow: 0 0 10px rgba(255,217,61,.5); }
.hot-item h4 { font-size: 14px; font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.hot-bar { width: 120px; height: 4px; background: var(--panel3); border-radius: 2px; overflow: hidden; }
.hot-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange)); border-radius: 2px; transform-origin: left; animation: grow 1.2s ease-out both; }
.hot-trend { font-family: var(--mono); font-size: 11px; width: 34px; text-align: right; }
.trend-up { color: var(--green); } .trend-down { color: var(--dim); } .trend-new { color: var(--red); }

/* Live */
.live-box { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; --fc: var(--red); }
.live-hd { padding: 12px 18px; background: var(--panel); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.live-hd .live-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.live-hd .live-title span { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: blink 1.1s infinite; }
.live-hd .online { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.live-hero { height: 290px; position: relative; background: var(--panel3); overflow: hidden; }
.live-hero img { width: 100%; height: 100%; object-fit: cover; }
.live-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,12,.95) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; z-index: 2; }
.live-overlay h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.live-tags { display: flex; gap: 8px; }
.danmu-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.danmu { position: absolute; white-space: nowrap; font-size: 14px; font-weight: 600; left: 100%; animation: slide linear forwards; text-shadow: 0 1px 4px #000; }
.timeline { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.t-item { position: relative; padding-left: 20px; }
.t-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); border: 2px solid var(--panel); box-shadow: 0 0 0 2px var(--dim2); }
.t-item:first-child::before { background: var(--lime); box-shadow: 0 0 10px var(--lime), 0 0 0 2px var(--lime); }
.t-item:first-child .t-time { color: var(--lime); }
.t-time { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-bottom: 4px; display: block; }
.t-txt { font-size: 13px; color: var(--txt); }
.vote-box { padding: 0 20px 20px; }
.vote-btns { display: flex; gap: 10px; margin-bottom: 12px; }
.vote-btn { flex: 1; padding: 10px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; transition: .2s; }
.vote-btn:hover { border-color: var(--line2); }
.vote-btn b { font-size: 14px; margin-bottom: 4px; }
.vote-btn .v-bar { width: 100%; height: 4px; background: var(--panel3); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.vote-btn .v-bar i { display: block; height: 100%; background: var(--line2); width: 0; transition: width .5s; }
.vote-btn.voted { border-color: var(--cyan); }
.vote-btn.voted .v-bar i { background: var(--cyan); }

/* Contest */
.contest { background: linear-gradient(135deg, rgba(25,25,36,1), rgba(16,16,24,1)); border: 1px solid var(--line); border-radius: 16px; padding: 24px; --fc: var(--orange); }
.ct-top { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-bottom: 24px; }
.ct-info h3 { font-size: 24px; color: var(--yellow); text-shadow: 0 0 14px rgba(255,217,61,.4); margin-bottom: 12px; }
.ct-info p { font-size: 13px; color: var(--dim); margin-bottom: 16px; }
.ct-rules { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-rules span { font-size: 11px; padding: 4px 10px; border-radius: 4px; background: rgba(255,217,61,.1); color: var(--yellow); }
.countdown-wrap { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown-wrap p { font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.countdown { display: flex; gap: 6px; }
.cd-block { background: var(--panel3); padding: 8px 12px; border-radius: 8px; font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--yellow); }
.ct-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ct-tabs button { padding: 10px 0; font-size: 14px; color: var(--dim); border-bottom: 2px solid transparent; transition: .2s; }
.ct-tabs button.active { color: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.ct-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 12px; transition: .2s; }
.work-card.picked { border-color: var(--yellow); box-shadow: 0 0 15px rgba(255,217,61,.2); }
.work-img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.work-card h4 { font-size: 13px; margin-bottom: 8px; }
.work-vote { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--dim2); margin-bottom: 8px; }
.work-card button { width: 100%; padding: 6px; border-radius: 6px; background: var(--panel2); font-size: 12px; color: var(--yellow); border: 1px solid var(--line); transition: .2s; }
.work-card button:hover { border-color: var(--yellow); }
.work-card.picked button { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* Flash */
.flash { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.fl-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fl-hd h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.auto-tag { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; }
.auto-tag::before { content: ""; width: 4px; height: 4px; background: var(--green); border-radius: 50%; }
.fl-list { max-height: 330px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 10px; }
.fl-item { display: flex; gap: 12px; font-size: 13px; align-items: flex-start; animation: fadein .3s ease-out; }
.fl-time { font-family: var(--mono); color: var(--dim2); font-size: 12px; white-space: nowrap; margin-top: 2px; }
.fl-item.fresh .fl-time { color: var(--red); }
.fl-tag { font-family: var(--mono); font-size: 10px; padding: 1px 4px; background: rgba(201,255,46,.1); color: var(--lime); border-radius: 3px; margin-right: 6px; }
.fl-new { font-family: var(--mono); font-size: 10px; color: var(--red); margin-left: 6px; }

/* Matrix */
.boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: relative; overflow: hidden; transition: .3s; }
.board::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bc); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.board:hover::before { transform: scaleY(1); }
.board:hover { border-color: var(--bc); }
.board-icon { font-size: 20px; margin-bottom: 8px; color: var(--bc); }
.board h3 { font-size: 14px; margin-bottom: 4px; }
.board p { font-size: 11px; color: var(--dim); margin-bottom: 12px; }
.board-foot { display: flex; justify-content: space-between; align-items: center; }
.board-num { font-family: var(--mono); font-size: 11px; color: var(--dim2); }
.board-btn { font-size: 11px; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line); color: var(--dim); transition: .2s; }
.board-btn:hover { border-color: var(--bc); color: var(--bc); }

/* Sidebar */
.signin { text-align: center; }
.signin-num { font-family: var(--mono); font-size: 32px; font-weight: 700; color: var(--lime); margin: 8px 0; text-shadow: 0 0 20px rgba(201,255,46,.4); }
.signin-days { display: flex; justify-content: center; gap: 6px; margin: 12px 0; }
.s-day { width: 24px; height: 24px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--dim2); }
.s-day.on { background: var(--lime); color: #08080c; border-color: var(--lime); font-weight: 700; }
.signin-btn { width: 100%; padding: 8px; border-radius: 6px; background: var(--lime); color: #000; font-weight: 700; font-size: 13px; margin-top: 10px; transition: .2s; }
.signin-btn.done { background: var(--panel2); color: var(--dim); }
.side-rank li { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.side-rank li span { font-family: var(--mono); color: var(--dim2); width: 18px; }
.side-rank li:nth-child(1) span { color: var(--red); }
.side-rank li:nth-child(2) span { color: var(--orange); }
.side-rank li:nth-child(3) span { color: var(--yellow); }
.side-rank li b { flex: 1; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: var(--panel2); color: var(--dim); transition: .2s; }
.side-tags a:hover { background: var(--lime); color: #000; transform: translateY(-2px); }

/* Footer */
footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 40px 0 20px; margin-top: 74px; font-size: 13px; color: var(--dim2); }
.ft-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 30px; }
.ft-grid h5 { color: var(--dim); margin-bottom: 12px; font-size: 14px; }
.ft-grid a { display: block; margin-bottom: 8px; transition: .2s; }
.ft-grid a:hover { color: var(--lime); }
.ft-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.ft-bottom a { color: var(--dim); }
.ft-bottom a:hover { color: var(--lime); }

#toTop { position: fixed; right: 24px; bottom: 26px; width: 44px; height: 44px; background: var(--lime); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; box-shadow: 0 0 20px rgba(201,255,46,.3); transition: .3s; opacity: 0; pointer-events: none; z-index: 1000; }
#toTop.show { opacity: 1; pointer-events: auto; }
#toTop:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(201,255,46,.6); }
.fab-dl { position: fixed; right: 24px; bottom: 84px; padding: 10px 16px; background: var(--cyan); color: #000; font-weight: 700; border-radius: 8px; box-shadow: 0 0 20px rgba(36,233,255,.3); transition: .3s; opacity: 0; pointer-events: none; z-index: 1000; font-size: 13px; }
.fab-dl.show { opacity: 1; pointer-events: auto; }
.fab-dl:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(36,233,255,.6); }
#toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(20px); background: #111; border: 1px solid var(--lime); color: var(--lime); padding: 10px 20px; border-radius: 8px; font-size: 14px; opacity: 0; visibility: hidden; transition: .3s; z-index: 9999; }
#toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Download */
#download { background: linear-gradient(135deg, rgba(10,20,20,1), rgba(16,16,24,1)); border: 1px solid var(--line); border-radius: 20px; padding: 40px; --fc: var(--cyan); position: relative; overflow: hidden; }
#download::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(36,233,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(36,233,255,.05) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.dl-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; position: relative; z-index: 2; }
.dl-left h3 { font-size: 32px; font-weight: 900; margin-bottom: 12px; color: var(--cyan); text-shadow: 0 0 20px rgba(36,233,255,.3); }
.dl-left p { font-size: 15px; color: var(--dim); margin-bottom: 24px; }
.dl-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.dl-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; transition: .2s; }
.dl-card:hover { border-color: var(--green); background: rgba(61,255,168,.05); transform: translateX(5px); }
.dl-card-icon { font-size: 24px; color: var(--green); }
.dl-card-txt strong { display: block; font-size: 15px; color: var(--txt); }
.dl-card-txt span { font-size: 12px; color: var(--dim); }
.dl-note { font-size: 12px; color: var(--dim2); margin-bottom: 16px; }
.dl-stats { display: flex; gap: 24px; }
.dl-stat b { display: block; font-family: var(--mono); font-size: 20px; color: var(--cyan); }
.dl-stat span { font-size: 12px; color: var(--dim); }
.dl-right { background: rgba(0,0,0,.2); border-radius: 12px; padding: 24px; border: 1px solid var(--line); }
.dl-right h4 { font-size: 15px; color: var(--green); margin-bottom: 16px; }
.dl-right ul { list-style: none; margin-bottom: 24px; }
.dl-right li { font-size: 13px; color: var(--dim); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dl-right li::before { content: "✦"; color: var(--green); font-size: 10px; }
.dl-log h5 { font-size: 13px; color: var(--dim2); margin-bottom: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.dl-log p { font-size: 12px; color: var(--dim); margin-bottom: 8px; font-family: var(--mono); }
.dl-badges { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; position: relative; z-index: 2; }
.dl-badge { font-size: 11px; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,.05); color: var(--dim2); }

/* Talk */
.talk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.poll-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.poll-opt { position: relative; padding: 12px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line); text-align: left; overflow: hidden; transition: .2s; }
.poll-opt:hover { border-color: var(--cyan); }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(36,233,255,.1); width: 0; transition: width .6s ease-out; z-index: 1; }
.poll-txt { position: relative; z-index: 2; font-size: 13px; display: flex; justify-content: space-between; }
.cmts { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.cmt-item { display: flex; gap: 12px; }
.cmt-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--panel3); flex-shrink: 0; }
.cmt-content { flex: 1; }
.cmt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; }
.cmt-name { font-weight: 700; color: var(--txt); }
.lv { font-size: 9px; padding: 1px 4px; border: 1px solid var(--lime); color: var(--lime); border-radius: 3px; }
.cmt-time { color: var(--dim2); }
.cmt-txt { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.cmt-actions { display: flex; gap: 12px; font-size: 12px; color: var(--dim2); }
.cmt-input-box { margin-top: 20px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.cmt-input-box textarea { width: 100%; height: 60px; resize: none; font-size: 13px; color: var(--txt); margin-bottom: 8px; }
.cmt-input-box textarea::placeholder { color: var(--dim2); }
.emoji-row { display: flex; gap: 8px; margin-bottom: 8px; }
.emoji-row button { font-size: 16px; opacity: .6; transition: .2s; }
.emoji-row button:hover { opacity: 1; }
.cmt-send { float: right; padding: 4px 16px; background: var(--cyan); color: #000; font-weight: 700; border-radius: 4px; font-size: 12px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 250px; gap: 20px; --fc: var(--purple); }
.faq-main { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.faq-tabs button { font-size: 12px; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--line); color: var(--dim); }
.faq-tabs button.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.faq-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-q { width: 100%; text-align: left; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; font-size: 13px; color: var(--dim); }
.faq-item.open .faq-a { max-height: 320px; margin-top: 8px; }
.faq-feedback { display: flex; gap: 12px; font-size: 12px; margin-top: 8px; color: var(--dim2); }

/* Animation */
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }
@keyframes tk { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes grow { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes slide { 0% { left: 100%; transform: translateX(0); } 100% { left: 0; transform: translateX(-150vw); } }
@keyframes fadein { 0% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

/* Responsive */
@media(max-width:1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .boards { grid-template-columns: repeat(2, 1fr); }
  .ct-works { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:980px) {
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .search-sm { display: none; }
  nav { display: none; } /* simplify mobile nav */
  .ct-top { grid-template-columns: 1fr; }
  .talk-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .dl-layout { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: repeat(2, 1fr); }
  header { flex-wrap: wrap; }
}
@media(max-width:640px) {
  .posts { grid-template-columns: 1fr; }
  .poll-opts { grid-template-columns: 1fr; }
  .col-side { grid-template-columns: 1fr; }
  .ct-works { grid-template-columns: 1fr; }
  .boards { grid-template-columns: repeat(2, 1fr); }
  .sec { margin-top: 56px; }
  .hot-bar { display: none; }
  .big-search { height: 56px; padding-left: 14px; }
  .s-btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .dl-links { flex-direction: column; }
  .ft-bottom { flex-direction: column; gap: 10px; text-align: center; }
}