/* ==========================================================================
   F8BET ARENA — hệ thống giao diện tối, góc vuông, đánh số module
   Viết mới hoàn toàn cho f8betgm.com (không dùng lại bố cục viên thuốc)
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
  --coal: #070a08;
  --coal-2: #0a0f0c;
  --panel: #0f1512;
  --panel-2: #131b17;
  --line: rgba(214, 255, 231, .14);
  --line-2: rgba(214, 255, 231, .075);

  --lime: #c9f24d;
  --lime-2: #a9d132;
  --coral: #ff7a52;
  --sky: #7bd3ff;

  --tex: #eaf3ed;
  --tex-2: #b4c6bc;
  --tex-3: #82948b;

  --ink: #0a0f0c;
  --r: 3px;
  --wrap: 1240px;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}

/* ---------- 2. Nền tảng ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--coal-2);
  color: var(--tex);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding-left: 18px; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 120;
  padding: 10px 16px; background: var(--lime); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 3. Khung trang ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  padding-inline: 24px;
  margin-inline: auto;
}

.sec { padding: 62px 0; }
.sec--tight { padding: 40px 0; }
.sec--alt { background: var(--coal); border-block: 1px solid var(--line-2); }
.sec--panel { background: var(--panel); border-block: 1px solid var(--line-2); }

.rule { flex: 1; height: 1px; background: var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tex-3);
}
.eyebrow::before { content: "["; color: var(--lime); }
.eyebrow::after { content: "]"; color: var(--lime); }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border: 1px solid var(--line);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tex-2); border-radius: 2px;
}
.tag--lime { border-color: rgba(201, 242, 77, .45); color: var(--lime); }
.tag--coral { border-color: rgba(255, 122, 82, .45); color: var(--coral); }
.tag--sky { border-color: rgba(123, 211, 255, .4); color: var(--sky); }

/* ---------- 4. Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #dcff70; }
.btn--ghost { border-color: var(--line); color: var(--tex); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--quiet { padding: 0; height: auto; color: var(--lime); letter-spacing: .13em; }
.btn--quiet:hover { color: #e4ff8a; }
.btn--sm { height: 34px; padding: 0 13px; font-size: 10px; letter-spacing: .13em; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Thanh trên + masthead ---------- */
.topbar {
  background: #050806;
  border-bottom: 1px solid var(--line-2);
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--tex-3);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.topbar__set { display: flex; align-items: center; gap: 14px; }
.topbar__set span + span { padding-left: 14px; border-left: 1px solid var(--line-2); }
.topbar b { color: var(--lime); font-weight: 600; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 10, 8, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; gap: 28px; height: 66px; }

/* thanh HUD hồ sơ đấu thủ, nằm gọn trong masthead */
.hud { border-top: 1px solid var(--line-2); background: #050806; }
.hud__inner {
  display: flex; align-items: center; gap: 18px; height: 32px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tex-3);
}
.hud__lv { display: flex; align-items: center; gap: 8px; }
.hud__key { color: var(--tex-3); }
.hud b { color: var(--lime); font-weight: 700; }
.hud__lv-num { font-size: 12px; letter-spacing: .04em; }
.hud__xp { color: var(--tex-3); white-space: nowrap; }
.hud__set {
  display: flex; align-items: baseline; gap: 6px; padding-left: 18px;
  border-left: 1px solid var(--line-2); white-space: nowrap;
}
.hud__set b { font-size: 11.5px; }
.hud__cta { margin-left: auto; color: var(--lime); white-space: nowrap; }
.hud__cta:hover { color: #e4ff8a; }
.hud__cta-short { display: none; }

.meter { height: 5px; background: rgba(214, 255, 231, .1); overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .45s ease; }
.meter--hud { width: 74px; flex: none; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.brand__word { font-size: 17px; font-weight: 800; letter-spacing: .16em; }
.brand__sub {
  padding-left: 8px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--lime);
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  padding: 22px 0; border-bottom: 2px solid transparent;
  font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--tex-2);
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: var(--tex); }
.nav a[aria-current="page"] { color: var(--lime); border-color: var(--lime); }

.masthead__actions { display: flex; align-items: center; gap: 10px; }
.masthead__badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px;
  border: 1px solid rgba(255, 122, 82, .5); border-radius: 2px;
  font-family: var(--mono); font-size: 10px; color: var(--coral); letter-spacing: .1em;
}
.burger {
  display: none; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); border-radius: 2px;
  background: transparent; color: var(--tex); cursor: pointer;
}
.burger svg { width: 18px; height: 18px; margin-inline: auto; }

/* menu toàn màn hình cho di động */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: #050806;
  display: none; flex-direction: column;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
}
.menu.is-open { display: flex; }
.menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.menu__close {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 2px;
  background: transparent; color: var(--tex); cursor: pointer;
}
.menu__close svg { width: 18px; height: 18px; margin-inline: auto; }
.menu__list { display: grid; gap: 0; margin-bottom: 24px; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line-2);
  font-size: 20px; font-weight: 700; letter-spacing: -.01em;
}
.menu__list span { font-family: var(--mono); font-size: 10.5px; color: var(--lime); letter-spacing: .1em; }
.menu__list a[aria-current="page"] { color: var(--lime); }
.menu__meta { margin-top: auto; font-size: 12px; color: var(--tex-3); display: grid; gap: 6px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 84% -12%, rgba(201, 242, 77, .13), transparent 62%),
    linear-gradient(180deg, #080c0a 0%, #0b110e 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(214, 255, 231, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 255, 231, .035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(70% 60% at 40% 20%, #000 30%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px; padding-block: 58px 50px;
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(33px, 4.6vw, 56px);
  line-height: 1.04; letter-spacing: -.038em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__lead {
  margin-top: 18px; max-width: 46ch;
  font-size: 15.5px; line-height: 1.72; color: var(--tex-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.statline {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px; border-top: 1px solid var(--line);
}
.stat { padding: 16px 14px 0 0; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--mono);
  font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--lime);
}
.stat span { display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: .04em; color: var(--tex-3); }

/* bảng chọn nhanh bên phải hero */
.modeboard { border: 1px solid var(--line); background: rgba(10, 15, 12, .72); }
.modeboard__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--tex-3);
}
.modeboard__head b { color: var(--lime); font-weight: 600; }
.mode {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 15px 16px; border-bottom: 1px solid var(--line-2);
  transition: background-color .18s ease;
}
.mode:last-child { border-bottom: 0; }
.mode:hover { background: rgba(201, 242, 77, .06); }
.mode__idx { font-family: var(--mono); font-size: 10.5px; color: var(--tex-3); }
.mode__name { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.mode__name small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--tex-3); }
.mode__go { color: var(--lime); }
.mode__go svg { width: 16px; height: 16px; }

/* ---------- 7. Ticker ---------- */
.ticker {
  overflow: hidden; background: #050806; border-bottom: 1px solid var(--line);
}
.ticker__track {
  display: flex; width: max-content; gap: 0;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; gap: 30px; padding: 10px 15px; }
.ticker__set span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--tex-3); white-space: nowrap;
}
.ticker__set i { width: 5px; height: 5px; background: var(--lime); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 8. Đầu mục ---------- */
.sec-head { margin-bottom: 26px; }
.sec-head__top { display: flex; align-items: center; gap: 14px; }
.sec-head__idx {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--lime);
}
.sec-head__kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tex-3);
}
.sec-head h2 {
  margin-top: 10px;
  font-size: clamp(22px, 2.5vw, 31px); line-height: 1.2;
  letter-spacing: -.028em; font-weight: 800;
}
.sec-head p { margin-top: 8px; max-width: 62ch; color: var(--tex-3); font-size: 14px; }
.sec-head__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }

/* ---------- 9. Lưới thẻ chế độ ---------- */
.tilegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tilegrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 18px 18px 16px; min-height: 194px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #101713 0%, #0c1210 100%);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.tile:hover { border-color: rgba(201, 242, 77, .5); transform: translateY(-2px); }
.tile:hover::after { transform: scaleX(1); }
.tile__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile__idx { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--tex-3); }
.tile__icon { width: 26px; height: 26px; color: var(--lime); }
.tile__name { font-size: 16px; font-weight: 700; letter-spacing: -.018em; line-height: 1.35; }
.tile__desc { font-size: 12.5px; line-height: 1.6; color: var(--tex-3); }
.tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.tile__meta { font-size: 11px; letter-spacing: .04em; color: var(--tex-3); }
.tile__go { color: var(--lime); }
.tile__go svg { width: 15px; height: 15px; }
.tile.is-hidden { display: none; }
.post.is-hidden { display: none; }

/* ---------- 10. Bộ chọn ba câu hỏi ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); border: 1px solid var(--line); }
.picker__form { padding: 22px; border-right: 1px solid var(--line); display: grid; gap: 18px; }
.picker__row { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.picker__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tex-3);
}
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 2px;
  background: transparent; color: var(--tex-2);
  font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.seg button:hover { border-color: rgba(201, 242, 77, .45); color: var(--tex); }
.seg button[aria-pressed="true"] {
  background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600;
}
.picker__out {
  padding: 22px; background: #0a100d;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.picker__out-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tex-3);
}
.picker__out-name { font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.picker__out-meta { font-size: 12.5px; color: var(--tex-3); }
.picker__out .link-arrow { margin-top: 6px; }

/* ---------- 11. Bảng dữ liệu ---------- */
.scroller { overflow-x: auto; overscroll-behavior-x: contain; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.matrix th {
  padding: 10px 12px; text-align: left;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lime);
  border-bottom: 1px solid rgba(201, 242, 77, .38);
  white-space: nowrap;
}
.matrix td {
  padding: 12px; border-bottom: 1px solid var(--line-2);
  color: var(--tex-2); vertical-align: top;
}
.matrix tbody tr:hover td { background: rgba(201, 242, 77, .045); color: var(--tex); }
.matrix td:first-child { color: var(--tex); font-weight: 600; }
.matrix--bare th { padding-top: 0; }

/* ---------- 12. Lộ trình ---------- */
.trail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trail__step { position: relative; padding: 24px 20px 4px 0; border-right: 1px solid var(--line-2); }
.trail__step:last-child { border-right: 0; padding-right: 0; }
.trail__step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 2px; background: var(--lime);
}
.trail__num { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--lime); }
.trail__name { margin-top: 8px; font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; }
.trail__desc { margin-top: 6px; font-size: 12.5px; color: var(--tex-3); line-height: 1.62; }

/* ---------- 13. Ưu đãi ---------- */
.offers { display: grid; gap: 10px; }
.offer {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center; gap: 20px;
  padding: 16px 18px; border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .18s ease, background-color .18s ease;
}
.offer:hover { border-color: rgba(201, 242, 77, .42); background: #121a16; }
.offer__value { font-size: 25px; font-weight: 800; letter-spacing: -.03em; color: var(--lime); line-height: 1.1; }
.offer__value small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tex-3);
}
.offer__title { font-size: 15px; font-weight: 700; letter-spacing: -.012em; }
.offer__desc { margin-top: 3px; font-size: 12.5px; color: var(--tex-3); }
.offer__cond {
  display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em;
  line-height: 1.7; color: var(--tex-3);
}
.offer__cond b { color: var(--tex-2); font-weight: 600; }
.offer__side { display: flex; align-items: center; gap: 12px; }
.code {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 10px; border: 1px dashed rgba(201, 242, 77, .42);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--lime);
}
.code button {
  padding: 0; border: 0; background: transparent; color: var(--lime);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
}
.code button:hover { text-decoration: underline; }

/* ---------- 14. Bài viết dạng thẻ ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border: 1px solid var(--line); background: var(--panel);
  transition: border-color .18s ease, background-color .18s ease;
}
.post:hover { border-color: rgba(201, 242, 77, .42); background: #121a16; }
.post__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post__idx { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--tex-3); }
.post h3 { font-size: 15.5px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.post p { font-size: 12.5px; line-height: 1.62; color: var(--tex-3); }
.post__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tex-3);
}
.post__foot span:last-child { color: var(--lime); }

/* ---------- 15. Nội dung bài viết ---------- */
.pagehead { position: relative; padding: 34px 0 26px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #080c0a, #0a0f0c); }
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tex-3);
}
.crumb a:hover { color: var(--lime); }
.crumb span[aria-current] { color: var(--tex-2); }
.pagehead h1 {
  margin-top: 14px;
  font-size: clamp(27px, 3.6vw, 42px); line-height: 1.1;
  letter-spacing: -.032em; font-weight: 800;
}
.pagehead__lead { margin-top: 12px; max-width: 66ch; color: var(--tex-2); font-size: 15px; }
.pagehead__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tex-3);
}
.pagehead__meta span + span { padding-left: 14px; border-left: 1px solid var(--line-2); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 34px; align-items: start; }

.prose { counter-reset: h2; font-size: 14.8px; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  counter-increment: h2;
  position: relative; padding-left: 40px; margin-top: 40px;
  font-size: 23px; line-height: 1.28; letter-spacing: -.024em; font-weight: 750;
}
.prose h2::before {
  content: counter(h2, decimal-leading-zero);
  position: absolute; left: 0; top: 3px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  color: var(--lime);
}
.prose h3 { margin-top: 26px; font-size: 16.5px; font-weight: 700; letter-spacing: -.014em; }
.prose p, .prose li { color: var(--tex-2); line-height: 1.8; }
.prose ul, .prose ol { display: grid; gap: 8px; }
.prose li::marker { color: var(--lime); }
.prose strong { color: var(--tex); font-weight: 650; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  padding: 14px 18px; border-left: 2px solid var(--lime);
  background: rgba(201, 242, 77, .05);
  font-size: 14px; color: var(--tex-2);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prose th {
  padding: 9px 12px; text-align: left;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
  border-bottom: 1px solid rgba(201, 242, 77, .35);
}
.prose td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); color: var(--tex-2); vertical-align: top; }
.prose td:first-child { color: var(--tex); }
.prose .table-scroll { overflow-x: auto; }

.factbox { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; }
.factbox__title {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 8px;
}
.factbox p, .factbox li { font-size: 13.2px; }

.side { display: grid; gap: 14px; position: sticky; top: 126px; }
.side__box { border: 1px solid var(--line); background: var(--panel); padding: 16px; }
.side__title {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tex-3); margin-bottom: 12px;
}
.toc { display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  counter-increment: toc;
  display: flex; gap: 10px; padding: 7px 0 7px 10px;
  border-left: 1px solid var(--line);
  font-size: 12.5px; color: var(--tex-3); line-height: 1.5;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono); font-size: 9.5px; color: var(--tex-3); flex: none; padding-top: 2px;
}
.toc a:hover { color: var(--tex); border-color: rgba(201, 242, 77, .5); }
.toc a.is-active { color: var(--lime); border-color: var(--lime); }
.toc a.is-active::before { color: var(--lime); }

.side__links { display: grid; gap: 2px; }
.side__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--tex-2);
}
.side__links a:last-child { border-bottom: 0; }
.side__links a:hover { color: var(--lime); }
.side__links svg { width: 13px; height: 13px; color: var(--lime); flex: none; }
.side__note { font-size: 12.5px; line-height: 1.65; color: var(--tex-3); }

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 16px 0; border: 0; background: transparent;
  color: var(--tex); text-align: left; cursor: pointer;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
}
.faq__q:hover { color: var(--lime); }
.faq__sign { position: relative; width: 14px; height: 14px; flex: none; color: var(--lime); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.faq__sign::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq__sign::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq__item.is-open .faq__sign::after { transform: scaleY(0); opacity: 0; }
.faq__a { display: none; padding: 0 40px 18px 0; font-size: 13.8px; line-height: 1.75; color: var(--tex-3); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 16. Biểu mẫu ---------- */
.form { display: grid; gap: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tex-3);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 2px;
  background: #0a100d; color: var(--tex);
  font-family: inherit; font-size: 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime);
}
.field input::placeholder, .field textarea::placeholder { color: #6d7d75; }
.form__note { font-size: 12px; color: var(--tex-3); }
.form__status {
  display: none; padding: 10px 12px;
  border-left: 2px solid var(--lime); background: rgba(201, 242, 77, .07);
  font-size: 13px; color: var(--tex-2);
}
.form__status.is-visible { display: block; }

.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel { padding: 18px; border: 1px solid var(--line); background: var(--panel); }
.channel__icon { width: 20px; height: 20px; color: var(--lime); margin-bottom: 10px; }
.channel h3 { font-size: 13.5px; font-weight: 700; }
.channel p { margin-top: 4px; font-size: 12.5px; color: var(--tex-3); word-break: break-word; }
.channel a { color: var(--lime); }

/* ---------- 17. Khối phụ ---------- */
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 28px; border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(201, 242, 77, .08), rgba(201, 242, 77, 0) 62%), var(--panel);
}
.band h2 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.25; letter-spacing: -.024em; font-weight: 800; }
.band p { margin-top: 6px; font-size: 13.5px; color: var(--tex-3); }
.band__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

.callout {
  display: grid; gap: 8px; padding: 16px 18px;
  border: 1px solid rgba(255, 122, 82, .3); background: rgba(255, 122, 82, .06);
}
.callout__title {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
}
.callout p { font-size: 13px; color: var(--tex-2); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kv div { padding: 14px 16px; border: 1px solid var(--line); background: var(--panel); }
.kv b { display: block; font-size: 20px; font-weight: 800; color: var(--lime); letter-spacing: -.02em; }
.kv span { font-size: 11.5px; color: var(--tex-3); }

/* ---------- 16b. Khối riêng của trang ---------- */
.filterbar {
  display: grid; gap: 12px; padding: 18px;
  border: 1px solid var(--line); background: var(--panel);
}
.filterbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filterbar__key {
  flex: none; width: 82px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tex-3);
}
.filterbar__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tex-3);
}
.count { color: var(--lime); font-weight: 600; }
.empty-note {
  display: none; padding: 18px; border: 1px dashed var(--line);
  font-size: 13px; color: var(--tex-3); text-align: center;
}
.empty-note.is-visible { display: block; }

.stack { border: 1px solid var(--line); background: var(--panel); }
.stack__row {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer;
}
.stack__row:last-of-type { border-bottom: 0; }
.stack__row:hover { background: rgba(201, 242, 77, .035); }
.stack__row input { width: 15px; height: 15px; accent-color: var(--lime); cursor: pointer; }
.stack__label { font-size: 13.5px; color: var(--tex-2); }
.stack__label b { display: block; color: var(--tex); font-weight: 600; }
.stack__label small {
  display: block; margin-top: 2px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tex-3);
}
.stack__value { font-family: var(--mono); font-size: 12.5px; color: var(--lime); }
.stack__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px; border-top: 1px solid var(--line); background: #0a100d;
}
.stack__total span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tex-3);
}
.stack__total b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--lime); }
.stack__total b small { font-size: 11px; font-weight: 500; color: var(--tex-3); margin-left: 4px; }

.queue { border-top: 1px solid var(--line); }
.queue__row {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.queue__idx {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--lime);
}
.queue__title { font-size: 15px; font-weight: 650; letter-spacing: -.012em; color: var(--tex); }
.queue__title:hover { color: var(--lime); }
.queue__meta { margin-top: 4px; font-size: 12px; color: var(--tex-3); }
.queue__side { text-align: right; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tex-3); }
.queue__row--draft .queue__title { color: var(--tex-2); }
.queue__row--draft .queue__idx { color: var(--tex-3); }

.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  border: 1px solid var(--line); background: linear-gradient(150deg, rgba(201, 242, 77, .07), rgba(201, 242, 77, 0) 58%), var(--panel);
}
.feature__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature__body h2 { font-size: clamp(21px, 2.4vw, 29px); line-height: 1.2; letter-spacing: -.028em; font-weight: 800; }
.feature__body p { font-size: 14px; color: var(--tex-2); }
.feature__side {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 22px 26px; border-left: 1px solid var(--line);
}
.feature__side dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 12.5px; }
.feature__side dt {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tex-3); padding-top: 2px;
}
.feature__side dd { color: var(--tex-2); }

/* ---------- 17b. Lớp trò chơi: hồ sơ, nhiệm vụ, huy hiệu ---------- */
.game { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: 18px; align-items: start; }
.game__count { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tex-3); }

.quests { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.quest {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 94px 108px;
  gap: 16px; align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.quest__idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--lime); }
.quest__name { font-size: 14.5px; font-weight: 650; letter-spacing: -.012em; }
.quest__desc { display: block; margin-top: 2px; font-size: 12px; line-height: 1.55; color: var(--tex-3); }
.quest__reward { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--lime); text-align: right; }
.quest__reward small { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .1em; color: var(--tex-3); }
.quest__act {
  justify-self: end; min-height: 30px; padding: 0 10px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); background: transparent; color: var(--tex);
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.quest__act:hover { border-color: var(--lime); color: var(--lime); }
.quest.is-done .quest__idx { color: var(--tex-3); }
.quest.is-done .quest__name { color: var(--tex-3); }
.quest.is-done .quest__act { border-color: rgba(201, 242, 77, .45); color: var(--lime); cursor: default; }
.quest.is-done a.quest__act { cursor: pointer; }

.game__note { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line-2); background: var(--panel); }
.game__note-key { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tex-3); }
.game__note p { margin-top: 6px; font-size: 12.5px; line-height: 1.65; color: var(--tex-3); }

.playercard {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(201, 242, 77, .08), rgba(201, 242, 77, 0) 55%), var(--panel);
}
.playercard__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tex-3);
}
.playercard__id { display: flex; align-items: center; gap: 12px; padding: 14px; }
.playercard__mark {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.playercard__name { display: block; font-size: 14.5px; font-weight: 750; letter-spacing: -.012em; }
.playercard__code { display: block; margin-top: 1px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--tex-3); }
.playercard__rank {
  margin-left: auto; padding: 4px 8px;
  border: 1px solid rgba(201, 242, 77, .45); color: var(--lime);
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap;
}
.playercard__xp { padding: 0 14px 14px; }
.playercard__xp-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 6px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tex-3);
}
.playercard__xp-top span:first-child { color: var(--lime); }
.meter--xp { height: 8px; border: 1px solid var(--line); }
.playercard__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; margin: 0; padding: 1px 0 0; background: var(--line);
  border-top: 1px solid var(--line);
}
.playercard__stats > div { padding: 10px 14px; background: var(--panel); }
.playercard__stats dt {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tex-3);
}
.playercard__stats dd {
  margin: 3px 0 0; font-family: var(--mono); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; color: var(--tex);
}
.playercard__streak { padding: 14px; border-top: 1px solid var(--line); }
.streak { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.streak__label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tex-3); }
.streak b { font-family: var(--mono); font-size: 11.5px; color: var(--lime); }
.streak__dots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 8px 0 12px; }
.streak__dots i { height: 6px; background: rgba(214, 255, 231, .12); transition: background-color .3s ease; }
.streak__dots i.is-on { background: var(--lime); }
.playercard__note { padding: 0 14px; font-size: 11.5px; line-height: 1.6; color: var(--tex-3); }
.playercard__reset {
  margin: 10px 14px 14px; padding: 0; border: 0; background: transparent;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tex-3); cursor: pointer;
}
.playercard__reset:hover { color: var(--coral); }

.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.badge {
  position: relative; display: grid; gap: 7px; min-height: 150px; padding: 14px;
  border: 1px dashed var(--line); background: var(--panel);
}
.badge__sig {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; color: var(--tex-3);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.badge__name { font-size: 13px; font-weight: 650; letter-spacing: -.01em; color: var(--tex-2); }
.badge__cond { font-size: 11.5px; line-height: 1.5; color: var(--tex-3); }
.badge__rar {
  margin-top: auto; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tex-3);
}
.badge__lock {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 8px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tex-3);
}
.badge.is-on {
  border: 1px solid rgba(201, 242, 77, .45);
  background: linear-gradient(160deg, rgba(201, 242, 77, .09), rgba(201, 242, 77, 0) 62%), var(--panel);
}
.badge.is-on .badge__sig { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.badge.is-on .badge__name { color: var(--tex); }
.badge.is-on .badge__lock { display: none; }
.badge[data-rar="thuong"].is-on .badge__rar { color: var(--lime); }
.badge[data-rar="hiem"].is-on .badge__rar { color: var(--sky); }
.badge[data-rar="su-thi"].is-on .badge__rar { color: var(--coral); }

.rankbox { border: 1px solid var(--line); background: var(--panel); }
.rankbox__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tex-3);
}
.rankbox__head b { color: var(--lime); font-weight: 700; }
.ranks { padding: 4px 16px; }
.rank {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px;
  align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.rank:last-child { border-bottom: 0; }
.rank__idx { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--tex-3); }
.rank__body b { display: block; font-size: 13.5px; font-weight: 650; color: var(--tex-2); }
.rank__body small { display: block; margin-top: 1px; font-size: 11px; color: var(--tex-3); }
.rank__now {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--lime); opacity: 0; visibility: hidden;
}
.rank.is-now .rank__idx, .rank.is-now .rank__body b { color: var(--lime); }
.rank.is-now .rank__now { opacity: 1; visibility: visible; }
.rankbox__note { padding: 12px 16px 14px; border-top: 1px solid var(--line-2); font-size: 11.5px; line-height: 1.6; color: var(--tex-3); }

.step-check {
  margin-top: 12px; min-height: 30px; padding: 0 10px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--tex-2);
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer;
}
.step-check:hover { border-color: var(--lime); color: var(--lime); }
.step-check small { font-size: 8.5px; letter-spacing: .1em; color: var(--tex-3); }
.step-check.is-done { border-color: rgba(201, 242, 77, .45); color: var(--lime); }
.step-check.is-done small { color: var(--lime); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 16px); padding: 11px 18px;
  border: 1px solid rgba(201, 242, 77, .5); background: #0b120f; color: var(--lime);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 18. Chân trang ---------- */
.footer {
  margin-top: 0; padding: 50px 0 26px;
  background: #050806; border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 30px; }
.footer__about { margin-top: 12px; max-width: 38ch; font-size: 12.5px; line-height: 1.7; color: var(--tex-3); }
.footer h3 {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tex-3);
  margin-bottom: 12px;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--tex-2); }
.footer a:hover { color: var(--lime); }
.footer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer__tags span {
  padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 2px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--tex-3);
}
.footer__18 { border-color: rgba(255, 122, 82, .35); color: var(--coral); }
.footer__wm {
  margin-top: 34px; font-size: clamp(40px, 8.4vw, 96px); line-height: .92;
  font-weight: 800; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 242, 77, .18);
  user-select: none;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--tex-3);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 19. Tiện ích ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 50;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px;
  background: rgba(10, 15, 12, .92); color: var(--lime);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, border-color .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--lime); }
.to-top svg { width: 17px; height: 17px; }

.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 1px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(5, 8, 6, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobilebar .btn { flex: 1; height: 42px; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

.no-scroll { overflow: hidden; }

/* ---------- 19b. Lớp giao diện game: khung HUD, panel cắt góc, thẻ cấp độ ---------- */
:root {
  --cut: 10px;
  --cut-sm: 7px;
  --tick: rgba(201, 242, 77, .5);
  --glow-lime: 0 0 0 1px rgba(201, 242, 77, .28), 0 20px 46px -24px rgba(201, 242, 77, .55);
}

/* nền sân đấu: dải quét mảnh + hai quầng sáng cố định theo trang */
body {
  background-color: #070b09;
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px),
    radial-gradient(1200px 640px at 6% -12%, rgba(201, 242, 77, .1), transparent 62%),
    radial-gradient(900px 560px at 98% 2%, rgba(123, 211, 255, .05), transparent 60%);
}

/* thanh cuộn kiểu bảng điều khiển */
html { scrollbar-color: rgba(201, 242, 77, .4) #070b09; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070b09; }
::-webkit-scrollbar-thumb { background: #26362b; border: 2px solid #070b09; }
::-webkit-scrollbar-thumb:hover { background: var(--lime-2); }

/* nút: cắt góc, bevel trên, quét sáng khi rê */
.btn {
  position: relative; overflow: hidden;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.btn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 58%);
}
.btn--lime {
  background: linear-gradient(180deg, #ddff74 0%, #b8e33c 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.btn--lime::before { background: linear-gradient(180deg, rgba(255, 255, 255, .6), transparent 60%); }
.btn--lime:hover { background: linear-gradient(180deg, #e6ff8f 0%, #c4ef4b 100%); }
.btn--ghost {
  background: linear-gradient(180deg, rgba(201, 242, 77, .07), rgba(201, 242, 77, .015));
  box-shadow: inset 0 0 0 1px rgba(201, 242, 77, .14);
}
.btn--ghost:hover { background: rgba(201, 242, 77, .1); box-shadow: inset 0 0 0 1px rgba(201, 242, 77, .32); }
.btn--quiet { clip-path: none; overflow: visible; }
.btn--quiet::before, .btn--quiet::after { display: none; }
.btn::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); pointer-events: none; transition: left .5s ease;
}
.btn:hover::after { left: 140%; }
.btn--ghost::after { background: linear-gradient(90deg, transparent, rgba(201, 242, 77, .2), transparent); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #0a0f0c, inset 0 0 0 3px var(--lime); }
.btn--ghost:focus-visible { box-shadow: inset 0 0 0 2px var(--lime); }

/* thẻ chế độ: góc ngoặc HUD, dải độ hiếm trên đỉnh, khung icon */
.tile {
  --tick: rgba(201, 242, 77, .55);
  background-image:
    linear-gradient(90deg, var(--tick), var(--tick)),
    linear-gradient(180deg, var(--tick), var(--tick)),
    linear-gradient(90deg, var(--tick), var(--tick)),
    linear-gradient(180deg, var(--tick), var(--tick)),
    linear-gradient(180deg, rgba(201, 242, 77, .05), rgba(201, 242, 77, 0) 46%),
    linear-gradient(165deg, #111914 0%, #0b110e 100%);
  background-repeat: no-repeat;
  background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px, auto, auto;
  background-position: left top, left top, right bottom, right bottom, center, center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tile[data-level="tb"] { --tick: rgba(123, 211, 255, .5); }
.tile[data-level="kho"] { --tick: rgba(255, 122, 82, .5); }
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; width: 84px; height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(201, 242, 77, 0));
  box-shadow: 0 0 10px rgba(201, 242, 77, .55);
}
.tile[data-level="tb"]::before { background: linear-gradient(90deg, var(--sky), rgba(123, 211, 255, 0)); box-shadow: 0 0 10px rgba(123, 211, 255, .5); }
.tile[data-level="kho"]::before { background: linear-gradient(90deg, var(--coral), rgba(255, 122, 82, 0)); box-shadow: 0 0 10px rgba(255, 122, 82, .5); }
.tile__idx {
  padding: 2px 7px; border: 1px solid rgba(214, 255, 231, .16);
  background: rgba(5, 8, 6, .55); color: var(--tex-2);
}
.tile__icon {
  width: 36px; height: 36px; padding: 4px;
  border: 1px solid rgba(201, 242, 77, .28);
  background: rgba(201, 242, 77, .07);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.tile:hover { box-shadow: var(--glow-lime), inset 0 1px 0 rgba(255, 255, 255, .09); }
.tile::after { box-shadow: 0 0 12px rgba(201, 242, 77, .65); }
.tile__go { transition: transform .18s ease, filter .18s ease; }
.tile:hover .tile__go { transform: translateX(3px); filter: drop-shadow(0 0 6px rgba(201, 242, 77, .7)); }

/* panel dạng khung HUD: cắt hai góc đối nhau */
.modeboard, .picker, .filterbar, .feature, .band, .side__box, .factbox,
.playercard, .rankbox, .stack, .channel, .kv div, .badge, .code, .toast {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.kv div, .badge { --cut: 8px; }
.code { --cut: 6px; }
.toast { --cut: 8px; }

.modeboard { background: linear-gradient(180deg, rgba(201, 242, 77, .055), rgba(201, 242, 77, 0) 42%), rgba(9, 14, 11, .92); }
.modeboard__head { background: rgba(201, 242, 77, .04); border-bottom-color: rgba(201, 242, 77, .22); }
.mode { position: relative; }
.mode::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--lime); transform: scaleY(0); transform-origin: top;
  transition: transform .18s ease; box-shadow: 0 0 10px rgba(201, 242, 77, .65);
}
.mode:hover::before { transform: scaleY(1); }
.mode__idx {
  display: inline-grid; place-items: center; width: 24px; height: 20px;
  border: 1px solid rgba(201, 242, 77, .28); background: rgba(201, 242, 77, .06);
  color: var(--lime);
}

/* hero: sàn lưới phối cảnh + quầng sáng */
.hero {
  background-image:
    radial-gradient(760px 420px at 82% 0%, rgba(201, 242, 77, .16), transparent 62%),
    radial-gradient(520px 320px at 6% 92%, rgba(123, 211, 255, .07), transparent 70%),
    linear-gradient(180deg, #070c09 0%, #0b120e 100%);
}
.hero::before {
  background-image:
    linear-gradient(to right, rgba(214, 255, 231, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 255, 231, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 34% 18%, #000 20%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -14%; width: 150%; height: 62%;
  transform: translateX(-50%) perspective(520px) rotateX(66deg);
  transform-origin: center bottom; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 242, 77, .22) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(201, 242, 77, .22) 0 1px, transparent 1px 64px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 96%);
  opacity: .55;
}
.hero h1 { text-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hero h1 em { text-shadow: 0 0 26px rgba(201, 242, 77, .4); }
.statline { border: 1px solid var(--line); background: rgba(5, 8, 6, .5); }
.stat { padding: 14px 14px 14px; }
.stat b { text-shadow: 0 0 18px rgba(201, 242, 77, .35); }

/* đầu mục: thanh năng lượng + chip số thứ tự */
.sec-head { position: relative; padding-top: 16px; border-top: 1px solid var(--line-2); }
.sec-head::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 72px; height: 2px;
  background: var(--lime); box-shadow: 0 0 14px rgba(201, 242, 77, .7);
}
.sec-head__idx {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  background: var(--lime); color: var(--ink); font-weight: 700;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.rule { background: linear-gradient(90deg, var(--line), rgba(214, 255, 231, .02)); }
.link-arrow:hover { text-shadow: 0 0 12px rgba(201, 242, 77, .55); }

/* HUD: cấp dạng chip, thanh XP sọc phát sáng */
.hud { background: linear-gradient(90deg, rgba(201, 242, 77, .08), rgba(201, 242, 77, 0) 44%), #050806; }
.hud b.hud__lv-num {
  display: inline-grid; place-items: center; min-width: 28px; height: 21px; padding: 0 5px;
  background: var(--lime); color: var(--ink); font-size: 11.5px; font-weight: 800;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.meter { height: 7px; background: rgba(214, 255, 231, .08); box-shadow: inset 0 0 0 1px rgba(214, 255, 231, .08); }
.meter > i {
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #d7ff6a, #b3dd33);
  box-shadow: 0 0 10px rgba(201, 242, 77, .55);
}
.meter--xp { height: 10px; }
.hud__cta { padding: 0 9px; border: 1px solid rgba(201, 242, 77, .32); background: rgba(201, 242, 77, .06); }
.hud__cta:hover { background: rgba(201, 242, 77, .14); box-shadow: 0 0 14px rgba(201, 242, 77, .2); }
.masthead { box-shadow: 0 1px 0 rgba(201, 242, 77, .22), 0 14px 34px rgba(0, 0, 0, .45); }
.nav a[aria-current="page"] { text-shadow: 0 0 14px rgba(201, 242, 77, .5); }

/* thẻ bài viết, ưu đãi, kênh liên hệ: vạch năng lượng + hover phát sáng */
.post, .offer, .channel { position: relative; }
.post::before, .offer::before, .channel::before {
  content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
}
.post:hover, .offer:hover {
  box-shadow: 0 0 0 1px rgba(201, 242, 77, .22), 0 18px 38px -26px rgba(201, 242, 77, .45);
}

/* dữ liệu, lộ trình, biểu mẫu */
.matrix thead th { background: rgba(201, 242, 77, .05); }
.matrix tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--lime); }
.trail__num {
  display: inline-grid; place-items: center; width: 32px; height: 24px;
  border: 1px solid rgba(201, 242, 77, .4); background: rgba(201, 242, 77, .08);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.queue__idx { color: var(--lime); }
.queue__row:hover .queue__title { text-shadow: 0 0 12px rgba(201, 242, 77, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 0 0 0 1px rgba(201, 242, 77, .5), 0 0 22px -6px rgba(201, 242, 77, .45);
}
.seg button[aria-pressed="true"] { box-shadow: 0 0 14px -4px rgba(201, 242, 77, .85); }

/* phần chơi: nhiệm vụ, hồ sơ, huy hiệu, cấp bậc */
.quest__idx {
  display: inline-grid; place-items: center; width: 26px; height: 24px;
  border: 1px solid rgba(201, 242, 77, .3); background: rgba(201, 242, 77, .06);
}
.quest.is-done .quest__idx { border-color: rgba(201, 242, 77, .45); background: rgba(201, 242, 77, .12); }
.playercard__mark { box-shadow: 0 0 22px rgba(201, 242, 77, .35); }
.streak__dots i.is-on { box-shadow: 0 0 10px rgba(201, 242, 77, .6); }
.badge.is-on { box-shadow: inset 0 0 0 1px rgba(201, 242, 77, .35), inset 0 0 28px rgba(201, 242, 77, .1), 0 0 26px -12px rgba(201, 242, 77, .5); }
.badge.is-on .badge__sig { box-shadow: 0 0 18px rgba(201, 242, 77, .45); }
.rank.is-now { background: rgba(201, 242, 77, .05); box-shadow: inset 2px 0 0 var(--lime); }
.rank.is-now .rank__now::before { content: "\25CF  "; font-size: 7px; vertical-align: 1px; }

/* trang trong: lưới chéo mảnh */
.pagehead {
  background-image:
    repeating-linear-gradient(135deg, rgba(214, 255, 231, .028) 0 1px, transparent 1px 14px),
    linear-gradient(120deg, rgba(201, 242, 77, .07), transparent 46%),
    linear-gradient(180deg, #070c09, #0a0f0c);
}
.pagehead h1 { text-shadow: 0 20px 50px rgba(0, 0, 0, .5); }

/* chân trang: lưới sân + đường sáng trên */
.footer {
  position: relative;
  background-color: #050806;
  background-image:
    linear-gradient(180deg, rgba(201, 242, 77, .05), transparent 34%),
    repeating-linear-gradient(90deg, rgba(214, 255, 231, .03) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(214, 255, 231, .03) 0 1px, transparent 1px 72px);
}
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 242, 77, .6), transparent);
}
.footer__wm { text-shadow: 0 0 60px rgba(201, 242, 77, .08); }

/* menu, thanh đáy, nút lên đầu */
.menu {
  background-color: #050806;
  background-image:
    repeating-linear-gradient(0deg, rgba(214, 255, 231, .03) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(214, 255, 231, .03) 0 1px, transparent 1px 56px);
}
.mobilebar { box-shadow: 0 -1px 0 rgba(201, 242, 77, .3); }
.toast { font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 24px -8px rgba(201, 242, 77, .5); }
.toast::before { content: "\25B8 "; }

.hero .eyebrow { text-shadow: 0 0 16px rgba(201, 242, 77, .3); }

@media (prefers-reduced-motion: reduce) {
  .btn, .tile, .hero::after { animation: none; transition: none; }
  .btn::after { transition: none; }
}

/* ---------- 20. Đáp ứng ---------- */
@media (max-width: 1080px) {
  .tilegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav, .masthead__actions .btn { display: none; }
  .burger { display: inline-block; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 40px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .side { position: static; }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .picker__form { border-right: 0; border-bottom: 1px solid var(--line); }
  .trail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trail__step:nth-child(2n) { border-right: 0; }
  .offer { grid-template-columns: 140px minmax(0, 1fr); }
  .offer__side { grid-column: 1 / -1; justify-content: space-between; }
  .channels { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .game { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .sec { padding: 44px 0; }
  .sec--tight { padding: 30px 0; }
  .topbar .container { height: 30px; }
  .topbar__set--right { display: none; }
  .masthead__inner { height: 58px; gap: 14px; }
  .brand__mark { width: 27px; height: 27px; font-size: 11.5px; }
  .brand__word { font-size: 15.5px; letter-spacing: .14em; }
  .brand__sub { display: none; }
  .hero__inner { padding-block: 30px 34px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 38px); }
  .hero__lead { font-size: 14.5px; }
  .statline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 14px 12px 0 0; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n + 3) { margin-top: 14px; }
  .tilegrid, .tilegrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { min-height: 176px; padding: 14px 14px 13px; }
  .tile__name { font-size: 14.5px; }
  .tile__desc { font-size: 12px; }
  .trail { grid-template-columns: minmax(0, 1fr); }
  .trail__step { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 18px 0 18px; }
  .trail__step:last-child { border-bottom: 0; }
  .offer { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .offer__side { justify-content: flex-start; flex-wrap: wrap; }
  .offer__value { font-size: 22px; }
  .band { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
  .footer { padding-bottom: 88px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__wm { margin-top: 26px; }
  .mobilebar { display: flex; }
  .to-top { bottom: 76px; right: 14px; }
  .matrix, .prose table { min-width: 540px; }
  .form__grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .pagehead { padding: 24px 0 20px; }
  html { scroll-padding-top: 104px; }
  .hud__inner { gap: 12px; height: 30px; font-size: 9px; }
  .hud__set--points, .hud__xp { display: none; }
  .hud__set { padding-left: 12px; }
  .hud__cta { display: inline-flex; align-items: center; min-height: 30px; padding-left: 12px; }
  .hud__cta-long { display: none; }
  .hud__cta-short { display: inline; }
  .meter--hud { width: 54px; }
  .quest { grid-template-columns: 24px minmax(0, 1fr); gap: 10px 12px; padding: 16px 0; }
  .quest__reward { grid-column: 2; text-align: left; }
  .quest__act { grid-column: 2; justify-self: start; min-height: 44px; padding-inline: 14px; }
  .step-check { min-height: 44px; padding-inline: 14px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge { min-height: 142px; }
  .toast { left: 16px; right: 16px; bottom: 84px; transform: translateY(14px); text-align: center; }
  .toast.is-on { transform: none; }
}

@media (max-width: 720px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__side { border-left: 0; border-top: 1px solid var(--line); }
  .filterbar__key { width: 100%; }
  .queue__row { grid-template-columns: 34px minmax(0, 1fr); }
  .queue__side { grid-column: 2; text-align: left; }
  .stack__row { grid-template-columns: 20px minmax(0, 1fr); }
  .stack__value { grid-column: 2; }
}

@media (max-width: 420px) {
  .tilegrid, .tilegrid--3 { grid-template-columns: minmax(0, 1fr); }
  .statline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg button { padding: 0 10px; font-size: 12px; }
}

@media (max-width: 340px) {
  .hud__set--streak { display: none; }
}

/* ---------- Hiệu ứng nút khối hero trang chủ ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__cta .btn {
    animation: hud-in .5s cubic-bezier(.2, .7, .3, 1) backwards;
  }
  .hero__cta .btn:nth-child(2) { animation-delay: .18s; }

  @keyframes hud-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }

  /* nút chính: dải sáng quét qua nền lime */
  .hero__cta .btn--lime {
    background-image:
      linear-gradient(105deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 66%),
      linear-gradient(180deg, #ddff74 0%, #b8e33c 100%);
    background-size: 300% 100%, 100% 100%;
    background-position: 170% 0, 0 0;
    background-repeat: no-repeat;
    animation: hud-in .5s .06s cubic-bezier(.2, .7, .3, 1) backwards, hud-sweep 3s .8s ease-in-out infinite, hud-beat 2.6s .9s ease-in-out infinite;
  }
  .hero__cta .btn--lime:hover {
    background-image:
      linear-gradient(105deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, .62) 50%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #e6ff8f 0%, #c4ef4b 100%);
  }

  @keyframes hud-sweep {
    0%, 30% { background-position: 190% 0, 0 0; }
    72%, 100% { background-position: -110% 0, 0 0; }
  }

  /* nhịp HUD: phồng nhẹ và viền trong bừng sáng */
  @keyframes hud-beat {
    0%, 100% {
      scale: 1;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 -2px 0 rgba(0, 0, 0, .2);
    }
    50% {
      scale: 1.03;
      box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .2);
    }
  }

  /* nút phụ: khung phát sáng nhịp nhàng */
  .hero__cta .btn--ghost {
    animation: hud-in .5s .18s cubic-bezier(.2, .7, .3, 1) backwards, hud-glow 3.6s 1.4s ease-in-out infinite;
  }

  @keyframes hud-glow {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(201, 242, 77, .14); }
    50% { box-shadow: inset 0 0 0 1px rgba(201, 242, 77, .42), 0 0 20px -6px rgba(201, 242, 77, .35); }
  }
}
