:root {
  --galaxy-cyan: #69e7ff;
  --galaxy-purple: #b78cff;
}

.galaxy-search {
  position: relative;
  overflow: hidden;
  margin: 18px 0 32px;
  padding: 1px;
  border: 1px solid rgba(159, 123, 255, .3);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(81, 47, 146, .34), transparent 42%),
    radial-gradient(ellipse at 92% 30%, rgba(31, 121, 165, .2), transparent 38%),
    linear-gradient(145deg, #10112a 0%, #090b19 52%, #111025 100%);
  box-shadow: 0 18px 55px rgba(3, 5, 20, .42), inset 0 1px rgba(255, 255, 255, .04);
  color: #f5f2ff;
}

.galaxy-search::before,
.galaxy-search::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.galaxy-search::before {
  inset: 0;
  opacity: .38;
  background-image:
    radial-gradient(1px 1px at 8% 20%, #fff 99%, transparent),
    radial-gradient(1px 1px at 18% 72%, #c6b4ff 99%, transparent),
    radial-gradient(2px 2px at 42% 16%, #fff 99%, transparent),
    radial-gradient(1px 1px at 66% 42%, #a9eaff 99%, transparent),
    radial-gradient(1px 1px at 88% 18%, #fff 99%, transparent),
    radial-gradient(2px 2px at 94% 79%, #d2b8ff 99%, transparent),
    radial-gradient(1px 1px at 53% 88%, #fff 99%, transparent);
}

.galaxy-search::after {
  top: -180px;
  right: -110px;
  width: 430px;
  height: 290px;
  border: 1px solid rgba(184, 140, 255, .17);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(130, 88, 220, .12), inset 0 0 45px rgba(105, 231, 255, .05);
  transform: rotate(-22deg);
}

.galaxy-search__hero {
  position: relative;
  z-index: 1;
  min-height: 176px;
  padding: 34px 38px 30px;
}

.galaxy-search__eyebrow {
  color: var(--galaxy-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.galaxy-search__hero h2 {
  margin: 10px 0 7px;
  color: #fff;
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.04em;
  text-shadow: 0 0 24px rgba(183, 140, 255, .34);
}

.galaxy-search__hero p {
  max-width: 620px;
  margin: 0;
  color: #b9bbd4;
  font-size: 14px;
  line-height: 1.7;
}

.galaxy-search__hero p strong {
  color: #e6d6ff;
}

.galaxy-search__orb {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.galaxy-search__orb--one {
  top: 25px;
  right: 15%;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 35% 32%, #e6d6ff 0, #a879ed 17%, #54328d 48%, #17142e 76%);
  box-shadow: 0 0 45px rgba(172, 120, 255, .3);
}

.galaxy-search__orb--two {
  top: 94px;
  right: 11%;
  width: 12px;
  height: 12px;
  background: #8deaff;
  box-shadow: 0 0 18px 5px rgba(105, 231, 255, .35);
}

.galaxy-search__results {
  position: relative;
  z-index: 1;
  padding: 0 28px 30px;
}

.galaxy-search__message {
  margin: 0;
  padding: 25px 20px;
  border: 1px solid rgba(173, 158, 220, .16);
  border-radius: 12px;
  background: rgba(10, 12, 30, .58);
  color: #c3c4d8;
  text-align: center;
}

.galaxy-film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 16px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
}

.galaxy-film {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(173, 158, 220, .15);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(28, 27, 57, .92), rgba(12, 14, 31, .96));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.galaxy-film:hover {
  transform: translateY(-5px);
  border-color: rgba(105, 231, 255, .5);
  box-shadow: 0 12px 28px rgba(20, 15, 54, .48), 0 0 18px rgba(105, 231, 255, .1);
}

.galaxy-film__poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #17172c;
}

.galaxy-film__poster::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(7, 8, 21, .7));
  content: "";
}

.galaxy-film__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.galaxy-film:hover .galaxy-film__poster img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.galaxy-film__status {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid rgba(181, 145, 255, .42);
  border-radius: 20px;
  background: rgba(22, 16, 45, .82);
  color: #e5d6ff;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.galaxy-film__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(112, 76, 190, .72);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  place-items: center;
  transform: translate(-50%, -42%) scale(.88);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}

.galaxy-film:hover .galaxy-film__play,
.galaxy-film__poster:focus-visible .galaxy-film__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.galaxy-film__info {
  padding: 12px 12px 14px;
}

.galaxy-film__info h3 {
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.galaxy-film__info h3 a {
  color: #f5f2ff;
  text-decoration: none;
}

.galaxy-film__info h3 a:hover {
  color: var(--galaxy-cyan);
}

.galaxy-film__info p {
  overflow: hidden;
  margin: 4px 0 8px;
  color: #a5a8c2;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.galaxy-film__views {
  color: #8589a7;
  font-size: 11px;
}

.galaxy-feedback-page {
  display: grid;
  min-height: 100vh;
  padding: 20px;
  place-items: center;
}

.galaxy-feedback {
  width: min(100%, 460px);
  padding: 36px;
  border: 1px solid rgba(159, 123, 255, .3);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(81, 47, 146, .34), transparent 45%),
    linear-gradient(145deg, #10112a, #090b19);
  box-shadow: 0 18px 55px rgba(3, 5, 20, .42);
  text-align: center;
}

.galaxy-feedback h1 {
  margin: 12px 0;
  color: #fff;
  font-size: 27px;
}

.galaxy-feedback p {
  margin: 0 0 22px;
  color: #b9bbd4;
  font-size: 15px;
  line-height: 1.6;
}

.galaxy-feedback a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(105, 231, 255, .3);
  border-radius: 8px;
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .galaxy-search {
    margin-top: 10px;
    border-radius: 14px;
  }

  .galaxy-search__hero {
    min-height: 155px;
    padding: 27px 21px 24px;
  }

  .galaxy-search__orb--one {
    top: 27px;
    right: 9%;
    width: 54px;
    height: 54px;
    opacity: .8;
  }

  .galaxy-search__orb--two {
    top: 84px;
    right: 7%;
  }

  .galaxy-search__results {
    padding: 0 14px 20px;
  }

  .galaxy-film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 10px;
    padding-top: 16px;
  }

  .galaxy-film__info {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galaxy-film,
  .galaxy-film__poster img,
  .galaxy-film__play {
    transition: none;
  }
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 14% 8%, rgba(64, 48, 125, .22), transparent 34%),
    radial-gradient(ellipse at 88% 32%, rgba(22, 83, 117, .14), transparent 30%),
    #080a15 !important;
  color: #d9d9ec;
}

#wrapper {
  min-height: 100vh;
  background: transparent;
}

#header .container {
  display: grid;
  grid-template-columns: minmax(175px, 215px) minmax(210px, 1fr) minmax(300px, auto);
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 10px 0;
  box-sizing: border-box;
}

#header #logo,
#header #search,
#header #sign {
  float: none;
  width: auto;
  margin: 0;
}

#header #logo,
#header #logo a {
  height: auto;
}

#header #logo a {
  display: inline-block;
  width: auto;
  padding: 0;
  color: #f3eaff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.15;
  text-decoration: none;
}

#header #logo a img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  max-width: 190px;
  max-height: 48px;
  object-fit: contain;
}

#header #logo a.site-logo-image {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#header #logo a.site-logo-image span {
  display: -webkit-box;
  overflow: hidden;
  max-width: 150px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#header #logo a.site-logo-image {
  background: none;
  text-indent: 0;
}

#header #search form {
  display: flex;
  gap: 8px;
}

#header #search .keyword {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  box-sizing: border-box;
}

#header #search .submit {
  flex: 0 0 44px;
  height: 40px;
  margin: 0;
}

#header #sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
}

#header #sign > form {
  min-width: 0;
}

#nav .container {
  width: min(1180px, calc(100% - 32px));
}

#header {
  border-bottom: 1px solid rgba(151, 129, 228, .22);
  background: linear-gradient(100deg, rgba(9, 11, 27, .98), rgba(20, 16, 43, .96) 55%, rgba(10, 17, 34, .98));
  box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
}

#header .container {
  position: relative;
}

#logo a {
  color: #f3eaff;
  text-shadow: 0 0 18px rgba(185, 140, 255, .55);
}

#search .keyword,
#sign .login-form .input,
#sign input[type="text"],
#sign input[type="password"] {
  border: 1px solid rgba(163, 143, 224, .3);
  border-radius: 8px;
  background: rgba(8, 10, 27, .86);
  color: #f5f2ff;
}

#search .keyword:focus,
#sign .login-form .input:focus {
  border-color: rgba(105, 231, 255, .7);
  box-shadow: 0 0 0 3px rgba(105, 231, 255, .1), 0 0 18px rgba(105, 231, 255, .13);
}

#search .keyword::placeholder,
#sign .login-form .input::placeholder {
  color: #9598b4;
}

#search .submit,
#sign .login-form .submit,
#logout {
  border: 1px solid rgba(105, 231, 255, .3);
  border-radius: 8px;
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
  box-shadow: 0 4px 15px rgba(50, 79, 153, .25);
  transition: filter .2s ease, box-shadow .2s ease;
}

#search .submit:hover,
#sign .login-form .submit:hover,
#logout:hover {
  filter: brightness(1.18);
  box-shadow: 0 0 18px rgba(105, 231, 255, .24);
}

#sign,
#sign a,
#sign .login a {
  color: #d8d1f3;
}

#sign a:hover,
#nav a:hover {
  color: var(--galaxy-cyan);
}

#sign .login-form {
  z-index: 20;
  padding: 14px;
  border: 1px solid rgba(163, 143, 224, .3);
  border-radius: 12px;
  background: rgba(13, 14, 34, .98);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .45);
}

#sign > form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

#sign .account-greeting {
  color: #d8d1f3;
  white-space: normal;
  overflow-wrap: anywhere;
}

#sign .admin-link {
  padding: 8px 11px;
  border: 1px solid rgba(183, 140, 255, .28);
  border-radius: 7px;
  background: rgba(93, 61, 150, .22);
  color: #e8d7ff;
  white-space: nowrap;
}

#nav {
  border-top: 1px solid rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(105, 231, 255, .19);
  background: linear-gradient(90deg, #17132f, #101b32 55%, #17132f);
}

#nav .menu > li > a,
#nav a {
  color: #e4e1f7;
  transition: color .2s ease, background .2s ease;
}

#nav .menu > li:hover,
#nav .menu > li:focus-within {
  background: rgba(121, 94, 198, .2);
}

#nav .sub-menu {
  border: 1px solid rgba(163, 143, 224, .25);
  border-radius: 0 0 10px 10px;
  background: rgba(13, 14, 34, .98);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .38);
}

#nav .sub-menu li a:hover {
  background: rgba(105, 231, 255, .1);
}

#nav2 {
  border-bottom: 1px solid rgba(163, 143, 224, .13);
  background: linear-gradient(90deg, rgba(25, 20, 50, .84), rgba(13, 24, 41, .84));
  color: #d8d3ef;
}

#body-wrap {
  display: grid;
  grid-template-areas:
    "featured featured"
    "content sidebar";
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px 20px;
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
  padding-top: 20px;
  min-height: 300px;
  overflow: visible;
  background: transparent;
  font-size: 14px;
  line-height: 1.55;
  box-sizing: border-box;
}

#body-wrap > #movie-hot {
  grid-area: featured;
  min-width: 0;
}

#body-wrap > .galaxy-db-notice {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
}

#body-wrap > #content {
  grid-area: content;
  float: none;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}

#body-wrap > #sidebar {
  grid-area: sidebar;
  float: none;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}

#body-wrap > #content,
#body-wrap > #sidebar {
  display: block;
  visibility: visible;
}

.galaxy-db-notice {
  margin: 14px 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 170, 96, .42);
  border-radius: 10px;
  background: rgba(74, 43, 28, .72);
  color: #ffe0c5;
  line-height: 1.6;
}

.galaxy-db-notice code {
  color: #fff;
}

#movie-hot,
.block,
#chart,
#movie-recommend,
#movie-update,
#page-list,
#page-info,
#movie-display,
#detail,
#server-list {
  border: 1px solid rgba(155, 137, 220, .19);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .96), rgba(11, 14, 30, .97));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .025);
}

#movie-hot {
  overflow: hidden;
  width: 100%;
  padding: 14px 16px 16px;
  box-sizing: border-box;
}

#content ul.list-film {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 14px;
}

#content ul.list-film > li {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

#content ul.list-film > li .inner {
  height: auto;
  min-height: 0;
  padding: 9px;
}

#content ul.list-film > li img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  object-fit: cover;
}

#movie-hot > .title,
.block .blocktitle .title,
#movie-recommend .tab,
#movie-update .blocktitle .title {
  color: #f0eaff;
}

#movie-hot .listfilm li,
.list-film li .inner {
  overflow: hidden;
  border: 1px solid rgba(155, 137, 220, .16);
  border-radius: 10px;
  background: linear-gradient(160deg, #20203e, #101326);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .24);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#movie-hot .listfilm li:hover,
.list-film li .inner:hover {
  border-color: rgba(105, 231, 255, .45);
  box-shadow: 0 0 20px rgba(105, 231, 255, .1);
}

#movie-hot .listfilm li a.movie-hot-link img {
  min-width: 0;
  background: #17172c;
  object-position: center;
}

#movie-hot .listfilm li a.movie-hot-link .movie-hot-image-fallback {
  display: none;
}

#movie-hot .listfilm li a.movie-hot-link--missing {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #17172c, #101326);
  color: #aeb0c8;
  font-size: 12px;
  text-indent: 0;
}

#movie-hot .listfilm li a.movie-hot-link--missing .movie-hot-image-fallback {
  display: block;
}

#movie-hot .listfilm .overlay,
.list-film li .info {
  background: linear-gradient(0deg, rgba(8, 9, 22, .98), rgba(14, 13, 33, .89));
  color: #f3efff;
}

#movie-hot .listfilm .name a,
.list-film li .name a {
  color: #f1eaff;
}

#movie-hot .listfilm .name a:hover,
.list-film li .name a:hover {
  color: var(--galaxy-cyan);
}

#movie-hot .status,
.list-film li .status,
.galaxy-film__status {
  border: 1px solid rgba(105, 231, 255, .25);
  background: rgba(22, 30, 58, .9);
  color: #bcefff;
}

.block .blocktitle,
.breadcrumbs {
  border-bottom: 1px solid rgba(155, 137, 220, .16);
  background: linear-gradient(90deg, rgba(58, 43, 103, .34), rgba(20, 42, 66, .2), transparent);
  color: #f1eaff;
}

.block .blocktitle {
  min-height: 42px;
  padding: 9px 13px;
  box-sizing: border-box;
}

.block .blocktitle .title,
.blocktitle h2,
.breadcrumbs .item,
.breadcrumbs .item a {
  color: #e9e2ff;
}

.tabs .tab,
#page-list .filter,
#page-info .detail,
#page-info .info,
#page-info .tabs-content {
  color: #c6c6dd;
}

.tabs .tab.active,
#page-list .filter .item .btn,
.tabs .tab:hover {
  border-color: rgba(105, 231, 255, .24);
  background: linear-gradient(120deg, rgba(92, 58, 153, .72), rgba(31, 95, 122, .72));
  color: #fff;
}

.list-film li .name2,
#chart .views,
.galaxy-film__views {
  color: #9fa2bd;
}

#sidebar .block {
  overflow: hidden;
}

#sidebar .block {
  margin-bottom: 16px;
  border: 1px solid rgba(155, 137, 220, .19);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .96), rgba(11, 14, 30, .97));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

#chart .blocktitle,
#chart .tabs,
#chart .blockbody {
  background-color: transparent;
}

#chart .tabs .tab {
  border: 1px solid transparent;
  border-radius: 7px;
  color: #b8b6d1;
}

#chart .tabs .tab.active {
  border-color: rgba(105, 231, 255, .23);
  background: rgba(105, 231, 255, .1);
  color: #c9f6ff;
}

#chart ul li {
  border-bottom: 1px solid rgba(155, 137, 220, .12);
}

#chart ul li .name a,
#chart ul li .detail a {
  color: #e3e0f5;
}

#chart ul li .name a:hover {
  color: var(--galaxy-cyan);
}

#page-info .info a,
#page-info .detail a,
#content a {
  color: #a9dfff;
}

#page-info .info a:hover,
#page-info .detail a:hover {
  color: #d6c0ff;
}

#page-info .info .poster img {
  border: 1px solid rgba(155, 137, 220, .28);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 22px rgba(120, 82, 190, .15);
}

#page-info .btn-watch,
#page-watch .action,
#server-list .button,
#movie-display .btn,
#content button {
  border-color: rgba(105, 231, 255, .25);
  border-radius: 8px;
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
}

#movie-display iframe {
  max-width: 100%;
  border: 1px solid rgba(105, 231, 255, .24);
  border-radius: 10px;
  background: #03040b;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 24px rgba(57, 116, 168, .12);
}

#movie-display .episode-video {
  display: block;
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px solid rgba(105, 231, 255, .24);
  border-radius: 10px;
  background: #03040b;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 24px rgba(57, 116, 168, .12);
}

.video-quality-badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 10px;
  border: 1px solid rgba(105, 231, 255, .28);
  border-radius: 20px;
  background: rgba(39, 110, 145, .18);
  color: #b8f3ff;
  font-size: 12px;
  font-weight: 700;
}

.theme-toggle {
  margin: 0 8px;
  padding: 7px 10px;
  border: 1px solid rgba(105, 231, 255, .3);
  border-radius: 8px;
  background: rgba(25, 31, 58, .85);
  color: #e5eaff;
  cursor: pointer;
}

.video-utility-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.video-clip-status {
  min-height: 20px;
  color: #aeb0c8;
  font-size: 12px;
}

.video-player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.video-ad-break {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 12px;
  background: rgba(3, 4, 10, .96);
}

.video-ad-break[hidden],
.video-ad-break [hidden] {
  display: none !important;
}

.video-ad-break__video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #000;
  object-fit: contain;
}

.video-ad-break__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 4px 2px;
  color: #fff;
}

.video-ad-break__controls [role="status"] {
  min-width: 150px;
  text-align: center;
}

.video-ad-resume-status {
  margin: 8px 0;
  color: #ffd987;
}

.video-ad-resume-status[hidden] {
  display: none !important;
}

.video-player-frame iframe,
.video-player-frame video {
  position: relative;
  z-index: 0;
}

.danmaku-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.danmaku-comment {
  position: absolute;
  left: 100%;
  max-width: 80%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(16px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 2px 3px #000, 1px 0 3px #000, -1px 0 3px #000;
  animation: danmaku-travel 9s linear forwards;
}

@keyframes danmaku-travel {
  from { transform: translateX(0); }
  to { transform: translateX(-150vw); }
}

.community-panel {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .92), rgba(11, 14, 30, .96));
  color: #dedcf0;
}

.community-panel h3 {
  margin-top: 0;
  color: #f5f2ff;
}

.community-panel [data-community-status],
.community-note {
  color: #aeb0c8;
}

.community-room-actions,
.community-room-actions form,
.party-chat-form,
.danmaku-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.community-room-actions form,
.party-chat-form,
.danmaku-form {
  flex: 1 1 280px;
}

.community-room-actions .form-control,
.party-chat-form .form-control,
.danmaku-form .form-control {
  flex: 1 1 180px;
}

.community-party {
  margin: 16px 0;
}

.party-chat-log {
  height: 190px;
  overflow-y: auto;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(155, 137, 220, .18);
  border-radius: 8px;
  background: rgba(5, 7, 19, .6);
}

.party-chat-log > div {
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.party-chat-log strong {
  color: #69e7ff;
}

.community-note {
  margin: 12px 0 0;
  font-size: 12px;
}

.copyright-report-card,
.related-recommendations {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .92), rgba(11, 14, 30, .96));
  color: #dedcf0;
}

.copyright-report-card h3,
.related-recommendations h3 {
  margin-top: 0;
  color: #f5f2ff;
}

.copyright-report-card > p {
  color: #aeb0c8;
}

.copyright-report-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.copyright-report-form .form-group {
  margin-bottom: 0;
}

.copyright-report-form .form-group:nth-last-of-type(2),
.copyright-report-form button {
  grid-column: 1 / -1;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(155, 137, 220, .18);
  border-radius: 9px;
  background: rgba(9, 11, 28, .55);
  color: #eeeaff;
  text-decoration: none;
}

.recommendation-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.recommendation-card span,
.recommendation-card small {
  padding: 0 8px;
}

.recommendation-card span {
  color: inherit;
  font-weight: 700;
}

.recommendation-card small {
  padding-bottom: 8px;
  color: #aeb0c8;
}

.admin-reports {
  padding-top: 30px;
  padding-bottom: 40px;
}

.admin-report-note {
  color: #aeb0c8;
}

.admin-report-card {
  margin: 16px 0;
  padding: 20px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .92), rgba(11, 14, 30, .96));
  color: #dedcf0;
}

.admin-report-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.admin-report-heading h2 {
  margin: 0;
  color: #f5f2ff;
  font-size: 19px;
}

.admin-report-heading span,
.admin-report-card > p {
  color: #aeb0c8;
}

.admin-report-details {
  white-space: pre-wrap;
}

.admin-report-status-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.admin-report-status-form .form-control {
  width: auto;
  min-width: 170px;
}

.premium-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 40px) 16px;
  background:
    radial-gradient(ellipse at 18% 0, rgba(91, 59, 159, .24), transparent 38%),
    #090b19;
  color: #dedcf0;
}

.premium-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.premium-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid rgba(163, 143, 224, .24);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(105, 231, 255, .16), transparent 35%),
    radial-gradient(ellipse at 5% 100%, rgba(183, 140, 255, .18), transparent 45%),
    linear-gradient(140deg, rgba(22, 22, 48, .97), rgba(9, 13, 29, .98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
}

.premium-eyebrow {
  margin: 26px 0 7px;
  color: #69e7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.premium-shell h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.2;
}

.premium-hero > p:last-child {
  max-width: 600px;
  margin: 0;
  color: #b9bbd4;
  line-height: 1.7;
}

.premium-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(105, 231, 255, .25);
  border-radius: 999px;
  background: rgba(8, 10, 27, .48);
  color: #69e7ff;
  font-weight: 700;
  text-decoration: none;
}

.premium-card {
  margin: 14px 0;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(20, 20, 43, .94), rgba(11, 14, 30, .97));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  color: #c7c7dc;
}

.premium-card > p {
  color: #aeb0c8;
  line-height: 1.65;
}

.premium-card h2 {
  margin: 0 0 8px;
  color: #f5f2ff;
  font-size: clamp(18px, 2.5vw, 21px);
}

.premium-card .bank-amount-form {
  display: block;
}

.premium-bank-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.bank-amount-form {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(105, 231, 255, .2);
  border-radius: 12px;
  background: rgba(8, 10, 27, .48);
}

.bank-amount-form label {
  display: block;
  margin-bottom: 9px;
  color: #dedcf0;
  font-weight: 700;
}

.bank-amount-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bank-amount-controls input {
  flex: 1 1 200px;
  width: auto;
  min-width: 0;
}

.bank-amount-controls button,
.bank-amount-reset {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(105, 231, 255, .28);
  border-radius: 8px;
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.bank-amount-reset {
  background: rgba(255, 255, 255, .06);
}

.premium-card form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.premium-card label {
  width: 100%;
}

.premium-card select,
.premium-card input {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(163, 143, 224, .3);
  border-radius: 7px;
  background: #101329;
  color: #f1efff;
}

.premium-card button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
  font-weight: 700;
}

.premium-bank-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 20vw, 190px);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2vw, 17px);
  gap: 14px;
  border: 1px solid rgba(105, 231, 255, .2);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(105, 231, 255, .1), transparent 43%),
    linear-gradient(145deg, rgba(17, 28, 49, .82), rgba(8, 10, 27, .8));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.premium-bank-account h3 {
  margin: 0 0 12px;
  color: #69e7ff;
}

.premium-bank-details {
  min-width: 0;
}

.premium-bank-account dl {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}

.premium-bank-account dt {
  color: #aeb0c8;
}

.premium-bank-account dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.premium-bank-account dd strong {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(183, 140, 255, .22);
  border-radius: 7px;
  background: rgba(183, 140, 255, .08);
  color: #f5f2ff;
  font-size: 15px;
  letter-spacing: .05em;
}

.bank-copy-button {
  margin-left: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(105, 231, 255, .28);
  border-radius: 7px;
  background: rgba(39, 110, 145, .17);
  color: #bcefff;
  font-size: 12px;
  cursor: pointer;
}

.bank-copy-status {
  display: block;
  margin-top: 5px;
  color: #9de7c4;
  font-size: 12px;
}

.premium-bank-hint {
  margin: 14px 0 0;
  color: #aeb0c8;
  font-size: 12px;
  line-height: 1.5;
}

.premium-bank-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 7px;
  width: 100%;
  max-width: 210px;
  padding: 10px;
  border: 1px solid rgba(105, 231, 255, .2);
  border-radius: 12px;
  background: #fff;
  color: #28314b;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.premium-bank-qr:hover {
  border-color: #69e7ff;
  box-shadow: 0 0 24px rgba(105, 231, 255, .17);
  color: #28314b;
}

.premium-bank-qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.premium-bank-qr-warning {
  margin: 0;
  color: #ffd491;
  font-size: 12px;
  line-height: 1.5;
}

.admin-bank-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  max-width: 760px;
}

.admin-bank-form .form-group {
  margin-bottom: 12px;
}

.admin-bank-form .checkbox-inline,
.admin-bank-form .admin-ad-submit {
  grid-column: 1 / -1;
}

.admin-bank-form .form-control {
  color: #f5f2ff;
}

.admin-bank-form .admin-ad-submit {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.admin-bank-form .btn-default {
  display: inline-flex;
  align-items: center;
}

.bank-admin-page {
  max-width: 1240px;
}

.bank-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 0 0, rgba(105, 231, 255, .1), transparent 45%),
    linear-gradient(135deg, rgba(20, 20, 43, .94), rgba(11, 14, 30, .97));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .17);
}

.bank-admin-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.bank-admin-icon,
.bank-admin-section-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 231, 255, .23);
  background: rgba(39, 110, 145, .16);
  color: #69e7ff;
}

.bank-admin-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  font-size: 23px;
}

.bank-admin-kicker {
  margin: 0 0 5px;
  color: #69e7ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.admin-content .bank-admin-header h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
}

.admin-content .bank-admin-description {
  margin: 6px 0 0;
  color: #aeb0c8;
  font-size: 13px;
  line-height: 1.55;
}

.bank-admin-preview {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(105, 231, 255, .26);
  border-radius: 9px;
  background: rgba(39, 110, 145, .14);
  color: #bcefff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.bank-admin-preview:hover,
.bank-admin-preview:focus {
  border-color: rgba(105, 231, 255, .55);
  background: rgba(39, 110, 145, .28);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.bank-admin-preview:focus-visible,
.admin-bank-form .form-control:focus-visible,
.admin-bank-form .btn:focus-visible {
  outline: 2px solid #69e7ff;
  outline-offset: 2px;
}

.bank-admin-card {
  margin: 16px 0;
}

.bank-admin-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.bank-admin-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 15px;
}

.bank-admin-section-heading h2 {
  margin: 0;
}

.bank-admin-section-heading p {
  margin: 4px 0 0;
  color: #9fa2bd;
  font-size: 12px;
  line-height: 1.5;
}

.bank-admin-form .form-group label {
  margin-bottom: 6px;
  color: #dedcf0;
  font-size: 13px;
  font-weight: 700;
}

.bank-admin-form .form-control {
  border-color: rgba(163, 143, 224, .25);
  border-radius: 8px;
  background: rgba(9, 11, 28, .72);
  box-shadow: none;
}

.bank-admin-form .form-control:focus {
  border-color: rgba(105, 231, 255, .62);
  box-shadow: 0 0 0 3px rgba(105, 231, 255, .1);
}

.bank-admin-help {
  display: block;
  margin-top: 5px;
  color: #9fa2bd;
  font-size: 11px;
  line-height: 1.45;
}

.admin-bank-form .bank-admin-visibility {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(155, 137, 220, .17);
  border-radius: 9px;
  background: rgba(9, 11, 28, .38);
  color: #dedcf0;
  cursor: pointer;
}

.bank-admin-visibility input {
  margin: 3px 0 0;
}

.bank-admin-visibility span {
  display: grid;
  gap: 3px;
}

.bank-admin-visibility strong {
  font-size: 12px;
}

.bank-admin-visibility small {
  color: #9fa2bd;
  font-size: 11px;
  font-weight: 400;
}

.bank-admin-form .admin-ad-submit {
  margin-top: 13px;
}

.bank-admin-form .admin-ad-submit .btn {
  min-height: 40px;
  padding-right: 16px;
  padding-left: 16px;
  border-radius: 8px;
  font-weight: 700;
}

.bank-account-table {
  min-width: 790px;
}

.bank-account-table thead th {
  padding: 12px 10px !important;
  border-bottom: 1px solid rgba(155, 137, 220, .23) !important;
  background: rgba(9, 11, 28, .58);
  color: #bfc2d9;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bank-account-table tbody td {
  padding: 13px 10px !important;
  border-top: 1px solid rgba(155, 137, 220, .12) !important;
  color: #dedcf0;
  font-size: 13px;
}

.bank-account-table tbody tr:hover {
  background: rgba(105, 231, 255, .035) !important;
}

.bank-account-table td small {
  display: inline-block;
  margin-top: 4px;
  color: #9fa2bd;
  line-height: 1.45;
}

.bank-account-table td[data-label="Mã VietQR"] {
  color: #8beaff;
  font-weight: 700;
}

.bank-account-table .bank-account-empty {
  padding: 28px 12px !important;
  color: #9fa2bd;
  text-align: center;
}

.bank-account-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.bank-account-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.bank-account-status.is-active {
  color: #8be2b2;
}

.bank-account-status.is-hidden {
  color: #b3b5c9;
}

.bank-account-table .bank-account-actions {
  min-width: 190px;
}

.bank-account-actions .btn {
  border-radius: 6px;
}

.admin-ad-actions {
  min-width: 210px;
}

.admin-ad-actions form {
  display: inline-block;
  margin: 0 4px 4px 0;
}

.admin-content > h1 {
  margin: 0 0 10px;
  color: #f5f2ff;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  text-shadow: 0 0 24px rgba(183, 140, 255, .22);
}

.admin-content > p {
  max-width: 760px;
  margin-bottom: 16px;
  color: #aeb0c8;
  font-size: 14px;
  line-height: 1.7;
}

.admin-bank-form .form-control {
  min-height: 40px;
}

.admin-ad-card .table-responsive {
  border: 0;
}

.admin-ad-table {
  table-layout: auto;
}

.admin-ad-table th {
  white-space: nowrap;
}

.admin-calendar-page {
  max-width: 1240px;
  padding-bottom: 36px;
}

.admin-calendar-editor,
.admin-calendar-view,
.admin-calendar-event-list {
  margin-bottom: 20px;
  padding: 22px;
}

.admin-calendar-section-heading,
.admin-calendar-toolbar,
.admin-calendar-event,
.admin-calendar-event__actions {
  display: flex;
  align-items: center;
}

.admin-calendar-section-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-calendar-section-heading h2,
.admin-calendar-event-list > h2 {
  margin: 0;
  font-size: 19px;
}

.admin-calendar-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .5fr);
  gap: 0 16px;
}

.admin-calendar-form .form-group {
  margin-bottom: 14px;
}

.admin-calendar-form label {
  display: block;
  margin-bottom: 6px;
  color: #c8c8dc;
  font-size: 13px;
}

.admin-calendar-form .form-control,
.admin-calendar-toolbar input[type="month"] {
  min-height: 40px;
  border: 1px solid rgba(155, 137, 220, .28);
  border-radius: 7px;
  background: rgba(9, 11, 25, .6);
  color: #f5f2ff;
}

.admin-calendar-form__description,
.admin-calendar-form .admin-ad-submit {
  grid-column: 1 / -1;
}

.admin-calendar-form textarea {
  resize: vertical;
}

.admin-calendar-toolbar {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-calendar-toolbar h2 {
  min-width: 90px;
  margin: 0;
  text-align: center;
  font-size: 20px;
}

.admin-calendar-toolbar form {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.admin-calendar-toolbar input[type="month"] {
  padding: 6px 8px;
}

.admin-calendar-today {
  align-self: center;
  padding: 8px 10px;
  color: #69e7ff;
}

.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(155, 137, 220, .2);
  border-left: 1px solid rgba(155, 137, 220, .2);
}

.admin-calendar-weekday,
.admin-calendar-day {
  min-width: 0;
  border-right: 1px solid rgba(155, 137, 220, .2);
  border-bottom: 1px solid rgba(155, 137, 220, .2);
}

.admin-calendar-weekday {
  padding: 10px 4px;
  color: #aeb0c8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.admin-calendar-day {
  min-height: 104px;
  padding: 8px;
  background: rgba(11, 14, 30, .32);
}

.admin-calendar-day time {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #e5e2f0;
  font-size: 12px;
}

.admin-calendar-day.is-outside-month {
  background: rgba(5, 7, 17, .22);
}

.admin-calendar-day.is-outside-month time {
  color: #77798e;
}

.admin-calendar-day.is-today time {
  background: #69e7ff;
  color: #101323;
  font-weight: 800;
}

.admin-calendar-day-event {
  display: block;
  overflow: hidden;
  margin: 3px 0;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(105, 231, 255, .12);
  color: #bcefff;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-calendar-event-list > h2 {
  margin-bottom: 8px;
}

.admin-calendar-empty {
  margin: 12px 0 0;
  color: #aeb0c8;
}

.admin-calendar-event {
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(155, 137, 220, .16);
}

.admin-calendar-event:last-child {
  border-bottom: 0;
}

.admin-calendar-event__date {
  display: flex;
  flex: 0 0 54px;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(105, 231, 255, .1);
  color: #bcefff;
}

.admin-calendar-event__date strong {
  font-size: 20px;
}

.admin-calendar-event__date span {
  font-size: 10px;
}

.admin-calendar-event__content {
  min-width: 0;
  flex: 1;
}

.admin-calendar-event__content h3 {
  margin: 0;
  font-size: 15px;
}

.admin-calendar-event__content p {
  margin: 5px 0 0;
  color: #aeb0c8;
  font-size: 13px;
  white-space: pre-line;
}

.admin-calendar-event__actions {
  flex: 0 0 auto;
  gap: 7px;
}

.admin-calendar-event__actions form {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  body {
    width: 100%;
  }

  #body-wrap {
    grid-template-areas:
      "featured featured"
      "content sidebar";
    grid-template-columns: minmax(0, 1fr) 260px;
    width: calc(100% - 32px);
  }

  #content ul.list-film {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .premium-page {
    padding: 12px 10px 24px;
  }

  .premium-shell {
    width: 100%;
  }

  .premium-hero {
    margin-bottom: 12px;
    padding: 18px;
    border-radius: 14px;
  }

  .premium-eyebrow {
    margin-top: 18px;
    font-size: 10px;
  }

  .premium-shell h1 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .premium-card {
    margin: 10px 0;
    padding: 15px;
    border-radius: 13px;
  }

  .premium-card > p {
    margin: 8px 0 12px;
    font-size: 13px;
  }

  .bank-amount-form {
    margin: 12px 0;
    padding: 12px;
  }

  .bank-amount-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .bank-amount-controls input {
    grid-column: 1 / -1;
    width: 100%;
  }

  .bank-amount-controls button,
  .bank-amount-reset {
    min-height: 44px;
  }

  .premium-bank-account {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border-radius: 11px;
  }

  .premium-bank-account h3 {
    margin-bottom: 9px;
    font-size: 17px;
  }

  .premium-bank-account dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .premium-bank-account dt {
    font-size: 11px;
  }

  .premium-bank-account dd {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .premium-bank-qr {
    width: min(100%, 220px);
    max-width: 220px;
  }

  .admin-bank-form {
    grid-template-columns: 1fr;
  }

  .admin-bank-form .checkbox-inline,
  .admin-bank-form .admin-ad-submit {
    grid-column: auto;
  }

  .premium-bank-account dl {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body.watch-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
  }

  body.watch-page #wrapper,
  body.watch-page #body-wrap,
  body.watch-page #content,
  body.watch-page #movie-display {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.watch-page #body-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }

  body.watch-page #content {
    padding: 0;
    background: transparent;
  }

  body.watch-page #movie-display {
    overflow: hidden;
    padding: 0;
    background: linear-gradient(145deg, rgba(20, 20, 43, .96), rgba(11, 14, 30, .97));
  }

  body.watch-page #movie-display .row {
    margin-right: 0;
    margin-left: 0;
  }

  body.watch-page #movie-display .col-sm-12 {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  body.watch-page nav#breadcrumb {
    width: 100%;
  }

  body.watch-page ol.breadcrumb,
  body.watch-page .cur-location ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: rgba(8, 10, 27, .72) !important;
    color: #c9c7df;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
  }

  body.watch-page ol.breadcrumb .breadcrumb-item {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  body.watch-page ol.breadcrumb .breadcrumb-item.active {
    color: #8beaff;
  }

  #nav {
    position: relative;
    z-index: 30;
  }

  #nav .menu.container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 8px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  #nav .menu.container::-webkit-scrollbar {
    display: none;
  }

  #nav .menu > li,
  #nav .menu > li.home {
    display: block;
    position: relative;
    flex: 0 0 auto;
    float: none;
    width: auto;
    padding: 0;
    background: transparent;
  }

  #nav .menu > li.home {
    display: block;
  }

  #nav .menu > li > a {
    display: flex;
    width: auto;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #nav .menu > li.home > a {
    width: 42px;
    padding: 0;
  }

  #nav .menu > li > .sub-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 12px;
    left: 12px;
    width: auto !important;
    max-width: none;
    max-height: 60vh;
    z-index: 31;
    margin: 0;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(163, 143, 224, .25);
    border-radius: 0 0 10px 10px;
    background: rgba(13, 14, 34, .98);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38);
    box-sizing: border-box;
  }

  #nav .menu > li > .sub-menu.show {
    display: block !important;
  }

  #nav .menu > li > .sub-menu > li {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(155, 137, 220, .1);
    background: transparent;
    box-sizing: border-box;
  }

  #nav .menu > li > .sub-menu > li:last-child {
    border-bottom: 0;
  }

  #nav .menu > li > .sub-menu > li > a {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 11px 10px;
    background: transparent;
    color: #e4e1f7;
    line-height: 1.4;
    white-space: normal;
    box-sizing: border-box;
  }

  #nav .menu > li:hover > .sub-menu {
    display: none !important;
  }

  #nav .menu > li > .sub-menu.show {
    display: block !important;
  }

  .bank-admin-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    padding: 17px;
  }

  .bank-admin-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .bank-admin-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 18px;
  }

  .admin-content .bank-admin-header h1 {
    font-size: 23px;
  }

  .bank-admin-preview {
    width: 100%;
  }

  .bank-admin-card {
    margin: 12px 0;
  }

  .bank-admin-section-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .bank-admin-section-icon {
    width: 34px;
    height: 34px;
  }

  .admin-content.admin-advertisements {
    width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    padding: 22px 0 32px;
  }

  .admin-advertisements > h1 {
    font-size: 25px;
    line-height: 1.2;
  }

  .admin-ad-card {
    margin: 13px 0;
    padding: 15px;
    border-radius: 12px;
  }

  .admin-ad-card h2 {
    font-size: 18px;
  }

  .admin-bank-form .form-control {
    min-height: 44px;
  }

  .admin-bank-form .bank-admin-visibility {
    width: 100%;
    min-height: 48px;
    padding: 12px;
  }

  .admin-bank-form .admin-ad-submit {
    flex-wrap: wrap;
  }

  .admin-bank-form .admin-ad-submit .btn {
    min-height: 42px;
    flex: 1 1 150px;
  }

  .admin-ad-table,
  .admin-ad-table tbody,
  .admin-ad-table tr,
  .admin-ad-table td {
    display: block;
    width: 100%;
  }

  .admin-ad-table thead {
    display: none;
  }

  .admin-ad-table tr {
    margin: 0 0 12px;
    padding: 7px 12px;
    border: 1px solid rgba(155, 137, 220, .18);
    border-radius: 10px;
    background: rgba(9, 11, 28, .45);
  }

  .admin-ad-table > tbody > tr > td {
    display: grid;
    grid-template-columns: minmax(96px, .65fr) minmax(0, 1.35fr);
    gap: 10px;
    padding: 9px 0 !important;
    border: 0;
    border-bottom: 1px solid rgba(155, 137, 220, .1);
    overflow-wrap: anywhere;
  }

  .admin-ad-table > tbody > tr > td:last-child {
    border-bottom: 0;
  }

  .admin-ad-table > tbody > tr > td::before {
    content: attr(data-label);
    color: #9fa2bd;
    font-size: 12px;
    font-weight: 700;
  }

  .admin-ad-table > tbody > tr > td.admin-ad-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
  }

  .admin-ad-table > tbody > tr > td.admin-ad-actions::before {
    flex: 0 0 100%;
  }

  .admin-ad-table .admin-ad-actions form {
    display: inline-block;
    margin: 0;
  }

  .admin-ad-table .admin-ad-actions .btn {
    min-height: 36px;
  }

  .bank-account-table {
    min-width: 0;
  }

  .bank-account-table > tbody > tr > td.bank-account-actions {
    min-width: 0;
  }

  .bank-account-actions .btn {
    min-width: 62px;
  }

  .bank-account-table > tbody > tr > td[data-label="Ngân hàng"] {
    display: block;
  }

  .bank-account-table > tbody > tr > td[data-label="Ngân hàng"]::before {
    display: block;
    margin-bottom: 5px;
  }

  .bank-account-table > tbody > tr > td.bank-account-empty {
    display: block;
    padding: 20px 10px !important;
    text-align: center;
  }

  .bank-account-table > tbody > tr > td.bank-account-empty::before {
    display: none;
  }
}

.premium-message {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(105, 231, 255, .23);
  border-radius: 9px;
  background: rgba(39, 110, 145, .13);
}

.premium-message--warning {
  border-color: rgba(245, 190, 80, .3);
  background: rgba(245, 190, 80, .08);
}

.premium-disclaimer {
  color: #aeb0c8;
  font-size: 12px;
}

:root[data-theme="light"] body {
  background: #f4f6fb;
  color: #20243a;
}

:root[data-theme="light"] #header,
:root[data-theme="light"] #nav,
:root[data-theme="light"] #nav2,
:root[data-theme="light"] #footer {
  background: linear-gradient(110deg, #e8edfb, #f4f7ff 55%, #e4f5fa);
  color: #30364e;
}

:root[data-theme="light"] #header a,
:root[data-theme="light"] #nav a,
:root[data-theme="light"] #nav2,
:root[data-theme="light"] #footer a,
:root[data-theme="light"] #footer .heading {
  color: #25304b;
}

:root[data-theme="light"] #body-wrap .block,
:root[data-theme="light"] #page-info,
:root[data-theme="light"] #movie-display,
:root[data-theme="light"] #detail .watch-contact,
:root[data-theme="light"] .copyright-report-card,
:root[data-theme="light"] .related-recommendations,
:root[data-theme="light"] .admin-report-card,
:root[data-theme="light"] .community-panel,
:root[data-theme="light"] #footer #info {
  border-color: rgba(66, 87, 143, .18);
  background: #fff;
  color: #30364e;
  box-shadow: 0 10px 30px rgba(36, 52, 92, .08);
}

:root[data-theme="light"] #body-wrap h1,
:root[data-theme="light"] #body-wrap h2,
:root[data-theme="light"] #body-wrap h3,
:root[data-theme="light"] #body-wrap h4,
:root[data-theme="light"] #body-wrap p,
:root[data-theme="light"] #body-wrap li,
:root[data-theme="light"] #body-wrap .title,
:root[data-theme="light"] #body-wrap .name,
:root[data-theme="light"] #body-wrap .name2,
:root[data-theme="light"] #body-wrap .views,
:root[data-theme="light"] #body-wrap #server-list {
  color: #30364e;
}

:root[data-theme="light"] #body-wrap a {
  color: #3258a8;
}

:root[data-theme="light"] #body-wrap input,
:root[data-theme="light"] #body-wrap select,
:root[data-theme="light"] #body-wrap textarea {
  border-color: #c8d0e2;
  background: #fff;
  color: #20243a;
}

:root[data-theme="light"] .theme-toggle {
  border-color: #bdc9e3;
  background: #fff;
  color: #273451;
}

@media (max-width: 767px) {
  .copyright-report-form {
    grid-template-columns: 1fr;
  }

  .copyright-report-form .form-group:nth-last-of-type(2),
  .copyright-report-form button {
    grid-column: auto;
  }
}

#server-list .seat small {
  display: block;
  color: #69e7ff;
  font-size: 10px;
  line-height: 1.2;
}

#detail fieldset,
#server-list,
#movie-display .share {
  border-color: rgba(155, 137, 220, .2);
  color: #c6c6dd;
}

#footer {
  position: relative;
  margin-top: 48px;
  padding: 38px 0 18px;
  border-top: 1px solid rgba(105, 231, 255, .18);
  background:
    radial-gradient(ellipse at 12% 0, rgba(91, 59, 159, .18), transparent 38%),
    linear-gradient(120deg, #0c0d1d, #17132b 52%, #0b1725);
  color: #aeb0c8;
}

#footer .container {
  float: none;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr);
  gap: 24px 48px;
  overflow: visible;
  box-sizing: border-box;
}

#footer .footer-intro {
  align-self: start;
  padding: 8px 0;
}

#footer .footer-brand {
  display: inline-block;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 0 22px rgba(105, 231, 255, .32);
}

#footer .footer-brand img {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  max-width: min(240px, 100%);
  max-height: 64px;
  object-fit: contain;
}

#footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#footer .footer-intro p,
#footer .footer-contact p {
  margin: 10px 0 0;
  color: #aeb0c8;
  font-size: 14px;
  line-height: 1.7;
}

.site-settings-page {
  max-width: 1000px;
}

.site-settings-card {
  max-width: 860px;
}

.site-settings-form .form-group {
  margin-bottom: 16px;
}

.site-settings-form .form-group label {
  color: #dedcf0;
  font-weight: 700;
}

.site-settings-form .form-control {
  min-height: 42px;
  border-color: rgba(163, 143, 224, .25);
  border-radius: 8px;
  background: rgba(9, 11, 28, .72);
  color: #f5f2ff;
  box-shadow: none;
}

.site-settings-form .form-control:focus {
  border-color: rgba(105, 231, 255, .62);
  box-shadow: 0 0 0 3px rgba(105, 231, 255, .1);
}

.site-settings-form .site-image-group > small {
  display: block;
  margin-top: 6px;
  color: #9fa2bd;
  line-height: 1.5;
}

.site-image-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(155, 137, 220, .17);
  border-radius: 10px;
  background: rgba(9, 11, 28, .4);
}

.site-image-preview > img {
  display: block;
  width: auto;
  max-width: min(100%, 300px);
  max-height: 120px;
  border-radius: 6px;
  object-fit: contain;
}

.admin-site-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  max-width: min(52vw, 420px);
  overflow: hidden;
  white-space: nowrap;
}

.admin-site-brand img {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 6px;
  object-fit: contain;
}

.admin-site-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-site-brand small {
  color: #aeb0c8;
  font-size: 11px;
  font-weight: 400;
}

.site-image-preview .checkbox-inline {
  margin: 0;
  color: #dedcf0;
}

.site-settings-form .admin-ad-submit .btn {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
}

#footer #info {
  float: none;
  width: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 14px;
  background: rgba(11, 13, 31, .62);
}

#footer #info .column {
  float: none;
  width: auto;
}

#footer .heading {
  margin-bottom: 10px;
  color: #d9d1f5;
  font-size: 14px;
  font-weight: 700;
}

#footer a:hover {
  color: var(--galaxy-cyan);
}

#footer .footer-zalo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(105, 231, 255, .28);
  border-radius: 10px;
  background: rgba(45, 115, 149, .13);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

#footer .footer-zalo:hover {
  transform: translateY(-1px);
  border-color: rgba(105, 231, 255, .65);
  background: rgba(45, 115, 149, .25);
}

#footer .footer-zalo__label {
  padding: 3px 7px;
  border-radius: 6px;
  background: #1685d1;
  color: #fff;
  font-size: 11px;
}

#footer .footer-terms ul {
  margin: 0;
  padding-left: 18px;
}

#footer .footer-terms li {
  margin: 7px 0;
  color: #8c8eaa;
}

#footer .footer-terms a {
  color: #bfc0d4;
  text-decoration: none;
}

#footer .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(155, 137, 220, .15);
  color: #8587a1;
  font-size: 12px;
}

#detail .watch-contact {
  padding: 18px 22px;
  border: 1px solid rgba(155, 137, 220, .24);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 20, 43, .85), rgba(11, 19, 34, .88));
}

#detail .watch-contact legend {
  width: auto;
  padding: 0 8px;
  border: 0;
  color: #d9d1f5;
  font-size: 16px;
  font-weight: 700;
}

#detail .watch-contact a {
  color: var(--galaxy-cyan);
  font-weight: 700;
}

.admin-advertisements {
  padding-top: 30px;
  padding-bottom: 40px;
}

.admin-ad-card {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .92), rgba(11, 14, 30, .96));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
}

.admin-ad-card h2 {
  margin: 0 0 12px;
  color: #f5f2ff;
  font-size: 20px;
}

.admin-ad-card > p {
  color: #aeb0c8;
}

.admin-ad-form {
  max-width: 760px;
}

.admin-ad-submit {
  margin-top: 18px;
}

.admin-ad-table {
  margin-bottom: 0;
  color: #e7e5f5;
}

.admin-ad-table th,
.admin-ad-table td {
  vertical-align: middle !important;
}

.admin-ad-preview {
  display: block;
  width: 120px;
  max-height: 80px;
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 7px;
  object-fit: cover;
}

.admin-ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-ad-actions form {
  margin: 0;
}

.admin-film-delete-form {
  display: inline-block;
  margin: 0 0 0 6px;
}

.seo-admin-page {
  max-width: 1240px;
}

.seo-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(155, 137, 220, .22);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 0 0, rgba(105, 231, 255, .1), transparent 45%),
    linear-gradient(135deg, rgba(20, 20, 43, .94), rgba(11, 14, 30, .97));
}

.seo-admin-header h1 {
  margin: 0 0 7px;
  color: #f5f2ff;
  font-size: clamp(24px, 3vw, 32px);
}

.seo-admin-header > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #aeb0c8;
  line-height: 1.6;
}

.seo-admin-kicker {
  margin: 0 0 6px;
  color: #69e7ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.seo-admin-header > .btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.seo-admin-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.seo-admin-section-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 231, 255, .23);
  border-radius: 11px;
  background: rgba(39, 110, 145, .16);
  color: #69e7ff;
}

.seo-admin-section-heading h2 {
  margin: 0;
}

.seo-admin-section-heading p {
  margin: 4px 0 0;
  color: #9fa2bd;
  font-size: 12px;
  line-height: 1.5;
}

.seo-article-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.seo-article-form .form-group {
  min-width: 0;
  margin-bottom: 14px;
}

.seo-article-form label {
  color: #dedcf0;
  font-weight: 700;
}

.seo-article-form .form-control {
  min-height: 42px;
  border-color: rgba(163, 143, 224, .25);
  border-radius: 8px;
  background: rgba(9, 11, 28, .72);
  color: #f5f2ff;
  box-shadow: none;
}

.seo-article-form .form-control:focus {
  border-color: rgba(105, 231, 255, .62);
  box-shadow: 0 0 0 3px rgba(105, 231, 255, .1);
}

.seo-article-form small {
  display: block;
  margin-top: 5px;
  color: #9fa2bd;
  font-size: 11px;
  line-height: 1.5;
}

.seo-article-form .seo-content-field,
.seo-article-form .seo-publish-option,
.seo-article-form .admin-ad-submit {
  grid-column: 1 / -1;
}

.seo-article-form .seo-content-field textarea {
  min-height: 260px;
  line-height: 1.65;
  resize: vertical;
}

.seo-article-form .seo-publish-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  width: fit-content;
  margin: 2px 0 4px;
  padding: 11px 13px;
  border: 1px solid rgba(155, 137, 220, .17);
  border-radius: 9px;
  background: rgba(9, 11, 28, .38);
  cursor: pointer;
}

.seo-publish-option input {
  margin: 3px 0 0;
}

.seo-publish-option span {
  display: grid;
  gap: 3px;
}

.seo-publish-option strong {
  font-size: 12px;
}

.seo-publish-option small {
  margin: 0;
  font-weight: 400;
}

.seo-article-form .admin-ad-submit {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}

.seo-article-form .admin-ad-submit .btn {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 8px;
}

.seo-article-table {
  min-width: 760px;
}

.seo-article-table th {
  white-space: nowrap;
}

.seo-article-table td code {
  color: #8beaff;
  overflow-wrap: anywhere;
}

.seo-article-table .seo-article-empty {
  padding: 24px 12px !important;
  color: #9fa2bd;
  text-align: center;
}

.seo-public-content {
  min-width: 0;
}

.legal-content {
  min-width: 0;
}

.legal-card {
  overflow: hidden;
}

.legal-card .blocktitle {
  min-height: 54px;
  padding: 14px 18px;
}

.legal-card .blocktitle .title {
  margin: 0;
  color: #f5f2ff;
  font-size: 20px;
  line-height: 1.4;
}

.legal-body {
  padding: 18px;
  color: #d4d3e8;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body .legal-updated {
  color: #9699b3;
  font-size: 12px;
}

.legal-body h2 {
  margin: 23px 0 8px;
  color: #f0edff;
  font-size: 17px;
  line-height: 1.45;
}

.legal-body ul {
  margin: 0 0 15px;
  padding-left: 22px;
}

.legal-body li {
  margin: 6px 0;
}

.legal-body a {
  color: #69e7ff;
  font-weight: 600;
}

.legal-body .legal-disclaimer {
  margin: 22px 0 0;
  padding: 11px 13px;
  border-left: 3px solid rgba(105, 231, 255, .55);
  background: rgba(105, 231, 255, .06);
  color: #aeb0c8;
  font-size: 12px;
}

.seo-public-card {
  overflow: hidden;
}

.seo-public-card .blocktitle {
  min-height: 54px;
  padding: 14px 18px;
}

.seo-public-card .blocktitle .title {
  margin: 0;
  color: #f5f2ff;
  font-size: 20px;
  line-height: 1.4;
}

.seo-public-body {
  padding: 18px;
  color: #d4d3e8;
}

.seo-public-updated {
  margin: 0 0 12px;
  color: #9699b3;
  font-size: 12px;
}

.seo-public-copy {
  color: #d4d3e8;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.seo-public-back {
  margin: 22px 0 0;
}

.seo-public-list-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(155, 137, 220, .14);
}

.seo-public-list-item:first-child {
  padding-top: 0;
}

.seo-public-list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.seo-public-list-item h2 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.4;
}

.seo-public-list-item h2 a {
  color: #f0edff;
}

.seo-public-list-item > p:not(.seo-public-updated) {
  margin: 0 0 8px;
  color: #aeb0c8;
  line-height: 1.6;
}

.seo-public-readmore {
  color: #69e7ff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .seo-admin-body {
    overflow-x: hidden;
  }

  .seo-admin-body .navbar-fixed-top {
    z-index: 1030;
  }

  .seo-admin-body .navbar-header {
    min-height: 50px;
  }

  .seo-admin-body .navbar-collapse {
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    border-top: 1px solid rgba(105, 231, 255, .16);
  }

  .seo-admin-body .side-nav {
    float: none;
    width: 100%;
    margin: 0;
    padding: 7px 0;
    border: 0;
  }

  .seo-admin-body .side-nav > li > a {
    width: 100%;
    padding: 11px 16px;
    white-space: normal;
  }

  .seo-admin-body .navbar-user {
    float: none !important;
    margin: 0;
    padding: 0 10px 8px;
  }

  .seo-admin-body .navbar-user > li {
    display: inline-block;
    vertical-align: middle;
  }

  .seo-admin-body .navbar-search {
    display: none;
  }

  .seo-admin-page {
    width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    padding: 18px 0 28px;
  }

  .seo-admin-page,
  .seo-admin-page .admin-ad-card,
  .seo-admin-page .seo-admin-header {
    min-width: 0;
    box-sizing: border-box;
  }

  .seo-admin-page .admin-ad-card {
    margin: 12px 0;
    padding: 15px;
  }

  .seo-admin-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
    padding: 17px;
  }

  .seo-admin-header > .btn {
    width: 100%;
  }

  .seo-admin-section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .seo-admin-section-icon {
    width: 34px;
    height: 34px;
  }

  .seo-article-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-article-form .seo-content-field,
  .seo-article-form .seo-publish-option,
  .seo-article-form .admin-ad-submit {
    grid-column: auto;
  }

  .seo-article-form .admin-ad-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .seo-article-form .admin-ad-submit .btn {
    width: 100%;
    min-height: 44px;
  }

  .seo-article-form .form-control {
    min-height: 44px;
  }

  .seo-article-form .seo-content-field textarea {
    min-height: 220px;
  }

  .seo-article-form .seo-publish-option {
    width: 100%;
  }

  .seo-article-table {
    min-width: 0;
  }

  .seo-article-table > tbody > tr > td {
    grid-template-columns: minmax(90px, .55fr) minmax(0, 1.45fr);
  }

  .seo-article-table > tbody > tr > td[data-label="Tiêu đề"] {
    display: block;
  }

  .seo-article-table > tbody > tr > td[data-label="Tiêu đề"]::before {
    display: block;
    margin-bottom: 5px;
  }

  .seo-article-table > tbody > tr > td.seo-article-empty {
    display: block;
    text-align: center;
  }

  .seo-article-table > tbody > tr > td.seo-article-empty::before {
    display: none;
  }

  .seo-article-table > tbody > tr > td.admin-ad-actions {
    align-items: stretch;
  }

  .seo-article-table > tbody > tr > td.admin-ad-actions > a,
  .seo-article-table > tbody > tr > td.admin-ad-actions > form {
    flex: 1 1 70px;
    text-align: center;
  }

  .seo-article-table > tbody > tr > td.admin-ad-actions .btn {
    width: 100%;
    min-height: 40px;
  }

  .seo-public-card .blocktitle {
    padding: 12px 14px;
  }

  .seo-public-card .blocktitle .title {
    font-size: 18px;
  }

  .seo-public-body {
    padding: 14px;
  }

  .legal-card .blocktitle {
    padding: 12px 14px;
  }

  .legal-card .blocktitle .title {
    font-size: 18px;
  }

  .legal-body {
    padding: 14px;
    line-height: 1.75;
  }

  .legal-body h2 {
    margin-top: 20px;
    font-size: 16px;
  }
}

.galaxy-ad {
  overflow: hidden;
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 10px;
  background: rgba(9, 11, 28, .8);
}

.galaxy-ad-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 10px;
  background: rgba(9, 11, 28, .48);
}

.galaxy-ad-panel .galaxy-ad {
  min-width: 0;
}

.galaxy-ad-panel-sidebar {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 8px;
}

.galaxy-ad-panel-home {
  grid-template-columns: 1fr;
  margin: 0 0 16px;
}

.galaxy-ad-panel-watch {
  margin: 0 0 14px;
}

.video-player-frame .galaxy-ad-panel-watch-overlay {
  position: absolute;
  z-index: 3;
  inset: 12% 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 28px;
  background: rgba(5, 7, 18, .86);
}

.video-player-frame .galaxy-ad-panel-watch-overlay .galaxy-ad {
  width: min(100%, 560px);
}

.galaxy-ad-panel-watch-sticky {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  width: auto;
  max-height: min(34vh, 280px);
  margin: 0;
  padding: 10px;
  background: rgba(7, 9, 22, .96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55);
}

.galaxy-ad-panel-watch-sticky img {
  max-height: min(26vh, 220px);
  object-fit: contain;
}

.galaxy-ad-interstitial {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 900px);
  align-content: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 48px 24px 24px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: rgba(4, 5, 13, .96);
}

.galaxy-ad-panel-watch-interstitial .galaxy-ad {
  width: min(100%, 900px);
  margin: 0 auto;
}

.galaxy-ad-close {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  background: #171626;
  color: #fff;
  cursor: pointer;
}

.galaxy-ad-close span {
  margin-left: 5px;
  font-size: 18px;
}

.galaxy-ad a,
.galaxy-ad img {
  display: block;
  width: 100%;
}

.galaxy-ad img {
  height: auto;
}

.galaxy-ad-home {
  position: relative;
  margin: 0 0 16px;
}

.galaxy-ad-home img {
  max-height: 300px;
  object-fit: contain;
  background: rgba(0, 0, 0, .18);
}

.galaxy-ad-label {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(8, 10, 24, .8);
  color: #f5f2ff;
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
}

.admin-ad-edit {
  flex: 1 1 100%;
}

.admin-ad-edit summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
}

.admin-ad-edit summary::-webkit-details-marker {
  display: none;
}

.admin-ad-edit-form {
  display: grid !important;
  gap: 10px;
  width: min(360px, 75vw);
  margin-top: 10px !important;
  padding: 12px;
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 8px;
  background: rgba(9, 11, 28, .92);
  white-space: normal;
}

.admin-ad-edit-form .form-group {
  margin: 0;
}

.admin-ad-edit-form .form-control {
  min-height: 38px;
  color: #f5f2ff;
}

.admin-ad-edit-form .checkbox-inline {
  margin: 0;
}

@media (max-width: 767px) {
  .galaxy-ad-home img {
    max-height: 180px;
  }

  .galaxy-ad-panel {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .galaxy-ad-panel-watch-sticky {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-height: 30vh;
  }

  .video-player-frame .galaxy-ad-panel-watch-overlay {
    inset: 8% 5%;
    padding: 36px 8px 8px;
  }

  .galaxy-ad-interstitial {
    padding: 52px 12px 12px;
  }

  .admin-ad-edit-form {
    width: min(320px, calc(100vw - 64px));
  }

  #header #logo a img {
    max-width: min(190px, 80vw);
    max-height: 42px;
    margin: 0 auto;
  }

  .site-image-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-settings-form .form-control {
    min-height: 44px;
  }

  #footer {
    padding-top: 28px;
  }

  #footer .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #footer #info {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #footer .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

#wrapper input:not([type="checkbox"]):not([type="radio"]),
#wrapper select,
#wrapper textarea {
  border-color: rgba(163, 143, 224, .3);
  border-radius: 7px;
  background-color: rgba(9, 11, 28, .92);
  color: #f1efff;
}

#wrapper input:focus,
#wrapper select:focus,
#wrapper textarea:focus {
  border-color: rgba(105, 231, 255, .66);
  box-shadow: 0 0 0 3px rgba(105, 231, 255, .09);
}

#wrapper .form-register,
#wrapper .form-update {
  border: 1px solid rgba(155, 137, 220, .2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 20, 43, .96), rgba(11, 14, 30, .97));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}

#wrapper .form-register h3,
#wrapper .form-update h3 {
  border-radius: 12px 12px 0 0;
  background: linear-gradient(100deg, #33245b, #173b53) !important;
  color: #f3efff;
}

#wrapper .form-control {
  border-color: rgba(163, 143, 224, .3) !important;
  background-color: rgba(9, 11, 28, .92) !important;
  color: #f1efff !important;
}

#wrapper .btn-primary {
  border-color: rgba(105, 231, 255, .24);
  background: linear-gradient(120deg, #57369a, #276e91);
  color: #fff;
}

.navbar-inverse {
  border-color: rgba(105, 231, 255, .2);
  background: linear-gradient(100deg, #0c0d1d, #21183d 58%, #102339);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
  color: #e4e1f7;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a {
  background-color: rgba(105, 231, 255, .1);
  color: var(--galaxy-cyan);
}

.side-nav {
  border-right: 1px solid rgba(155, 137, 220, .17);
  background: rgba(13, 14, 34, .96);
}

#page-wrapper {
  color: #dedcf0;
}

#wrapper .table,
#wrapper .table > thead > tr > th,
#wrapper .table > tbody > tr > td {
  border-color: rgba(155, 137, 220, .17);
  color: #dedcf0;
}

#wrapper .table > thead > tr > th {
  background: rgba(68, 50, 113, .42);
}

#wrapper .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, .035);
}

#wrapper .panel,
#wrapper .well,
#wrapper .dropdown-menu {
  border-color: rgba(155, 137, 220, .2);
  background-color: rgba(18, 19, 41, .96);
  color: #dedcf0;
}

#wrapper .panel-heading {
  border-color: rgba(155, 137, 220, .18);
  background: linear-gradient(100deg, rgba(58, 43, 103, .68), rgba(20, 42, 66, .58));
  color: #f1eaff;
}

#wrapper .label,
#wrapper .badge {
  color: #fff;
}

@media (max-width: 767px) {
  #header .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: calc(100% - 24px);
    padding: 12px 0;
  }

  #header #logo {
    text-align: center;
  }

  #header #logo a {
    line-height: 1.3;
  }

  #header #search {
    width: 100%;
  }

  #header #sign {
    justify-content: center;
  }

  #header #sign > form {
    justify-content: center;
  }

  #nav .container,
  #body-wrap {
    width: calc(100% - 24px);
  }

  #body-wrap > #content,
  #body-wrap > #sidebar {
    float: none;
    width: 100%;
  }

  #body-wrap {
    grid-template-areas:
      "featured"
      "content"
      "sidebar";
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0 0;
  }

  #content ul.list-film {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }

  #header {
    background: linear-gradient(100deg, rgba(9, 11, 27, .99), rgba(20, 16, 43, .98));
  }

  #movie-hot {
    padding: 10px;
  }

  #sidebar {
    margin-top: 18px;
  }

  #page-info .info {
    padding: 12px;
  }

  #movie-display iframe {
    height: auto;
    min-height: 230px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  #content ul.list-film {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    margin: 0 !important;
  }

  #wrapper {
    width: 100%;
    overflow: hidden;
  }

  #header #logo a img {
    max-width: min(220px, 76vw);
    max-height: 48px;
  }

  #header #sign {
    gap: 8px;
    padding: 2px 0;
  }

  #header #sign a,
  #header #sign button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    box-sizing: border-box;
  }

  #nav2 {
    padding: 9px 12px;
    text-align: center;
  }

  #nav2 .container {
    width: 100%;
  }

  #nav2 .title {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  #search ul.autocomplete-list {
    left: 0;
    width: 100%;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
  }

  #page-list .filter {
    height: auto;
    padding: 12px;
    box-sizing: border-box;
  }

  #page-list .filter form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #page-list .filter .item {
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    line-height: 1.4;
  }

  #page-list .filter .item select,
  #page-list .filter .item .btn {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
  }

  #page-list .filter .btn1 {
    grid-column: 1 / -1;
    width: auto;
    padding: 0;
  }

  #page-list .filter .btn1 button {
    width: 100%;
    min-height: 44px;
  }

  #page-info .info {
    display: grid;
    grid-template-columns: minmax(84px, 112px) minmax(0, 1fr);
    gap: 8px 12px;
    min-height: 0;
  }

  #page-info .info > .title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    padding: 0;
    font-size: clamp(16px, 5vw, 21px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  #page-info .info .poster {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    align-self: start;
  }

  #page-info .info .poster img {
    display: block;
    width: 100%;
    height: auto;
  }

  #page-info .info .name2 {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    padding: 0;
    overflow-wrap: anywhere;
  }

  #page-info .info .fr {
    float: none;
    margin-left: 0;
  }

  #page-info .info .dinfo,
  #page-info .info .groups-btn {
    grid-column: 1 / -1;
  }

  #page-info .info .dinfo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
    padding: 10px !important;
  }

  #page-info .info .dinfo .col1,
  #page-info .info .dinfo .col2 {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
  }

  #page-info .groups-btn .btn-watch {
    float: none;
    margin: 4px auto 0;
  }

  #footer .container {
    width: calc(100% - 24px);
    padding: 0;
  }
}

@media (max-width: 480px) {
  #nav2 {
    display: none;
  }

  #header #sign {
    font-size: 12px;
  }

  #header #sign > form {
    justify-content: center;
    gap: 6px;
  }

  #content ul.list-film {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  #content ul.list-film > li .inner {
    padding: 7px;
  }

  #page-list .filter {
    grid-template-columns: minmax(0, 1fr);
  }

  #page-list .filter form {
    grid-template-columns: minmax(0, 1fr);
  }

  #page-info .info {
    grid-template-columns: minmax(76px, 96px) minmax(0, 1fr);
    gap: 7px 10px;
  }

  #page-info .info .dinfo {
    grid-template-columns: minmax(0, 1fr);
  }

  #movie-display iframe {
    min-height: 0;
  }
}

:root[data-theme="light"] body {
  background: #f3f5fa !important;
  color: #30384b;
}

:root[data-theme="light"] #wrapper {
  background: transparent;
}

:root[data-theme="light"] #header,
:root[data-theme="light"] #nav,
:root[data-theme="light"] #nav2,
:root[data-theme="light"] #footer {
  border-color: #dfe5ef;
  background: #fff;
  color: #29344a;
  box-shadow: 0 2px 12px rgba(29, 45, 74, .06);
}

:root[data-theme="light"] #header a,
:root[data-theme="light"] #nav a,
:root[data-theme="light"] #nav2,
:root[data-theme="light"] #footer,
:root[data-theme="light"] #footer a,
:root[data-theme="light"] #footer .heading,
:root[data-theme="light"] #sign,
:root[data-theme="light"] #sign a,
:root[data-theme="light"] #sign .login a {
  color: #34415a;
}

:root[data-theme="light"] #header #logo a,
:root[data-theme="light"] #footer .footer-brand {
  color: #263654;
  text-shadow: none;
}

:root[data-theme="light"] #nav {
  border-top-color: #eef1f6;
  border-bottom-color: #dfe5ef;
}

:root[data-theme="light"] #nav .menu > li:hover,
:root[data-theme="light"] #nav .menu > li:focus-within {
  background: #eef3fc;
}

:root[data-theme="light"] #nav .sub-menu,
:root[data-theme="light"] #sign .login-form {
  border-color: #dbe2ee;
  background: #fff;
  box-shadow: 0 12px 28px rgba(29, 45, 74, .14);
}

:root[data-theme="light"] #nav .sub-menu li a:hover {
  background: #eef3fc;
}

:root[data-theme="light"] #search .keyword,
:root[data-theme="light"] #sign .login-form .input,
:root[data-theme="light"] #sign input[type="text"],
:root[data-theme="light"] #sign input[type="password"] {
  border-color: #d5ddeb;
  background: #f8faff;
  color: #29344a;
}

:root[data-theme="light"] #search .keyword::placeholder,
:root[data-theme="light"] #sign .login-form .input::placeholder {
  color: #7d879a;
}

:root[data-theme="light"] #search .submit,
:root[data-theme="light"] #sign .login-form .submit,
:root[data-theme="light"] #logout,
:root[data-theme="light"] #page-info .btn-watch,
:root[data-theme="light"] #page-watch .action,
:root[data-theme="light"] #server-list .button,
:root[data-theme="light"] #movie-display .btn,
:root[data-theme="light"] #content button {
  border-color: #315da9;
  background: #315da9;
  color: #fff;
  box-shadow: none;
}

:root[data-theme="light"] #sign .admin-link {
  border-color: #dbe2ee;
  background: #f2f5fb;
  color: #315da9;
}

:root[data-theme="light"] #nav2 {
  border-bottom-color: #e4e9f1;
  background: #f6f8fc;
}

:root[data-theme="light"] #body-wrap {
  color: #30384b;
}

:root[data-theme="light"] #movie-hot,
:root[data-theme="light"] #body-wrap .block,
:root[data-theme="light"] #chart,
:root[data-theme="light"] #movie-recommend,
:root[data-theme="light"] #movie-update,
:root[data-theme="light"] #page-list,
:root[data-theme="light"] #page-info,
:root[data-theme="light"] #movie-display,
:root[data-theme="light"] #detail,
:root[data-theme="light"] #server-list,
:root[data-theme="light"] #sidebar .block,
:root[data-theme="light"] .copyright-report-card,
:root[data-theme="light"] .related-recommendations,
:root[data-theme="light"] .community-panel,
:root[data-theme="light"] .legal-card,
:root[data-theme="light"] .seo-public-card {
  border-color: #e1e6ef;
  background: #fff;
  color: #30384b;
  box-shadow: 0 5px 20px rgba(29, 45, 74, .055);
}

:root[data-theme="light"] #movie-hot > .title,
:root[data-theme="light"] .block .blocktitle .title,
:root[data-theme="light"] .blocktitle h2,
:root[data-theme="light"] .breadcrumbs .item,
:root[data-theme="light"] .breadcrumbs .item a,
:root[data-theme="light"] #movie-recommend .tab,
:root[data-theme="light"] #movie-update .blocktitle .title,
:root[data-theme="light"] #body-wrap h1,
:root[data-theme="light"] #body-wrap h2,
:root[data-theme="light"] #body-wrap h3,
:root[data-theme="light"] #body-wrap h4,
:root[data-theme="light"] #body-wrap p,
:root[data-theme="light"] #body-wrap li,
:root[data-theme="light"] #body-wrap .title,
:root[data-theme="light"] #body-wrap .name,
:root[data-theme="light"] #body-wrap .name2,
:root[data-theme="light"] #body-wrap .views,
:root[data-theme="light"] #body-wrap #server-list,
:root[data-theme="light"] #chart ul li .name a,
:root[data-theme="light"] #chart ul li .detail a,
:root[data-theme="light"] .legal-body,
:root[data-theme="light"] .legal-body h2,
:root[data-theme="light"] .seo-public-body,
:root[data-theme="light"] .seo-public-list-item h2 a {
  color: #30384b;
}

:root[data-theme="light"] .block .blocktitle,
:root[data-theme="light"] .breadcrumbs {
  border-bottom-color: #e7ebf2;
  background: #f7f9fc;
  color: #34415a;
}

:root[data-theme="light"] .tabs .tab,
:root[data-theme="light"] #page-list .filter,
:root[data-theme="light"] #page-info .detail,
:root[data-theme="light"] #page-info .info,
:root[data-theme="light"] #page-info .tabs-content,
:root[data-theme="light"] #detail,
:root[data-theme="light"] #server-list,
:root[data-theme="light"] #movie-display .share {
  border-color: #e3e8f0;
  background-color: #f8faff;
  color: #3b465a;
}

:root[data-theme="light"] .tabs .tab.active,
:root[data-theme="light"] #page-list .filter .item .btn,
:root[data-theme="light"] .tabs .tab:hover {
  border-color: #315da9;
  background: #315da9;
  color: #fff;
}

:root[data-theme="light"] #movie-hot .listfilm li,
:root[data-theme="light"] .list-film li .inner {
  border-color: #e4e9f1;
  background: #fff;
  box-shadow: 0 3px 12px rgba(29, 45, 74, .07);
}

:root[data-theme="light"] #movie-hot .listfilm .overlay,
:root[data-theme="light"] .list-film li .info {
  background: linear-gradient(0deg, rgba(255, 255, 255, .98), rgba(248, 250, 255, .92));
  color: #30384b;
}

:root[data-theme="light"] #movie-hot .listfilm .name a,
:root[data-theme="light"] .list-film li .name a {
  color: #293a5b;
}

:root[data-theme="light"] #movie-hot .status,
:root[data-theme="light"] .list-film li .status,
:root[data-theme="light"] .galaxy-film__status {
  border-color: #d6e2f5;
  background: #edf3fc;
  color: #315da9;
}

:root[data-theme="light"] #movie-hot .listfilm li a.movie-hot-link--missing {
  background: #f1f4f9;
  color: #68758a;
}

:root[data-theme="light"] #page-info .info a,
:root[data-theme="light"] #page-info .detail a,
:root[data-theme="light"] #content a {
  color: #315da9;
}

:root[data-theme="light"] #page-info .info .poster img {
  border-color: #dfe5ef;
  box-shadow: 0 4px 14px rgba(29, 45, 74, .1);
}

:root[data-theme="light"] #movie-display iframe,
:root[data-theme="light"] #movie-display .episode-video {
  border-color: #d7deea;
  box-shadow: 0 5px 18px rgba(29, 45, 74, .12);
}

:root[data-theme="light"] #footer #info {
  border-color: #e1e6ef;
  background: rgba(255, 255, 255, .75);
}

:root[data-theme="light"] #footer .footer-intro p,
:root[data-theme="light"] #footer .footer-contact p,
:root[data-theme="light"] #footer .footer-terms a,
:root[data-theme="light"] #footer .footer-bottom {
  color: #657086;
}

:root[data-theme="light"] #footer .footer-bottom {
  border-top-color: #e3e8f0;
}

:root[data-theme="light"] #footer .footer-zalo {
  border-color: #c9d8ef;
  background: #f0f5fc;
  color: #315da9;
}

:root[data-theme="light"] #body-wrap input,
:root[data-theme="light"] #body-wrap select,
:root[data-theme="light"] #body-wrap textarea,
:root[data-theme="light"] #sign .login-form .input {
  border-color: #cbd5e4;
  background: #fff;
  color: #29344a;
}

:root[data-theme="light"] .theme-toggle {
  border-color: #d2dbea;
  background: #f3f6fb;
  color: #315da9;
}

:root[data-theme="light"] .premium-message,
:root[data-theme="light"] .community-panel,
:root[data-theme="light"] .copyright-report-card,
:root[data-theme="light"] .related-recommendations {
  border-color: #dce4f0;
  background: #f8faff;
  color: #3b465a;
}

:root[data-theme="light"] .premium-disclaimer,
:root[data-theme="light"] .legal-body .legal-updated,
:root[data-theme="light"] .seo-public-updated {
  color: #69758a;
}

:root[data-theme="light"] .video-quality-badge {
  border-color: #cbdcf3;
  background: #edf4fc;
  color: #315da9;
}

:root[data-theme="light"] .galaxy-db-notice {
  color: #694716;
}

@media (max-width: 767px) {
  :root[data-theme="light"] #header {
    background: #fff;
  }

  :root[data-theme="light"] #nav .menu > li > .sub-menu {
    border-color: #dbe2ee;
    background: #fff;
  }
}

@media (max-width: 767px) {
  .admin-calendar-editor,
  .admin-calendar-view,
  .admin-calendar-event-list {
    padding: 14px;
  }

  .admin-calendar-form {
    grid-template-columns: 1fr;
  }

  .admin-calendar-form__description,
  .admin-calendar-form .admin-ad-submit {
    grid-column: auto;
  }

  .admin-calendar-toolbar {
    gap: 7px;
  }

  .admin-calendar-toolbar h2 {
    flex: 1;
    font-size: 17px;
  }

  .admin-calendar-toolbar form {
    width: 100%;
    margin-left: 0;
  }

  .admin-calendar-toolbar input[type="month"] {
    min-width: 0;
    flex: 1;
  }

  .admin-calendar-weekday {
    padding: 8px 1px;
    font-size: 9px;
  }

  .admin-calendar-day {
    min-height: 72px;
    padding: 4px 3px;
  }

  .admin-calendar-day time {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .admin-calendar-day-event {
    margin: 2px 0;
    padding: 3px;
    font-size: 9px;
  }

  .admin-calendar-event {
    flex-wrap: wrap;
    gap: 10px;
  }

  .admin-calendar-event__content {
    flex-basis: calc(100% - 70px);
  }

  .admin-calendar-event__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

:root[data-theme="light"] .admin-calendar-form label,
:root[data-theme="light"] .admin-calendar-event__content p,
:root[data-theme="light"] .admin-calendar-empty {
  color: #59627a;
}

:root[data-theme="light"] .admin-calendar-form .form-control,
:root[data-theme="light"] .admin-calendar-toolbar input[type="month"] {
  border-color: #c8d0e2;
  background: #fff;
  color: #20243a;
}

:root[data-theme="light"] .admin-calendar-weekday {
  color: #59627a;
}

:root[data-theme="light"] .admin-calendar-day {
  background: #fff;
}

:root[data-theme="light"] .admin-calendar-day.is-outside-month {
  background: #f4f6fb;
}

:root[data-theme="light"] .admin-calendar-day time {
  color: #30364e;
}

:root[data-theme="light"] .admin-calendar-day.is-outside-month time {
  color: #939bad;
}

:root[data-theme="light"] .admin-calendar-event__date {
  background: #edf4fc;
  color: #315da9;
}

.admin-calendar-page {
  --calendar-accent: #65dff2;
  --calendar-accent-strong: #30bcd7;
  --calendar-ink: #f4f6ff;
  --calendar-muted: #9ca7c0;
  --calendar-line: rgba(159, 178, 220, .14);
  --calendar-surface: rgba(17, 24, 45, .92);
  color: var(--calendar-ink);
}

.admin-calendar-hero {
  position: relative;
  display: flex;
  min-height: 205px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin: 0 0 22px;
  padding: 30px 38px;
  border: 1px solid rgba(106, 220, 244, .2);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(66, 204, 228, .22), transparent 35%),
    radial-gradient(ellipse at 12% 110%, rgba(116, 97, 221, .2), transparent 42%),
    linear-gradient(118deg, #111a32 0%, #172749 54%, #123247 100%);
  box-shadow: 0 20px 50px rgba(7, 13, 31, .2);
}

.admin-calendar-hero::after {
  position: absolute;
  right: 18%;
  bottom: -118px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(147, 228, 242, .1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 26px rgba(147, 228, 242, .025), 0 0 0 54px rgba(147, 228, 242, .02);
  pointer-events: none;
}

.admin-calendar-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.admin-calendar-kicker,
.admin-calendar-list-kicker {
  margin: 0 0 9px;
  color: var(--calendar-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.admin-calendar-kicker i {
  margin-right: 5px;
}

.admin-calendar-hero .admin-calendar-hero__copy h1 {
  margin: 0;
  color: #f7faff;
  font-size: clamp(28px, 3.4vw, 39px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.admin-calendar-hero__copy > p:not(.admin-calendar-kicker) {
  margin: 9px 0 15px;
  color: #bdc9df;
  font-size: 14px;
}

.admin-calendar-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(161, 220, 237, .2);
  border-radius: 99px;
  background: rgba(10, 21, 42, .32);
  color: #d4f4f9;
  font-size: 11px;
}

.admin-calendar-hero__art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  place-items: center;
  margin-right: 5%;
  border: 1px solid rgba(188, 236, 247, .35);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(163, 234, 246, .2), rgba(95, 149, 204, .12));
  color: #b8f3fb;
  font-size: 50px;
  transform: rotate(7deg);
  box-shadow: 0 14px 35px rgba(4, 14, 35, .22), inset 0 1px rgba(255, 255, 255, .12);
}

.admin-calendar-page .admin-ad-card {
  border: 1px solid var(--calendar-line);
  border-radius: 16px;
  background: var(--calendar-surface);
  box-shadow: 0 12px 36px rgba(4, 9, 24, .12);
}

.admin-calendar-editor,
.admin-calendar-view,
.admin-calendar-event-list {
  padding: 24px;
}

.admin-calendar-section-heading {
  margin-bottom: 20px;
}

.admin-calendar-section-heading__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-calendar-section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(101, 223, 242, .21);
  border-radius: 12px;
  background: rgba(66, 204, 228, .1);
  color: var(--calendar-accent);
  font-size: 15px;
}

.admin-calendar-section-heading h2 {
  color: var(--calendar-ink);
  font-size: 17px;
  font-weight: 750;
}

.admin-calendar-section-heading__title p {
  margin: 4px 0 0;
  color: var(--calendar-muted);
  font-size: 12px;
}

.admin-calendar-form label {
  margin-bottom: 7px;
  color: #d4dbea;
  font-size: 12px;
  font-weight: 700;
}

.admin-calendar-form .form-control,
.admin-calendar-toolbar input[type="month"] {
  min-height: 43px;
  border: 1px solid rgba(153, 174, 213, .2);
  border-radius: 9px;
  background: rgba(7, 13, 28, .5);
  color: #f0f4ff;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-calendar-form .form-control:focus,
.admin-calendar-toolbar input[type="month"]:focus {
  border-color: rgba(101, 223, 242, .72);
  box-shadow: 0 0 0 3px rgba(101, 223, 242, .1);
}

.admin-calendar-form textarea.form-control {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.admin-calendar-form .admin-ad-submit {
  margin-top: 2px;
}

.admin-calendar-save,
.admin-calendar-go {
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #5dd8eb, #48bfe0);
  color: #082235;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(57, 191, 218, .16);
}

.admin-calendar-save:hover,
.admin-calendar-go:hover {
  background: linear-gradient(135deg, #83eafa, #60cce9);
  color: #082235;
}

.admin-calendar-save i {
  margin-right: 5px;
}

.admin-calendar-cancel {
  border: 1px solid var(--calendar-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--calendar-muted);
}

.admin-calendar-toolbar {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-calendar-toolbar__month {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-calendar-toolbar__month h2 {
  min-width: 104px;
  color: var(--calendar-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.admin-calendar-nav {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--calendar-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: #c9d5e9;
  text-decoration: none;
  transition: .18s ease;
}

.admin-calendar-nav:hover {
  border-color: rgba(101, 223, 242, .4);
  background: rgba(101, 223, 242, .1);
  color: var(--calendar-accent);
}

.admin-calendar-today {
  margin-left: 4px;
  padding: 8px 11px;
  border: 1px solid rgba(101, 223, 242, .25);
  border-radius: 8px;
  background: rgba(101, 223, 242, .08);
  color: #a9edf6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.admin-calendar-today:hover {
  background: rgba(101, 223, 242, .15);
  color: #d7faff;
  text-decoration: none;
}

.admin-calendar-toolbar form {
  gap: 8px;
}

.admin-calendar-toolbar input[type="month"] {
  padding: 7px 10px;
}

.admin-calendar-grid {
  overflow: hidden;
  border: 1px solid var(--calendar-line);
  border-radius: 12px;
  background: rgba(7, 13, 27, .22);
}

.admin-calendar-weekday,
.admin-calendar-day {
  border-right-color: var(--calendar-line);
  border-bottom-color: var(--calendar-line);
}

.admin-calendar-weekday {
  padding: 11px 6px;
  background: rgba(255, 255, 255, .025);
  color: #aebbd2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
}

.admin-calendar-day {
  min-height: 116px;
  padding: 9px;
  background: rgba(12, 19, 37, .45);
  transition: background .16s ease;
}

.admin-calendar-day:hover {
  background: rgba(35, 54, 82, .5);
}

.admin-calendar-day time {
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  color: #d9e1f0;
  font-size: 12px;
  font-weight: 700;
}

.admin-calendar-day.is-outside-month {
  background: rgba(7, 12, 24, .3);
}

.admin-calendar-day.is-outside-month time {
  color: #68758c;
}

.admin-calendar-day.is-today time {
  background: var(--calendar-accent);
  color: #082235;
  box-shadow: 0 0 0 4px rgba(101, 223, 242, .12);
}

.admin-calendar-day-event {
  margin: 4px 0;
  padding: 5px 7px;
  border: 1px solid rgba(100, 209, 236, .1);
  border-left: 2px solid #58cfe8;
  border-radius: 5px;
  background: rgba(77, 188, 220, .1);
  color: #bceef5;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.admin-calendar-day-event:hover {
  background: rgba(77, 188, 220, .2);
  color: #fff;
  text-decoration: none;
}

.admin-calendar-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
}

.admin-calendar-list-kicker {
  margin-bottom: 4px;
  font-size: 9px;
}

.admin-calendar-event-list > .admin-calendar-list-heading h2 {
  margin: 0;
  color: var(--calendar-ink);
  font-size: 18px;
  font-weight: 800;
}

.admin-calendar-event-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--calendar-line);
  border-radius: 99px;
  color: #b8c5dc;
  font-size: 11px;
  white-space: nowrap;
}

.admin-calendar-event {
  gap: 15px;
  padding: 15px 2px;
  border-bottom-color: var(--calendar-line);
}

.admin-calendar-event__date {
  flex-basis: 56px;
  padding: 9px 4px;
  border: 1px solid rgba(101, 223, 242, .12);
  border-radius: 10px;
  background: rgba(101, 223, 242, .07);
  color: #bceef5;
}

.admin-calendar-event__date strong {
  font-size: 21px;
  line-height: 1;
}

.admin-calendar-event__date span {
  margin-top: 4px;
  color: #9eacc2;
}

.admin-calendar-event__content h3 {
  color: var(--calendar-ink);
  font-size: 14px;
  font-weight: 750;
}

.admin-calendar-event__content p,
.admin-calendar-empty {
  color: var(--calendar-muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-calendar-delete {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 125, 139, .2);
  border-radius: 7px;
  background: rgba(255, 107, 125, .07);
  color: #ff9da8;
  font-size: 11px;
  font-weight: 700;
}

.admin-calendar-delete:hover {
  border-color: rgba(255, 125, 139, .45);
  background: rgba(255, 107, 125, .15);
  color: #ffc2c8;
}

:root[data-theme="light"] .admin-calendar-page {
  --calendar-ink: #202b45;
  --calendar-muted: #66728a;
  --calendar-line: rgba(69, 93, 143, .14);
  --calendar-surface: #fff;
}

:root[data-theme="light"] .admin-calendar-hero {
  border-color: #d4e3f3;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(74, 194, 218, .17), transparent 35%),
    radial-gradient(ellipse at 12% 110%, rgba(129, 113, 224, .12), transparent 42%),
    linear-gradient(118deg, #f5f8ff 0%, #edf3ff 54%, #e8f8fb 100%);
  box-shadow: 0 18px 40px rgba(48, 75, 129, .08);
}

:root[data-theme="light"] .admin-calendar-hero .admin-calendar-hero__copy h1 {
  color: #202b45;
}

:root[data-theme="light"] .admin-calendar-hero__copy > p:not(.admin-calendar-kicker) {
  color: #68748e;
}

:root[data-theme="light"] .admin-calendar-hero__badge {
  border-color: #d8e4f2;
  background: rgba(255, 255, 255, .7);
  color: #435778;
}

:root[data-theme="light"] .admin-calendar-hero__art {
  border-color: rgba(66, 155, 188, .23);
  background: linear-gradient(145deg, rgba(98, 204, 223, .2), rgba(134, 160, 220, .13));
  color: #3798b5;
}

:root[data-theme="light"] .admin-calendar-section-heading h2,
:root[data-theme="light"] .admin-calendar-toolbar__month h2,
:root[data-theme="light"] .admin-calendar-event-list > .admin-calendar-list-heading h2,
:root[data-theme="light"] .admin-calendar-event__content h3 {
  color: var(--calendar-ink);
}

:root[data-theme="light"] .admin-calendar-section-heading__title p,
:root[data-theme="light"] .admin-calendar-form label {
  color: var(--calendar-muted);
}

:root[data-theme="light"] .admin-calendar-form .form-control,
:root[data-theme="light"] .admin-calendar-toolbar input[type="month"] {
  border-color: #d4dcec;
  background: #fff;
  color: #26324a;
}

:root[data-theme="light"] .admin-calendar-nav {
  background: #fff;
  color: #586680;
}

:root[data-theme="light"] .admin-calendar-today {
  border-color: #c9e6ee;
  background: #effafd;
  color: #267d96;
}

:root[data-theme="light"] .admin-calendar-grid {
  background: #fff;
}

:root[data-theme="light"] .admin-calendar-weekday {
  background: #f6f8fc;
  color: #61708c;
}

:root[data-theme="light"] .admin-calendar-day,
:root[data-theme="light"] .admin-calendar-day.is-outside-month {
  background: #fff;
}

:root[data-theme="light"] .admin-calendar-day:hover {
  background: #f2f8fd;
}

:root[data-theme="light"] .admin-calendar-day time {
  color: #3a4964;
}

:root[data-theme="light"] .admin-calendar-day.is-outside-month time {
  color: #a2adbf;
}

:root[data-theme="light"] .admin-calendar-day-event {
  border-color: #d8edf4;
  border-left-color: #38aeca;
  background: #eff9fc;
  color: #28647c;
}

:root[data-theme="light"] .admin-calendar-day-event:hover {
  background: #e0f4fa;
  color: #194e64;
}

:root[data-theme="light"] .admin-calendar-event-count {
  color: #5f6c84;
}

:root[data-theme="light"] .admin-calendar-event__date {
  border-color: #d9ebf0;
  background: #f0f9fb;
  color: #286d82;
}

:root[data-theme="light"] .admin-calendar-event__date span {
  color: #74839a;
}

/* Site-wide visual refresh */
:root {
  --site-bg: #0b1020;
  --site-surface: #121a2d;
  --site-surface-raised: #18233a;
  --site-border: rgba(158, 178, 218, .16);
  --site-text: #e9eef8;
  --site-muted: #a4b0c5;
  --site-accent: #72d9e8;
  --site-accent-strong: #45bcd4;
  --site-shadow: 0 14px 40px rgba(2, 7, 20, .2);
}

:root[data-theme="light"] {
  --site-bg: #f3f6fb;
  --site-surface: #fff;
  --site-surface-raised: #f7f9fd;
  --site-border: rgba(58, 79, 119, .13);
  --site-text: #202b43;
  --site-muted: #66738a;
  --site-accent: #248da8;
  --site-accent-strong: #167b98;
  --site-shadow: 0 12px 32px rgba(40, 61, 101, .08);
}

html {
  scroll-behavior: smooth;
  background: var(--site-bg);
}

body {
  background:
    radial-gradient(ellipse at 8% 0, rgba(68, 117, 190, .09), transparent 34%),
    var(--site-bg) !important;
  color: var(--site-text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#header {
  border-bottom: 1px solid var(--site-border);
  background: linear-gradient(100deg, #111a2d, #172744 58%, #123346);
  box-shadow: 0 8px 26px rgba(6, 13, 29, .12);
}

#header .container {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  grid-template-columns: minmax(170px, 230px) minmax(240px, 1fr) minmax(280px, auto);
  gap: 24px;
}

#header #logo a {
  color: #f6f9ff;
  font-size: 20px;
  letter-spacing: .025em;
  text-shadow: none;
}

#header #logo a img {
  width: 46px;
  height: 46px;
}

#header #search .keyword {
  height: 43px;
  padding: 0 16px;
  border-color: rgba(196, 213, 240, .2);
  border-radius: 11px;
  background: rgba(7, 14, 30, .45);
  color: #f6f9ff;
}

#header #search .submit {
  height: 43px;
  flex-basis: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6cd5e6, #42b5d1);
  color: #10263a;
  box-shadow: none;
}

#header #sign {
  gap: 8px 10px;
  color: #d9e3f2;
  font-size: 12px;
}

#header #sign a,
#header #sign > form > a,
#header #sign .links a,
#header #sign .login > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(203, 219, 242, .16);
  border-radius: 9px;
  color: #e4edf8;
  text-decoration: none;
}

#header #sign a:hover,
#header #sign > form > a:hover {
  border-color: rgba(114, 217, 232, .45);
  background: rgba(114, 217, 232, .09);
  color: #9cecf5;
}

#header #sign .theme-toggle {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(203, 219, 242, .16);
  border-radius: 9px;
  background: transparent;
  color: #e4edf8;
  font-size: 11px;
}

#header #sign #logout {
  min-height: 36px;
  padding: 0 11px;
  border-color: rgba(114, 217, 232, .3);
  border-radius: 9px;
  background: rgba(114, 217, 232, .1);
  color: #c7f6fa;
  box-shadow: none;
}

#nav {
  border: 0;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-surface);
}

#nav .container {
  width: min(1240px, calc(100% - 40px));
}

#nav .menu > li > a {
  min-height: 47px;
  padding: 0 16px;
  color: var(--site-text);
  font-size: 12px;
  font-weight: 700;
}

#nav .menu > li:hover,
#nav .menu > li:focus-within {
  background: rgba(114, 217, 232, .08);
}

#nav .sub-menu {
  border: 1px solid var(--site-border);
  border-radius: 0 0 12px 12px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

#nav .sub-menu li a {
  padding: 9px 13px;
  color: var(--site-text);
}

#nav2 {
  border: 0;
  background: transparent;
  color: var(--site-muted);
}

#nav2 .container {
  width: min(1240px, calc(100% - 40px));
  padding: 11px 0 0;
}

#nav2 .title {
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 500;
}

#body-wrap {
  width: min(1240px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  padding-top: 18px;
}

#movie-hot,
#body-wrap .block,
#page-list,
#page-info,
#movie-display,
#detail,
#server-list,
#chart {
  border: 1px solid var(--site-border);
  border-radius: 15px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

#movie-hot {
  padding: 17px;
}

#movie-hot > .title {
  color: var(--site-text);
  font-size: 18px;
  font-weight: 800;
}

#movie-hot .listfilm {
  gap: 12px;
}

#movie-hot .listfilm li,
.list-film li .inner {
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: var(--site-surface-raised);
  box-shadow: none;
}

#movie-hot .listfilm li:hover,
.list-film li .inner:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 217, 232, .45);
  box-shadow: 0 12px 28px rgba(4, 12, 28, .14);
}

#content ul.list-film {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 14px;
}

#content ul.list-film > li .inner {
  position: relative;
  padding: 8px;
}

#content ul.list-film > li img,
#movie-hot .listfilm li a.movie-hot-link img {
  border-radius: 9px;
  background: rgba(100, 120, 160, .12);
}

.list-film li .info {
  padding: 10px 3px 2px;
}

.list-film li .name a {
  color: var(--site-text);
  font-size: 13px;
  font-weight: 750;
}

.list-film li .name a:hover {
  color: var(--site-accent);
}

.list-film li .name2,
.list-film li .views,
.list-film li .info small {
  color: var(--site-muted);
  font-size: 11px;
}

.list-film li .status,
#movie-hot .status {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  background: rgba(9, 15, 27, .82);
  color: #f1f5fb;
  font-size: 10px;
  font-weight: 700;
}

#body-wrap .block {
  margin-bottom: 18px;
  overflow: hidden;
}

#body-wrap .block .blocktitle,
#body-wrap .breadcrumbs {
  min-height: 52px;
  height: auto;
  padding: 0 17px;
  border-bottom: 1px solid var(--site-border);
  background: transparent;
  line-height: 1.4;
}

#body-wrap .block .blocktitle .title,
#body-wrap .block .blocktitle h3,
#body-wrap .block .blocktitle h2 {
  color: var(--site-text);
  font-size: 16px;
  font-weight: 800;
}

#body-wrap .block .blockbody {
  padding: 7px;
}

#movie-recommend .blocktitle,
#movie-update .blocktitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#movie-recommend .tabs,
#body-wrap .tabs,
#body-wrap .types {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

#movie-recommend .tab,
#body-wrap .tabs .tab,
#body-wrap .types .btn {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#movie-recommend .tab.active,
#body-wrap .tabs .tab.active,
#body-wrap .types .btn.active {
  border-color: var(--site-border);
  background: var(--site-surface-raised);
  color: var(--site-accent);
}

#sidebar .block {
  margin-bottom: 18px;
  padding: 0;
  overflow: hidden;
}

#chart .blocktitle {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 0 15px;
  border: 0;
  background: transparent;
}

#chart .blocktitle .title {
  color: var(--site-text);
  font-size: 15px;
  font-weight: 800;
}

#chart .tabs {
  display: flex;
  gap: 4px;
  padding: 0 10px 10px;
}

#chart .tabs .tab {
  flex: 1;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--site-muted);
  font-size: 10px;
  text-align: center;
}

#chart .tabs .tab.active {
  border-color: var(--site-border);
  background: var(--site-surface-raised);
  color: var(--site-accent);
}

#chart .blockbody ul {
  margin: 0;
  padding: 0 14px 12px;
}

#chart .blockbody li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--site-border);
}

#chart .blockbody li:last-child {
  border-bottom: 0;
}

#chart .blockbody .st {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--site-surface-raised);
  color: var(--site-accent);
  font-size: 12px;
  font-weight: 800;
}

#chart .blockbody .name a {
  color: var(--site-text);
  font-size: 12px;
  font-weight: 700;
}

#chart .blockbody .views {
  color: var(--site-muted);
  font-size: 10px;
}

#page-list,
#page-info,
#movie-display,
#detail,
#server-list {
  overflow: hidden;
  padding: 0;
}

#page-list .filter {
  display: flex;
  height: auto;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border: 0;
  border-top: 1px solid var(--site-border);
  background: var(--site-surface-raised);
}

#page-list .filter .item {
  float: none;
  height: auto;
  margin: 0;
  color: var(--site-muted);
  line-height: 1.4;
}

#page-list .filter select,
#body-wrap select,
#body-wrap input:not([type="checkbox"]):not([type="radio"]),
#body-wrap textarea {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface-raised);
  color: var(--site-text);
}

#page-info .info {
  min-height: 0;
  padding: 20px;
  background: transparent;
  color: var(--site-text);
}

#page-info .info .poster {
  position: static;
  float: left;
  width: 180px;
  margin: 0 22px 16px 0;
}

#page-info .info .poster img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

#page-info .info .fr,
#page-info .info .name2.fr {
  float: none;
  margin: 0 0 9px 202px;
}

#page-info .info h2.title {
  padding: 0;
  color: var(--site-text);
  font-size: clamp(20px, 3vw, 28px);
}

#page-info .info .name2 {
  color: var(--site-muted);
}

#page-info .dinfo {
  clear: none;
  gap: 12px;
  margin-left: 202px;
  padding: 12px !important;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: var(--site-surface-raised);
  color: var(--site-muted);
}

#page-info .dinfo .col1,
#page-info .dinfo .col2 {
  float: none;
  width: 50%;
  padding: 0;
  background: transparent;
}

#page-info .dinfo ul {
  margin: 0;
  padding: 0;
}

#page-info .dinfo li {
  margin: 0;
  padding: 5px 0;
}

#page-info .groups-btn {
  clear: both;
  margin: 12px 0 0 202px;
}

#page-info .btn-watch {
  width: auto;
  height: auto;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 20px;
  border-radius: 9px;
  background: linear-gradient(135deg, #67d7e8, #43b8d1);
  color: #0c2538;
  font-weight: 800;
}

#page-info .btn-watch::after {
  content: "Xem phim";
}

#page-info .detail {
  clear: both;
  padding: 16px;
  border-top: 1px solid var(--site-border);
  color: var(--site-text);
}

#page-info .detail .content {
  border-radius: 0 0 10px 10px;
  background: var(--site-surface-raised);
  color: var(--site-muted);
  line-height: 1.8;
}

#movie-display .episode-video,
#movie-display iframe {
  border-radius: 12px;
}

#movie-display .row,
#movie-display .episode-list,
#movie-display .server-list {
  margin-right: 0;
  margin-left: 0;
}

#movie-display .breadcrumb,
#breadcrumb .breadcrumb {
  margin: 0;
  padding: 13px 17px;
  border: 0;
  border-bottom: 1px solid var(--site-border);
  border-radius: 0;
  background: transparent;
  color: var(--site-muted);
}

#movie-display .breadcrumb a,
#breadcrumb a {
  color: var(--site-accent);
}

#detail,
#server-list {
  margin-top: 16px;
  padding: 16px;
}

#detail .blocktitle,
#server-list .blocktitle {
  color: var(--site-text);
  font-weight: 800;
}

#footer {
  margin-top: 42px;
  border-top: 1px solid var(--site-border);
  background: linear-gradient(115deg, #111a2d, #14233b 56%, #102d3a);
  color: #c2ccdc;
}

#footer .container {
  width: min(1240px, calc(100% - 40px));
  grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr);
  gap: 24px 48px;
}

#footer .footer-brand {
  color: #f4f7fc;
  text-shadow: none;
}

#footer .footer-intro p,
#footer .footer-contact p {
  color: #acb9cb;
  font-size: 13px;
}

#footer #info {
  border: 0;
  background: transparent;
  box-shadow: none;
}

#footer .heading {
  color: #eff4fb;
  font-size: 13px;
  font-weight: 800;
}

#footer a {
  color: #c7d2e3;
}

#footer a:hover {
  color: #8de6ef;
}

#footer .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid rgba(210, 223, 242, .12);
  color: #95a4ba;
  font-size: 11px;
}

#content .btn,
#content button,
#content input[type="submit"] {
  border-radius: 8px;
}

#signIn,
#signUpForm,
.login-form,
.premium-card,
.seo-article-card,
.copyright-report-card {
  border-radius: 14px;
}

:root[data-theme="light"] #header {
  background: linear-gradient(100deg, #14233b, #1d3556 58%, #164356);
}

:root[data-theme="light"] #nav {
  background: #fff;
}

:root[data-theme="light"] #nav .menu > li > a {
  color: #31415e;
}

:root[data-theme="light"] #nav .menu > li:hover,
:root[data-theme="light"] #nav .menu > li:focus-within {
  background: #eef8fa;
}

:root[data-theme="light"] #nav .sub-menu {
  background: #fff;
}

:root[data-theme="light"] #nav .sub-menu li a {
  color: #31415e;
}

:root[data-theme="light"] #movie-hot,
:root[data-theme="light"] #body-wrap .block,
:root[data-theme="light"] #page-list,
:root[data-theme="light"] #page-info,
:root[data-theme="light"] #movie-display,
:root[data-theme="light"] #detail,
:root[data-theme="light"] #server-list,
:root[data-theme="light"] #chart {
  border-color: var(--site-border);
  background: var(--site-surface);
  color: var(--site-text);
  box-shadow: var(--site-shadow);
}

:root[data-theme="light"] #movie-hot > .title,
:root[data-theme="light"] .block .blocktitle .title,
:root[data-theme="light"] #movie-recommend .tab,
:root[data-theme="light"] #movie-update .blocktitle .title,
:root[data-theme="light"] #chart .blocktitle .title,
:root[data-theme="light"] #body-wrap .block .blocktitle h3,
:root[data-theme="light"] #body-wrap .block .blocktitle h2 {
  color: var(--site-text);
}

:root[data-theme="light"] #movie-hot .listfilm li,
:root[data-theme="light"] .list-film li .inner {
  border-color: var(--site-border);
  background: var(--site-surface-raised);
  box-shadow: none;
}

:root[data-theme="light"] .list-film li .name a,
:root[data-theme="light"] #chart .blockbody .name a,
:root[data-theme="light"] #page-info .info h2.title {
  color: var(--site-text);
}

:root[data-theme="light"] .list-film li .name2,
:root[data-theme="light"] .list-film li .views,
:root[data-theme="light"] #chart .blockbody .views,
:root[data-theme="light"] #page-info .info .name2 {
  color: var(--site-muted);
}

:root[data-theme="light"] #page-info .info {
  background: transparent;
  color: var(--site-text);
}

:root[data-theme="light"] #page-info .dinfo,
:root[data-theme="light"] #page-list .filter,
:root[data-theme="light"] #page-list .filter select,
:root[data-theme="light"] #body-wrap select,
:root[data-theme="light"] #body-wrap input:not([type="checkbox"]):not([type="radio"]),
:root[data-theme="light"] #body-wrap textarea {
  border-color: var(--site-border);
  background: var(--site-surface-raised);
  color: var(--site-text);
}

:root[data-theme="light"] #page-info .detail .content {
  background: var(--site-surface-raised);
  color: var(--site-muted);
}

:root[data-theme="light"] #footer {
  background: linear-gradient(115deg, #14233b, #1d3556 56%, #164356);
  color: #c2ccdc;
}

:root[data-theme="light"] #footer .footer-brand,
:root[data-theme="light"] #footer .heading {
  color: #f4f7fc;
}

@media (max-width: 767px) {
  #header .container {
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 12px 0;
  }

  #header #logo {
    grid-column: 1;
    grid-row: 1;
  }

  #header #logo a {
    font-size: 17px;
  }

  #header #search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #header #sign {
    grid-column: 2;
    grid-row: 1;
    max-width: 58vw;
    gap: 5px;
  }

  #header #sign .links,
  #header #sign .login {
    display: inline-flex;
  }

  #header #sign a,
  #header #sign > form > a,
  #header #sign .links a,
  #header #sign .login > a,
  #header #sign .theme-toggle,
  #header #sign #logout {
    min-height: 32px;
    padding: 0 8px;
    font-size: 10px;
  }

  #nav .menu > li > a {
    min-height: 43px;
    padding: 0 12px;
  }

  #nav2 .container,
  #body-wrap {
    width: calc(100% - 24px);
  }

  #body-wrap {
    gap: 14px;
    padding-top: 12px;
  }

  #movie-hot {
    padding: 12px;
  }

  #content ul.list-film {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }

  #content ul.list-film > li .inner {
    padding: 6px;
  }

  #body-wrap .block .blocktitle,
  #body-wrap .breadcrumbs {
    padding-right: 12px;
    padding-left: 12px;
  }

  #page-info .info {
    padding: 14px;
  }

  #page-info .info .poster {
    width: 118px;
    margin-right: 14px;
  }

  #page-info .info .fr,
  #page-info .info .name2.fr {
    margin-left: 132px;
  }

  #page-info .dinfo {
    display: block;
    margin-left: 132px;
    padding: 8px !important;
    font-size: 11px;
  }

  #page-info .dinfo .col1,
  #page-info .dinfo .col2 {
    width: 100%;
  }

  #page-info .groups-btn {
    margin-left: 132px;
  }

  #footer .container {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #footer .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  #header #sign {
    max-width: 62vw;
  }

  #header #sign .theme-toggle {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #content ul.list-film {
    gap: 8px;
    padding: 8px;
  }

  #page-info .info .poster {
    width: 96px;
    margin-right: 11px;
  }

  #page-info .info .fr,
  #page-info .info .name2.fr {
    margin-left: 107px;
  }

  #page-info .dinfo {
    margin-left: 107px;
    padding: 6px !important;
    font-size: 10px;
  }

  #page-info .groups-btn {
    margin-left: 107px;
  }
}

body:has(.navbar-fixed-top) {
  background: var(--site-bg) !important;
  color: var(--site-text);
}

body:has(.navbar-fixed-top) #wrapper {
  padding-top: 50px;
}

.navbar-fixed-top {
  border: 0;
  border-bottom: 1px solid var(--site-border);
  background: #14233b;
  box-shadow: 0 8px 24px rgba(6, 13, 29, .16);
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
  color: #e6edf8;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  background: rgba(114, 217, 232, .1);
  color: #9cecf5;
}

.navbar-inverse .navbar-toggle {
  border-color: rgba(215, 228, 247, .25);
  border-radius: 8px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background: rgba(114, 217, 232, .12);
}

.side-nav {
  border-right: 1px solid var(--site-border);
  background: var(--site-surface);
}

.side-nav > li > a {
  padding: 12px 16px;
  border-bottom: 1px solid var(--site-border);
  color: var(--site-text);
  font-size: 12px;
  font-weight: 650;
}

.side-nav > li > a:hover,
.side-nav > li > a:focus {
  background: rgba(114, 217, 232, .09) !important;
  color: var(--site-accent) !important;
}

.admin-content {
  color: var(--site-text);
}

.admin-content > h1,
.admin-content h1,
.admin-content h2,
.admin-content h3,
.admin-content label {
  color: var(--site-text);
}

.admin-content .form-control,
.admin-content input:not([type="checkbox"]):not([type="radio"]),
.admin-content select,
.admin-content textarea {
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface-raised);
  color: var(--site-text);
  box-shadow: none;
}

.admin-content .form-control:focus,
.admin-content input:focus,
.admin-content select:focus,
.admin-content textarea:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 3px rgba(114, 217, 232, .1);
}

.admin-content .table,
.admin-content table {
  border-color: var(--site-border);
  color: var(--site-text);
}

.admin-content .table > thead > tr > th,
.admin-content table > thead > tr > th {
  border-bottom: 1px solid var(--site-border);
  background: var(--site-surface-raised);
  color: var(--site-muted);
}

.admin-content .table > tbody > tr > td,
.admin-content table > tbody > tr > td {
  border-top: 1px solid var(--site-border);
}

.admin-content .btn {
  border-radius: 8px;
  font-weight: 650;
}

:root[data-theme="light"] .navbar-fixed-top {
  background: #14233b;
}

:root[data-theme="light"] .side-nav {
  background: #fff;
}

:root[data-theme="light"] .side-nav > li > a {
  color: #31415e;
}

:root[data-theme="light"] .admin-content .form-control,
:root[data-theme="light"] .admin-content input:not([type="checkbox"]):not([type="radio"]),
:root[data-theme="light"] .admin-content select,
:root[data-theme="light"] .admin-content textarea {
  border-color: #d4dcec;
  background: #fff;
  color: #26324a;
}

:root[data-theme="light"] .admin-content .table,
:root[data-theme="light"] .admin-content table {
  color: #303b52;
}

@media (max-width: 767px) {
  body:has(.navbar-fixed-top) #wrapper {
    padding-top: 50px;
  }

  .side-nav {
    border-right: 0;
  }
}

/* Keep the primary navigation inside the viewport at every breakpoint. */
#nav {
  width: 100%;
  overflow: visible;
}

#nav .menu.container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  width: min(1240px, calc(100% - 40px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

#nav .menu > li,
#nav .menu > li.home {
  display: block;
  position: relative;
  float: none;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--site-border);
  background: transparent;
  list-style: none;
}

#nav .menu > li:first-child {
  border-left: 1px solid var(--site-border);
}

#nav .menu > li.home {
  flex: 0 0 48px;
}

#nav .menu > li > a {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 1.2vw, 15px);
  border: 0;
  background: transparent;
  background-image: none;
  color: var(--site-text);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

#nav .menu > li.home > a {
  width: 48px;
  min-width: 48px;
  padding: 0;
  background-image: url("../images/sprite.png?6");
  background-position: -102px -41px;
  background-repeat: no-repeat;
}

#nav .menu > li:hover,
#nav .menu > li:focus-within {
  background: rgba(114, 217, 232, .08);
}

#nav .menu > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: auto;
  left: 0;
  width: min(360px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px);
  max-height: min(65vh, 420px);
  margin: 0;
  padding: 7px;
  overflow: auto;
  border: 1px solid var(--site-border);
  border-radius: 0 0 12px 12px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
  box-sizing: border-box;
}

#nav .menu > li:hover > .sub-menu,
#nav .menu > li:focus-within > .sub-menu {
  display: block !important;
}

#nav .menu > li > .sub-menu > li {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--site-border);
  background: transparent;
}

#nav .menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

#nav .menu > li > .sub-menu > li > a {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  background: transparent;
  color: var(--site-text);
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

#nav .menu > li > .sub-menu > li > a:hover {
  background: rgba(114, 217, 232, .09);
  color: var(--site-accent);
}

:root[data-theme="light"] #nav .menu > li > a {
  color: #31415e;
}

:root[data-theme="light"] #nav .menu > li.home > a {
  color: #31415e;
}

@media (max-width: 1024px) {
  #nav .menu.container {
    width: calc(100% - 28px);
  }

  #nav .menu > li,
  #nav .menu > li.home {
    flex: 0 1 auto;
  }

  #nav .menu > li.home {
    flex: 0 0 48px;
  }

  #nav .menu > li > a {
    min-width: 66px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  #nav {
    overflow: visible;
  }

  #nav .nav-menu-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #nav .nav-menu-scroll::-webkit-scrollbar {
    display: none;
  }

  #nav .menu.container {
    display: flex;
    width: max-content;
    min-width: 100%;
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 8px;
  }

  #nav .menu > li,
  #nav .menu > li.home {
    flex: 0 0 auto;
    min-width: 0;
  }

  #nav .menu > li > a {
    min-width: 66px;
    min-height: 42px;
    padding: 0 9px;
    font-size: 10px;
    white-space: nowrap;
  }

  #nav .menu > li.home {
    flex: 0 0 44px;
  }

  #nav .menu > li.home > a {
    width: 44px;
    min-width: 44px;
    min-height: 42px;
  }

  #nav .menu > li > .sub-menu {
    position: fixed;
    top: 0;
    right: 10px;
    left: 10px;
    width: auto !important;
    max-width: none;
    max-height: min(62vh, 480px);
    z-index: 1000;
    border-radius: 0 0 12px 12px;
  }

  #nav .menu > li:hover > .sub-menu {
    display: none !important;
  }

  #nav .menu > li > .sub-menu.show {
    display: block !important;
  }
}

@media (max-width: 380px) {
  #nav .menu.container {
    padding-right: 5px;
    padding-left: 5px;
  }

  #nav .menu > li > a {
    min-height: 40px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 9px;
  }
}

#movie-hot {
  position: relative;
  min-height: 0;
}

#movie-hot > .icon {
  float: left;
  margin: 3px 8px 0 0;
}

#movie-hot > .title {
  display: block;
  min-height: 27px;
  margin: 0;
  line-height: 1.45;
}

#movie-hot .listfilm.owl-carousel {
  display: block;
  width: 100%;
  margin: 10px 0 20px;
  padding: 0;
  overflow: visible;
  list-style: none;
  box-sizing: border-box;
}

#movie-hot .listfilm.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  width: 100%;
  border-radius: 11px;
}

#movie-hot .listfilm.owl-carousel .owl-wrapper {
  display: block;
}

#movie-hot .listfilm.owl-carousel .owl-item {
  min-width: 0;
  box-sizing: border-box;
}

#movie-hot .listfilm.owl-carousel .owl-item > li {
  display: block;
  float: none;
  width: 100%;
  height: 330px;
  margin: 0;
  box-sizing: border-box;
}

#movie-hot .listfilm li a.movie-hot-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #172238;
  background-image: none;
  text-indent: 0;
  box-sizing: border-box;
}

#movie-hot .listfilm li a.movie-hot-link img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

#movie-hot .listfilm li a.movie-hot-link--missing {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 14px;
  text-align: center;
  text-indent: 0;
  box-sizing: border-box;
}

#movie-hot .listfilm li .overlay {
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  min-height: 58px;
  height: auto;
  padding: 9px 11px;
  background: linear-gradient(0deg, rgba(7, 12, 24, .96), rgba(7, 12, 24, .68));
  background-image: none;
  box-sizing: border-box;
}

#movie-hot .listfilm li .overlay .name a {
  display: block;
  overflow: hidden;
  color: #f5f8ff;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-hot .listfilm li .overlay .name2 {
  overflow: hidden;
  color: #d0d9e7;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-hot .listfilm li .status {
  top: 9px;
  right: 9px;
  max-width: calc(100% - 18px);
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(10, 24, 42, .88);
  color: #e8f7fc;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-hot .owl-controls {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  min-height: 16px;
  pointer-events: none;
}

#movie-hot .owl-controls .owl-pagination {
  display: flex;
  justify-content: center;
  gap: 3px;
  pointer-events: auto;
}

#movie-hot .owl-controls .owl-page span {
  width: 7px;
  height: 7px;
  margin: 4px;
  border-radius: 99px;
  background: rgba(164, 181, 208, .5);
}

#movie-hot .owl-controls .owl-page.active span {
  width: 18px;
  background: var(--site-accent);
}

#movie-hot .owl-controls .owl-buttons {
  display: none;
}

#movie-hot > .prev,
#movie-hot > .next {
  top: 50%;
  width: 34px;
  height: 42px;
  margin-top: 0;
  border: 1px solid rgba(228, 239, 250, .48);
  border-radius: 9px;
  background-color: rgba(7, 14, 27, .7);
  background-image: none;
  opacity: .85;
  transform: translateY(-50%);
}

#movie-hot > .prev {
  left: 8px;
}

#movie-hot > .next {
  right: 8px;
}

#movie-hot > .prev::after,
#movie-hot > .next::after {
  display: block;
  color: #f1f7ff;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 38px;
  text-align: center;
}

#movie-hot > .prev::after {
  content: "\2039";
}

#movie-hot > .next::after {
  content: "\203a";
}

:root[data-theme="light"] #movie-hot .listfilm li a.movie-hot-link {
  background-color: #e8edf5;
}

@media (max-width: 767px) {
  #movie-hot {
    padding: 13px 12px 15px;
  }

  #movie-hot .listfilm.owl-carousel .owl-item > li {
    height: clamp(250px, 72vw, 330px);
  }

  #movie-hot > .prev {
    left: 5px;
  }

  #movie-hot > .next {
    right: 5px;
  }
}

#movie-hot.movie-hot--static .listfilm {
  display: flex !important;
  width: 100%;
  gap: 12px;
  margin-bottom: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  list-style: none;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

#movie-hot.movie-hot--static .listfilm > li {
  position: relative;
  display: block;
  float: none;
  flex: 0 0 220px;
  width: 220px;
  height: 330px;
  margin: 0;
  aspect-ratio: 2 / 3;
  box-sizing: border-box;
}

#movie-hot.movie-hot--static > .prev,
#movie-hot.movie-hot--static > .next {
  display: none;
}

@media (max-width: 767px) {
  #movie-hot.movie-hot--static .listfilm > li {
    flex-basis: clamp(150px, 48vw, 210px);
    width: clamp(150px, 48vw, 210px);
    height: auto;
  }
}

/* Galaxy finish: layered nebula, soft starlight and violet/cyan accents. */
:root:not([data-theme="light"]) {
  --site-bg: #080914;
  --site-surface: rgba(17, 18, 39, .94);
  --site-surface-raised: #17182f;
  --site-border: rgba(159, 137, 255, .2);
  --site-text: #f1efff;
  --site-muted: #aaa8c5;
  --site-accent: #83ecff;
  --site-accent-strong: #c39aff;
  --site-shadow: 0 16px 44px rgba(2, 3, 14, .42);
}

:root:not([data-theme="light"]) body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(103, 63, 181, .2), transparent 34%),
    radial-gradient(ellipse at 88% 20%, rgba(30, 123, 164, .16), transparent 32%),
    radial-gradient(ellipse at 55% 78%, rgba(52, 43, 117, .16), transparent 42%),
    #080914 !important;
  color: var(--site-text);
}

:root:not([data-theme="light"]) body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 7% 14%, rgba(255, 255, 255, .7) 98%, transparent),
    radial-gradient(1px 1px at 19% 73%, rgba(185, 164, 255, .65) 98%, transparent),
    radial-gradient(1.5px 1.5px at 32% 31%, rgba(255, 255, 255, .55) 98%, transparent),
    radial-gradient(1px 1px at 47% 84%, rgba(139, 222, 255, .6) 98%, transparent),
    radial-gradient(1px 1px at 63% 17%, rgba(255, 255, 255, .65) 98%, transparent),
    radial-gradient(1px 1px at 78% 57%, rgba(198, 168, 255, .55) 98%, transparent),
    radial-gradient(1.5px 1.5px at 91% 33%, rgba(255, 255, 255, .55) 98%, transparent);
  background-size: 380px 280px;
  opacity: .42;
  pointer-events: none;
  content: "";
}

:root:not([data-theme="light"]) #header {
  border-bottom-color: rgba(167, 137, 255, .25);
  background:
    radial-gradient(ellipse at 12% 0, rgba(119, 71, 199, .2), transparent 46%),
    linear-gradient(105deg, rgba(13, 13, 31, .98), rgba(24, 19, 49, .97) 54%, rgba(12, 24, 43, .98));
  box-shadow: 0 10px 34px rgba(3, 3, 15, .38);
}

:root:not([data-theme="light"]) #header #logo a {
  color: #fbf8ff;
  text-shadow: 0 0 24px rgba(184, 140, 255, .28);
}

:root:not([data-theme="light"]) #header #search .keyword {
  border-color: rgba(172, 145, 255, .26);
  background: rgba(9, 9, 25, .72);
}

:root:not([data-theme="light"]) #header #search .submit {
  border: 1px solid rgba(128, 225, 255, .32);
  background: linear-gradient(135deg, #8855d8, #287d9d);
  color: #fff;
  box-shadow: 0 0 18px rgba(120, 95, 225, .24);
}

:root:not([data-theme="light"]) #header #sign a:hover,
:root:not([data-theme="light"]) #header #sign > form > a:hover {
  border-color: rgba(131, 236, 255, .48);
  background: rgba(131, 236, 255, .09);
  color: #a8f3ff;
}

:root:not([data-theme="light"]) #nav {
  border-bottom-color: rgba(130, 111, 222, .23);
  background: linear-gradient(90deg, rgba(17, 15, 39, .98), rgba(20, 24, 47, .97), rgba(17, 15, 39, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

:root:not([data-theme="light"]) #nav .menu > li {
  border-right-color: rgba(168, 146, 255, .13);
}

:root:not([data-theme="light"]) #nav .menu > li:first-child {
  border-left-color: rgba(168, 146, 255, .13);
}

:root:not([data-theme="light"]) #nav .menu > li:hover,
:root:not([data-theme="light"]) #nav .menu > li:focus-within {
  background: linear-gradient(180deg, rgba(153, 100, 236, .16), rgba(71, 173, 205, .07));
}

:root:not([data-theme="light"]) #nav .menu > li > a {
  color: #e8e3ff;
}

:root:not([data-theme="light"]) #nav .menu > li:hover > a,
:root:not([data-theme="light"]) #nav .menu > li:focus-within > a {
  color: #a8efff;
  text-shadow: 0 0 14px rgba(105, 231, 255, .28);
}

:root:not([data-theme="light"]) #nav .menu > li.home > a {
  filter: drop-shadow(0 0 6px rgba(135, 207, 255, .3));
}

:root:not([data-theme="light"]) #nav .menu > li > .sub-menu {
  border-color: rgba(170, 145, 255, .25);
  background: rgba(17, 17, 39, .98);
  box-shadow: 0 18px 46px rgba(3, 3, 16, .58), 0 0 22px rgba(131, 94, 226, .12);
}

:root:not([data-theme="light"]) #nav .menu > li > .sub-menu > li > a:hover {
  background: linear-gradient(90deg, rgba(144, 92, 216, .16), rgba(72, 181, 210, .08));
  color: #a8efff;
}

:root:not([data-theme="light"]) #nav2 .title {
  color: #aaa8c5;
}

:root:not([data-theme="light"]) #movie-hot,
:root:not([data-theme="light"]) #body-wrap .block,
:root:not([data-theme="light"]) #page-list,
:root:not([data-theme="light"]) #page-info,
:root:not([data-theme="light"]) #movie-display,
:root:not([data-theme="light"]) #detail,
:root:not([data-theme="light"]) #server-list,
:root:not([data-theme="light"]) #chart {
  border-color: rgba(156, 133, 245, .18);
  background:
    linear-gradient(145deg, rgba(24, 22, 49, .96), rgba(13, 17, 35, .97));
  box-shadow: 0 15px 42px rgba(2, 3, 14, .38), inset 0 1px rgba(255, 255, 255, .035);
}

:root:not([data-theme="light"]) #movie-hot {
  background:
    radial-gradient(ellipse at 5% 0, rgba(131, 77, 205, .16), transparent 42%),
    radial-gradient(ellipse at 95% 100%, rgba(36, 157, 190, .12), transparent 42%),
    linear-gradient(145deg, rgba(24, 22, 49, .96), rgba(13, 17, 35, .97));
}

:root:not([data-theme="light"]) #movie-hot > .title,
:root:not([data-theme="light"]) #body-wrap .block .blocktitle .title,
:root:not([data-theme="light"]) #body-wrap .block .blocktitle h3,
:root:not([data-theme="light"]) #body-wrap .block .blocktitle h2,
:root:not([data-theme="light"]) #chart .blocktitle .title {
  color: #f3efff;
}

:root:not([data-theme="light"]) #body-wrap .block .blocktitle {
  border-bottom-color: rgba(157, 134, 234, .16);
  background: linear-gradient(90deg, rgba(92, 64, 151, .2), rgba(30, 112, 143, .08), transparent);
}

:root:not([data-theme="light"]) #content ul.list-film > li .inner,
:root:not([data-theme="light"]) #movie-hot .listfilm li {
  border-color: rgba(164, 143, 247, .18);
  background: linear-gradient(155deg, rgba(33, 30, 64, .98), rgba(16, 20, 39, .98));
  box-shadow: 0 8px 22px rgba(4, 3, 19, .28), inset 0 1px rgba(255, 255, 255, .035);
}

:root:not([data-theme="light"]) #content ul.list-film > li .inner:hover,
:root:not([data-theme="light"]) #movie-hot .listfilm li:hover {
  border-color: rgba(131, 236, 255, .5);
  box-shadow: 0 12px 30px rgba(4, 3, 19, .4), 0 0 22px rgba(127, 103, 231, .14);
}

:root:not([data-theme="light"]) .list-film li .name a,
:root:not([data-theme="light"]) #chart .blockbody .name a {
  color: #eeeaff;
}

:root:not([data-theme="light"]) .list-film li .name a:hover,
:root:not([data-theme="light"]) #chart .blockbody .name a:hover {
  color: #8feeff;
}

:root:not([data-theme="light"]) .list-film li .name2,
:root:not([data-theme="light"]) .list-film li .views,
:root:not([data-theme="light"]) #chart .blockbody .views {
  color: #aaa8c5;
}

:root:not([data-theme="light"]) #movie-hot .listfilm.owl-carousel .owl-item > li {
  border-color: rgba(164, 143, 247, .2);
  background: #11152a;
}

:root:not([data-theme="light"]) #movie-hot .listfilm li a.movie-hot-link {
  background-color: #11152a;
}

:root:not([data-theme="light"]) #movie-hot .listfilm li .overlay {
  background: linear-gradient(0deg, rgba(8, 8, 22, .98), rgba(16, 13, 35, .78));
}

:root:not([data-theme="light"]) #movie-hot .listfilm li .status,
:root:not([data-theme="light"]) .list-film li .status {
  border-color: rgba(139, 220, 255, .3);
  background: rgba(11, 18, 38, .9);
  color: #c7f4ff;
}

:root:not([data-theme="light"]) #page-info .dinfo,
:root:not([data-theme="light"]) #page-list .filter {
  border-color: rgba(158, 137, 238, .16);
  background: rgba(18, 18, 41, .78);
}

:root:not([data-theme="light"]) #footer {
  border-top-color: rgba(153, 129, 236, .22);
  background:
    radial-gradient(ellipse at 10% 0, rgba(99, 57, 164, .2), transparent 40%),
    linear-gradient(115deg, #101025, #171631 56%, #102638);
}

:root:not([data-theme="light"]) .galaxy-db-notice {
  border-color: rgba(255, 184, 105, .35);
  background: rgba(75, 46, 35, .72);
}

@media (prefers-reduced-motion: no-preference) {
  #content ul.list-film > li .inner,
  #movie-hot .listfilm li,
  #nav .menu > li > a {
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, color .22s ease, background-color .22s ease;
  }
}

@media (max-width: 767px) {
  :root:not([data-theme="light"]) #movie-hot,
  :root:not([data-theme="light"]) #body-wrap .block {
    box-shadow: 0 10px 28px rgba(2, 3, 14, .3);
  }
}

@media (max-width: 767px) {
  html,
  body,
  #wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  #header .container {
    display: grid;
    width: calc(100% - 24px);
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 12px 0;
  }

  #header #logo,
  #header #search,
  #header #sign {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  #header #logo {
    grid-row: 1;
    text-align: center;
  }

  #header #logo a.site-logo-image {
    justify-content: center;
    max-width: 100%;
  }

  #header #logo a.site-logo-image span {
    max-width: calc(100vw - 110px);
  }

  #header #logo a img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
  }

  #header #search {
    grid-row: 2;
  }

  #header #search form {
    width: 100%;
    gap: 8px;
  }

  #header #search .keyword {
    width: 100%;
    min-width: 0;
  }

  #header #search .submit {
    flex: 0 0 44px;
  }

  #header #sign {
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
  }

  #header #sign > form {
    display: contents;
  }

  #header #sign .links,
  #header #sign .login {
    display: block;
    float: none;
    margin: 0;
  }

  #header #sign a,
  #header #sign > form > a,
  #header #sign .links a,
  #header #sign .login > a,
  #header #sign .theme-toggle,
  #header #sign #logout {
    min-height: 36px;
    max-width: 100%;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  #header #sign .login {
    position: relative;
  }

  #header #sign .login-form {
    top: calc(100% + 7px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    height: auto;
    min-height: 154px;
    overflow: visible;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-surface);
    box-shadow: var(--site-shadow);
  }

  #header #sign .login-form .input {
    width: calc(100% - 30px);
    box-sizing: border-box;
  }

  #body-wrap {
    display: grid;
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    grid-template-areas:
      "featured"
      "content"
      "sidebar";
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0 0;
    overflow: visible;
  }

  body.watch-page #body-wrap {
    display: grid;
    width: calc(100% - 24px);
    max-width: 100%;
    grid-template-areas:
      "featured"
      "content"
      "sidebar";
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-right: 0;
    padding-left: 0;
  }

  body.watch-page #content,
  body.watch-page #movie-display {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #body-wrap > #movie-hot,
  #body-wrap > #content,
  #body-wrap > #sidebar,
  #body-wrap > .galaxy-db-notice {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    box-sizing: border-box;
  }

  #body-wrap > #movie-hot {
    grid-area: featured;
  }

  #body-wrap > #content {
    grid-area: content;
  }

  #body-wrap > #sidebar {
    grid-area: sidebar;
    margin-top: 0;
  }

  #body-wrap > .galaxy-db-notice {
    grid-area: auto;
  }

  #content,
  #sidebar,
  #page-list,
  #page-info,
  #movie-display,
  #detail,
  #server-list,
  #chart {
    min-width: 0;
    max-width: 100%;
  }

  #content ul.list-film {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #movie-hot .listfilm.owl-carousel .owl-item > li {
    height: clamp(250px, 72vw, 330px);
  }

  #movie-display video,
  #movie-display iframe,
  #movie-display .episode-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

@media (max-width: 380px) {
  #header .container,
  #body-wrap {
    width: calc(100% - 20px);
  }

  #header #sign {
    gap: 5px;
  }

  #header #sign a,
  #header #sign > form > a,
  #header #sign .links a,
  #header #sign .login > a,
  #header #sign .theme-toggle,
  #header #sign #logout {
    min-height: 34px;
    padding: 0 7px;
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  #page-info .info {
    display: grid;
    grid-template-columns: minmax(88px, 112px) minmax(0, 1fr);
    align-items: start;
    gap: 10px 14px;
    padding: 14px;
    overflow: hidden;
  }

  #page-info .info .poster {
    grid-column: 1;
    grid-row: 1 / span 2;
    float: none;
    width: 100%;
    max-width: 112px;
    margin: 0;
  }

  #page-info .info .poster a,
  #page-info .info .poster img {
    display: block;
    width: 100%;
  }

  #page-info .info .poster img {
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

  #page-info .info .fr,
  #page-info .info .name2.fr {
    grid-column: 2;
    float: none;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  #page-info .info h2.title {
    grid-row: 1;
    align-self: end;
    font-size: clamp(17px, 5vw, 23px);
    line-height: 1.25;
  }

  #page-info .info .name2 {
    grid-row: 2;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  #page-info .info .name2 h3 {
    display: inline;
    font-size: inherit;
    overflow-wrap: anywhere;
  }

  #page-info .dinfo {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    margin: 4px 0 0;
    padding: 10px !important;
  }

  #page-info .dinfo .col1,
  #page-info .dinfo .col2 {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  #page-info .dinfo ul {
    padding: 0;
  }

  #page-info .dinfo li {
    margin: 0;
    padding: 5px 0;
    overflow-wrap: anywhere;
  }

  #page-info .groups-btn {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 0;
  }

  #page-info .groups-btn > a {
    display: inline-flex;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  #page-info .info {
    grid-template-columns: minmax(78px, 96px) minmax(0, 1fr);
    gap: 9px 11px;
    padding: 12px;
  }

  #page-info .dinfo {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Unified Galaxy interface polish across public pages and the video player. */
:root:not([data-theme="light"]) {
  --ui-panel: rgba(19, 19, 42, .94);
  --ui-panel-soft: rgba(25, 24, 52, .82);
  --ui-outline: rgba(167, 143, 255, .2);
  --ui-violet: #bd91ff;
  --ui-cyan: #84edff;
}

:root[data-theme="light"] {
  --ui-panel: #fff;
  --ui-panel-soft: #f6f8fd;
  --ui-outline: rgba(58, 79, 119, .14);
  --ui-violet: #7856c5;
  --ui-cyan: #258ba7;
}

::selection {
  background: rgba(147, 111, 226, .36);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ui-cyan);
  outline-offset: 3px;
}

#body-wrap > #content,
#body-wrap > #sidebar {
  min-width: 0;
}

#body-wrap .block,
#movie-hot,
#page-list,
#page-info,
#movie-display,
#detail,
#server-list,
#chart,
.community-panel,
.copyright-report-card,
.related-recommendations {
  border: 1px solid var(--ui-outline);
  border-radius: 16px;
  background: var(--ui-panel);
  box-shadow: var(--site-shadow);
}

#body-wrap .block .blocktitle {
  position: relative;
  min-height: 54px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ui-outline);
}

#body-wrap .block .blocktitle .title,
#body-wrap .block .blocktitle h2,
#body-wrap .block .blocktitle h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.35;
}

#body-wrap .block .blocktitle .more,
#body-wrap .block .blocktitle .types {
  margin-left: auto;
}

#body-wrap .block .blockbody {
  min-width: 0;
}

#content ul.list-film > li .inner {
  height: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ui-outline);
  border-radius: 13px;
  background: var(--ui-panel-soft);
}

#content ul.list-film > li .inner > a:first-child {
  display: block;
  overflow: hidden;
  border-radius: 9px;
}

#content ul.list-film > li img {
  display: block;
  transition: transform .3s ease, filter .3s ease;
}

#content ul.list-film > li .inner:hover img {
  filter: saturate(1.08);
  transform: scale(1.025);
}

.list-film li .name,
.list-film li .name2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

#sidebar .block,
#chart {
  border-radius: 15px;
}

#page-list .filter {
  align-items: flex-end;
  border-radius: 0 0 15px 15px;
}

#page-list .filter .item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}

#page-list .filter .item select {
  min-width: 150px;
  min-height: 40px;
}

#page-list .filter .btn1 {
  width: auto;
  padding: 0;
}

#page-list .filter #locphim,
#content .btn-primary,
#content button.btn-primary {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid rgba(132, 237, 255, .34);
  border-radius: 9px;
  background: linear-gradient(135deg, #8b5bd1, #287f9b);
  color: #fff;
  font-weight: 750;
}

#content .btn-default,
#content .btn-secondary {
  border: 1px solid var(--ui-outline);
  border-radius: 9px;
  background: var(--ui-panel-soft);
  color: var(--site-text);
}

#page-info .breadcrumbs,
#movie-display .breadcrumb {
  overflow-wrap: anywhere;
}

#page-info .detail .content,
#detail > .row {
  padding: 16px;
}

#page-info .detail .content p,
#detail > .row > p {
  line-height: 1.75;
  overflow-wrap: anywhere;
}

#footer {
  padding-top: 34px;
  padding-bottom: 18px;
}

body.watch-page #body-wrap {
  grid-template-areas:
    "featured featured"
    "content sidebar";
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px 20px;
}

body.watch-page #body-wrap > #movie-hot {
  grid-area: featured;
}

body.watch-page #body-wrap > #content {
  grid-area: content;
}

body.watch-page #body-wrap > #sidebar {
  grid-area: sidebar;
}

body.watch-page #movie-display {
  overflow: hidden;
}

body.watch-page #movie-display .body_video {
  display: block;
  margin: 0;
  padding: 18px;
  background: transparent;
}

body.watch-page #movie-display .body_video > .col-sm-12 {
  width: 100%;
  padding: 0;
}

body.watch-page .video-quality-badge {
  min-height: 30px;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-color: var(--ui-outline);
  background: rgba(129, 98, 205, .13);
  color: var(--ui-cyan);
  letter-spacing: .02em;
}

#movie-display .video-player-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(149, 132, 227, .25);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(91, 77, 155, .15), transparent 55%),
    #050610;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 0 0 28px rgba(104, 76, 196, .12);
}

#movie-display .video-player-frame > iframe,
#movie-display .video-player-frame > video.episode-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  object-fit: contain;
  box-shadow: none;
}

body.watch-page .video-source-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
}

body.watch-page .video-player-frame .galaxy-ad-panel-watch-overlay {
  max-width: min(38%, 320px);
  border: 1px solid rgba(174, 146, 255, .25);
  border-radius: 10px;
  background: rgba(10, 10, 27, .92);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .36);
}

body.watch-page .video-player-frame .danmaku-layer {
  border-radius: inherit;
}

body.watch-page .video-utility-controls,
body.watch-page .share > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

body.watch-page .video-utility-controls .btn,
body.watch-page .share .btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--ui-outline);
  border-radius: 9px;
  background: var(--ui-panel-soft);
  color: var(--site-text);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

body.watch-page .share {
  width: auto;
  margin: 0;
  padding: 0 18px 17px;
  border: 0;
  background: transparent;
}

body.watch-page .share .row {
  margin: 0;
}

body.watch-page .share .btn img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

body.watch-page .share .share_fb {
  border-color: rgba(111, 158, 255, .32);
  background: rgba(67, 98, 170, .22) !important;
}

body.watch-page .share .share_fb a {
  color: inherit !important;
  text-decoration: none;
}

body.watch-page #server-list {
  padding: 16px;
}

body.watch-page #server-list > .row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

body.watch-page #server-list > .row > .col-sm-3 {
  max-width: none;
  width: auto;
  padding: 10px;
  border-radius: 9px;
  background: var(--ui-panel-soft);
  color: var(--site-text);
  font-weight: 750;
}

body.watch-page #server-list > .row > .col-sm-9 {
  width: auto;
  max-width: none;
  padding: 0;
}

body.watch-page #server-list .col-sm-9 > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

body.watch-page #server-list .seat {
  display: inline-flex;
  min-width: 72px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--ui-outline);
  border-radius: 9px;
  background: var(--ui-panel-soft);
  color: var(--site-text) !important;
  font-size: 12px;
  font-weight: 750;
}

body.watch-page #server-list .seat:hover,
body.watch-page #server-list .seat:focus {
  border-color: rgba(132, 237, 255, .48);
  background: rgba(104, 83, 165, .22);
  color: var(--ui-cyan) !important;
}

body.watch-page #server-list .seat small {
  color: var(--site-muted);
  font-size: 9px;
}

body.watch-page #detail,
body.watch-page .community-panel {
  padding: 18px;
}

body.watch-page #detail > .row {
  margin: 0;
}

body.watch-page .watch-contact {
  width: 100%;
  border-color: var(--ui-outline);
  border-radius: 11px;
}

body.watch-page .watch-contact legend {
  width: auto;
  padding: 0 8px;
  border: 0;
  color: var(--ui-cyan);
  font-size: 13px;
  font-weight: 750;
}

body.watch-page .community-panel {
  margin: 16px 18px 18px;
  border-color: var(--ui-outline);
  background: var(--ui-panel-soft);
}

body.watch-page .community-panel h3 {
  color: var(--site-text);
  font-size: 18px;
}

body.watch-page .community-panel input,
body.watch-page .community-panel textarea {
  min-width: 0;
  border: 1px solid var(--ui-outline);
  border-radius: 9px;
  background: rgba(7, 8, 23, .55);
  color: var(--site-text);
}

:root[data-theme="light"] body.watch-page .community-panel input,
:root[data-theme="light"] body.watch-page .community-panel textarea {
  background: #fff;
  color: #26324a;
}

:root[data-theme="light"] #movie-display .video-player-frame {
  border-color: rgba(87, 104, 154, .3);
  background: #101321;
}

@media (max-width: 1024px) {
  body.watch-page #body-wrap {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 767px) {
  body.watch-page #body-wrap {
    grid-template-areas:
      "featured"
      "content"
      "sidebar";
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-top: 12px;
  }

  body.watch-page #movie-display .body_video {
    padding: 12px;
  }

  #movie-display .video-player-frame {
    border-radius: 10px;
  }

  body.watch-page .video-quality-badge {
    margin-bottom: 8px;
    font-size: 10px;
  }

  body.watch-page .video-utility-controls,
  body.watch-page .share > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body.watch-page .video-utility-controls .btn,
  body.watch-page .share .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 7px 8px;
    overflow-wrap: anywhere;
    font-size: 10px;
    text-align: center;
  }

  body.watch-page .share {
    padding: 0 12px 12px;
  }

  body.watch-page #server-list {
    padding: 12px;
  }

  body.watch-page #server-list > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  body.watch-page #server-list > .row > .col-sm-3 {
    min-height: 38px;
  }

  body.watch-page #server-list > .row > .col-sm-3,
  body.watch-page #server-list > .row > .col-sm-9 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  body.watch-page #server-list .col-sm-9 > .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 7px;
  }

  body.watch-page #server-list .seat {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.watch-page #body-wrap > #sidebar,
  body.watch-page #sidebar .block {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.watch-page #chart .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.watch-page #chart .tabs .tab {
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;
    overflow-wrap: anywhere;
    text-align: center;
  }

  body.watch-page #chart .blockbody,
  body.watch-page #chart ul li .detail {
    min-width: 0;
  }

  body.watch-page #detail,
  body.watch-page .community-panel {
    padding: 14px;
  }

  body.watch-page .community-panel {
    margin: 12px;
  }
}

@media (max-width: 420px) {
  body.watch-page #movie-display .body_video {
    padding: 9px;
  }

  body.watch-page .video-utility-controls,
  body.watch-page .share > .row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.watch-page .video-utility-controls .btn,
  body.watch-page .share .btn {
    justify-content: flex-start;
    padding-left: 12px;
  }

  body.watch-page .community-panel {
    margin: 9px;
  }
}

:root[data-theme="light"] .admin-calendar-event__content p,
:root[data-theme="light"] .admin-calendar-empty {
  color: var(--calendar-muted);
}

@media (max-width: 767px) {
  .admin-calendar-hero {
    min-height: 170px;
    padding: 22px;
    border-radius: 16px;
  }

  .admin-calendar-hero__art {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    margin-right: 0;
    border-radius: 20px;
    font-size: 32px;
  }

  .admin-calendar-section-heading {
    align-items: flex-start;
  }

  .admin-calendar-section-heading__title {
    align-items: flex-start;
  }

  .admin-calendar-section-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .admin-calendar-toolbar {
    align-items: stretch;
  }

  .admin-calendar-toolbar__month {
    width: 100%;
  }

  .admin-calendar-toolbar__month h2 {
    flex: 1;
  }

  .admin-calendar-toolbar form {
    width: 100%;
  }

  .admin-calendar-toolbar input[type="month"] {
    min-width: 0;
    flex: 1;
  }

  .admin-calendar-weekday {
    padding: 9px 1px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .admin-calendar-day {
    min-height: 76px;
    padding: 5px 3px;
  }

  .admin-calendar-day time {
    width: 23px;
    height: 23px;
    margin-bottom: 4px;
  }

  .admin-calendar-day-event {
    margin: 2px 0;
    padding: 3px 4px;
    font-size: 9px;
  }

  .admin-calendar-event {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .admin-calendar-hero {
    padding: 19px 16px;
  }

  .admin-calendar-hero__art {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 15px;
    font-size: 25px;
  }

  .admin-calendar-hero .admin-calendar-hero__copy h1 {
    font-size: 25px;
  }

  .admin-calendar-hero__copy > p:not(.admin-calendar-kicker) {
    max-width: 260px;
    font-size: 12px;
  }

  .admin-calendar-editor,
  .admin-calendar-view,
  .admin-calendar-event-list {
    padding: 14px 11px;
  }

  .admin-calendar-section-heading__title p {
    max-width: 230px;
  }

  .admin-calendar-day {
    min-height: 68px;
    padding: 4px 2px;
  }

  .admin-calendar-weekday {
    font-size: 8px;
  }

  .admin-calendar-event-count {
    padding: 6px 8px;
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  #header {
    height: auto;
    min-height: 0;
  }

  #header > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 9px 10px;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 10px 0;
  }

  #header #logo,
  #header #search,
  #header #sign {
    position: static;
    float: none;
    min-width: 0;
    margin: 0;
  }

  #header #logo {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    text-align: left;
  }

  #header #logo a,
  #header #logo a.site-logo-image {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.2;
  }

  #header #logo a img {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    max-width: 36px;
    max-height: 36px;
    margin: 0;
    object-fit: contain;
  }

  #header #logo a.site-logo-image span {
    display: block;
    max-width: min(42vw, 180px);
    -webkit-line-clamp: 2;
  }

  #header #search {
    display: block !important;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  #header #search form {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 8px;
    margin: 0;
  }

  #header #search .keyword {
    display: block;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 42px;
    margin: 0;
  }

  #header #search .submit {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 42px;
    margin: 0;
  }

  #header #sign {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    max-width: 60vw;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
  }

  #header #sign > form {
    display: contents;
  }

  #header #sign .links,
  #header #sign .login {
    display: block;
    float: none;
    margin: 0;
  }

  #nav {
    position: relative;
    z-index: 30;
    overflow: visible;
  }

  #nav .nav-menu-scroll {
    width: 100%;
    overflow: visible;
  }

  #nav .menu.container {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 8px;
    overflow: visible;
  }

  #nav .menu > li,
  #nav .menu > li.home {
    flex: 1 1 auto;
    min-width: 0;
  }

  #nav .menu > li.home {
    flex: 0 0 44px;
  }

  #nav .menu > li > a {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 5px 7px;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }

  #nav .menu > li.home > a {
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    padding: 0;
  }

  #nav .menu > li > .sub-menu {
    position: fixed;
    right: 10px;
    left: 10px;
    width: auto !important;
    max-width: none;
    max-height: min(55vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  #nav .menu > li:hover > .sub-menu {
    display: none !important;
  }

  #nav .menu > li > .sub-menu.show {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #nav .menu.container {
    flex-wrap: wrap;
    justify-content: center;
  }

  #nav .menu > li,
  #nav .menu > li.home {
    flex: 1 1 auto;
  }

  #nav .menu > li.home {
    flex: 0 0 48px;
  }
}

#movie-recommend .blockbody > ul.tab,
#chart .blockbody > ul.tab {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
}

#movie-recommend .blockbody > ul.tab {
  padding: 0;
  list-style: none;
}

#chart .blockbody > ul.tab {
  margin: 0;
  padding: 0 14px 12px;
  list-style: none;
}

#movie-recommend .blockbody > ul.tab.hide,
#chart .blockbody > ul.tab.hide {
  display: none;
}

#movie-recommend .blockbody > ul.tab:not(.hide),
#chart .blockbody > ul.tab:not(.hide) {
  display: block;
}

@media (max-width: 767px) {
  #header #sign .login-form {
    position: fixed;
    top: 0;
    right: 12px;
    left: 12px;
    z-index: 1100;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 24px);
    padding: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    background: var(--site-surface);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .5);
    box-sizing: border-box;
  }

  #header #sign .login-form form {
    display: grid;
    width: 100%;
    gap: 10px;
    margin: 0;
  }

  #header #sign .login-form .input {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
  }

  #header #sign .login-form form > div:last-child {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
  }

  #header #sign .login-form .remember {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
  }

  #header #sign .login-form .remember input {
    float: none;
    margin: 0;
  }

  #header #sign .login-form .submit {
    position: static;
    float: none;
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    height: 42px;
    margin: 0;
    padding: 0 16px;
    border-radius: 9px;
  }
}

#content #movie-recommend,
#content #movie-update,
#sidebar #chart {
  overflow: hidden;
  border: 1px solid var(--ui-outline);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0 0, rgba(128, 99, 220, .1), transparent 46%),
    var(--ui-panel);
  box-shadow: 0 14px 34px rgba(5, 8, 24, .14);
}

#content #movie-recommend {
  margin-bottom: 18px;
}

#movie-recommend > .col {
  width: 100%;
  margin: 0;
}

#movie-recommend .blocktitle {
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ui-outline);
  background: linear-gradient(100deg, rgba(127, 91, 210, .12), rgba(56, 171, 193, .07), transparent);
}

#movie-recommend .blocktitle .tabs {
  gap: 8px;
  width: 100%;
}

#movie-recommend .blocktitle .tabs .tab,
#movie-update .types .btn {
  min-height: 38px;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--ui-outline);
  border-radius: 10px;
  background: var(--ui-panel-soft);
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 750;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

#movie-recommend .blocktitle .tabs .tab:hover,
#movie-update .types .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 237, 255, .42);
  color: var(--ui-cyan);
}

#movie-recommend .blocktitle .tabs .tab.active,
#movie-update .types .btn.active {
  border-color: rgba(132, 237, 255, .42);
  background: linear-gradient(130deg, rgba(128, 91, 203, .28), rgba(42, 130, 153, .2));
  color: var(--ui-cyan);
  box-shadow: inset 0 0 0 1px rgba(132, 237, 255, .06);
}

#movie-recommend .blockbody {
  padding: 10px 16px 14px;
}

#movie-recommend .blockbody > ul.tab {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#movie-recommend .blockbody > ul.tab > li {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid var(--ui-outline);
  border-radius: 10px;
  background: var(--ui-panel-soft);
  list-style: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

#movie-recommend .blockbody > ul.tab > li:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 237, 255, .38);
}

#movie-recommend .blockbody > ul.tab > li > a {
  min-width: 0;
  overflow: hidden;
  color: var(--site-text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-recommend .blockbody > ul.tab > li > span {
  flex: 0 0 auto;
  color: var(--site-muted);
  font-size: 10px;
}

#content #movie-update > .blocktitle {
  display: flex;
  min-height: 60px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--ui-outline);
  background: linear-gradient(100deg, rgba(127, 91, 210, .12), rgba(56, 171, 193, .07), transparent);
}

#movie-update > .blocktitle > .title {
  margin: 0;
  color: var(--site-text);
  font-size: 17px;
  font-weight: 800;
}

#movie-update > .blocktitle > .icon {
  margin: 0;
}

#movie-update .types {
  gap: 6px;
}

#movie-update > .blockbody {
  padding: 8px;
}

#movie-update > .blockbody > .tab {
  display: block;
  float: none;
  width: 100%;
  height: auto;
}

#movie-update > .blockbody > .tab.hide {
  display: none;
}

#movie-update > .blockbody > .tab:not(.hide) {
  display: block;
}

#movie-update .list-film {
  display: grid;
  float: none;
  width: 100%;
  height: auto;
  gap: 12px;
  padding: 8px;
}

#movie-update .list-film > li {
  min-width: 0;
}

#movie-update .list-film > li .inner {
  position: relative;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--ui-outline);
  border-radius: 14px;
  background: var(--ui-panel-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#movie-update .list-film > li .inner:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 237, 255, .42);
  box-shadow: 0 12px 28px rgba(5, 8, 24, .2);
}

#movie-update .list-film > li .inner > a:first-child {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--site-surface-raised);
}

#movie-update .list-film > li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

#movie-update .list-film .info {
  min-width: 0;
  padding: 9px 3px 4px;
}

#movie-update .list-film .name a {
  display: block;
  overflow: hidden;
  color: var(--site-text);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-update .list-film .name2 {
  overflow: hidden;
  color: var(--site-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movie-update .list-film .status {
  top: 13px;
  right: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background: rgba(10, 14, 30, .84);
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sidebar #chart {
  padding: 0;
}

#chart .blocktitle {
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ui-outline);
  background: linear-gradient(100deg, rgba(127, 91, 210, .12), rgba(56, 171, 193, .07), transparent);
}

#chart .blocktitle .icon {
  margin: 0 9px 0 0;
}

#chart .tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 10px;
  border-bottom: 1px solid var(--ui-outline);
}

#chart .tabs .tab {
  display: flex;
  min-width: 0;
  min-height: 40px;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border: 1px solid var(--ui-outline);
  border-radius: 9px;
  background: var(--ui-panel-soft);
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#chart .tabs .tab.active {
  border-color: rgba(132, 237, 255, .38);
  background: linear-gradient(130deg, rgba(128, 91, 203, .26), rgba(42, 130, 153, .18));
  color: var(--ui-cyan);
}

#chart .blockbody {
  padding: 6px 12px 10px;
  background: transparent;
}

#chart .blockbody > ul.tab {
  padding: 0;
}

#chart .blockbody > ul.tab > li {
  min-width: 0;
  min-height: 56px;
  gap: 10px;
  padding: 9px 2px;
  border-bottom-color: var(--ui-outline);
}

#chart .blockbody > ul.tab > li > .detail {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

#chart .blockbody > ul.tab > li > .detail .name a {
  display: block;
  overflow: hidden;
  color: var(--site-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#chart .blockbody > ul.tab > li > .detail .views {
  margin-top: 2px;
  color: var(--site-muted);
  font-size: 10px;
}

@media (max-width: 767px) {
  #movie-recommend .blocktitle {
    padding: 10px 12px;
  }

  #movie-recommend .blockbody {
    padding: 9px 10px 12px;
  }

  #movie-recommend .blockbody > ul.tab {
    grid-template-columns: minmax(0, 1fr);
  }

  #content #movie-update > .blocktitle {
    align-items: flex-start;
    padding: 11px 12px;
  }

  #movie-update > .blocktitle > .title {
    flex: 1 1 auto;
    align-self: center;
  }

  #movie-update .types {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
  }

  #movie-update .types .type {
    flex: 1 1 0;
    min-width: 0;
  }

  #movie-update .types .btn {
    display: flex;
    width: 100%;
    min-width: 0;
    padding: 0 6px;
    font-size: 10px;
    white-space: normal;
  }

  #movie-update > .blockbody {
    padding: 5px;
  }

  #movie-update .list-film {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 6px;
  }

  #movie-update .list-film > li .inner {
    padding: 5px;
    border-radius: 11px;
  }

  #movie-update .list-film > li .inner > a:first-child {
    border-radius: 8px;
  }

  #movie-update .list-film .info {
    padding: 7px 2px 3px;
  }

  #chart .blocktitle {
    min-height: 50px;
    padding: 0 12px;
  }

  #chart .tabs {
    gap: 4px;
    padding: 8px;
  }

  #chart .tabs .tab {
    min-height: 38px;
    font-size: 9px;
  }
}
