img {
  max-width: 100%;
}

body.darkmode {
  background:
    radial-gradient(circle at 18% 0%, rgba(129, 215, 66, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(255, 166, 0, 0.09), transparent 22rem),
    #0d0d10;
}

.mngentwo {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .34);
}

.searchx #form #s {
  border-radius: 6px 0 0 6px;
  background: #181a1f;
}

.searchx #form #submitsearch {
  border-radius: 0 6px 6px 0;
}

.surprise {
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(129, 215, 66, .18);
}

.local-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .85fr);
  gap: 18px;
  overflow: hidden;
  margin: 0 0 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(28, 31, 36, .94), rgba(16, 17, 20, .96)),
    url("../../themes/animestream/assets/images/pattern.png");
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

.local-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 48%, transparent 56%);
  transform: translateX(-120%);
  animation: local-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.local-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  background: #81d742;
  color: #101010;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.local-showcase h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.local-showcase p {
  max-width: 660px;
  margin: 12px 0 0;
  color: #cfd3d6;
  font-size: 16px;
  line-height: 1.6;
}

.local-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.local-showcase-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 5px;
  background: #81d742;
  color: #111;
  font-weight: 800;
}

.local-showcase-actions a + a {
  border: 1px solid rgba(255, 255, 255, .14);
  background: #22252b;
  color: #fff;
}

.local-showcase-panel {
  display: grid;
  gap: 10px;
}

.local-stat {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

.local-stat strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.local-stat span {
  display: block;
  margin-top: 7px;
  color: #b9bec4;
}

.local-quickbar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 24px;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.local-quickbar a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #2f3339;
  border-radius: 999px;
  background: #181b20;
  color: #fff;
  font-weight: 700;
}

.local-quickbar a:hover {
  border-color: #81d742;
  background: #22282a;
  color: #81d742;
}

.local-update-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: #15181d;
}

.local-update-strip strong {
  padding: 5px 9px;
  border-radius: 4px;
  background: #ffb22c;
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
}

.local-update-track {
  display: flex;
  gap: 24px;
  min-width: 0;
  white-space: nowrap;
  animation: local-marquee 24s linear infinite;
}

.local-update-track span {
  color: #d9dde1;
}

.local-update-track span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #81d742;
  vertical-align: middle;
}

.local-spotlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.local-spotlights a {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(129, 215, 66, .12), rgba(255, 178, 44, .08)),
    #181b20;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
}

.local-spotlights span,
.local-spotlights em {
  display: block;
  color: #aeb5bc;
  font-style: normal;
}

.local-spotlights span {
  color: #81d742;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.local-spotlights strong {
  display: block;
  margin: 10px 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.local-spotlights a:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 215, 66, .5);
}

.releases h2,
.releases h3 {
  letter-spacing: 0;
}

.releases.hothome h2::after,
.releases.latesthome h3::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #ffad21;
  box-shadow: 0 0 14px rgba(255, 173, 33, .8);
}

.bs .bsx .limit {
  background: #252525;
}

.bs .bsx {
  transition: transform .18s ease, filter .18s ease;
}

.bs .bsx:hover {
  transform: translateY(-5px);
  filter: saturate(1.08);
}

.bs .bsx .limit {
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, .28);
}

.bs .bsx .limit img,
.local-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs .bsx .limit .ply {
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .18s ease;
}

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

.bs .bsx .limit .bt .epx,
.bs .bsx .limit .bt .sb {
  font-weight: 800;
}

.bs .bsx .tt {
  line-height: 1.25;
}

.bs .bsx .tt h2 {
  overflow-wrap: anywhere;
}

.listupd,
.popconslide,
.excstf {
  align-items: start;
}

.local-player iframe {
  border: 0;
}

.local-backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #81d742;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.local-backtop.is-visible {
  display: block;
}

.local-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 18px;
  margin: 28px 0;
}

.local-faq,
.local-reviews {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #15171b;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.local-extra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 18px;
  margin: 28px 0 0;
}

.local-schedule,
.local-newsletter {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #15171b;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.local-schedule ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-schedule li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #2e3339;
  border-radius: 6px;
  background: #1b1e24;
}

.local-schedule li strong {
  color: #81d742;
}

.local-schedule li span {
  color: #d2d6dc;
}

.local-newsletter h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.local-newsletter p {
  margin: 0 0 16px;
  color: #c7ccd2;
  line-height: 1.55;
}

.local-newsletter form {
  display: flex;
  gap: 8px;
}

.local-newsletter input {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #343941;
  border-radius: 5px;
  background: #101216;
  color: #fff;
}

.local-newsletter button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: #81d742;
  color: #111;
  font-weight: 800;
}

.local-section-title {
  margin-bottom: 14px;
}

.local-section-title span {
  display: inline-block;
  margin-bottom: 5px;
  color: #81d742;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.local-section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.local-faq details {
  border: 1px solid #2e3339;
  border-radius: 6px;
  background: #1b1e24;
}

.local-faq details + details {
  margin-top: 10px;
}

.local-faq summary {
  cursor: pointer;
  padding: 13px 14px;
  color: #fff;
  font-weight: 800;
  list-style: none;
}

.local-faq summary::-webkit-details-marker {
  display: none;
}

.local-faq summary::after {
  content: "+";
  float: right;
  color: #81d742;
  font-size: 18px;
  line-height: 1;
}

.local-faq details[open] summary::after {
  content: "-";
}

.local-faq p {
  margin: 0;
  padding: 0 14px 14px;
  color: #c7ccd2;
  line-height: 1.55;
}

.local-reviews {
  display: grid;
  gap: 10px;
}

.local-reviews .local-section-title {
  margin-bottom: 4px;
}

.local-reviews article {
  padding: 13px;
  border: 1px solid #2e3339;
  border-radius: 6px;
  background: #1b1e24;
}

.local-stars {
  margin-bottom: 7px;
  color: #ffb22c;
  font-size: 14px;
  letter-spacing: 1px;
}

.local-reviews p {
  margin: 0 0 10px;
  color: #d7dbe0;
  line-height: 1.5;
}

.local-reviews strong {
  color: #fff;
}

@keyframes local-sheen {
  0%, 58% {
    transform: translateX(-120%);
  }
  76%, 100% {
    transform: translateX(120%);
  }
}

@keyframes local-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .local-showcase {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .local-showcase-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .local-stat {
    padding: 12px;
  }

  .local-stat strong {
    font-size: 24px;
  }

  .local-info-grid {
    grid-template-columns: 1fr;
  }

  .local-extra-grid,
  .local-spotlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .local-showcase-panel {
    grid-template-columns: 1fr;
  }
}
