
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700-vietnamese.6c554f2d.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
                 U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700-latin.3787a5a4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg-base: #0E0E13;
  --bg-deepest: #0B0B0F;
  --surface-1: #16161C;
  --surface-2: #1E1E25;
  --surface-3: #26262E;
  --accent: #F97316;        
  --orange-deep: #EA580C;
  --blue-bright: #3B82F6;
  --blue-deep: #2563EB;     
  --text-1: #FFFFFF;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --border: #1B1B22;
  --text-3-web: #8B8B95;
  --border-the: #2A2A33;
  --kho: 1080px;
  --kho-hep: 720px;
  --nhip: 200ms;
  --duong-cong: cubic-bezier(.2, .8, .2, 1);
  --font-hien-thi: 'Barlow Condensed', 'Arial Narrow', -apple-system, BlinkMacSystemFont, "Segoe UI",
                   Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(900px 460px at 15% -6%, rgba(37, 99, 235, 0.30), transparent 65%),
    radial-gradient(760px 400px at 88% 4%, rgba(249, 115, 22, 0.22), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
.kho { max-width: var(--kho); margin: 0 auto; padding: 0 24px; }
.kho-hep { max-width: var(--kho-hep); margin: 0 auto; padding: 0 24px 72px; }
.hero { padding: 28px 0 8px; }
.dau-trang {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(1px)) {
  .dau-trang { background: rgba(14, 14, 19, .72); backdrop-filter: blur(14px) saturate(140%); }
}
.dau-trang-trong {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-block: 14px;
}
.logo {
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-1); text-decoration: none;
}
.logo span {
  background: linear-gradient(92deg, var(--blue-bright), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bo-qua-nav {
  position: fixed; z-index: 60; top: 10px; left: 10px;
  transform: translateY(-200%);
  padding: 11px 18px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--accent);
  color: var(--text-1); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform var(--nhip) var(--duong-cong);
}
.bo-qua-nav:focus { transform: none; }
#noi-dung:focus { outline: none; }
.dieu-huong { display: flex; gap: 26px; font-size: 15px; flex-wrap: wrap; }
.dieu-huong a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-2); text-decoration: none; white-space: nowrap;
  transition: color var(--nhip) var(--duong-cong);
}
.dieu-huong a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: linear-gradient(92deg, var(--blue-bright), var(--accent));
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--nhip) var(--duong-cong);
}
@media (hover: hover) {
  .dieu-huong a:hover { color: var(--text-1); }
  .dieu-huong a:hover::after { transform: scaleX(1); }
  .menu-con a:hover { background: var(--surface-3); color: var(--text-1); }
  .muc-cha.nhanh-hien-tai > a:hover::after { opacity: 1; }
  .nut-menu:hover { background: var(--surface-3); }
}
.muc-cha { position: relative; display: inline-flex; align-items: center; }
.cong-tac { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.nut-mui { display: inline-flex; align-items: center; justify-content: center; }
.cong-tac:focus-visible ~ .nut-mui { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.nut-mui.dong { display: none; }
.cong-tac:checked ~ .nut-mui.mo { display: none; }
.cong-tac:checked ~ .nut-mui.dong { display: inline-flex; }
.lop-phu { display: none; position: fixed; top: 0; left: 0; right: 0; height: 100vh; z-index: 1; }
.muc-cha { z-index: 2; }
.dieu-huong a, .nut-mui, .nut-menu, .lop-phu { -webkit-tap-highlight-color: transparent; }
.mui {
  width: 7px; height: 7px; margin-left: 7px; flex: 0 0 auto;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .5;
  transition: transform var(--nhip) var(--duong-cong), opacity var(--nhip) var(--duong-cong);
}
.menu-con {
  display: none;
  position: absolute; top: 100%; left: -12px;
  width: 306px; max-width: calc(100vw - 32px);
  padding: 8px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border-the);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  z-index: 40;
}
.menu-con.hai-cot { width: 552px; columns: 2; column-gap: 10px; }
.menu-con.hai-cot a { break-inside: avoid; }
.menu-con a {
  display: flex; width: 100%;
  min-height: 36px; padding: 5px 10px; border-radius: 8px;
  font-size: 14px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.menu-con a::after { content: none; }  
.menu-con a[aria-current] { color: var(--text-1); background: var(--surface-3); }
.muc-cha.nhanh-hien-tai > a { color: var(--text-1); }
.muc-cha.nhanh-hien-tai > a::after { transform: scaleX(1); opacity: .5; }
.hero-luoi { display: grid; gap: 28px; align-items: center; }
.hero h1 {
  font-family: var(--font-hien-thi);
  font-size: clamp(38px, 9vw, 68px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.015em;
  margin: 22px 0 0; max-width: 19ch;
  text-wrap: balance;
  background: linear-gradient(96deg, var(--blue-bright), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.co-vn {
  white-space: nowrap;
  background: linear-gradient(96deg, #DA251D, #FFFF00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.la-co {
  height: 0.52em; width: auto; display: inline-block;
  margin-left: 0.22em; vertical-align: baseline;
  border-radius: 2px;
}
.hero .phu {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-2); margin: 20px 0 0;
}
.dong-bang-chung {
  margin: 20px 0 0; font-size: 13px; color: var(--text-3-web); letter-spacing: 0.02em;
}
.hero-anh { display: flex; justify-content: center; position: relative; }
.hero-anh::before {
  content: ''; position: absolute; z-index: 0;
  width: 78%; height: 60%; top: 14%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.34), transparent 72%);
  filter: blur(30px);
}
.may-lon { position: relative; z-index: 1; width: min(268px, 66vw); transform: rotate(-2.5deg); }
.nhan-trang-thai {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
}
.nhan-trang-thai::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.20);
  animation: tho 2.4s ease-in-out infinite;
}
@keyframes tho {
  0%, 100% { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.20); }
  50%      { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0.04); }
}
.nhom-nut { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.nut {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--nhip) var(--duong-cong),
              box-shadow var(--nhip) var(--duong-cong),
              background-color var(--nhip) var(--duong-cong),
              border-color var(--nhip) var(--duong-cong);
}
.nut-chinh {
  background: linear-gradient(92deg, var(--orange-deep), var(--accent));
  color: #1A0A00;
  box-shadow: -6px 0 22px rgba(59, 130, 246, .26), 6px 0 22px rgba(249, 115, 22, .30);
}
.nut-chinh:hover {
  transform: translateY(-2px);
  box-shadow: -8px 2px 30px rgba(59, 130, 246, .42), 8px 2px 30px rgba(249, 115, 22, .48);
}
.nut-chinh::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .30) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 620ms var(--duong-cong);
}
.nut-chinh:hover::after { transform: translateX(120%); }
.nut-phu { background: var(--surface-2); border-color: var(--border); color: var(--text-1); }
.nut-phu:hover { background: var(--surface-3); border-color: var(--accent); transform: translateY(-2px); }
.nut-nho {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 16px; font-size: 14px;
}
.may { flex: 0 0 auto; }
.may .man {
  position: relative;
  aspect-ratio: 720 / 1612;
  border-radius: 34px; padding: 9px; overflow: hidden;
  background: linear-gradient(160deg, #34343E, #17171D);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
}
.may .man img { border-radius: 26px; }
.may .man img { width: 100%; height: 100%; object-fit: cover; }
.may .man .cho-anh {
  color: var(--text-3-web); font-size: 12px; text-align: center; padding: 0 18px;
}
.may .chu-thich {
  text-align: center; font-size: 13px; color: var(--text-2); margin-top: 14px;
}
.dai-so { border-block: 1px solid var(--border); background: var(--surface-1); margin-top: 44px; }
.dai-so-trong {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px 18px; padding-block: 28px;
}
.o-so { display: flex; flex-direction: column; gap: 6px; }
.icon-so {
  width: 20px; height: 20px; flex: none; margin-bottom: 4px;
  fill: none; stroke: var(--text-3-web);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.so-lon {
  font-family: var(--font-hien-thi);
  font-size: clamp(44px, 10vw, 62px); font-weight: 700;
  line-height: 1; letter-spacing: -0.01em;
  width: fit-content;
  background-image: linear-gradient(96deg, var(--accent), var(--blue-bright), var(--accent));
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.nhan-so {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-2);
}
@keyframes hien-o-so { from { opacity: 0; transform: translateY(14px); } }
@keyframes quet-so   { from { background-position: 0 0; } }
.o-so {
  animation: hien-o-so 620ms var(--duong-cong) both;
  animation-timeline: view();
  animation-range: entry 5% entry 70%;
}
.o-so:nth-child(2) { animation-delay:  90ms; animation-range: entry 13% entry 78%; }
.o-so:nth-child(3) { animation-delay: 180ms; animation-range: entry 21% entry 86%; }
.o-so:nth-child(4) { animation-delay: 270ms; animation-range: entry 29% entry 94%; }
.so-lon {
  animation: quet-so 900ms var(--duong-cong) both;
  animation-timeline: view();
  animation-range: entry 5% entry 95%;
}
.khoi { padding: 84px 0; border-top: 1px solid var(--border); }
.khoi h2 {
  font-family: var(--font-hien-thi); font-weight: 700;
  font-size: clamp(29px, 4vw, 40px); letter-spacing: -0.01em; line-height: 1.1;
  margin: 0 0 14px; max-width: 26ch;
}
.khoi .mo-ta { color: var(--text-2); margin: 0 0 40px; }
.luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.the {
  background: var(--surface-1); border: 1px solid var(--border-the);
  border-radius: 16px; padding: 26px;
  transition: transform var(--nhip) var(--duong-cong),
              border-color var(--nhip) var(--duong-cong),
              box-shadow var(--nhip) var(--duong-cong);
}
.the:hover {
  transform: translateY(-3px);
  border-color: #33333D;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .38), 0 0 22px rgba(249, 115, 22, .10);
}
.the h3 {
  margin: 0 0 9px; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.3;
}
.the p { margin: 0; color: var(--text-2); font-size: 15px; }
.dau-the {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.the .so {
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  color: var(--accent);
}
.icon-the {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: var(--text-3-web);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke var(--nhip) var(--duong-cong);
}
.the:hover .icon-the { stroke: var(--accent); }
.luoi-bento { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 599px) {
  .luoi-bento .the { grid-column: span 2; }
  .o-anh { min-height: 336px; }
  .o-anh .may { width: min(205px, 84%); }
}
.dai-anh { display: contents; }
@media (max-width: 599px) {
  .dai-anh {
    grid-column: span 2;
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .dai-anh::-webkit-scrollbar { display: none; }
  .dai-anh .o-anh { flex: 0 0 min(248px, 76%); scroll-snap-align: center; }
}
.o-anh {
  position: relative; overflow: hidden;
  background: var(--surface-1); border: 1px solid var(--border-the);
  border-radius: 16px; padding: 20px 0 0;
  min-height: 240px;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color var(--nhip) var(--duong-cong), box-shadow var(--nhip) var(--duong-cong);
}
.o-anh:hover { border-color: #33333D; box-shadow: 0 8px 26px rgba(0, 0, 0, .38); }
.chu-thich-o {
  margin: 0 18px 16px; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2);
}
.o-anh .may { width: min(190px, 82%); flex: 0 0 auto; margin-bottom: -400px; }
.van-hanh {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px;
}
.van-hanh p { color: var(--text-2); }
.van-hanh p:first-child { margin-top: 0; }
.van-hanh strong { color: var(--text-1); }
.trang-van-ban { background: var(--bg-deepest); }
.thanh-tren {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--kho-hep); margin: 0 auto; padding: 22px 24px;
  font-size: 15px;
}
.thanh-tren .ve-goc {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-2); text-decoration: none;
}
.thanh-tren .ve-goc:hover { color: var(--text-1); }
.thanh-tren .doi-ngon-ngu {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-2); text-decoration: none;
  border: 1px solid var(--border); border-radius: 9px; padding: 0 13px;
}
.thanh-tren .doi-ngon-ngu:hover { color: var(--text-1); border-color: var(--text-3); }
.nhan-app { color: var(--accent); font-size: 14px; font-weight: 600; margin: 26px 0 6px; }
.trang-van-ban h1 {
  font-family: var(--font-hien-thi); font-weight: 700;
  font-size: clamp(33px, 5vw, 46px); letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 10px;
}
.cap-nhat { color: var(--text-3-web); font-size: 14px; margin: 0 0 34px; }
.dan-nhap { font-size: 17px; color: var(--text-2); margin: 0 0 12px; }
.muc { padding: 26px 0; border-top: 1px solid var(--border); }
.muc h2 { font-size: 19px; letter-spacing: -0.01em; margin: 0 0 10px; }
.muc p { margin: 0; color: var(--text-2); }
.muc.lien-he p { color: var(--text-1); }
.khoang-tren { margin-top: 30px; }
.trang-404-main { padding-top: 80px; }
.lien-ket-404 { margin-top: 28px; }
.ghi-chu-nguon {
  margin-top: 34px; padding: 15px 18px;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text-3-web); font-size: 13px;
}
.chan-trang {
  border-top: 1px solid var(--border);
  padding: 34px 24px 56px; text-align: center;
  color: var(--text-3-web); font-size: 14px;
}
.chan-trang p { margin: 7px 0; }
.chan-trang a { color: var(--text-2); }
.chan-trang .lien-ket { display: flex; gap: 22px; justify-content: center; margin-bottom: 8px; }
.chan-trang .lien-ket a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .khoi { padding: 60px 0; }
  .o-anh { min-height: 210px; }
  .o-anh .may { margin-bottom: -200px; }
  .nhom-nut .nut { width: 100%; }
}
@media (max-width: 1023px) {
  .dau-trang-trong { gap: 10px; padding-block: 10px; flex-wrap: nowrap; }
  .nut-menu {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 auto;      
    border-radius: 12px; color: var(--text-1);
    background: var(--surface-2); border: 1px solid var(--border-the);
    transition: background-color var(--nhip) var(--duong-cong);
  }
  .nut-menu.dong { display: none; }
  .dieu-huong {
    display: none;
    position: fixed; top: 65px; left: 0; right: 0;
    scroll-margin-top: 65px;
    flex-direction: column; gap: 0;
    padding: 6px 24px 14px;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  }
  #menu:target { display: flex; }
  #menu:target ~ .nut-menu.mo { display: none; }
  #menu:target ~ .nut-menu.dong { display: inline-flex; }
  .dieu-huong a {
    width: 100%; min-height: 52px; font-size: 16px;   
    border-bottom: 1px solid var(--border);
  }
  .dieu-huong > a:last-child { border-bottom: none; }
  .muc-cha { width: 100%; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .muc-cha > a { flex: 1 1 0; width: auto; border-bottom: none; }
  .nut-mui { width: 76px; min-height: 52px; flex: 0 0 auto; color: var(--text-2); }
  .nut-mui .mui { margin-left: 0; width: 10px; height: 10px; opacity: .75; }
  .nut-mui { border-left: 1px solid var(--border); }
  .nut-mui:active { background: var(--surface-2); }
  .cong-tac:checked ~ .menu-con { display: block; }
  .cong-tac:checked ~ .nut-mui .mui { transform: translateY(2px) rotate(-135deg); opacity: 1; }
  .dieu-huong:not(:has(.cong-tac:checked)) .nhanh-hien-tai .menu-con { display: block; }
  .dieu-huong:not(:has(.cong-tac:checked)) .nhanh-hien-tai .mui {
    transform: translateY(2px) rotate(-135deg); opacity: 1;
  }
  .dieu-huong:not(:has(.cong-tac:checked)) .nhanh-hien-tai .nut-mui.mo { display: none; }
  .dieu-huong:not(:has(.cong-tac:checked)) .nhanh-hien-tai .nut-mui.dong { display: inline-flex; }
  .dieu-huong:has(.muc-cha .cong-tac:checked) .lop-phu { display: block; }
  .menu-con {
    position: static; width: 100%; max-width: none;
    padding: 2px 0 10px 14px; border: none; border-radius: 0;
    background: none; box-shadow: none;
    order: 3;                    
  }
  .menu-con.hai-cot { width: 100%; columns: 1; }
  .menu-con a { min-height: 44px; font-size: 15px; border-bottom: none; }
  .dieu-huong {
    flex-wrap: nowrap;
    max-height: calc(100vh - 65px); overflow-y: auto; overscroll-behavior: contain;
  }
  .dieu-huong a::after { content: none; }
  .dieu-huong a[hreflang] { color: var(--accent); font-weight: 600; }
  .nut-header { display: none; }
}
@media (min-width: 768px) {
  .dai-so-trong { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .nut-menu { display: none; }
  .dieu-huong, #menu:target {
    display: flex; flex-direction: row; position: static;
    padding: 0; background: none; border: none; box-shadow: none;
    max-height: none; overflow: visible;      
  }
}
@media (min-width: 1024px) and (hover: hover) {
  .muc-cha:hover > .menu-con,
  .muc-cha:focus-within > .menu-con { display: block; }
  .muc-cha:hover .mui, .muc-cha:focus-within .mui {
    transform: translateY(1px) rotate(-135deg); opacity: 1;
  }
  .nut-mui { pointer-events: none; }
}
@media (min-width: 1024px) and (hover: none) {
  .muc-cha:focus-within > .menu-con,
  .cong-tac:checked ~ .menu-con { display: block; }
  .muc-cha:focus-within .mui,
  .cong-tac:checked ~ .nut-mui .mui { transform: translateY(1px) rotate(-135deg); opacity: 1; }
  .nut-mui { width: 56px; min-height: 44px; }
  .nut-mui:active { background: var(--surface-2); border-radius: 10px; }
  .dieu-huong:has(.muc-cha .cong-tac:checked) .lop-phu { display: block; }
}
@media (min-width: 1024px) and (hover: none) {
  .nut-header { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
    animation-timeline: auto !important;
  }
  .nhan-trang-thai::before { animation: none !important; }
}
@media (min-width: 900px) {
  .luoi-bento { grid-template-columns: repeat(6, 1fr); align-items: stretch; }
  .o-thu-vien { grid-column: 1 / 3; grid-row: 1 / 3; }
  .b-311      { grid-column: 3 / 7; grid-row: 1; }
  .b-cham     { grid-column: 3 / 5; grid-row: 2; }
  .b-offline  { grid-column: 5 / 7; grid-row: 2; }
  .o-tien-bo  { grid-column: 1 / 3; grid-row: 3; }
  .b-mien-phi { grid-column: 3 / 7; grid-row: 3; }
  .o-thu-vien .may { width: min(206px, 78%); }
  .o-tien-bo { min-height: 232px; }
}
@media (min-width: 1024px) {
  .hero { padding: 52px 0 8px; }
  .hero-luoi { grid-template-columns: 1.05fr 0.95fr; gap: 52px; }
  .may-lon { width: 300px; }
}
.trang-bai-tap { background-size: 100% 900px; }
.bt-main { padding-bottom: 72px; }
.bt-dau { padding: 26px 0 8px; }
.bt-dau h1 { font-family: var(--font-hien-thi); font-size: 40px; line-height: 1.1; margin: 0 0 10px; }
.bt-mo-ta { color: var(--text-2); margin: 0; }
.bt-loc { margin: 22px 0 10px; }
.bt-nhan-muc {
  margin: 16px 0 8px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-2);
}
.bt-chip-hang { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chip {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 15px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-the);
  color: var(--text-1); text-decoration: none; font-size: 14px;
  transition: background var(--nhip) var(--duong-cong), border-color var(--nhip) var(--duong-cong);
}
.bt-chip:hover { background: var(--surface-3); border-color: var(--accent); }
.bt-chip.chon {
  background: rgba(249, 115, 22, 0.16); border-color: var(--accent); color: var(--accent);
  font-weight: 600;
}
.bt-nhom { margin-top: 34px; scroll-margin-top: 84px; }
.bt-nhom > h2 {
  font-family: var(--font-hien-thi); font-size: 24px; margin: 0 0 10px;
  display: flex; align-items: baseline; gap: 10px;
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
}
.bt-dem { font-family: inherit; font-size: 13px; font-weight: 400; color: var(--text-2); }
.bt-ds { list-style: none; margin: 0; padding: 0; }
.bt-hang > a {
  display: flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 9px 10px; margin: 0 -10px;
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: background var(--nhip) var(--duong-cong);
}
.bt-hang > a:hover { background: var(--surface-1); }
.bt-hang-anh { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 9px; background: var(--bg-deepest); }
.bt-hang-chu { display: flex; flex-direction: column; min-width: 0; }
.bt-hang-ten { font-weight: 600; }
.bt-hang-en { font-size: 13px; color: var(--text-2); }
.bt-cho-anh {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px dashed var(--border-the);
  border-radius: 9px; color: var(--text-3-web);
}
.bt-cho-anh svg { width: 42%; height: 42%; }
.bt-hang-anh.bt-cho-anh { width: 48px; height: 48px; flex: 0 0 48px; }
.bt-duong-dan { padding: 20px 0 14px; font-size: 14px; color: var(--text-2); }
.bt-duong-dan a { text-decoration: none; }
.bt-duong-dan a:hover { text-decoration: underline; }
.bt-duong-dan span { margin: 0 6px; color: var(--text-3-web); }
.bt-anh-lon {
  width: 100%; max-width: 480px; height: auto; aspect-ratio: 1;
  margin: 0 auto; border-radius: 16px; background: var(--bg-deepest);
}
.bt-anh-doi { max-width: 236px; display: inline-block; margin: 0 4px; }
.bt-chi-tiet h1 { font-family: var(--font-hien-thi); font-size: 34px; line-height: 1.15; margin: 22px 0 4px; }
.bt-ten-en { margin: 0 0 10px; color: var(--text-2); }
.bt-meta { margin: 0 0 22px; font-size: 14px; color: var(--text-2); }
.bt-huy-hieu {
  display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; text-decoration: none; vertical-align: 1px;
  border: 1px solid currentColor;
}
.bt-huy-hieu:hover { background: var(--surface-2); }
.bt-hh-beginner { color: #4ADE80; }
.bt-hh-intermediate { color: var(--blue-bright); }
.bt-hh-advanced { color: var(--accent); }
.bt-the {
  background: var(--surface-1); border: 1px solid var(--border-the);
  border-radius: 16px; padding: 20px; margin-bottom: 16px;
}
.bt-the > h2 {
  margin: 0 0 12px; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3;
}
.bt-the p { margin: 0; }
.bt-ds-so, .bt-ds-cham { margin: 0; padding-left: 22px; }
.bt-ds-so li, .bt-ds-cham li { margin-bottom: 8px; }
.bt-ds-so li:last-child, .bt-ds-cham li:last-child { margin-bottom: 0; }
.bt-ds-so li::marker { color: var(--accent); font-weight: 700; }
.bt-ds-cham li::marker { color: var(--accent); }
.bt-co-hang { display: flex; gap: 14px; align-items: flex-start; }
.bt-co-hang + .bt-co-hang { margin-top: 18px; }
.bt-co-anh { width: 65px; height: 160px; flex: 0 0 65px; object-fit: cover; object-position: center; }
.bt-co-ten { font-weight: 600; margin: 0 0 4px; }
.bt-co-mo-ta { font-size: 14px; color: var(--text-2); margin: 0; }
.bt-tb-hang + .bt-tb-hang { margin-top: 14px; }
.bt-chip-tinh {
  display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-the); font-size: 14px;
}
.bt-chip-tinh-hang { gap: 8px; }
.bt-qh .bt-hang > a { padding: 7px 10px; }
.bt-cat { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }
.bt-dan-nhap { margin: 22px 0 18px; }
.bt-dan-nhap p { margin: 0 0 14px; color: var(--text-2); }
.bt-dan-nhap p:last-child { margin-bottom: 0; }
.bt-chot .bt-ds-cham li { color: var(--text-1); }
.bt-bang-cuon { overflow-x: auto; }
.bt-bang { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; }
.bt-bang th, .bt-bang td { padding: 9px 12px; text-align: left; vertical-align: top; }
.bt-bang thead th {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-2); border-bottom: 1px solid var(--border-the);
}
.bt-bang tbody th { font-weight: 600; color: var(--text-1); }
.bt-bang tbody td { color: var(--text-2); }
.bt-bang tbody tr + tr th, .bt-bang tbody tr + tr td { border-top: 1px solid var(--border); }
.bt-bang-ghi-chu { margin: 14px 0 0 !important; font-size: 13px; color: var(--text-2); }
.bt-hoi + .bt-hoi { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.bt-hoi h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.bt-hoi p { color: var(--text-2); }
.bt-xem { list-style: none; margin: 0; padding: 0; }
.bt-xem li + li { margin-top: 8px; }
.bt-xem a { color: var(--text-1); }
.bt-xem-duoi { color: var(--text-2); font-size: 14px; }
.bt-bang a { color: var(--text-1); }
@media (min-width: 720px) {
  .bt-dau { padding: 40px 0 8px; }
  .bt-dau h1 { font-size: 54px; }
  .bt-chi-tiet h1 { font-size: 42px; }
  .bt-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px 18px; }
  .bt-qh { grid-template-columns: 1fr; }
  .bt-the { padding: 26px; }
}
.bv-bai > p, .bv-pillar > p { color: var(--text-2); margin: 0 0 16px; }
.bv-bai > h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.25; }
.bv-bai > h3 { margin: 26px 0 8px; font-size: 18px; }
.bv-bai code { font-size: 0.92em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.bv-bai h1, .bv-pillar h1 { font-family: var(--font-hien-thi); line-height: 1.15; margin: 22px 0 4px; }
.bv-bai > h2, .bv-bai > h3 { font-family: var(--font-hien-thi); }
.bv-byline { color: var(--text-2); font-size: 14px; margin: 0 0 26px !important; }
.bv-ds { color: var(--text-2); margin: 0 0 16px; padding-left: 22px; }
.bv-ds li + li { margin-top: 7px; }
.bv-trich {
  margin: 0 0 18px; padding: 2px 0 2px 18px; border-left: 3px solid var(--accent);
}
.bv-trich p { color: var(--text-1); margin: 0; }
.bv-trich p + p { margin-top: 8px; }
.bv-ds-nguon { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.65; }
.bv-ds-nguon li { overflow-wrap: anywhere; }
.bv-ds-nguon li + li { margin-top: 10px; }
.bv-ds-nguon a { color: var(--text-1); }
.bv-ve-pillar { margin: 34px 0 0 !important; }
.bv-ve-pillar a { color: var(--text-1); }
.bv-ds-bai { list-style: none; margin: 0; padding: 0; }
.bv-ds-bai li + li { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.bv-ds-bai a { color: var(--text-1); font-weight: 600; }
.bv-ds-bai span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14px; }
.bv-chua-co { color: var(--text-2); }
@media (min-width: 720px) {
  .bv-bai h1, .bv-pillar h1 { font-size: 42px; }
}
