/* ============================================================
   乐游网 · 中文游戏下载站（复刻 byrutgame.org 风格）
   ============================================================ */
:root {
  --bg:        #15181f;
  --bg-soft:   #1b1f28;
  --panel:     #20242f;
  --panel-2:   #262b37;
  --line:      #2d3341;
  --line-soft: #262c38;
  --text:      #d9dee6;
  --text-dim:  #8b94a3;
  --text-dark: #a9b1bf;
  --green:     #35b24a;
  --green-soft:#1e3a26;
  --orange:    #ff9f2e;
  --orange-soft:#3a2c17;
  --red:       #e4584f;
  --link:      #57c36b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 1200px; max-width: 96%; margin: 0 auto; }

/* ---------- 顶部统计条 ---------- */
.topbar {
  background: #0e1015;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--text-dark);
  padding: 8px 0;
}
.topbar-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .stat { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .stat b { color: var(--green); font-weight: 700; }
.topbar .slogan { margin-left: auto; color: #6d7684; font-size: 12px; }

/* ---------- 主头部 ---------- */
.header { background: var(--bg-soft); border-bottom: 2px solid var(--green); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #2fae4e, #1d7a36);
  display: grid; place-items: center;
  color: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(53,178,74,.35);
}
.logo-name { font-size: 24px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo-name span { color: var(--green); }
.logo-sub { font-size: 11px; color: var(--text-dim); margin-top: -2px; }

.searchbox { flex: 1; display: flex; }
.searchbox input {
  flex: 1; background: #12151c; border: 1px solid var(--line);
  color: var(--text); padding: 10px 16px; font-size: 14px;
  border-radius: 8px 0 0 8px; outline: none;
}
.searchbox input:focus { border-color: var(--green); }
.searchbox input::placeholder { color: #5a6270; }
.searchbox button {
  background: var(--green); color: #fff; border: none;
  padding: 0 22px; font-size: 14px; font-weight: 700;
  border-radius: 0 8px 8px 0; cursor: pointer;
}
.searchbox button:hover { background: #2c9a42; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  border: 1px solid var(--line); color: var(--text);
  padding: 8px 18px; border-radius: 8px; font-size: 13px;
  transition: .2s;
}
.btn-login:hover { border-color: var(--green); color: var(--green); }

/* ---------- 导航 ---------- */
.nav { background: var(--panel); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 12px 16px; color: var(--text-dark);
  font-size: 14px; border-bottom: 2px solid transparent; transition: .2s;
}
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: var(--green); background: rgba(53,178,74,.08); }

/* ---------- 年份区块 ---------- */
.years { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.years-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.years-label { font-size: 13px; color: var(--text-dim); font-weight: 700; white-space: nowrap; }
.years-group { display: flex; align-items: center; gap: 6px; }
.years-group .era {
  font-size: 11px; font-weight: 700; color: var(--orange);
  background: var(--orange-soft); border-radius: 4px; padding: 3px 8px;
}
.years-group a {
  font-size: 13px; color: var(--text-dark); padding: 3px 7px; border-radius: 5px;
  transition: .15s;
}
.years-group a:hover { color: var(--green); background: rgba(53,178,74,.1); }

/* ---------- Tab 区块 ---------- */
.tabs-block { padding: 26px 0 6px; }
.tabs-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tabs-head h2 { font-size: 20px; font-weight: 800; color: #fff; }
.tabs {
  display: flex; background: var(--panel); border-radius: 9px; padding: 3px; gap: 3px;
}
.tabs button {
  border: none; background: transparent; color: var(--text-dim);
  padding: 8px 22px; border-radius: 7px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: .2s;
}
.tabs button.active { background: var(--green); color: #fff; }
.tabs-pane { display: none; }
.tabs-pane.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }

.game-tile { background: var(--panel); border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); transition: .2s; }
.game-tile:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.game-tile .cover { aspect-ratio: 140/200; }
.game-tile .tile-body { padding: 10px 12px 12px; }
.game-tile .tile-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.45; height: 38px; overflow: hidden; }
.game-tile .tile-name:hover { color: var(--link); }
.game-tile .tile-date { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ---------- 封面占位图（CSS 渐变 + 标题字） ---------- */
.cover {
  position: relative; background: linear-gradient(160deg, #2b3240, #1a1f2a);
  overflow: hidden;
}
.cover .cimg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.10), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(0,0,0,.22), transparent 55%);
  pointer-events: none;
}
.cover .cv {
  position: absolute; inset: 0; opacity: .18; z-index: 3; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 55%, rgba(255,255,255,.10) 56%, transparent 60%),
    radial-gradient(circle at 70% 30%, transparent 0 30%, rgba(0,0,0,.30) 100%);
}
.cover .cv-title {
  position: absolute; left: 10px; right: 10px; top: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: rgba(255,255,255,.95); text-shadow: 0 1px 4px rgba(0,0,0,.6);
  line-height: 1.3; z-index: 4;
}
.cover .cv-tag {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 2px 8px; letter-spacing: 1px;
}

/* 渐变主题组（每个游戏不同色） */
.cover.g1 { background-image: linear-gradient(160deg,#3a7bd5,#0b1f4d); }
.cover.g2 { background-image: linear-gradient(160deg,#f09819,#b1271b); }
.cover.g3 { background-image: linear-gradient(160deg,#11998e,#0d4f43); }
.cover.g4 { background-image: linear-gradient(160deg,#654ea3,#251352); }
.cover.g5 { background-image: linear-gradient(160deg,#e65c00,#7a2e00); }
.cover.g6 { background-image: linear-gradient(160deg,#2c3e50,#000000); }
.cover.g7 { background-image: linear-gradient(160deg,#56ab2f,#2b6b13); }
.cover.g8 { background-image: linear-gradient(160deg,#8e2de2,#4a00e0); }
.cover.g9 { background-image: linear-gradient(160deg,#f12711,#660505); }
.cover.g10{ background-image: linear-gradient(160deg,#00c6ff,#003b5c); }
.cover.g11{ background-image: linear-gradient(160deg,#fc466b,#3f5efb); }
.cover.g12{ background-image: linear-gradient(160deg,#c79081,#501f12); }

/* ---------- 主布局 ---------- */
.layout { display: flex; gap: 24px; padding: 26px 0 40px; }
.main-col { flex: 1; min-width: 0; }
.side-col { width: 320px; flex-shrink: 0; }

/* ---------- 精选大卡 ---------- */
.section-title {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 19px; font-weight: 800; color: #fff;
  margin-bottom: 16px;
}
.section-title::before { content: ""; width: 4px; height: 18px; background: var(--green); border-radius: 2px; align-self: center; }
.section-title .sub { font-size: 12px; color: var(--text-dim); font-weight: 400; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.featured {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transition: .25s;
}
.featured:hover { transform: translateY(-4px); border-color: var(--green); }
.featured .cover { aspect-ratio: 16/9; }
.featured .f-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,12,17,.92) 88%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.featured .f-meta { display: flex; gap: 10px; font-size: 11px; color: #aeb6c2; margin-bottom: 6px; }
.featured .f-meta .sz { color: var(--orange); font-weight: 700; }
.featured .f-meta .yr { color: var(--text-dim); }
.featured .f-name { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.35; }
.featured .f-name:hover { color: var(--link); }
.featured .f-dl { font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.featured .f-dl b { color: var(--green); }

/* ---------- 游戏列表 ---------- */
.game-list { display: flex; flex-direction: column; gap: 2px; }
.game-row {
  display: flex; gap: 16px; padding: 12px 14px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 10px; transition: .18s;
}
.game-row + .game-row { margin-top: 8px; }
.game-row:hover { border-color: var(--green); background: var(--panel-2); }
.game-row .cover { width: 112px; flex-shrink: 0; aspect-ratio: 140/200; border-radius: 8px; }
.game-row .g-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.game-row .g-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.game-row .g-name { font-size: 15px; font-weight: 700; color: #fff; }
.game-row .g-name:hover { color: var(--link); }
.game-row .g-desc { font-size: 12px; color: var(--text-dim); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-row .g-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 12px; color: var(--text-dark); }
.game-row .g-meta .sz { color: var(--orange); font-weight: 700; }
.game-row .g-meta .yr { color: var(--text-dim); }
.game-row .g-meta .dl { color: var(--text-dim); }
.game-row .g-meta .dl b { color: var(--green); font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 5px; line-height: 1.5;
}
.badge-upd  { background: var(--green-soft); color: var(--green); }
.badge-new  { background: var(--orange-soft); color: var(--orange); }
.badge-rus  { background: rgba(86,138,255,.14); color: #6f9dff; }

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pager a {
  min-width: 34px; text-align: center; padding: 7px 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; font-size: 13px; color: var(--text-dark); transition: .15s;
}
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager a.cur { background: var(--green); color: #fff; border-color: var(--green); font-weight: 700; }
.pager .dots { color: var(--text-dim); padding: 0 4px; }

/* ---------- 侧边栏 ---------- */
.side-mod { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.side-mod .sm-head {
  padding: 11px 16px; font-weight: 800; color: #fff; font-size: 14px;
  background: var(--panel-2); border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
}
.side-mod .sm-head::before { content: ""; width: 3px; height: 14px; background: var(--green); border-radius: 2px; }
.side-mod .sm-body { padding: 12px 16px; }

.sm-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.sm-links a { font-size: 13px; color: var(--text-dark); transition: .15s; display: flex; align-items: center; gap: 6px; }
.sm-links a::before { content: "›"; color: var(--green); font-weight: 700; }
.sm-links a:hover { color: var(--green); }

.news-list li { padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: 12px; color: var(--text-dark); }
.news-list li:last-child { border-bottom: none; }
.news-list .ntag {
  display: inline-block; font-size: 10px; font-weight: 700;
  background: var(--orange-soft); color: var(--orange);
  border-radius: 4px; padding: 1px 7px; margin-right: 6px; vertical-align: 1px;
}
.news-list .ntag.b { background: var(--green-soft); color: var(--green); }
.news-list .ndate { display: block; color: #646d7c; font-size: 11px; margin-top: 3px; }

.hot-list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.hot-list li:last-child { border-bottom: none; }
.hot-list .cover { width: 46px; flex-shrink: 0; aspect-ratio: 140/200; border-radius: 5px; }
.hot-list .h-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; }
.hot-list .h-name:hover { color: var(--link); }
.hot-list .h-meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.cmt-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.cmt-list li:last-child { border-bottom: none; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800;
  background: linear-gradient(135deg, var(--avatar-a, #3a7bd5), var(--avatar-b, #0b1f4d));
}
.cmt-list .c-name { font-size: 12px; font-weight: 700; color: var(--green); }
.cmt-list .c-text { font-size: 12px; color: var(--text-dark); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-list .c-game { font-size: 11px; color: var(--text-dim); }

.team-list { display: flex; flex-wrap: wrap; gap: 8px; }
.team-list .avatar { width: 40px; height: 40px; }
.team-list .avatar:hover { transform: scale(1.1); transition: .15s; }

/* ---------- 页脚 ---------- */
.faq-block { background: var(--bg-soft); border-top: 1px solid var(--line-soft); padding: 36px 0 26px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 18px; }
.faq-item { border: 1px solid var(--line-soft); border-radius: 10px; background: var(--panel); padding: 16px 18px; }
.faq-item h4 { font-size: 14px; color: #fff; font-weight: 800; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.faq-item h4::before { content: "?"; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.faq-item p { font-size: 13px; color: var(--text-dark); }
.faq-item p a { color: var(--link); }

.footer { background: #0e1015; border-top: 1px solid var(--line-soft); padding: 26px 0; }
.footer-inner { display: flex; gap: 40px; flex-wrap: wrap; }
.footer h5 { font-size: 13px; color: #fff; margin-bottom: 10px; font-weight: 800; }
.footer ul li a { font-size: 12px; color: var(--text-dim); line-height: 2; transition: .15s; }
.footer ul li a:hover { color: var(--green); }
.footer .copyright { width: 100%; text-align: center; font-size: 12px; color: #5a6270; border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 10px; }

/* ============================================================
   详情页
   ============================================================ */
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--text-dim); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { margin: 0 8px; color: #4a5160; }

.detail-layout { display: flex; gap: 24px; padding: 20px 0 40px; }
.detail-main { flex: 1; min-width: 0; }
.detail-side { width: 330px; flex-shrink: 0; }

/* 游戏头卡 */
.game-head { display: flex; gap: 22px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.game-head .cover { width: 250px; flex-shrink: 0; aspect-ratio: 140/200; border-radius: 10px; }
.game-head .gh-info { flex: 1; min-width: 0; }
.game-head h1 { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.3; }
.game-head .gh-version {
  display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700;
  background: var(--green-soft); color: var(--green);
  border: 1px solid rgba(53,178,74,.35); padding: 3px 10px; border-radius: 6px;
}
.game-head .gh-meta { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.game-head .gh-meta dt { color: var(--text-dim); }
.game-head .gh-meta dd { color: var(--text); }
.game-head .gh-meta dd a { color: var(--link); }
.game-head .gh-meta dd a:hover { text-decoration: underline; }
.game-head .gh-extra { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 8px; font-size: 13px;
}
.rating-badge .stars { color: var(--orange); letter-spacing: 2px; }
.gh-updated { font-size: 12px; color: var(--text-dim); margin-top: 12px; }
.gh-updated b { color: var(--orange); }

/* 描述 */
.desc-block { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.desc-block h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.desc-block p { font-size: 14px; color: var(--text-dark); text-indent: 2em; margin-bottom: 10px; }
.btn-more {
  display: inline-block; margin-top: 6px; color: var(--green);
  font-size: 13px; cursor: pointer; user-select: none;
}
.btn-more:hover { text-decoration: underline; }

/* 截图 */
.shots-block { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shot { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; position: relative; transition: .2s; }
.shot:hover { transform: scale(1.02); border-color: var(--green); }
.shot .cv-title { font-size: 12px; }
.video-ph {
  margin-top: 14px; aspect-ratio: 16/9; border-radius: 10px;
  background: #0e1015; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-dim); font-size: 13px; position: relative;
}
.video-ph::after { content: "▶"; font-size: 40px; color: var(--green); }

/* 系统需求 */
.sysreq { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.sysreq h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.sysreq ul { display: grid; gap: 8px; }
.sysreq li { display: flex; gap: 10px; font-size: 13px; color: var(--text-dark); }
.sysreq li b { color: var(--green); width: 90px; flex-shrink: 0; font-weight: 700; }

/* 评论区 */
.comments-block { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; }
.comments-block h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.comment-form { display: flex; gap: 12px; margin-bottom: 18px; }
.comment-form textarea {
  flex: 1; background: #12151c; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); padding: 10px 12px; font-size: 13px; font-family: inherit;
  resize: vertical; min-height: 64px; outline: none;
}
.comment-form textarea:focus { border-color: var(--green); }
.comment-form button {
  align-self: flex-end; background: var(--green); color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px; font-weight: 700; cursor: pointer;
}
.comment-form button:hover { background: #2c9a42; }
.comment-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); }
.comment-list li:last-child { border-bottom: none; }
.comment-list .c-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comment-list .c-date { font-size: 11px; color: #646d7c; }
.comment-list .c-text { font-size: 13px; color: var(--text-dark); margin-top: 4px; }
.comment-list .c-reply {
  margin-top: 8px; margin-left: 34px; background: var(--bg-soft);
  border-left: 2px solid var(--green); border-radius: 6px; padding: 8px 12px;
  font-size: 12px; color: var(--text-dark);
}
.comment-list .c-reply .rp-name { color: var(--green); font-weight: 700; }
.comment-list .like { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.comment-list .like b { color: var(--orange); }

/* 详情侧栏 */
.info-panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.info-panel h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.info-panel h3::before { content: ""; width: 3px; height: 15px; background: var(--green); border-radius: 2px; }
.info-rows { display: grid; gap: 10px; font-size: 13px; }
.info-rows .ir { display: flex; justify-content: space-between; gap: 10px; }
.info-rows .ir .k { color: var(--text-dim); flex-shrink: 0; }
.info-rows .ir .v { color: var(--text); text-align: right; }
.info-rows .ir .v.tag { color: var(--link); }
.info-rows .ir .v .sep { color: #4a5160; }

.dl-buttons { display: grid; gap: 10px; margin-top: 16px; }
.btn-torrent {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #39b54a, #238a37); color: #fff;
  border-radius: 10px; padding: 14px; font-size: 15px; font-weight: 800;
  transition: .2s; border: none; cursor: pointer;
}
.btn-torrent:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-torrent .ico { font-size: 18px; }
.btn-direct {
  display: block; text-align: center; background: var(--panel-2);
  border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 700; transition: .2s;
}
.btn-direct:hover { border-color: var(--green); color: var(--green); }
.safety {
  margin-top: 14px; font-size: 12px; color: var(--text-dark);
  background: var(--bg-soft); border-radius: 8px; padding: 10px 12px;
  border-left: 3px solid var(--green);
}
.safety b { color: var(--green); }

.rel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rel-item { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px; }
.rel-item .cover { width: 100%; aspect-ratio: 140/200; border-radius: 6px; margin-bottom: 6px; }
.rel-item .rel-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-item .rel-name:hover { color: var(--link); }
.rel-item .rel-meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  font-size: 12px; color: var(--text-dark); background: var(--panel-2);
  border: 1px solid var(--line-soft); border-radius: 6px; padding: 3px 10px; transition: .15s;
}
.tag-cloud a:hover { color: var(--green); border-color: var(--green); }

/* ---------- 灯箱（截图放大） ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6, 8, 12, .94);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  backdrop-filter: blur(4px);
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .75);
  animation: lb-in .22s ease;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb-btn {
  position: fixed; z-index: 1000;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(32, 36, 47, .92); color: #fff;
  border: 1px solid var(--line); font-size: 22px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: .18s; user-select: none;
}
.lb-btn:hover { background: var(--green); border-color: var(--green); }
.lb-close { top: 20px; right: 20px; font-size: 26px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); padding-right: 3px; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); padding-left: 3px; }
.lb-caption { color: var(--text-dark); font-size: 13px; letter-spacing: 1px; }
.lb-hint { color: #4a5160; font-size: 11px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .layout { flex-direction: column; }
  .side-col { width: 100%; }
  .detail-layout { flex-direction: column; }
  .detail-side { width: 100%; }
  .featured-grid { grid-template-columns: 1fr; }
  .game-head { flex-direction: column; }
  .game-head .cover { width: 100%; max-width: 240px; }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============ 首ҳ 3344 风格 ============ */
.announce { background: linear-gradient(90deg,#1b2436,#20242f); border:1px solid #2d3341; border-radius:10px; padding:12px 18px; margin:18px 0; display:flex; align-items:center; gap:12px; font-size:13px; color:#a9b1bf; }
.announce b { color:#ff9f2e; font-weight:800; white-space:nowrap; }
.announce a { color:#57c36b; }
.stat-bar { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.stat-bar span { flex:1; min-width:130px; background:#20242f; border:1px solid #2d3341; border-radius:10px; padding:14px 16px; text-align:center; }
.stat-bar b { display:block; font-size:22px; color:#35b24a; margin-bottom:4px; }
.stat-bar i { font-style:normal; font-size:12px; color:#8b94a3; }
.hot-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:26px; }
.hot-card { position:relative; display:block; border-radius:10px; overflow:hidden; border:1px solid #2d3341; background:#20242f; transition:.2s; }
.hot-card:hover { transform:translateY(-3px); border-color:#35b24a; }
.hot-card .hc-img { width:100%; aspect-ratio:16/9; object-fit:cover; object-position:center top; display:block; }
.hot-card .hc-mask { position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(10,12,17,.92) 100%); }
.hot-card .hc-name { position:absolute; left:12px; right:12px; bottom:10px; color:#fff; font-size:13px; font-weight:700; line-height:1.4; z-index:2; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hot-card .hc-tag { position:absolute; left:8px; top:8px; background:rgba(53,178,74,.9); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:4px; z-index:2; }
.news-row { display:flex; gap:16px; background:#20242f; border:1px solid #2d3341; border-radius:10px; padding:12px; margin-bottom:10px; transition:.15s; }
.news-row:hover { border-color:#35b24a; }
.news-row .nr-img { width:180px; aspect-ratio:16/9; flex-shrink:0; border-radius:8px; overflow:hidden; }
.news-row .nr-img img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.news-row .nr-info { flex:1; min-width:0; display:flex; flex-direction:column; }
.news-row .nr-top { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.news-row .nr-name { font-size:15px; font-weight:700; color:#fff; }
.news-row .nr-name:hover { color:#57c36b; }
.news-row .nr-desc { font-size:12px; color:#8b94a3; margin-top:5px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-row .nr-meta { display:flex; align-items:center; gap:14px; margin-top:auto; font-size:12px; color:#a9b1bf; padding-top:6px; flex-wrap:wrap; }
.news-row .nr-meta .sz { color:#ff9f2e; font-weight:700; }
.news-row .nr-meta .tag-cat { background:#262b37; color:#8fa2c9; border-radius:4px; padding:1px 8px; font-size:11px; }
.nr-badge { font-size:11px; font-weight:700; padding:2px 9px; border-radius:5px; }
.nr-badge.b-new { background:rgba(255,159,46,.16); color:#ff9f2e; }
.nr-badge.b-upd { background:rgba(53,178,74,.16); color:#35b24a; }
.tag-cloud-3344 { display:flex; flex-wrap:wrap; gap:7px; }
.tag-cloud-3344 a { font-size:12px; color:#a9b1bf; background:#262b37; border:1px solid #2d3341; border-radius:6px; padding:3px 11px; transition:.15s; }
.tag-cloud-3344 a:hover { color:#35b24a; border-color:#35b24a; }
.side-update { display:flex; gap:10px; padding:8px 0; border-bottom:1px dashed #262c38; align-items:center; }
.side-update:last-child { border-bottom:none; }
.side-update .su-img { width:74px; aspect-ratio:16/9; flex-shrink:0; border-radius:6px; overflow:hidden; }
.side-update .su-img img { width:100%; height:100%; object-fit:cover; }
.side-update .su-name { font-size:12px; color:#d9dee6; font-weight:600; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.side-update .su-meta { font-size:11px; color:#6d7684; margin-top:3px; }
@media (max-width:1100px) { .hot-grid { grid-template-columns:repeat(2,1fr); } .news-row { flex-direction:column; } .news-row .nr-img { width:100%; } }


/* ============ 3344 简洁ҳͷ ============ */
.header-3344 { position:relative; border-bottom:2px solid #35b24a; overflow:hidden; }
.header-3344::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 0%, rgba(53,178,74,.14), transparent 45%), radial-gradient(circle at 85% 120%, rgba(57,107,205,.18), transparent 55%); pointer-events:none; }
.header-3344 .header-inner { position:relative; z-index:1; }
/* 资Ѷ�б�ǩ（3344：�ö�/热门/今日新增） */
.nr-badge.b-hot { background:rgba(228,88,79,.16); color:#ff7b72; }
.nr-badge.b-today { background:rgba(86,138,255,.16); color:#6f9dff; }
.nr-badge.b-pin { background:rgba(255,255,255,.12); color:#ffd166; }


/* ============ 热门资Ѷ · 3344 矩�ο�Ƭ（完ȫ复�̣� ============ */
.zhuige-base-list { background:#20242f; border:1px solid #2d3341; border-radius:10px; margin-bottom:10px; transition:.15s; }
.zhuige-base-list:hover { border-color:#35b24a; box-shadow:0 8px 24px rgba(0,0,0,.5); }
.zhuige-list { display:flex; align-items:center; padding:16px 18px; gap:18px; }
.zhuige-list-img { position:relative; width:212px; flex-shrink:0; }
.zhuige-list-cover { display:block; border-radius:6px; overflow:hidden; border:1px solid #2d3341; }
.zhuige-list-cover img { width:212px; aspect-ratio:16/9; object-fit:cover; object-position:center top; display:block; }
.zhuige-list-cover .ph { width:212px; aspect-ratio:16/9; background:linear-gradient(160deg,#2b3240,#1a1f2a); }
.zhuige-list-mark { position:absolute; top:8px; left:8px; z-index:2; }
.zhuige-list-mark span { color:#fff; font-size:11px; font-weight:700; padding:2px 9px; border-radius:3px; background:rgba(0,0,0,.55); }
.zhuige-list-mark span.zg-mark-sticky { background:rgba(255,159,46,.92); }
.zhuige-list-mark span.zg-mark-hot { background:rgba(228,88,79,.92); }
.zhuige-list-mark span.zg-mark-new { background:rgba(53,178,74,.92); }
.zg-view-pill { position:absolute; right:8px; top:8px; z-index:2; background:rgba(0,0,0,.62); color:#fff; font-size:11px; border-radius:12px; padding:2px 9px; display:flex; align-items:center; gap:4px; }
.zg-view-pill svg { width:12px; height:12px; }
.zhuige-list-text { flex:1; min-width:0; }
.zg-cat-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.zg-cat-chip { background:#262b37; border:1px solid #2d3341; border-radius:4px; padding:1px 9px; font-size:11px; color:#8fa2c9; }
.zg-badge-size { color:#ff9f2e; font-size:13px; font-weight:800; }
.text-title { font-size:16px; font-weight:700; color:#fff; margin:0 0 8px; line-height:1.45; }
.text-title a:hover { color:#57c36b; }
.sub-title { font-size:12px; color:#8b94a3; margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.zhuige-list .data-info { display:flex; align-items:center; justify-content:space-between; }
.zhuige-user { display:flex; align-items:center; gap:8px; }
.zhuige-user .user-avatar { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,#35b24a,#1d7a36); display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; font-weight:700; flex-shrink:0; }
.zhuige-user .user-info { font-size:12px; color:#a9b1bf; }
.zhuige-user .user-info a { color:#a9b1bf; }
.zg-card-date { font-size:12px; color:#6d7684; }
@media (max-width:768px) { .zhuige-list { flex-direction:column; align-items:flex-start; } .zhuige-list-img, .zhuige-list-cover img, .zhuige-list-cover .ph { width:100%; } }

/* ============ 热门资讯 · 三列紧凑网格（横向小卡） ============ */
.nr-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px; }
.nr-card { display:flex; align-items:center; gap:11px; padding:10px; background:#20242f; border:1px solid #2d3341; border-radius:10px; transition:.18s; }
.nr-card:hover { border-color:#35b24a; background:#262b37; }
.nr-card .nc-thumb { position:relative; width:104px; flex-shrink:0; }
.nr-card .nc-thumb img { width:104px; aspect-ratio:16/9; object-fit:cover; object-position:center top; display:block; border-radius:6px; }
.nr-card .nc-thumb .ph { width:104px; aspect-ratio:16/9; border-radius:6px; background:linear-gradient(160deg,#2b3240,#1a1f2a); }
.nr-card .nc-mark { position:absolute; top:4px; left:4px; z-index:2; }
.nr-card .nc-mark span { color:#fff; font-size:9px; font-weight:700; padding:1px 6px; border-radius:3px; background:rgba(0,0,0,.55); }
.nr-card .nc-mark span.mk-new { background:rgba(53,178,74,.92); }
.nr-card .nc-mark span.mk-hot { background:rgba(228,88,79,.92); }
.nr-card .nc-mark span.mk-upd { background:rgba(86,138,255,.92); }
.nr-card .nc-body { flex:1; min-width:0; }
.nr-card .nc-name { font-size:13px; font-weight:700; color:#fff; line-height:1.45; height:38px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.nr-card:hover .nc-name { color:#57c36b; }
.nr-card .nc-meta { display:flex; align-items:center; gap:8px; margin-top:6px; font-size:11px; color:#8b94a3; }
.nr-card .nc-size { color:#ff9f2e; font-weight:700; }
@media (max-width:1100px) { .nr-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) { .nr-grid { grid-template-columns:1fr; } }

/* ============ 热门资讯 · 5 列网格（1:1 复刻 3344 首页） ============ */
.nr-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:26px; margin-bottom:20px; }
.nr-card { display:block; background:#21384f; border:1px solid #2a3f5a; border-radius:8px; overflow:hidden; transition:.3s; min-width:0; }
.nr-card:hover { transform:translateY(-3px); background:#2a475e; box-shadow:0 8px 24px rgba(0,0,0,.5); }
.nr-card .nc-thumb { position:relative; width:100%; aspect-ratio:16/9; background:#16202d; }
.nr-card .nc-thumb img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.nr-card .nc-thumb .ph { width:100%; height:100%; background:linear-gradient(160deg,#2b3240,#1a1f2a); }
.nr-card .nc-mark { position:absolute; top:8px; left:8px; z-index:2; }
.nr-card .nc-mark span { color:#fff; font-size:11px; font-weight:700; padding:2px 9px; border-radius:3px; background:rgba(0,0,0,.55); }
.nr-card .nc-mark span.mk-new { background:rgba(53,178,74,.92); }
.nr-card .nc-mark span.mk-hot { background:rgba(228,88,79,.92); }
.nr-card .nc-mark span.mk-upd { background:rgba(86,138,255,.92); }
.nr-card .nc-view { position:absolute; top:8px; right:8px; z-index:3; display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:12px; background:rgba(10,16,24,.62); color:#fff; font-size:12px; font-weight:600; }
.nr-card .nc-view svg { width:13px; height:13px; }
.nr-card .nc-body { padding:10px 10px 13px; }
.nr-card .nc-cat-row { display:flex; align-items:center; gap:6px; margin-bottom:8px; }
.nr-card .nc-cat { background:rgba(46,107,230,.14); border:1px solid rgba(96,145,255,.42); color:#8db1ff; padding:3px 9px; border-radius:6px; font-size:11px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:60%; }
.nr-card .nc-size { color:#ff9f2e; font-weight:700; font-size:11px; margin-left:auto; white-space:nowrap; }
.nr-card .nc-name { font-size:14px; font-weight:600; color:#fff; line-height:1.55; height:44px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.nr-card:hover .nc-name { color:#66c0f4; }
@media (max-width:1200px){ .nr-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:950px){ .nr-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px){ .nr-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
