/* Trang cửa (dang-nhap.html): trang trước đăng nhập. Số đo lấy theo khung 1366 px ở giữa màn hình. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #131a34; color: #fff; min-width: 1366px;
  font: 400 14px/21px Roboto, Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; }
input { font: inherit; }
svg { display: block; }
.c-an { position: absolute; width: 0; height: 0; overflow: hidden; }
html::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); border-radius: 28px; }

/* ---------- dải cảnh giác ---------- */
.c-canh { height: 28px; background: #a3805c; overflow: hidden; }
.c-canh-khung { width: 1366px; margin: 0 auto; padding: 3px 8px; }
.c-canh-o { height: 22px; overflow: hidden; text-align: center; }
.c-canh-chay { transition: transform .5s; }      /* cua.js đẩy lên từng dòng 22 px */
.c-canh-chay.nhay { transition: none; }
.c-canh-chay p { margin: 0; line-height: 22px; white-space: nowrap; }
/* các phần chỉ có ở cỡ điện thoại */
.c-gach, .c-ngan, .c-ngan-nen, .c-lon, .c-sp { display: none; }

/* ---------- đầu trang ---------- */
.c-dau { position: relative; z-index: 20; background: #1f2a41; box-shadow: inset 0 -0.5px 0 #394460; }
.c-dau-trong { width: 1366px; height: 70px; margin: 0 auto; padding: 4px 12px; display: flex; align-items: center; }
.c-logo { width: 180px; height: 60px; flex: none; display: block; background: center / contain no-repeat; }
.c-muc { display: flex; margin: 0 12px 0 26.7px; }
.c-muc button { height: 36px; padding: 0 7.2px; border-radius: 4px; white-space: nowrap; transition: background .2s; }
.c-muc button:hover, .c-muc button.dang { background: #252b74; }
.c-phai { margin-left: auto; display: flex; align-items: center; }

.c-chon { position: relative; padding: 0 16px; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.c-chon-tron {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(304.73deg, #85b1ff 0%, #6375fd 66.67%, #4557e3 100%);
}
.c-chon-tron svg { width: 20px; height: 20px; }
.c-chon-tron .c-co { width: 28px; height: 28px; border: 1px solid #fff; border-radius: 50%; }
.c-chon-ten { margin-top: 2px; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.c-so {
  position: absolute; left: 8px; top: 100%; margin-top: 22px; width: 180px; z-index: 30;
  background: #343b83; border-radius: 6px; box-shadow: rgba(0, 0, 0, .54) 0 2px 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.c-so::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.c-chon:hover .c-so { opacity: 1; visibility: visible; }
.c-so button { display: flex; align-items: center; width: 100%; height: 36px; padding: 4px 12px; font-size: 12px; line-height: 18px; text-align: left; }
.c-so button + button { border-top: 1px solid #5b67b3; }
.c-so button:hover { background: rgba(255, 255, 255, .06); }
.c-so-tron { width: 22px; height: 22px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(304.73deg, #85b1ff 0%, #6375fd 66.67%, #4557e3 100%); overflow: hidden; }
.c-so-tron svg { width: 14px; height: 14px; }
.c-so-tron .c-co { width: 22px; height: 22px; }
.c-so-chu { margin-left: 8px; flex: 1; }
.c-so-tich { width: 16px; height: 16px; display: none; }
.c-so button.chon { color: #ffc38f; }
.c-so button.chon .c-so-tich { display: block; }

.c-nut { height: 40px; padding: 8px 9.6px; border-radius: 4px; font-size: 16px; line-height: 24px; white-space: nowrap; transition: filter .2s; }
.c-nut:hover { filter: brightness(1.08); }
.c-nut-tg { background: #5258bc; }
.c-nut-dn { background: #fb8f37; margin-left: 8px; }

/* bảng sản phẩm hiện khi rê chuột vào hàng mục */
.c-menu {
  position: absolute; left: 0; right: 0; top: 100%; background: #0e1948; padding: 12px 0;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.c-dau.mo .c-menu { opacity: 1; visibility: visible; }
.c-menu-hang { width: 1366px; margin: 0 auto; display: flex; justify-content: center; }
.c-the {
  position: relative; width: 187px; height: 290px; margin: 0 4px; border: 1px solid #5258bc; border-radius: 6px; overflow: hidden;
  background:
    radial-gradient(120px 120px at 50% 38%, rgba(133, 177, 255, .28), rgba(133, 177, 255, 0) 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, rgba(255, 255, 255, 0) 2px 14px),
    #252b74;
  transition: .3s; display: flex; flex-direction: column; align-items: center;
}
.c-the:hover { border-color: #85b1ff; transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.c-the svg { width: 104px; height: 104px; margin-top: 62px; color: #c9d6ff; transition: .3s; }
.c-the:hover svg { color: #fff; transform: scale(1.06); }
.c-the-ten {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); min-width: 129px; padding: 6px 12px; border-radius: 15px;
  background: linear-gradient(180deg, #ffe7b5 0%, #f0c47c 55%, #dba956 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 4px rgba(0, 0, 0, .35);
  color: #533e23; font-weight: 700; font-size: 14px; line-height: 16.8px; text-align: center; white-space: nowrap;
}

/* ---------- thân trang ---------- */
.c-than { width: 1366px; margin: 36px auto 44px; padding: 0 12px; }

/* banner xoay */
.c-bn { height: 387px; margin-bottom: 40px; overflow: hidden; user-select: none; }
.c-bn-ray { position: relative; height: 360px; cursor: grab; touch-action: pan-y; }
.c-bn-ray.keo { cursor: grabbing; }
.c-bn-tam {
  position: absolute; left: 50%; top: 0; width: 980px; height: 360px; margin-left: -490px; border-radius: 6px; overflow: hidden;
  transition: transform .3s; will-change: transform; background: #1b2350;
}
.c-bn-tam.nhay { transition: none; visibility: hidden; }
.c-bn-tam img { display: block; width: 980px; height: 360px; object-fit: fill; border-radius: 6px; pointer-events: none; }
.c-bn-toi { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.c-bn-tam.truoc .c-bn-toi { opacity: 1; background: linear-gradient(to left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.c-bn-tam.sau .c-bn-toi { opacity: 1; background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.c-bn-cham { margin-top: 6px; height: 21px; padding-top: 11px; display: flex; justify-content: center; }
.c-bn-cham button { width: 40px; height: 4px; margin: 0 3px; border-radius: 6px; background: #bdbdbd; opacity: .2; }
.c-bn-cham button.chon { background: #fb8f37; opacity: 1; }

/* banner vẽ sẵn (dùng khi thư mục img/banner chưa có ảnh) */
.c-ve { position: absolute; inset: 0; }
.c-ve svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-ve-chu { position: absolute; left: 64px; top: 0; bottom: 0; width: 570px; display: flex; flex-direction: column; justify-content: center; white-space: nowrap; }
.c-ve-nho { font-size: 18px; line-height: 27px; letter-spacing: 3px; color: rgba(255, 255, 255, .8); text-transform: uppercase; }
.c-ve-to { margin: 6px 0 12px; font-size: 48px; line-height: 58px; font-weight: 700; font-style: italic; letter-spacing: 1px; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.c-ve-phu { font-size: 24px; line-height: 32px; color: #ffe2b0; }

.c-ke { border-bottom: 1px solid rgba(255, 255, 255, .12); }

/* khối trận */
.c-tran { margin: 16px 0; background: #0e1948; border: 1px solid #5258bc; border-radius: 6px; }
.c-tab { height: 51px; margin-bottom: 12px; background: #262b69; border-bottom: 1px solid #5258bc; border-radius: 6px 6px 0 0; display: flex; justify-content: center; }
.c-tab button {
  position: relative; height: 50px; margin: 0 76.8px; padding: 2px 8px; font-size: 20px; line-height: 30px; color: rgba(255, 255, 255, .7);
  display: flex; align-items: center; justify-content: center; transition: color .2s;
}
.c-tab button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #f4872f; transform: scaleX(0); transition: transform .2s; }
.c-tab button.chon { color: #fff; }
.c-tab button.chon::after { transform: scaleX(1); }
.c-tab button + button::before { content: ""; position: absolute; left: -76.8px; bottom: 12.5px; width: 1px; height: 25px; background: rgba(255, 255, 255, .12); }

.c-mon { display: flex; justify-content: center; margin-bottom: 12px; }
.c-mon button {
  width: 398px; height: 42px; margin: 0 4px; border: 1px solid #5b67b3; border-radius: 6px; font-size: 18px; line-height: 27px;
  color: rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; transition: .2s;
}
.c-mon button svg { width: 20px; height: 20px; margin-right: 4px; }
.c-mon button.chon { background: #5b67b3; color: #fff; }

.c-ngay { width: 804px; margin: 0 auto 16.8px; display: flex; }
.c-ngay[hidden] { display: none; }
.c-ngay button {
  position: relative; flex: 1; height: 53.2px; padding: 2px 8px 8px; color: rgba(255, 255, 255, .7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; transition: color .2s;
}
.c-ngay button b { font-weight: 400; font-size: 22px; line-height: 26.4px; }
.c-ngay button span { font-size: 14px; line-height: 16.8px; }
.c-ngay button::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 2px; background: #f4872f; transform: scaleX(0); transition: transform .2s; }
.c-ngay button.chon { color: #fff; }
.c-ngay button.chon::after { transform: scaleX(1); }

.c-ds {
  height: 55vh; margin: 0 8px 16px 16px; padding-right: 8px; overflow-y: auto; scrollbar-gutter: stable;
  display: flex; flex-wrap: wrap; align-content: flex-start; position: relative; z-index: 1;
}
.c-ds::-webkit-scrollbar { width: 8px; background: transparent; }
.c-ds::-webkit-scrollbar-thumb { background: transparent; border-radius: 28px; }
.c-ds:hover::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); }
.c-ds-trong { width: 100%; padding: 60px 0; text-align: center; font-size: 16px; color: rgba(255, 255, 255, .7); }

.c-o {
  position: relative; width: calc(50% - 6px); height: 111px; margin-bottom: 14px; cursor: pointer;
  background: linear-gradient(299.35deg, #272c86 15.87%, #4650af 86.63%); border: 1px solid #5b67b3; border-radius: 6px; transition: .2s;
}
/* viền bóng ló ra 3 px dưới đáy thẻ (nằm sau thẻ) */
.c-o::after, .c-sp-o::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 3px); z-index: -1; border-radius: 6px;
  background: linear-gradient(270deg, #30399c 9.78%, #4b59d8 24.24%, #343a93 55.96%, #717ae0 81.15%, #2e368e 99.34%);
}
.c-o:nth-child(odd) { margin-right: 6px; }
.c-o:nth-child(even) { margin-left: 6px; }
.c-o:hover { border-color: #85b1ff; }
.c-o-giai {
  width: fit-content; min-width: 235px; max-width: 460px; height: 27px; margin: 0 auto; padding: 0 18px; font-size: 18px; line-height: 27px; text-align: center;
  background: linear-gradient(110.26deg, #131b71 2.72%, #0d0c4b 108%); clip-path: polygon(0 0, 100% 0, 96% 100%, 5% 100%);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.c-o-than { display: flex; justify-content: center; padding: 8px 0; height: 82px; }
.c-o-doi { width: 40%; padding: 0 4px; display: flex; align-items: center; }
.c-o-doi span { flex: 1; min-width: 0; font-size: 16px; line-height: 20.8px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.c-o-doi.nha span { text-align: right; }
.c-o-doi svg { width: 35px; height: 35px; flex: none; }
.c-o-doi.nha svg { margin-left: 6px; }
.c-o-doi.khach svg { margin-right: 6px; }
.c-o-giua { width: 20%; display: flex; flex-direction: column; justify-content: center; text-align: center; white-space: nowrap; }
.c-o-mo { color: rgba(255, 255, 255, .7); line-height: 21px; }
.c-o-ti { color: #ffc38f; font-size: 24px; font-weight: 500; line-height: 24px; }

/* ---------- chân trang ---------- */
.c-chan { background: #1f2a41; padding: 6px 0; display: flex; justify-content: center; }
.c-chan span { min-height: 33px; display: flex; align-items: center; color: #bdbdbd; }

/* ---------- hộp đăng nhập ---------- */
.c-lop {
  position: fixed; inset: 0; z-index: 99; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.c-lop::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0, 0, 0, .6); }
.c-lop.mo { opacity: 1; visibility: visible; }
.c-hop {
  position: relative; width: 400px; padding: 32px 0; display: flex; flex-direction: column;
  background: rgba(52, 59, 131, .8); border: 1px solid #5b67b3; border-radius: 6px;
}
.c-dong { position: absolute; right: -4px; top: -64px; width: 50px; height: 50px; border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; }
.c-dong svg { width: 50px; height: 50px; }
.c-dong:hover { color: #ffc38f; }
.c-hop-td { margin: 0 auto 16px; padding-bottom: 8px; border-bottom: 2px solid #f4872f; font-size: 22px; line-height: 33px; }
.c-bieu { padding: 0 24px; }
.c-truong { position: relative; display: flex; align-items: center; height: 50px; border: 1px solid transparent; border-radius: 6px; background: #5b67b3; background-clip: padding-box; overflow: hidden; }
.c-truong + .c-truong { margin-top: 16px; }
.c-truong-hinh { width: 47px; height: 22px; flex: none; padding: 0 12px; border-right: 1px solid rgba(255, 255, 255, .35); }
.c-truong-hinh svg { width: 22px; height: 22px; }
.c-truong input {
  flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 0; outline: none; background: transparent;
  color: #fff; caret-color: #fff; font-size: 14px; border-radius: 6px;
}
.c-truong input::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
.c-truong input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #5b67b3 inset; caret-color: #fff; }
.c-mat { width: 22px; height: 22px; flex: none; margin-right: 12px; border-radius: 4px; }
.c-mat svg { width: 22px; height: 22px; }
.c-mat .tat { display: none; }
.c-mat.an .bat { display: none; }
.c-mat.an .tat { display: block; }
.c-nho { margin-top: 16px; height: 24px; display: flex; align-items: center; cursor: pointer; }
.c-nho input { position: absolute; width: 0; height: 0; opacity: 0; }
.c-nho svg { width: 24px; height: 24px; color: #fb9a4b; }
.c-nho .rong { display: block; }
.c-nho .day { display: none; }
.c-nho input:checked ~ .rong { display: none; }
.c-nho input:checked ~ .day { display: block; }
.c-nho span { margin-left: 8px; }
.c-loi { color: #ff3333; min-height: 0; }
.c-loi:not(:empty) { margin-top: 8px; }
.c-gui { width: 100%; height: 50px; margin-top: 16px; padding: 2px 8px; border-radius: 20px; background: #fb8f37; font-size: 20px; line-height: 30px; transition: filter .2s; }
.c-gui:hover { filter: brightness(1.06); }
.c-gui:disabled { filter: grayscale(.4) brightness(.85); cursor: default; }

/* ---------- lời báo nổi ---------- */
.c-bao {
  position: fixed; left: 50%; top: 112px; z-index: 120; transform: translate(-50%, -8px); padding: 6px 12px; border-radius: 4px;
  background: #fff9e6; color: rgba(0, 0, 0, .87); filter: drop-shadow(rgba(0, 0, 0, .38) 0 0 2px);
  opacity: 0; visibility: hidden; transition: .2s; pointer-events: none; white-space: nowrap;
}
.c-bao.mo { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* =====================================================================
   CỠ ĐIỆN THOẠI (màn hẹp hơn 768 px). Số đo lấy ở khung 440 px, các khối co giãn theo bề ngang.
   ===================================================================== */
@media (max-width: 767px) {
  body { min-width: 0; }
  html::-webkit-scrollbar { width: 0; height: 0; }

  .c-canh-khung { width: auto; }
  .c-canh-o { text-align: left; }
  .c-canh-chay p { white-space: normal; }

  /* đầu trang */
  .c-dau { background: transparent; box-shadow: none; }
  .c-dau-trong { width: auto; height: 60px; padding: 4px 12px; }
  .c-logo { width: 135px; height: 45px; }
  .c-muc, .c-chon, .c-menu { display: none; }
  .c-phai { margin-right: 37.5px; }
  .c-nut { height: 32px; padding: 0 2.2px; font-size: 16px; line-height: 24px; }

  .c-gach { display: block; position: absolute; top: 0; right: 4px; width: 50px; height: 56px; border-radius: 4px; z-index: 4; }
  .c-gach i { position: absolute; left: 16px; top: 28px; width: 18px; height: 2px; background: #fff; transition: transform .2s; }
  .c-gach i:nth-child(1) { transform: translateY(-5px); }
  .c-gach i:nth-child(2) { transform: translateY(1px); }
  .c-gach i:nth-child(3) { transform: translateY(7px); }
  .c-dau.ngan-mo .c-gach { position: fixed; }
  .c-dau.ngan-mo .c-gach i:nth-child(1), .c-dau.ngan-mo .c-gach i:nth-child(2) { transform: translateY(1px) rotate(-45deg); }
  .c-dau.ngan-mo .c-gach i:nth-child(3) { transform: translateY(1px) rotate(45deg); }

  .c-ngan-nen { display: block; position: fixed; inset: 0; z-index: 2; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .c-ngan {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 60%; z-index: 3; padding: 50px 0 16px;
    background: #343b83; overflow: auto; font-size: 16px; line-height: 24px;
    transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s;
  }
  .c-dau.ngan-mo .c-ngan-nen { opacity: 1; visibility: visible; }
  .c-dau.ngan-mo .c-ngan { transform: none; opacity: 1; visibility: visible; }
  .c-ngan-khoi { display: flex; flex-direction: column; padding: 20px 12px; border-top: 1px solid #5b67b3; }
  .c-ngan-td { padding-bottom: 16px; opacity: .8; }
  .c-ngan button { display: flex; align-items: center; height: 48px; padding: 12px 6px; text-align: left; transition: .2s; }
  .c-ngan button.chon { color: #ffc38f; }
  .c-ngan button.chon .c-so-tich { display: block; }
  .c-ngan .c-so-tich { margin-left: 8px; }

  /* thân trang */
  .c-than { width: auto; margin: 0; padding: 0; }
  .c-bn { height: auto; margin: 0; padding: 0 12px; }
  .c-bn-ray { height: auto; aspect-ratio: 684 / 448; }
  .c-bn-tam { left: 0; margin-left: 0; width: 100%; height: 100%; }
  .c-bn-tam img { width: 100%; height: 100%; }
  .c-bn-cham { padding-top: 12px; }
  .c-bn-cham button { width: 4%; height: 3px; }
  .c-ve-chu { left: 6%; right: 6%; width: auto; white-space: normal; }
  .c-ve-nho { font-size: 12px; line-height: 18px; letter-spacing: 2px; }
  .c-ve-to { margin: 4px 0 8px; font-size: clamp(20px, 6.4vw, 30px); line-height: 1.2; max-width: 54%; }
  .c-ve-phu { font-size: clamp(12px, 3.4vw, 15px); line-height: 1.4; max-width: 50%; }
  .c-ke { display: none; }

  .c-lon { display: flex; height: 37px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .c-lon button { position: relative; flex: 1; height: 36px; padding: 2px 8px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .7); white-space: nowrap; transition: color .2s; }
  .c-lon button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #f4872f; transform: scaleX(0); transition: transform .2s; }
  .c-lon button.chon { color: #fff; }
  .c-lon button.chon::after { transform: scaleX(1); }

  /* lưới sản phẩm */
  .c-sp { display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; z-index: 1; margin: 8px; padding: 6px; background: #0e1948; border-radius: 6px; }
  .c-sp[hidden] { display: none; }
  .c-sp-o {
    position: relative; width: calc(50% - 4px); aspect-ratio: 202 / 124; margin-bottom: 12px; border: 1px solid #5258bc; border-radius: 6px;
    background:
      radial-gradient(90px 90px at 74% 58%, rgba(133, 177, 255, .3), rgba(133, 177, 255, 0) 70%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, rgba(255, 255, 255, 0) 2px 14px),
      #252b74;
  }
  .c-sp-o.rong { width: 100%; aspect-ratio: 412 / 124.2; }
  .c-sp-ten {
    position: absolute; left: 8px; top: 6px; max-width: 90px; text-align: left; font-weight: 700; font-size: 14px; line-height: 16.8px;
    background: linear-gradient(to right, #ffefcc 0%, #dbaf75 66.67%, #e2bb88 100%); -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .c-sp-o svg { position: absolute; right: 9%; top: 50%; width: 84px; height: 84px; margin-top: -42px; color: #c9d6ff; }
  .c-sp-o.rong svg { right: 12%; }

  /* khối trận */
  .c-tran { margin: 8px; padding: 6px; border: 0; }
  .c-tran[hidden] { display: none; }
  .c-tab { position: sticky; top: 0; z-index: 3; height: 38px; margin: 0; border: 1px solid #5258bc; }
  .c-tab button { flex: 1; height: 36px; margin: 0 17.6px; font-size: 16px; line-height: 24px; }
  .c-tab button + button::before { left: -17.6px; bottom: 9px; height: 18px; }
  .c-mon { position: sticky; top: 38px; z-index: 3; margin: 0; padding: 8px 0; background: #0e1948; }
  .c-mon button { flex: 1; width: auto; height: 38px; margin: 0; font-size: 16px; line-height: 24px; }
  .c-mon button + button { margin-left: 8px; }
  .c-ngay { width: auto; margin: 0 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .c-ngay button { height: 43.6px; margin: 0 6px; padding: 2px 4px 8px; }
  .c-ngay button b { font-size: 16px; line-height: 19.2px; }
  .c-ngay button span { font-size: 12px; line-height: 14.4px; }
  .c-ngay button::after { left: 0; right: 0; }
  .c-ds { display: block; height: auto; margin: 0; padding: 0; overflow: visible; }
  .c-ds-trong { padding: 40px 0; }
  .c-o, .c-o:nth-child(odd), .c-o:nth-child(even) { width: auto; height: 74px; margin: 0 0 14px; }
  .c-o-giai { max-width: 86%; height: 21px; padding: 0 14px; font-size: 14px; line-height: 21px; }
  .c-o-than { height: 51px; padding: 6px 0; }
  .c-o-doi span { font-size: 12px; line-height: 15.6px; -webkit-line-clamp: 2; }
  .c-o-doi svg { width: 22px; height: 22px; }
  .c-o-ti { font-size: 18px; line-height: 18px; }
  .c-o-mo.nho { font-size: 12px; line-height: 18px; }

  /* hộp đăng nhập */
  .c-hop { width: min(400px, calc(100% - 44px)); }
  .c-dong { right: -4px; top: -16px; width: 36px; height: 36px; }
  .c-dong svg { width: 36px; height: 36px; }
  .c-hop-td { font-size: 20px; line-height: 30px; }
  .c-truong { height: 40px; }
  .c-truong input { height: 38px; }
  .c-gui { height: 40px; font-size: 18px; line-height: 27px; }

  .c-bao { top: 96px; max-width: 90vw; white-space: normal; text-align: center; }
}

/* máy rất hẹp: thu ô logo để hai nút và nút gạch không tràn */
@media (max-width: 379px) {
  .c-logo { flex: 1 1 0; min-width: 0; width: auto; }
  .c-nut { font-size: 14px; }
}
@media (max-width: 339px) {
  .c-nut { font-size: 13px; }
}
