:root {
  --brand: #3D4DFF;
  --brand-deep: #2A38D6;
  --brand-soft: #EEF0FF;
  --accent: #FF5C35;
  --accent-soft: #FFF1EC;
  --ok: #00B578;
  --ok-soft: #E6F8F1;
  --bg: #F6F7FC;
  --bg-1: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #171A2E;
  --muted: #6B7189;
  --line: #E4E7F2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(23, 26, 46, .06);
  --shadow-hover: 0 14px 32px rgba(23, 26, 46, .10);
  --wrap: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.topline { height: 4px; background: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 32px; width: auto; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.brand-name span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 12px; border-radius: 8px; font-size: 14px;
  color: var(--muted); transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; transition: border-color .18s, box-shadow .18s, background .18s;
}
.search-box svg { flex: 0 0 auto; stroke: var(--muted); }
.search-box input {
  border: 0; outline: 0; background: transparent;
  width: 168px; font-size: 13px; color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); }
.search-box:focus-within {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.btn-login {
  border: 0; border-radius: 999px; padding: 9px 18px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  transition: background .18s, transform .18s;
}
.btn-login:hover { background: var(--brand-deep); transform: translateY(-1px); }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); border-radius: 9px; padding: 7px 11px; font-size: 16px;
}
.menu-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-switch { position: absolute; opacity: 0; pointer-events: none; }

.notice-bar { background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.notice-bar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.notice-tag {
  flex: 0 0 auto; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px;
}
.notice-text { font-size: 13px; color: var(--ink); }

.btn-primary, .btn-ghost, .dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  padding: 11px 22px; border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(61, 77, 255, .22); }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

section { padding: 52px 0; }
.alt-section { background: var(--bg-1); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.sec-title {
  font-size: 25px; font-weight: 800; line-height: 1.35;
  padding-left: 14px; border-left: 4px solid var(--brand);
}
.sec-sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sec-link { font-size: 13px; color: var(--brand); font-weight: 700; white-space: nowrap; }
.sec-link:hover { text-decoration: underline; }

.hero { padding-top: 40px; padding-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 26px; }
.spotlight {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px;
}
.spotlight-media { position: relative; }
.spotlight-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.spotlight-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
}
.spotlight-body { display: flex; flex-direction: column; justify-content: center; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.tag {
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
}
.spotlight-body h1 { font-size: 28px; line-height: 1.35; font-weight: 800; margin-bottom: 12px; }
.spotlight-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.hero-meta .star { color: var(--accent); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.hotlist {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
}
.hotlist h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.hot-item {
  display: grid; grid-template-columns: 22px 40px minmax(0, 1fr);
  align-items: center; gap: 10px; padding: 7px 6px; border-radius: 9px;
  transition: background .18s, transform .18s;
}
.hot-item:hover { background: var(--brand-soft); transform: translateX(3px); }
.hot-rank { font-size: 13px; font-weight: 800; color: var(--muted); text-align: center; }
.hot-item:nth-child(-n+4) .hot-rank { color: var(--accent); }
.hot-thumb { width: 40px; height: 48px; border-radius: 8px; overflow: hidden; }
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-info { min-width: 0; }
.hot-info b { display: block; font-size: 13px; font-weight: 700; }
.hot-info small { display: block; font-size: 11px; color: var(--muted); }
.hot-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--brand); }
.hot-more:hover { text-decoration: underline; }

.quickbar { padding-top: 8px; padding-bottom: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.quick-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-hover); }
.quick-icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand); font-size: 17px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.quick-card h3 { font-size: 14px; font-weight: 800; }
.quick-card p { font-size: 12px; color: var(--muted); margin-top: 4px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scroll-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 186px;
  gap: 14px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.scroll-row > .card { scroll-snap-align: start; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-hover); }
.card-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--brand-soft); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px; }
.card-body h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-body > p:not(.meta) { font-size: 13px; color: var(--ink); margin-bottom: 10px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.count { font-size: 11px; color: var(--muted); flex: 1 1 120px; }
.card-foot .btn-ghost, .card-body .btn-ghost { padding: 7px 14px; font-size: 12px; }

.follow-toggle { position: relative; }
.follow-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.follow-toggle .txt-on { display: none; }
.follow-toggle input:checked ~ .txt-off { display: none; }
.follow-toggle input:checked ~ .txt-on { display: inline; }
.follow-toggle:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }

.corner {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: .5px;
}
.corner.new { background: var(--brand); }
.bar { height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.panel h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.panel ul li { font-size: 13px; color: var(--muted); padding: 6px 0 6px 16px; position: relative; }
.panel ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.panel ul li b { color: var(--ink); }
.mock-search {
  margin-top: 14px; background: var(--bg); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; color: var(--muted);
}
.mock-search span { color: var(--brand); font-weight: 700; }
.mock-result {
  display: flex; align-items: center; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.mock-result:last-child { border-bottom: 0; }
.mock-result img { width: 44px; height: 52px; object-fit: cover; border-radius: 6px; }
.mock-result small { display: block; color: var(--muted); font-size: 11px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.feature:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--muted); }
.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-soft); color: var(--brand); font-size: 18px; margin-bottom: 12px;
}

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.step:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.tag-cloud a em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; }
.tag-cloud a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.tag-cloud a:hover em { color: rgba(255, 255, 255, .8); }

.row-card {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 150px;
  gap: 18px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.row-card:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow); }
.row-card img { width: 76px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); }
.row-card h3 { font-size: 16px; font-weight: 800; }
.row-card p:not(.meta) { font-size: 13px; color: var(--muted); }
.row-right { font-size: 12px; color: var(--brand); font-weight: 700; line-height: 1.9; text-align: right; }

.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wall figure { margin: 0; }
.wall img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.wall figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

.rank-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rank-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.rank-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.rank-line {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 8px; border-radius: 8px; font-size: 13px;
  transition: background .18s, transform .18s;
}
.rank-line:hover { background: var(--brand-soft); transform: translateX(3px); }
.rank-line b { display: inline-block; width: 20px; color: var(--accent); font-weight: 800; }
.rank-line span:last-child { font-size: 11px; color: var(--muted); white-space: nowrap; }
.rank-line .up { color: var(--ok); font-weight: 700; }
.rank-line .down { color: var(--accent); font-weight: 700; }
.rank-tip { display: none; font-size: 11px; color: var(--muted); padding: 0 8px 8px 28px; }
.rank-line:hover + .rank-tip { display: block; }

.cal-switch { position: absolute; opacity: 0; pointer-events: none; }
.cal-label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--brand);
  border: 1px solid var(--line); background: var(--surface);
  padding: 7px 14px; border-radius: 999px; transition: background .18s, color .18s;
}
.cal-label:hover { background: var(--brand-soft); }
.cal-switch:checked ~ .cal-label { background: var(--brand); color: #fff; border-color: var(--brand); }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.day {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.day:hover, .day:target { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.day h4 { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.day h4 small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.day li { font-size: 12px; color: var(--muted); padding: 5px 0; border-bottom: 1px dashed var(--line); }
.day li:last-child { border-bottom: 0; }
.day li.mine { color: var(--brand); font-weight: 700; padding-left: 8px; border-left: 3px solid var(--brand); }
.cal-switch:checked ~ .calendar li:not(.mine) { display: none; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; outline: none; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.stat:hover, .stat:focus-within { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat b { display: block; font-size: 17px; font-weight: 800; color: var(--brand); }
.stat > span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.stat-more {
  max-height: 0; opacity: 0; overflow: hidden;
  font-size: 12px; color: var(--ink); border-top: 1px dashed var(--line); margin-top: 0;
  transition: max-height .25s ease, opacity .25s ease, margin-top .25s ease, padding-top .25s ease;
}
.stat:hover .stat-more, .stat:focus-within .stat-more {
  max-height: 120px; opacity: 1; margin-top: 12px; padding-top: 10px;
}

.thread, .review {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; background: var(--bg); overflow: hidden;
  transition: border-color .18s, background .18s;
}
.thread summary, .review summary {
  cursor: pointer; padding: 12px 14px; font-size: 13px; font-weight: 700;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.thread summary::-webkit-details-marker, .review summary::-webkit-details-marker { display: none; }
.thread summary::after, .review summary::after { content: "展开 ▾"; font-size: 11px; color: var(--brand); font-weight: 700; flex: 0 0 auto; }
.thread[open] summary::after, .review[open] summary::after { content: "收起 ▴"; }
.thread:hover, .review:hover { border-color: var(--brand); }
.thread[open], .review[open] { background: var(--surface); border-color: var(--brand); border-left: 3px solid var(--brand); }
.thread small { font-size: 11px; color: var(--muted); font-weight: 500; }
.thread .reply, .review .full { padding: 0 14px 14px; font-size: 12px; color: var(--muted); }
.review .stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; }
.review b { font-size: 13px; }

.star-switch { position: absolute; opacity: 0; pointer-events: none; }
.star-label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; margin-bottom: 12px;
  transition: background .18s, color .18s, border-color .18s;
}
.star-label:hover { color: var(--brand); border-color: var(--brand); }
.star-switch:checked ~ .star-label { background: var(--accent); border-color: var(--accent); color: #fff; }
.star-switch:checked ~ .review-list .review[data-star="4"] { display: none; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 16px;
  transition: border-color .18s, box-shadow .18s;
}
.faq details:hover { border-color: var(--brand); }
.faq details[open] { border-color: var(--brand); border-left: 4px solid var(--brand); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 18px; font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 13px; color: var(--muted); padding-bottom: 14px; }

.line-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.line-table th, .line-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.line-table th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--bg); }
.line-table tr:hover td { background: var(--brand-soft); }
.status { font-weight: 700; color: var(--muted); }
.status.ok { color: var(--ok); }
.status.warn { color: var(--accent); }
.line-panel { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.line-panel .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--line);
  transition: background .18s, color .18s;
}
.line-panel .row:last-child { border-bottom: 0; }
.line-panel .row:hover { background: var(--brand-soft); color: var(--brand); }
.line-panel .row.current { background: var(--brand); color: #fff; font-weight: 700; }
.line-panel .row.current span:last-child { opacity: .85; }
.download-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--brand-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; margin-top: 18px;
}
.download-strip h3 { font-weight: 800; }
.download-strip p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.dl-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--brand); color: #fff; border-radius: 18px;
  padding: 26px 28px; margin-bottom: 22px;
}
.dl-hero h3 { font-size: 23px; font-weight: 800; }
.dl-hero p { font-size: 13px; opacity: .9; margin-top: 6px; }
.dl-hero .dl-btn { background: #fff; color: var(--brand); }
.dl-hero .dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(23, 26, 46, .18); }
.dl-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.dl-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.dl-os { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dl-os h3 { font-size: 16px; font-weight: 800; }
.dl-badge {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.dl-badge.web { background: var(--ok-soft); color: var(--ok); }
.dl-spec { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 10px; font-size: 12px; }
.dl-spec dt { color: var(--muted); }
.dl-spec dd { color: var(--ink); font-weight: 600; }
.dl-card .dl-btn { width: 100%; margin-top: 16px; background: var(--brand-soft); color: var(--brand); border-color: transparent; padding: 9px 16px; font-size: 13px; }
.dl-card .dl-btn:hover { background: var(--brand); color: #fff; }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.dl-step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px;
  transition: background .18s, border-color .18s;
}
.dl-step:hover { background: var(--surface); border-color: var(--brand); }
.dl-step-no { display: inline-block; font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: 1px; }
.dl-step h4 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.dl-step p { font-size: 12px; color: var(--muted); }
.dl-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 13px; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.dl-table th, .dl-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.dl-table th { background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; }
.dl-table tr:hover td { background: var(--bg); }
.dl-table td:first-child { font-weight: 700; }
.dl-note {
  margin-top: 16px; background: var(--accent-soft); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 12px; color: var(--ink);
}
.dl-note b { color: var(--accent); }
.dl-download-bar { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

.gallery-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.gallery-strip figure { margin: 0; }
.gallery-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.gallery-strip figcaption { font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 44px 0 22px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-col h4 { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 12px; padding: 4px 0; transition: color .18s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; font-size: 11px;
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: #fff; }

@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box input { width: 120px; }
  .gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 20px; box-shadow: var(--shadow);
  }
  .nav-switch:checked ~ .nav-inner .main-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 150px minmax(0, 1fr); }
  .spotlight-body h1 { font-size: 24px; }
  .grid-3, .grid-4, .steps, .split, .rank-cols, .feature-grid, .dl-platforms, .dl-steps { grid-template-columns: 1fr 1fr; }
  .calendar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  section { padding: 36px 0; }
  .sec-title { font-size: 21px; }
  .search-box { display: none; }
  .btn-login { padding: 8px 13px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media img { aspect-ratio: 16 / 9; }
  .spotlight-body h1 { font-size: 21px; }
  .grid-3, .grid-4, .steps, .split, .rank-cols, .feature-grid, .dl-platforms, .dl-steps, .stats, .quick-grid, .wall, .foot-grid, .gallery-strip { grid-template-columns: 1fr 1fr; }
  .calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-card { grid-template-columns: 60px minmax(0, 1fr); }
  .row-right { grid-column: 1 / -1; text-align: left; }
  .scroll-row { grid-auto-columns: 156px; }
  .dl-table { display: block; overflow-x: auto; white-space: nowrap; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}