:root {
  /* Tông "ca đêm treo farm": nền xanh đêm, ánh lửa cam, viền băng */
  --bg: #0c1626;
  --bg-2: #0a1220;
  --surface: #14223a;
  --surface-2: #1a2b48;
  --ink: #eaf0fa;
  --muted: #98a7c2;
  --line: #243a5e;
  --accent: #ffb547;
  --accent-ink: #1b1204;
  --ice: #8fd3ff;
  --ok: #43d69c;
  --warn: #ffc35c;
  --bad: #ff6b6b;
  --ticket: #2a2414;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --mono: 'Space Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 'Be Vietnam Pro', system-ui, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 24px 16px 64px; outline: none; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 12px; max-width: 68ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
main:focus, main:focus-visible { outline: none; }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1080px; width: 100%; margin: 0 auto; padding: 16px;
}
.brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand::before { content: ''; display: inline-block; width: 30px; height: 30px; margin-right: 8px; vertical-align: -8px; background: url(/icons/mark.svg) center / contain no-repeat; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a, nav button {
  font: inherit; font-size: 15px; color: var(--ink); text-decoration: none; background: none; border: 0;
  padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer;
}
nav a:hover, nav button:hover { background: var(--surface); }
nav a[aria-current="page"] { background: var(--surface); font-weight: 600; }

/* buttons & forms */
.btn {
  font: 600 15px/1 'Be Vietnam Pro', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; text-decoration: none; min-height: 44px;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { padding: 6px 10px; min-height: 32px; font-size: 13px; }
.btn.danger { color: var(--bad); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
label { display: block; font-weight: 500; font-size: 14px; margin: 0 0 6px; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 14px; }
.form { max-width: 400px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row > .field { flex: 1 1 160px; }
.error { color: var(--bad); font-size: 14px; min-height: 20px; }

/* shop */
.intro { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0 28px; }
.intro p { font-size: 18px; color: var(--muted); }
.steps { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 8px; align-items: baseline; color: var(--muted); font-size: 15px; }
.steps li::before { content: counter(s); font: 700 13px var(--mono); color: var(--accent); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { font: 500 14px 'Be Vietnam Pro'; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.product { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.product .game { font-size: 14px; color: var(--muted); }
.product .desc { color: var(--muted); font-size: 15px; white-space: pre-line; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.tags span { border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; }
.plans { display: grid; gap: 8px; margin-top: auto; }
.plan {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 10px 12px; cursor: pointer; text-align: left;
}
.plan:hover { border-color: var(--accent); }
.plan strong { font-variant-numeric: tabular-nums; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.qr { background: #fff; padding: 12px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.qr img { display: block; width: 100%; height: auto; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 16px 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.copy { display: inline-flex; align-items: center; gap: 8px; }
.code { font-family: var(--mono); letter-spacing: .04em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status.pending { color: var(--warn); }
.status.pending::before { animation: pulse 1.4s ease-in-out infinite; }
.status.paid { color: var(--ok); }
.status.expired, .status.cancelled, .status.revoked { color: var(--bad); }
@keyframes pulse { 50% { opacity: .25; } }

/* license ticket — the one memorable element */
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  background: var(--ticket); color: var(--ink); border-radius: var(--radius-lg); padding: 20px 24px 20px 28px;
  margin: 12px 0; border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket .key { font: 700 clamp(16px, 3.6vw, 24px)/1.2 var(--mono); letter-spacing: .06em; word-break: break-all; }
.ticket .meta { grid-column: 1 / -1; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.ticket .actions { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; margin-top: 8px; }
.ticket.reveal { animation: stamp .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes stamp { from { transform: scale(.94) rotate(-1.5deg); opacity: 0; } }

/* tables (account, admin) */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; text-align: right; }
.section { margin-top: 36px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { font: 500 15px 'Be Vietnam Pro'; color: var(--muted); background: none; border: 0; padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.stat b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
details.edit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 12px; }
details.edit summary { cursor: pointer; font-weight: 600; }

.foot { max-width: 1080px; width: 100%; margin: 0 auto; padding: 24px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; }

@media (max-width: 720px) {
  .checkout { grid-template-columns: 1fr; }
  .qr { max-width: 300px; }
  .ticket { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
.brand { white-space: nowrap; }
@media (max-width: 560px) {
  .top { flex-wrap: wrap; padding-bottom: 4px; }
  nav { width: calc(100% + 16px); margin-left: -8px; flex-wrap: nowrap; overflow-x: auto; gap: 0; }
  nav a, nav button { padding: 8px; font-size: 14px; white-space: nowrap; }
}
.plan span small { display: block; font-size: 13px; color: var(--muted); }
.product.coming { border-style: dashed; }
.notify { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.notify input { flex: 1 1 180px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.methods { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.methods legend { font-weight: 600; margin-bottom: 8px; }
.method { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; font-weight: 500; margin: 0; }
.method:has(input:checked) { border-color: var(--accent); }
.method small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.method input, .check input { width: auto; min-height: 0; }
.check { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin-right: 12px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
a.plan { text-decoration: none; }
.code.big { font-size: 20px; }
.warn { color: var(--warn); font-weight: 600; }
.instructions { white-space: pre-line; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin: 12px 0; max-width: 68ch; }
.planform { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.redeem { margin: 8px 0 20px; max-width: 560px; }

/* ---------- trang chủ mới ---------- */
.hero {
  --hero-bg: #13213a; --hero-ink: #eef2fb; --hero-muted: #a9b4cc;
  margin: -24px calc(50% - 50vw) 0; padding: 56px max(16px, calc(50vw - 540px)) 64px;
  background: var(--hero-bg); color: var(--hero-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); color: var(--hero-ink); }
.hero p { color: var(--hero-muted); font-size: 18px; }
.hero .trust { font-size: 14px; margin-top: 14px; }
.hero .row { gap: 12px; margin-top: 8px; }
.btn.big { padding: 15px 22px; font-size: 16px; }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: #3a4a6b; }
.hero-shot { margin: 0; }
.hero-shot img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #2c3a58; box-shadow: 0 24px 60px -20px #000a; }
.hero-shot figcaption { font-size: 13px; color: var(--hero-muted); margin-top: 10px; }
.hero-shot img { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.block { margin-top: 64px; }
.block h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 20px; }
.small { font-size: 13px; }

.product { padding: 0; overflow: hidden; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product h3 a { color: inherit; text-decoration: none; }
.cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #13213a; }
.cover-text { display: flex; align-items: flex-end; padding: 16px 20px; color: #eef2fb; font-weight: 800; font-size: 26px; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #13213a 0%, #2a3d66 100%); }
.cover-link { display: block; }
.trial-tag { margin: 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.row.between { justify-content: space-between; align-items: center; margin-top: auto; }
.from { color: var(--muted); }
.from b { color: var(--ink); }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: h; }
.how li { counter-increment: h; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.how li::before { content: counter(h); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.how p, .feats p { color: var(--muted); margin: 0; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.feats h3 { margin-bottom: 6px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* trang chi tiết */
.pd { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.main-shot { margin: 0; }
.main-shot img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; }
.main-shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; background: none; width: 96px; aspect-ratio: 16/10; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trialbox { background: var(--surface); border: 1px solid var(--ok); border-radius: var(--radius-lg); padding: 16px 18px; margin: 16px 0; }
.trialbox h3 { color: var(--ok); }
.featlist { padding-left: 20px; }
.featlist li { margin-bottom: 6px; }
.mediagrid { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mediagrid figure { margin: 0; width: 160px; }
.mediagrid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.mediagrid figcaption { font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .hero, .pd { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}
html, body { overflow-x: clip; }
.cover-link, .cover-link:hover { text-decoration: none; }
.pd .plan { background: var(--surface); border-color: var(--line); }
.pd-media h2, .pd-info h2 { margin-top: 28px; }
.trialbox .row + #trialkey p { margin-top: 12px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.gamecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.gamecard .video { border-radius: 0; }
.gamecard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gamecard-body p { color: var(--muted); margin: 0 0 6px; }
.gamecard-body .row { margin-top: auto; }
.intro { white-space: pre-line; margin-top: 14px; }
.pd-media h2.first { margin-top: 0; }

/* ================= giao diện tối + demo ================= */
body { background: var(--bg); }
.top { position: relative; z-index: 2; }
a { color: var(--ice); }
.btn.primary { color: var(--accent-ink); font-weight: 700; box-shadow: 0 6px 24px -8px #ffb54788; }
.btn.primary:hover { filter: brightness(1.07); }
input, textarea, select { background: var(--bg-2); }
.plan { background: var(--surface-2); }
.plan:hover { border-color: var(--accent); }
.chip { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.brand::before { filter: drop-shadow(0 0 6px #ffb54766); }
.ticket { color: var(--ink); border-color: #4a3d1c; }
nav a:hover, nav button:hover, nav a[aria-current="page"] { background: var(--surface-2); }
.steps li::before { color: var(--accent); }
.qr { background: #fff; }

.hero {
  --hero-bg: #0a1220; --hero-ink: #f2f6fd; --hero-muted: #b3c0d8;
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -88px; padding-top: 140px; padding-bottom: 90px;
  background: #0a1220 url(/img/scene-frost.svg) center 70% / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0a1220f2 0%, #0a1220cc 38%, #0a122066 70%, #0a122099 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -0.03em; text-shadow: 0 2px 30px #000a; }
.hero h1 span { color: var(--accent); }
.btn.ghost { color: var(--hero-ink); border-color: #ffffff40; background: #ffffff0d; backdrop-filter: blur(4px); }

/* bảng demo */
.demo { background: #0b1424ee; border: 1px solid #2b4470; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -30px #000, 0 0 0 1px #ffffff08 inset; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #101d33; font-size: 13px; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4268; }
.demo-bar i:first-child { background: #ff6b6b; } .demo-bar i:nth-child(2) { background: #ffc35c; } .demo-bar i:nth-child(3) { background: #43d69c; }
.demo-bar span { margin-left: 8px; color: var(--ink); font-weight: 600; }
.demo-bar em { margin-left: auto; font-style: normal; font-size: 11px; border: 1px solid #ffffff30; border-radius: 4px; padding: 1px 6px; }
.demo-body { display: grid; grid-template-columns: 1fr 190px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.tile { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0006 0%, transparent 35%, transparent 55%, #000c 100%); }
.tile-name { position: absolute; top: 6px; left: 8px; z-index: 2; font-size: 12px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.tile-name .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 2s infinite; }
.ticker { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 2; height: 20px; overflow: hidden; font-size: 12px; }
.ticker div { animation: tick 9s infinite; animation-delay: var(--d); }
.ticker p { margin: 0; height: 20px; line-height: 20px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes tick { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-20px); } 66%, 94% { transform: translateY(-40px); } 100% { transform: translateY(-60px); } }
.tap { position: absolute; z-index: 1; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: tap 3s infinite; animation-delay: var(--d); }
.tap.t1 { left: 72%; top: 62%; }
.tap.t2 { left: 30%; top: 44%; animation-delay: calc(var(--d) + 1.5s); }
@keyframes tap { 0% { transform: scale(.3); opacity: 0; } 10% { opacity: 1; } 40% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
.demo-log { border-left: 1px solid #22365a; padding: 8px 10px; height: 100%; overflow: hidden; position: relative; font: 11px/1.55 var(--mono); color: #a9b9d6; }
.demo-log::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(#0b1424, transparent); }
.demo-log div { animation: logscroll 16s linear infinite; }
.demo-log p { margin: 0 0 6px; }
.demo-log p::before { content: '› '; color: var(--accent); }
@keyframes logscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ảnh bìa minh hoạ */
.cover-scene { background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 16px 20px; }
.cover-scene::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #000b 100%); }
.cover-scene span { position: relative; color: #fff; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-shadow: 0 2px 12px #000; }
.product { background: var(--surface); transition: transform .2s, border-color .2s; }
.product:hover { transform: translateY(-3px); border-color: #3a5788; }
.product.coming { border-style: solid; }
.cover-text { display: none; }

/* biểu tượng tính năng */
.feats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.ico { width: 34px; height: 34px; color: var(--accent); background: #ffb5471a; border-radius: 10px; padding: 7px; margin-bottom: 10px; }
.how li::before { background: var(--accent); color: var(--accent-ink); }
.gamecard { background: var(--surface); }
.shot-block .hero-shot img { border-color: var(--line); }
.faq details { background: var(--surface); }
.faq details[open] summary { color: var(--accent); }
.block h2 { letter-spacing: -0.02em; }

@media (max-width: 860px) {
  .hero { padding-top: 110px; background-position: 60% 70%; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-log { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker div, .tap, .demo-log div, .tile-name .dot { animation: none !important; }
  .tap { display: none; }
}
.hero .demo p { font-size: inherit; margin: 0; }
.hero .demo .ticker p { color: #fff; }
.hero .demo .demo-log p { color: #a9b9d6; margin-bottom: 6px; }
.demo-log { min-height: 0; }
.demo-log > div { position: absolute; left: 10px; right: 8px; top: 8px; }
.demo-body { align-items: stretch; }
.demo-bar em { white-space: nowrap; } .demo-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= bản 3: nền sáng xen tối, theo cách trình bày của các trang bot lớn ================= */
:root {
  --bg: #f3f6fb; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #f6f8fc;
  --ink: #0f1b2e; --muted: #5a6a84; --line: #e0e6f0;
  --accent: #ffad33; --accent-ink: #1b1204; --navy: #0b1526; --navy-2: #13213a;
  --ok: #12a46b; --warn: #c27c0e; --bad: #d64545; --ticket: #fff6e3;
  color-scheme: light;
}
body { background: var(--bg); color: var(--ink); }
a { color: #1f6fd1; }
input, textarea, select { background: #fff; }
.plan { background: var(--surface-2); }
.ticket { border-color: #f1d9a8; }
.chip { background: #fff; }

/* thanh menu tối, dính trên cùng */
.top { position: sticky; top: 0; z-index: 20; max-width: none; padding: 12px max(16px, calc(50vw - 560px)); background: #0b1526f2; backdrop-filter: blur(8px); border-bottom: 1px solid #ffffff14; }
.top .brand { color: #fff; }
nav { align-items: center; }
nav a, nav button { color: #d6deec; font-size: 14px; }
nav a:hover, nav button:hover, nav a[aria-current="page"] { background: #ffffff14; color: #fff; }
.nav-sep { width: 1px; height: 20px; background: #ffffff26; margin: 0 6px; }
nav .nav-cta { color: var(--accent-ink) !important; margin-left: 6px; }
nav .nav-cta:hover { background: var(--accent); filter: brightness(1.06); }
main { padding-top: 0; }

/* phần đầu */
.hero { margin-top: 0; padding-top: 72px; padding-bottom: 84px; }
.hero .badge { display: inline-block; font-size: 13px; font-weight: 600; color: #ffd18a; border: 1px solid #ffad3366; background: #ffad331a; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: 18px; max-width: 52ch; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: #cfd8e8; font-size: 14px; }
.hero-checks li, .ticks li { display: flex; gap: 8px; align-items: flex-start; }
.hero-checks svg, .ticks svg, .fit h3 svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 2px; }
.hero-checks svg { color: #5fe0a8; }
.hero::before { background: linear-gradient(90deg, #0a1220f5 0%, #0a1220d9 40%, #0a122080 72%, #0a1220b3 100%); }

/* dải số liệu */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px;
  margin: -42px auto 0; position: relative; z-index: 3; box-shadow: 0 18px 40px -24px #0b152655; max-width: 1000px; }
.facts div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.facts b.word { font-size: 22px; line-height: 1.36; padding-top: 4px; }
.facts span { font-size: 14px; color: var(--muted); }

.sec-head { max-width: 640px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
.block { margin-top: 88px; }

/* thẻ game */
.gamegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px #0b152680; }
.gcard-img { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 16px; background-size: cover; background-position: center; text-decoration: none; }
.gcard-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 35%, #000c); }
.gcard-img h3 { position: relative; color: #fff; font-size: 21px; margin: 0; text-shadow: 0 2px 10px #000; }
.pill { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.pill-live { background: #12a46b; color: #fff; }
.pill-soon { background: #ffffffe6; color: #0f1b2e; }
.gcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gname { font-weight: 700; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: #34445e; }
.gcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.gcard .notify { margin: 0; }

/* dải nền tối: so sánh + phù hợp/lưu ý */
.band { margin: 88px calc(50% - 50vw) 0; padding: 8px max(16px, calc(50vw - 540px)) 88px; background: var(--navy); color: #e8eef9; }
.band .block { margin-top: 72px; }
.band .sec-head p { color: #a9b6cc; }
.vs { background: var(--navy-2); border-color: #233759; }
.vs table { font-size: 15px; }
.vs th, .vs td { border-color: #233759; padding: 14px 18px; white-space: normal; }
.vs th { color: #a9b6cc; }
.vs td:first-child { font-weight: 600; color: #fff; }
.vs .muted { color: #8796b0; }
.vs .hl { color: #6ee7b0; font-weight: 600; }
.vs th.hl { color: var(--accent); }
.fitcare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.fit, .care { border-radius: 14px; padding: 20px 22px; }
.fit { background: #10392d; border: 1px solid #1f6b52; }
.care { background: #3a2c10; border: 1px solid #7a5a1d; }
.fit h3, .care h3 { display: flex; gap: 8px; align-items: center; font-size: 17px; }
.fit h3 { color: #6ee7b0; } .care h3 { color: #ffc766; }
.fit ul, .care ul { margin: 10px 0 0; padding-left: 20px; color: #dbe4f2; font-size: 15px; display: grid; gap: 6px; }

/* tính năng */
.feats > div { background: #fff; }
.ico { color: #c97a00; background: #ffad3324; }

/* bảng giá */
.pricetabs { border: 0; gap: 8px; margin-bottom: 22px; }
.pricetabs button { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 16px; margin: 0; }
.pricetabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pricegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.pcard h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0; }
.pcard .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.pcard .price small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.pcard .price s { font-size: 18px; }
.pcard .btn { margin-top: auto; width: 100%; }
.pcard.pop { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.03); box-shadow: 0 26px 50px -28px #0b1526; }
.pcard.pop h3, .pcard.pop .price small { color: #a9b6cc; }
.pcard.pop .ticks { color: #dbe4f2; }
.pcard.pop .ticks svg { color: #6ee7b0; }
.pop-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.shortplans { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.shortplans .chip { text-decoration: none; }
.plan.disabled { cursor: default; opacity: .8; }

/* hướng dẫn + ảnh thật */
.how li { background: #fff; }
.shot { margin-top: 28px; }
.shot img { border-color: var(--line) !important; box-shadow: 0 30px 60px -36px #0b152699; }
.shot figcaption { color: var(--muted) !important; }
.gamecard { background: #fff; }
.faq details { background: #fff; }
.faq details[open] summary { color: #b86f00; }

/* kêu gọi cuối trang + chân trang */
.cta-band { margin: 96px calc(50% - 50vw) 0; padding: 72px 16px; text-align: center; color: #fff;
  background: #0a1220 url(/img/scene-combo.svg) center / cover; position: relative; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: #0a1220c4; z-index: -1; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 20px; }
main { padding-bottom: 0; }
.foot { max-width: none; background: var(--navy); color: #a9b6cc; border: 0; padding: 48px max(16px, calc(50vw - 540px)) 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 28px; }
.foot h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.foot .brand { color: #fff; margin-bottom: 10px; display: inline-block; }
.foot button { display: block; background: none; border: 0; color: #a9b6cc; font: inherit; padding: 3px 0; cursor: pointer; }
.foot button:hover { color: #fff; }
.foot p { font-size: 14px; margin: 0; }
.foot span { display: block; padding: 3px 0; }
.foot-copy { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid #ffffff14; font-size: 13px !important; }

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fitcare, .foot-grid { grid-template-columns: 1fr; }
  .pcard.pop { transform: none; }
  nav > button:not(.nav-cta):not(#lang):not(#logout):not(.nav-install), .nav-sep { display: none; }
  .top { flex-wrap: nowrap; }
  nav { width: auto; margin: 0; overflow: visible; }
}
.notify[hidden], [hidden] { display: none !important; }
.demo-bar span { flex: 1; min-width: 0; }
section[id], .block[id] { scroll-margin-top: 84px; }
.from, .gcard-foot .btn { white-space: nowrap; }
.gcard-foot { flex-wrap: wrap; }
@media (max-width: 560px) { nav .nav-cta { display: none; } .top { padding-left: 16px; padding-right: 16px; } }

/* ================= chuẩn bị máy: so cấu hình, đề xuất giả lập ================= */
.tag-link { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #ffad331f; color: #8a5200; text-decoration: none; }
.tag-link:hover { background: #ffad3340; }
.setup { margin: 48px 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -30px #0b152666; scroll-margin-top: 80px; }
.setup-in { padding: 28px clamp(16px, 3vw, 32px); }
.setup h2 { margin: 0 0 6px; }
.pcform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 12px; margin-top: 18px; align-items: end; }
.pcform label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pcform select, .pcform input { width: 100%; }
.pcgpu { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; min-width: 0; }
.pcgpu b { font-weight: 500; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.setup .warn { background: #fff3dc; border: 1px solid #f1d9a8; padding: 10px 14px; border-radius: 10px; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-top: 14px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cmp td { padding: 10px; border-bottom: 1px solid var(--line); }
.cmp td:first-child { font-weight: 600; }
.st { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.st.ok { background: #12a46b1f; color: var(--ok); }
.st.no { background: #d645451f; color: var(--bad); }
.st.q { background: #5a6a841a; color: var(--muted); }
.capline { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #e7edf7; }
.capline b { color: var(--accent); font-size: 20px; }
.capline .muted { color: #aab6ca; }
.emus { display: grid; gap: 12px; align-content: start; }
.emu { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface-2); }
.emu.best { border-color: var(--accent); background: #fffaf0; box-shadow: 0 0 0 3px #ffad3326; }
.emu-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.emu-h h3 { margin: 0; font-size: 17px; }
.emu-h small { color: var(--muted); }
.emu-badge { flex-basis: 100%; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.emu.best .emu-badge { color: #a35f00; }
.emu p { margin: 6px 0 10px; font-size: 14px; }
.emu:not(.best) p { margin-bottom: 8px; }
.howto { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.howto summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.howto ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 14px; }
@media (max-width: 860px) {
  .setup-grid { grid-template-columns: 1fr; }
  .pcform { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcgpu { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pcform { grid-template-columns: 1fr 1fr; }
  .cmp table { font-size: 13px; }
  .cmp td, .cmp th { padding: 8px 6px; }
}
.fitplan { display: block; margin-top: 8px; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14px; }
.fitplan:hover { text-decoration: underline; }
.pcform label { min-width: 0; }
.cmp { min-width: 0; overflow-x: auto; }
@media (max-width: 520px) { .cmp th:nth-child(2) { white-space: normal; } .cmp small { display: block; } }
@media (max-width: 520px) {
  .cmp table { table-layout: fixed; }
  .cmp th, .cmp td { white-space: normal; word-break: break-word; }
  .cmp th:first-child { width: 31%; } .cmp th:nth-child(2) { width: 33%; } .cmp th:last-child { width: 30px; }
}

/* Ảnh mẫu bot: ảnh AI đề xuất */
.cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 12px; margin-bottom: 16px; }
.cand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.candimgs { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 8px 0; }
.candimgs figure { margin: 0; }
.candimgs img { max-width: 110px; max-height: 80px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.candimgs figcaption { font-size: 12px; color: var(--muted); }
.candimgs .shot img { max-width: none; max-height: none; width: 120px; display: block; image-rendering: auto; }
.shotwrap { position: relative; width: 120px; }
.shotwrap i { position: absolute; display: block; border: 2px solid #e5484d; box-sizing: border-box; min-width: 6px; min-height: 6px; }

/* ===== Niềm tin & bán hàng ===== */
/* liên hệ nhanh ở góc */
#fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab-btn { font: 600 15px 'Be Vietnam Pro', system-ui, sans-serif; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 28px -12px #0b1526aa; display: flex; align-items: center; gap: 8px; }
.fab-btn::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #1fae6f; box-shadow: 0 0 0 3px #1fae6f33; }
.fab-menu { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px -20px #0b152699; display: flex; flex-direction: column; min-width: 190px; }
.fab-menu a { padding: 10px 12px; border-radius: 9px; color: #0f1b2e; text-decoration: none; font-weight: 600; }
.fab-menu a:hover { background: #f1f4f9; }
/* băng rôn sự kiện */
#evbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 16px; background: var(--accent); color: var(--accent-ink); font-size: 15px; position: sticky; top: 0; z-index: 30; }
#evbar b { background: var(--accent-ink); color: var(--accent); padding: 2px 9px; border-radius: 6px; }
#evbar .evleft { font-variant-numeric: tabular-nums; }
#evbar time { font-weight: 700; }
#evbar .btn { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
/* tình trạng bot */
.botstatus { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; margin: 22px auto 0; max-width: 1000px; font-size: 14px; }
.botstatus:empty { display: none; }
.bs-title { font-weight: 700; }
.stx { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stx i { width: 9px; height: 9px; border-radius: 50%; background: #98a7c2; }
.stx.ok i { background: #1fae6f; box-shadow: 0 0 0 3px #1fae6f2e; } .stx.warn i { background: #e0a100; } .stx.bad i { background: #e5484d; }
/* đăng ký sớm */
.early { margin: 28px auto 0; max-width: 1000px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 18px 22px; border-radius: 16px; background: #fff7e8; border: 1px solid #ffd99a; }
.early p { margin: 0; font-weight: 600; color: #4a3200; }
.early form { flex: 1 1 320px; max-width: 460px; flex-wrap: nowrap; margin: 0; }
.early input { min-width: 0; }
.early-code { background: #fff7e8; border: 1px dashed #e0a100; padding: 10px 12px; border-radius: 10px; color: #4a3200; }
.code { font-family: var(--mono); letter-spacing: .5px; }
.refund-badge { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-weight: 600; }
.refund-badge span::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #1fae6f; color: #fff; font-size: 13px; }
/* demo chạy thử */
.ld { background: var(--navy, #0c1626); color: #e9eef7; border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px -36px #0b1526cc; }
.ld-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ld-brand { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ld-brand::before { content: ''; width: 22px; height: 22px; background: url(/icons/mark.svg) center / contain no-repeat; }
.ld-brand small { color: #8e9bb5; font-weight: 400; }
.ld-top em { font-style: normal; font-size: 12px; color: #8e9bb5; border: 1px solid #2a3b5f; border-radius: 999px; padding: 2px 9px; }
.ld-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.ld-ctl .btn { min-height: 36px; padding: 6px 12px; background: #172540; color: #e9eef7; border-color: #2a3b5f; }
.ld-ctl .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ld-ctl .btn:disabled { opacity: .4; cursor: not-allowed; }
.ld-sep { flex: 0 0 1px; height: 22px; background: #2a3b5f; margin: 0 4px; }
.ld-sum { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #24365a; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.ld-sum div { padding: 8px 14px; border-left: 1px solid #24365a; } .ld-sum div:first-child { border-left: 0; }
.ld-sum b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; } .ld-sum div:first-child b { color: var(--accent); }
.ld-sum span { font-size: 12.5px; color: #8e9bb5; }
.ld-main { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; }
.ld-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ld-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; background: #132038; border: 1px solid #24365a; border-radius: 12px; padding: 10px; }
.ld-scr { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; border: 3px solid #2a3b5f; background: #050a14; }
.ld-scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-stopped .ld-scr img { filter: grayscale(1) brightness(.45); }
.s-working .ld-scr, .s-idle .ld-scr { border-color: #43d39e; } .s-fixing .ld-scr { border-color: #f2c14e; }
.ld-ov { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.ld-ov.crash { background: #000d; color: #ff6f61; } .ld-ov.popup { background: #0008; color: #fff; }
.ld-ov.popup::before { content: ''; position: absolute; inset: 22% 10%; background: linear-gradient(135deg, #ff4f9a, #ffb547); border-radius: 8px; z-index: -1; }
.ld-ov.update { background: #0006; color: #fff; } .ld-ov.update::before { content: ''; position: absolute; width: 70%; height: 16%; border-radius: 8px; background: #2fa3ff; z-index: -1; }
.ld-tap { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid #fff; pointer-events: none; opacity: 0; }
.ld-tap.go { animation: ldtap .6s ease-out; }
@keyframes ldtap { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.ld-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ld-info h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 7px; color: #fff; }
.ld-info .dot { width: 8px; height: 8px; border-radius: 50%; background: #8e9bb5; }
.s-working .dot, .s-idle .dot { background: #43d39e; } .s-fixing .dot { background: #f2c14e; }
.ld-now { font-size: 12.5px; background: #0a1220; border-left: 3px solid #2a3b5f; border-radius: 6px; padding: 5px 8px; min-height: 30px; }
.s-working .ld-now { border-left-color: #43d39e; } .s-fixing .ld-now { border-left-color: #f2c14e; }
.ld-tasks { list-style: none; margin: 0; padding: 0; font-size: 12px; color: #b9c4da; display: grid; gap: 2px; }
.ld-tasks li { display: flex; justify-content: space-between; gap: 8px; } .ld-tasks span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-tasks b { color: #43d39e; font-variant-numeric: tabular-nums; }
.ld-feed { background: #132038; border: 1px solid #24365a; border-radius: 12px; padding: 12px; }
.ld-feed h4 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.ld-feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: #b9c4da; }
.ld-feed li { padding: 6px 8px; border-radius: 7px; border-left: 3px solid #2a3b5f; }
.ld-feed li.k-crash { border-left-color: #f2c14e; } .ld-feed li.k-popup { border-left-color: #8e9bb5; } .ld-feed li.k-update { border-left-color: #5cc8ff; }
.ld-feed li b { color: #fff; }
.ld-feed li.new { animation: ldflash 2s ease-out; }
@keyframes ldflash { 0% { background: #ffb54733; } 100% { background: transparent; } }
@media (max-width: 900px) { .ld-main { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ld-grid { grid-template-columns: 1fr; } .ld-card { grid-template-columns: 84px minmax(0, 1fr); } .early form { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .ld-tap, .ld-feed li.new { animation: none; } }
/* trang chính sách & nhật ký */
.doc { max-width: 760px; margin: 0 auto; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; } .doc li { margin-bottom: 6px; }
.stcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 18px 0 28px; }
.stcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.stcard h3 { margin: 0 0 6px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; display: grid; gap: 2px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.timeline time { font-size: 13px; color: var(--muted); }
.tl-kind { font-size: 13px; color: var(--muted); } .timeline h3 { margin: 2px 0 4px; }
.mycoupons { background: #fff7e8; border: 1px solid #ffd99a; border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.mycoupons h3 { margin: 0 0 6px; } .mycoupons p { margin: 4px 0; }
.refreq { font-size: 13px; max-width: 320px; }
.foot a { display: block; color: #a9b6cc; padding: 3px 0; text-decoration: none; } .foot a:hover { color: #fff; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  #evbar { font-size: 13px; padding: 6px 10px; gap: 4px 8px; flex-wrap: nowrap; }
  #evbar > span:not(.evleft) { display: none; }
  #evbar .btn { padding: 4px 10px; min-height: 0; }
  .fab-btn { padding: 10px 14px; font-size: 14px; }
}

/* ================= app cài được (PWA) ================= */
.nav-install { display: inline-flex; align-items: center; gap: 6px; color: var(--accent) !important; font-weight: 700; }
.nav-install svg { flex: none; }
#pwa-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45;
  width: min(460px, calc(100% - 32px)); display: flex; gap: 14px; align-items: flex-start;
  background: #0f1b2e; color: #eaf0fa; border: 1px solid #2a3f63; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 24px 50px -20px #0b1526cc; animation: pwaUp .35s ease-out;
}
#pwa-banner img { border-radius: 12px; flex: none; }
#pwa-banner b { font-size: 16px; }
#pwa-banner p { margin: 2px 0 10px; font-size: 14px; color: #b9c6dc; line-height: 1.45; }
.pwa-bbtn { display: flex; gap: 8px; flex-wrap: wrap; }
#pwa-banner .btn.ghost { background: transparent; color: #eaf0fa; border: 1px solid #3a5480; }
@keyframes pwaUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { #pwa-banner { animation: none; } }

#pwa-guide { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100% - 32px)); background: #fff; color: #0f1b2e; box-shadow: 0 30px 70px -20px #0b1526aa; }
#pwa-guide::backdrop { background: #0b1526aa; }
.pwa-guide { padding: 20px 22px; }
.pwa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pwa-head img { border-radius: 12px; }
.pwa-head h3 { margin: 0; font-size: 19px; }
.pwa-guide ol, .pwa-guide ul { padding-left: 20px; margin: 8px 0 12px; }
.pwa-guide li { margin: 8px 0; line-height: 1.5; }
.pwa-ic { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: #eef2f8; font-size: 13px; }
.pwa-link { display: flex; gap: 8px; margin: 10px 0 4px; }
.pwa-link input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.pwa-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

#netbar { position: sticky; top: 0; z-index: 60; background: #5a3b00; color: #ffe2a8; font-size: 14px; text-align: center; padding: 8px 16px; }

/* khi mở như app: chừa chỗ tai thỏ / thanh trạng thái, thanh tab dưới trên điện thoại */
html.standalone header.top { padding-top: max(16px, env(safe-area-inset-top)); }
#tabbar { display: none; }
@media (max-width: 760px) {
  html.standalone #tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #0b1526f2; backdrop-filter: blur(10px); border-top: 1px solid #22385c;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  #tabbar button { background: none; border: 0; color: #8fa1bf; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 11.5px 'Be Vietnam Pro', system-ui, sans-serif; padding: 4px 2px; cursor: pointer; }
  #tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  #tabbar button[aria-current="page"] { color: var(--accent); }
  html.standalone body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  html.standalone #fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
  html.standalone #fab .fab-btn { display: none; }
  html.standalone nav#nav > button[data-sec], html.standalone nav#nav .nav-sep { display: none; }
  #pwa-banner { bottom: 12px; }
}
@media (max-width: 420px) { .nav-install span, .nav-install { font-size: 13px; padding-left: 6px !important; padding-right: 6px !important; } }

/* ---------------- Góc game thủ ---------------- */
.nav-hub { color: var(--accent) !important; font-weight: 700; position: relative; }
.nav-hub::after { content: ''; position: absolute; top: 6px; right: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.nav-search { display: inline-flex; align-items: center; }
.nav-search svg, .hsearch svg, .htool-ic svg, .hsec h2 svg, .hspeed h3 svg, .hero-hub svg, .pal-in svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
@media (max-width: 520px) { .nav-hub { display: none !important; } }
.hero-hub { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px;
  background: #43d69c1f; border: 1px solid #43d69c66; color: #5fe3ad; font-weight: 600; font-size: 14px; text-decoration: none; }
.hero-hub:hover { background: #43d69c24; }

.hub-head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.hub-head .lead { max-width: 60ch; }
.small { font-size: 13px; }
.hsearch { display: inline-flex; align-items: center; gap: 10px; min-width: 240px; padding: 11px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font: inherit; cursor: pointer; }
.hsearch span { flex: 1; text-align: left; }
.hsearch kbd, .pal kbd { font: 600 11px var(--mono); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.hsearch:hover { border-color: var(--accent); color: var(--ink); }
.hgames { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.hgames a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.hgames a small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.hgames a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hgames a[aria-current="page"] small { color: var(--accent-ink); }

.htools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.htool { box-shadow: 0 1px 2px #0f1b2e0d; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; text-align: left; padding: 14px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.htool:hover { border-color: var(--accent); transform: translateY(-2px); }
.htool-ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #ffad3324; color: #b86a00; }
.htool-ic svg { width: 22px; height: 22px; }
.htool-txt b { display: block; font-size: 15px; }
.htool-txt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.htool-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.hbadge { font: 700 10.5px/1 'Be Vietnam Pro', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 4px 7px; border-radius: 6px;
  background: #43d69c1a; color: var(--ok); }
.hbadge.pro { background: #ffad3326; color: #9a5300; }
.hbadge.new { background: #d6454518; color: var(--bad); }

.hsec { margin-top: 44px; scroll-margin-top: 80px; }
.hsec h2 { display: flex; align-items: center; gap: 10px; }
.hsec h2 svg { width: 24px; height: 24px; color: #d98a0b; }
.hempty { padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

.hcodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hcode { background: var(--surface); box-shadow: 0 1px 2px #0f1b2e0d; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.hcode-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.hgame { font-size: 12px; font-weight: 700; color: #1f6fd1; }
.htag { font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.hcode-code { display: flex; align-items: center; gap: 8px; justify-content: space-between; background: var(--ticket); border: 1px dashed #e8a23a; border-radius: 10px; padding: 8px 8px 8px 12px; }
.hcode-code code { font: 700 17px var(--mono); color: #9a5300; word-break: break-all; }
.hcode-rw { margin: 0; font-size: 14px; }
.hcode-src { margin: 0; font-size: 12.5px; color: var(--muted); }
.hcode-act { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: auto; }
.hvote { display: inline-flex; gap: 4px; }
.hvote button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 5px 8px; font: 600 12px 'Be Vietnam Pro', system-ui, sans-serif; cursor: pointer; min-height: 32px; }
.hvote button:first-child:hover, .hvote button:first-child.on { color: var(--ok); border-color: var(--ok); }
.hvote button:last-child:hover, .hvote button:last-child.on { color: var(--bad); border-color: var(--bad); }
.hhow { margin-top: 12px; color: var(--muted); font-size: 14px; }
.hhow summary { cursor: pointer; color: var(--ink); font-weight: 600; }

.hvids { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.hvids + .hvids, .hcodes + .hvids { margin-top: 14px; }
.hvid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.hvid .video { margin: 0; border-radius: 0; }
.hvid-thumb { aspect-ratio: 16 / 9; width: 100%; border: 0; background: #000 center / cover no-repeat; position: relative; cursor: pointer; display: block; }
.hvid-thumb span { position: absolute; inset: 0; margin: auto; width: 58px; height: 40px; border-radius: 12px; background: #000000b8; color: #fff; display: grid; place-items: center; font-size: 18px; transition: background .15s; }
.hvid-thumb:hover span { background: #e33; }
.hvid-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hvid-body h3 { margin: 0; font-size: 15.5px; }
.hvid-body p { margin: 0; font-size: 14px; color: var(--ink); }
.hvid-body .hmeta { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 4px; }
.ldreal:empty { display: none; }
.ldreal { margin-bottom: 18px; }
.ldreal h3 { margin-bottom: 10px; }

.hspeed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; scroll-margin-top: 80px; }
.hspeed h3 { display: flex; gap: 8px; align-items: center; }
.hspeed fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.hspeed legend { font-weight: 600; margin-bottom: 8px; }
.hspeed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.hspeed-grid label, .hspeed-need label { display: flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; }
.hspeed-grid span { font: 700 13px var(--mono); color: #9a5300; min-width: 32px; }
.hspeed input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--ink); font: 600 16px 'Be Vietnam Pro', system-ui, sans-serif; padding: 6px 0; }
.hspeed input:focus { outline: none; }
.hspeed-grid label:focus-within, .hspeed-need label:focus-within { border-color: var(--accent); }
.hspeed-need { display: grid; grid-template-columns: repeat(3, minmax(0, 140px)); gap: 8px; }
.hspeed-need span { color: var(--muted); font-size: 13px; }
.hspeed-out { display: flex; gap: 24px; flex-wrap: wrap; margin: 16px 0 10px; }
.hspeed-out div { display: flex; flex-direction: column; }
.hspeed-out span { font-size: 13px; color: var(--muted); }
.hspeed-out b { font: 700 20px var(--mono); }
.hspeed-out .ok, .card .ok { color: var(--ok); }
.hspeed-out .bad, .card .bad, .bad { color: var(--bad); }

/* tìm nhanh */
#palette { padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); width: min(640px, calc(100vw - 32px)); margin: 10vh auto auto; }
#palette::backdrop { background: #050a14b0; backdrop-filter: blur(3px); }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-in input { flex: 1; background: transparent; border: 0; color: var(--ink); font: 500 17px 'Be Vietnam Pro', system-ui, sans-serif; outline: none; }
.pal-in input::-webkit-search-cancel-button { display: none; }
#palette ul { list-style: none; margin: 0; padding: 6px; max-height: min(60vh, 460px); overflow: auto; }
#palette li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
#palette li[aria-selected="true"], #palette li:hover { background: var(--surface-2); }
.pal-k { flex: none; width: 112px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-l { min-width: 0; display: flex; flex-direction: column; }
.pal-l small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-none { color: var(--muted); cursor: default !important; }
@media (max-width: 520px) { .pal-k { width: 76px; } #palette { margin-top: 12px; } .hsearch { min-width: 0; width: 100%; } .hspeed-need { grid-template-columns: repeat(3, 1fr); } }

/* quản trị */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card h4 { margin: 16px 0 8px; }
@media (max-width: 520px) {
  .htools { grid-template-columns: 1fr 1fr; gap: 8px; }
  .htool { grid-template-columns: 1fr; padding: 12px; gap: 8px; }
  .htool-ic { grid-row: auto; width: 36px; height: 36px; }
  .htool-txt small, .htool-badges { display: none; }
  .htool-txt b { font-size: 14px; line-height: 1.3; }
}
.card table input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--accent); }
/* menu nhiều mục: bớt "Cách hoạt động", "Hỏi đáp" (vẫn có ở chân trang và Ctrl K) khi màn hình chưa đủ rộng */
@media (max-width: 1380px) { nav > button[data-sec="how"], nav > button[data-sec="faq"] { display: none; } }

/* Đăng nhập bằng Google */
.google-login { max-width: 400px; margin: 18px 0 6px; }
.google-login .gbtn { min-height: 44px; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted, #8a97ad); font-size: .9em; margin: 14px 0 4px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }

/* Xem bot trên điện thoại */
.botpromo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.botpromo h2 { margin-top: 0; }
.botpromo .small, .small { font-size: .88em; }
.phonemock { margin: 0 auto; width: 230px; }
.pm-screen { border: 8px solid #050b15; border-radius: 28px; background: var(--bg); padding: 14px 10px; display: grid; gap: 8px; min-height: 330px; box-shadow: 0 10px 30px #0008; }
.phonemock figcaption { text-align: center; color: var(--muted); font-size: .8em; margin-top: 8px; }
.botgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.botcard { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.botcard.st-running { border-left-color: var(--ok); }
.botcard.st-idle { border-left-color: var(--ice); }
.botcard.st-break, .botcard.st-sleeping { border-left-color: var(--warn); }
.botcard.st-error { border-left-color: var(--bad); }
.bc-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bc-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bchip { font-size: .78em; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.st-running .bchip, .botpc.on .bp-head .bchip { color: var(--ok); }
.st-error .bchip, .botpc.off .bp-head .bchip { color: var(--bad); }
.bc-cur { margin: 4px 0; font-weight: 500; }
.bc-nums { display: flex; gap: 12px; font-size: .9em; color: var(--muted); margin: 4px 0 6px; flex-wrap: wrap; }
.bad { color: var(--bad); }
.bc-more h4 { margin: 10px 0 4px; font-size: .9em; color: var(--muted); }
.bc-tasks { width: 100%; font-size: .88em; border-collapse: collapse; }
.bc-tasks td { padding: 3px 4px; border-top: 1px solid var(--line); }
.bc-events { margin: 0; padding-left: 16px; font-size: .88em; }
.bc-logs { white-space: pre-wrap; word-break: break-word; font: 12px/1.45 var(--mono); background: var(--bg-2); padding: 8px; border-radius: 6px; max-height: 260px; overflow: auto; margin: 0; }
.botpc { margin: 18px 0; }
.bp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.bp-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.botpc.on .bp-head .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.botpc.off .botgrid { opacity: .6; }
.bothead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.botsteps { text-align: left; max-width: 520px; margin: 10px auto 0; }
@media (max-width: 720px) { .botpromo { grid-template-columns: 1fr; padding: 18px; } .botgrid { grid-template-columns: 1fr; } }
.botcard .btn.ghost, .bp-head .btn.ghost, #app .btn.ghost.small { color: var(--ink); border-color: var(--line); background: transparent; backdrop-filter: none; }

.hero-live{margin:14px 0 6px}
.live-dot{width:9px;height:9px;border-radius:50%;background:#ef4444;flex:none;box-shadow:0 0 0 0 rgba(239,68,68,.6);animation:livep 1.6s infinite}
@keyframes livep{70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}

.prerender{max-width:760px;margin:40px auto;padding:0 16px}.prerender h1{font-size:clamp(26px,4vw,40px);line-height:1.2;margin:0 0 12px}
