:root {
  --brand: #f97316;
  --brand-deep: #c2410c;
  --accent: #ffb020;
  --cyan: #0fb8d4;
  --red: #e32214;
  --bg: #eef0f2;
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --text: #22242a;
  --muted: #6f7380;
  --line: #e5e6eb;
  --shadow: 1px 3px 8px rgba(49, 49, 49, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Fira Sans", "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.darkmode {
  --bg: #151311;
  --surface: #211f1c;
  --surface-soft: #2d2924;
  --text: #f7f3ee;
  --muted: #b5aba0;
  --line: #3b342e;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--brand);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10000;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 3px;
}

.skip-link:focus {
  left: 8px;
}

.clear {
  clear: both;
}

.th {
  overflow: visible;
  background: var(--surface);
  min-height: 60px;
  box-shadow: 0 1px 0 var(--line);
}

.centernav,
#content {
  max-width: 1220px;
  margin: 0 auto;
}

.th .centernav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  min-height: 60px;
}

.mainheader {
  flex: 0 0 auto;
}

.logos {
  margin: 0;
  min-height: 1px;
  font-size: 0;
}

.logos a,
.mobilelogo a,
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  font-size: 44px;
}

.brand-main {
  color: var(--text);
}

.brand-accent {
  color: var(--brand);
}

.hdl,
.mobilelogo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.searchx {
  position: relative;
  flex: 0 1 370px;
}

.searchx #form {
  position: relative;
}

.searchx input[type="search"] {
  display: block;
  width: 100%;
  height: 36px;
  padding: 7px 42px 7px 12px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: none;
}

.searchx input[type="search"]:focus {
  border-color: var(--brand);
  outline: 0;
}

#submitsearch,
.srcmob,
.shme {
  border: 0;
  background: transparent;
}

#submitsearch {
  position: absolute;
  top: 0;
  right: 3px;
  width: 36px;
  height: 36px;
  color: var(--muted);
}

.icon-search,
.icon-close,
.hamburger,
.play-mark,
.angle-mark,
.star-mark {
  display: inline-block;
  position: relative;
}

.icon-search {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.icon-close {
  width: 20px;
  height: 20px;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 2px;
  width: 2px;
  height: 16px;
  background: currentColor;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.hamburger {
  width: 28px;
  height: 20px;
}

.hamburger span {
  display: block;
  height: 3px;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 2px;
}

.play-mark {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.play-mark.large {
  border-top-width: 24px;
  border-bottom-width: 24px;
  border-left-width: 38px;
}

.angle-mark {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 7px;
}

.star-mark {
  width: 10px;
  height: 10px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 56%, 82% 100%, 50% 72%, 18% 100%, 31% 56%, 0 35%, 38% 35%);
  margin-right: 6px;
}

.live-search_sb {
  display: none;
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live-search_sb.active {
  display: block;
}

.live-search_sb a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.live-search_sb a:last-child {
  border-bottom: 0;
}

.live-search_sb img {
  width: 38px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
}

.live-search_sb strong,
.live-search_sb span {
  display: block;
}

.live-search_sb span {
  color: var(--muted);
  font-size: 12px;
}

#thememode {
  margin-left: auto;
}

#switchtext {
  display: none;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 34px;
}

.slider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

#main-menu {
  background: var(--brand);
  margin-bottom: 15px;
}

#main-menu .centernav {
  padding: 0 20px;
}

#main-menu ul {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-menu li {
  float: left;
  margin: 0 10px;
}

#main-menu a {
  color: #fff;
}

#main-menu li a {
  display: block;
  height: 46px;
  line-height: 46px;
  padding: 0 10px;
}

#main-menu li.current-menu-item a,
#main-menu li a:hover {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.surprise {
  float: right;
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  margin-right: 10px;
  padding: 5px 10px;
  line-height: 1.5;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 2px;
  font-size: 12px;
}

.surprise:hover {
  background: #fff;
  color: #333;
}

.surprise:hover .star-mark {
  background: var(--brand);
}

#content {
  overflow: hidden;
  position: relative;
}

.wrapper {
  position: relative;
  margin: 0 20px;
}

.postbody {
  float: left;
  width: 70%;
}

#sidebar {
  float: right;
  width: 30%;
}

.bixbox,
#sidebar .section {
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--surface);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

#sidebar .section {
  margin-left: 18px;
}

.releases {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 39px;
  padding: 8px 15px;
  border-bottom: 1px solid var(--line);
}

.releases h1,
.releases h2,
.releases h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1em;
  line-height: 20px;
  font-weight: 700;
}

.home-hero {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(15, 184, 212, 0.08)),
    var(--surface);
}

.home-hero-copy {
  padding: 18px 20px;
}

.home-hero h1 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.releases.hothome {
  background: var(--brand-deep);
}

.releases.latesthome {
  background: var(--brand);
}

.releases.hothome h2,
.releases.latesthome h2,
.releases.latesthome h3 {
  color: #fff;
}

.releases .vl {
  display: inline-block;
  height: 20px;
  line-height: 20px;
  padding: 0 7px;
  background: #fff;
  color: #111;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.listupd {
  overflow: hidden;
  padding: 10px;
}

.listupd.popularslider {
  padding-bottom: 10px;
}

.popconslide {
  display: flex;
  overflow-x: auto;
  padding-bottom: 5px;
}

.popconslide .bs {
  flex: 0 0 161px;
  float: none;
}

.popconslide::-webkit-scrollbar {
  height: 9px;
  background: var(--surface-soft);
}

.popconslide::-webkit-scrollbar-thumb {
  background: #a8652b;
  border-radius: 2px;
}

.bs {
  float: left;
  width: 20%;
}

.bs .bsx {
  position: relative;
  overflow: hidden;
  margin: 7px 7px 15px;
}

.bs .limit {
  position: relative;
  overflow: hidden;
  padding-top: 142%;
  background: #333;
}

.bs .limit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.bs .bsx:hover img {
  transform: scale(1.08);
}

.typez {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  padding: 2px 6px;
  background: rgba(15, 184, 212, 0.9);
  color: #fff;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
}

.ply {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(48, 26, 10, 0.72);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.bs .bsx:hover .ply {
  opacity: 1;
}

.bt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 39px;
  padding: 14px 6px 6px;
  color: #fff;
  font-size: 12.5px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.86) 100%);
}

.bt .epx {
  float: left;
  margin-left: 4px;
}

.bt .sb {
  float: right;
  padding: 2px 5px;
  color: #111;
  background: var(--accent);
  border-radius: 3px;
  line-height: 1.15;
}

.bs .tt {
  height: 37px;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--text);
  font-size: 0.95em;
  line-height: 1.25;
  text-align: center;
}

.bs .tt h2,
.bs .tt .card-headline {
  display: none;
}

.page-head .page-intro,
.entry-content {
  padding: 15px;
}

.page-intro p,
.entry-content p {
  margin: 0 0 12px;
}

.seo-article .entry-content,
.compact-copy {
  color: var(--muted);
}

.seo-article h3,
.compact-copy h2,
.episode-copy h2 {
  margin: 4px 0 9px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.seo-article section + section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.compact-copy {
  padding-top: 0;
}

.compact-copy h2 {
  font-size: 17px;
}

.episode-copy {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.episode-copy p:last-child,
.seo-article p:last-child,
.compact-copy p:last-child {
  margin-bottom: 0;
}

.quickfilter {
  padding: 15px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.filter label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.filter select,
.filter input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.filter.submit {
  display: flex;
  align-items: end;
}

.filter.submit button,
.contact-form button,
.watchnow,
.bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 3px;
  font-weight: 700;
}

.filter.submit button {
  width: 100%;
}

.filter.submit .icon-search {
  width: 13px;
  height: 13px;
}

.filter.submit .icon-search::after {
  width: 7px;
}

ul.genre {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 10px 15px 15px;
}

ul.genre li {
  float: left;
  width: 50%;
}

ul.genre a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

ul.genre a:hover {
  color: var(--brand);
}

.ongoingseries ul,
.serieslist ul,
.eplister ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ongoingseries li a {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.ongoingseries .l {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ongoingseries .r {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
}

.ts-wpop-nav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px 10px 0;
  gap: 4px;
}

.ts-wpop-nav-tabs li {
  flex: 1;
}

.ts-wpop-tab {
  width: 100%;
  padding: 7px 8px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 0;
  border-radius: 3px;
}

.ts-wpop-nav-tabs li.active .ts-wpop-tab {
  color: #fff;
  background: var(--brand);
}

.wpop-panel {
  display: none;
}

.wpop-panel.active {
  display: block;
}

.serieslist li {
  position: relative;
  overflow: hidden;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
}

.serieslist .ctr {
  float: left;
  width: 28px;
  height: 28px;
  margin-top: 27px;
  margin-right: 8px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
}

.imgseries {
  float: left;
  width: 55px;
  margin-right: 10px;
}

.imgseries img {
  width: 55px;
  height: 75px;
  object-fit: cover;
  border-radius: 2px;
}

.leftseries {
  overflow: hidden;
}

.leftseries h4 {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.25;
}

.leftseries span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.rating-prc {
  flex: 1;
}

.rtb {
  height: 5px;
  background: var(--surface-soft);
  border-radius: 20px;
  overflow: hidden;
}

.rtb span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.numscore {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.animefull {
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--surface);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.bigcover {
  position: relative;
  min-height: 230px;
  background-size: cover;
  background-position: center 22%;
}

.bigcover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 13, 0.24), rgba(18, 15, 13, 0.94));
  backdrop-filter: blur(2px);
}

.bigcontent {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 18px 18px;
  margin-top: -125px;
  z-index: 1;
}

.thumbook {
  flex: 0 0 185px;
}

.thumbook img {
  width: 185px;
  aspect-ratio: 247 / 350;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.infox {
  flex: 1;
  min-width: 0;
  padding-top: 40px;
}

.infox h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.alter {
  color: #f1e7dc;
  font-size: 13px;
}

.genxed {
  margin: 10px 0;
}

.genxed a {
  display: inline-block;
  margin: 0 5px 6px 0;
  padding: 3px 8px;
  color: #fff;
  background: var(--brand);
  border-radius: 3px;
  font-size: 12px;
}

.infox p {
  margin: 10px 0;
}

.spe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  color: var(--muted);
  font-size: 13px;
}

.spe b {
  color: var(--text);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bookmark {
  background: #333844;
}

.bookmark.marked {
  background: var(--accent);
  color: #111;
}

.eplister {
  padding: 10px 15px 15px;
}

.eplister li a {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: var(--surface-soft);
  border-radius: 3px;
}

.epl-num {
  color: var(--accent);
  font-weight: 700;
}

.epl-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epl-sub {
  padding: 2px 7px;
  color: #111;
  background: var(--accent);
  border-radius: 3px;
  font-size: 12px;
}

.epwrapper {
  padding: 15px;
}

.epheader h1 {
  margin: 0 0 6px;
  font-size: 20px;
}

.entry-info {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.entry-info span {
  padding: 2px 7px;
  background: var(--surface-soft);
  border-radius: 3px;
}

.entry-info .status {
  background: var(--accent);
  color: #111;
}

.megavid {
  overflow: hidden;
  background: #0d0b09;
  border-radius: 3px;
}

.player-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(15, 184, 212, 0.16)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 42%),
    #0d0b09;
}

.player-placeholder p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #e8ded3;
}

.server-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.server-list button {
  padding: 7px 12px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.server-list button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.naveps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.naveps a,
.naveps span {
  display: block;
  padding: 9px 10px;
  background: var(--surface-soft);
  border-radius: 3px;
  text-align: center;
  color: var(--muted);
}

.naveps .nvsc a {
  color: #fff;
  background: var(--brand);
}

.epcontent {
  color: var(--muted);
}

.epcontent p {
  margin: 0 0 10px;
}

.taxindex {
  padding: 15px 15px 0;
}

.taxindex ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.taxindex a {
  display: block;
  min-width: 34px;
  padding: 6px 8px;
  background: var(--surface-soft);
  border-radius: 3px;
  text-align: center;
}

.taxindex a:hover {
  color: #fff;
  background: var(--brand);
}

.az-group {
  padding: 5px 5px 10px;
}

.az-group h2,
.schedule-day h2 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 18px;
}

.az-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.az-group li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.az-group li span {
  color: var(--muted);
  font-size: 12px;
}

.schedule-list {
  padding: 15px;
}

.schedule-day {
  margin-bottom: 18px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  margin-bottom: 6px;
  background: var(--surface-soft);
  border-radius: 3px;
}

.schedule-row .time,
.schedule-row .episode {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.bookmark-empty {
  padding: 30px 15px;
  text-align: center;
}

.bookmark-empty h2 {
  margin: 0 0 7px;
}

.bookmark-empty p {
  margin: 0;
  color: var(--muted);
}

.bookmark-list {
  display: none;
}

.bookmark-list.active {
  display: block;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  margin-top: 25px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footercopyright {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-az {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ftaz {
  display: inline-block;
  margin-right: 10px;
  color: var(--brand);
  font-weight: 900;
}

.size-s {
  color: var(--muted);
  font-size: 12px;
}

.az-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.az-list a {
  display: block;
  min-width: 30px;
  padding: 4px 7px;
  color: #fff;
  background: var(--brand);
  border-radius: 2px;
  text-align: center;
  font-size: 12px;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
}

.footer-logo .brand-logo {
  font-size: 36px;
}

.copyright .txt {
  color: var(--muted);
}

.copyright p {
  margin: 5px 0;
}

.footermenu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footermenu a {
  color: var(--text);
  font-size: 13px;
}

[data-card].is-hidden {
  display: none;
}

.srcmob,
.shme {
  display: none;
}

@media only screen and (max-width: 1000px) {
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter.submit {
    grid-column: 1 / -1;
  }

  .bs {
    width: 25%;
  }
}

@media only screen and (max-width: 880px) {
  .postbody,
  #sidebar {
    float: none;
    width: auto;
  }

  #sidebar .section {
    margin-left: 0;
  }
}

@media only screen and (max-width: 800px) {
  .th {
    min-height: 50px;
    background: var(--brand);
  }

  .th .centernav {
    min-height: 50px;
    gap: 10px;
    padding: 0;
  }

  .shme {
    display: block;
    flex: 0 0 52px;
    height: 50px;
    padding: 15px 12px;
  }

  .mainheader {
    flex: 1;
  }

  .logos {
    display: none;
  }

  .mobilelogo {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
  }

  .brand-logo {
    font-size: 34px;
  }

  .brand-main {
    color: #fff;
  }

  .brand-accent {
    color: #ffd2a8;
  }

  .srcmob {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    margin-right: 7px;
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
  }

  .srcmob.srccls {
    display: none;
    position: absolute;
    top: 0;
    right: 4px;
    margin: 0;
    color: var(--muted);
    background: transparent;
  }

  .searchx {
    display: none;
    position: absolute;
    top: 7px;
    left: 52px;
    right: 55px;
    z-index: 4;
    flex: none;
  }

  .searchx.searchmobi {
    display: block;
  }

  .searchx.searchmobi .srccls {
    display: inline-flex;
  }

  #submitsearch {
    display: none;
  }

  #thememode {
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 8px;
  }

  .switch {
    width: 40px;
    height: 20px;
  }

  .slider::before {
    width: 20px;
    height: 20px;
  }

  .switch input:checked + .slider::before {
    transform: translateX(20px);
  }

  #main-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    background: rgba(17, 15, 13, 0.97);
  }

  #main-menu.shwx {
    display: block;
  }

  #main-menu ul,
  #main-menu li,
  .surprise {
    float: none;
  }

  #main-menu li {
    margin: 0;
  }

  #main-menu li a {
    height: 38px;
    line-height: 38px;
    text-align: left;
  }

  .surprise {
    display: flex;
    justify-content: center;
    margin: 0;
    border-radius: 0;
    background: var(--brand);
  }

  .wrapper {
    margin: 0;
  }

  .bixbox,
  #sidebar .section,
  .animefull {
    border-radius: 0;
  }

  .footer-az {
    display: none;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
  }

  .footermenu {
    justify-content: center;
  }
}

@media only screen and (max-width: 650px) {
  .bs {
    width: 33.333333%;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bigcontent {
    display: block;
    margin-top: -90px;
    padding: 0 14px 16px;
  }

  .thumbook {
    width: 135px;
    margin: 0 auto 10px;
  }

  .thumbook img {
    width: 135px;
  }

  .infox {
    padding-top: 0;
    text-align: center;
  }

  .infox h1 {
    font-size: 24px;
  }

  .spe {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .action-row {
    justify-content: center;
  }

  .player-placeholder {
    min-height: 280px;
  }

  .schedule-row {
    grid-template-columns: 65px 1fr;
  }

  .schedule-row .episode {
    grid-column: 2;
  }
}

@media only screen and (max-width: 450px) {
  .bs {
    width: 50%;
  }

  .popconslide .bs {
    flex-basis: 145px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .eplister li a {
    grid-template-columns: 1fr auto;
  }

  .epl-title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .naveps {
    grid-template-columns: 1fr;
  }
}
