:root {
  --m71-bg: #0b0712;
  --m71-ink: #ffffff;
  --m71-muted: #d8cced;
  --m71-purple: #9b22bd;
  --m71-purple-deep: #52106f;
  --m71-magenta: #d92cff;
  --m71-gold: #ffd64d;
  --m71-orange: #ff8a00;
  --m71-cyan: #31d7ff;
  --m71-panel: #171020;
  --m71-light: #f7f1ff;
  --m71-line: rgba(255,255,255,.14);
  --m71-shadow: 0 22px 52px rgba(0,0,0,.35);
  --m71-max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.m71-page { margin: 0; background: var(--m71-bg); color: var(--m71-ink); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; overflow-x: hidden; }
.m71-page a { color: inherit; text-decoration: none; }
.m71-page img { display: block; max-width: 100%; }
.m71-container { width: min(100% - 40px, var(--m71-max)); margin: 0 auto; }
.m71-header { background: #161518; border-bottom: 1px solid rgba(255,255,255,.08); }
.m71-top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.m71-logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.m71-logo-mark { width: 68px; height: 50px; display: grid; place-items: center; border-radius: 8px; background: radial-gradient(circle at 30% 20%, #fff6a6, transparent 33%), linear-gradient(135deg, #ffdc54 0%, #b35cff 52%, #3a0a51 100%); color: #15051f; font-size: 21px; font-weight: 1000; box-shadow: 0 12px 28px rgba(217,44,255,.22); }
.m71-logo-text strong { display: block; font-size: 31px; line-height: .92; font-weight: 1000; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.m71-logo-text span { display: block; margin-top: 5px; color: var(--m71-gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.m71-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.m71-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(180deg, #ffeb73 0%, #ffb300 58%, #ff7a00 100%); color: #160719; font-size: 14px; font-weight: 1000; text-transform: uppercase; box-shadow: 0 14px 28px rgba(255,138,0,.28); white-space: nowrap; }
.m71-btn svg { width: 18px; height: 18px; }
.m71-btn.secondary { background: linear-gradient(180deg, #56759f, #2d486c); color: #fff; box-shadow: 0 14px 28px rgba(38,72,118,.24); }
.m71-nav { background: linear-gradient(180deg, #ad27cf, #8f1ab8); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.m71-nav-inner { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.m71-nav-inner::-webkit-scrollbar { display: none; }
.m71-nav a { color: #fff; font-size: 14px; font-weight: 1000; text-transform: uppercase; }
.m71-nav a.is-active { color: var(--m71-gold); position: relative; }
.m71-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 3px; border-radius: 8px; background: var(--m71-orange); }
.m71-hero { position: relative; min-height: 595px; overflow: hidden; background: linear-gradient(90deg, rgba(8,5,13,.98) 0%, rgba(8,5,13,.92) 34%, rgba(8,5,13,.38) 68%, rgba(8,5,13,.06) 100%), url("/assets/m71app-hero.png") center / cover no-repeat; }
.m71-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--m71-bg)); pointer-events: none; }
.m71-hero-inner { position: relative; z-index: 1; min-height: 595px; display: grid; grid-template-columns: minmax(0, 610px) 1fr; align-items: center; padding: 66px 0 90px; }
.m71-hero h1 { margin: 0; color: #fff; font-size: clamp(48px, 6vw, 84px); line-height: .92; font-weight: 1000; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 7px 0 rgba(0,0,0,.4); }
.m71-hero h1 span { display: block; color: var(--m71-gold); }
.m71-hero p { width: min(100%, 570px); margin: 28px 0 0; color: #f4ebff; font-size: 18px; line-height: 1.75; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.m71-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.m71-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; width: min(100%, 560px); }
.m71-proof div { min-height: 86px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); padding: 16px; backdrop-filter: blur(8px); }
.m71-proof strong { display: block; color: var(--m71-gold); font-size: 28px; line-height: 1; font-weight: 1000; }
.m71-proof span { display: block; margin-top: 8px; color: #fff; font-size: 12px; line-height: 1.3; font-weight: 900; text-transform: uppercase; }
.m71-category { position: relative; z-index: 2; margin-top: -36px; }
.m71-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.m71-cat { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)), #24102e; color: #fff; font-size: 14px; font-weight: 1000; text-transform: uppercase; box-shadow: 0 18px 30px rgba(0,0,0,.28); }
.m71-cat span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--m71-gold), var(--m71-orange)); color: #2b092e; }
.m71-section { padding: 82px 0; }
.m71-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 28px; align-items: stretch; }
.m71-copy-panel, .m71-visual-panel, .m71-guide-panel, .m71-news-feature, .m71-list-head { border-radius: 8px; border: 1px solid var(--m71-line); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)), var(--m71-panel); box-shadow: var(--m71-shadow); }
.m71-copy-panel { padding: 34px; }
.m71-section h2, .m71-list-head h1 { margin: 0; color: #fff; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.05; font-weight: 1000; }
.m71-section h2 span, .m71-list-head h1 span { color: var(--m71-gold); }
.m71-copy { color: var(--m71-muted); font-size: 16px; line-height: 1.85; margin: 18px 0 0; }
.m71-feature-list { display: grid; gap: 12px; margin-top: 28px; }
.m71-feature-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.m71-feature-row b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: #17061e; background: linear-gradient(135deg, var(--m71-gold), var(--m71-orange)); font-weight: 1000; }
.m71-feature-row strong { display: block; font-size: 16px; line-height: 1.25; font-weight: 1000; }
.m71-feature-row span { display: block; margin-top: 4px; color: var(--m71-muted); font-size: 14px; line-height: 1.45; }
.m71-visual-panel { overflow: hidden; min-height: 450px; background: linear-gradient(180deg, rgba(12,7,18,.12), rgba(12,7,18,.86)), url("/assets/m71app-app.png") center / cover no-repeat; }
.m71-games { padding-top: 0; }
.m71-games-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.m71-games-head p { width: min(430px, 100%); margin: 0; color: var(--m71-muted); font-size: 15px; line-height: 1.7; }
.m71-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.m71-game { overflow: hidden; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: #1b0d26; box-shadow: var(--m71-shadow); }
.m71-game img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.m71-game div { padding: 18px; }
.m71-game h3 { margin: 0; color: #fff; font-size: 22px; line-height: 1.1; font-weight: 1000; }
.m71-game p { margin: 10px 0 0; color: #f5ecff; font-size: 14px; line-height: 1.55; }
.m71-game a { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--m71-gold); font-size: 12px; font-weight: 1000; text-transform: uppercase; }
.m71-game a svg { width: 16px; height: 16px; }
.m71-guide { background: linear-gradient(180deg, #100818, #180d22); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.m71-guide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.m71-guide-panel { padding: 28px; }
.m71-step-list { display: grid; gap: 14px; }
.m71-step { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.m71-step b { height: 58px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--m71-purple-deep); font-size: 22px; font-weight: 1000; }
.m71-step strong { display: block; color: #fff; font-size: 18px; font-weight: 1000; }
.m71-step span { display: block; margin-top: 6px; color: var(--m71-muted); line-height: 1.6; font-size: 14px; }
.m71-news { background: var(--m71-light); color: #25172c; }
.m71-news h2 { color: #25172c; }
.m71-news .m71-copy { color: #6a5c73; }
.m71-news-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: 28px; }
.m71-news-feature { min-height: 335px; display: grid; align-content: end; padding: 28px; background: linear-gradient(180deg, rgba(42,13,58,.08), rgba(42,13,58,.9)), url("/assets/m71app-news.png") center / cover no-repeat; color: #fff; }
.m71-news-feature h3 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 1000; }
.m71-news-feature p { margin: 12px 0 0; color: #f8ecff; line-height: 1.7; }
.m71-news-list, .m71-news-list-page { display: grid; gap: 12px; }
.m71-news-list-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m71-news-item { display: grid; grid-template-columns: 94px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 8px; background: #fff; color: #25172c; border: 1px solid rgba(37,23,44,.1); box-shadow: 0 14px 26px rgba(54,26,82,.08); }
.m71-news-item img { width: 94px; height: 78px; border-radius: 8px; object-fit: cover; }
.m71-news-item span { display: inline-flex; margin-bottom: 5px; color: var(--m71-purple); font-size: 11px; font-weight: 1000; text-transform: uppercase; }
.m71-news-item h3 { margin: 0; color: #25172c; font-size: 17px; line-height: 1.28; font-weight: 1000; }
.m71-news-item p { margin: 7px 0 0; color: #6a5c73; font-size: 13px; line-height: 1.55; }
.m71-footer { padding: 34px 0; background: #100a17; border-top: 1px solid rgba(255,255,255,.08); color: #cfc0dd; font-size: 14px; line-height: 1.7; }
.m71-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.m71-footer strong { color: #fff; font-size: 18px; }
.m71-footer p { margin: 8px 0 0; }
.m71-age { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 24px; margin-right: 6px; border-radius: 5px; background: linear-gradient(135deg, var(--m71-gold), var(--m71-orange)); color: #17061e; font-weight: 1000; }
.m71-breadcrumb { display: flex; gap: 8px; align-items: center; padding: 18px 0 0; color: #cfc0dd; font-size: 14px; }
.m71-column-hero { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 24px; align-items: center; margin-top: 18px; padding: 28px; border: 1px solid var(--m71-line); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)), var(--m71-panel); box-shadow: var(--m71-shadow); }
.m71-label { display: inline-flex; margin-bottom: 12px; border-radius: 8px; background: linear-gradient(135deg, var(--m71-gold), var(--m71-orange)); color: #1c0626; padding: 7px 11px; font-size: 12px; line-height: 1; font-weight: 1000; text-transform: uppercase; }
.m71-column-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; font-weight: 1000; }
.m71-column-hero p { color: var(--m71-muted); font-size: 16px; line-height: 1.75; }
.m71-column-hero img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 38px rgba(0,0,0,.28); }
.m71-article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-top: 22px; margin-bottom: 54px; }
.m71-article, .m71-side, .m71-list-head { border: 1px solid var(--m71-line); border-radius: 8px; background: var(--m71-panel); box-shadow: var(--m71-shadow); }
.m71-article { overflow: hidden; padding-bottom: 26px; }
.m71-article > h2, .m71-article > p, .m71-article > ul, .m71-note { margin-left: 28px; margin-right: 28px; }
.m71-article h2 { color: #fff; font-size: 28px; line-height: 1.2; font-weight: 1000; }
.m71-article p, .m71-article li, .m71-article-body { color: var(--m71-muted); font-size: 16px; line-height: 1.9; }
.m71-article ul { padding-left: 22px; }
.m71-note { margin-top: 18px; border-left: 4px solid var(--m71-gold); background: rgba(255,255,255,.07); padding: 14px 16px; }
.m71-article-head { padding: 28px 30px 18px; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent); }
.m71-article h1 { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; font-weight: 1000; }
.m71-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--m71-muted); font-size: 12px; }
.m71-article-cover { display: block; width: calc(100% - 60px); margin: 0 30px 8px; aspect-ratio: 16 / 6.3; object-fit: cover; border-radius: 8px; }
.m71-article-body { padding: 18px 30px 10px; }
.m71-side h2 { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--m71-line); color: #fff; font-size: 18px; font-weight: 1000; }
.m71-side ul { display: grid; margin: 0; padding: 0; list-style: none; }
.m71-side a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 11px; padding: 12px 14px; border-top: 1px solid var(--m71-line); }
.m71-side li:first-child a { border-top: 0; }
.m71-side img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; }
.m71-side strong { color: #fff; font-size: 13px; line-height: 1.35; }
.m71-side small { display: block; margin-top: 5px; color: var(--m71-muted); font-size: 12px; }
.m71-list-head { margin-top: 18px; padding: 26px; }
.m71-list-head p { max-width: 820px; color: var(--m71-muted); line-height: 1.7; }
.m71-pagination { margin-top: 18px; color: var(--m71-muted); }
@media (max-width: 980px) {
  .m71-hero-inner, .m71-intro, .m71-guide-grid, .m71-news-layout, .m71-column-hero { grid-template-columns: 1fr; }
  .m71-category-grid, .m71-game-grid, .m71-news-list-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m71-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .m71-container { width: min(100% - 28px, var(--m71-max)); }
  .m71-top { padding: 14px 0; align-items: flex-start; flex-direction: column; }
  .m71-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .m71-btn { padding: 0 14px; width: 100%; font-size: 12px; }
  .m71-nav-inner { justify-content: flex-start; gap: 8px; min-height: auto; padding: 10px 14px 12px; }
  .m71-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 11px; }
  .m71-nav a.is-active::after { display: none; }
  .m71-hero { min-height: 635px; background: linear-gradient(180deg, rgba(8,5,13,.98) 0%, rgba(8,5,13,.92) 55%, rgba(8,5,13,.42) 100%), url("/assets/m71app-hero.png") center right 35% / cover no-repeat; }
  .m71-hero-inner { min-height: 635px; padding: 58px 0 100px; }
  .m71-hero h1 { font-size: clamp(43px, 14vw, 58px); }
  .m71-hero p { font-size: 16px; }
  .m71-hero-actions, .m71-proof, .m71-category-grid, .m71-game-grid, .m71-news-list-page, .m71-article-shell { grid-template-columns: 1fr; }
  .m71-hero-actions { display: grid; }
  .m71-section { padding: 58px 0; }
  .m71-copy-panel, .m71-guide-panel { padding: 22px; }
  .m71-news-item { grid-template-columns: 84px 1fr; }
  .m71-news-item img { width: 84px; height: 72px; }
  .m71-article-cover { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  .m71-article-head, .m71-article-body { padding-left: 16px; padding-right: 16px; }
  .m71-article > h2, .m71-article > p, .m71-article > ul, .m71-note { margin-left: 16px; margin-right: 16px; }
}

/* m71app article list width fix */
.m71-news-layout > div { min-width: 0; }
.m71-news-layout .m71-news-list-page { grid-template-columns: minmax(0, 1fr); }
.m71-news-layout .m71-news-item { min-width: 0; }
.m71-news-layout .m71-news-item > div { min-width: 0; }
.m71-news-layout .m71-news-item h3,
.m71-news-layout .m71-news-item p { overflow-wrap: break-word; }
