/* header start */
:root {
  --black-color: #000000;
  --white-color: #ffffff;
  --new-main-color: #d04c58;
  --new-main-deep: #e06b76;
  --new-main-text-color: #3f2629;
}
a {
  text-decoration: none;
}
.lt-header-logo-box img {
  max-width: 200px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.lt-header {
  position: sticky;
  z-index: 1000;
  top: 0;
}
.lt-header {
  /* background: linear-gradient(
    to bottom,
    rgba(253, 230, 231, 1),
    rgba(251, 171, 162, 1)
  ); */
  background: linear-gradient(180deg, #fde6e7 0%, #f4c6ca 116.58%);
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.lt-header.header-active {
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.mdv-nav-menu::before,
.mdv-nav-menu::after {
  display: none;
}
.mdv-nav-menu {
  background: transparent;
}
.menu_a_level_1 {
  color: var(--text-color);
  font-family: var(--title-font), var(--normal-font), Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  /* font-size: clamp(0.72rem, -0.1367rem + 1.3373vw, 1rem); */
  /* font-size: clamp(0.62rem, -0.5427rem + 1.8149vw, 1rem); */
  font-size: clamp(0.62rem, -0.2367rem + 1.3373vw, 0.9rem);
}
.mdv-find-header {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--background-color);
}
.mdv-find-header .btn-tim-kiem {
  background: transparent;
  color: var(--main-color);
}
.mdv-find-header .btn-tim-kiem:hover {
  background: transparent;
  color: var(--main-color);
}
.mdv-find-header .form-control {
  max-width: 110px;
}
.mdv-header-not-login a {
  /* font-size: clamp(0.72rem, -0.1367rem + 1.3373vw, 1rem); */
  font-size: clamp(0.62rem, -0.2367rem + 1.3373vw, 0.9rem);
  color: var(--text-color);
}

.mdv-header-find-form.active {
  min-width: 240px;
}
.lt-header.header-active .lt-header-logo-box img {
  max-width: 82px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
/* header end */

/* truyện nổi bật start */
.mdv-slider-advertise::before {
  clip-path: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-color: rgba(235, 77, 82, 1);
}
.lt-truyen-box-title {
  text-transform: uppercase;
  color: var(--background-color);
  font-family: var(--title-font), var(--normal-font), Helvetica, sans-serif;
  font-weight: 600;

  /* font-size: clamp(1.25rem, 1.1731rem + 0.3846vw, 1.5rem); */
  font-size: clamp(1rem, 0.8462rem + 0.7692vw, 1.5rem);
  border-radius: 43px;
  background: linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%);
  display: inline-flex;
  margin: 0 auto;
}
.mdv-slider-advertise::before {
  display: none;
}
.btn-icon-swiper-prev {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 10px;
  width: 25px;
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.btn-icon-swiper-next {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 10px;
  width: 25px;
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.btn-icon-swiper-prev:hover,
.btn-icon-swiper-next:hover {
  transform: translateY(-50%) scale(0.8);
  -webkit-transform: translateY(-50%) scale(0.8);
  -moz-transform: translateY(-50%) scale(0.8);
  -ms-transform: translateY(-50%) scale(0.8);
  -o-transform: translateY(-50%) scale(0.8);
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.lt-pagination-box .swiper-pagination-bullet-active {
  background-color: var(--main-color);
}
.btn-icon-swiper-prev.swiper-button-disabled,
.btn-icon-swiper-next.swiper-button-disabled {
  opacity: 0.5;
}
.row-cols-11 > * {
  flex: 0 0 calc(100% / 11);
  max-width: calc(100% / 11);
}
.row-cols-7 > * {
  flex: 0 0 calc(100% / 7);
  max-width: calc(100% / 7);
}

.row-cols-9 > * {
  flex: 0 0 calc(100% / 9);
  max-width: calc(100% / 9);
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swiper-slider-advertise-item-image {
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  overflow: hidden;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}
.swiper-slider-advertise-item-image:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}
.product-title {
  text-align: left;
}
/* truyện nổi bật end */

/* menu mobile start */
.mdv-menu-mobile {
  position: sticky;
  top: 0;
  /* background: linear-gradient(
    to bottom,
    rgba(253, 230, 231, 1),
    rgba(251, 171, 162, 1)
  ); */
  background: linear-gradient(180deg, #fde6e7 0%, #f4c6ca 116.58%);
}
.menu-mb-logo {
  box-shadow: none;
}
.lan-truyen-logo-mobile-img {
  max-width: 100%;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.menu-mobile-dang-nhap-wrapper {
  font-size: clamp(0.65rem, 0.4714rem + 0.8929vw, 0.9rem);
}
.menu-mobile-dang-nhap-text a {
  color: var(--text-color);
}
.msv-header-account-name-text i {
  color: var(--main-color);
}
.msv-header-account-avatar {
  --bs-aspect-ratio: 100%;
  /* border: 1px solid var(--main-color); */
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  overflow: hidden;
}
.msv-header-account-avatar .avatar {
  /* scale: 1; */
}
.mdv-menu-mobile.active .lan-truyen-logo-mobile-img {
  max-width: 100%;
  transition: none;
}
.lt-khung-tim-kiem-mobile-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: auto;
  background-color: var(--background-color);
}
.lt-khung-tim-kiem-mobile-wrapper .btn-tim-kiem-mobile {
  border: none;
  color: var(--text-color);
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.lt-khung-tim-kiem-mobile-wrapper .form-control {
  border: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  height: 40px;
}
.lt-khung-tim-kiem-mobile-wrapper .input-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.lt-khung-tim-kiem-mobile-khung-noi-dung {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 96%;
  height: auto;
  background-color: var(--background-color);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}
.lt-khung-tim-kiem-mobile-wrapper {
  display: none;
}
.lt-khung-tim-kiem-mobile-khung-noi-dung {
  display: none;
}
.msv-header-account-avatar {
  min-width: 40px;
}
/* menu mobile end */

/* truyện hoàn thành start */
.lt-truyen-hoan-thanh-section .mdv-slider-advertise::before {
  display: none;
}
.name-comic-advertise {
  font-size: 0.8rem;
}
/* truyện hoàn thành end */

/* footer start */
.nh-footer {
  background: transparent;
  /* background: linear-gradient(to bottom, #fbaba2, #fde6e7); */
  background: linear-gradient(to bottom, #e68c92, #fbc2ba);
  overflow: hidden;
  padding-top: 100px;
  clip-path: url(#footer-clip-path);
}
.nh-footer-box-item-content-ul li a {
  color: var(--background-color);
}
.nh-footer-box-item-content-ul i {
  width: 20px;
}
/* footer end */

/* profile start */
.mdv-profile-sidebar-box {
  top: 97px;
  z-index: 5;
}
/* profile end */

/* sản phẩm show start */
.mdv-san-pham-show-thong-tin-truyen-wrapper {
  border: none;
}
.mvd-san-pham-show-dsc-title {
  text-align: center;
}
.mdv-sps-gioi-thieu-truyen-box {
  background-color: var(--background-color);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  border: none;
}
.mvd-san-pham-show-danh-sach-chuong {
  background-color: var(--background-color);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  border: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.mdv-san-pham-show-dsc-table tbody {
  box-shadow: none;
  border: none;
}
.mdv-san-pham-show-dsc-table-chuong a {
  font-family: var(--normal-font), Helvetica, sans-serif;
  font-weight: 600;
  color: var(--black-color);
}
.mdv-san-pham-show-comment-box {
  background-color: var(--background-color);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  border: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
/* sản phẩm show end */

/* sản phẩm chi tiết start */
.mdv-doc-truyen-breadcrumb {
  background: transparent;
}
.san-pham-detail .breadcrumb {
  margin-bottom: 0;
  justify-content: center;
}
.mdv-chuong-button {
  background: linear-gradient(
    to right,
    rgba(235, 77, 82, 1),
    rgba(251, 171, 162, 1)
  );
}
.mdv-chuong-button.mdv-chuong-button-truoc {
  background: linear-gradient(
    to left,
    rgba(235, 77, 82, 1),
    rgba(251, 171, 162, 1)
  );
}
.mdv-chuong-button.mdv-chuong-button-sau {
  background: linear-gradient(
    to left,
    rgba(235, 77, 82, 1),
    rgba(251, 171, 162, 1)
  );
}
.mdv-binh-luan-truyen-de-cu-container {
  overflow: hidden;
}
.mdv-san-pham-detail-khung-tool-box {
  top: 70px;
}
.san-pham-detail .mdv-san-pham-show-comment-box {
  box-shadow: none;
}
.san-pham-detail .truyen-de-cu-title {
  text-transform: uppercase;
  font-family: var(--title-font), var(--normal-font), Helvetica, sans-serif;
  font-weight: 600;
  color: var(--main-color);
}
.truyen-de-cu-title-link {
  color: var(--text-color);
}
.truyen-de-cu-title-link:hover {
  color: var(--main-color);
}
.truyen-tacgia,
.luot-xem-span {
  font-family: var(--title-font);
  color: var(--text-color);
}
.truyen-luotxem i,
.truyen-tacgia i {
  color: var(--text-color);
}
/* sản phẩm chi tiết end */

/* quản lý chương start */
.add-chapter-dropdown-menu {
  /* display: flex;
  flex-direction: column; */
}
/* quản lý chương end */

/* trang cố định start */
.lt-page-content {
  max-width: 800px;
  margin: 0 auto;
}
/* trang cố định end */

/* trang liên hệ start */
.hq-contact-page-section-title-item {
  /* font-size: clamp(2rem, 1.3846rem + 3.0769vw, 4rem); */
  font-size: clamp(1.8rem, 1.4308rem + 1.8462vw, 3rem);
  text-transform: uppercase;
  color: var(--text-color);
}
.hq-contact-page-section-title-item:nth-child(4) {
  color: var(--main-color);
  font-style: italic;
}
.hq-contact-page-introduce-image {
  overflow: hidden;
  --bs-aspect-ratio: 140%;
  z-index: 1;
}
.hq-contact-page-introduce-image a,
.hq-contact-page-introduce-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hq-contact-page-introduce-title {
  color: var(--text-color);
  font-size: clamp(2rem, 1.8462rem + 0.7692vw, 2.5rem);
  font-weight: 600;
  font-family: var(--normal-font);
  text-transform: capitalize;
}
.hq-contact-page-introduce-content {
  z-index: 5;
  background-color: var(--background-color);
}
.hq-contact-page-introduce-item-line {
  height: 100px;
  width: 1px;
  background-color: var(--text-color);
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: -20px;
}
.btn-gui-lien-he-lh-page {
  background-color: var(--main-color);
  color: var(--background-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  text-align: center;
  padding: 8px 10px;
  text-transform: capitalize;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  border: none;
  font-family: var(--title-font);
  text-transform: uppercase;
  font-weight: 600;
}
.btn-gui-lien-he-lh-page:hover {
  background-color: var(--second-text-color);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.hq-contact-page-form {
  max-width: 600px;
  margin: 0 auto;
}
.hq-contact-page-form .form-control {
  border-color: var(--main-color);
  resize: none;
  height: 50px;
}
.hq-contact-page-form .form-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.2rem;
}
/* trang liên hệ end */

/* sửa web */
.san-pham-book-item-show::before,
.san-pham-book-item-show::after {
  display: none;
}
.san-pham-book-item-show {
  transform: perspective(300px) rotateY(0deg);
  -webkit-transform: perspective(300px) rotateY(0deg);
  -moz-transform: perspective(300px) rotateY(0deg);
  -ms-transform: perspective(300px) rotateY(0deg);
  -o-transform: perspective(300px) rotateY(0deg);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  overflow: hidden;
}
.mdv-san-pham-show-name {
  font-size: clamp(1.35rem, 1.2731rem + 0.3846vw, 1.6rem);
}
.justify-content-start {
  font-size: initial;
}
.mdv-san-pham-comic-info ul {
  font-size: clamp(0.95rem, 0.9038rem + 0.2308vw, 1.1rem);
}
.san-pham-the-loai-item {
  font-size: clamp(0.85rem, 0.8038rem + 0.2308vw, 1rem);
}
/* sửa web */
.lt-truyen-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-position: bottom;
  background-size: cover;

  opacity: 0.75;
  pointer-events: none;
}
.mdv-product-page .container,
.mdv-sps-gioi-thieu-truyen-tb-tac-gia-wrapper,
.mvd-san-pham-show-danh-sach-chuong,
.mdv-san-pham-show-comment-box,
.msv-product-page .container,
.mdv-san-pham-detail-box,
.mdv-san-pham-show-comment,
.mdv-san-pham-detail-truyen-de-cu-container,
.category-section .container,
.lt-page-section .container,
.hq-contact-page-section-box {
  position: relative;
  z-index: 5;
}
.watermarked-content::before {
  display: none;
}
.san-pham-detail .lt-truyen-body {
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.lt-page-content {
  background-color: var(--background-color);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  box-shadow:
    rgba(50, 50, 105, 0.15) 0px 2px 5px 0px,
    rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}
.lt-button-mobile-tim-kiem {
  color: var(--main-color);
  font-size: 1.2rem;
}
.lt-button-mobile-tim-kiem i {
  transform: translateY(5px);
  -webkit-transform: translateY(5px);
  -moz-transform: translateY(5px);
  -ms-transform: translateY(5px);
  -o-transform: translateY(5px);
}

/* bee truyện start */

/* truyện đề cử start */
.bee-truyen-title-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 8px;
  background: #f09d9b;
  z-index: -1;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.anh-nen.lt-truyen-body {
  background: var(--v2-bg);
}
/* truyện đề cử end */

/* truyện mới cập nhật start */
.bee-truyen-item-image {
  overflow: hidden;
  --bs-aspect-ratio: 150%;
  width: 60px;
  height: 86px;
}
.bee-truyen-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bee-truyen-item-name {
  font-family:var(--normal-font), Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 0.8692rem + 0.1538vw, 1rem);
}
.bee-truyen-item-new:hover .bee-truyen-item-name {
  color: var(--second-text-color);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.bee-truyen-item-new {
  border-bottom: 1px dashed #202020;
}
.bee-truyen-item-meta {
  justify-content: center;
}
.bee-truyen-item-chapter {
  font-size: clamp(0.78rem, 0.75rem + 0.1vw, 0.85rem);
  color: #b83b47;
  font-weight: 600;
  line-height: 1.3;
}
.bee-truyen-item-author {
  font-size: clamp(0.75rem, 0.72rem + 0.1vw, 0.82rem);
  color: #846367;
  font-weight: 400;
  line-height: 1.3;
}
.bee-truyen-moi-cap-nhat-box {
  border-radius: 8px;
  border: 1px solid rgba(240, 157, 155, 0.33);
  background: rgba(240, 157, 155, 0.36);
  margin-top: -15px;
  padding-top: 15px;
  overflow: hidden;
  position: relative;
}
.bee-truyen-moi-cap-nhat-box::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: #fbd5d9;
  z-index: 5;
}
.bee-truyen-title-box {
  z-index: 5;
}
/* truyện mới cập nhật end */

/* footer start */
.nh-footer {
  background: linear-gradient(180deg, #e68c92 0%, #fde6e7 78.49%);
}
.nh-footer-box-item-content-ul li a {
  color: var(--text-color);
}
.nh-footer-copyright {
  background: #f4c6ca;
}
/* footer end */

/* trang sản phẩm show start */
.bee-gioi-thieu-truyen-title {
  border-radius: 43px;
  background: linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%);
  color: var(--background-color);
  font-family: var(--title-font), Helvetica, sans-serif;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
}
.bee-gioi-thieu-truyen-title-box {
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.thoi-gian-xuat-ban-time {
  color: var(--text-color);
}
/* trang sản phẩm show end */

/* trang sản phẩm chi tiết start */
.mdv-san-pham-detail {
  background: transparent;
  padding-top: 0;
}
.mdv-chuong-button.mdv-chuong-button-truoc {
  background: var(--r4, linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%));
}
.mdv-chuong-button {
  background: #f09d9b;
}
.mdv-chuong-button.mdv-chuong-button-sau {
  background: var(--r4, linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%));
}
.bee-gioi-thieu-truyen-title {
  position: relative;
  z-index: 5;
}
.san-pham-detail .bee-gioi-thieu-truyen-title-box::before {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  height: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  border-radius: 8px;
  background: #f09d9b;
  display: none;
}
.san-pham-detail .truyen-de-cu-title {
  background: var(--r4, linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.truyen-de-cu-title,
.truyen-de-cu-item {
  border-bottom: none;
}
/* trang sản phẩm chi tiết end */
.mdv-product-page,
.category-section {
  background-color: var(--second-background-color);
}

.lt-truyen-hoan-thanh-section .swiper-slider-advertise-item-image {
  box-shadow: none;
}
.btn-mdv-button-2 {
  background-color: #f09d9b;
  background: linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%);
}
.san-pham-the-loai-item {
  border-color: #f09d9b;
}
.san-pham-the-loai-item:hover {
  background-color: #f09d9b;
  background: linear-gradient(180deg, #f09d9b -12.74%, #e06b76 100%);
}
.san-pham-detail .top-item-comic-image {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
}
.san-pham-detail .top-item-comic-image-book-cover {
  transform: perspective(0px) rotateY(0deg);
  -webkit-transform: perspective(0px) rotateY(0deg);
  -moz-transform: perspective(0px) rotateY(0deg);
  -ms-transform: perspective(0px) rotateY(0deg);
  -o-transform: perspective(0px) rotateY(0deg);
}
.san-pham-detail .top-item-comic-image-book-cover::after {
  display: none;
}
.con-ong-img {
  position: absolute;
  z-index: 6;
  right: 0%;
  max-width: 100px;
  top: -15px;
  transform: translateY(-30%) translateX(100%);
  -webkit-transform: translateY(-30%) translateX(100%);
  -moz-transform: translateY(-30%) translateX(100%);
  -ms-transform: translateY(-30%) translateX(100%);
  -o-transform: translateY(-30%) translateX(100%);
  pointer-events: none;
}
.mat-ong-img {
  position: absolute;
  z-index: 6;
  left: -20px;
  top: -50px;
  max-width: 200px;
  pointer-events: none;
}
.mdv-profile-content-information,
.mdv-profile-content-change-info {
  background-color: var(--background-color);
}
.password-input-2 {
  height: 50px !important;
}
.table-danh-sach-tat-ca-thanh-vien {
  background-color: var(--background-color);
}
.admin-config-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* bee truyện end */

/* Custom Ong Modal */
.mdv-ong-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mdv-ong-modal-dialog {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}
.mdv-ong-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
}
.mdv-ong-modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.mdv-ong-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.mdv-ong-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  max-height: 78vh;
}
.mdv-ong-modal-footer {
  padding: 12px 18px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mdv-ong-modal-scroll-hint {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 6px;
  display: none;
}
.mdv-ong-modal-body.has-scroll .mdv-ong-modal-scroll-hint,
.mdv-ong-deposit-body.has-scroll .mdv-ong-modal-scroll-hint {
  display: block;
}

/* === Deposit Package Modal (Redesigned) === */
.mdv-ong-deposit-dialog {
  background: #fdeef0;
  border-radius: 20px;
  max-width: 420px;
}
.mdv-ong-deposit-header {
  text-align: center;
  padding: 24px 20px 12px;
  position: relative;
}
.mdv-ong-deposit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.mdv-ong-deposit-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
}
.mdv-ong-deposit-subtitle {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #555;
}
.mdv-ong-deposit-body {
  padding: 8px 20px 24px;
  overflow-y: auto;
  max-height: 78vh;
}
.mdv-ong-package-card {
  display: flex;
  align-items: center;
  background: #e68c92;
  /* border: 2px solid transparent; */
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: 2px dashed #b83b47;
  outline-offset: -6px;
}
.mdv-ong-package-card:hover {
  background: #e68c92;
}
.mdv-ong-package-card.active {
  background: #e68c92;
  outline-style: solid;
}
.mdv-ong-package-card input {
  display: none;
}
.mdv-ong-package-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.mdv-ong-package-card.active .mdv-ong-package-radio {
  background: #1a1a1a;
  box-shadow: inset 0 0 0 4px #e68c92;
}
.mdv-ong-package-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mdv-ong-package-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
  margin-left: auto;
  flex-shrink: 0;
}
.mdv-ong-package-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-left: 12px;
  line-height: 1.2;
}
.mdv-ong-package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mdv-ong-package-row + .mdv-ong-package-row {
  margin-top: 2px;
}
.mdv-ong-package-name-group,
.mdv-ong-package-total-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mdv-ong-package-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
}
.mdv-ong-package-bonus {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
  width: max-content;
}
.mdv-ong-package-popular {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #b83b47;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 2px 20px;
  border-radius: 0;
  flex-shrink: 0;
  position: absolute;
  top: 6px;
  left: -16px;
  transform: rotate(-40deg);
  -webkit-transform: rotate(-40deg);
  -moz-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  -o-transform: rotate(-40deg);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  pointer-events: none;
}

.mdv-ong-package-popular i {
  font-size: 0.7rem;
}
.mdv-ong-deposit-instructions {
  margin: 16px 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}
.mdv-ong-deposit-instructions ul {
  padding-left: 16px;
  margin: 0;
}
.mdv-ong-deposit-instructions li {
  margin-bottom: 8px;
}
/* Cho phép font-size inline từ Summernote thắng base */
.mdv-ong-deposit-instructions [style*="font-size"] {
  line-height: 1.45;
}
.mdv-ong-deposit-action-btn {
  display: block;
  width: max-content;
  margin: 0 auto;
  padding: 12px 36px;
  border: 2px solid #1a1a1a;
  border-radius: 50px;
  background: #fff;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 4px 0 #1a1a1a;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -ms-transition: all 0.15s;
  -o-transition: all 0.15s;
  align-content: center;
}
.mdv-ong-deposit-action-btn:hover:not(:disabled) {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 2px 0 #1a1a1a;
  transform: translateY(2px);
}
.mdv-ong-deposit-action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: 0 4px 0 rgba(26, 26, 26, 0.3);
}
.mdv-ong-deposit-action-btn.outline {
  background: transparent;
  box-shadow: 0 4px 0 #1a1a1a;
}
.mdv-ong-deposit-action-btn.outline:hover:not(:disabled) {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 2px 0 #1a1a1a;
  transform: translateY(2px);
}
.mdv-ong-deposit-action-btn.sm {
  padding: 6px 16px;
  font-size: 0.8rem;
}

/* Footer modal Mua truyện: màu theo thẻ vé, pill, không shadow */
.mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn {
  border-radius: 999px;
  border: 1.5px dashed #b83b47;
  background: #e68c92;
  color: #3f2629;
  font-weight: 800;
  box-shadow: none;
  transform: none;
}
.mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn:hover:not(:disabled) {
  background: #e68c92;
  color: #3f2629;
  box-shadow: none;
  transform: none;
  filter: brightness(1.03);
}
.mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn:disabled {
  box-shadow: none;
  opacity: 0.45;
}
.mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn.outline {
  background: #fff4f5;
  color: #633b40;
  border: 1.5px dashed #b83b47;
  box-shadow: none;
}
.mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn.outline:hover:not(:disabled) {
  background: #fff4f5;
  color: #3f2629;
  box-shadow: none;
  transform: none;
  filter: brightness(1.02);
}

/* Dark mode — modal Mua truyện / deposit dialog dùng chung */
body.dark-mode .mdv-ong-deposit-dialog {
  background: #2c2a28;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
body.dark-mode .mdv-ong-deposit-title {
  color: #f9eef0;
}
body.dark-mode .mdv-ong-deposit-subtitle {
  color: #b89ea2;
}
body.dark-mode .mdv-ong-deposit-close {
  color: #cab5b8;
}
body.dark-mode .mdv-ong-deposit-close:hover {
  color: #f9eef0;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat {
  background: #3a342f;
  border-color: rgba(230, 140, 146, 0.55);
  color: #f6dfe2;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat .mdv-ong-qr-info-text,
body.dark-mode .mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat .mdv-ong-qr-info-text strong {
  color: #f6dfe2;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-cashback:not(.mdv-story-ong-cashback--custom) {
  background: #352f2b;
  border-color: rgba(230, 140, 146, 0.35);
  color: #f6dfe2;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-story-ong-cashback__head {
  color: #e68c92;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-story-ong-cashback__label {
  color: #b89ea2;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-story-ong-cashback__amount,
body.dark-mode .mdv-story-ong-purchase-panel .mdv-story-ong-cashback__meta {
  color: #f9eef0;
}
body.dark-mode .mdv-story-ong-purchase-panel .text-danger {
  color: #ff8a80 !important;
}
body.dark-mode .mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn {
  background: #e68c92;
  border-color: rgba(230, 140, 146, 0.9);
  color: #301b1e;
  box-shadow: none;
}
body.dark-mode .mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn:hover:not(:disabled) {
  background: #f09d9b;
  color: #301b1e;
  box-shadow: none;
}
body.dark-mode .mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn.outline {
  background: #3a342f;
  border-color: rgba(230, 140, 146, 0.55);
  color: #f6dfe2;
  box-shadow: none;
}
body.dark-mode .mdv-story-ong-purchase-footer .mdv-ong-deposit-action-btn.outline:hover:not(:disabled) {
  background: #453e38;
  color: #f9eef0;
  box-shadow: none;
}
body.dark-mode .mdv-story-ong-purchase-panel .mdv-ong-deposit-action-btn.outline {
  background: #3a342f;
  border-color: rgba(230, 140, 146, 0.55);
  color: #f6dfe2;
  box-shadow: none;
}

/* QR Modal */
.mdv-ong-qr-panel {
  text-align: center;
}
.mdv-ong-qr-panel img {
  max-width: 260px;
  width: 100%;
  border-radius: 8px;
}
.mdv-ong-qr-info-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mdv-ong-qr-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e68c92;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 10px;
  outline: 2px dashed #b83b47;
  outline-offset: -6px;
  gap: 10px;
  width: max-content;
  margin: 0 auto;
  min-width: 175px;
  justify-content: center;
}
.mdv-ong-qr-info-card .mdv-ong-qr-info-text {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.4;
}
.mdv-ong-qr-info-card .mdv-ong-qr-info-text strong {
  font-weight: 700;
}
.mdv-ong-qr-info-card .mdv-ong-qr-info-text code {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}
.mdv-ong-qr-info-text img {
  margin-top: -3px;
}
#mdvOngQrContent
  .mdv-ong-qr-info-list
  .mdv-ong-qr-info-card.mdv-ong-qr-timer-card {
  justify-content: center;
  gap: 10px;
  background: #e68c92;
  justify-content: space-between;
}
.mdv-ong-qr-timer {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.45);
  padding: 4px 10px;
  border-radius: 8px;
  min-width: 64px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
}
.mdv-ong-qr-timer.expired {
  color: #b71c1c;
  background: var(--white-color);
}
.mdv-ong-qr-note {
  text-align: center;
  font-size: 0.75rem;
  color: #777;
  margin: 12px 0 0;
}
.mdv-ong-qr-urgency {
  margin: 0 0 12px;
  padding: 8px 12px;
  background: #fdeef0;
  color: #b83b47;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 0 8px 8px 0;
}
.mdv-ong-deposit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px 20px;
  flex-direction: column-reverse;
}
.mdv-ong-deposit-footer .mdv-ong-status-pill {
  background: rgba(255, 255, 255, 0.6);
}
.mdv-ong-status-pill {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #666;
}
.mdv-ong-status-pill.success {
  background: #d4edda;
  color: #155724;
}
.mdv-ong-qr-success-box {
  text-align: center;
  padding: 20px;
}

/* Confetti */
.mdv-ong-confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2147483000;
}
.mdv-ong-confetti-piece {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  transform: translate3d(var(--start-x), var(--start-y), 0) rotate(0deg)
    scale(var(--scale));
  will-change: transform, opacity;
  animation: mdvOngConfettiSideBurst 2s cubic-bezier(0.18, 0.72, 0.25, 1)
    forwards;
}
@keyframes mdvOngConfettiSideBurst {
  0% {
    opacity: 0;
    transform: translate3d(var(--start-x), var(--start-y), 0) rotate(0deg)
      scale(var(--scale));
  }
  12% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate3d(var(--end-x), var(--end-y), 0) rotate(var(--spin))
      scale(var(--scale));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--end-x), calc(var(--end-y) + var(--fall-y)), 0)
      rotate(var(--spin-end)) scale(var(--scale-end));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mdv-ong-confetti-piece {
    animation-duration: 0.01ms !important;
  }
}
body.mdv-ong-modal-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  .mdv-ong-modal-dialog {
    max-width: 100%;
    border-radius: 10px;
  }
  .mdv-ong-deposit-dialog {
    max-width: 100%;
    margin: 8px;
    border-radius: 16px;
  }
  .mdv-ong-deposit-body {
    padding: 8px 16px 20px;
  }
  .mdv-ong-deposit-header {
    padding: 20px 16px 10px;
  }
  .mdv-ong-package-card {
    padding: 12px 14px;
  }
  .mdv-ong-qr-panel img {
    max-width: 220px;
  }
  .mdv-ong-modal-header {
    padding: 12px 14px;
  }
  .mdv-ong-modal-body {
    padding: 12px 14px;
  }
  .mdv-ong-modal-footer {
    padding: 10px 14px;
  }
  .mdv-ong-deposit-footer {
    padding: 12px 16px 16px;
  }
}

/* Story Ong paywall notice (coral-cream, inline — không modal) */
.mdv-story-ong-notice {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.mdv-story-ong-notice-card {
  background: #fdeef0;
  border: 2px dashed #b83b47;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: inset 0 0 0 1px rgba(184, 59, 71, 0.12);
}
.mdv-story-ong-notice-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #b83b47;
  margin: 0 0 8px;
  text-align: center;
}
.mdv-story-ong-notice-desc {
  color: #633b40;
  margin: 0 0 16px;
  line-height: 1.5;
  text-align: center;
}
.mdv-story-ong-notice-desc:not([style*="font-size"]) {
  font-size: 0.9rem;
}
.mdv-story-ong-notice [style*="font-size"],
.mdv-story-ong-purchase-panel [style*="font-size"] {
  line-height: 1.45;
}
/* Thống kê modal Mua truyện: Ong hiện có / Giá / Còn lại */
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-list {
  align-items: stretch;
}
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  background: #fff4f5;
  border: 1.5px dashed #b83b47;
  outline: none;
  border-radius: 999px;
  padding: 10px 16px;
  color: #633b40;
  text-align: center;
}
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat .mdv-ong-qr-info-text {
  color: #633b40;
  font-size: 0.92rem;
}
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat .mdv-ong-qr-info-text strong {
  color: #3f2629;
}
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-stat img {
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
  margin-left: 0.15em;
}

.mdv-story-ong-notice-actions {
  margin-top: 16px;
}
.mdv-story-ong-notice-actions .row {
  --bs-gutter-x: 0.65rem;
  --bs-gutter-y: 0.65rem;
}
.mdv-ong-ticket-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 92px;
  padding: 12px 10px;
  border: 1.5px dashed #b83b47;
  border-radius: 14px;
  color: #633b40;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.mdv-ong-ticket-btn--buy {
  background: #e68c92;
}
.mdv-ong-ticket-btn--nap {
  background: #fff4f5;
}
.mdv-ong-ticket-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #633b40;
  line-height: 1;
}
.mdv-ong-ticket-btn__svg {
  display: block;
}
.mdv-ong-ticket-btn__label {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  color: #3f2629;
}
.mdv-ong-ticket-btn__sub {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #84595e;
}
.mdv-ong-ticket-btn__sub img {
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
  margin-left: 0.15em;
}
.mdv-ong-ticket-btn:hover,
.mdv-ong-ticket-btn:focus-visible {
  text-decoration: none;
  color: #3f2629;
  filter: brightness(1.03);
}
.mdv-ong-ticket-btn:focus-visible {
  outline: 2px solid #b83b47;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .mdv-ong-ticket-btn:hover {
    transform: translateY(-1px);
  }
  .mdv-ong-ticket-btn:active {
    transform: translateY(1px) scale(0.99);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mdv-ong-ticket-btn {
    transition: none;
  }
}
.mdv-story-ong-notice .mdv-ong-qr-info-card {
  background: #e68c92;
  border: 1px dashed rgba(184, 59, 71, 0.45);
  border-radius: 10px;
  padding: 10px 14px;
}
.mdv-story-ong-notice .mdv-ong-qr-info-card.mdv-story-ong-cashback,
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-cashback,
.mdv-ong-qr-info-list .mdv-ong-qr-info-card.mdv-story-ong-cashback {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(184, 59, 71, 0.28);
  outline: none;
  border-radius: 14px;
  color: #543539;
  padding: 14px 16px;
  white-space: normal;
  overflow: visible;
  text-align: left;
}
/* Modal Mua: card hoàn cấu trúc (không custom Summernote) */
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-cashback:not(.mdv-story-ong-cashback--custom) {
  background: #ffffff;
  border: 1px solid #f4c6ca;
  border-radius: 14px;
  padding: 14px 16px;
}
.mdv-story-ong-purchase-panel .mdv-story-ong-cashback__head {
  color: #b83b47;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mdv-story-ong-purchase-panel .mdv-story-ong-cashback__amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: #3f2629;
}
.mdv-story-ong-purchase-panel .mdv-story-ong-cashback__meta {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3f2629;
}
.mdv-story-ong-purchase-panel .mdv-story-ong-cashback__foot {
  display: none;
}
.mdv-story-ong-cashback__inner {
  width: 100%;
}
.mdv-story-ong-cashback__head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b83b47;
  margin-bottom: 8px;
}

/* Khối thông báo tùy chỉnh — dải trắng giữa khung cream (mock Làn Truyện) */
.mdv-story-ong-notice .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom,
.mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom,
.mdv-ong-qr-info-list .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom {
  background: #ffffff;
  border: 1px solid rgba(184, 59, 71, 0.28);
  border-radius: 12px;
  box-shadow: none;
  padding: 16px 14px 18px;
  color: #633b40;
}
.mdv-story-ong-cashback--custom .mdv-story-ong-cashback__inner {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #633b40;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.mdv-story-ong-cashback--custom h4,
.mdv-story-ong-cashback--custom h5 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d04c58;
  line-height: 1.35;
}
.mdv-story-ong-cashback--custom p {
  margin: 0 0 8px;
  color: #633b40;
}
.mdv-story-ong-cashback--custom p:last-child {
  margin-bottom: 0;
  font-size: 0.88rem;
  color: #84595e;
}
.mdv-story-ong-cashback--custom strong {
  color: #3f2629;
  font-weight: 800;
}
.mdv-story-ong-cashback--custom img {
  height: 1.1em;
  width: auto;
  vertical-align: -0.15em;
  margin: 0 0.1em;
}
@media (prefers-reduced-motion: no-preference) {
  .mdv-story-ong-cashback--custom {
    animation: mdvCashbackCustomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@keyframes mdvCashbackCustomIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 576px) {
  .mdv-story-ong-notice .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom,
  .mdv-story-ong-purchase-panel .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom,
  .mdv-ong-qr-info-list .mdv-ong-qr-info-card.mdv-story-ong-cashback.mdv-story-ong-cashback--custom {
    padding: 14px 10px 16px;
  }
  .mdv-story-ong-cashback--custom h4,
  .mdv-story-ong-cashback--custom h5 {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }
}
.mdv-story-ong-cashback__label {
  font-size: 0.72rem;
  color: #8a5e63;
  margin-bottom: 2px;
  line-height: 1.3;
}
.mdv-story-ong-cashback__amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3f2629;
  line-height: 1.2;
}
.mdv-story-ong-cashback__amount--solo {
  font-size: 1.25rem;
}
.mdv-story-ong-cashback__meta {
  font-size: 0.92rem;
  font-weight: 600;
  color: #3f2629;
  line-height: 1.35;
  word-break: break-word;
}
.mdv-story-ong-cashback__foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 59, 71, 0.28);
  font-size: 0.82rem;
  color: #633f44;
  line-height: 1.4;
}
.mdv-story-ong-cashback__fallback {
  font-size: 0.86rem;
  color: #3f2629;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}
.mdv-story-ong-notice .mdv-ong-qr-info-card.mdv-story-ong-cashback .mdv-ong-qr-info-text {
  color: #3f2629;
  white-space: normal;
}
.mdv-story-ong-notice .mdv-ong-qr-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-mdv-button-2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#mdvOngQrContent .mdv-ong-qr-info-list .mdv-ong-qr-info-card {
  justify-content: space-between;
  width: 100%;
}
#mdvOngQrContent
  .mdv-ong-qr-info-list
  .mdv-ong-qr-info-card
  .mdv-ong-deposit-action-btn.sm {
  margin: 0;
  margin-left: auto;
}
.js-save-library-btn {
  cursor: pointer;
}

/* trang tai khoan bi khoa start */
body.tai-khoan-bi-khoa {
  background: #1a1a1a;
}
body.tai-khoan-bi-khoa .lt-header,
body.tai-khoan-bi-khoa .mdv-menu-mobile,
body.tai-khoan-bi-khoa .nh-footer,
body.tai-khoan-bi-khoa .anh-nen.lt-truyen-body,
body.tai-khoan-bi-khoa .lenis-scrollbar {
  display: none !important;
}
body.tai-khoan-bi-khoa .wrapper,
body.tai-khoan-bi-khoa .wrapper.wrapper-detail {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
}
.lt-account-locked-section {
  background: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
}
.lt-account-locked-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(230, 140, 146, 0.12),
      transparent 40%
    ),
    radial-gradient(circle at 80% 70%, rgba(184, 59, 71, 0.1), transparent 45%);
  pointer-events: none;
}
.lt-account-locked-card {
  position: relative;
  z-index: 1;
  background: #242424;
  border: 1px solid rgba(230, 140, 146, 0.18);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lt-account-locked-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  background: #e68c92;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 34px;
  outline: 2px dashed #b83b47;
  outline-offset: -5px;
}
.lt-account-locked-title {
  font-family: var(--title-font), var(--normal-font), Helvetica, sans-serif;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.lt-account-locked-desc {
  color: #b8b8b8;
  font-size: clamp(0.92rem, 0.86rem + 0.2vw, 1rem);
  line-height: 1.65;
  margin-bottom: 14px;
}
.lt-account-locked-desc strong {
  color: #e68c92;
}
.lt-account-locked-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.lt-account-locked-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid #1a1a1a;
  border-radius: 50px;
  background: #e68c92;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  outline: 2px dashed #b83b47;
  outline-offset: -5px;
  transition: all 0.15s ease;
  text-decoration: none;
  min-width: 170px;
}
.lt-account-locked-btn:hover {
  background: #e06b76;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 140, 146, 0.25);
}
.lt-account-locked-btn:active {
  transform: translateY(0);
}
.lt-account-locked-btn-outline {
  background: transparent;
  color: #e68c92;
  border-color: #e68c92;
}
.lt-account-locked-btn-outline:hover {
  background: rgba(230, 140, 146, 0.1);
  color: #e68c92;
}
.mdv-ong-package-total-group {
  width: 100%;
  justify-content: space-between;
}

/* trang tai khoan bi khoa end */
@media (max-width: 576px) {
  .lt-account-locked-section {
    padding: 24px 12px;
    min-height: 100vh;
  }
  .lt-account-locked-card {
    padding: 36px 24px;
    border-radius: 16px;
  }
  .lt-account-locked-icon {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
  .lt-account-locked-actions {
    flex-direction: column;
    gap: 12px;
  }
  .lt-account-locked-btn {
    width: 100%;
    min-width: auto;
  }
  .mdv-story-ong-notice-card {
    padding: 16px;
  }
  .mdv-ong-ticket-btn {
    min-height: 84px;
    padding: 10px 6px;
  }
  .mdv-ong-ticket-btn__label {
    font-size: 0.9rem;
  }
  .mdv-ong-ticket-btn__sub {
    font-size: 0.74rem;
  }
}

/* admin menu header icons */
.mdv-nav-menu .menu_a_level_1 { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mdv-nav-menu .menu-header-icon { height: 22px; width: auto; display: block; }
