/* XMagic — giao diện "Glass Launcher" (2026-11). Dùng chung cho mọi trang PC + Android, EN + VI.
   Trang sinh ra từ tools/build.py — sửa nội dung ở tools/content hoặc build.py, không sửa tay HTML. */

:root {
  --bg: #150b20; --tint: 120, 40, 160;
  --glass: rgba(255,255,255,.065); --glass-2: rgba(255,255,255,.1); --glass-3: rgba(255,255,255,.16);
  --stroke: rgba(255,255,255,.12); --stroke-2: rgba(255,255,255,.22);
  --text: #fff; --mute: rgba(255,255,255,.7); --dim: rgba(255,255,255,.48);
  --accent: #ff8a1f; --accent-ink: #1e0d00; --ok: #4be39b; --zalo: #0068ff;
  --mc: var(--accent); --mc-dark: #1c0f28;
  --r-xl: 28px; --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  --blur: blur(22px) saturate(140%);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-height: 100vh; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; }
svg.i { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 15px; height: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* nền: ảnh làm mờ + phủ màu */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg img { position: absolute; inset: -80px; width: calc(100% + 160px); height: calc(100% + 160px); object-fit: cover; filter: blur(64px) saturate(1.35); opacity: .6; transition: opacity .8s ease; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 700px at 75% 0%, rgba(var(--tint), .3), transparent 60%), linear-gradient(180deg, rgba(10,4,16,.25), var(--bg) 82%); }
.glass { background: var(--glass); border: 1px solid var(--stroke); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* ===== khung ===== */
.shell { max-width: 1480px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 20px; align-items: start; }
.shell > main { min-width: 0; }

.side { position: sticky; top: 20px; height: calc(100vh - 40px); min-height: 600px; border-radius: var(--r-xl); padding: 18px 14px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; scrollbar-width: none; }
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; object-fit: contain; }
.logo em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; background: var(--ok); color: #05261a; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: var(--mute); font-weight: 500; transition: background .15s, color .15s; }
.nav a:hover { background: var(--glass); color: var(--text); }
.nav a.on { background: var(--glass-3); color: var(--text); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.nav a.on svg { color: var(--accent); }
.side h6 { padding: 0 14px 8px; font-size: 12px; font-weight: 600; color: var(--dim); }
.mini { display: flex; flex-direction: column; gap: 2px; }
.mini a { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 14px; border-radius: 12px; font-size: 14px; color: var(--mute); white-space: nowrap; }
.mini a:hover { background: var(--glass); color: var(--text); }
.mini a.on { background: var(--glass-2); color: var(--text); }
.mini img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.mini img.w { background: rgba(255,255,255,.92); padding: 2px; }
.mini small { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: rgba(75,227,155,.14); font-size: 10.5px; font-weight: 700; color: var(--ok); }
.trial { margin-top: auto; padding: 16px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid var(--stroke-2); }
.trial b { display: block; font-size: 15px; }
.trial p { margin: 4px 0 12px; font-size: 13px; color: var(--mute); }

/* nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: transform .15s, filter .15s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-pri { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px var(--accent); }
.btn-pri:hover { filter: brightness(1.08); }
.btn-glass { background: var(--glass-2); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-glass:hover { background: var(--glass-3); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background .15s; }
.icon-btn:hover { background: var(--glass-3); }

/* thanh trên */
.top { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px; margin-bottom: 20px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(0,0,0,.22); border: 1px solid var(--stroke); }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.seg a:hover, .seg button:hover { color: var(--text); }
.seg .on { background: var(--glass-3); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.seg svg.i { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); font-size: 12.5px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(75,227,155,.18); }
.grow { flex: 1; }

/* ===== hero ===== */
.row1 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
.hero { position: relative; min-height: 500px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--stroke); background: #0b0612; isolation: isolate; display: grid; }
.slide { position: relative; grid-area: 1 / 1; min-height: 500px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; pointer-events: none; }
.slide.on { visibility: visible; transition: opacity .7s ease; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); transition: transform 7s ease; }
.slide.on .scene { transform: scale(1); }
.slide .mascot { position: absolute; z-index: 1; right: 2%; bottom: -4%; height: 104%; width: auto; max-width: 52%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); transform: translateX(24px); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1) .15s, opacity .6s ease .15s; }
.slide.on .mascot { transform: none; opacity: 1; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--mc-dark) 22%, color-mix(in srgb, var(--mc-dark) 70%, transparent) 46%, transparent 72%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 42%); }
.slide .copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 40px 44px 96px; max-width: 580px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); font-size: 13px; font-weight: 600; }
.badge img { width: 24px; height: 24px; object-fit: contain; }
.hero h1, .hero .h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.tagline { font-size: 1.1rem; font-weight: 600; color: var(--mc); }
.desc { color: rgba(255,255,255,.8); max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--stroke); font-size: 12.5px; color: rgba(255,255,255,.88); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-ctl { position: absolute; z-index: 3; left: 44px; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 10px; }
.hero-ctl .count { margin-left: auto; font-weight: 700; font-size: 14px; }
.bars { display: flex; gap: 6px; }
.bars button { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; transition: width .3s; }
.bars button.on { width: 46px; }
.bars button.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill 7s linear forwards; }
.hero.paused .bars button.on::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero.single .slide { opacity: 1; visibility: visible; pointer-events: auto; }
.hero.single .slide .copy { padding-bottom: 44px; }

/* cột phụ */
.panel { border-radius: var(--r-xl); padding: 20px; display: flex; flex-direction: column; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel-h h2 { font-size: 19px; font-weight: 700; }
.panel-h a, .panel-h span { font-size: 13px; color: var(--mute); }
.panel-h a:hover { color: var(--text); }
.feed { list-style: none; padding: 0; display: flex; flex-direction: column; }
.feed li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stroke); }
.feed li:first-child { border-top: 0; }
.ver { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--glass-2); border: 1px solid var(--stroke); }
.feed li:first-child .ver { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.feed b { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed small { display: block; color: var(--dim); font-size: 12px; }
.stat { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.stat div { padding: 12px; border-radius: 16px; background: rgba(0,0,0,.2); border: 1px solid var(--stroke); }
.stat b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 12px; color: var(--mute); }
.toggles { display: flex; flex-direction: column; }
.tg { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--stroke); }
.tg:first-child { border-top: 0; }
.tg img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.tg b { display: block; font-size: 14px; font-weight: 600; }
.tg small { color: var(--dim); font-size: 12px; }
.sw { width: 40px; height: 23px; border-radius: 99px; background: var(--ok); position: relative; }
.sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 17px; height: 17px; border-radius: 50%; background: #05261a; }

/* ===== section ===== */
.sec { margin-top: 36px; }
.sec-h { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-h h2 { font-size: 24px; font-weight: 700; }
.sec-h p { color: var(--mute); font-size: 14px; margin-top: 2px; }
.sec-h .end { margin-left: auto; display: flex; gap: 8px; }

/* thẻ chế độ */
.cards { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; }
.card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--stroke); background: #0b0612; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; isolation: isolate; }
.card .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .75; transition: transform .5s ease; }
.card .mascot { position: absolute; z-index: 1; left: 50%; bottom: 24%; height: 74%; width: auto; max-width: 120%; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--mc-dark) 18%, color-mix(in srgb, var(--mc-dark) 60%, transparent) 42%, transparent 66%); }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -20px var(--mc); border-color: var(--mc); }
.card:hover .scene { transform: scale(1.06); }
.card:hover .mascot { transform: translateX(-50%) scale(1.05) translateY(-4px); }
.card .pill { position: absolute; z-index: 2; top: 12px; right: 12px; }
.card .body { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.card .ic { width: 34px; height: 34px; object-fit: contain; }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.15; }
.card p { font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.card.flat { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); }
.card.flat::after { display: none; }
.card.flat .big { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 46%; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }

/* bước cài */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.step { position: relative; border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: background .15s, transform .2s; }
.step:hover { background: var(--glass-2); transform: translateY(-3px); }
.step img { height: 60px; width: auto; object-fit: contain; object-position: left; border-radius: 10px; }
.step h3 { font-size: 16.5px; font-weight: 700; }
.step p { font-size: 13.5px; color: var(--mute); }
.step p b { color: var(--text); font-weight: 600; }
.step .play { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.hint-row { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-md); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.hint-row b { color: var(--text); }
.hint-row > span { flex: 1; min-width: 240px; }
.hint-row { flex-wrap: wrap; }
.emus { display: flex; gap: 8px; flex-wrap: wrap; }
.emu { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text); transition: background .15s; }
.emu:hover { background: var(--glass-2); }
.emu img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; }
.emu small { padding: 2px 7px; border-radius: 999px; background: rgba(75,227,155,.14); font-size: 10.5px; font-weight: 700; color: var(--ok); }

/* bảng giá */
.prices { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
.prices.n2 { --n: 2; max-width: 780px; }
.plan { border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan.hot { background: linear-gradient(165deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); border-color: var(--accent); box-shadow: 0 24px 50px -30px var(--accent); }
.plan .flag { position: absolute; top: -11px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.plan h3 { font-size: 17px; font-weight: 700; }
.plan .sub { font-size: 13.5px; color: var(--mute); margin-top: -6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.price span { font-size: 13.5px; color: var(--mute); }
.save { padding: 3px 9px; border-radius: 999px; background: rgba(75,227,155,.15); color: var(--ok); font-size: 12px; font-weight: 700; font-style: normal; }
.mods { display: flex; gap: 6px; flex-wrap: wrap; }
.mods img { width: 34px; height: 34px; object-fit: contain; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.08); }
.mods img.off { opacity: .25; filter: grayscale(1); }
.mcount { font-size: 13px; color: var(--mute); }
.plan .btn { margin-top: auto; }

/* nhật ký */
.log { border-radius: var(--r-xl); padding: 6px 22px; }
.log details { border-top: 1px solid var(--stroke); }
.log details:first-child { border-top: 0; }
.log summary { list-style: none; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; cursor: pointer; }
.log summary::-webkit-details-marker { display: none; }
.log summary b { font-size: 15px; font-weight: 600; }
.log summary small { display: block; color: var(--dim); font-size: 12.5px; }
.log summary .chev { transition: transform .2s; color: var(--dim); }
.log details[open] .chev { transform: rotate(180deg); }
.log ul { margin: 0 0 16px 70px; padding-left: 18px; color: var(--mute); font-size: 14.5px; display: grid; gap: 6px; }

/* liên hệ (Android) */
.contact { border-radius: var(--r-xl); padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.contact h3 { font-size: 19px; font-weight: 700; }
.contact p { color: var(--mute); margin-top: 4px; }
.contact .acts { margin: 0; }

.foot { margin: 40px 0 6px; padding: 18px 4px 0; border-top: 1px solid var(--stroke); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }

/* ===== trang chế độ ===== */
.mhero { position: relative; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--stroke); background: #0b0612; isolation: isolate; display: flex; }
.mhero .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mhero .mascot { position: absolute; z-index: 1; right: 3%; bottom: -5%; height: 108%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); }
.mhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--mc-dark) 25%, color-mix(in srgb, var(--mc-dark) 70%, transparent) 48%, transparent 74%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.mhero .copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 40px 44px; max-width: 600px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.crumb:hover { color: var(--text); }

.studio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.player { border-radius: var(--r-xl); padding: 16px; position: sticky; top: 20px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.screen video, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.screen .soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.screen .soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) brightness(.4); transform: scale(1.1); }
.screen .soon span { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-3); border: 1px solid var(--stroke-2); }
.screen .soon b, .screen .soon small { position: relative; }
.screen .soon small { color: var(--mute); }
.spin { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--accent); animation: spin .8s linear infinite; z-index: 3; }
@keyframes spin { to { transform: rotate(360deg); } }
.now { padding: 18px 8px 6px; }
.now small { font-size: 12.5px; font-weight: 700; color: var(--mc); }
.now h2 { margin-top: 4px; font-size: 24px; font-weight: 800; }
.now .short { margin-top: 6px; color: var(--mute); }
.list { border-radius: var(--r-xl); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.list h3 { padding: 12px 10px 6px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.it { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; width: 100%; padding: 10px; border-radius: 16px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.it:hover { background: var(--glass); }
.it.on { background: var(--glass-2); border-color: color-mix(in srgb, var(--mc) 60%, transparent); }
.it .pb { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.25); color: var(--mc); }
.it.on .pb { background: var(--mc); color: #120818; }
.it.novid .pb { color: var(--dim); }
.it b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.it small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); line-height: 1.35; }

/* bảng thông số trong trình phát (HTML từ nội dung cũ) */
.fplayer__spec-sheet { margin-top: 14px; }
.fspec__intro { font-size: 14px; color: var(--mute); padding: 0 8px 4px; }
.fspec__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fspec__item { padding: 14px; border-radius: 16px; background: rgba(0,0,0,.2); border: 1px solid var(--stroke); }
.fspec__item:has(.farmy-grid), .fspec__item:has(.fequip-grid), .fspec__item:has(.spell-card) { grid-column: 1 / -1; }
.fspec__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.fspec__icon { width: 26px; height: 26px; object-fit: contain; }
.fspec__desc { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.fspec__desc b { color: var(--text); font-weight: 600; }
.farmy-grid, .fequip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.farmy-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.farmy-item img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.farmy-name { display: block; font-size: 12px; color: var(--dim); }
.farmy-count { display: block; font-size: 13.5px; font-weight: 700; }
.farmy-stars, .spell-stars { color: #ffc542; font-size: 12px; }
.farmy-rank-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #ffc542; color: #1d1000; }
.fequip-card { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.fequip-hero { font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--mute); }
.fequip-imgs { display: flex; gap: 6px; }
.fequip-imgs img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: rgba(0,0,0,.3); }
.spell-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; margin-top: 8px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke); }
.spell-card--top1 { border-color: #ffc542; }
.spell-card__left { display: flex; flex-direction: column; gap: 8px; }
.spell-card__rank { display: flex; align-items: center; gap: 8px; }
.spell-rank-badge { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--glass-3); }
.spell-rank-badge.top-1 { background: #ffc542; color: #1d1000; }
.spell-card__spells { display: flex; align-items: center; gap: 8px; }
.spell-box { position: relative; width: 46px; height: 46px; border-radius: 10px; background: rgba(0,0,0,.3); }
.spell-box img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.spell-box-qty { position: absolute; right: -4px; bottom: -4px; padding: 1px 6px; border-radius: 999px; background: #fff; color: #120818; font-size: 11px; font-weight: 800; }
.spell-plus-sign { color: var(--dim); }
.spell-card__meta { text-align: right; }
.spell-card__name { font-weight: 700; font-size: 14px; }
.spell-card__perf { margin-top: 2px; font-size: 12.5px; color: var(--mute); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pager a { border-radius: var(--r-lg); padding: 16px 20px; display: flex; align-items: center; gap: 14px; transition: background .15s; }
.pager a:hover { background: var(--glass-2); }
.pager a img { width: 44px; height: 44px; object-fit: contain; }
.pager small { display: block; font-size: 12.5px; color: var(--dim); }
.pager b { font-size: 16px; }
.pager .nx { justify-content: flex-end; text-align: right; }

/* ===== popup ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5,2,10,.58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.modal.open { opacity: 1; }
.sheet { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 14px; background: rgba(36, 20, 52, .78); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); transform: translateY(10px) scale(.98); transition: transform .2s; }
.modal.open .sheet { transform: none; }
.sheet.wide { width: min(900px, 100%); }
.sheet h3 { font-size: 22px; font-weight: 800; padding-right: 44px; }
.sheet .x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; }
.note { padding: 12px 14px; border-radius: 16px; font-size: 14px; }
.note b { display: block; }
.note.ok { background: rgba(75,227,155,.12); border: 1px solid rgba(75,227,155,.3); color: #d4f8e6; }
.note.warn { background: rgba(255,197,66,.12); border: 1px solid rgba(255,197,66,.32); color: #fff1cf; }
.hint { font-size: 12.5px; color: var(--dim); }
/* modal tải APK dạng các bước */
.dsheet { gap: 20px; padding: 28px; }
.dhead { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.dhead h3 { padding-right: 0; font-size: 21px; }
.dhead p { margin-top: 3px; font-size: 13px; color: var(--dim); }
.dico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(61,220,132,.14); border: 1px solid rgba(61,220,132,.35); }
.dico svg.i { width: 24px; height: 24px; color: #3ddc84; }
.dsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dsteps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 12px; align-items: center; padding: 14px 0; }
.dsteps li + li { border-top: 1px solid var(--stroke); }
.dn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--stroke-2); }
.dt b { display: block; font-size: 15px; }
.dt small { display: block; margin-top: 2px; font-size: 13px; color: var(--dim); }
.dsteps .dmain { grid-column: 2 / -1; }
.dico.win { background: rgba(96,165,255,.14); border-color: rgba(96,165,255,.38); }
.dico.win svg.i { color: #60a5ff; }
.dalt { grid-column: 2 / -1; margin-top: -4px; font-size: 13px; color: var(--dim); }
.dalt a { color: var(--mute); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.dalt a:hover { color: #fff; }
.dfree { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #4be39b; background: rgba(75,227,155,.12); border: 1px solid rgba(75,227,155,.3); white-space: nowrap; }
.dzalo { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #fff; background: #0068ff; white-space: nowrap; transition: filter .15s; }
.dzalo:hover { filter: brightness(1.12); }
.dzalo svg.i { width: 16px; height: 16px; }
.dfoot { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--stroke); font-size: 13px; }
.dfoot p { color: var(--mute); }
.dfoot p span { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.dfoot a { display: flex; align-items: center; gap: 8px; color: var(--mute); font-weight: 600; }
.dfoot a em { margin-left: auto; font-style: normal; opacity: .6; transition: transform .15s; }
.dfoot a:hover { color: #fff; }
.dfoot a:hover em { transform: translateX(3px); opacity: 1; }
@media (max-width: 420px) {
  .dsheet { padding: 22px 18px; }
  .dsteps li { grid-template-columns: 30px minmax(0, 1fr); }
  .dzalo { grid-column: 2; justify-self: start; }
  .dfree { display: none; }
  .dsteps .dmain { min-width: 0; padding-left: 12px; padding-right: 12px; }
}
.order { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid var(--stroke); }
.order b { font-size: 16px; }
.order span { margin-left: auto; font-weight: 800; font-size: 18px; }
.msg { display: flex; gap: 8px; align-items: center; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px dashed var(--stroke-2); font-size: 13.5px; color: var(--mute); }
.msg span { flex: 1; }
.msg button { padding: 7px 12px; border-radius: 999px; background: var(--glass-3); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.chan { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke); transition: background .15s; }
.chan:hover { background: rgba(255,255,255,.1); }
.chan i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; color: #fff; }
.chan b { display: block; font-size: 14.5px; }
.chan small { color: var(--mute); font-size: 12.5px; }
.chan em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--mute); }

/* thanh tab đáy (điện thoại) */
.tabbar { display: none; }

/* ===== nhịp thoáng: ít chữ, nhiều khoảng trắng, 1 điểm nhấn mỗi khối ===== */
.bg img { opacity: .38; }
.shell { gap: 24px; padding: 24px; }
.side { gap: 28px; padding: 22px 14px; }
.nav { gap: 4px; }
.nav a { padding: 12px 14px; font-size: 15px; }
.top { margin-bottom: 24px; }
.top .chip { background: transparent; border-color: transparent; }

.hero, .slide { min-height: 560px; }
.slide .copy { gap: 18px; padding: 56px 56px 112px; max-width: 600px; }
.slide::before { background: linear-gradient(90deg, var(--mc-dark) 18%, color-mix(in srgb, var(--mc-dark) 78%, transparent) 40%, transparent 70%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 35%); }
.badge { background: rgba(0,0,0,.25); border-color: var(--stroke); font-weight: 500; color: rgba(255,255,255,.85); }
.hero .h1 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); }
.tagline { font-size: 1.15rem; }
.desc { max-width: 44ch; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acts { gap: 6px; margin-top: 8px; }
.btn-ghost { background: transparent; color: var(--text); padding: 0 16px 0 8px; gap: 10px; }
.btn-ghost .pc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background .15s; }
.btn-ghost:hover .pc { background: rgba(255,255,255,.24); }
.hero-ctl { left: auto; right: 32px; bottom: 32px; gap: 14px; }
.hero-ctl .count { display: none; }
.hero-ctl .icon-btn { width: 40px; height: 40px; background: rgba(0,0,0,.3); }

.trust { list-style: none; padding: 0; margin: 28px 8px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust li { padding: 4px 24px; border-left: 1px solid var(--stroke); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.trust li:first-child b { color: var(--accent); }
.trust span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--mute); }

.sec { margin-top: 84px; }
.sec-h { margin-bottom: 24px; }
.sec-h h2 { font-size: 30px; font-weight: 800; }
.sec-h p { font-size: 15px; margin-top: 6px; }

.cards { gap: 18px; }
.card .scene { opacity: .5; }
.card .mascot { bottom: 30%; height: 70%; }
.card::after { background: linear-gradient(0deg, var(--mc-dark) 26%, color-mix(in srgb, var(--mc-dark) 55%, transparent) 50%, transparent 72%); }
.card .pill { position: absolute; z-index: 2; top: 14px; left: 14px; right: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.4); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.card .body { left: 18px; right: 18px; bottom: 18px; gap: 6px; }
.card h3 { font-size: 21px; font-weight: 800; }
.card p { font-size: 13.5px; color: rgba(255,255,255,.66); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--mc); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.card:hover .more, .card:focus-visible .more { opacity: 1; transform: none; }

.steps { gap: 18px; }
.step { padding: 24px 22px; gap: 8px; }
.step .num { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 17.5px; }
.step p { font-size: 14px; color: rgba(255,255,255,.62); }
.step .play { margin-top: 14px; color: var(--text); font-weight: 600; opacity: .8; }
.step:hover .play { opacity: 1; color: var(--accent); }
.hint-row { margin-top: 18px; background: transparent; border-color: transparent; padding: 4px 4px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hint-row > svg { display: none; }

.prices { gap: 18px; align-items: end; }
.plan { padding: 26px; gap: 14px; background: rgba(255,255,255,.04); }
.plan .sub { color: rgba(255,255,255,.6); }
.plan.hot { padding: 32px 26px; }
.plan.hot .price b { color: var(--accent); font-size: 40px; }
.mods img { width: 30px; height: 30px; background: transparent; padding: 0; }
.mcount { color: rgba(255,255,255,.55); font-size: 12.5px; }

.log { background: rgba(255,255,255,.04); }
.foot { margin-top: 72px; }

/* trang chế độ */
.mhero { min-height: 470px; }
.mhero .copy { gap: 18px; padding: 52px 56px; }
.mhero .desc { -webkit-line-clamp: 3; }
.mhero::before { background: linear-gradient(90deg, var(--mc-dark) 20%, color-mix(in srgb, var(--mc-dark) 78%, transparent) 42%, transparent 70%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.studio { gap: 24px; margin-top: 56px; }
.player { padding: 14px; background: rgba(255,255,255,.04); }
.now { padding: 22px 10px 8px; }
.now h2 { font-size: 26px; }
.now .short { font-size: 15px; }
.list { padding: 14px; gap: 2px; background: rgba(255,255,255,.04); }
.list h3 { padding: 18px 12px 8px; font-size: 12px; letter-spacing: .02em; }
.list h3:first-child { padding-top: 6px; }
.it { padding: 11px 12px; }
.it .pb { width: 32px; height: 32px; background: transparent; border: 1px solid var(--stroke); }
.it small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.it.on small { -webkit-line-clamp: 3; }
.it b { font-size: 14.5px; }
.fspec__intro { display: none; }
.fspec__list { gap: 12px; margin-top: 6px; }
.fspec__item { background: rgba(255,255,255,.04); border-color: transparent; padding: 16px; }
.fspec__desc { color: rgba(255,255,255,.62); }
.pager { margin-top: 32px; }

/* dải "Chạy được trên" ở thanh trên */
.plats { display: flex; align-items: center; gap: 6px; min-width: 0; }
.plats-l { margin-right: 4px; font-size: 13px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.pf { --pc: 255,255,255; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.72); background: rgba(255,255,255,.05); border: 1px solid var(--stroke); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.pf-ic { display: inline-flex; align-items: center; gap: 4px; }
.pf svg.i { width: 18px; height: 18px; color: rgb(var(--pc)); }
.pf-win { --pc: 96,165,255; }
.pf-mob { --pc: 61,220,132; }
.pf-mob svg.i:last-child { color: #ebebf5; }
.pf:hover { color: #fff; background: rgba(var(--pc), .12); border-color: rgba(var(--pc), .45); }
.pf.on { color: #fff; background: rgba(var(--pc), .16); border-color: rgba(var(--pc), .6); box-shadow: 0 0 0 3px rgba(var(--pc), .1); }

/* logo thanh bên */
.side .logo { display: flex; align-items: center; gap: 12px; padding: 4px 14px 2px; font-size: inherit; letter-spacing: 0; }
.lmark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; transition: transform .25s; }
.lmark img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,190,60,.35)); }
.ltxt b { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.ltxt b em { font-size: 9.5px; padding: 3px 6px; }
.logo em.pc { background: #60a5ff; color: #04162e; }
.side .logo:hover .lmark { transform: scale(1.06); }

/* nhóm 2 gói: mỗi khung rộng bằng 1/3 hàng như nhóm 3 gói, đặt giữa */
.prices.n2 { max-width: none; grid-template-columns: repeat(2, calc((100% - 36px) / 3)); justify-content: center; }
.plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 .save { font-size: 12px; }

/* ===== bảng giá: danh sách chế độ có tên ===== */
.plan .mcount { margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.incl { list-style: none; padding: 0; margin: -4px 0 6px; display: flex; flex-direction: column; gap: 2px; }
.incl li { display: grid; grid-template-columns: 26px 1fr 18px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.incl li:first-child { border-top: 0; }
.incl img { width: 26px; height: 26px; object-fit: contain; }
.incl .mk { width: 18px; height: 18px; padding: 3px; border-radius: 50%; stroke-width: 2.8; }
.incl li.on .mk { background: rgba(75,227,155,.16); color: var(--ok); }
.incl li.off { color: rgba(255,255,255,.38); }
.incl li.off span { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.incl li.off img { filter: grayscale(1); opacity: .4; }
.incl li.off .mk { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }
.plan.hot .incl li.on span { color: #fff; }

/* ===== liên hệ ===== */
.contacts { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--stroke); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.ccard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--cc) 22%, transparent), transparent 60%); pointer-events: none; }
.ccard > * { position: relative; }
.ccard i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: var(--cc); box-shadow: 0 10px 24px -10px var(--cc); }
.ccard b { font-size: 18px; font-weight: 800; }
.ccard small { font-size: 13.5px; color: var(--mute); }
.ccard .cnote { font-size: 12.5px; color: var(--dim); }
.ccard .cgo { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; background: var(--cc); transition: filter .15s; }
.ccard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cc) 60%, transparent); box-shadow: 0 20px 40px -24px var(--cc); }
.ccard:hover .cgo { filter: brightness(1.12); }
.cbar { margin-top: 16px; padding: 14px 14px 14px 20px; border-radius: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: rgba(255,255,255,.04); }
.cbar > span { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.cbar > span svg { color: var(--accent); }
.cbar b { color: var(--text); }

/* liên hệ: 1 khung chia đôi */
.cpanel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,.04); }
.cwho { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 32px; background: radial-gradient(120% 90% at 0% 0%, rgba(255,138,31,.16), transparent 60%); border-right: 1px solid var(--stroke); }
.cav { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: linear-gradient(135deg, #ffb347, #ff6a1a); color: #1e0d00; font-weight: 800; font-size: 22px; box-shadow: 0 12px 28px -12px rgba(255,138,31,.8); }
.cav .dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 3px solid #1c1128; }
.cwho b { font-size: 22px; font-weight: 800; }
.cwho small { font-size: 13.5px; color: var(--mute); }
.cwho p { margin: 12px 0 18px; font-size: 14.5px; color: rgba(255,255,255,.62); max-width: 40ch; }
.crows { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; }
.crow { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--stroke); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.crow i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: var(--cc); box-shadow: 0 10px 24px -10px var(--cc); }
.crow .ctx b { display: block; font-size: 18px; font-weight: 800; }
.crow .ctx small { display: block; font-size: 14px; color: var(--text); opacity: .85; }
.crow .cnote { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.crow .cgo { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; background: var(--cc); transition: filter .15s; }
.crow:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--cc) 60%, transparent); background: color-mix(in srgb, var(--cc) 8%, transparent); box-shadow: 0 18px 36px -24px var(--cc); }
.crow:hover .cgo { filter: brightness(1.12); }

/* ===== hero tự chuyển: chuyển cảnh mượt + dải tab chế độ ===== */
.slide { transition: opacity 1s ease, visibility 0s 1s; }
.slide.on { transition: opacity 1s ease; }
.slide .scene { transform: scale(1.08); transition: transform 7s ease-out; }
.slide.on .scene { transform: scale(1); }
/* nhân vật: cùng chiều cao giữa các chế độ, bề rộng theo dáng */
.slide .mascot { height: 90%; width: auto; max-width: none; right: 5%; bottom: 0; transform: translateX(60px) scale(.96); opacity: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1) .2s, opacity .7s ease .2s; }
.slide.on .mascot { transform: none; opacity: 1; }
.mhero .mascot { height: 92%; width: auto; max-width: none; right: 5%; bottom: 0; }
.card .mascot { height: 64%; bottom: 32%; max-width: none; }
.slide .copy > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.slide.on .copy > * { opacity: 1; transform: none; }
.slide.on .copy > :nth-child(2) { transition-delay: .08s; }
.slide.on .copy > :nth-child(3) { transition-delay: .16s; }
.slide.on .copy > :nth-child(4) { transition-delay: .24s; }
.slide.on .copy > :nth-child(5) { transition-delay: .32s; }
.hero.single .slide .copy > * { opacity: 1; transform: none; }
.slide .copy { padding-bottom: 128px; }

.hero-tabs { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 22px; display: flex; gap: 8px; padding: 6px; border-radius: 18px; background: rgba(10,5,16,.45); border: 1px solid var(--stroke); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.htab { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 13px; overflow: hidden; color: var(--mute); font-size: 13.5px; font-weight: 600; transition: background .25s, color .25s; }
.htab img { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; filter: grayscale(.6) brightness(.85); transition: filter .25s; }
.htab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htab:hover { color: var(--text); background: rgba(255,255,255,.06); }
.htab:hover img { filter: none; }
.htab.on { color: var(--text); background: rgba(255,255,255,.12); }
.htab.on img { filter: none; }
.htab .prog { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; opacity: 0; }
.htab.on .prog { opacity: 1; }
.htab.on .prog::after { content: ""; position: absolute; inset: 0; background: var(--mc); transform-origin: left; animation: fill var(--dur, 6000ms) linear forwards; }
.hero.paused .htab.on .prog::after { animation-play-state: paused; }

/* ===== hướng dẫn cài đặt từng bước ===== */
.guide { border-radius: var(--r-xl); padding: 30px 32px 32px; background: rgba(255,255,255,.04); }
.track { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.track::before, .track::after { content: ""; position: absolute; top: 21px; height: 3px; border-radius: 3px; left: calc(100% / (2 * var(--n))); }
.track::before { right: calc(100% / (2 * var(--n))); background: rgba(255,255,255,.12); }
.track::after { width: calc((100% - 100% / var(--n)) * var(--p)); background: linear-gradient(90deg, var(--accent), #ffc04d); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.node { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 6px; text-align: center; }
.node .dot { width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; background: #1c1128; border: 2px solid rgba(255,255,255,.18); color: var(--mute); transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s; }
.node .lbl { font-size: 13.5px; font-weight: 600; color: var(--dim); line-height: 1.3; transition: color .2s; }
.node:hover .dot { border-color: rgba(255,255,255,.4); color: var(--text); }
.node.done .dot { background: #2a1a10; border-color: var(--accent); color: var(--accent); }
.node.on .dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.12); box-shadow: 0 0 0 7px rgba(255,138,31,.18); }
.node.on .lbl { color: var(--text); }
.gpane { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: center; }
.gpane.on { animation: paneIn .35s ease both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ginfo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gnum { font-size: 13px; font-weight: 700; color: var(--accent); }
.ginfo h3 { font-size: 30px; font-weight: 800; }
.ginfo > p { color: rgba(255,255,255,.66); font-size: 15px; max-width: 46ch; }
.ginfo > p b { color: var(--text); font-weight: 600; }
.todo { list-style: none; padding: 0; margin: 6px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.todo li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.todo li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(75,227,155,.16); color: var(--ok); stroke-width: 2.6; }
.guide .emus { align-items: center; margin-top: 4px; }
.guide .emus > span { font-size: 12.5px; color: var(--dim); margin-right: 4px; }
.gnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.gnav .btn-glass svg { margin-left: 2px; }
.gshot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--stroke-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); cursor: pointer; }
.gshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: brightness(.82); }
.gshot:hover img { transform: scale(1.04); filter: brightness(.95); }
.gplay { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .2s, background .2s; }
.gplay svg { width: 24px; height: 24px; margin-left: 3px; }
.gshot:hover .gplay { transform: scale(1.08); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gcap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.gtime { display: inline-flex; align-items: center; gap: 4px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75); }
.gshot.playing { cursor: default; }
.gshot.phone { background: radial-gradient(120% 90% at 50% 100%, rgba(75,227,155,.22), transparent 60%), url("/assets/art/bg-android.webp") center / cover; }
.gshot.phone::before { content: ""; position: absolute; inset: 0; background: rgba(12,6,20,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.gshot.phone img { position: relative; width: auto; height: 88%; margin: 6% auto 0; border-radius: 18px; border: 3px solid rgba(255,255,255,.18); box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); filter: none; object-fit: contain; }
.gshot.phone:hover img { transform: translateY(-4px); }
.gshot.phone.playing::before { display: none; }
.gshot video, .gshot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.emubox { width: 100%; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.emuh { font-size: 12.5px; font-weight: 700; color: var(--dim); }
.emugrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.emucard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); transition: background .15s, border-color .15s, transform .2s; }
.emucard:hover { background: rgba(255,255,255,.09); border-color: var(--stroke-2); transform: translateY(-2px); }
.emucard img { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; background: #fff; padding: 3px; margin-bottom: 6px; }
.emucard b { font-size: 14.5px; font-weight: 700; }
.emucard small { font-size: 12px; color: rgba(255,255,255,.58); line-height: 1.35; }
.emucard .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.emucard em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--ok); color: #05261a; }
.emucard.pick { background: linear-gradient(160deg, rgba(75,227,155,.16), rgba(75,227,155,.04)); border-color: rgba(75,227,155,.55); box-shadow: 0 14px 30px -18px rgba(75,227,155,.6); }
.emucard.pick .go { color: var(--ok); }
.node:focus-visible { outline: none; }
.node:focus-visible .dot { outline: 2px solid #fff; outline-offset: 3px; }

/* thẻ chuyển bản PC <-> Android ở thanh bên */
.nav a.swap { --sc: 61,220,132; position: relative; overflow: hidden; margin-top: 6px; color: rgb(var(--sc)); font-weight: 600; background: rgba(var(--sc), .1); box-shadow: inset 0 0 0 1px rgba(var(--sc), .35); }
.nav a.swap.to-pc { --sc: 96,165,255; }
.nav a.swap svg { color: rgb(var(--sc)); }
.nav a.swap .swa { margin-left: auto; transition: transform .2s; }
.nav a.swap:hover { background: rgba(var(--sc), .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--sc), .6), 0 8px 22px -10px rgba(var(--sc), .9); }
.nav a.swap:hover .swa { transform: translateX(3px); }
.ostabs button { gap: 8px; padding: 8px 18px; font-size: 14px; }
.ostabs svg.i { width: 18px; height: 18px; }
.ghint.ios { max-width: 760px; margin-left: auto; margin-right: auto; padding: 12px 16px; border-radius: 14px; background: rgba(255,197,66,.08); border: 1px solid rgba(255,197,66,.25); color: rgba(255,255,255,.75); }
.ghint.ios b { color: #ffd36e; }
.ghint { margin-top: 16px; text-align: center; font-size: 14px; color: var(--dim); }

/* ===== responsive ===== */
@media (max-width: 1340px) { .plats-l { display: none; } }
@media (max-width: 1180px) {
  .pf { padding: 0 11px; }
  .pf:not(.on) .pf-t { display: none; }
}
@media (max-width: 620px) {
  .pf { padding: 0 10px; height: 36px; }
  .pf .pf-t { display: none; }
  .plats { gap: 4px; }
}
@media (max-width: 1280px) {
  .top { gap: 8px; }
  .top .chip { display: none; }
  .top .btn { padding: 0 16px; }
  .htab { justify-content: center; }
  .htab span { display: none; }
  .htab.on { flex: 2.6; justify-content: flex-start; }
  .htab.on span { display: block; }
  .slide .mascot { height: 76%; right: 2%; }
  .mhero .mascot { height: 80%; right: 2%; }
  .slide .copy, .mhero .copy { max-width: 470px; }
}
@media (max-width: 920px) and (min-width: 621px) {
  .prices.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 1200px) and (min-width: 921px) {
  .cards { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
@media (max-width: 1200px) {
  .row1 { grid-template-columns: 1fr; }
  .row1 .panel { display: none; }
  .cards { grid-template-columns: repeat(var(--n, 5), 220px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .card { scroll-snap-align: start; }
  .steps { --n: 2 !important; }
  .studio { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 920px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 96px; }
  .side { display: none; }
  .top { position: sticky; top: 10px; z-index: 20; }
  .top .hide-m { display: none; }
  .hero, .slide { min-height: 0; }
  .slide .scene, .mhero .scene { height: 300px; }
  .slide .mascot, .mhero .mascot { height: 280px; max-width: 90%; right: 50%; transform: translateX(50%); bottom: auto; top: 14px; }
  .slide.on .mascot { transform: translateX(50%); }
  .slide::before, .mhero::before { background: linear-gradient(180deg, transparent 150px, var(--mc-dark) 300px); }
  .slide .copy { justify-content: flex-start; padding: 250px 22px 64px; max-width: none; }
  .slide .copy .desc { -webkit-line-clamp: 2; }
  .hero.single .slide .copy { padding-bottom: 26px; }
  .hero-ctl { left: 22px; right: 18px; bottom: 22px; }
  .mhero { min-height: 0; }
  .mhero .copy { justify-content: flex-start; padding: 250px 22px 26px; max-width: none; }
  .studio { grid-template-columns: 1fr; }
  .player { position: sticky; top: 76px; z-index: 5; padding: 10px; }
  .player .now { display: none; }
  .prices, .prices.n2 { grid-template-columns: 1fr; }
  .guide { padding: 22px 16px 20px; }
  .track { margin-bottom: 24px; }
  .node .lbl { display: none; }
  .gpane { grid-template-columns: 1fr; gap: 22px; }
  .cpanel { grid-template-columns: 1fr; }
  .cwho { padding: 22px; border-right: 0; border-bottom: 1px solid var(--stroke); }
  .crows { padding: 14px; }
  .crow { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px; }
  .crow i { width: 44px; height: 44px; font-size: 12px; }
  .crow .cgo { grid-column: 1 / -1; justify-content: center; }
  .contacts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ccard { padding: 16px; }
  .ccard i { width: 40px; height: 40px; margin-bottom: 6px; }
  .ccard b { font-size: 16px; }
  .ccard .cnote { display: none; }
  .ccard .cgo { margin-top: 10px; height: 36px; padding: 0 14px; font-size: 13px; }
  .slide .mascot, .mhero .mascot { height: 270px; max-width: 92%; object-fit: contain; left: 0; right: 0; margin: 0 auto; top: 18px; bottom: auto; transform: translateX(40px); }
  .mhero .mascot, .slide.on .mascot { transform: none; }
  .slide .copy { padding-bottom: 92px; }
  .hero-tabs { left: 12px; right: 12px; bottom: 12px; gap: 4px; padding: 5px; }
  .htab { justify-content: center; padding: 8px 4px; }
  .htab span { display: none; }
  .htab.on { flex: 2.2; }
  .htab.on span { display: block; }
  .emugrid { grid-template-columns: 1fr; }
  .emucard { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "img name go" "img note go"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 12px; }
  .emucard img { grid-area: img; margin: 0; }
  .emucard b { grid-area: name; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .emucard small { grid-area: note; }
  .emucard .go { grid-area: go; padding: 0; margin: 0; }
  .emucard em { display: none; }
  .emucard.pick b::after { content: attr(data-rec); font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--ok); color: #05261a; }
  .gshot { order: -1; }
  .ginfo h3 { font-size: 24px; }
  .gnav .btn-lg { height: 46px; font-size: 14.5px; white-space: normal; text-align: left; line-height: 1.2; }
  .trust { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 22px; }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sec { margin-top: 60px; }
  .card .more { opacity: 1; transform: none; }
  .hero-ctl .icon-btn { display: none; }
  .contact { grid-template-columns: 1fr; }
  .tabbar { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; padding: 8px; border-radius: 24px; justify-content: space-around; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 14px; font-size: 11px; color: var(--mute); }
  .tabbar a.on { color: var(--text); background: var(--glass-3); }
  .tabbar a.dl { color: var(--accent-ink); background: var(--accent); }
}
@media (max-width: 1400px) { .hide-s { display: none; } }
@media (max-width: 620px) {
  .steps { --n: 1 !important; }
  .hero h1, .hero .h1 { font-size: 2.1rem; }
  .acts .btn-lg { padding: 0 18px; }
  .top .seg.plat a span { display: none; }
  .fspec__list { grid-template-columns: 1fr; }
  .log summary { grid-template-columns: 44px 1fr auto; }
  .log ul { margin-left: 0; }
  .pager { grid-template-columns: 1fr; }
  .spell-card { flex-direction: column; align-items: flex-start; }
  .spell-card__meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* van giu chuyen canh mo dan (khong truot, khong phong to) va thanh tien trinh */
  .slide, .slide.on { transition: opacity .9s ease, visibility 0s .9s !important; }
  .slide.on { transition: opacity .9s ease !important; }
  .slide .scene, .slide .mascot, .slide .copy > * { transform: none !important; }
  .slide .mascot, .slide .copy > * { transition: opacity .9s ease !important; }
  .slide.on .mascot { transform: none !important; }
  .htab.on .prog::after { animation-duration: var(--dur, 6000ms) !important; }
  .bg img { transition: opacity .6s ease !important; }
}

/* ===== trang link tiểu sử /bio/ ===== */
body:has(.bio) { --tint: 150,90,255; }
.bio { width: 100%; padding-bottom: 36px; overflow-x: clip; }
.bio-in { width: min(1200px, 100%); margin: 0 auto; padding: 0 32px; }

.bio-top { position: sticky; top: 0; z-index: 10; background: rgba(14,7,24,.62); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid var(--stroke); }
.bio-top .bio-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.bio-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.bio-brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,190,60,.35)); }
.bio-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 5px 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: rgba(185,139,255,.12); border: 1px solid rgba(185,139,255,.5); transition: background .15s; }
.bio-pill:hover { background: rgba(185,139,255,.22); }
.bio-pill > svg.i { width: 17px; height: 17px; }
.bio-pill-go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #1b0d2e; }
.bio-pill-go svg.i, .bx-go svg.i, .bk-btn svg.i { width: 16px; height: 16px; stroke-width: 2.4; }

/* hero tràn hết bề ngang */
.bio-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -68px; padding-top: 68px; min-height: clamp(560px, 86vh, 760px); display: flex; }
.bio-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.bio-scene, .bio-hero::before { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.bio-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(14,6,26,.9) 0%, rgba(14,6,26,.55) 38%, rgba(14,6,26,.05) 68%),

  radial-gradient(700px 500px at 78% 40%, rgba(120,140,255,.3), transparent 70%); }
.bio-stage { position: relative; display: flex; align-items: center; padding-bottom: 110px; }
.bio-mascot { position: absolute; right: 2%; top: 50%; transform: translateY(-58%); height: min(78%, 560px); width: auto; z-index: -1; filter: drop-shadow(0 0 40px rgba(110,140,255,.45)) drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.bio-copy { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.bio-id { display: flex; align-items: center; gap: 20px; }
.bio-ava { flex: 0 0 auto; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a2350, #120a1c 70%); border: 2px solid #e8b04a; box-shadow: 0 0 0 7px rgba(232,176,74,.12), 0 0 40px rgba(232,176,74,.3); }
.bio-ava img { width: 70%; height: 70%; object-fit: contain; }
.bio-id h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(44px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.bio-tick { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #b98bff, #7b5cff); box-shadow: 0 0 18px rgba(150,110,255,.55); }
.bio-tick svg.i { width: 20px; height: 20px; color: #fff; stroke-width: 3; }
.bio-handle { margin-top: 8px; font-size: 18px; font-weight: 600; color: #c9b4ff; }
.bio-tag { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.85); max-width: 480px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.bio-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* bảng kết nối đè lên mép dưới hero */
.bio-panel { position: relative; z-index: 2; margin: -96px auto 0; width: min(920px, calc(100% - 64px)); border-radius: var(--r-xl); padding: 34px 36px 28px; background: rgba(22,12,38,.74); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.bio-panel h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.bio-sub { margin: 4px 0 22px; color: var(--dim); font-size: 15px; }

.bx { --c1: 96,165,255; --c2: 150,110,255; display: flex; align-items: center; gap: 16px; padding: 14px; margin-bottom: 12px; border-radius: var(--r-lg); background: linear-gradient(100deg, rgba(var(--c1), .22), rgba(var(--c2), .14) 60%, rgba(var(--c2), .06)); border: 1px solid rgba(var(--c2), .55); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px rgba(var(--c2), .12); transition: background .15s, border-color .15s; }
.bx:hover { border-color: rgba(var(--c2), .85); background: linear-gradient(100deg, rgba(var(--c1), .3), rgba(var(--c2), .2) 60%, rgba(var(--c2), .1)); }
.bx-mob { --c1: 61,220,132; --c2: 40,170,110; }
.bx-ic { flex: 0 0 auto; display: grid; grid-auto-flow: column; place-items: center; gap: 2px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, rgb(var(--c1)), rgb(var(--c2))); box-shadow: 0 6px 18px rgba(var(--c2), .4); }
.bx-ic svg.i { width: 24px; height: 24px; color: #fff; }
.bx-mob .bx-ic svg.i { width: 20px; height: 20px; }
.bx-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bx-tx b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.bx-tx small { font-size: 14px; color: rgba(255,255,255,.72); }
.bx-go { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #1b0d2e; }

.bio-lbl { display: flex; align-items: center; gap: 14px; margin: 24px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fd0ff; }
.bio-lbl::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(143,208,255,.5), transparent); }

.bio-cc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bk { --kc: 0,104,255; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(var(--kc), .22), rgba(var(--kc), .07)); border: 1px solid rgba(var(--kc), .5); transition: border-color .15s, background .15s; }
.bk:hover { border-color: rgba(var(--kc), .85); }
.bk-tg { --kc: 34,158,217; }
.bk-ic { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(var(--kc)); font-size: 12px; font-weight: 800; color: #fff; box-shadow: 0 6px 16px rgba(var(--kc), .4); }
.bk-ic svg.i { width: 22px; height: 22px; color: #fff; }
.bk-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-tx b { font-size: 17px; font-weight: 800; }
.bk-tx small { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.4; }
.bk-btn { flex: 0 0 auto; display: grid; place-items: center; padding: 9px 16px; border-radius: 999px; background: #fff; color: rgb(var(--kc)); font-size: 14px; font-weight: 800; white-space: nowrap; }
.bk-btn svg.i { display: none; }

.bio-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.bio-more a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mute); transition: color .15s; }
.bio-more a:hover { color: #fff; }
.bio-more svg.i { color: #c9b4ff; }
.bio-f { text-align: center; padding-top: 28px; font-size: 13px; color: var(--dim); }
.bio-f a:hover { color: #fff; }

/* máy tính bảng */
@media (max-width: 1024px) {
  .bio-mascot { right: -2%; height: min(64%, 460px); }
  .bio-copy { max-width: 500px; }
}

/* điện thoại */
@media (max-width: 760px) {
  .bio-in { padding: 0 16px; }
  .bio-top .bio-in { height: 60px; }
  .bio-brand { font-size: 18px; }
  .bio-brand img { width: 30px; height: 30px; }
  .bio-pill { font-size: 13px; height: 40px; }
  .bio-hero { margin-top: -60px; padding-top: 60px; min-height: 0; }
  .bio-scene { object-position: 55% center; }
  .bio-hero::before { background:
    linear-gradient(0deg, rgba(14,6,26,.75) 0%, rgba(14,6,26,.92) 30%, rgba(14,6,26,.35) 58%, rgba(14,6,26,.1) 100%),
    radial-gradient(360px 300px at 60% 26%, rgba(120,140,255,.32), transparent 70%); }
  .bio-stage { flex-direction: column; align-items: stretch; padding-top: 4px; padding-bottom: 84px; }
  .bio-mascot { position: relative; top: auto; right: auto; transform: none; align-self: center; height: 280px; margin: 4px 0 -12px; z-index: 0; }
  .bio-copy { gap: 14px; position: relative; z-index: 1; }
  .bio-ava { width: 72px; height: 72px; box-shadow: 0 0 0 5px rgba(232,176,74,.12), 0 0 28px rgba(232,176,74,.3); }
  .bio-id { gap: 14px; }
  .bio-id h1 { font-size: 40px; gap: 10px; }
  .bio-tick { width: 28px; height: 28px; }
  .bio-tick svg.i { width: 15px; height: 15px; }
  .bio-handle { font-size: 15px; margin-top: 4px; }
  .bio-tag { font-size: 15.5px; }
  .bio-acts .btn { flex: 1; justify-content: center; }
  .bio-panel { width: calc(100% - 32px); margin-top: -56px; padding: 22px 16px 20px; }
  .bio-panel h2 { font-size: 24px; }
  .bx { gap: 12px; padding: 12px; }
  .bx-ic { width: 50px; height: 50px; }
  .bx-tx b { font-size: 17px; }
  .bx-tx small { font-size: 13px; }
  .bx-go { width: 40px; height: 40px; }
  .bio-cc { grid-template-columns: 1fr; }
  .bk { gap: 12px; padding: 12px; }
  .bk-btn { width: 40px; height: 40px; padding: 0; }
  .bk-btn span { display: none; }
  .bk-btn svg.i { display: block; }
}
