﻿@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Regular.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Medium.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Medium.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Bold.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Bold.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("/public/fonts/HarmonyOS_Sans_SC_Bold.ttf?v=20260721") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-sans: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --text: #f8f8f2;
  --muted: #a8acb5;
  --dim: #626874;
  --line: #272727;
  --gold: #ffd600;
  --gold-2: #ffe45c;
  --blue: #8fc7ff;
  --danger: #ff6b6b;
  --radius: 8px;
  font-family: var(--font-sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { font-family: var(--font-sans); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

body.front-site ::selection {
  color: #050505;
  background: rgba(184, 255, 31, .45);
}

body.front-site ::-moz-selection {
  color: #050505;
  background: rgba(184, 255, 31, .45);
}

.w-e-text-container,
.w-e-toolbar,
.w-e-bar,
.w-e-bar-item,
.w-e-panel-container,
.w-e-modal,
.w-e-text,
[contenteditable="true"] {
  font-family: var(--font-sans) !important;
}

/* Ensure bold text renders properly in rich text editor */
.tiptap-prose strong,
.tiptap-prose b,
[data-tiptap-body] strong,
[data-tiptap-body] b {
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}
.topbar > * { min-width: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #050505; background: var(--gold); }
.brand-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: var(--gold); }
.brand strong { white-space: nowrap; }
.topbar nav { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #0c0c0c; }
.topbar nav a { min-width: 74px; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-align: center; }
.topbar nav a.active, .topbar nav a:hover { color: var(--text); background: #1b1b1b; }
.top-search {
  flex: 0 1 180px;
  margin: 0;
}
.top-search input {
  width: 100%;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: #17191d;
  outline: 0;
}
.top-search input::placeholder { color: var(--muted); }
.lang-menu {
  position: relative;
  flex: 0 0 auto;
}
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  max-width: 168px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #0c0c0c;
  cursor: pointer;
  list-style: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.lang-menu summary span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 800;
}
.lang-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: none;
  width: min(520px, calc(100vw - 28px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #121316;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}
.lang-menu[open] .lang-menu-panel { display: grid; }
.lang-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.lang-menu-panel a.active,
.lang-menu-panel a:hover {
  color: #050505;
  background: var(--gold);
}
.lang-switch {
  display: flex;
  gap: 4px;
  max-width: min(46vw, 760px);
  overflow-x: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0c0c0c;
  scrollbar-width: none;
}
.lang-switch::-webkit-scrollbar { display: none; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.lang-switch a.active,
.lang-switch a:hover {
  color: #050505;
  background: var(--gold);
}

.top-cta, .primary, .secondary, .register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}
.top-cta, .primary, .register { color: #050505; background: var(--gold); }
.top-cta:hover, .primary:hover, .register:hover { background: var(--gold-2); }
.secondary { color: var(--text); border: 1px solid var(--line); background: #121212; }
.plain-link { color: var(--gold); font-weight: 750; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 44px; align-items: center; min-height: calc(100vh - 72px); padding: 64px 0; }
.hero h1, .page-title h1, .article-hero h1, .admin-head h1 { margin: 0; line-height: 1.04; letter-spacing: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); }
.hero p { max-width: 760px; margin: 22px 0 0; color: #d6d7dc; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.structure { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #141414, #080808); box-shadow: 0 24px 80px rgba(0,0,0,.35); overflow: hidden; }
.structure div { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); }
.structure div:last-child { border-bottom: 0; }
.structure span { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.structure b { font-size: 18px; }
.route-structure a {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.route-structure a:last-child { border-bottom: 0; }
.route-structure a:hover { background: rgba(255,255,255,.04); }
.route-structure small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.55;
}

.band { padding: 56px 0; border-top: 1px solid var(--line); }
.band-head, .admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.band-head h2, .related h2, .faq h2 { margin: 0; font-size: 32px; line-height: 1.15; }
.band-head p, .page-title p, .admin-head p { max-width: 760px; margin: 10px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.wide { margin-bottom: 72px; }
.card { min-height: 260px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card:hover { border-color: #464646; transform: translateY(-2px); transition: border-color 160ms ease, transform 160ms ease; }
.card h3 { margin: 18px 0 10px; font-size: 22px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--dim); font-size: 13px; font-weight: 700; }
.meta span:first-child { color: var(--gold); }
.tags, .chips, .tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tags { margin-top: 18px; }
.tags span, .chips a, .tabs a, .status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #0b0b0b; font-size: 12px; font-weight: 700; }
.chips { margin: -10px 0 24px; }
.chips a:hover, .tabs a.active, .tabs a:hover { color: #050505; border-color: var(--gold); background: var(--gold); }

.page { padding: 64px 0; }
.page-title { margin-bottom: 34px; }
.page-title h1, .admin-head h1 { font-size: clamp(38px, 5vw, 64px); }
.tabs { margin-bottom: 28px; }
.empty { display: flex; align-items: center; justify-content: center; min-height: 160px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.front-light {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #fff;
  --panel-2: #f1f3f6;
  --text: #080b10;
  --muted: #6b7280;
  --dim: #8c95a3;
  --line: #e2e6ed;
  background: var(--bg);
  color: var(--text);
}
.front-light .topbar {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
}
.front-light .topbar nav,
.front-light .lang-switch,
.front-light .lang-menu summary,
.front-light .top-search input {
  background: #f0f2f5;
  border-color: var(--line);
}
.front-light .topbar nav a.active,
.front-light .topbar nav a:hover { color: #050505; background: #fff; }
.front-announcement {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --text: #f8f8f2;
  --muted: #a8acb5;
  --dim: #626874;
  --line: #272727;
  background: var(--bg);
  color: var(--text);
}
.front-announcement .topbar {
  background: rgba(5, 5, 5, .88);
  border-bottom-color: var(--line);
}
.front-announcement .topbar nav,
.front-announcement .lang-switch,
.front-announcement .lang-menu summary,
.front-announcement .top-search input {
  background: #0c0c0c;
  border-color: var(--line);
}
.front-announcement .topbar nav a.active,
.front-announcement .topbar nav a:hover {
  color: #050505;
  background: var(--gold);
}
.front-announcement .topic-box,
.front-announcement .help-grid article {
  color: var(--text);
  border-color: var(--line);
  background: #0b0b0b;
}
.front-announcement .announce-tabs a.active,
.front-announcement .announce-tabs a:hover {
  color: #050505;
  background: var(--gold);
}

.hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.hub-head h1,
.hub-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}
.hub-head a {
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
}
.hub-head.light a { color: var(--muted); }

.cms-thumb {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 72% 22%, rgba(255,214,0,.34), transparent 28%),
    radial-gradient(circle at 20% 70%, rgba(0,193,139,.28), transparent 30%),
    linear-gradient(135deg, #111820, #030506 58%, #161616);
}
.cms-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cms-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
}

.academy-hub,
.news-hub,
.blog-hub {
  width: min(1200px, calc(100% - 40px));
  padding: 54px 0 92px;
}
.academy-hero {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
  min-height: 340px;
  margin-bottom: 64px;
}
.academy-brand {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 850;
}
.academy-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
}
.academy-hero p {
  margin: 16px 0 0;
  color: #b7bfcc;
  font-size: 18px;
}
.academy-tabs,
.blog-cats,
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.academy-tabs a,
.blog-cats a,
.news-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 18px;
  border: 1px solid #25282d;
  border-radius: 999px;
  color: var(--muted);
  background: #101114;
  font-weight: 760;
}
.academy-tabs a.active,
.academy-tabs a:hover,
.blog-cats a.active,
.blog-cats a:hover,
.news-tabs a.active,
.news-tabs a:hover {
  color: #050505;
  border-color: #fff;
  background: #fff;
}
.blog-cats a small {
  margin-left: 6px;
  color: inherit;
  opacity: .72;
}
.feature-rail {
  display: block;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 0;
}
.feature-carousel {
  min-width: 0;
  width: 100%;
}
.feature-card {
  display: none;
  width: 100%;
  min-height: 220px;
  border: 1px solid #2b3037;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #08090b, #050608);
  transition: border-color 160ms ease, transform 160ms ease;
}
.feature-card.active { display: block; }
.feature-card:hover {
  border-color: #404751;
  transform: translateY(-2px);
}
.feature-card a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  height: 100%;
  padding: 24px;
}
.feature-copy {
  display: flex;
  min-width: 0;
  min-height: 160px;
  flex-direction: column;
}
.feature-card h3 {
  display: -webkit-box;
  min-height: 72px;
  margin: 22px 0 18px;
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.feature-card p {
  margin: auto 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.mini-tags {
  margin: 0;
  min-height: 28px;
}
.feature-thumb {
  height: 144px;
  min-height: 144px;
  align-self: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 32% 42%, rgba(255,214,0,.55), transparent 18%),
    linear-gradient(135deg, #1c1e21, #0b0d0f);
}
.feature-thumb span {
  padding: 0 14px;
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}
.feature-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.feature-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a4048;
  cursor: pointer;
}
.feature-dots button.active {
  width: 22px;
  background: var(--gold);
}
.clock-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  vertical-align: -2px;
}
.academy-block {
  margin-top: 58px;
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.learning-card {
  overflow: hidden;
  border: 1px solid #28303a;
  border-radius: var(--radius);
  background: #050608;
}
.learning-card a {
  display: grid;
  min-height: 100%;
}
.learning-thumb {
  height: 210px;
  border-radius: 0;
}
.learning-body {
  padding: 20px 18px 22px;
}
.learning-card h3 {
  min-height: 52px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
}
.learn-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
}
.learn-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #00d09c;
  background: rgba(0, 160, 116, .18);
}
.learn-meta b {
  font-weight: 800;
}
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.glossary-card {
  border: 1px solid #28303a;
  border-radius: var(--radius);
  background: #050608;
}
.glossary-card a {
  display: block;
  min-height: 194px;
  padding: 24px;
}
.glossary-card span {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.glossary-card h3 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: 22px;
}
.glossary-card p {
  margin: 0 0 16px;
  color: #9aa3b2;
}
.glossary-card b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #1c1f24;
  font-size: 13px;
}
.filter-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.filter-panel aside,
.filter-panel > div,
.filter-panel footer {
  border: 1px solid #28303a;
  border-radius: var(--radius);
  background: #050608;
  padding: 22px;
}
.filter-panel h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}
.filter-panel span,
.filter-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 0 8px 10px 0;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #22262c;
  font-size: 13px;
  font-weight: 760;
}
.filter-panel footer {
  grid-column: 1 / -1;
}
.time-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 360px;
  color: var(--gold);
}
.time-rail::before {
  content: "";
  position: absolute;
}

.announce-hub {
  width: min(1120px, calc(100% - 40px));
  padding: 50px 0 90px;
}
.announce-section {
  margin-bottom: 52px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.topic-box {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: #fff;
}
.announce-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.announce-tabs a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
}
.announce-tabs a.active,
.announce-tabs a:hover {
  color: var(--text);
  background: #edf0f4;
}
.announcement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
}
.announcement-item {
  border-bottom: 1px solid var(--line);
}
.announcement-item a {
  display: block;
  padding: 18px 0;
}
.announcement-item h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}
.announcement-item time {
  color: var(--dim);
  font-size: 13px;
}
.help-section h2 {
  margin: 0 0 18px;
  font-size: 30px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.help-grid article {
  min-height: 134px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.help-grid b {
  font-size: 24px;
}
.help-grid h3 {
  margin: 22px 0 6px;
  font-size: 17px;
}
.help-grid p {
  margin: 0;
  color: var(--muted);
}

.news-tabs {
  margin: 0 0 28px;
}
.news-tabs a {
  border: 0;
  background: transparent;
  color: #7d8591;
  font-size: 24px;
  padding: 0 2px;
}
.news-tabs a.active {
  position: relative;
  color: #fff;
  background: transparent;
}
.news-tabs a.active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -8px;
  height: 2px;
  background: #fff;
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
}
.news-feed {
  display: grid;
}
.news-item {
  border-bottom: 1px solid #25282e;
}
.news-item a {
  display: block;
  padding: 0 0 28px;
  margin-bottom: 28px;
}
.news-item h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}
.news-item p {
  margin: 0 0 14px;
  color: #aeb7c5;
  font-size: 17px;
}
.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.market-chips span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 4px;
  color: #fff;
  background: #191b1f;
  font-size: 13px;
  font-weight: 800;
}
.market-chips i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #111;
  background: #f6a60a;
  font-style: normal;
  font-size: 10px;
}
.market-chips b {
  color: #00c58f;
}
.news-item footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: #77808c;
  font-size: 13px;
}
.brief-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid #292d33;
  border-radius: var(--radius);
  background: #111214;
}
.brief-panel h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 22px;
}
.brief-panel h2 span {
  color: #00c58f;
}
.brief-item {
  position: relative;
  padding: 0 0 24px 24px;
  border-left: 1px solid #28303a;
}
.brief-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00c58f;
}
.brief-item time {
  color: #fff;
  font-weight: 800;
}
.brief-item h3 {
  margin: 8px 0;
  color: #fff;
  font-size: 16px;
}
.brief-item p {
  margin: 0 0 12px;
  color: #aeb7c5;
}

.blog-hub {
  width: min(1160px, calc(100% - 40px));
}
.blog-head h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.1;
}
.blog-head p {
  margin: 8px 0 0;
  color: #b7bfcc;
}
.blog-cats span {
  display: inline-flex;
  align-items: center;
  color: #7d8591;
  font-size: 28px;
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  margin-top: 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}
.blog-card {
  min-width: 0;
}
.blog-card-main {
  display: block;
}
.blog-thumb {
  height: 216px;
  margin-bottom: 16px;
}
.blog-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 23px;
  line-height: 1.3;
}
.blog-card p {
  margin: 0 0 12px;
  color: #aeb7c5;
}
.blog-card time {
  color: #7e8795;
  font-size: 14px;
}
.blog-keywords,
.article-topic-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.blog-keywords a,
.article-topic-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #252b32;
  border-radius: 999px;
  color: #dbe4f0;
  background: #15181d;
  font-size: 12px;
  font-weight: 800;
}
.blog-keywords a:hover,
.article-topic-links a:hover {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}
.popular-panel {
  align-self: start;
}
.popular-panel h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
}
.popular-panel article {
  border-bottom: 1px solid #25282e;
}
.popular-panel a {
  display: block;
  padding: 14px 0;
}
.popular-panel h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}
.popular-panel time {
  color: #7e8795;
  font-size: 13px;
}

.article-shell { display: grid; grid-template-columns: minmax(0, 760px) minmax(280px, 376px); gap: 24px; width: min(1240px, calc(100% - 40px)); padding: 56px 0 84px; }
.article-main { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--dim); font-size: 13px; }
.crumbs a { color: var(--muted); }
.article-hero { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(38px, 5vw, 66px); }
.article-hero p { max-width: 760px; margin: 22px 0 0; color: #d8d9dd; font-size: 18px; }
.article-hero .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.article-hero .meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.article-hero .meta .view-count {
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #141414;
}
.article-hero .meta .view-count svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: .78;
}
.article-hero .meta .view-count b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.article-info {
  margin: 22px 0 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0b;
}
.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.info-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #111;
  font-size: 12px;
  font-weight: 760;
}
.article-topic-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.article-topic-links strong {
  display: block;
  color: #fff;
  font-size: 13px;
}
.coin-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 16px 0 0;
}
.coin-facts div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.coin-facts dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.coin-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
}
.coin-facts a { color: var(--blue); }
.risk-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.content { padding-top: 22px; color: #e9edf5; font-size: 18px; }
.content h2 { scroll-margin-top: 100px; margin: 64px 0 14px; color: #fff; font-size: 30px; line-height: 1.2; }
.content h3 { margin: 36px 0 12px; font-size: 22px; }
.content h4 { margin: 28px 0 10px; color: #fff; font-size: 18px; line-height: 1.4; }
.content p { margin: 0 0 24px; }
.content ul { margin: 0 0 24px; padding-left: 24px; }
.content ol { margin: 0 0 24px; padding-left: 26px; }
.content a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.content .text-small { font-size: .86em; }
.content .text-large { font-size: 1.18em; }
.content .text-xlarge { font-size: 1.36em; }
.content .text-yellow { color: var(--gold); }
.content .text-green { color: #28e0a6; }
.content .text-blue { color: #75a7ff; }
.content .text-red { color: #ff6b6b; }
.content .text-muted { color: var(--muted); }
.content .mark-yellow,
.content .mark-green,
.content .mark-blue {
  padding: 1px 4px;
  border-radius: 4px;
}
.content .mark-yellow { color: #050505; background: var(--gold); }
.content .mark-green { color: #06100d; background: #65f0b7; }
.content .mark-blue { color: #07111f; background: #9fc0ff; }
.content .align-left { text-align: left; }
.content .align-center { text-align: center; }
.content .align-right { text-align: right; }
.content .align-justify { text-align: justify; }
.content .check-list { list-style: none; padding-left: 0; }
.content .check-list li::before {
  content: "□";
  margin-right: 8px;
  color: var(--gold);
}
.content blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #f4f6fb;
  background: rgba(255, 214, 0, .06);
}
.content hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.content code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #111;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .9em;
}
.content pre {
  overflow: auto;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090909;
}
.content pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  white-space: pre;
}
.content mark {
  padding: 0 4px;
  border-radius: 4px;
  color: #050505;
  background: var(--gold);
}
.content-table {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.content table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.content-table table {
  width: 100%;
  max-width: none;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
}
.content th,
.content td,
.content-table th,
.content-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.content th,
.content-table th {
  color: #fff;
  background: #121212;
}
.content tr:last-child td,
.content-table tr:last-child td { border-bottom: 0; }
.source { margin: 32px 0; color: var(--muted); }
.source a { color: var(--blue); }
.cover, .content-image, .content-video { margin: 28px 0; }
.cover img, .content-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #111;
}
.cover img {
  width: 100%;
}
.content-video video,
.content-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}
.content-image figcaption,
.content-video figcaption {
  margin-top: 8px;
  color: var(--dim);
  font-size: 13px;
}

.learn-reward {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  margin: 58px 0 0;
  padding: 22px;
  border: 1px solid rgba(255, 214, 0, .34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111 0%, #090909 60%, rgba(255, 214, 0, .08) 100%);
}
.learn-reward h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
}
.learn-reward p {
  margin: 10px 0 0;
  color: var(--muted);
}
.learn-reward ul {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.learn-reward li {
  padding-left: 18px;
  color: #e9edf5;
  position: relative;
}
.learn-reward li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.reward-card {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #171717;
}
.reward-card span,
.reward-card small {
  color: var(--muted);
  font-weight: 800;
}
.reward-card strong {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}
.reward-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.reward-quiz {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101010;
}
.reward-quiz h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}
.reward-quiz p {
  margin: 0 0 12px;
  color: #e9edf5;
  font-weight: 800;
}
.reward-quiz div {
  display: grid;
  gap: 8px;
}
.reward-quiz label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #151515;
  cursor: pointer;
}
.reward-quiz input {
  accent-color: var(--gold);
}
.reward-quiz label:has(input:checked) {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}
.reward-quiz small {
  display: block;
  margin-top: 10px;
  color: var(--dim);
}
.reward-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: #181818;
  font-size: 13px;
  font-weight: 800;
}
.reward-button {
  justify-self: start;
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #050505;
  background: var(--gold);
  font-weight: 900;
}
.reward-button:disabled {
  opacity: .72;
  cursor: default;
}
.reward-note {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

.faq, .related { margin-top: 76px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 760; cursor: pointer; }
.faq summary::after { content: "+"; color: var(--blue); }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 0; padding: 0 0 24px; color: var(--muted); }
.register { width: 100%; }
.register svg { width: 18px; height: 18px; fill: currentColor; }

.admin { width: min(1180px, calc(100% - 40px)); padding: 54px 0 80px; }
.admin.narrow { width: min(880px, calc(100% - 40px)); }
table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 13px; text-transform: uppercase; }
td small { display: block; margin-top: 6px; color: var(--dim); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.status.published { color: #061006; border-color: #74f29b; background: #74f29b; }
.status.draft { color: #121212; border-color: #b8beca; background: #b8beca; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row-actions a, .row-actions button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: #0d0d0d; cursor: pointer; }
.row-actions button { color: var(--danger); }
.row-actions form { margin: 0; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; color: var(--muted); font-weight: 760; }
.form input, .form select, .form textarea, .search input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: #111; outline: 0; }
.form input, .form select, .search input { min-height: 46px; padding: 0 13px; }
.form textarea { padding: 13px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.search { display: flex; gap: 12px; align-items: center; max-width: 680px; margin-top: 22px; }

@media (max-width: 960px) {
  .topbar { position: static; flex-wrap: wrap; padding: 16px 20px; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; }
  .top-search { order: 4; flex: 1 1 100%; }
  .lang-menu { order: 5; }
  .lang-menu-panel { left: 0; right: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-switch { order: 5; width: 100%; justify-content: space-between; }
  .hero, .article-shell, .learn-reward { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-facts { grid-template-columns: 1fr; }
  .guide { position: static; padding-left: 0; }
  .academy-hero,
  .news-layout,
  .blog-layout,
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .feature-card a {
    grid-template-columns: 1fr;
  }
  .feature-copy { min-height: 0; }
  .feature-thumb { width: 100%; height: 160px; }
  .learning-grid,
  .glossary-grid,
  .topic-grid,
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .announcement-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main, .article-shell, .admin, .admin.narrow { width: min(100% - 28px, 1180px); }
  .brand strong { display: none; }
  .topbar nav a { min-width: auto; flex: 1; padding: 8px 10px; }
  .hero { padding: 44px 0; }
  .hero h1, .page-title h1, .article-hero h1, .admin-head h1 { font-size: 38px; }
  .structure div, .route-structure a, .form-grid { grid-template-columns: 1fr; }
  .route-structure small { grid-column: auto; }
  .band-head, .admin-head, .actions, .search { align-items: stretch; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .academy-hub,
  .news-hub,
  .blog-hub,
  .announce-hub { width: min(100% - 28px, 1180px); padding-top: 34px; }
  .academy-hero { gap: 24px; margin-bottom: 36px; }
  .academy-hero h1,
  .blog-head h1 { font-size: 34px; }
  .news-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .news-tabs a { flex: 0 0 auto; font-size: 20px; }
  .feature-card { min-height: 0; }
  .feature-card a { padding: 18px; }
  .feature-card h3 { min-height: 0; font-size: 18px; }
  .feature-thumb { height: 148px; min-height: 148px; }
  .learning-grid,
  .glossary-grid,
  .topic-grid,
  .help-grid { grid-template-columns: 1fr; }
  .learning-thumb,
  .blog-thumb { height: 180px; }
  .filter-panel footer { grid-column: auto; }
  .market-chips span { max-width: 100%; }
  .admin table,
  .admin tbody,
  .admin tr,
  .admin td { display: block; width: 100%; }
  .admin thead { display: none; }

  /* Keep article tables as real tables on H5. The wrapper provides
     horizontal scrolling when the columns are wider than the viewport. */
  .content-table {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .content-table table,
  .content table {
    display: table;
    width: 100%;
    min-width: 560px;
  }
  .content-table thead,
  .content thead { display: table-header-group; }
  .content-table tbody,
  .content tbody { display: table-row-group; width: auto; }
  .content-table tr,
  .content tr { display: table-row; width: auto; }
  .content-table th,
  .content-table td,
  .content th,
  .content td { display: table-cell; width: auto; }
}

/* Official-site style public pages */
body.front-site {
  color-scheme: light;
  --bg: #fff;
  --panel: #fff;
  --panel-2: #f6f7f9;
  --text: #101318;
  --muted: #6f7785;
  --dim: #9aa3af;
  --line: #e6e9ee;
  --gold: #b8ff1f;
  --gold-2: #d9ff78;
  background: #fff;
  color: #101318;
}

body.front-site > .topbar:not(.site-topbar) {
  display: none;
}

body.front-site .official-header-root {
  position: sticky;
  top: 0;
  z-index: 12000;
  min-height: 58px;
  background: #fff;
}

.official-header-root {
  position: sticky;
  top: 0;
  z-index: 12000;
}

.official-header-root .official-header-fallback[hidden] {
  display: none;
}

body.front-site .mgbx-popover-hidden,
body.front-site .mgbx-zoom-big-leave,
body.front-site .mgbx-zoom-big-leave-active,
body.front-site .mgbx-zoom-big-leave-done,
.official-header-root .mgbx-popover-hidden {
  display: none !important;
  pointer-events: none !important;
}

body.front-site .mgbx-popover,
.official-header-root .mgbx-popover {
  position: absolute;
  z-index: 30000 !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-popover-inner {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #101318;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .14) !important;
  overflow: hidden !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) :is(.mgbx-popover-content, .mgbx-popover-inner-content),
body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) [class*="dropHeaderDownMenu_container"] {
  background: inherit !important;
  color: inherit;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-popover-inner-content {
  max-height: calc(100vh - 84px);
  overflow: auto !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) [class*="dropHeaderDownMenu_container"] {
  width: max-content !important;
  min-width: max-content !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs,
body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-nav,
body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-nav-wrap,
body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-nav-list {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  overflow: hidden !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-nav-list {
  gap: 22px !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-tab {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-tab-btn {
  line-height: 24px !important;
  white-space: nowrap !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-nav-operations,
body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-tabs-content-holder {
  display: none !important;
}

body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) [class*="tabsRow"] {
  height: 32px !important;
  min-height: 32px !important;
  margin: 8px 0 12px !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] {
  background: #fff !important;
  color: #101318 !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12) !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(.mgbx-popover-content, .mgbx-popover-inner, .mgbx-popover-inner-content),
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is([class*="search"], [class*="Search"], [class*="drawer"], [class*="Drawer"], [class*="modal"], [class*="Modal"]),
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(.mgbx-popover-content, .mgbx-popover-inner, .mgbx-popover-inner-content),
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is([class*="search"], [class*="Search"], [class*="drawer"], [class*="Drawer"], [class*="modal"], [class*="Modal"]) {
  border-color: #e5e7eb !important;
  background: #fff !important;
  color: #101318 !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12) !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(div, section, ul, li),
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(div, section, ul, li) {
  background-color: #fff !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(a, button, p, strong, small, li, label),
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(a, button, p, strong, small, li, label) {
  color: #101318 !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input {
  border-color: #d9dde5 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #101318 !important;
  outline: 0 !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input::placeholder,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input::placeholder {
  color: #8a929e !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] {
  background: #17191d !important;
  color: #f7f9fc !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38) !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(.mgbx-popover-content, .mgbx-popover-inner, .mgbx-popover-inner-content),
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is([class*="search"], [class*="Search"], [class*="drawer"], [class*="Drawer"], [class*="modal"], [class*="Modal"]) {
  border-color: #2f343d !important;
  background: #17191d !important;
  color: #f7f9fc !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] :is(a, button, p, strong, small, li, label) {
  color: #f7f9fc !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input {
  border-color: #4a505a !important;
  background: #2c2f35 !important;
  color: #f7f9fc !important;
  outline: 0 !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input::placeholder {
  color: #aeb7c4 !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-popover-inner {
  border-color: #2b313a !important;
  background: #11151b !important;
  color: #f7f9fc;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42) !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [data-mgbx-official-pair-search-list] a {
  color: inherit !important;
  text-decoration: none !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] {
  padding: 10px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-popover-inner {
  overflow: hidden !important;
  border: 1px solid #39393b !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-popover-inner-content {
  padding: 0 !important;
  background: transparent !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_wrapper"] {
  background: #19191a !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_search"] {
  display: flex !important;
  align-items: center !important;
  height: 72px !important;
  padding: 16px !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchInputWrap"] {
  display: block !important;
  width: 328px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-affix-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  width: 328px !important;
  height: 40px !important;
  padding: 8px 12px !important;
  border: 1px solid #505052 !important;
  border-radius: 40px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 22px !important;
  box-sizing: border-box !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-prefix,
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-suffix {
  display: inline-flex !important;
  align-items: center !important;
  color: #fff !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input.mgbx-input {
  display: block !important;
  width: 100% !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_cancel"] {
  color: #c5ff30 !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="hotPairs_header"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="hotPairs_tabs"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="hotPairs_list"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="coinsItem_row"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="coinsItem_coinInfo"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="coinsItem_priceCol"] {
  background: transparent !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="coinsItem_row"],
body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [data-mgbx-official-pair-search-result] {
  user-select: none !important;
  -webkit-user-select: none !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchText_text"] {
  background: transparent !important;
  color: #fff !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"] {
  display: flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"] {
  display: block !important;
  height: 20px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #a0a0a0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="hotPairs_tab"] {
  color: #a0a0a0 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="hotPairs_tabActive"] {
  background: #39393b !important;
  color: #fff !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="itemRank_rank1"] {
  color: #e9487e !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="itemRank_rank2"] {
  color: #ee771b !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="itemRank_rank3"] {
  color: #ffb933 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="itemRank_rank"]:not([class*="itemRank_rank1"]):not([class*="itemRank_rank2"]):not([class*="itemRank_rank3"]) {
  color: #707070 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="coinsItem_tag"] {
  background: #19191a !important;
  color: #a0a0a0 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="redGreenNum"][style*="mega-color-red"] {
  color: #f53f3f !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="redGreenNum"][style*="mega-color-green"] {
  color: #00b897 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] ::selection {
  background: transparent;
  color: inherit;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-affix-wrapper {
  position: relative !important;
  width: 328px !important;
  height: 40px !important;
  padding: 8px 12px !important;
  border: 1px solid #505052 !important;
  border-radius: 40px !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchInputWrap"] {
  display: block !important;
  width: 328px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-popover-inner {
  border-color: #39393b !important;
  background: transparent !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_search"] {
  background: transparent !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input.mgbx-input {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_cancel"] {
  color: #c5ff30 !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchText_text"] {
  background: transparent !important;
  color: #fff !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"] {
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"] {
  display: block !important;
  height: 20px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #a0a0a0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_search"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="main_search"],
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchInputWrap"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchInputWrap"],
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"],
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"],
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-affix-wrapper,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-affix-wrapper,
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-prefix,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-prefix,
html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-suffix,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] .mgbx-input-suffix {
  background: transparent !important;
  background-color: transparent !important;
  color: #101318 !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholder"] {
  height: 40px !important;
  padding: 0 !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"],
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [class*="searchPlaceholderText"] {
  height: 20px !important;
  padding: 0 !important;
  color: #101318 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

html[data-theme="light"] body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input.mgbx-input,
html:not([data-theme]):not([data-color-mode]):not(.dark):not(.theme-dark) body.front-site .mgbx-popover[data-mgbx-cms-search-popover] input.mgbx-input {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [data-mgbx-official-pair-search-result] {
  cursor: pointer;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [data-mgbx-official-pair-search-empty] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: #8f96a3 !important;
}

body.front-site .mgbx-popover[data-mgbx-cms-search-popover] [data-mgbx-official-pair-fallback] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #242931;
  color: #b8ff1f !important;
  font-size: 12px;
  font-weight: 700;
}

body.front-site [class*="downLoadApp_downApp__"],
body.front-site [class*="downLoadApp_downClose__"] {
  display: none !important;
  pointer-events: none !important;
}

body.front-site .mgbx-message,
body.front-site .mgbx-message-notice,
body.front-site .mgbx-message-notice-content {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.front-site .mgbx-popover:has([class*="downLoadApp_downClose__"]),
body.front-site .mgbx-popover:has([class*="downLoadApp_downApp__"]) {
  display: none !important;
  pointer-events: none !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site,
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site main,
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .site-page {
  background: #080a0d;
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .official-header-root {
  background: #080a0d;
}

@media (max-width: 1100px) {
  body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) {
    left: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.front-site .mgbx-popover:not([data-mgbx-cms-search-popover]) .mgbx-popover-content {
    max-width: calc(100vw - 24px) !important;
    overflow-x: auto !important;
  }
}

.front-site .site-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 56px;
  padding: 0 38px;
  gap: 18px;
  border-bottom: 1px solid #eef0f3;
  background: rgba(255, 255, 255, .94);
  color: #080a0d;
  backdrop-filter: blur(14px);
}

.front-site .site-brand span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #050505;
  background: #b8ff1f;
}

.front-site .site-brand svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.front-site .site-brand.official-brand-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: currentColor;
}

.front-site .site-brand .official-brand-logo-svg {
  display: block;
  width: 92px;
  height: 36px;
  fill: none;
  flex: 0 0 auto;
}

.front-site .site-brand strong {
  font-size: 13px;
  font-weight: 900;
}

.front-site .site-main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-width: none;
}

.front-site .site-main-nav::-webkit-scrollbar {
  display: none;
}

.front-site .site-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: auto;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  color: #171b21;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 760;
}

.front-site .site-nav-item:hover,
.front-site .site-nav-item.active {
  background: #f2f4f7;
  color: #050505;
}

.front-site .site-nav-item i {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .65;
}

.front-site .site-nav-item em {
  display: inline-flex;
  align-items: center;
  min-height: 14px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: #ff384f;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.front-site .site-nav-more {
  display: inline-flex;
  align-items: center;
}

.front-site .site-nav-more > .site-nav-item i {
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.front-site .site-nav-more:hover > .site-nav-item,
.front-site .site-nav-more:focus-within > .site-nav-item {
  color: #9eff1f;
  background: transparent;
}

.front-site .site-nav-more:hover > .site-nav-item i,
.front-site .site-nav-more:focus-within > .site-nav-item i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.front-site .site-mega-menu {
  position: fixed;
  top: 56px;
  left: 50%;
  z-index: 120;
  display: none;
  width: min(1120px, calc(100vw - 48px));
  padding: 24px 30px 28px;
  border: 1px solid #292d33;
  border-radius: 8px;
  color: #fff;
  background: #151617;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
  transform: translateX(-50%);
}

.front-site .site-nav-more:hover .site-mega-menu,
.front-site .site-nav-more:focus-within .site-mega-menu {
  display: block;
}

.front-site .site-mega-grid {
  display: grid;
  grid-template-columns: 240px minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 48px;
}

.front-site .site-mega-menu h3 {
  margin: 0 0 16px;
  color: #6f7480;
  font-size: 13px;
  font-weight: 800;
}

.front-site .site-mega-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 66px;
  padding: 10px 0;
  border-radius: 6px;
}

.front-site .site-mega-card:hover b {
  color: #b8ff1f;
}

.front-site .site-mega-card b {
  display: block;
  color: #f8f9fb;
  font-size: 16px;
  line-height: 1.35;
}

.front-site .site-mega-card small {
  display: block;
  margin-top: 4px;
  color: #8d939c;
  font-size: 13px;
  line-height: 1.45;
}

.front-site .mega-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #f8f9fb;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.front-site .mega-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.front-site .mega-icon .mega-accent {
  stroke: #b8ff1f;
}

.front-site .site-mega-feature .site-mega-card {
  padding-top: 0;
}

.front-site .site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.front-site .site-actions > a {
  color: #080a0d;
  font-size: 12px;
  font-weight: 780;
}

.front-site .register-mini {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #050505;
  background: #b8ff1f;
}

.front-site .site-actions .top-search {
  flex: 0 0 146px;
}

.front-site .site-actions .top-search input {
  min-height: 30px;
  color: #101318;
  background: #f4f5f7;
}

.front-site .site-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: #080a0d;
  background: transparent;
}

.front-site .site-icon svg,
.front-site .site-icon .official-asset-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.front-site .lang-menu summary {
  min-height: 30px;
  max-width: 86px;
  padding: 0 9px;
  border: 0;
  color: #080a0d;
  background: transparent;
}

.front-site .lang-menu summary span {
  font-size: 11px;
}

.front-site .lang-menu-panel {
  width: min(430px, calc(100vw - 24px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: #e5e8ee;
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 24, 40, .18);
}

.front-site .lang-menu-panel a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  min-height: 42px;
  color: #525b68;
}

.front-site .lang-menu-panel a b {
  color: #111;
}

.front-site .lang-menu-panel a.active,
.front-site .lang-menu-panel a:hover {
  color: #050505;
  background: #b8ff1f;
}

.front-site main.site-page {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.front-site .site-title-block {
  margin-bottom: 26px;
}

.front-site .site-title-block time {
  color: #737b88;
  font-size: 13px;
}

.front-site .site-title-block h1,
.front-site .site-title-row h1,
.front-site .blog-v2-head h1 {
  margin: 8px 0 0;
  color: #080a0d;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.front-site .site-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}

.front-site .page-search {
  flex: 0 1 300px;
}

.front-site .page-search input {
  width: 100%;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #101318;
  background: #f5f6f8;
  outline: 0;
}

.front-site .search-v2 {
  width: min(1040px, calc(100% - 44px));
}

.front-site .search-v2-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.front-site .search-v2-head p {
  margin: 0 0 10px;
  color: #8aa400;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.front-site .search-v2-head h1 {
  margin: 0;
  color: #080a0d;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.front-site .search-v2-head span {
  display: block;
  max-width: 660px;
  margin-top: 12px;
  color: #657081;
  font-size: 15px;
  line-height: 1.7;
}

.front-site .search-v2-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(720px, 100%);
}

.front-site .search-v2-form input {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e1e5ec;
  border-radius: 999px;
  color: #101318;
  background: #f7f8fa;
  outline: 0;
  font-size: 15px;
}

.front-site .search-v2-form input:focus {
  border-color: #b8ff1f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 255, 31, .22);
}

.front-site .search-v2-form button {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #0a0c0f;
  background: #b8ff1f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.front-site .search-v2-results {
  margin-top: 42px;
}

.front-site .search-v2-results .site-section-head span {
  color: #737b88;
  font-size: 13px;
  font-weight: 760;
}

.front-site .search-v2-results .empty {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed #dbe0e8;
  border-radius: 10px;
  color: #737b88;
  background: #fafbfc;
}

.front-site .site-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 28px;
}

.front-site .site-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: #5e6673;
  background: transparent;
  font-size: 14px;
  font-weight: 760;
}

.front-site .site-tabs a.active,
.front-site .site-tabs a:hover {
  color: #080a0d;
  background: #f2f4f7;
}

.front-site .site-tabs.underline a {
  padding: 0;
  border-radius: 0;
  font-size: 16px;
}

.front-site .site-tabs.underline a.active {
  background: transparent;
}

.front-site .site-tabs.underline a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: #080a0d;
}

.front-site .site-tabs.underline a {
  position: relative;
}

.front-site .site-tabs.flat {
  gap: 20px;
}

.front-site .site-tabs.flat a.active {
  color: #080a0d;
  background: #f6f7f9;
}

.front-site .academy-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 48px;
  align-items: center;
  margin-bottom: 42px;
}

.front-site .academy-v2-hero h1 {
  max-width: 520px;
  margin: 0;
  color: #080a0d;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.front-site .academy-v2-hero p,
.front-site .blog-v2-head p {
  max-width: 580px;
  margin: 14px 0 0;
  color: #5d6674;
  font-size: 16px;
}

.front-site .hero-feature {
  border-radius: 8px;
  background: #f6f7f9;
}

.front-site .academy-feature-carousel {
  min-width: 0;
  width: 100%;
}

.front-site .academy-feature-viewport {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
}

.front-site .academy-feature-slide {
  display: none;
  width: 100%;
}

.front-site .academy-feature-slide.active {
  display: block;
}

.front-site .academy-feature-controls {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.front-site .academy-feature-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dfe3e9;
  border-radius: 50%;
  color: #20242a;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.front-site .academy-feature-arrow:hover {
  border-color: #b8c0cb;
  background: #f6f7f9;
}

.front-site .academy-feature-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.front-site .academy-feature-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8ced7;
  transition: width 160ms ease, background-color 160ms ease;
  cursor: pointer;
}

.front-site .academy-feature-dots button.active {
  width: 22px;
  background: #181b20;
}

.front-site .hero-feature a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
}

.front-site .hero-feature h2 {
  margin: 12px 0 16px;
  color: #111;
  font-size: 15px;
  line-height: 1.4;
}

.front-site .hero-feature time {
  color: #8b94a1;
  font-size: 12px;
}

.front-site .feature-tags,
.front-site .detail-tags,
.front-site .site-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.front-site .feature-tags span,
.front-site .detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #2f7a19;
  background: #ecffe0;
  font-size: 11px;
  font-weight: 850;
}

.front-site .feature-art {
  height: 96px;
  min-height: 96px;
  border-radius: 6px;
}

.front-site .site-card-grid,
.front-site .blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.front-site .site-card-grid.compact {
  gap: 18px;
}

.front-site .site-card {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.front-site .site-card:hover {
  border-color: #cfd5df;
  box-shadow: 0 14px 40px rgba(18, 24, 40, .08);
  transform: translateY(-2px);
}

.front-site .site-card a {
  display: grid;
  height: 100%;
}

.front-site .site-card-thumb {
  height: 196px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(184,255,31,.24), transparent 18%),
    linear-gradient(135deg, #040506, #101217);
}

.front-site .site-card-thumb span {
  color: #b8ff1f;
  font-size: 30px;
}

.front-site .site-card-body {
  display: grid;
  align-content: start;
  min-height: 150px;
  padding: 16px;
}

.front-site .site-card-source {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #687180;
  font-size: 11px;
  font-weight: 800;
}

.front-site .site-card-source span {
  color: #111;
}

.front-site .site-card h3 {
  margin: 0;
  color: #111;
  font-size: 17px;
  line-height: 1.35;
}

.front-site .site-card-meta {
  align-self: end;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: #8b94a1;
  font-size: 12px;
}

.front-site .site-card-meta span {
  color: #43a800;
}

.front-site .site-section {
  margin-top: 64px;
}

.front-site .site-section h2,
.front-site .site-section-head h2 {
  margin: 0 0 24px;
  color: #080a0d;
  font-size: 28px;
  line-height: 1.15;
}

.front-site .site-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.front-site .site-section-head h2 {
  margin: 0;
}

.front-site .site-section-head a {
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.front-site .news-v2 {
  width: min(1040px, calc(100% - 44px));
}

.front-site .news-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
}

.front-site .news-list-v2 {
  display: grid;
  gap: 24px;
}

.front-site .news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
}

.front-site .news-pagination a,
.front-site .news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  color: #525c6b;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.front-site .news-pagination a:hover {
  border-color: #aeb7c4;
  color: #111;
  background: #f5f7fa;
}

.front-site .news-pagination .active {
  border-color: #111;
  color: #fff;
  background: #111;
}

.front-site .news-pagination .disabled {
  opacity: .35;
}

.front-site .news-pagination .news-page-ellipsis {
  min-width: 22px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

body.front-site[data-theme="dark"] .news-pagination :is(a, span),
body.front-site:is(.dark, .theme-dark) .news-pagination :is(a, span),
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .news-pagination :is(a, span) {
  border-color: #303743;
  color: #c7d0dc;
  background: #101318;
}

body.front-site[data-theme="dark"] .news-pagination .active,
body.front-site:is(.dark, .theme-dark) .news-pagination .active,
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .news-pagination .active {
  border-color: #ffffff;
  color: #080a0d;
  background: #ffffff;
}

body.front-site[data-theme="dark"] .news-pagination .news-page-ellipsis,
body.front-site:is(.dark, .theme-dark) .news-pagination .news-page-ellipsis,
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .news-pagination .news-page-ellipsis {
  border-color: transparent;
  background: transparent;
}

.front-site .site-news-row {
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 22px;
}

.front-site .site-news-row a {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.front-site .news-row-thumb {
  height: 128px;
  min-height: 128px;
  border: 0;
  border-radius: 6px;
}

.front-site .site-news-row h2 {
  margin: 0 0 8px;
  color: #101318;
  font-size: 18px;
  line-height: 1.35;
}

.front-site .site-news-row p {
  margin: 0 0 10px;
  color: #657081;
  font-size: 13px;
  line-height: 1.65;
}

.front-site .site-news-row footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #8b94a1;
  font-size: 12px;
}

.front-site .site-market-chips span {
  min-height: 22px;
  padding: 0 8px;
  color: #2a3443;
  background: #f4f6f8;
  font-size: 11px;
}

.front-site .site-market-chips b {
  color: #00a877;
}

.front-site .brief-panel-v2 {
  align-self: start;
  padding: 22px;
  border: 1px solid #e2e6ed;
  border-radius: 10px;
  background: #fff;
}

.front-site .brief-panel-v2 h2 {
  margin: 0 0 18px;
  color: #101318;
  font-size: 18px;
}

.front-site .brief-item-v2 {
  position: relative;
  padding: 0 0 18px 16px;
  border-left: 1px solid #e7ebf0;
}

.front-site .brief-item-v2::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8ff1f;
  box-shadow: 0 0 0 2px #ecffd0;
}

.front-site .brief-item-v2 time {
  color: #6b7483;
  font-size: 12px;
}

.front-site .brief-item-v2 h3 {
  margin: 6px 0;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
}

.front-site .brief-item-v2 p {
  margin: 0;
  color: #737d8b;
  font-size: 12px;
}

body.front-site[data-theme="dark"] .brief-panel-v2,
body.front-site.dark .brief-panel-v2,
body.front-site.theme-dark .brief-panel-v2 {
  border-color: #2b313a;
  background: #101318;
}

body.front-site[data-theme="dark"] .brief-panel-v2 h2,
body.front-site.dark .brief-panel-v2 h2,
body.front-site.theme-dark .brief-panel-v2 h2 {
  color: #f7f9fc;
}

body.front-site[data-theme="dark"] .brief-item-v2,
body.front-site.dark .brief-item-v2,
body.front-site.theme-dark .brief-item-v2 {
  border-left-color: #323946;
}

body.front-site[data-theme="dark"] .brief-item-v2 time,
body.front-site.dark .brief-item-v2 time,
body.front-site.theme-dark .brief-item-v2 time {
  color: #aeb7c4;
}

body.front-site[data-theme="dark"] .brief-item-v2 h3,
body.front-site.dark .brief-item-v2 h3,
body.front-site.theme-dark .brief-item-v2 h3 {
  color: #ffffff;
}

body.front-site[data-theme="dark"] .brief-item-v2 p,
body.front-site.dark .brief-item-v2 p,
body.front-site.theme-dark .brief-item-v2 p {
  color: #c7d0dc;
}

@media (prefers-color-scheme: dark) {
  body.front-site.theme-auto .brief-panel-v2 {
    border-color: #2b313a;
    background: #101318;
  }

  body.front-site.theme-auto .brief-panel-v2 h2,
  body.front-site.theme-auto .brief-item-v2 h3 {
    color: #ffffff;
  }

  body.front-site.theme-auto .brief-item-v2 {
    border-left-color: #323946;
  }

  body.front-site.theme-auto .brief-item-v2 time {
    color: #aeb7c4;
  }

  body.front-site.theme-auto .brief-item-v2 p {
    color: #c7d0dc;
  }
}

.front-site .blog-v2 {
  width: min(1080px, calc(100% - 44px));
}

.front-site .blog-v2-head {
  margin: 20px 0 34px;
}

.front-site .blog-feature {
  border-radius: 8px;
  background: #f6f7f9;
}

.front-site .blog-feature a {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
}

.front-site .blog-feature-thumb {
  height: 164px;
  min-height: 164px;
  border: 0;
  border-radius: 6px;
}

.front-site .blog-feature h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 20px;
  line-height: 1.35;
}

.front-site .blog-feature p {
  margin: 0 0 18px;
  color: #636d7d;
}

.front-site .blog-feature time {
  color: #8b94a1;
  font-size: 12px;
}

.front-site .announcement-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.front-site .announcement-topic-card {
  display: block;
  min-height: 118px;
  padding: 20px;
  border: 1px solid #e2e6ed;
  border-radius: 6px;
  background: #fff;
}

.front-site .announcement-topic-card span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  border: 1px solid #b8ff1f;
  border-radius: 4px;
}

.front-site .announcement-topic-card span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #b8ff1f;
}

.front-site .announcement-topic-card h3 {
  margin: 0 0 6px;
  color: #111;
  font-size: 16px;
}

.front-site .announcement-topic-card p {
  margin: 0;
  color: #7a8391;
  font-size: 12px;
}

.front-site .announcement-rows {
  display: grid;
}

.front-site .announcement-rows.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}

.front-site .announcement-item {
  border-bottom: 1px solid #e8ebf0;
}

.front-site .announcement-item a {
  padding: 18px 0;
}

.front-site .announcement-item h3 {
  color: #111;
  font-size: 15px;
}

.front-site .announcement-item time {
  color: #87909f;
}

.front-site .announcement-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 44px;
}

.front-site .announcement-side {
  display: grid;
  align-content: start;
  gap: 8px;
}

.front-site .announcement-side-group {
  display: grid;
  gap: 4px;
}

.front-site .announcement-side a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  color: #5f6876;
  font-size: 13px;
  font-weight: 760;
}

.front-site .announcement-side a.active,
.front-site .announcement-side a:hover {
  color: #111;
  background: #f4f6f8;
}

.front-site .announcement-side-children {
  display: grid;
  gap: 2px;
  padding-left: 14px;
}

.front-site .announcement-side a.announcement-side-child {
  min-height: 34px;
  padding-left: 14px;
  color: #7b8491;
  font-size: 12px;
  font-weight: 720;
}

.front-site .announcement-side a.announcement-side-child::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #b8ff1f;
}

.front-site .announcement-subtabs {
  margin: 8px 0 12px;
}

.front-site .announcement-pagination {
  margin-top: 34px;
}

.front-site .pagination-mock {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  color: #6f7785;
  font-size: 13px;
}

.front-site .pagination-mock b {
  color: #111;
}

.front-site .help-section-v2 {
  margin-top: 56px;
}

.front-site .help-section-v2 h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 26px;
}

.front-site .help-section-v2 > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.front-site .help-section-v2 article {
  min-height: 126px;
  padding: 20px;
  border: 1px solid #e2e6ed;
  border-radius: 6px;
  background: #fff;
}

.front-site .help-section-v2 span {
  display: block;
  color: #111;
  font-size: 22px;
}

.front-site .help-section-v2 h3 {
  margin: 20px 0 4px;
  color: #111;
  font-size: 16px;
}

.front-site .help-section-v2 p {
  margin: 0;
  color: #7a8391;
  font-size: 13px;
}

.front-site .breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: #8a93a2;
  font-size: 12px;
}

.front-site .breadcrumb-line a {
  color: #6f7785;
}

.front-site .breadcrumb-line b {
  max-width: 520px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #2b313a;
  font-weight: 700;
}

.front-site main.site-page.detail-v2,
.front-site .detail-v2 {
  width: min(1360px, calc(100% - 80px));
}

.front-site .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.front-site .detail-article {
  min-width: 0;
  padding: clamp(32px, 3.5vw, 48px);
  border: 1px solid #e7ebf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 24, 40, .06);
}

.front-site .detail-article header h1 {
  margin: 0;
  color: #080a0d;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.front-site .detail-article header p {
  margin: 22px 0 0;
  color: #535d6b;
  font-size: 15px;
  line-height: 1.8;
}

.front-site .detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: #7a8391;
  font-size: 12px;
}

.front-site .detail-meta .view-count {
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #e3e7ed;
  border-radius: 6px;
  color: #6f7785;
  background: #f7f8fa;
}

.front-site .detail-meta .view-count svg,
.front-site .detail-meta .view-count .official-asset-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.front-site .detail-tags {
  margin: 18px 0;
}

.front-site .article-risk {
  margin: 26px 0 6px;
  padding: 18px 20px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  color: #586272;
  background: #fbfcfd;
  font-size: 13px;
  line-height: 1.75;
}

.front-site .cover img,
.front-site .content-image img,
.front-site .content-video iframe,
.front-site .content-video video {
  border-color: #e3e7ed;
  border-radius: 8px;
  background: #f5f6f8;
}

.front-site .content {
  max-width: 860px;
  padding-top: 28px;
  color: #202630;
  font-size: 16px;
  line-height: 1.95;
}

.front-site .content h2 {
  margin: 52px 0 16px;
  color: #111;
  font-size: 24px;
  line-height: 1.28;
}

.front-site .content h3 {
  margin: 32px 0 12px;
  color: #111;
  font-size: 19px;
}

.front-site .content p {
  margin: 0 0 20px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: normal;
}

.front-site .content h4 {
  margin: 26px 0 10px;
  color: #111;
  font-size: 17px;
  line-height: 1.45;
}

.front-site .content p:empty {
  display: none;
}

/*
 * Do not use `p:has(> br:only-child)` for blank-line detection here.
 * `:only-child` only counts element nodes, so a paragraph containing text plus
 * one trailing <br> also matches it and would collapse all wrapped lines.
 */

.front-site .content li + li {
  margin-top: 8px;
}

.front-site .content li {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.front-site .content li > p {
  margin: 6px 0;
}

.front-site .content a {
  color: #1485ff;
}

.front-site .content th {
  color: #111;
  background: #f6f7f9;
}

.front-site .content code,
.front-site .content pre {
  color: #111;
  background: #f6f7f9;
}

.front-site .source {
  color: #6f7785;
  font-size: 13px;
}

.front-site .source a {
  color: #1485ff;
}

.front-site .detail-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.front-site .download-panel,
.front-site .side-list-panel {
  padding: 18px;
  border: 1px solid #e2e6ed;
  border-radius: 10px;
  background: #fff;
}

.front-site .download-panel {
  text-align: center;
}

.front-site .download-panel h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.front-site .download-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  margin-top: 12px;
  border-radius: 999px;
  color: #6b7483;
  background: #f0f2f5;
  font-size: 12px;
  font-weight: 800;
}

.front-site .qr-mock {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, #111 8px, transparent 8px) 0 0/16px 16px,
    linear-gradient(#111 8px, transparent 8px) 0 0/16px 16px,
    #fff;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px #e4e8ef;
}

.front-site .qr-mock span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #050505;
  background: #b8ff1f;
  font-size: 12px;
  font-weight: 900;
}

.front-site .side-list-panel h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 15px;
}

.front-site .detail-sidebar .article-share-panel,
.front-site .detail-sidebar .article-toc-panel {
  position: static;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
}

.front-site .detail-sidebar .article-share-panel h3,
.front-site .detail-sidebar .article-toc-panel h3 {
  margin: 0 0 18px;
  color: #111;
  font-size: 22px;
  line-height: 1.25;
}

.front-site .article-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  align-items: center;
}

.front-site .article-share-action {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e8ebf0;
  border-radius: 50%;
  color: #111;
  background: #fff;
  cursor: pointer;
  line-height: 0;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.front-site .side-list-panel .article-share-action {
  display: grid;
  padding: 0;
}

.front-site .article-share-action:hover {
  color: #050505;
  border-color: #b8ff1f;
  background: #b8ff1f;
  transform: translateY(-1px);
}

.front-site .article-share-action.copied {
  color: #050505;
  border-color: #b8ff1f;
  background: #b8ff1f;
}

.front-site .article-share-icon {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
}

.front-site .article-share-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.front-site .article-share-icon-fill {
  fill: currentColor;
  stroke: none;
}

.front-site .article-share-icon-invert {
  fill: #fff;
  stroke: none;
}

.front-site .article-share-icon-x {
  width: 17px;
  height: 17px;
}

.front-site .article-share-icon-facebook,
.front-site .article-share-icon-linkedin {
  width: 17px;
  height: 17px;
}

.front-site .article-share-icon-telegram {
  width: 18px;
  height: 18px;
}

.front-site .article-share-icon-link {
  width: 17px;
  height: 17px;
}

.front-site .article-toc-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding-left: 28px;
}

.front-site .article-toc-list::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 8px;
  width: 3px;
  border-radius: 999px;
  background: #edf0f4;
}

.front-site .article-toc-list button {
  min-height: 49px;
  padding: 0;
  border: 0;
  color: #8a929e;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.front-site .article-toc-list button.active {
  color: #111;
  font-weight: 900;
}

.front-site .side-list-panel article {
  border-bottom: 1px solid #edf0f4;
}

.front-site .side-list-panel article:last-child {
  border-bottom: 0;
}

.front-site .side-list-panel a {
  display: block;
  padding: 10px 0;
}

.front-site .side-list-panel h3 {
  color: #111;
}

.front-site .side-list-panel article h3 {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.45;
}

.front-site .side-list-panel time {
  color: #939ba8;
  font-size: 11px;
}

.front-site .faq h2,
.front-site .related h2 {
  color: #111;
}

.front-site .faq details {
  border-bottom-color: #e5e9ef;
}

.front-site .faq summary {
  color: #111;
}

.front-site .faq details p {
  color: #657081;
}

.front-site .related-v2 {
  margin-top: 58px;
}

.cms-customer-service {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 999px;
  color: #050505;
  background: #b8ff1f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cms-customer-service:hover {
  transform: translateY(-2px);
  background: #c8ff47;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.cms-customer-service svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.front-site .site-footer {
  border-top: 1px solid #eef0f3;
  background: #fff;
  color: #111;
}

.front-site .site-footer-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 58px;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 46px;
}

.front-site .footer-brand {
  display: grid;
  align-content: start;
  gap: 16px;
}

.front-site .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.front-site .footer-social a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.front-site .footer-mini {
  color: #111;
  font-size: 13px;
  font-weight: 760;
}

.front-site .app-download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 108px;
  min-height: 30px;
  border: 1px solid #d5dae2;
  border-radius: 999px;
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.front-site .footer-qr {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  background:
    linear-gradient(90deg, #111 8px, transparent 8px) 0 0/16px 16px,
    linear-gradient(#111 8px, transparent 8px) 0 0/16px 16px,
    #fff;
  border: 1px solid #e3e7ed;
}

.front-site .footer-qr span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #050505;
  background: #b8ff1f;
  font-size: 12px;
  font-weight: 900;
}

.front-site .footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
}

.front-site .footer-columns h3 {
  margin: 0 0 14px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.front-site .footer-columns a {
  display: block;
  margin: 0 0 8px;
  color: #202630;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.front-site .footer-link-heading {
  display: block;
  margin: 12px 0 8px;
  color: #9aa3ad;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.front-site .footer-copy {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 34px;
  border-top: 1px solid #eef0f3;
  color: #8b94a1;
  text-align: center;
  font-size: 11px;
}

@media (max-width: 1120px) {
  .front-site .site-topbar {
    flex-wrap: wrap;
    padding: 10px 24px;
  }
  .front-site .site-main-nav {
    order: 3;
    flex-basis: 100%;
  }
  .front-site .site-actions .top-search {
    display: none;
  }
}

@media (max-width: 900px) {
  .front-site main.site-page,
  .front-site .news-v2,
  .front-site .blog-v2,
  .front-site .detail-v2 {
    width: min(100% - 28px, 1120px);
    padding-top: 36px;
  }
  .front-site .academy-v2-hero,
  .front-site .news-v2-layout,
  .front-site .blog-feature a,
  .front-site .announcement-layout,
  .front-site .detail-layout,
  .front-site .site-footer-inner {
    grid-template-columns: 1fr;
  }
  .front-site .site-card-grid,
  .front-site .blog-card-grid,
  .front-site .announcement-topic-grid,
  .front-site .announcement-rows.two-col,
  .front-site .help-section-v2 > div,
  .front-site .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .front-site .detail-sidebar {
    position: static;
  }
  .front-site .detail-article {
    padding: 30px;
  }
}

@media (max-width: 620px) {
  .front-site .site-topbar {
    gap: 12px;
    padding: 10px 16px;
  }
  .front-site .site-actions {
    margin-left: auto;
  }
  .front-site .site-actions > a,
  .front-site .site-icon:nth-of-type(2),
  .front-site .site-icon:nth-of-type(3) {
    display: none;
  }
  .front-site .site-title-row,
  .front-site .site-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .front-site .site-card-grid,
  .front-site .blog-card-grid,
  .front-site .announcement-topic-grid,
  .front-site .help-section-v2 > div,
  .front-site .footer-columns {
    grid-template-columns: 1fr;
  }
  .front-site .site-news-row a,
  .front-site .hero-feature:not(.academy-feature-slide) a {
    grid-template-columns: 1fr;
  }
  .front-site .academy-feature-slide a {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    min-height: 138px;
    padding: 14px;
  }
  .front-site .academy-feature-slide h2 {
    margin: 10px 0 12px;
    font-size: 14px;
  }
  .front-site .academy-feature-slide .feature-art {
    width: 112px;
    height: 112px;
    min-height: 112px;
  }
  .front-site .news-row-thumb,
  .front-site .feature-art {
    width: 100%;
    height: 180px;
  }
  .front-site .blog-feature-thumb {
    width: 100%;
  }
  .front-site .detail-article header h1,
  .front-site .academy-v2-hero h1,
  .front-site .search-v2-head h1 {
    font-size: 32px;
  }
  .front-site main.site-page.detail-v2,
  .front-site .detail-v2 {
    width: calc(100% - 20px);
    padding-top: 20px;
  }
  .front-site .detail-article {
    padding: 22px 18px 30px;
    border-radius: 10px;
  }
  .front-site .breadcrumb-line {
    margin-bottom: 20px;
  }
  .front-site .detail-article header h1 {
    font-size: 30px;
    line-height: 1.2;
  }
  .front-site .detail-article header p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
  }
  .front-site .article-risk {
    padding: 15px 16px;
  }
  .front-site .content {
    padding-top: 22px;
    font-size: 15px;
    line-height: 1.85;
  }
  .front-site .search-v2-form {
    grid-template-columns: 1fr;
  }
  .front-site .search-v2-form button {
    width: 100%;
  }
  .front-site .lang-menu-panel {
    right: -72px;
    grid-template-columns: 1fr;
  }
  .cms-customer-service {
    right: 16px;
    bottom: 16px;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
  }
  .cms-customer-service span {
    display: none;
  }
}

/* Official logo, social icons, and App QR refinements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.official-asset-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: currentColor;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.official-asset-icon.official-asset-loaded > span,
.official-asset-loaded > i {
  display: none;
}

.front-site .site-brand span,
.front-site .share-brand span {
  position: relative;
  overflow: hidden;
  background: #b8ff1f;
}

.front-site .site-brand span svg,
.front-site .share-brand span svg {
  display: none;
}

.front-site .site-brand span::before,
.front-site .share-brand span::before {
  content: none;
}

.front-site .footer-brand .site-brand span,
.front-site .share-brand span {
  width: 34px;
  height: 34px;
}

.front-site .footer-brand .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.front-site .footer-brand .site-brand strong {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
}

.front-site .footer-brand .site-brand strong.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.front-site .footer-brand .site-brand span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b8ff1f !important;
  background-image: none !important;
}

.front-site .footer-brand .site-brand span i {
  display: block !important;
  color: #050505;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.front-site .footer-brand .site-brand span::before,
.front-site .share-brand span::before {
  width: 24px;
  height: 18px;
}

.front-site .footer-social {
  display: grid;
  grid-template-columns: repeat(4, 24px);
  gap: 14px 18px;
}

.front-site .footer-social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 0;
  color: #111;
  font-size: 0;
  background: transparent;
}

.front-site .footer-social .official-asset-icon {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.front-site .footer-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.front-site .footer-icon-telegram,
.front-site .footer-icon-x,
.front-site .footer-icon-youtube,
.front-site .footer-icon-tiktok,
.front-site .footer-icon-facebook {
  fill: currentColor;
  stroke: none;
}

.front-site .footer-icon-x {
  stroke-width: 0;
}

.front-site .footer-icon-download {
  width: 18px;
  height: 18px;
}

.front-site .footer-social a:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.front-site .footer-social a:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.front-site .footer-social a:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.front-site .footer-social a:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.front-site .footer-social a:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.front-site .footer-social a:nth-child(6) {
  grid-column: 4;
  grid-row: 2;
}

.front-site .footer-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
}

.front-site .footer-mini svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #111;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.front-site .footer-pref-triggers {
  display: grid;
  gap: 16px;
}

.front-site .app-download {
  gap: 8px;
  width: 118px;
  min-height: 32px;
  padding: 0 13px;
  line-height: 1;
}

.front-site .app-download svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.front-site .app-download .footer-icon-download {
  fill: none;
  stroke: currentColor;
}

.front-site .footer-qr,
.front-site .qr-mock {
  display: block;
  object-fit: contain;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.front-site .footer-qr {
  width: 132px;
  height: 132px;
}

.front-site .download-panel .qr-mock {
  width: 92px;
  height: 92px;
  margin: 0 auto;
}

.front-site .footer-qr span,
.front-site .qr-mock span {
  display: none;
}

@media (max-width: 620px) {
  .front-site .footer-social {
    grid-template-columns: repeat(4, 40px);
    gap: 8px 10px;
  }

  .front-site .footer-social a {
    width: 40px;
    height: 40px;
    margin: -9px;
  }

  .front-site .footer-mini {
    min-height: 40px;
    padding: 0 2px;
  }

  .front-site .app-download {
    width: 136px;
    min-height: 40px;
  }

  .front-site .footer-columns a {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 2px;
    line-height: 1.35;
  }

  .front-site .site-section-head a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  body.front-site #mgbx-official-header-root a[href*="/login"],
  body.front-site #mgbx-official-header-root a[class*="login"],
  body.front-site #mgbx-official-header-root a[class*="sign_login"] {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

body.front-site[data-theme="dark"],
body.front-site:is(.dark, .theme-dark) {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: #101318;
  --panel-2: #171c24;
  --text: #f7f9fc;
  --muted: #c7d0dc;
  --dim: #aeb7c4;
  --line: #2b313a;
  background: #080a0d;
  color: #f7f9fc;
}

body.front-site[data-theme="dark"] :is(.site-topbar, .site-mega-menu, .site-mega-card, .hero-feature, .site-card, .blog-feature, .announcement-topic-card, .help-section-v2 article, .brief-panel-v2, .detail-article, .detail-sidebar, .article-risk, .article-share-panel, .article-toc-panel, .site-footer, .page-search input, .search-v2-form input),
body.front-site:is(.dark, .theme-dark) :is(.site-topbar, .site-mega-menu, .site-mega-card, .hero-feature, .site-card, .blog-feature, .announcement-topic-card, .help-section-v2 article, .brief-panel-v2, .detail-article, .detail-sidebar, .article-risk, .article-share-panel, .article-toc-panel, .site-footer, .page-search input, .search-v2-form input) {
  border-color: #2b313a;
  background-color: #101318;
  color: #f7f9fc;
}

body.front-site[data-theme="dark"] .academy-feature-arrow,
body.front-site:is(.dark, .theme-dark) .academy-feature-arrow {
  border-color: #343b46;
  color: #f7f9fc;
  background: #101318;
}

body.front-site[data-theme="dark"] .academy-feature-dots button,
body.front-site:is(.dark, .theme-dark) .academy-feature-dots button {
  background: #4b5563;
}

body.front-site[data-theme="dark"] .academy-feature-dots button.active,
body.front-site:is(.dark, .theme-dark) .academy-feature-dots button.active {
  background: #ffffff;
}

body.front-site[data-theme="dark"] :is(.site-title-block h1, .site-title-row h1, .site-section h2, .site-section-head h2, .academy-v2-hero h1, .blog-v2-head h1, .hero-feature h2, .site-card h3, .site-card-source span, .site-news-row h2, .brief-panel-v2 h2, .brief-item-v2 h3, .blog-feature h2, .announcement-topic-card h3, .announcement-item h3, .help-section-v2 h2, .help-section-v2 h3, .breadcrumb-line b, .detail-article header h1, .content h2, .content h3, .content h4, .related h2, .footer-columns h3),
body.front-site:is(.dark, .theme-dark) :is(.site-title-block h1, .site-title-row h1, .site-section h2, .site-section-head h2, .academy-v2-hero h1, .blog-v2-head h1, .hero-feature h2, .site-card h3, .site-card-source span, .site-news-row h2, .brief-panel-v2 h2, .brief-item-v2 h3, .blog-feature h2, .announcement-topic-card h3, .announcement-item h3, .help-section-v2 h2, .help-section-v2 h3, .breadcrumb-line b, .detail-article header h1, .content h2, .content h3, .content h4, .related h2, .footer-columns h3) {
  color: #ffffff;
}

body.front-site[data-theme="dark"] :is(.academy-v2-hero p, .blog-v2-head p, .site-news-row p, .brief-item-v2 p, .blog-feature p, .announcement-topic-card p, .help-section-v2 p, .detail-article header p, .content p, .search-v2-head span, .search-v2-results .site-section-head span, .footer-columns a, .footer-copy),
body.front-site:is(.dark, .theme-dark) :is(.academy-v2-hero p, .blog-v2-head p, .site-news-row p, .brief-item-v2 p, .blog-feature p, .announcement-topic-card p, .help-section-v2 p, .detail-article header p, .content p, .search-v2-head span, .search-v2-results .site-section-head span, .footer-columns a, .footer-copy) {
  color: #c7d0dc;
}

body.front-site[data-theme="dark"] :is(.site-title-block time, .hero-feature time, .site-card-source, .site-card-meta, .site-news-row footer, .brief-item-v2 time, .blog-feature time, .announcement-item time, .detail-meta, .breadcrumb-line, .footer-link-heading),
body.front-site:is(.dark, .theme-dark) :is(.site-title-block time, .hero-feature time, .site-card-source, .site-card-meta, .site-news-row footer, .brief-item-v2 time, .blog-feature time, .announcement-item time, .detail-meta, .breadcrumb-line, .footer-link-heading) {
  color: #aeb7c4;
}

body.front-site[data-theme="dark"] :is(.site-nav-item, .site-actions > a, .site-section-head a, .announcement-side a, .breadcrumb-line a, .content a, .detail-tags a, .footer-mini),
body.front-site:is(.dark, .theme-dark) :is(.site-nav-item, .site-actions > a, .site-section-head a, .announcement-side a, .breadcrumb-line a, .content a, .detail-tags a, .footer-mini) {
  color: #dce5f1;
}

body.front-site[data-theme="dark"] :is(.content a, .detail-tags a),
body.front-site:is(.dark, .theme-dark) :is(.content a, .detail-tags a) {
  color: #7cb7ff;
}

body.front-site[data-theme="dark"] :is(.site-nav-item:hover, .site-nav-item.active, .site-nav-more:hover > .site-nav-item, .site-nav-more:focus-within > .site-nav-item, .announcement-side a.active, .announcement-side a:hover, .site-tabs a.active, .site-tabs a:hover, .site-tabs.flat a.active),
body.front-site:is(.dark, .theme-dark) :is(.site-nav-item:hover, .site-nav-item.active, .site-nav-more:hover > .site-nav-item, .site-nav-more:focus-within > .site-nav-item, .announcement-side a.active, .announcement-side a:hover, .site-tabs a.active, .site-tabs a:hover, .site-tabs.flat a.active) {
  background-color: #1a212b;
  color: #ffffff;
}

body.front-site[data-theme="dark"] :is(.site-tabs, .site-tabs.flat, .announcement-item, .brief-item-v2, .footer-copy, .detail-sidebar article, .related-v2),
body.front-site:is(.dark, .theme-dark) :is(.site-tabs, .site-tabs.flat, .announcement-item, .brief-item-v2, .footer-copy, .detail-sidebar article, .related-v2) {
  border-color: #2b313a;
}

body.front-site[data-theme="dark"] :is(.site-market-chips span, .detail-tags span, .site-card-meta span),
body.front-site:is(.dark, .theme-dark) :is(.site-market-chips span, .detail-tags span, .site-card-meta span) {
  color: #d8ff78;
  background: #1a212b;
}

body.front-site[data-theme="dark"] .site-market-chips b,
body.front-site:is(.dark, .theme-dark) .site-market-chips b {
  color: #70f0bf;
}

body.front-site[data-theme="dark"] :is(.site-card-thumb, .blog-feature-thumb, .news-row-thumb),
body.front-site:is(.dark, .theme-dark) :is(.site-card-thumb, .blog-feature-thumb, .news-row-thumb) {
  background:
    radial-gradient(circle at 74% 28%, rgba(184, 255, 31, .2), transparent 18%),
    linear-gradient(135deg, #040506, #171c24);
}

body.front-site[data-theme="dark"] :is(.site-card-thumb span, .announcement-topic-card span),
body.front-site:is(.dark, .theme-dark) :is(.site-card-thumb span, .announcement-topic-card span) {
  color: #d8ff78;
  background-color: #101318;
}

body.front-site[data-theme="dark"] :is(.page-search input, .search-v2-form input)::placeholder,
body.front-site:is(.dark, .theme-dark) :is(.page-search input, .search-v2-form input)::placeholder {
  color: #aeb7c4;
}

body.front-site[data-theme="dark"] :is(.content th, .content code, .content pre),
body.front-site:is(.dark, .theme-dark) :is(.content th, .content code, .content pre) {
  border-color: #2b313a;
  background: #171c24;
  color: #f7f9fc;
}

body.front-site[data-theme="dark"] .site-actions > a.register-mini,
body.front-site:is(.dark, .theme-dark) .site-actions > a.register-mini {
  color: #050505;
  background: #b8ff1f;
}

body.front-site[data-theme="dark"] :is(.lang-menu summary, .lang-menu summary span, .site-tabs a, .announcement-subtabs a, .pagination-mock span, .pagination-mock b),
body.front-site:is(.dark, .theme-dark) :is(.lang-menu summary, .lang-menu summary span, .site-tabs a, .announcement-subtabs a, .pagination-mock span, .pagination-mock b) {
  color: #c7d0dc;
}

body.front-site[data-theme="dark"] :is(.search-v2-head h1, .download-panel h3, .side-list-panel h3, .share-brand),
body.front-site:is(.dark, .theme-dark) :is(.search-v2-head h1, .download-panel h3, .side-list-panel h3, .share-brand) {
  color: #ffffff;
}

body.front-site[data-theme="dark"] :is(.download-panel, .download-panel a, .side-list-panel, .site-card a, .side-list-panel a, .article-share-action, .footer-social a, .app-download),
body.front-site:is(.dark, .theme-dark) :is(.download-panel, .download-panel a, .side-list-panel, .site-card a, .side-list-panel a, .article-share-action, .footer-social a, .app-download) {
  border-color: #2b313a;
  background-color: #101318;
  color: #dce5f1;
}

body.front-site[data-theme="dark"] :is(.source, .side-list-panel time),
body.front-site:is(.dark, .theme-dark) :is(.source, .side-list-panel time) {
  color: #c7d0dc;
}

body.front-site[data-theme="dark"] .source a,
body.front-site:is(.dark, .theme-dark) .source a {
  color: #7cb7ff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: #101318;
  --panel-2: #171c24;
  --text: #f7f9fc;
  --muted: #c7d0dc;
  --dim: #aeb7c4;
  --line: #2b313a;
  background: #080a0d;
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-topbar, .site-mega-menu, .site-mega-card, .hero-feature, .site-card, .blog-feature, .announcement-topic-card, .help-section-v2 article, .brief-panel-v2, .detail-article, .detail-sidebar, .article-risk, .article-share-panel, .article-toc-panel, .site-footer, .page-search input, .search-v2-form input) {
  border-color: #2b313a;
  background-color: #101318;
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-title-block h1, .site-title-row h1, .site-section h2, .site-section-head h2, .academy-v2-hero h1, .blog-v2-head h1, .hero-feature h2, .site-card h3, .site-card-source span, .site-news-row h2, .brief-panel-v2 h2, .brief-item-v2 h3, .blog-feature h2, .announcement-topic-card h3, .announcement-item h3, .help-section-v2 h2, .help-section-v2 h3, .breadcrumb-line b, .detail-article header h1, .content h2, .content h3, .content h4, .related h2, .footer-columns h3, .search-v2-head h1, .download-panel h3, .side-list-panel h3, .share-brand) {
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.academy-v2-hero p, .blog-v2-head p, .site-news-row p, .brief-item-v2 p, .blog-feature p, .announcement-topic-card p, .help-section-v2 p, .detail-article header p, .content p, .search-v2-head span, .search-v2-results .site-section-head span, .footer-columns a, .footer-copy, .source, .side-list-panel time) {
  color: #c7d0dc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-title-block time, .hero-feature time, .site-card-source, .site-card-meta, .site-news-row footer, .brief-item-v2 time, .blog-feature time, .announcement-item time, .detail-meta, .breadcrumb-line, .footer-link-heading, .lang-menu summary, .lang-menu summary span, .site-tabs a, .announcement-subtabs a, .pagination-mock span, .pagination-mock b) {
  color: #aeb7c4;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .detail-sidebar .article-toc-list button {
  color: #9da6b4;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .detail-sidebar .article-toc-list button.active {
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site.page-detail :is(.detail-article, .detail-article header, .content, .content p, .content li, .content td, .faq, .faq summary) {
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site.page-detail :is(.detail-article header p, .content blockquote, .faq details p) {
  color: #c7d0dc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site.page-detail :is(.faq h2, .faq summary, .related h2) {
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site.page-detail :is(.faq details, .related-v2) {
  border-color: #2b313a;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-nav-item, .site-actions > a, .site-section-head a, .announcement-side a, .breadcrumb-line a, .footer-mini) {
  color: #dce5f1;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.content a, .detail-tags a, .source a) {
  color: #7cb7ff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-nav-item:hover, .site-nav-item.active, .site-nav-more:hover > .site-nav-item, .site-nav-more:focus-within > .site-nav-item, .announcement-side a.active, .announcement-side a:hover, .site-tabs a.active, .site-tabs a:hover, .site-tabs.flat a.active) {
  background-color: #1a212b;
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-tabs, .site-tabs.flat, .announcement-item, .brief-item-v2, .footer-copy, .detail-sidebar article, .related-v2) {
  border-color: #2b313a;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-market-chips span, .detail-tags span, .site-card-meta span) {
  color: #d8ff78;
  background: #1a212b;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .site-market-chips b {
  color: #70f0bf;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-card-thumb, .blog-feature-thumb, .news-row-thumb) {
  background:
    radial-gradient(circle at 74% 28%, rgba(184, 255, 31, .2), transparent 18%),
    linear-gradient(135deg, #040506, #171c24);
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.site-card-thumb span, .announcement-topic-card span) {
  color: #d8ff78;
  background-color: #101318;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.page-search input, .search-v2-form input)::placeholder {
  color: #aeb7c4;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.content th, .content code, .content pre) {
  border-color: #2b313a;
  background: #171c24;
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .site-actions > a.register-mini {
  color: #050505;
  background: #b8ff1f;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site :is(.download-panel, .download-panel a, .side-list-panel, .site-card a, .side-list-panel a, .article-share-action, .footer-social a, .app-download) {
  border-color: #2b313a;
  background-color: #101318;
  color: #dce5f1;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .site-footer {
  background: #050505;
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .footer-social a {
  border-color: transparent;
  background: transparent;
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .app-download {
  border-color: rgba(255, 255, 255, .92);
  background: transparent;
  color: #ffffff;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .footer-qr {
  background: #ffffff;
}

body.front-site[data-theme="dark"] .site-footer,
body.front-site:is(.dark, .theme-dark) .site-footer {
  background: #050505 !important;
  color: #ffffff !important;
}

body.front-site[data-theme="dark"] .footer-social a,
body.front-site:is(.dark, .theme-dark) .footer-social a {
  border-color: transparent !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.front-site[data-theme="dark"] .footer-mini,
body.front-site:is(.dark, .theme-dark) .footer-mini {
  color: #ffffff !important;
}

body.front-site[data-theme="dark"] .footer-mini .footer-icon,
body.front-site:is(.dark, .theme-dark) .footer-mini .footer-icon {
  fill: none !important;
  stroke: currentColor !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .footer-mini {
  color: #ffffff !important;
  background: transparent !important;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .footer-mini .footer-icon,
:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .footer-mini .footer-icon :is(path, circle, rect) {
  fill: none !important;
  stroke: currentColor !important;
}

body.front-site[data-theme="dark"] .app-download,
body.front-site:is(.dark, .theme-dark) .app-download {
  border-color: rgba(255, 255, 255, .92) !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.front-site[data-theme="dark"] .footer-qr,
body.front-site:is(.dark, .theme-dark) .footer-qr {
  background: #ffffff !important;
}


/* --- Editor content: link visibility --- */
.editor-link {
  color: #3b82f6 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

.tiptap-prose a {
  color: #3b82f6 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

/* --- Editor content: image size limits --- */
.editor-image {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.tiptap-prose img {
  max-width: 600px !important;
  height: auto !important;
}

/* --- Frontend content: image size safety --- */
.content img,
.content figure img,
.article-body img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Inline article images can share a line with adjacent images and text. */
.content p > img,
.content li > img,
.article-body p > img,
.article-body li > img {
  display: inline-block !important;
  margin: 6px 10px;
  vertical-align: middle;
}

.content img.image-align-left,
.article-body img.image-align-left {
  display: block !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.content img.image-align-center,
.article-body img.image-align-center {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.content img.image-align-right,
.article-body img.image-align-right {
  display: block !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* CMS action link: render as a consistent CTA instead of a plain text link. */
.content a.action-button,
.article-body a.action-button {
  display: inline-flex !important;
  width: 140px;
  padding: 10px 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #c8ff1a !important;
  color: #000 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(200, 255, 26, .16);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.content a.action-button:hover,
.article-body a.action-button:hover {
  background: #d4ff4d !important;
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(200, 255, 26, .24);
}

/* --- Cover preview: constrain size --- */
.cover-preview {
  max-width: 480px;
  max-height: 320px;
  object-fit: contain;
}

.detail-tags .tag-link{display:inline-block;padding:4px 12px;margin:0 6px 6px 0;border-radius:20px;background:rgba(59,130,246,0.1);border:1px solid rgba(59,130,246,0.3);color:#3b82f6;font-size:13px;font-weight:500;text-decoration:none;transition:all .15s}.detail-tags .tag-link:hover{background:rgba(59,130,246,0.2);border-color:#3b82f6}
.content strong, .content b, .detail-article strong, .detail-article b { font-weight: 700; }

.tiptap-prose strong,
.tiptap-prose b,
[data-tiptap-body] strong,
[data-tiptap-body] b,
.rich-editor strong,
.rich-editor b {
  font-weight: 700  ;
}
/* --- Editor bold visibility boost --- */
.tiptap-prose strong,
.tiptap-prose b,
[data-tiptap-body] strong,
[data-tiptap-body] b {
  font-weight: 700  ;
  color: #f8d66d  ;
}

/* --- ProseMirror bold reset override --- */
.ProseMirror strong,
.ProseMirror b,
.tiptap-prose .ProseMirror strong,
.tiptap-prose .ProseMirror b {
  font-weight: 700  ;
}

/* Article signature bar: linked author + dual dates (same source as schema). */
.front-site .article-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 30px 0 6px;
  padding: 14px 0 0;
  border-top: 1px solid #e7ebf0;
  color: #7a8391;
  font-size: 13px;
}

.front-site .article-signature .sig-author {
  font-weight: 600;
  color: #202630;
}

.front-site .article-signature time {
  font-variant-numeric: tabular-nums;
}

.front-site .detail-author-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.front-site .detail-author-link:hover {
  border-bottom-style: solid;
}

.front-site.page-author .site-title-block {
  margin-bottom: 24px;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .article-signature {
  border-top-color: #2b313a;
  color: #aeb7c4;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .article-signature .sig-author {
  color: #f7f9fc;
}

:is(html[data-theme="dark"], html[data-theme="black"], html[data-color-mode="dark"], html[data-mgbx-cms-theme="dark"], html.dark, html.theme-dark) body.front-site .detail-author-link:hover {
  color: #ffffff;
}
