*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html,body{height:100%;overflow:hidden;background:#07141f;color:#e8f4f8;font:16px/1.55 "Segoe UI",system-ui,-apple-system,Roboto,sans-serif}
#canh{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}
button{font:inherit;color:inherit;background:#12303f;border:1px solid #ffffff2b;border-radius:10px;padding:8px 14px;cursor:pointer}
button:hover:not(:disabled){background:#1b4459}
button:focus-visible{outline:2px solid #5eead4;outline-offset:2px}

#mo{position:fixed;inset:0;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 50% 30%,#0f766e66,#07141ff2 70%);z-index:30;overflow:auto}
.the-mo{max-width:640px;text-align:center}
.nhan{letter-spacing:.35em;text-transform:uppercase;font-size:13px;color:#5eead4}
.the-mo h1{text-wrap:balance;font-size:clamp(28px,4.6vw,44px);line-height:1.15;margin:10px 0 4px}
.phu{font-size:clamp(18px,2.6vw,24px);color:#a7f3d0}
.chuong{opacity:.8;margin:10px 0 22px;font-size:15px}
#vao{font-size:19px;font-weight:700;padding:14px 44px;background:#14b8a6;color:#04231f;border:0}
#vao:hover:not(:disabled){background:#2dd4bf}
#vao:disabled{opacity:.6;cursor:wait}
.the-mo ul{list-style:none;margin:22px 0;font-size:14px;opacity:.85}
.nhap{font-size:13px;color:#fde68a}

#thanh{position:fixed;left:0;right:0;top:0;display:flex;align-items:center;gap:14px;padding:10px 14px;background:linear-gradient(#07141fe6,#07141f00);z-index:10;pointer-events:none}
#thanh>*{pointer-events:auto}
.phong{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.phong small{color:#5eead4;font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.phong strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tukhoa{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap;justify-content:center}
#tukhoa i{font-style:normal;font-size:11px;padding:3px 8px;border-radius:99px;border:1px dashed #ffffff55;opacity:.55}
#tukhoa i.co{opacity:1;border-style:solid;font-weight:700;color:#06201c}
#thanh nav{display:flex;gap:6px}
#thanh nav button{font-size:14px;background:#0b2230cc;white-space:nowrap}

#la-ban{position:fixed;right:12px;bottom:12px;width:176px;height:120px;border-radius:12px;background:#07141fcc;border:1px solid #ffffff2b;z-index:9;cursor:pointer}
#b-thuthach{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:11;font-weight:700;font-size:16px;padding:12px 22px;color:#06201c;border:0;box-shadow:0 8px 30px #0008;white-space:nowrap}
#b-thuthach:hover{filter:brightness(1.12);background:var(--m)!important}
#goi-y{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);z-index:9;background:#07141fd9;padding:6px 14px;border-radius:99px;font-size:14px;pointer-events:none;max-width:92vw;text-align:center}

#can{position:fixed;left:20px;bottom:20px;width:112px;height:112px;border-radius:50%;border:2px solid #ffffff55;background:#07141f66;z-index:12;touch-action:none}
#can i{position:absolute;left:34px;top:34px;width:40px;height:40px;border-radius:50%;background:#5eead4cc}

#tour{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:13;display:flex;gap:8px;align-items:center;background:#07141ff2;padding:8px 10px;border-radius:14px;border:1px solid #ffffff2b;white-space:nowrap;font-size:14px}
#tour button{padding:6px 10px}

#phu-nen{position:fixed;inset:0;background:#02090ecc;display:grid;place-items:center;padding:14px;z-index:20}
#hop{position:relative;width:min(760px,100%);max-height:92vh;overflow:auto;background:#0d2433;border:1px solid #ffffff24;border-radius:18px;padding:24px 26px;border-top:6px solid var(--m,#2dd4bf)}
#dong{position:sticky;float:right;top:0;z-index:2;width:40px;height:40px;padding:0;border-radius:50%}
#nd h2{font-size:25px;line-height:1.25;margin:2px 0 6px}
#nd h3{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--m);margin:18px 0 8px}
#nd .nguon{font-size:13px;opacity:.7}
#nd ul{padding-left:20px}
#nd li{margin:4px 0}
#nd img.anh{max-width:100%;border-radius:12px;margin-top:12px}
#nd iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}
.chuoi{display:flex;flex-wrap:wrap;gap:6px;align-items:stretch}
.chuoi span{background:#ffffff10;border:1px solid var(--m);border-radius:10px;padding:8px 12px;display:flex;align-items:center;text-align:center}
.chuoi b{align-self:center;color:var(--m)}
.sosanh{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.sosanh div{background:#ffffff0d;border-radius:12px;padding:12px;border-top:3px solid var(--m)}
.sosanh p{font-size:14px;margin-top:4px;opacity:.9}
.chon{display:grid;gap:8px}
.chon button{text-align:left}
.chon button.dung,button.dung{background:#15803d!important}
.chon button.sai,button.sai{background:#b91c1c!important}
.phanhoi{margin-top:10px;padding:10px 12px;border-radius:10px;background:#ffffff10}
.hang{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.chinh{background:var(--m,#2dd4bf);color:#06201c;border:0;font-weight:700}
.chinh:hover:not(:disabled){background:var(--m,#2dd4bf);filter:brightness(1.12)}
.muc{border:1px solid #ffffff22;border-radius:12px;padding:10px 12px;margin-bottom:8px}
.muc .hang{margin-top:8px}
.muc .hang button{font-size:14px;padding:6px 10px}
.muc button.dachon{background:var(--m);color:#06201c;font-weight:700}
.daxep{min-height:48px;border:1px dashed #ffffff44;border-radius:12px;padding:10px;display:grid;gap:6px;margin-bottom:10px}
.daxep div{background:#ffffff12;border-radius:8px;padding:6px 10px}
.bando{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.bando button{min-height:96px;text-align:left;border-width:2px}
.bando small{display:block;opacity:.75}
.ketqua{text-align:center}
.ketqua .to{font-size:20px;font-weight:700;color:#fde68a;margin:14px 0}
.ketqua input{font:inherit;padding:8px 12px;border-radius:10px;border:1px solid #ffffff44;background:#07141f;color:inherit;text-align:center;width:min(320px,100%)}
.ketqua table{margin:12px auto;border-collapse:collapse;font-size:15px}
.ketqua td{border:1px solid #ffffff2b;padding:5px 12px;text-align:left}

@media (max-width:760px){
  #thanh{flex-wrap:wrap;gap:6px;padding:8px}
  #thanh nav{margin-left:auto}
  #thanh nav span{display:none}
  #tukhoa{order:3;width:100%;margin:0;justify-content:flex-start}
  #la-ban{width:116px;height:79px;right:8px;bottom:8px}
  #b-thuthach{bottom:146px;font-size:14px;padding:10px 16px}
  #goi-y{bottom:196px;font-size:12px}
  #hop{padding:18px 16px}
  .bando{grid-template-columns:repeat(2,1fr)}
}
@media print{
  body{background:#fff;color:#000;overflow:visible}
  body>*:not(#phu-nen){display:none!important}
  #phu-nen{position:static;background:none}
  #hop{max-height:none;background:#fff;border:2px solid #000}
  #dong,#hop .hang{display:none}
  .ketqua .to{color:#000}
  .ketqua td{border-color:#000}
  .ketqua input{background:#fff;color:#000}
}
