:root {
  --bg: #0f1115;
  --bg-deep: #0a0c0f;
  --panel: #171a21;
  --panel-2: #1d212a;
  --line: #272c37;
  --text: #e8eaf0;
  --text-dim: #9aa3b2;
  --brand: #ff7a45;
  --brand-soft: rgba(255, 122, 69, .12);
  --gold: #e7b96a;
  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; }
.mg-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mg-num { font-variant-numeric: tabular-nums; }

/* topbar */
.mg-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 17, 21, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mg-topbar-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.mg-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mg-logo-frame { display: flex; align-items: center; }
.mg-logo-frame img { height: 34px; width: auto; }
.mg-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.mg-brand-text strong { font-size: 17px; letter-spacing: .5px; }
.mg-brand-text small { font-size: 10px; color: var(--text-dim); letter-spacing: 1.6px; }
.mg-topbar-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--text-dim); }
.mg-topbar-nav a:hover { color: var(--brand); }
.mg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: .2s; white-space: nowrap;
}
.mg-btn-solid { background: var(--brand); color: #14181f; }
.mg-btn-solid:hover { background: #ff915f; }
.mg-btn-ghost { border: 1px solid var(--line); color: var(--text); }
.mg-btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.mg-btn-sm { padding: 8px 16px; font-size: 13px; }
.mg-topbar-cta { margin-left: 8px; }

/* hero */
.mg-hero { padding: 64px 0 72px; background: radial-gradient(circle at 78% 12%, rgba(255,122,69,.16), transparent 52%), linear-gradient(180deg, #12151b, var(--bg)); }
.mg-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mg-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }
.mg-h1 { margin: 20px 0 18px; font-size: 46px; letter-spacing: -.5px; }
.mg-h1-main { display: block; }
.mg-h1-main em { font-style: normal; color: var(--brand); }
.mg-h1-sub { display: block; margin-top: 12px; font-size: 20px; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.mg-hero-lead { font-size: 15px; color: var(--text-dim); max-width: 540px; }
.mg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mg-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 24px; }
.mg-stat b { display: block; font-size: 20px; color: var(--gold); }
.mg-stat span { font-size: 12px; color: var(--text-dim); }

.mg-hero-stage { position: relative; }
.mg-hero-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mg-wall-item { border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.mg-wall-item img { width: 100%; height: 158px; object-fit: cover; }
.mg-wall-item figcaption { padding: 8px 10px; font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-phone {
  position: absolute; right: -6px; bottom: -26px; width: 172px;
  border-radius: 24px; padding: 8px; background: #0b0d11;
  border: 2px solid #2c323f; box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.mg-phone-screen { position: relative; border-radius: 18px; overflow: hidden; }
.mg-phone-screen img { width: 100%; height: 240px; object-fit: cover; }
.mg-phone-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mg-phone-play span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,122,69,.92); display: flex; align-items: center; justify-content: center; }
.mg-phone-play span::after { content: ""; border-left: 14px solid #14181f; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.mg-phone-tab { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mg-phone-tab span { color: var(--gold); }

/* sections */
.mg-sec { padding: 68px 0; }
.mg-sec.is-deep { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mg-sec-head { margin-bottom: 34px; max-width: 720px; }
.mg-sec-title { font-size: 28px; letter-spacing: -.3px; }
.mg-sec-note { margin-top: 10px; font-size: 14px; color: var(--text-dim); }

/* update */
.mg-update-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mg-update-node { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.mg-update-time { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.mg-update-time b { font-size: 24px; color: var(--brand); }
.mg-update-time span { font-size: 13px; color: var(--text-dim); }
.mg-update-list { display: flex; flex-direction: column; gap: 10px; }
.mg-update-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--panel-2); border-radius: 10px; padding: 10px 12px; }
.mg-update-item h3 { font-size: 14px; font-weight: 600; flex: 1 1 100%; }
.mg-ep { font-size: 12px; color: var(--text-dim); }
.mg-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.mg-status i { width: 6px; height: 6px; border-radius: 50%; }
.mg-status.is-done { color: #64d693; }
.mg-status.is-done i { background: #64d693; }
.mg-status.is-soon { color: var(--gold); }
.mg-status.is-soon i { background: var(--gold); }

.mg-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.mg-more-note { font-size: 13px; color: var(--text-dim); }
.mg-more-link { font-size: 14px; color: var(--brand); font-weight: 600; }
.mg-more-link:hover { text-decoration: underline; }

/* genres */
.mg-genres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mg-genre { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: .2s; }
.mg-genre:hover { border-color: var(--brand); transform: translateY(-3px); }
.mg-genre h3 { font-size: 17px; display: flex; flex-direction: column; gap: 6px; }
.mg-genre-count { font-size: 12px; font-weight: 500; color: var(--gold); }
.mg-genre p { margin-top: 8px; font-size: 13px; color: var(--text-dim); }
.mg-genre-go { position: absolute; right: 16px; top: 16px; font-size: 11px; font-style: normal; color: var(--text-dim); letter-spacing: 1px; }

/* topics */
.mg-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mg-topic-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.mg-topic-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.mg-topic-wall figure img { width: 100%; height: 96px; object-fit: cover; }
.mg-topic-body { padding: 18px; }
.mg-topic-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.mg-topic-tag { color: var(--brand); }
.mg-topic-body h3 { margin: 10px 0 8px; font-size: 18px; }
.mg-topic-body p { font-size: 13px; color: var(--text-dim); }
.mg-topic-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.mg-topic-count b { color: var(--gold); }
.mg-topic-go { color: var(--brand); font-weight: 600; }

/* rank */
.mg-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.mg-podium-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.mg-podium-card.is-no1 { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(231,185,106,.25); }
.mg-podium-cover { position: relative; border-radius: var(--radius); overflow: hidden; }
.mg-podium-cover img { width: 100%; height: 210px; object-fit: cover; }
.mg-medal { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #14181f; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.mg-podium-info h3 { margin: 12px 0 8px; font-size: 16px; }
.mg-podium-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.mg-podium-genre { background: var(--panel-2); padding: 2px 8px; border-radius: 999px; }
.mg-trend.is-up { color: #64d693; }
.mg-trend.is-down { color: #e2685f; }
.mg-trend.is-flat { color: var(--text-dim); }
.mg-heat { margin-left: auto; display: flex; align-items: baseline; gap: 3px; }
.mg-heat b { color: var(--gold); font-size: 15px; }

.mg-rank-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.mg-rank-row { display: grid; grid-template-columns: 44px 1fr auto auto auto; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 13px; }
.mg-rank-row:hover { border-color: var(--brand); }
.mg-rank-no { font-size: 16px; font-weight: 800; color: var(--text-dim); }
.mg-rank-row h3 { font-size: 15px; }
.mg-rank-genre { color: var(--text-dim); background: var(--panel-2); padding: 2px 8px; border-radius: 999px; }

/* picks */
.mg-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mg-pick { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.mg-pick-cover { position: relative; }
.mg-pick-cover img { width: 100%; height: 260px; object-fit: cover; }
.mg-pick-badge { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #14181f; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mg-pick-score { position: absolute; right: 12px; bottom: 12px; background: rgba(10,12,15,.82); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.mg-pick-score b { color: var(--gold); font-size: 16px; }
.mg-pick-body { padding: 18px; }
.mg-pick-genre { font-size: 12px; color: var(--brand); }
.mg-pick-body h3 { margin: 8px 0 10px; font-size: 18px; }
.mg-pick-body p { font-size: 13px; color: var(--text-dim); }
.mg-pick-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mg-pick-tags span { font-size: 12px; color: var(--text-dim); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

/* lines */
.mg-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mg-line-card { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 20px; }
.mg-line-card p { font-size: 16px; line-height: 1.7; }
.mg-line-src { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.mg-line-src h4 { font-size: 13px; color: var(--text); }

/* experience */
.mg-exp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mg-exp-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.mg-exp-ico { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); align-items: center; justify-content: center; font-weight: 800; }
.mg-exp-card h3 { margin: 16px 0 8px; font-size: 17px; }
.mg-exp-card p { font-size: 13px; color: var(--text-dim); }

/* reviews */
.mg-score-panel { display: flex; align-items: center; gap: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 22px; flex-wrap: wrap; }
.mg-score-num b { font-size: 44px; color: var(--gold); line-height: 1; }
.mg-score-num span { display: block; font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.mg-score-meta { display: flex; flex-direction: column; gap: 8px; }
.mg-stars { display: flex; gap: 3px; }
.mg-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.mg-score-count { font-size: 12px; color: var(--text-dim); }
.mg-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mg-review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mg-review-user { display: flex; align-items: center; gap: 10px; }
.mg-review-user i { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 13px; }
.mg-review-user span b { display: block; font-size: 13px; }
.mg-review-user span span { font-size: 11px; color: var(--text-dim); }
.mg-review-stars { margin-left: auto; display: flex; gap: 2px; }
.mg-review-stars svg { width: 13px; height: 13px; fill: var(--gold); }
.mg-review blockquote { margin-top: 14px; font-size: 14px; color: var(--text-dim); }

/* free */
.mg-free { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.mg-free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.mg-free-cell h3 { font-size: 16px; margin-bottom: 8px; }
.mg-free-cell p { font-size: 13px; color: var(--text-dim); }
.mg-free-extra { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-dim); }

/* about */
.mg-about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.mg-about-paras p { margin-top: 16px; font-size: 14px; color: var(--text-dim); }
.mg-about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mg-about-stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mg-about-stat b { display: block; font-size: 22px; color: var(--gold); }
.mg-about-stat span { font-size: 12px; color: var(--text-dim); }

/* faq */
.mg-faq-list { display: flex; flex-direction: column; gap: 10px; }
.mg-faq { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.mg-faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq-q { color: var(--brand); font-size: 13px; }
.mg-faq-plus { margin-left: auto; position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.mg-faq-plus::before, .mg-faq-plus::after { content: ""; position: absolute; background: var(--text-dim); }
.mg-faq-plus::before { left: 0; top: 5px; width: 12px; height: 2px; }
.mg-faq-plus::after { left: 5px; top: 0; width: 2px; height: 12px; transition: .2s; }
.mg-faq[open] .mg-faq-plus::after { transform: rotate(90deg); opacity: 0; }
.mg-faq-a { padding: 0 0 18px; font-size: 13px; color: var(--text-dim); }

/* download */
.mg-download { padding: 72px 0; background: radial-gradient(circle at 20% 20%, rgba(255,122,69,.14), transparent 55%), var(--bg-deep); border-top: 1px solid var(--line); }
.mg-dl-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.mg-dl-kicker { font-size: 12px; letter-spacing: 2px; color: var(--brand); }
.mg-dl-panel h2 { margin: 12px 0 10px; font-size: 30px; }
.mg-dl-lead { font-size: 14px; color: var(--text-dim); max-width: 620px; }
.mg-dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.mg-dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mg-dl-actions small { font-size: 11px; opacity: .7; }
.mg-spec { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.mg-spec-row { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mg-spec-row dt { color: var(--text-dim); }
.mg-spec-row dd { font-weight: 600; }
.mg-dl-note { margin-top: 18px; font-size: 12px; color: var(--text-dim); }
.mg-steps { display: flex; flex-direction: column; gap: 18px; }
.mg-step { display: flex; gap: 14px; background: var(--panel-2); border-radius: var(--radius); padding: 18px; }
.mg-step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #14181f; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.mg-step h3 { font-size: 15px; }
.mg-step p { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* footer */
.mg-footer { padding: 56px 0 96px; background: var(--bg); border-top: 1px solid var(--line); }
.mg-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; }
.mg-footer-brand p { margin-top: 14px; font-size: 12px; color: var(--text-dim); max-width: 300px; }
.mg-footer-col { display: flex; flex-direction: column; gap: 10px; }
.mg-footer-col h5 { font-size: 13px; color: var(--text); margin-bottom: 2px; }
.mg-footer-col a { font-size: 12px; color: var(--text-dim); }
.mg-footer-col a:hover { color: var(--brand); }
.mg-footer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-dim); }
.mg-footer-tags strong { color: var(--text); margin-right: 4px; }
.mg-footer-tags span { background: var(--panel); border-radius: 999px; padding: 3px 10px; }
.mg-footer-legal { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 11px; color: #6b7484; }
.mg-footer-legal a { color: #6b7484; }
.mg-footer-legal a:hover { color: var(--brand); }

/* floating bar */
.mg-dlbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 18px; background: rgba(23,26,33,.95); border: 1px solid var(--line); border-radius: 999px; padding: 10px 12px 10px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.55); }
.mg-dlbar b { font-size: 13px; }
.mg-dlbar small { display: block; font-size: 11px; color: var(--text-dim); font-weight: 400; }

@media (max-width: 1024px) {
  .mg-topbar-nav { display: none; }
  .mg-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mg-h1 { font-size: 38px; }
  .mg-update-track, .mg-genres, .mg-rail, .mg-picks, .mg-lines, .mg-exp, .mg-free-grid { grid-template-columns: repeat(2, 1fr); }
  .mg-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .mg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mg-topbar-cta { display: none; }
  .mg-hero { padding: 40px 0 56px; }
  .mg-h1 { font-size: 30px; }
  .mg-h1-sub { font-size: 16px; }
  .mg-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .mg-phone { display: none; }
  .mg-sec { padding: 48px 0; }
  .mg-sec-title { font-size: 22px; }
  .mg-update-track, .mg-genres, .mg-rail, .mg-picks, .mg-lines, .mg-exp, .mg-reviews, .mg-free-grid, .mg-dl-grid, .mg-about-stats { grid-template-columns: 1fr; }
  .mg-podium { grid-template-columns: 1fr; }
  .mg-rank-row { grid-template-columns: 34px 1fr auto; row-gap: 6px; }
  .mg-rank-row .mg-trend, .mg-rank-row .mg-heat { font-size: 12px; }
  .mg-dl-panel { padding: 26px 20px; }
  .mg-dl-panel h2 { font-size: 23px; }
  .mg-footer-grid { grid-template-columns: 1fr; }
  .mg-dlbar { left: 12px; right: 12px; transform: none; border-radius: 16px; }
}