/* Sanh Cong - ban thu 5. Chu va khung theo tang AMaze cua Design System ban 4: nen toi, xanh bang, Grenze + Work Sans, khung nut goc. */
:root {
  --nen: #06111A;
  --bang: #8DE3E6;
  --chu: #EAF5F6;
  --mo: #93A9AF;
  --hien: "Grenze", Georgia, serif;
  --than: "Work Sans", "Segoe UI", system-ui, sans-serif;
  --le: clamp(14px, 2.2vw, 30px);
  --logo: clamp(54px, 6.4vw, 84px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--nen); color: var(--chu); font-family: var(--than);
  overflow: hidden; overscroll-behavior: none; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Trang chu la mot trang cuon: man dau la sanh ba cong (canh 3D), ben duoi la phan cho nguoi choi moi va phan cho dan escape. */
.trang-chu { position: fixed; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.trang-chu.khoa { overflow: hidden; }
/* thanh cuon manh, cung mau nen; giu cho san de sanh khong doi be ngang khi thanh cuon hien ra */
.trang-chu, .me-cung, .the-gioi { scrollbar-width: thin; scrollbar-color: rgba(141, 227, 230, .38) #06111A; }
.trang-chu { scrollbar-gutter: stable; }
.trang-chu::-webkit-scrollbar, .me-cung::-webkit-scrollbar, .the-gioi::-webkit-scrollbar { width: 9px; }
.trang-chu::-webkit-scrollbar-track, .me-cung::-webkit-scrollbar-track, .the-gioi::-webkit-scrollbar-track { background: #06111A; }
.trang-chu::-webkit-scrollbar-thumb, .me-cung::-webkit-scrollbar-thumb, .the-gioi::-webkit-scrollbar-thumb { background: rgba(141, 227, 230, .32); border: 2px solid #06111A; border-radius: 6px; }
.trang-chu::-webkit-scrollbar-thumb:hover { background: rgba(141, 227, 230, .6); }
.sanh { position: relative; height: 100vh; height: 100svh; min-height: 350px; overflow: hidden; touch-action: pan-y; background: var(--nen); }
#canh { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.sanh.tro { cursor: pointer; }
.kieu-doc .sanh { cursor: grab; }
.kieu-doc .sanh.tro { cursor: pointer; }
.sanh.dang-keo { cursor: grabbing; }
.sanh::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; background: linear-gradient(to bottom, rgba(6, 17, 26, 0), rgba(6, 17, 26, .9)); }
/* Hai dai den nhu khung phim, chi hien trong doan mo dau va luc bay qua cong */
.dai { position: fixed; left: 0; right: 0; height: 0; background: #000; z-index: 4; pointer-events: none; transition: height 1.1s cubic-bezier(.6, 0, .2, 1); }
.dai.tren { top: 0; }
.dai.duoi { bottom: 0; }
.dien-anh .dai { height: 7.5vh; }

/* Khung nut goc cua man dau */
.khung { position: absolute; z-index: 1; inset: var(--le); border: 1px solid rgba(141, 227, 230, .38); pointer-events: none; }
.khung i { position: absolute; width: 19px; height: 19px; border-radius: 50%; border: 1px solid rgba(141, 227, 230, .75);
  background: radial-gradient(circle, var(--nen) 0 3.2px, rgba(141, 227, 230, .8) 3.2px 4.4px, var(--nen) 4.4px); }
.khung i:nth-child(1) { left: -10px; top: -10px; }
.khung i:nth-child(2) { right: -10px; top: -10px; }
.khung i:nth-child(3) { left: -10px; bottom: -10px; }
.khung i:nth-child(4) { right: -10px; bottom: -10px; }

/* Dau trang: logo va nut Dat lich luon o tren cung. Cuon qua sanh thi thu gon, co nen va hien muc luc. */
.dau { position: fixed; z-index: 9; left: 0; right: 0; top: 0; padding: calc(var(--le) + 14px) calc(var(--le) + 24px) 8px calc(var(--le) + 22px);
  display: flex; gap: 10px; align-items: flex-start; pointer-events: none; border-bottom: 1px solid transparent; transition: padding .35s ease, background .35s ease, border-color .35s ease; }
.dau > * { pointer-events: auto; }
.dau-logo { display: block; flex: none; }
.logo { width: var(--logo); height: auto; display: block; transition: width .35s ease; }
.dau-loi { display: none; margin-left: auto; align-self: center; }
.dau-loi button { min-height: 44px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--chu); white-space: nowrap; }
.dau-loi button:hover { color: var(--bang); }
.dau-dat { margin-left: auto; flex: none; white-space: nowrap; }
.da-cuon .dau { padding: 7px calc(var(--le) + 14px); align-items: center; background: rgba(6, 17, 26, .92); border-bottom-color: rgba(141, 227, 230, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.da-cuon .logo { width: 38px; }
.da-cuon .dau-loi { display: flex; }
.da-cuon .dau-dat { margin-left: 6px; min-height: 40px; padding: 6px 16px 7px; font-size: 16.5px; }

/* Dang tai */
.tai { position: fixed; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--nen); transition: opacity .8s ease; }
.tai img { width: 58px; height: 58px; animation: tho 1.8s ease-in-out infinite; }
.tai p { margin: 0; font-family: var(--hien); font-size: 19px; color: var(--mo); }
.tai.xong { opacity: 0; pointer-events: none; }
@keyframes tho { 50% { opacity: .35; transform: scale(.94); } }

/* Mo dau */
.mo-dau { position: fixed; inset: 0; z-index: 7; pointer-events: none; display: grid; justify-items: center; align-content: start; padding-top: clamp(96px, 17vh, 190px); }
.cau { grid-area: 1 / 1; margin: 0; text-align: center; font-family: var(--hien); font-weight: 600; line-height: 1.04;
  font-size: clamp(34px, 5.4vw, 76px); color: #F4FBFB; text-wrap: balance;
  opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
  text-shadow: 0 2px 30px rgba(3, 9, 14, .9); }
.cau.bang { color: var(--bang); }
.cau small { display: block; margin-top: 16px; font-family: var(--than); font-weight: 500; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .05em; line-height: 1.4; color: var(--chu); }
.cau.hien { opacity: 1; transform: none; }
.cau.di { opacity: 0; transform: translateY(-10px); transition-duration: .6s; }
.bo-qua { position: fixed; z-index: 8; left: 50%; bottom: calc(var(--le) + 22px); transform: translateX(-50%); pointer-events: auto;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mo); padding: 12px 18px; transition: opacity .5s; }
.bo-qua:hover { color: var(--bang); }
.mo-dau.xong .bo-qua { opacity: 0; pointer-events: none; }

/* Man dau: chu, nut va nhan phu len canh 3D */
.sanh-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.sanh-ui.hien { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.sanh-ui > * { pointer-events: auto; }

/* Ba dieu khach phai nhan ra ngay: day la choi Escape, do kho cao, VR tao ra Escape Maze */
.tuyen-bo { position: absolute; text-align: center; pointer-events: none !important; }
.tuyen-bo::before { content: ""; position: absolute; z-index: -1; inset: -36px -90px -46px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .52) 0, rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, 0) 100%); }
.kieu-ngang .tuyen-bo { top: calc(var(--le) + clamp(12px, 2.6vh, 26px)); left: 50%; transform: translateX(-50%);
  width: min(1040px, calc(100% - 2 * (var(--le) + var(--logo) + 64px))); }
.tb-nhan { margin: 0 0 clamp(5px, 1.2vh, 12px); font-size: clamp(10px, 1.65vh, 12.5px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bang); text-shadow: 0 1px 12px rgba(3, 9, 14, .95); }
.tb-nhan b { font-weight: inherit; }
.tb-nhan em { font-style: normal; white-space: nowrap; }
.tb-nhan i { font-style: normal; opacity: .6; margin: 0 .3em; }
.tb-cau { margin: 0; font-family: var(--hien); font-weight: 700; font-size: clamp(24px, 4.9vh, 40px); line-height: 1.05; color: #F4FBFB; text-shadow: 0 2px 26px rgba(3, 9, 14, .9); }
/* man ngang du rong thi ca cau nam tren mot dong, hep hon thi tu xuong dong giua hai ve */
.tb-cau span, .tb-cau b { display: inline-block; }
.kieu-doc .tb-cau span, .kieu-doc .tb-cau b, .khong-3d .tb-cau span, .khong-3d .tb-cau b { display: block; }
.tb-cau b { font-weight: 700; color: var(--bang); }
.tb-phu { margin: clamp(5px, 1.3vh, 12px) auto 0; font-size: clamp(12.5px, 2.05vh, 15.5px); line-height: 1.5; color: #D5E3E6; text-shadow: 0 1px 10px rgba(3, 9, 14, .95); }
.tb-phu b { font-weight: 600; color: #F4FBFB; white-space: nowrap; }
.tb-phu .dt { display: none; }

/* Man ngang: moi cong mot nut ngay duoi chan cong, di theo hinh chieu cua cong tren man hinh */
.ba-cong { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none !important; }
.kieu-doc .ba-cong { display: none; }
.cong-nut { position: absolute; left: 0; top: 0; width: max-content; max-width: min(280px, 30vw); padding: 4px 10px 8px; text-align: center; pointer-events: auto;
  color: var(--mau); text-shadow: 0 1px 16px rgba(3, 9, 14, .95), 0 0 3px rgba(3, 9, 14, .9); opacity: .84; transition: opacity .3s ease; }
.cong-nut::before { content: ""; position: absolute; z-index: -1; inset: -12px -34px -16px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .36) 55%, rgba(0, 0, 0, 0) 100%); }
.cong-nut small { display: block; font-size: clamp(9.5px, 1.45vh, 11px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--chu); }
.cong-nut b { display: block; margin-top: 2px; font-family: var(--hien); font-weight: 700; font-size: clamp(26px, 5.2vh, 44px); line-height: 1; }
.cong-nut em { display: block; margin-top: clamp(3px, .8vh, 7px); font-style: normal; font-family: var(--hien); font-weight: 500; font-size: clamp(13.5px, 2.3vh, 17.5px); line-height: 1.22; color: #EAF5F6; text-wrap: balance; }
.cong-nut span { display: inline-block; margin-top: clamp(5px, 1.2vh, 10px); padding: 4px 14px 5px; border: 1px solid color-mix(in srgb, var(--mau) 60%, transparent); background: rgba(6, 17, 26, .55);
  font-family: var(--hien); font-weight: 600; font-size: clamp(13.5px, 2.1vh, 16px); color: #F4FBFB; text-shadow: none; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.cong-nut.chon, .cong-nut:hover { opacity: 1; }
.cong-nut.chon span, .cong-nut:hover span, .cong-nut:focus-visible span { background: var(--mau); border-color: var(--mau); color: #06111A; box-shadow: 0 0 26px color-mix(in srgb, var(--mau) 42%, transparent); }

/* Nhan nho tren dau Nguoi Gac Cong: bam de nho chon giup */
.ngc-nut { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; white-space: nowrap;
  font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--chu); opacity: .8;
  text-shadow: 0 1px 10px rgba(3, 9, 14, 1), 0 0 3px rgba(3, 9, 14, .95); transition: opacity .3s, color .3s; }
.ngc-nut i { flex: none; width: 9px; height: 10px; background: var(--bang); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ngc-nut:hover, .ngc-nut.noi, .ngc-nut:focus-visible { opacity: 1; color: var(--bang); }
.ngc-nut.an { opacity: 0; pointer-events: none; }

/* Man doc: mot cong lon o giua, bang chon nam duoi */
.bang-chon { display: none; }
.kieu-doc .bang-chon { display: block; position: absolute; left: 0; right: 0; bottom: 0; text-align: center; pointer-events: none;
  padding: 44px calc(var(--le) + 16px) calc(var(--le) + 74px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(6, 17, 26, .97) 0, rgba(6, 17, 26, .93) 64%, rgba(6, 17, 26, 0)); }
.kieu-doc .bang-chon > * { pointer-events: auto; }
.bc-ba { display: flex; justify-content: center; gap: 2px; margin-bottom: 8px; }
.bc-ba-nut { min-height: 40px; padding: 8px 11px 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mo);
  border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.bc-ba-nut.chon { color: var(--mau); border-bottom-color: var(--mau); }
.bc-ten { margin: 0 0 4px; font-family: var(--hien); font-weight: 700; line-height: .96; font-size: clamp(40px, 12.5vw, 58px); text-shadow: 0 2px 26px rgba(3, 9, 14, .9); }
.bc-cau { margin: 0 auto 13px; max-width: 30ch; font-family: var(--hien); font-weight: 500; font-size: 17px; line-height: 1.25; color: #F4FBFB; text-shadow: 0 1px 14px rgba(3, 9, 14, .95); }
.bang-chon.doi > .bc-ten, .bang-chon.doi > .bc-cau { animation: doi .5s ease both; }
.bang-chon.doi > .bc-cau { animation-delay: .06s; }
@keyframes doi { from { opacity: 0; transform: translateY(10px); } }
.bc-hang { display: flex; justify-content: center; align-items: center; gap: 14px; }
.goi-y { margin: 9px 0 0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--mo); transition: opacity .8s; pointer-events: none !important; }
.goi-y.an-di { opacity: 0; }

/* Hai loi vao theo nhu cau: nguoi choi moi va dan escape */
.hai-loi { position: absolute; left: 50%; bottom: calc(var(--le) + clamp(8px, 1.8vh, 18px)); transform: translateX(-50%); display: flex; gap: 12px; }
.hai-loi button { display: grid; grid-template-columns: auto 18px; column-gap: 14px; align-items: center; text-align: left; min-height: 48px; padding: 6px 14px 7px 16px;
  border: 1px solid rgba(141, 227, 230, .42); background: rgba(6, 17, 26, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hai-loi small { grid-column: 1; font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--mo); white-space: nowrap; }
.hai-loi b { grid-column: 1; font-family: var(--hien); font-weight: 600; font-size: 17px; line-height: 1.15; color: #F4FBFB; white-space: nowrap; }
.hai-loi svg { grid-column: 2; grid-row: 1 / 3; width: 18px; height: 18px; fill: none; stroke: var(--bang); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nhun 2.2s ease-in-out infinite; }
.hai-loi button:hover { background: rgba(141, 227, 230, .16); border-color: var(--bang); }
@keyframes nhun { 50% { transform: translateY(3px); } }
.kieu-doc .hai-loi { left: calc(var(--le) + 12px); right: calc(var(--le) + 12px); transform: none; gap: 8px; bottom: calc(var(--le) + 10px + env(safe-area-inset-bottom, 0px)); }
.kieu-doc .hai-loi button { flex: 1 1 0; min-width: 0; grid-template-columns: minmax(0, 1fr) 16px; column-gap: 6px; padding: 6px 9px 7px 11px; min-height: 52px; }
.kieu-doc .hai-loi small { font-size: 9.5px; letter-spacing: .1em; }
.kieu-doc .hai-loi b { font-size: 15.5px; }
.kieu-doc .hai-loi b span, .kieu-doc .hai-loi small span { display: none; }
.kieu-doc .hai-loi small, .kieu-doc .hai-loi b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Man doc: dong nhan nam canh logo, cau chinh nam ngay duoi */
.kieu-doc .tuyen-bo { top: calc(var(--le) + 14px); left: calc(var(--le) + 14px); right: calc(var(--le) + 14px); }
.kieu-doc .tuyen-bo::before { inset: -20px -30px -34px; }
.kieu-doc .tb-nhan { display: flex; flex-direction: column; justify-content: center; height: calc(var(--logo) * 1.134); margin: 0 96px 6px calc(var(--logo) + 12px); text-align: left; font-size: 10px; line-height: 1.35; letter-spacing: .12em; color: var(--chu); }
.kieu-doc .tb-nhan b { display: block; margin-bottom: 4px; font-family: var(--hien); font-weight: 600; font-size: 15.5px; letter-spacing: .03em; text-transform: none; color: var(--bang); }
.kieu-doc .tb-nhan b + i { display: none; }
.kieu-doc .tb-cau { font-size: clamp(23px, 6.7vw, 31px); }
.kieu-doc .tb-phu { margin-top: 6px; font-size: 12.5px; color: var(--chu); text-shadow: 0 1px 8px rgba(3, 9, 14, 1), 0 0 3px rgba(3, 9, 14, .9); }
.kieu-doc .tb-phu .may { display: none; }
.kieu-doc .tb-phu .dt { display: inline; }

.nut { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 26px 11px; background: var(--bang); color: #06111A;
  font-family: var(--hien); font-weight: 700; font-size: 21px; letter-spacing: .01em; transition: transform .2s ease, box-shadow .3s ease, filter .2s; }
.nut:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(141, 227, 230, .35); }
.nut:active { transform: none; filter: brightness(.9); }
.nut:focus-visible, .mui:focus-visible, .tg-ve:focus-visible, .bo-qua:focus-visible, .nut-vien:focus-visible, .nut-chu:focus-visible, .ap:focus-visible, .hop-dong:focus-visible, .cg-nut:focus-visible, .cg-the:focus-visible, .dp-the:focus-visible,
.cong-nut:focus-visible, .ngc-nut:focus-visible, .bc-ba-nut:focus-visible, .hai-loi button:focus-visible, .dau-loi button:focus-visible, .dau-logo:focus-visible, .loc button:focus-visible { outline: 2px solid var(--bang); outline-offset: 3px; }

.mui { flex: none; width: 46px; height: 46px; border: 1px solid rgba(141, 227, 230, .5); border-radius: 50%;
  display: grid; place-items: center; background: rgba(6, 17, 26, .55); transition: background .2s, opacity .3s, border-color .2s; }
.mui svg, .tg-ve svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mui { color: var(--bang); }
.mui:hover { background: rgba(141, 227, 230, .16); border-color: var(--bang); }
.mui[disabled] { opacity: .22; cursor: default; }
/* Nut phu: vien manh, va nut chi co chu */
.nut-vien { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px 9px; border: 1px solid rgba(141, 227, 230, .55); background: rgba(6, 17, 26, .55);
  font-family: var(--hien); font-weight: 600; font-size: 18px; color: var(--bang); transition: background .2s, border-color .2s; }
.nut-vien:hover { background: rgba(141, 227, 230, .14); border-color: var(--bang); }
.nut-chu { min-height: 44px; padding: 8px 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mo); }
.nut-chu:hover { color: var(--bang); }
.sao i { font-style: normal; opacity: .28; }

/* Chop sang khi buoc qua cong */
.chop { position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0; background: #000; }

/* Trang the gioi: tang the gioi, mau va phong rieng */
.the-gioi { position: fixed; inset: 0; z-index: 30; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--tg-nen, #000); color: var(--tg-chu, #fff); opacity: 0; transition: opacity .7s ease; }
.the-gioi.hien { opacity: 1; }
.tg-nen { position: fixed; inset: -8%; background-repeat: no-repeat; background-size: cover; background-position: 50% 30%; filter: blur(46px) saturate(.85) brightness(.36); }
.tg-nen::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--tg-nen) 82%, transparent) 0, color-mix(in srgb, var(--tg-nen) 38%, transparent) 100%); }
@keyframes troi { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.tg-than { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--le) + 18px) clamp(26px, 6.5vw, 110px) 0; }
.tg-ve { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 10px; margin-left: -10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-chu); border: 1px solid transparent; transition: border-color .2s; }
.tg-ve:hover { border-color: color-mix(in srgb, var(--tg-chu) 45%, transparent); }
.tr-dau { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tg-hai { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 37%); gap: clamp(28px, 5vw, 84px); align-items: start; padding: clamp(18px, 4vh, 44px) 0 44px; }
.tg-noi-dung { max-width: 620px; }
.tg-poster { margin: 0; justify-self: end; width: 100%; max-width: 450px; animation: len 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
.tg-poster img { display: block; width: 100%; height: auto; border: 1px solid color-mix(in srgb, var(--tg-chu) 22%, transparent);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .75), 0 0 80px color-mix(in srgb, var(--tg-nhan) 16%, transparent); }
.tg-noi-dung > * { animation: len .9s cubic-bezier(.2, .7, .2, 1) both; }
.tg-noi-dung > :nth-child(2) { animation-delay: .08s; }
.tg-noi-dung > :nth-child(3) { animation-delay: .16s; }
.tg-noi-dung > :nth-child(4) { animation-delay: .26s; }
.tg-noi-dung > :nth-child(5) { animation-delay: .36s; }
.tg-noi-dung > :nth-child(6) { animation-delay: .44s; }
.tg-noi-dung > :nth-child(7) { animation-delay: .52s; }
@keyframes len { from { opacity: 0; transform: translateY(22px); } }
.tg-me-cung { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tg-mc); }
.tg-me-cung .sao { margin-left: 10px; letter-spacing: .12em; }
.tg-me-cung .sao i { font-style: normal; opacity: .28; }
.tg-ten { margin: 0; font-family: var(--tg-f-ten); font-weight: var(--tg-w-ten, 700); color: var(--tg-nhan); line-height: .96;
  font-size: calc(clamp(46px, 6.6vw, 96px) * var(--tg-co, 1)); letter-spacing: var(--tg-gian, 0); text-shadow: 0 2px 40px rgba(0, 0, 0, .7); }
.tg-ten span { display: block; }
.tg-phu { margin: 12px 0 0; font-family: var(--tg-f-cau); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: .18em; color: var(--tg-chu); opacity: .9; }
.tg-chuyen { margin: 26px 0 0; font-family: var(--tg-f-cau); font-weight: 500; font-size: clamp(19px, 1.75vw, 23px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.tg-luat { margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, var(--tg-chu) 28%, transparent);
  display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; font-size: 15.5px; line-height: 1.45; }
.tg-luat dt { font-family: var(--hien); font-weight: 700; font-size: 17px; color: var(--tg-nhan); }
.tg-luat dd { margin: 0; min-width: 0; }
.tg-mot-luot { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tg-mot-luot li { font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--tg-chu) 34%, transparent); }
.tg-nut { margin-top: 30px; background: var(--tg-nhan); color: var(--tg-nen); }
.tg-nut:hover { box-shadow: 0 0 34px color-mix(in srgb, var(--tg-nhan) 45%, transparent); }

/* Chan trang: du bon co so, co o trang me cung, trang the gioi va trang du phong */
.chan { margin-top: auto; padding: 26px 0 calc(var(--le) + 14px); border-top: 1px solid rgba(255, 255, 255, .16); font-family: var(--than); color: var(--chu); }
.chan-cs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 26px; }
.chan-cs b { display: block; font-family: var(--hien); font-weight: 700; font-size: 19px; color: var(--bang); }
.chan-cs span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: #C5D4D8; }
.chan-cs a { display: inline-block; margin-top: 6px; padding: 4px 0; font-weight: 600; font-size: 15px; color: #F4FBFB; text-decoration: none; border-bottom: 1px solid rgba(141, 227, 230, .5); }
.chan-day { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.chan-nho { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--bang); }
.chan-lon { margin: 0; font-family: var(--hien); font-weight: 600; font-size: 21px; color: #F4FBFB; }
.chan-day img { width: 44px; height: auto; }

/* Trang me cung: sau cong chinh, chon tung the gioi bang poster game */
.me-cung { --tg-chu: var(--chu); position: fixed; inset: 0; z-index: 29; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--nen); color: var(--chu); opacity: 0; transition: opacity .7s ease; }
.me-cung.hien { opacity: 1; }
.me-cung:focus, .the-gioi:focus { outline: none; }
.mc-nen { position: fixed; inset: 0; background-size: cover; background-position: 50% 30%; opacity: .85; }
.mc-nen::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6, 17, 26, .2) 0, rgba(6, 17, 26, .62) 34%, var(--nen) 74%), linear-gradient(to right, rgba(6, 17, 26, .88) 0, rgba(6, 17, 26, .5) 45%, rgba(6, 17, 26, .08) 100%); }
.mc-than { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--le) + 18px) clamp(26px, 6.5vw, 110px) 0; }
.me-cung .tg-ve { color: var(--chu); }
.me-cung .tg-ve:hover { border-color: rgba(234, 245, 246, .45); }
.mc-dau { margin-top: clamp(22px, 5vh, 56px); max-width: 720px; }
.mc-dau > *, .mc-chon { animation: len .9s cubic-bezier(.2, .7, .2, 1) both; }
.mc-nhan { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mc-mau); }
.mc-ten { margin: 0; font-family: var(--hien); font-weight: 700; font-size: clamp(56px, 8.4vw, 118px); line-height: .94; color: var(--mc-mau); text-shadow: 0 2px 40px rgba(0, 0, 0, .7); }
.mc-cau { margin: 14px 0 0; font-family: var(--hien); font-weight: 500; font-size: clamp(20px, 2vw, 27px); line-height: 1.25; color: #F4FBFB; }
.mc-luat { margin: 22px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 7px 22px; font-size: 15.5px; line-height: 1.45; }
.mc-luat dt { font-family: var(--hien); font-weight: 700; font-size: 17px; color: var(--mc-mau); }
.mc-luat dd { margin: 0; min-width: 0; }
.mc-chon { margin: clamp(28px, 5.5vh, 52px) 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mo); animation-delay: .2s; }
.mc-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(16px, 2vw, 28px); padding-bottom: 56px; max-width: 1280px; }
.ap { display: block; text-align: left; animation: len .9s cubic-bezier(.2, .7, .2, 1) both; }
.ap:nth-child(1) { animation-delay: .22s; } .ap:nth-child(2) { animation-delay: .3s; } .ap:nth-child(3) { animation-delay: .38s; }
.ap:nth-child(4) { animation-delay: .46s; } .ap:nth-child(5) { animation-delay: .54s; } .ap:nth-child(n + 6) { animation-delay: .62s; }
.ap-anh { display: block; aspect-ratio: 520 / 735; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.ap-anh img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap:hover .ap-anh, .ap:focus-visible .ap-anh { transform: translateY(-6px); border-color: var(--mc-mau);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 34px color-mix(in srgb, var(--mc-mau) 35%, transparent); }
.ap-ten { display: block; margin-top: 12px; font-family: var(--hien); font-weight: 600; font-size: 21px; line-height: 1.1; color: #F4FBFB; }
.ap-phu { display: block; margin-top: 5px; font-size: 13px; letter-spacing: .12em; color: var(--mc-mau); }

/* Hop noi: Nguoi Gac Cong chon giup, dat lich */
.hop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; opacity: 0; transition: opacity .3s ease; }
.hop.hien { opacity: 1; }
.hop-nen { position: absolute; inset: 0; background: rgba(2, 7, 11, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hop-than { position: relative; width: min(560px, 100%); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow-y: auto; background: #081722;
  border: 1px solid rgba(141, 227, 230, .42); padding: 30px clamp(20px, 4vw, 38px) 28px; box-shadow: 0 30px 100px rgba(0, 0, 0, .7); }
.hop-than.hep { width: min(500px, 100%); }
.hop-dong { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--mo); }
.hop-dong:hover { color: var(--bang); }
.hop-dong svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hop-nhan { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bang); }
.hop-ten { margin: 0 0 20px; padding-right: 30px; font-family: var(--hien); font-weight: 700; font-size: clamp(27px, 3.4vw, 36px); line-height: 1.08; color: #F4FBFB; outline: none; text-wrap: balance; }

.cg-dap { display: grid; gap: 10px; }
.cg-nut { min-height: 52px; padding: 12px 18px; text-align: left; font-size: 16.5px; border: 1px solid rgba(141, 227, 230, .35); background: rgba(141, 227, 230, .04); transition: background .2s, border-color .2s; }
.cg-nut:hover, .cg-nut:focus-visible { background: rgba(141, 227, 230, .14); border-color: var(--bang); }
.cg-kq-mc { margin: -8px 0 8px; font-family: var(--hien); font-weight: 600; font-size: 21px; line-height: 1.25; }
.cg-kq-ly { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: #C5D4D8; }
.cg-the { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; width: 100%; padding: 10px; text-align: left;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.cg-the:hover { border-color: var(--bang); background: rgba(141, 227, 230, .08); }
.cg-the img { display: block; width: 96px; height: auto; }
.cg-the small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mo); }
.cg-the b { display: block; margin: 6px 0 4px; font-family: var(--hien); font-size: 25px; line-height: 1.05; color: #F4FBFB; }
.cg-the i { font-style: normal; font-size: 14px; letter-spacing: .12em; color: var(--bang); }
.cg-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }

.dl-buoc { list-style: none; display: flex; gap: 8px; margin: 0 0 20px; padding: 0; }
.dl-buoc li { flex: 1; padding-top: 9px; border-top: 2px solid rgba(141, 227, 230, .2); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mo); }
.dl-buoc li.dang { border-color: var(--bang); color: var(--bang); }
.dl-buoc li.qua { border-color: rgba(141, 227, 230, .6); color: var(--chu); }
.dl-phan { border: 0; margin: 0; padding: 0; min-width: 0; }
.dl-phan legend { padding: 0; margin-bottom: 12px; font-family: var(--hien); font-weight: 600; font-size: 20px; color: #F4FBFB; }
.dl-co-so { display: grid; gap: 10px; }
.dl-cs, .dl-ng { position: relative; display: block; cursor: pointer; }
.dl-cs input, .dl-ng input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dl-cs span { display: block; padding: 12px 16px; border: 1px solid rgba(141, 227, 230, .3); transition: background .2s, border-color .2s; }
.dl-cs b { display: block; font-family: var(--hien); font-size: 19px; color: #F4FBFB; }
.dl-cs small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #B9CACE; }
.dl-cs:hover span { border-color: rgba(141, 227, 230, .7); }
.dl-cs input:checked + span { border-color: var(--bang); background: rgba(141, 227, 230, .13); box-shadow: inset 3px 0 0 var(--bang); }
.dl-cs input:focus-visible + span, .dl-ng input:focus-visible + span { outline: 2px solid var(--bang); outline-offset: 2px; }
.dl-nguoi { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.dl-ng span { display: grid; place-items: center; height: 46px; border: 1px solid rgba(141, 227, 230, .3); font-family: var(--hien); font-weight: 600; font-size: 20px; transition: background .2s, border-color .2s; }
.dl-ng:hover span { border-color: rgba(141, 227, 230, .7); }
.dl-ng input:checked + span { background: var(--bang); border-color: var(--bang); color: #06111A; }
.dl-doi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.dl-o { display: block; margin-bottom: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mo); }
.dl-o input, .dl-o select, .dl-o textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 46px; margin-top: 7px; padding: 10px 12px; border: 1px solid rgba(141, 227, 230, .3); border-radius: 0;
  background: rgba(3, 9, 14, .6); color: var(--chu); font: 500 16px var(--than); letter-spacing: 0; text-transform: none; color-scheme: dark; }
.dl-o textarea { min-height: 64px; resize: vertical; }
.dl-o select option, .dl-o select optgroup { background: #081722; color: #EAF5F6; }
.dl-o input:focus, .dl-o select:focus, .dl-o textarea:focus { outline: none; border-color: var(--bang); box-shadow: 0 0 0 1px var(--bang); }
.dl-uoc { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #F4FBFB; }
.dl-uoc:empty, .dl-loi:empty, .dl-goi:empty { display: none; }
.dl-gia { font-size: 14px; color: #C5D4D8; }
.dl-gia summary { display: flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--bang); cursor: pointer; }
.dl-gia table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 13.5px; }
.dl-gia th, .dl-gia td { padding: 7px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: right; font-weight: 500; }
.dl-gia th:first-child { text-align: left; }
.dl-gia thead th { font-size: 11.5px; font-weight: 600; color: var(--mo); }
.dl-gia p { margin: 8px 0 0; }
.dl-tom { margin: 4px 0 0; padding: 12px 14px; border: 1px dashed rgba(141, 227, 230, .35); font-size: 14.5px; line-height: 1.5; color: #F4FBFB; }
.dl-loi { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: #FFB9A8; }
.dl-loi a, .dl-goi a, .dl-xong a { font-weight: 600; color: #F4FBFB; }
.dl-hang { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 18px; }
.dl-hang .nut-chu { margin-right: auto; }
.dl-hang .nut[disabled] { opacity: .6; cursor: default; }
.dl-goi { margin: 14px 0 0; font-size: 13.5px; color: #B9CACE; }
.dl-xong { outline: none; }
.dl-xong-ten { margin: 0 0 10px; font-family: var(--hien); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--bang); }
.dl-xong-cau { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; }

/* Cac phan noi dung ben duoi sanh */
.khoi { position: relative; background: var(--nen); padding: clamp(60px, 11vh, 116px) clamp(22px, 6.5vw, 110px); border-top: 1px solid rgba(141, 227, 230, .14); }
.khoi:focus { outline: none; }
.khoi-than { max-width: 1180px; margin: 0 auto; }
.khoi-nhan { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bang); }
.khoi-ten { margin: 0; font-family: var(--hien); font-weight: 700; font-size: clamp(32px, 4.7vw, 60px); line-height: 1.02; color: #F4FBFB; text-wrap: balance; }
.khoi-ten span { display: block; color: var(--bang); }
.khoi-mo { margin: 20px 0 0; max-width: 64ch; font-size: clamp(15.5px, 1.3vw, 17.5px); line-height: 1.62; color: #C5D4D8; text-wrap: pretty; }
.khoi-phu { margin: 0 0 6px; font-family: var(--hien); font-weight: 600; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.1; color: #F4FBFB; }
.khoi-chu { margin: 0 0 20px; font-size: 14.5px; line-height: 1.5; color: #A9BDC2; }
.khoi-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: clamp(32px, 5vh, 46px) 0 0; }
/* khung co bon cham goc, lay tu khung nut goc cua logo */
.buoc, .tm, .nm-ngc { border: 1px solid rgba(141, 227, 230, .32);
  background-image: radial-gradient(circle 2.6px at 7px 7px, rgba(141, 227, 230, .85) 96%, transparent), radial-gradient(circle 2.6px at calc(100% - 7px) 7px, rgba(141, 227, 230, .85) 96%, transparent),
    radial-gradient(circle 2.6px at 7px calc(100% - 7px), rgba(141, 227, 230, .85) 96%, transparent), radial-gradient(circle 2.6px at calc(100% - 7px) calc(100% - 7px), rgba(141, 227, 230, .85) 96%, transparent); }

/* Nguoi choi moi: chu ben trai, doan phim khach that dang choi ben phai */
.nm-dau { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.nm-that { margin: 0; }
.nm-that video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; background: #03090E; border: 1px solid rgba(141, 227, 230, .32); }
.nm-that figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #A9BDC2; }
/* Loi ve phan "cach choi" tu trang me cung va trang the gioi */
.ve-cach-choi { margin: 10px 0 0; }
.ve-cach-choi .nut-chu { margin-left: -6px; color: var(--chu); }
.tg-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 30px 0 0; }
.tg-hang .tg-nut { margin-top: 0; }
.the-gioi .nut-chu { color: var(--tg-chu); opacity: .82; }
.the-gioi .nut-chu:hover, .ve-cach-choi .nut-chu:hover { color: var(--bang); opacity: 1; }

/* Nguoi choi moi: bon buoc cua mot luot choi */
.buoc { list-style: none; margin: clamp(30px, 5vh, 50px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background-color: rgba(141, 227, 230, .03); }
.buoc li { padding: 26px 24px 28px; border-left: 1px solid rgba(141, 227, 230, .2); }
.buoc li:first-child { border-left: 0; }
.buoc-so { display: block; font-family: var(--hien); font-weight: 700; font-size: 46px; line-height: 1; color: var(--bang); }
.buoc h3 { margin: 12px 0 8px; font-family: var(--hien); font-weight: 600; font-size: 23px; line-height: 1.1; color: #F4FBFB; }
.buoc p { margin: 0; font-size: 14.5px; line-height: 1.58; color: #C5D4D8; }

.nm-hai { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(28px, 4.4vw, 64px); margin-top: clamp(44px, 8vh, 80px); align-items: start; }
.luoi-ap { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: clamp(18px, 2vw, 28px) clamp(14px, 1.8vw, 24px); }
.luoi-ap.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.luoi-ap .ap { animation: none; }
.ap-mc { margin-right: 9px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nm-ngc { overflow: hidden; background-color: #081722; }
.nm-ngc img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.nm-ngc-chu { padding: 20px 24px 26px; }
.nm-ngc h3 { margin: 0 0 8px; font-family: var(--hien); font-weight: 700; font-size: 29px; line-height: 1.05; color: #F4FBFB; }
.nm-ngc-chu > p:not(.khoi-nhan) { margin: 0 0 18px; font-size: 15px; line-height: 1.58; color: #C5D4D8; }

.hoi-nhanh { margin-top: clamp(44px, 8vh, 80px); max-width: 800px; }
.hoi-nhanh .khoi-phu { margin-bottom: 14px; }
.hoi-nhanh details { border-top: 1px solid rgba(141, 227, 230, .22); }
.hoi-nhanh details:last-child { border-bottom: 1px solid rgba(141, 227, 230, .22); }
.hoi-nhanh summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-family: var(--hien); font-weight: 600; font-size: 20px; line-height: 1.2; color: #F4FBFB; cursor: pointer; list-style: none; }
.hoi-nhanh summary::-webkit-details-marker { display: none; }
.hoi-nhanh summary::after { content: "+"; flex: none; font-family: var(--than); font-weight: 400; font-size: 26px; line-height: 1; color: var(--bang); transition: transform .25s; }
.hoi-nhanh details[open] summary::after { transform: rotate(45deg); }
.hoi-nhanh summary:focus-visible { outline: 2px solid var(--bang); outline-offset: 3px; }
.hoi-nhanh details p { margin: 0 0 20px; max-width: 62ch; font-size: 15.5px; line-height: 1.62; color: #C5D4D8; }

/* Dan escape: hai the manh va danh sach the gioi */
.hai-the-manh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(30px, 5vh, 50px); }
.tm { padding: clamp(24px, 2.8vw, 38px); background-color: rgba(141, 227, 230, .035); }
.tm-so { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bang); }
.tm-so b { margin-right: 10px; font-family: var(--hien); font-weight: 700; font-size: 32px; letter-spacing: 0; vertical-align: -5px; }
.tm h3 { margin: 0 0 12px; font-family: var(--hien); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.06; color: #F4FBFB; text-wrap: balance; }
.tm > p:not(.tm-so) { margin: 0; font-size: 15.5px; line-height: 1.62; color: #C5D4D8; }
.tm-diem { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.tm-diem li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 500; line-height: 1.4; color: #F4FBFB; }
.tm-diem li::before { content: ""; position: absolute; left: 0; top: .34em; width: 9px; height: 10px; background: var(--bang); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.so-sanh { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(141, 227, 230, .24); }
.so-sanh div { padding: 14px 16px 16px; }
.so-sanh div + div { border-left: 1px solid rgba(141, 227, 230, .24); }
.so-sanh dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mo); }
.so-sanh dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: #C5D4D8; }
.so-sanh .la-maze { background: rgba(141, 227, 230, .09); }
.so-sanh .la-maze dt { color: var(--bang); }
.so-sanh .la-maze dd { color: #F4FBFB; }
.de-the-gioi { margin-top: clamp(46px, 8vh, 84px); }
.loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.loc button { min-height: 40px; padding: 7px 16px 8px; border: 1px solid rgba(141, 227, 230, .32); font-size: 13.5px; font-weight: 600; color: var(--chu); transition: background .2s, border-color .2s, color .2s; }
.loc button:hover { border-color: var(--mau, var(--bang)); }
.loc button[aria-pressed="true"] { background: var(--mau, var(--bang)); border-color: var(--mau, var(--bang)); color: #06111A; }

.chot { padding-bottom: 0; }
.chot .chan { margin-top: clamp(46px, 8vh, 84px); }

/* Du phong khi may khong chay duoc 3D: man dau thanh ba the me cung, cac phan ben duoi giu nguyen */
.khong-3d .sanh { height: auto; min-height: 0; overflow: visible; touch-action: auto; padding: calc(var(--le) + 34px + var(--logo) * 1.134) clamp(22px, 6.5vw, 110px) 40px; }
.khong-3d .sanh::after, .khong-3d #canh, .khong-3d .khung, .khong-3d .ba-cong, .khong-3d .bang-chon, .khong-3d .ngc-nut { display: none; }
.khong-3d .sanh-ui { position: static; }
.khong-3d .tuyen-bo { position: static; text-align: left; margin-bottom: 28px; }
.khong-3d .tuyen-bo::before { display: none; }
.khong-3d .tb-phu { margin-left: 0; }
.khong-3d .hai-loi { position: static; transform: none; flex-wrap: wrap; margin-top: 24px; }
.dp-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 1180px; }
.dp-the { position: relative; aspect-ratio: 4 / 5; overflow: hidden; text-align: left; border: 1px solid rgba(141, 227, 230, .3); background-size: cover; background-position: 50% 20%; }
.dp-the::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 60%); }
.dp-the small, .dp-the span, .dp-the em { position: relative; z-index: 1; display: block; margin: 0 16px; font-style: normal; }
.dp-the { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 16px; }
.dp-the small { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--chu); }
.dp-the span { margin-top: 4px; font-family: var(--hien); font-weight: 700; font-size: 40px; line-height: 1; }
.dp-the em { margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--chu); }
.khong-js { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 20px; background: #081722; border-top: 1px solid rgba(141, 227, 230, .42); font-size: 15px; line-height: 1.5; text-align: center; }
.khong-js a { color: var(--bang); font-weight: 600; }

/* Man ngang nhung thap (dien thoai xoay ngang, cua so nho): bot chu de nhuong cho cho ba cong */
@media (max-height: 560px) {
  .kieu-ngang .tb-phu, .kieu-ngang .cong-nut em, .kieu-ngang .cong-nut small { display: none; }
  .kieu-ngang .cong-nut span { margin-top: 3px; padding: 2px 12px 3px; }
  .kieu-ngang .hai-loi button { min-height: 40px; padding: 3px 12px 4px 14px; }
  .kieu-ngang .hai-loi b { font-size: 15px; }
}
/* Man hinh hep: bang chu cua trang me cung, trang the gioi, hop noi va cac phan noi dung xep lai mot cot */
@media (max-width: 900px) {
  .buoc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buoc li:nth-child(3) { border-left: 0; }
  .buoc li:nth-child(n + 3) { border-top: 1px solid rgba(141, 227, 230, .2); }
  .nm-hai { grid-template-columns: minmax(0, 1fr); }
  .nm-dau { grid-template-columns: minmax(0, 1fr); }
  .nm-that video { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .nm-ngc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
  .nm-ngc img { height: 100%; aspect-ratio: auto; }
  .hai-the-manh { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px), (orientation: portrait) {
  .dau { padding: calc(var(--le) + 12px) calc(var(--le) + 16px) 8px calc(var(--le) + 14px); }
  .dau-dat { min-height: 40px; padding: 6px 14px 7px; font-size: 16px; }
  .da-cuon .dau { padding: 6px calc(var(--le) + 8px); gap: 4px; }
  .da-cuon .logo { width: 34px; }
  .dau-loi button { padding: 8px 7px; font-size: 11px; letter-spacing: .08em; }
  .dau-loi button span { display: none; }
  .da-cuon .dau-dat { margin-left: 2px; padding: 5px 12px 6px; font-size: 15.5px; }
  .mo-dau { padding-top: clamp(110px, 19vh, 200px); }
  .tg-hai { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 14px; }
  .tg-poster { order: -1; justify-self: center; max-width: min(70vw, 300px); }
  .tg-luat, .mc-luat { gap: 7px 16px; font-size: 15px; }
  .chan-lon { font-size: 18px; }
  .chan-cs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding-bottom: 40px; }
  .ap-ten { font-size: 18px; }
  .hop { padding: 10px; }
  .hop-than { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 26px 18px 22px; }
  .dl-nguoi { gap: 6px; }
  .cg-hang .nut, .cg-hang .nut-vien { flex: 1 1 100%; justify-content: center; }
  .buoc { grid-template-columns: minmax(0, 1fr); }
  .buoc li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; padding: 20px 20px 22px; border-left: 0; }
  .buoc li + li { border-top: 1px solid rgba(141, 227, 230, .2); }
  .buoc-so { grid-row: 1 / 3; font-size: 42px; }
  .buoc h3 { margin: 4px 0 6px; font-size: 21px; }
  .luoi-ap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .luoi-ap.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .luoi-ap.ba .ap-ten { font-size: 15.5px; }
  .luoi-ap.ba .ap-mc { display: block; margin: 0 0 2px; }
  .nm-ngc { grid-template-columns: minmax(0, 1fr); }
  .nm-ngc img { aspect-ratio: 5 / 3.4; height: auto; }
  .so-sanh { grid-template-columns: minmax(0, 1fr); }
  .so-sanh div + div { border-left: 0; border-top: 1px solid rgba(141, 227, 230, .24); }
  .khoi-hang .nut, .khoi-hang .nut-vien { flex: 1 1 auto; justify-content: center; }
  .hoi-nhanh summary { font-size: 18.5px; }
}
/* Man doc ma thap: bot mot dong chu */
@media (max-height: 640px) {
  .kieu-doc .tb-phu { display: none; }
  .kieu-doc .bc-cau { margin-bottom: 9px; font-size: 15.5px; }
  .kieu-doc .bc-ten { font-size: clamp(34px, 10.5vw, 46px); }
  .kieu-doc .goi-y { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-noi-dung > *, .tg-poster, .mc-dau > *, .mc-chon, .ap, .bang-chon.doi > *, .hai-loi svg { animation: none; }
}

/* Che do chup anh dai dien khi chia se link (?chia-se=1): cong dang chon lech phai, chu ben trai */
.chia-se .ba-cong, .chia-se .bang-chon, .chia-se .hai-loi, .chia-se .ngc-nut, .chia-se .dau-dat, .chia-se .dau-loi { display: none; }
.chia-se .tuyen-bo { top: auto; bottom: 15%; left: 6.5%; transform: none; width: 50%; text-align: left; }
.chia-se .tb-cau { font-size: 44px; }
.chia-se .tb-cau span, .chia-se .tb-cau b { display: block; }
.chia-se .tb-phu { margin-left: 0; max-width: 30em; font-size: 18px; }
.chia-se .tb-phu b { display: block; }
.chia-se .tb-nhan { font-size: 15px; }
/* Chi con canh 3D (?chi-canh=1): de chup anh minh hoa */
.chi-canh .dau, .chi-canh .mo-dau, .chi-canh .sanh-ui, .chi-canh .khung, .chi-canh .dai, .chi-canh .sanh::after { display: none; }

/* Che do kiem tra (?dung=1): tat moi chuyen dong de chup anh */
.dong-bang *, .dong-bang *::before, .dong-bang *::after { transition: none !important; animation: none !important; }
