/* Screen reader accessible text utility */
.screen-reader-text,
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
}
/* Anikage presentation layer. Keep player, account and importer contracts intact. */
body.anikage {
  --ak-bg: #0a0a0a;
  --ak-bg-2: #141414;
  --ak-accent: #bd85df;
  --accent-color: #bd85df;
  --background-color: #0a0a0a;
  --background-color-2: #141414;
  background: #0a0a0a;
  color: #a1a1aa;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: clip;
}
.anikage *,
.anikage *:before,
.anikage *:after {
  box-sizing: border-box;
}
.anikage [hidden] {
  display: none !important;
}
.anikage a {
  color: inherit;
}
.anikage a:hover {
  color: #fff;
}
.anikage button {
  font: inherit;
  cursor: pointer;
}
.anikage img {
  max-width: 100%;
}
.anikage :focus-visible {
  outline: 2px solid #c397e4;
  outline-offset: 4px;
}
.anikage h1,
.anikage h2,
.anikage h3 {
  font-family: inherit;
  color: #ffffff;
  letter-spacing: -0.015em;
}
.anikage section[id],
.anikage div[id^="ak-"] {
  scroll-margin-top: 110px;
}
.ak-container,
.anikage .container {
  width: 96%;
  max-width: 1756px;
  margin-inline: auto;
  padding: 0;
}
.anikage #body {
  padding-top: 112px;
  min-height: 65vh;
}
.anikage.ak-home:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
.anikage.single-anime #body {
  padding-top: 0;
}
.anikage #wrapper {
  overflow: clip;
}
.ak-skip {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 10000;
  background: white;
  color: black !important;
  padding: 12px 20px;
  border-radius: 30px;
}
.ak-skip:focus {
  top: 12px;
}
.anikage header.ak-header {
  position: fixed !important;
  top: 16px;
  left: 0;
  right: 0;
  height: auto;
  z-index: 80;
  background: none !important;
  box-shadow: none;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.ak-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ak-header-inner > * {
  pointer-events: auto;
}
.ak-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px 6px 4px 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  height: 48px;
}
.ak-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  margin: 0 14px 0 0;
}
.ak-wordmark {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}
.ak-wordmark > span {
  color: #bd85df;
}
.ak-logo-image {
  height: 20px !important;
  max-height: 20px !important;
  width: auto;
  min-width: 60px;
  max-width: 120px;
  object-fit: contain;
}
.ak-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ak-nav-links > a {
  padding: 7px 16px;
  border-radius: 9999px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 14px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  color: #d1d5db;
  transition: all 0.15s ease;
  line-height: 1.2;
}
.ak-nav-links > a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.ak-nav-links > a[aria-current="page"],
.ak-nav-links > a.active {
  background: #2b2d35 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 7px 18px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.ak-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ak-icon-button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 18px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.ak-icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.ak-icon-button svg {
  width: 20px;
  height: 20px;
}
.ak-utilities #user {
  margin: 0;
}
.ak-utilities .sign-in {
  display: none;
}
.ak-utilities .top-profile {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ak-utilities .avatar img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.ak-utilities .avatar:hover img {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.notify.dropdown.hr-notifications .toggler {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.notify.dropdown.hr-notifications .toggler:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.ak-mobile-nav {
  display: none;
}
.ak-utilities .dropdown-menu {
  border-radius: 16px;
  background: #191919;
  border: 1px solid #ffffff18;
  box-shadow: 0 15px 45px #0009;
}
.anikage .dropdown-item {
  color: #c7c7ce;
}
.anikage .dropdown-item:hover {
  background: #ffffff10;
  color: white;
}
.ak-search-dialog {
  width: min(600px, calc(100vw - 32px)) !important;
  max-width: 600px !important;
  max-height: 85dvh;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  margin: 12vh auto auto;
}
.ak-search-dialog:not([open]) {
  display: none;
}
.ak-search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ak-search-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.ak-search-hint {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.ak-kbd {
  display: inline-block;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin: 0 2px;
}
.ak-search-close-btn {
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ak-search-close-btn:hover {
  background: #2b2b34;
  border-color: rgba(255, 255, 255, 0.3);
}
.ak-search-dialog #search {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}
.ak-search-dialog #search form,
.ak-search-dialog #search .ak-search-form {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  background: #18181c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  transition: border-color 0.18s ease;
}
.ak-search-dialog #search form:focus-within,
.ak-search-dialog #search .ak-search-form:focus-within {
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75) !important;
}
.ak-search-dialog #search input,
.ak-search-dialog #search input.search-input {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 0 !important;
  padding: 14px 20px !important;
  background: transparent !important;
  color: #ffffff !important;
  min-height: 52px !important;
  outline: 0 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}
.ak-search-dialog #search form > button {
  display: none !important;
}
.ak-search-dialog #search .tip {
  display: none !important;
}
.ak-search-dialog .search-popup {
  width: 100% !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin-top: 10px !important;
  max-height: 480px !important;
  overflow-y: auto !important;
  background: #18181c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85) !important;
  scrollbar-width: thin !important;
  scrollbar-color: #4a4a54 #18181c !important;
}
.ak-search-dialog .search-popup::-webkit-scrollbar {
  width: 6px;
}
.ak-search-dialog .search-popup::-webkit-scrollbar-track {
  background: #18181b;
  border-radius: 12px;
}
.ak-search-dialog .search-popup::-webkit-scrollbar-thumb {
  background: #4a4a54;
  border-radius: 4px;
}
.ak-search-dialog .search-popup::-webkit-scrollbar-thumb:hover {
  background: #60606c;
}
.ak-search-dialog .search-popup .inner {
  padding: 6px 0;
}
.ak-search-dialog .search-popup .head-box,
.ak-search-dialog .search-popup .s-close,
.ak-search-dialog .search-popup .nav-tip {
  display: none !important;
}
.ak-search-results {
  display: flex;
  flex-direction: column;
}
.ak-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.ak-search-row:last-child {
  border-bottom: 0;
}
.ak-search-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.ak-search-thumb {
  width: 54px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #121215;
}
.ak-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ak-search-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ak-search-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.3;
}
.ak-search-row:hover .ak-search-title {
  color: #ffffff;
}
.ak-search-episodes {
  font-size: 13px;
  color: #ababb6;
  font-weight: 500;
}
.ak-search-meta {
  font-size: 12px;
  color: #a1a1aa;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ak-sm-score,
.ak-sm-status,
.ak-sm-type,
.ak-sm-year,
.ak-sm-bullet {
  color: #a1a1aa;
  font-weight: 600;
}
.ak-sm-status {
  letter-spacing: 0.02em;
}
.ak-search-empty {
  padding: 30px 20px;
  text-align: center;
  color: #a8a8b4;
  font-size: 14px;
}

/* Full-Width Hero Slider (Matches anikage.cc) */
.ak-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 100vh;
  min-height: 100dvh;
  max-height: none;
  background: #0a0a0a;
  overflow: hidden;
  contain: paint layout;
  margin-top: 0;
}
.ak-slide {
  position: absolute;
  inset: 0;
}
.ak-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.ak-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, transparent 25%),
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.5) 45%,
      transparent 100%
    ),
    linear-gradient(
      0deg,
      #0a0a0a 0%,
      rgba(10, 10, 10, 0.8) 15%,
      transparent 45%
    );
  pointer-events: none;
  z-index: 1;
}
.ak-hero-content {
  position: relative;
  contain: layout;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 100px;
  padding-bottom: clamp(64px, 12vh, 128px);
  z-index: 2;
}
.ak-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
  color: #a1a1aa;
  margin: 0 0 10px;
}
.ak-hero-title {
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 680px;
  margin: 0 0 14px;
  color: #ffffff;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hero-title--logo {
  max-width: clamp(260px, 42vw, 520px) !important;
  min-height: clamp(80px, 16vh, 160px) !important;
  display: flex !important;
  align-items: flex-end !important;
  margin: 0 0 16px !important;
  line-height: 1 !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}
.ak-hero-logo-img {
  max-width: 100% !important;
  max-height: clamp(80px, 16vh, 160px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85)) !important;
  display: block !important;
}

.ak-hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ak-hero-badges .ak-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: rgba(18, 18, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.ak-hero-badges .ak-badge i {
  color: #bd85df;
  font-size: 11px;
}
.ak-hero-badges .ak-badge.ak-badge-score {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
  color: #eab308;
  font-weight: 600;
}
.ak-metadata {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
}
.ak-metadata > span {
  padding: 4px 10px;
  border: 1px solid #ffffff16;
  border-radius: 50px;
  background: #171717a0;
  line-height: 1.4;
}
.ak-metadata > span.ak-score {
  color: #ffd238;
  background: #ad790022;
  border-color: #e7b20c50;
}
.ak-metadata > span.ak-status {
  color: #56dbac;
  background: #05aa6920;
  border-color: transparent;
}
.ak-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.ak-genres > a {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  transition: all 0.15s ease;
}
.ak-genres > a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.ak-hero-synopsis {
  color: #a1a1aa;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ak-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ak-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.4;
  transition:
    background 0.18s,
    transform 0.18s;
}
.ak-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.ak-btn-play-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  margin-right: 3px;
}
.ak-btn-play-icon i {
  margin-left: 2px;
}
.ak-primary {
  background: #ffffff;
  color: #000000 !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.18);
}
.ak-primary:hover {
  background: #f0f0f0;
  color: #000000 !important;
}
.ak-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
}
.ak-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}
.ak-btn-sound {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.18s ease;
}
.ak-btn-sound:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.ak-hero-controls {
  position: absolute;
  bottom: clamp(16px, 3.5vh, 28px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  width: 96%;
  max-width: 1756px;
  pointer-events: none;
}
.ak-dots,
.ak-hero-arrows {
  pointer-events: auto;
}
.ak-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ak-dots button {
  border: 0 !important;
  background: transparent !important;
  padding: 22px 6px !important;
  margin: 0 !important;
  min-width: 32px !important;
  min-height: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  box-shadow: none !important;
  outline: none !important;
}
.ak-dots button::before {
  content: "";
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}
.ak-dots button:hover::before {
  background: rgba(255, 255, 255, 0.5);
}
.ak-dots button[aria-pressed="true"]::before {
  width: 32px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.ak-hero-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ak-hero-arrows button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ak-hero-arrows button:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}
.ak-hero-arrows [data-hero-pause] {
  font-size: 11px;
}
.ak-slide-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 6px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* Featured Anime Section (7 columns per row on desktop matching Popular & Airing) */
.ak-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 20px 10px !important;
  overflow: visible !important;
}
.ak-featured-grid .ak-card {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}
.ak-featured-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
@media (max-width: 1024px) {
  .ak-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
  }
}
@media (max-width: 768px) {
  .ak-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
  }
}
@media (max-width: 640px) {
  .ak-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 6px !important;
  }
}
@media (max-width: 480px) {
  .ak-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 6px;
  }
}

/* Rail Cards & Continue Watching */
.ak-rail .ak-cw-card {
  flex: 0 0 calc((100% - 49.6px) / 7.2);
  max-width: calc((100% - 49.6px) / 7.2);
  min-width: 0;
  scroll-snap-align: start;
  text-align: center;
}
.ak-cw-card .ak-card-cover {
  position: relative;
}
.ak-cw-card .cw-remove {
  position: absolute;
  top: 7px;
  left: 7px;
  right: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: all 0.15s ease;
}
.ak-cw-card:hover .cw-remove {
  opacity: 1;
}
.ak-cw-card .cw-remove:hover {
  background: #e53e3e;
  border-color: #e53e3e;
  transform: scale(1.1);
}

/* Compact Featured Anime Section */
.ak-home-sections {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 25px 0 0;
}
.ak-section {
  min-width: 0;
  margin-bottom: 0;
}
.ak-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ak-section-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ak-section-head h2 {
  font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.25rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}
.ak-section-head h2:before {
  content: "";
  height: 18px;
  width: 3.5px;
  border-radius: 2px;
  background: #ffffff;
  flex-shrink: 0;
}
.ak-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 9999px;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.ak-label-recent {
  color: #abb3bf;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.ak-label-trending {
  color: #ff9a2c;
  border-color: #d076172f;
  background: #9d470d12;
}
.ak-label-airing {
  color: #03d5a0;
  border-color: #02c38b35;
  background: #009c7610;
}
.ak-label-favorites {
  color: #ffd238;
  border-color: #d3a90035;
  background: #a17b0010;
}
.ak-label-upcoming {
  color: #bd9afe;
  border-color: #b28aef30;
  background: #b28aef10;
}
.ak-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: #a1a1aa;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.ak-view-all:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.ak-featured {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  min-height: 250px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 34px;
  background: #111114;
}
.ak-featured-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  filter: brightness(0.65);
}
.ak-featured-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #111114 0%,
      rgba(17, 17, 20, 0.96) 38%,
      rgba(17, 17, 20, 0.72) 62%,
      rgba(17, 17, 20, 0.2) 85%,
      rgba(17, 17, 20, 0.4) 100%
    ),
    linear-gradient(0deg, rgba(17, 17, 20, 0.6) 0%, transparent 45%);
}
.ak-featured-poster {
  position: relative;
  z-index: 2;
  flex: 0 0 145px;
  width: 145px;
}
.ak-featured-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ak-featured-info {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.ak-featured-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ak-featured-score {
  background: rgba(252, 185, 0, 0.16);
  color: #ffb800;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ak-featured-genre {
  background: rgba(255, 255, 255, 0.08);
  color: #cfcfd8;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ak-featured-genre:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Featured Slider (Spotlight) Logo */
.ak-featured-title--logo {
  max-width: clamp(200px, 35vw, 360px) !important;
  min-height: clamp(60px, 12vh, 110px) !important;
  display: flex !important;
  align-items: flex-end !important;
  margin: 0 0 14px !important;
  line-height: 1 !important;
  overflow: visible !important;
}
.ak-featured-logo-img {
  max-width: 100% !important;
  max-height: clamp(60px, 12vh, 110px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85)) !important;
  display: block !important;
}
@media (max-width: 768px) {
  .ak-featured-title--logo {
    max-width: clamp(160px, 50vw, 240px) !important;
    min-height: clamp(45px, 10vh, 75px) !important;
    display: flex !important;
    align-items: flex-end !important;
    margin-bottom: 10px !important;
  }
  .ak-featured-logo-img {
    max-height: clamp(45px, 10vh, 75px) !important;
  }
}

.ak-featured h2 {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.ak-featured p {
  font-size: 13.5px;
  max-width: 540px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
  color: #a4a4af;
}
.ak-featured .ak-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.ak-featured .ak-btn-watch {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.ak-featured .ak-btn-watch:hover,
.ak-featured .ak-btn-watch:focus,
.ak-featured .ak-btn-watch:active {
  background: #ffffff !important;
  color: #000000 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}
.ak-featured .ak-btn-watch:hover span:not(.ak-btn-play-icon),
.ak-featured .ak-btn-watch:focus span:not(.ak-btn-play-icon) {
  color: #000000 !important;
}
.ak-featured .ak-btn-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  font-size: 8px;
}
.ak-featured .ak-btn-details {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ak-featured .ak-btn-details:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Rails and Cards */
.ak-rail-wrap {
  position: relative;
}
.ak-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 8px;
}
.ak-rail::-webkit-scrollbar {
  display: none;
}
.ak-rail .ak-card,
.ak-card {
  display: block;
  flex: 0 0 calc((100% - 49.6px) / 7.2);
  max-width: calc((100% - 49.6px) / 7.2);
  min-width: 0;
  scroll-snap-align: start;
  text-align: center;
}
.ak-card-cover {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #18181b;
}
.ak-card-cover > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.ak-card:hover .ak-card-cover > img {
  transform: scale(1.045);
}
.ak-card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 8px;
  padding: 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
  color: #ffffff;
  text-align: center;
  transition: color 0.2s ease;
}
.ak-card:hover .ak-card-title {
  color: #bd85df;
}
.ak-episode {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 3px 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}
.ak-ep-bulb {
  color: #00e676 !important;
  font-size: 11px !important;
  filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.85));
  line-height: 1 !important;
  margin-right: 2px !important;
}
.ak-episode .ak-ep-dot {
  color: #00dc82 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin-right: 2px !important;
  text-shadow: 0 0 6px rgba(0, 220, 130, 0.7);
}
.ak-episode b {
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  margin-right: 1px;
}
.ak-soon {
  color: #ff9292;
  border-color: rgba(255, 98, 98, 0.3);
}
.ak-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0006;
  opacity: 0;
  transition: opacity 0.2s;
}
.ak-card-overlay small {
  position: absolute;
  bottom: 12px;
  left: 8px;
  right: 8px;
  color: #fff;
  font-size: 10px;
}
.ak-card:hover .ak-card-overlay,
.ak-card:focus-visible .ak-card-overlay {
  opacity: 1;
}
.ak-play-circle {
  background: #ffffff;
  color: #111111;
  border-radius: 50%;
  height: 46px;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.ak-card:hover .ak-play-circle {
  transform: scale(1.1);
}
.ak-rail-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 34px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  padding: 0;
}
.ak-rail-arrow svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.ak-rail-arrow:hover {
  background: rgba(30, 30, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}
.ak-prev {
  left: 0;
}
.ak-next {
  right: 0;
}
.ak-rail-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Rankings: Top 10 Anime & Popular Movies (compact, matching anikage.cc) */
.ak-rankings-section {
  margin: 28px 0 16px;
}
.ak-rankings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
}
.ak-ranking-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ak-ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ak-ranking-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ak-heading-bar {
  width: 4px;
  height: 20px;
  background: #ffffff;
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}
.ak-ranking-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.ak-rank-switch-btn {
  display: none;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #d4d4d8;
  outline: none;
  transition: background 0.2s ease, transform 0.1s ease;
}
.ak-rank-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.ak-rank-switch-btn:active {
  transform: scale(0.96);
}
.ak-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ak-rank-row {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
/* Desktop rank number: OUTSIDE the card */
.ak-rank-num {
  width: 36px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-right: 4px;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
/* Card: compact, subtle translucent glass */
.ak-rank-card {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 14px 7px 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  position: relative;
}
.ak-rank-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}
.ak-rank-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
/* Poster: exact dimensions from anikage.cc */
.ak-rank-poster {
  width: 58px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
}
.ak-rank-poster img,
.ak-rank-poster .ak-poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
/* Mobile rank badge overlay on poster */
.ak-rank-badge {
  display: none;
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 5;
  border-radius: 9999px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
}
/* Info */
.ak-rank-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ak-rank-title {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.ak-rank-card:hover .ak-rank-title {
  color: var(--hover-color, #38bdf8);
}
.ak-rank-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #a0a0a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ak-rank-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a0a0a8;
}
.ak-rank-score svg {
  width: 12px;
  height: 12px;
  stroke: #a0a0a8;
  fill: none;
  flex-shrink: 0;
}
.ak-rank-sep {
  color: #9696a4;
  font-size: 9px;
  line-height: 1;
}
.ak-rank-season {
  color: #a0a0a8;
  text-transform: uppercase;
}
.ak-rank-status {
  text-transform: uppercase;
  color: #a0a0a8;
}
.ak-rank-status.ak-status--releasing {
  color: #10b981;
  font-weight: 600;
}
.ak-rank-status.ak-status--upcoming {
  color: #f59e0b;
}
.ak-rank-status.ak-status--finished {
  color: #a0a0a8;
}
/* Right-side details */
.ak-rank-side {
  flex-shrink: 0;
  min-width: 80px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.ak-rank-type {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.ak-rank-extra {
  font-size: 12px;
  color: #a0a0a8;
  white-space: nowrap;
}
.ak-rank-empty {
  padding: 20px;
  text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 1023px) {
  .ak-rankings {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ak-ranking-col.is-hidden-mobile {
    display: none;
  }
  .ak-rank-switch-btn {
    display: inline-flex;
  }
  .ak-rank-num {
    display: none;
  }
  .ak-rank-badge {
    display: block;
  }
}
@media (max-width: 540px) {
  .ak-rank-card {
    padding: 6px 10px 6px 6px;
  }
  .ak-rank-poster {
    width: 52px;
    height: 74px;
  }
  .ak-rank-title {
    font-size: 14px;
  }
  .ak-rank-side {
    min-width: 65px;
    padding-left: 6px;
  }
  .ak-rank-type {
    font-size: 12px;
  }
  .ak-rank-extra {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .ak-rank-side {
    display: none;
  }
}

.ak-muted {
  color: #a8a8b4;
}
.ak-empty {
  padding: 180px 0 80px;
}
.ak-notice {
  border: 1px solid #ffffff15;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0;
  background: #141414;
}
.anikage footer.ak-footer {
  background: #111;
  border-top: 1px solid #ffffff0a;
  margin-top: 85px;
  padding: 0;
  color: #b0b0bc;
}
.ak-footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 65px;
  padding: 55px 0;
}
.ak-footer-main .ak-wordmark {
  font-size: 40px;
}
.ak-footer-main p {
  max-width: 560px;
  margin: 25px 0 0;
  line-height: 1.8;
}
.ak-footer-navs {
  display: flex;
  gap: 65px;
}
.ak-footer-navs nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 500;
  min-width: 140px;
}
.ak-footer-bottom {
  border-top: 1px solid #ffffff0a;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.ak-footer-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ak-discord-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a0a0ab;
  font-size: 18px;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.ak-discord-footer:hover {
  background: #5865f2;
  color: #fff !important;
  border-color: #5865f2;
  transform: translateY(-2px);
}
.ak-lang-toggle {
  display: inline-flex;
  align-items: center;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  user-select: none;
}
.ak-lang-toggle span {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ak-lang-toggle span.active {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.anikage #totop {
  padding: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 80;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.anikage #totop.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.anikage #totop:hover {
  background: #25252c;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Single Watch Layout & Player (Skin Removed) */
.anikage #watch-main {
  padding: 0;
  background: none;
}
.anikage #watch-main:before {
  display: none;
}
.anikage #watch-main .aside-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr);
  align-items: start;
  gap: 24px;
}
.anikage #watch-main aside.main,
.anikage #watch-main aside.sidebar {
  width: auto !important;
  max-width: none;
  padding: 0;
  margin: 0;
}
.anikage #w-media {
  display: block;
  margin: 0;
  background: none;
}
.anikage #w-player {
  width: 100%;
  margin: 0;
  padding: 0;
}
.anikage #player-wrapper {
  border: 1px solid #ffffff15;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  height: auto;
  padding: 0;
  position: relative;
}
.anikage #player {
  height: 100%;
  width: 100%;
  position: relative;
  background: #000 !important;
  background-image: none !important;
}
.anikage #player > iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: #000 !important;
}
.anikage #player-wrapper #player .play,
.anikage #player-wrapper:before,
.anikage #player-wrapper:after,
.anikage #player:before,
.anikage #player:after {
  display: none !important;
  content: none !important;
}

/* Under Player Controls (2 Rows Mobile Friendly) */
.anikage #controls {
  background: transparent;
  padding: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}
.anikage #controls .controls-row-1,
.anikage #controls .controls-row-2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.anikage #controls .controls-row-1 {
  justify-content: flex-start;
}
.anikage #controls .controls-row-2 {
  justify-content: flex-end;
}
.anikage #controls .ctrl {
  margin: 0;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 50px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b8;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.anikage #controls .ctrl:hover {
  background: #22222a;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.ak-ctrl-svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -1px;
}
.anikage #controls .ctrl.auto-skip,
.anikage #controls .ctrl.check:not(.off),
.anikage #controls .ctrl.check.is-on {
  color: #bd85df !important;
  border-color: rgba(189, 133, 223, 0.35) !important;
  background: rgba(189, 133, 223, 0.08) !important;
}
.anikage #controls .ctrl.expand i,
.anikage #controls .ctrl.forward i {
  font-size: 12px;
}
.anikage #controls .dropdown-menu {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  padding: 10px;
  color: #ddd;
}
.anikage #controls .dropdown-menu .dropdown-item {
  color: #ccc;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
}
.anikage #controls .dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* SUB / DUB Server Placement */
.ak-server-notice {
  background: #691d2580;
  border: 1px solid #b4474b20;
  border-radius: 13px;
  padding: 12px 16px;
  font-size: 13px;
  color: #e7c6c8;
  margin: 15px 0;
}
body.anikage #w-servers {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box;
  background: #121214 !important;
  border: 1px solid #ffffff12 !important;
  border-radius: 18px !important;
  padding: 18px 24px !important;
  margin: 16px 0 24px !important;
}
body.anikage #w-servers .tip {
  flex: 0 0 280px !important;
  max-width: 280px !important;
  border-right: 1px solid #ffffff14 !important;
  padding-right: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 !important;
}
body.anikage #w-servers .tip div:first-child {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
body.anikage #w-servers .tip div:last-child {
  font-size: 11px;
  color: #a0a0a0;
  line-height: 1.4;
}
body.anikage #w-servers .servers {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.anikage #w-servers .servers .type {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
}
body.anikage #w-servers .servers .type label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #abadb7 !important;
  min-width: 55px !important;
  margin: 0 !important;
  cursor: default !important;
  flex-shrink: 0 !important;
}
body.anikage #w-servers .servers .type label i {
  font-size: 13px !important;
}
#w-player #w-servers .servers .type ul li:before,
body.anikage #w-servers .servers .type ul li:before,
body.anikage #w-servers .servers .type ul li::before {
  content: none !important;
  display: none !important;
}
body.anikage #w-servers .servers ul {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.anikage #w-servers .servers ul li {
  margin: 0 !important;
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  background: #19191d !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #b0b0b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
body.anikage #w-servers .servers ul li:hover {
  background: #24242c !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}
body.anikage #w-servers .servers ul li.active {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25) !important;
}
body.anikage #w-servers .servers ul li.active i {
  color: #000000 !important;
}
body.anikage #w-servers .servers ul li i {
  font-size: 13px !important;
}

/* Episode Sidebar Listing (Dual Grid / List View matching anikage.cc) */
.ak-ep-card {
  background: #111113;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
}
.ak-ep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.ak-ep-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ak-ep-title-bar {
  color: #bd85df;
  font-weight: 900;
  font-size: 18px;
}
.ak-ep-heading {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.ak-ep-head-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ak-ep-btn {
  background: #1c1c20;
  border: 1px solid #ffffff12;
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s;
  cursor: pointer;
}
.ak-ep-btn:hover {
  background: #25252b;
  color: #fff;
  border-color: #ffffff25;
}
.ak-ep-search-box {
  position: relative;
  margin-bottom: 0;
  width: 140px;
}
.ak-ep-search-input {
  width: 100%;
  height: 32px;
  background: #18181c;
  border: 1px solid #ffffff12;
  border-radius: 8px;
  color: #eee;
  padding: 0 28px 0 10px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.15s;
}
.ak-ep-search-input:focus {
  border-color: #bd85df;
}
.ak-ep-search-box i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #a1a1aa;
  font-size: 11px;
  pointer-events: none;
}
@media (max-width: 640px) {
  .ak-ep-card {
    padding: 14px 12px;
  }
  .ak-ep-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .ak-ep-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }
  .ak-ep-head-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 0 100%;
    width: 100%;
    margin-top: 2px;
  }
  .ak-ep-search-box {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .ak-ep-search-input {
    width: 100%;
    height: 36px;
  }
  .ak-ep-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    flex-shrink: 0;
  }
}
@media (min-width: 641px) and (max-width: 800px) {
  .ak-ep-search-box {
    width: 110px;
  }
}
.ak-ep-ranges-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.ak-ep-range-pill {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  background: #18181c;
  border: 1px solid #ffffff10;
  color: #a0a0a0;
  cursor: pointer;
}
.ak-ep-range-pill.active {
  background: #bd85df;
  color: #111;
  font-weight: 700;
  border-color: #bd85df;
}
#w-episodes {
  display: block !important;
}
#w-episodes .body,
#w-episodes .ak-ep-body {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  flex-grow: unset !important;
}
#w-episodes .body .episodes,
#w-episodes .ak-ep-body .ak-episodes-wrap,
.ak-episodes-wrap {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: 440px !important;
  overflow-y: auto !important;
  display: block !important;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

/* Grid View (Compact numbered pill buttons matching anikage.cc) */
.ak-episodes-wrap.view-grid ul.ak-ep-list {
  display: none;
}
.ak-episodes-wrap.view-grid ul.ak-ep-list.active,
.ak-episodes-wrap.view-grid ul.ak-ep-list:only-of-type {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ak-episodes-wrap.view-grid li.ak-ep-li {
  margin: 0 !important;
  list-style: none !important;
  flex: 0 0 auto !important;
  min-width: 0;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 30px !important;
  padding: 0 10px !important;
  background: #151518 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 7px !important;
  color: #ddd !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  aspect-ratio: unset !important;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item:hover {
  background: #25252c !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-1px);
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item.active,
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item.ak-ep-active {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 12.5px !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.22) !important;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item.active b,
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item.ak-ep-active b {
  font-weight: 900 !important;
  color: #000000 !important;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item.filler {
  border-color: #ff980055 !important;
  color: #ffb74d !important;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item .ak-ep-grid-num {
  display: block !important;
  font-variant-numeric: tabular-nums;
}
.ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item .ak-ep-list-content {
  display: none !important;
}

/* List View (Horizontal cards with 16:9 thumbnail and title) */
.ak-episodes-wrap.view-list ul.ak-ep-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li {
  width: 100% !important;
  list-style: none !important;
  margin: 0 !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 10px !important;
  background: #161619 !important;
  border: 1px solid #ffffff10 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  width: 100% !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item:hover {
  background: #202026 !important;
  border-color: #ffffff20 !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item.active {
  background: #282330 !important;
  border-color: #bd85df60 !important;
  box-shadow: 0 2px 10px #bd85df18 !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item.active .ak-ep-name {
  color: #bd85df !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item .ak-ep-grid-num {
  display: none !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item .ak-ep-list-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-thumb-wrap {
  position: relative;
  width: 110px;
  flex: 0 0 110px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 14px;
  color: #fff;
}
.ak-episodes-wrap.view-list li.ak-ep-li a.ep-item:hover .ak-ep-play-btn {
  opacity: 1;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-info {
  flex: 1;
  min-width: 0;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-name {
  font-size: 13px;
  font-weight: 600;
  color: #eee;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-synopsis {
  font-size: 11px;
  color: #a0a0a0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

/* Series Info & Seasons */
.anikage #w-info {
  background: #121214;
  border: 1px solid #ffffff12;
  border-radius: 20px;
  padding: 22px;
  margin: 0 0 25px;
}
.anikage #w-info .binfo {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.anikage #w-info .poster {
  width: 150px;
  flex: 0 0 150px;
  padding: 0;
}
.anikage #w-info .poster img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.anikage #w-info .info {
  padding: 0;
  min-width: 0;
}
.anikage #w-info h1 {
  font-size: 26px;
  font-weight: 700;
}
.anikage #w-info .bmeta {
  font-size: 13px;
  line-height: 1.8;
}
.ak-series-link {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #b795d2 !important;
  margin-bottom: 8px;
}
.anikage #w-seasons {
  margin-bottom: 20px !important;
  background: #111113;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  padding: 18px;
}
.anikage #w-seasons .season a {
  border-radius: 12px;
  overflow: hidden;
}

/* Dedicated Schedule Page (/schedule) */
.ak-schedule-page {
  padding: 12px 0 60px;
}
.ak-schedule-header {
  margin-bottom: 24px;
}
.ak-schedule-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bd85df;
  background: rgba(189, 133, 223, 0.12);
  border: 1px solid rgba(189, 133, 223, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.ak-schedule-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.ak-schedule-desc {
  font-size: 13px;
  color: #a0a0a0;
  margin: 0 0 20px;
}
.ak-schedule-tz {
  font-size: 12px;
  color: #a1a1aa;
}
.ak-schedule-pills,
.ak-schedule-days {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 14px;
  margin-bottom: 24px;
  scrollbar-width: none;
  border: none !important;
  background: transparent !important;
}
.ak-schedule-pills::-webkit-scrollbar,
.ak-schedule-days::-webkit-scrollbar {
  display: none;
}
.ak-sched-pill,
.ak-sched-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a0a0a0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  outline: none;
}
.ak-sched-pill:hover,
.ak-sched-day:hover {
  background: #1e1e24;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.ak-sched-pill.is-active,
.ak-sched-pill.active,
.ak-sched-day.active {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25) !important;
}
.ak-sched-pill.is-active .ak-pill-day,
.ak-sched-pill.is-active .ak-pill-num,
.ak-sched-pill.is-active .ak-pill-count {
  color: #000000 !important;
}
.ak-pill-day,
.ak-sched-day-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.ak-pill-num {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 2px 0;
}
.ak-pill-count,
.ak-sched-day-sub {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}
.ak-sched-pill.is-active .ak-pill-count {
  opacity: 0.9;
  font-weight: 600;
}
.ak-schedule-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffffff10;
}
.ak-schedule-day-heading {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ak-sched-today-dot {
  font-size: 11px;
  color: #02c38b;
  background: rgba(2, 195, 139, 0.15);
  border: 1px solid rgba(2, 195, 139, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.ak-schedule-episodes-total {
  font-size: 13px;
  color: #a0a0a0;
}
.ak-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ak-schedule-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #131316;
  border: 1px solid #ffffff10;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.18s;
}
.ak-schedule-card:hover {
  background: #1a1a20;
  border-color: #ffffff20;
  transform: translateY(-2px);
}
.ak-schedule-card-thumb,
.ak-sched-poster {
  width: 54px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}
.ak-schedule-card-thumb img,
.ak-sched-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ak-schedule-card-info,
.ak-sched-info {
  flex: 1;
  min-width: 0;
}
.ak-schedule-card-title,
.ak-sched-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 6px;
}
.ak-schedule-card:hover .ak-schedule-card-title {
  color: #bd85df;
}
.ak-schedule-card-meta,
.ak-sched-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a0a0a0;
}
.ak-sched-ep {
  font-weight: 700;
  color: #bd85df;
}
.ak-sched-dot {
  opacity: 0.4;
}
.ak-sched-time {
  padding: 4px 8px;
  border-radius: 6px;
  background: #1e1e24;
  font-size: 12px;
  font-weight: 600;
  color: #eee;
  flex-shrink: 0;
}
.ak-sched-badge {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.ak-sched-badge-ep,
.ak-sched-aired {
  background: rgba(2, 195, 139, 0.15);
  color: #02c38b;
  border: 1px solid rgba(2, 195, 139, 0.3);
}
.ak-sched-soon {
  background: rgba(255, 146, 146, 0.15);
  color: #ff9292;
  border: 1px solid rgba(255, 146, 146, 0.3);
}
.ak-sched-badge-type {
  background: #bd85df20;
  color: #bd85df;
  border: 1px solid #bd85df30;
}
.ak-schedule-empty {
  padding: 60px 0;
  text-align: center;
  color: #a1a1aa;
  font-size: 15px;
}
.ak-schedule-empty i {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.5;
  display: block;
}

/* Dedicated Browse Page (/browse matching anikage.cc) */
.ak-browse-container {
  padding-top: 16px;
  padding-bottom: 60px;
  max-width: 1800px;
}
.ak-browse-topbar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 28px;
  width: 100%;
}
.ak-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ak-filter-group label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.ak-filter-search {
  flex: 2;
  min-width: 240px;
}
.ak-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ak-search-input-wrap .ak-search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #a1a1aa;
  pointer-events: none;
}
.ak-search-input-wrap input {
  width: 100%;
  height: 46px;
  background: #131316;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  color: #fff;
  padding: 0 16px 0 42px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.ak-search-input-wrap input:focus {
  border-color: #bd85df;
}
.ak-filter-select-group {
  flex: 1;
  min-width: 140px;
}
.ak-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ak-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 46px;
  background: #131316;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  color: #fff;
  padding: 0 36px 0 16px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.ak-select-wrap select:focus {
  border-color: #bd85df;
}
.ak-select-wrap .ak-chevron {
  position: absolute;
  right: 14px;
  width: 16px;
  height: 16px;
  color: #a1a1aa;
  pointer-events: none;
}
.ak-filter-reset-wrap {
  flex: 0 0 auto;
}
.ak-filter-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #131316;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  color: #a1a1aa;
  transition: all 0.15s;
  text-decoration: none;
}
.ak-filter-reset-btn:hover {
  color: #ff5555;
  background: #221416;
  border-color: #ff555540;
}
.ak-filter-reset-btn svg {
  width: 18px;
  height: 18px;
}
.ak-browse-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.ak-browse-sidebar {
  width: 220px;
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ak-browse-accordion {
  background: #131316;
  border: 1px solid #ffffff10;
  border-radius: 16px;
  overflow: hidden;
}
.ak-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.ak-acc-icon {
  width: 16px;
  height: 16px;
  color: #a1a1aa;
  transition: transform 0.2s ease;
}
.ak-browse-accordion:not(.open) .ak-acc-icon {
  transform: rotate(180deg);
}
.ak-browse-accordion:not(.open) .ak-accordion-body {
  display: none;
}
.ak-accordion-body {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ak-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.ak-checkbox-row input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.ak-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.ak-checkbox-row input:checked + .ak-check-circle {
  border-color: #bd85df;
  background: #bd85df;
  box-shadow: 0 0 8px #bd85df80;
}
.ak-check-label {
  font-size: 13px;
  font-weight: 500;
  color: #bbb;
  transition: color 0.15s;
}
.ak-checkbox-row:hover .ak-check-label {
  color: #fff;
}
.ak-checkbox-row input:checked ~ .ak-check-label {
  color: #fff;
  font-weight: 600;
}
.ak-browse-main {
  flex: 1;
  min-width: 0;
}
.ak-browse-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px 8px;
}
.ak-browse-layout:has(.ak-browse-sidebar) .ak-browse-grid,
.has-sidebar .ak-browse-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.ak-browse-grid .ak-card {
  display: block;
  flex: none;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  text-align: center;
}
.ak-browse-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.ak-browse-poster {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 14px;
  overflow: hidden;
  background: #161619;
  border: 1px solid #ffffff12;
  position: relative;
}
.ak-browse-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ak-browse-card:hover .ak-browse-poster img {
  transform: scale(1.05);
}
.ak-browse-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #eee;
  margin-top: 10px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s;
}
.ak-browse-card:hover .ak-browse-title {
  color: #bd85df;
}
.ak-browse-empty {
  padding: 60px 0;
  text-align: center;
  color: #a0a0a0;
  font-size: 16px;
  grid-column: 1/-1;
}

/* Responsive Rules */
@media (min-width: 1800px) {
  .ak-rail .ak-card,
  .ak-card {
    flex: 0 0 calc((100% - 49.6px) / 7.2);
    max-width: calc((100% - 49.6px) / 7.2);
  }
  .ak-hero-title {
    max-width: 720px;
    font-size: 36px;
  }
  .ak-hero-synopsis {
    max-width: 640px;
    font-size: 14px;
  }
  .ak-nav-links > a {
    padding-inline: 20px;
  }
  .ak-section-head h2 {
    font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.25rem);
  }
}
@media (max-width: 1200px) {
  .ak-nav-links > a {
    padding: 8px 14px;
    font-size: 14px;
  }
  .ak-nav {
    gap: 10px;
    padding-left: 16px;
  }
  .ak-wordmark {
    font-size: 20px;
  }
  .ak-rail .ak-card,
  .ak-card {
    flex: 0 0 calc((100% - 33.6px) / 5.2);
    max-width: calc((100% - 33.6px) / 5.2);
  }
  .ak-browse-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ak-featured h2 {
    font-size: 20px;
  }
  .anikage #w-info .poster {
    flex-basis: 110px;
    width: 110px;
  }
  .anikage #w-info .binfo {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .ak-container,
  .anikage .container {
    width: calc(100% - 32px);
  }
  .ak-nav-links,
  .ak-discord {
    display: none;
  }
  .ak-nav {
    padding: 14px 18px;
  }
  .ak-icon-button {
    height: 46px;
    width: 46px;
  }
  .ak-mobile-nav {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 6px 10px;
    gap: 6px;
    background: rgba(18, 18, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 99;
    max-width: calc(100% - 24px);
  }
  .ak-mobile-nav a {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #b2b2be;
    font-size: 18px;
    text-decoration: none !important;
    transition: all 0.15s ease;
  }
  .ak-mobile-nav a span {
    display: none !important;
  }
  .ak-mobile-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
  }
  .ak-hero {
    height: 90vh;
    min-height: 560px;
    max-height: none;
  }
  .ak-hero-content {
    padding-bottom: 70px;
  }
  .ak-hero-title {
    max-width: 600px;
    font-size: 30px;
  }
  .ak-hero-controls {
    bottom: 20px;
  }
  .ak-rail .ak-card,
  .ak-card {
    flex: 0 0 calc((100% - 25.6px) / 4.2);
    max-width: calc((100% - 25.6px) / 4.2);
  }
  .ak-featured {
    padding: 20px;
    gap: 18px;
    min-height: 180px;
  }
  .ak-featured-poster {
    flex-basis: 90px;
    width: 90px;
  }
  .ak-footer-main {
    grid-template-columns: 1fr 130px 130px;
    gap: 25px;
  }
  .ak-footer-main p {
    font-size: 13px;
  }
  .anikage footer.ak-footer {
    padding-bottom: 85px;
  }
  .anikage #totop {
  padding: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
    bottom: 95px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    right: 16px;
  }
  .anikage #watch-main .aside-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .anikage #watch-main aside.main,
  .anikage #watch-main aside.sidebar {
    display: contents !important;
  }
  .anikage #w-media {
    order: 1 !important;
    width: 100% !important;
  }
  .anikage #w-episodes {
    order: 2 !important;
    width: 100% !important;
    margin: 0 0 20px !important;
  }
  .anikage #w-seasons {
    order: 3 !important;
    width: 100% !important;
    margin: 0 0 20px !important;
  }
  .anikage #w-info {
    order: 4 !important;
    width: 100% !important;
    margin: 0 0 20px !important;
  }
  .anikage #watch-main aside.sidebar > :not(#w-episodes):not(#w-seasons) {
    order: 5 !important;
  }
  .anikage #watch-main {
    padding-bottom: 90px !important;
  }
  body.anikage #w-servers {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  body.anikage #w-servers .tip {
    flex: none !important;
    max-width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid #ffffff14 !important;
    padding-right: 0 !important;
    padding-bottom: 12px !important;
  }
  body.anikage #w-servers .servers .type {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }
  body.anikage #w-servers .servers .type label {
    min-width: 48px !important;
    font-size: 11px !important;
  }
  .ak-schedule-grid {
    grid-template-columns: 1fr;
  }
  .ak-browse-topbar {
    flex-wrap: wrap;
  }
  .ak-filter-search {
    flex-basis: 100%;
  }
  .ak-browse-layout {
    flex-direction: column;
  }
  .ak-browse-sidebar {
    width: 100%;
    flex: none;
  }
  .ak-browse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ak-container,
  .anikage .container {
    width: calc(100% - 20px);
  }
  .anikage header.ak-header {
    top: 12px;
  }
  .ak-header-inner {
    gap: 8px;
  }
  .ak-nav {
    padding: 12px 15px;
  }
  .ak-wordmark {
    font-size: 24px;
  }
  .ak-logo-image {
    height: 25px !important;
    max-width: 145px;
  }
  .ak-utilities {
    gap: 6px;
  }
  .ak-icon-button {
    width: 40px;
    height: 40px;
  }
  .ak-icon-button svg {
    width: 20px;
    height: 20px;
  }
  .ak-utilities .sign-in {
    height: 40px;
    font-size: 12px;
    padding: 10px 13px;
  }
  .ak-utilities .avatar img {
    width: 40px;
    height: 40px;
  }
  .ak-utilities .top-profile {
    gap: 6px;
  }
  .ak-hero {
    height: 72vh;
    min-height: 460px;
    max-height: none;
  }
  .ak-hero-content {
    padding-bottom: 55px;
  }
  .ak-hero-title {
    font-size: 24px;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .ak-eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .ak-hero-shade {
    background:
      linear-gradient(
        0deg,
        #0a0a0a,
        rgba(10, 10, 10, 0.7) 55%,
        rgba(10, 10, 10, 0.2)
      ),
      linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent);
  }
  .ak-hero-synopsis {
    display: none;
  }
  .ak-rail .ak-card,
  .ak-card {
    flex: 0 0 calc((100% - 12px) / 2.5);
    max-width: calc((100% - 12px) / 2.5);
  }
  .ak-metadata {
    gap: 5px;
    font-size: 10px;
    margin-bottom: 8px;
  }
  .ak-metadata > span {
    padding: 3px 7px;
  }
  .ak-button {
    font-size: 12px;
    padding: 8px 14px;
    min-height: 36px;
    gap: 6px;
  }
  .ak-hero-controls {
    bottom: 12px;
  }
  .ak-hero-arrows button {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .ak-dots {
    gap: 4px !important;
  }
  .ak-dots button {
    min-width: 28px !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 22px 4px !important;
  }
  .ak-dots button::before {
    width: 12px !important;
    height: 3px !important;
  }
  .ak-dots button[aria-pressed="true"]::before {
    width: 22px !important;
  }
  .ak-featured {
    padding: 14px;
    gap: 12px;
    border-radius: 16px;
    min-height: 160px;
    max-height: none;
  }
  .ak-featured-poster {
    flex-basis: 70px;
    width: 70px;
  }
  .ak-featured h2 {
    font-size: 16px;
    margin: 4px 0;
  }
  .ak-featured p {
    font-size: 11px;
    line-height: 1.4;
  }
  .ak-featured .ak-button {
    font-size: 11px;
    padding: 6px 12px;
    min-height: 32px;
  }
  .anikage #controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 0 !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .anikage #controls .controls-row-1,
  .anikage #controls .controls-row-2 {
    display: contents !important;
  }
  .anikage #controls .ctrl.check,
  .anikage #controls .ctrl.forward,
  .anikage #controls .ctrl.skiptime {
    display: none !important;
  }
  .anikage #controls .ctrl.expand,
  .anikage #controls .ctrl.light,
  .anikage #controls .ctrl.report,
  .anikage #controls .ctrl.favourite {
    display: inline-flex !important;
    flex: 1 1 0 !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 8px 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: #151518 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #c0c0ca !important;
    white-space: nowrap !important;
    gap: 5px !important;
  }
  .anikage #controls .ctrl.expand:hover,
  .anikage #controls .ctrl.light:hover,
  .anikage #controls .ctrl.report:hover,
  .anikage #controls .ctrl.favourite:hover {
    background: #202028 !important;
    color: #fff !important;
  }
  body.anikage #w-servers .servers ul li {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
  .anikage #w-info {
    padding: 16px !important;
  }
  .anikage #w-info .binfo {
    gap: 14px !important;
  }
  .anikage #w-info .poster {
    flex-basis: 90px !important;
    width: 90px !important;
  }
  .anikage #w-info h1 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .anikage #w-info .bmeta {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
  .ak-footer-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    text-align: center !important;
    align-items: center !important;
  }
  .ak-footer-main p {
    margin-inline: auto !important;
  }
  .ak-footer-navs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 380px !important;
    text-align: left !important;
  }
  .ak-footer-navs nav {
    min-width: 0 !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .ak-footer-bottom {
    flex-direction: column-reverse !important;
    gap: 16px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .ak-episodes-wrap.view-grid ul.ak-ep-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item {
    min-width: 34px !important;
    height: 28px !important;
    font-size: 11.5px !important;
    padding: 0 7px !important;
  }
  .ak-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 420px) {
  .ak-episodes-wrap.view-grid li.ak-ep-li a.ep-item {
    min-height: 32px !important;
    font-size: 11px !important;
  }
  .ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-thumb-wrap {
    width: 85px !important;
    flex: 0 0 85px !important;
  }
  .ak-episodes-wrap.view-list li.ak-ep-li .ak-ep-name {
    font-size: 12px !important;
  }
  .ak-schedule-card {
    padding: 10px 12px !important;
    gap: 12px !important;
  }
  .ak-schedule-card-thumb,
  .ak-sched-poster {
    width: 48px !important;
    height: 66px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .anikage *,
  .anikage *:before,
  .anikage *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Header Clearance & Body Padding */
body.anikage.admin-bar header.ak-header {
  top: 48px !important;
}
@media (max-width: 782px) {
  body.anikage.admin-bar header.ak-header {
    top: 58px !important;
  }
}

body.anikage.watch #body,
body.anikage.single-post #body,
body.anikage.single #body {
  padding-top: 76px !important;
}
body.anikage.admin-bar.watch #body,
body.anikage.admin-bar.single-post #body,
body.anikage.admin-bar.single #body {
  padding-top: 108px !important;
}
@media (max-width: 900px) {
  body.anikage.watch #body,
  body.anikage.single-post #body,
  body.anikage.single #body {
    padding-top: 68px !important;
  }
  body.anikage.admin-bar.watch #body,
  body.anikage.admin-bar.single-post #body,
  body.anikage.admin-bar.single #body {
    padding-top: 100px !important;
  }
}
@media (max-width: 600px) {
  body.anikage.watch #body,
  body.anikage.single-post #body,
  body.anikage.single #body {
    padding-top: 60px !important;
  }
  body.anikage.admin-bar.watch #body,
  body.anikage.admin-bar.single-post #body,
  body.anikage.admin-bar.single #body {
    padding-top: 92px !important;
  }
}

/* Anime Series Detail Hero Clearance (Full-area hero banner to top 0px behind menu) */
body.anikage.single-anime #body,
body.anikage:has(.ak-detail-hero) #body,
body.anikage:has(.ak-detail) #body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.anikage.admin-bar.single-anime #body,
body.anikage.admin-bar:has(.ak-detail-hero) #body,
body.anikage.admin-bar:has(.ak-detail) #body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Schedule, Browse, Movies, Contact, DMCA & Other Pages Clearance */
body.anikage:has(.ak-schedule-page) #body,
body.anikage:has(.ak-browse-container) #body,
body.anikage:has(.ak-page-container) #body,
body.anikage:has(.ak-contact-container) #body,
body.anikage:has(.ak-dmca-container) #body,
body.anikage:has(.page-wrap) #body,
body.anikage:has(.ak-page-wrap) #body,
body.anikage.page #body,
body.anikage.page-template #body,
body.anikage.page-template-default #body,
body.anikage.page-template-schedule #body,
body.anikage.page-template-filter #body,
body.anikage.page-template-movies #body,
body.anikage.page-template-contact #body,
body.anikage.page-template-dmca #body {
  padding-top: 76px !important;
}
body.anikage.admin-bar:has(.ak-schedule-page) #body,
body.anikage.admin-bar:has(.ak-browse-container) #body,
body.anikage.admin-bar:has(.ak-page-container) #body,
body.anikage.admin-bar:has(.ak-contact-container) #body,
body.anikage.admin-bar:has(.ak-dmca-container) #body,
body.anikage.admin-bar:has(.page-wrap) #body,
body.anikage.admin-bar:has(.ak-page-wrap) #body,
body.anikage.admin-bar.page #body,
body.anikage.admin-bar.page-template #body,
body.anikage.admin-bar.page-template-default #body,
body.anikage.admin-bar.page-template-schedule #body,
body.anikage.admin-bar.page-template-filter #body,
body.anikage.admin-bar.page-template-movies #body,
body.anikage.admin-bar.page-template-contact #body,
body.anikage.admin-bar.page-template-dmca #body {
  padding-top: 108px !important;
}
@media (max-width: 900px) {
  body.anikage:has(.ak-schedule-page) #body,
  body.anikage:has(.ak-browse-container) #body,
  body.anikage:has(.ak-page-container) #body,
  body.anikage:has(.ak-contact-container) #body,
  body.anikage:has(.ak-dmca-container) #body,
  body.anikage:has(.page-wrap) #body,
  body.anikage:has(.ak-page-wrap) #body,
  body.anikage.page #body,
  body.anikage.page-template #body,
  body.anikage.page-template-default #body,
  body.anikage.page-template-schedule #body,
  body.anikage.page-template-filter #body,
  body.anikage.page-template-movies #body,
  body.anikage.page-template-contact #body,
  body.anikage.page-template-dmca #body {
    padding-top: 68px !important;
  }
  body.anikage.admin-bar:has(.ak-schedule-page) #body,
  body.anikage.admin-bar:has(.ak-browse-container) #body,
  body.anikage.admin-bar:has(.ak-page-container) #body,
  body.anikage.admin-bar:has(.ak-contact-container) #body,
  body.anikage.admin-bar:has(.ak-dmca-container) #body,
  body.anikage.admin-bar:has(.page-wrap) #body,
  body.anikage.admin-bar:has(.ak-page-wrap) #body,
  body.anikage.admin-bar.page #body,
  body.anikage.admin-bar.page-template #body,
  body.anikage.admin-bar.page-template-default #body,
  body.anikage.admin-bar.page-template-schedule #body,
  body.anikage.admin-bar.page-template-filter #body,
  body.anikage.admin-bar.page-template-movies #body,
  body.anikage.admin-bar.page-template-contact #body,
  body.anikage.admin-bar.page-template-dmca #body {
    padding-top: 100px !important;
  }
}
@media (max-width: 600px) {
  body.anikage:has(.ak-schedule-page) #body,
  body.anikage:has(.ak-browse-container) #body,
  body.anikage:has(.ak-page-container) #body,
  body.anikage:has(.ak-contact-container) #body,
  body.anikage:has(.ak-dmca-container) #body,
  body.anikage:has(.page-wrap) #body,
  body.anikage:has(.ak-page-wrap) #body,
  body.anikage.page #body,
  body.anikage.page-template #body,
  body.anikage.page-template-default #body,
  body.anikage.page-template-schedule #body,
  body.anikage.page-template-filter #body,
  body.anikage.page-template-movies #body,
  body.anikage.page-template-contact #body,
  body.anikage.page-template-dmca #body {
    padding-top: 60px !important;
  }
  body.anikage.admin-bar:has(.ak-schedule-page) #body,
  body.anikage.admin-bar:has(.ak-browse-container) #body,
  body.anikage.admin-bar:has(.ak-page-container) #body,
  body.anikage.admin-bar:has(.ak-contact-container) #body,
  body.anikage.admin-bar:has(.ak-dmca-container) #body,
  body.anikage.admin-bar:has(.page-wrap) #body,
  body.anikage.admin-bar:has(.ak-page-wrap) #body,
  body.anikage.admin-bar.page #body,
  body.anikage.admin-bar.page-template #body,
  body.anikage.admin-bar.page-template-default #body,
  body.anikage.admin-bar.page-template-schedule #body,
  body.anikage.admin-bar.page-template-filter #body,
  body.anikage.admin-bar.page-template-movies #body,
  body.anikage.admin-bar.page-template-contact #body,
  body.anikage.admin-bar.page-template-dmca #body {
    padding-top: 92px !important;
  }
}

/* Member Profile & User Dashboard Clearance (Start cleanly under the logo/menu) */
body.anikage:has(.profile-container) #body,
body.anikage:has(.user-sidebar) #body,
body.anikage.ak-member-page #body,
body.anikage.ak-member #body {
  padding-top: 104px !important;
  margin-top: 0 !important;
}
body.anikage.admin-bar:has(.profile-container) #body,
body.anikage.admin-bar:has(.user-sidebar) #body,
body.anikage.admin-bar.ak-member-page #body,
body.anikage.admin-bar.ak-member #body {
  padding-top: 136px !important;
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  body.anikage:has(.profile-container) #body,
  body.anikage:has(.user-sidebar) #body,
  body.anikage.ak-member-page #body,
  body.anikage.ak-member #body {
    padding-top: 92px !important;
  }
  body.anikage.admin-bar:has(.profile-container) #body,
  body.anikage.admin-bar:has(.user-sidebar) #body,
  body.anikage.admin-bar.ak-member-page #body,
  body.anikage.admin-bar.ak-member #body {
    padding-top: 124px !important;
  }
}
@media (max-width: 600px) {
  body.anikage:has(.profile-container) #body,
  body.anikage:has(.user-sidebar) #body,
  body.anikage.ak-member-page #body,
  body.anikage.ak-member #body {
    padding-top: 80px !important;
  }
  body.anikage.admin-bar:has(.profile-container) #body,
  body.anikage.admin-bar:has(.user-sidebar) #body,
  body.anikage.admin-bar.ak-member-page #body,
  body.anikage.admin-bar.ak-member #body {
    padding-top: 112px !important;
  }
}

.profile-container {
  padding-top: 8px;
  padding-bottom: 50px;
}

/* Homepage & Hero Slider Clearance: Full area slider with overlaid menu */
body.anikage.ak-home:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage.home:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage.front-page:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.anikage.admin-bar.ak-home:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage.admin-bar.home:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage.admin-bar.front-page:not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body,
body.anikage.admin-bar:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
    :has(.profile-container)
  )
  #body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  body.anikage.ak-home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.front-page:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.ak-home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.front-page:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
@media (max-width: 600px) {
  body.anikage.ak-home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.front-page:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.ak-home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.home:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar.front-page:not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body,
  body.anikage.admin-bar:has(.ak-hero):not(.ak-member):not(.ak-member-page):not(
      :has(.profile-container)
    )
    #body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* Watch Page Anime Info Card matching media_1789688653773.png */
.ak-watch-info-card {
  display: flex !important;
  gap: 24px !important;
  background: #121215 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  margin: 20px 0 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.ak-watch-card-poster {
  flex: 0 0 160px;
  width: 160px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: #18181c;
  align-self: flex-start;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ak-watch-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ak-watch-badge-status {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ak-watch-badge-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #02c38b;
  box-shadow: 0 0 6px #02c38b;
}
.ak-watch-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ak-watch-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.ak-watch-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}
.ak-watch-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0ab;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.ak-watch-card-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}
.ak-watch-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ak-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 600;
  color: #e0e0e8;
}
.ak-meta-pill.ak-meta-score {
  background: rgba(255, 210, 56, 0.12);
  border-color: rgba(255, 210, 56, 0.3);
  color: #ffd238;
  font-weight: 700;
}
.ak-meta-pill.ak-meta-score i {
  color: #ffd238;
}
.ak-watch-card-genres {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ak-genre-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 50px;
  background: #1c1c22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #bbb;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.ak-genre-tag:hover {
  background: #282832;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.ak-watch-card-synopsis {
  position: relative;
  margin-top: 4px;
}
.ak-watch-synopsis-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #b2b2be;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.2s ease;
}
.ak-watch-card-synopsis.is-expanded .ak-watch-synopsis-text {
  display: block;
  -webkit-line-clamp: unset;
}
.ak-watch-synopsis-btn {
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}
.ak-watch-synopsis-btn:hover {
  color: #bd85df;
}
@media (max-width: 768px) {
  .ak-watch-info-card {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 16px !important;
  }
  .ak-watch-card-poster {
    flex: 0 0 auto;
    width: 110px;
    margin: 0 auto;
  }
  .ak-watch-card-title {
    font-size: 18px;
  }
}

/* Anime Series Info Page (/anime/...) Presentation Styling */
.ak-detail {
  position: relative;
  min-height: 80vh;
}
.ak-detail-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 440px;
  padding-top: 110px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-end;
  background: #0a0a0c;
  overflow: hidden;
  margin-top: 0;
}
.ak-detail-hero .ak-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.55);
  transform: none;
  z-index: 0;
}
.ak-detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 14, 0.45) 0%, transparent 28%),
    linear-gradient(
      0deg,
      #0a0a0a 0%,
      rgba(10, 10, 10, 0.85) 25%,
      transparent 60%
    );
  z-index: 1;
}
.ak-detail-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
}
.ak-detail-poster {
  flex: 0 0 220px;
  width: 220px;
  aspect-ratio: 2/3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  background: #141416;
}
.ak-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ak-detail-title {
  flex: 1;
  min-width: 0;
}
.ak-detail-title h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.ak-detail-jname {
  font-size: 14px;
  color: #abadb7;
  margin-bottom: 14px;
  font-weight: 500;
}
.ak-detail-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ak-pill-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(56, 184, 222, 0.15);
  border: 1px solid rgba(56, 184, 222, 0.35);
  color: #38b8de;
  font-size: 12.5px;
  font-weight: 700;
}
.ak-pill-score i {
  color: #38b8de;
}
.ak-pill-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(2, 195, 139, 0.15);
  border: 1px solid rgba(2, 195, 139, 0.35);
  color: #02c38b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.ak-pill-episodes {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e0e8;
  font-size: 12px;
  font-weight: 600;
}
.ak-btn-play-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #ffffff;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  transition: all 0.15s ease;
}
.ak-btn-play-now:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
}
.ak-btn-play-now.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: #a0a0a0 !important;
  cursor: not-allowed;
  box-shadow: none;
}
.ak-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ak-btn-circle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Anime Series Info Overview matching user screenshot & anikage.cc desktop layout */
.ak-detail-tabs-wrap {
  margin-top: 12px;
  margin-bottom: 24px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ak-detail-tabs-wrap::-webkit-scrollbar {
  display: none;
}
.ak-detail-tabs {
  display: inline-flex;
  align-items: center;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 6px;
  border-radius: 9999px;
  gap: 4px;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.ak-detail-tabs a {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.ak-detail-tabs a:hover {
  color: #ffffff;
}
.ak-detail-tabs a.is-active {
  background: #ffffff;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

/* Base / Shared Overview Styles */
.ak-detail-overview-wrap {
  margin-bottom: 36px;
}
.ak-detail-main-col,
.ak-detail-sidebar-col {
  min-width: 0;
}

/* Left Column: Info Header Bar */
.ak-info-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ak-info-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ak-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: #d1d5db;
  font-weight: 500;
}
.ak-format-pill {
  font-weight: 600;
  color: #ffffff;
}
.ak-aired-pill {
  color: #abb3bf;
}
.ak-trailer-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 5px 16px 5px 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ak-trailer-pill-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.ak-trailer-pill-btn .ak-play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-left: 2px;
}

/* Left Column: Synopsis Box */
.ak-synopsis-box {
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
}
.ak-synopsis-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a0a0a8;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.ak-synopsis-label i {
  font-size: 13px;
}
.ak-synopsis-body {
  font-size: 14px;
  line-height: 1.7;
  color: #d1d5db;
}
.ak-synopsis-body p {
  margin-bottom: 12px;
}
.ak-synopsis-body p:last-child {
  margin-bottom: 0;
}
.ak-btn-read-more {
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ak-btn-read-more:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Right Column: Sidebar Card & Pills */
.ak-sidebar-card {
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
}
.ak-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ak-sidebar-section + .ak-sidebar-section {
  margin-top: 20px;
}
.ak-sidebar-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a0a0a8;
  text-transform: uppercase;
}
.ak-sidebar-label i {
  font-size: 12px;
}
.ak-sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ak-pill-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.ak-pill-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Distinct Cyan/Teal Genres Pills */
.ak-pill-genre {
  background: rgba(6, 182, 212, 0.08) !important;
  border: 1px solid rgba(6, 182, 212, 0.6) !important;
  color: #22d3ee !important;
  font-weight: 600;
}
.ak-pill-genre:hover {
  background: rgba(6, 182, 212, 0.18) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}

/* Extra Tags Collapsed by Default */
.is-extra-tag {
  display: none;
}
.ak-pill-more-btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  font-weight: 700;
  font-size: 11px;
}
.ak-pill-more-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Desktop layout: 2-column side-by-side grid, Full synopsis without Read More button */
@media (min-width: 1024px) {
  .ak-detail-overview-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
  }
  .ak-sidebar-mobile-toggle {
    display: none !important;
  }
  .ak-sidebar-body {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
  }
  .ak-btn-read-more {
    display: none !important;
  }
  .ak-synopsis-body {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
}

/* Mobile & Tablet view: Natural vertical stack, 2-line clamped synopsis with Read More */
@media (max-width: 1023px) {
  .ak-detail-overview-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .ak-sidebar-mobile-toggle {
    width: 100%;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #b0b0bc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
  }
  .ak-sidebar-mobile-toggle .left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ak-sidebar-mobile-toggle .chevron {
    transition: transform 0.2s ease;
  }
  .ak-sidebar-mobile-toggle.is-active .chevron {
    transform: rotate(180deg);
  }
  .ak-sidebar-body {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding-top: 14px;
  }
  .ak-sidebar-body.is-open-mobile {
    display: flex;
  }
  
  /* Show 2 lines of synopsis on mobile view, then READ MORE */
  .ak-synopsis-body:not(.is-expanded) {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 48px;
  }
  .ak-synopsis-body:not(.is-expanded) p {
    display: inline !important;
    margin: 0 !important;
  }
  .ak-synopsis-body:not(.is-expanded) p + p {
    margin-left: 6px !important;
  }
  .ak-synopsis-body.is-expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .ak-synopsis-body.is-expanded p {
    display: block !important;
    margin-bottom: 12px !important;
  }
  .ak-synopsis-body.is-expanded p:last-child {
    margin-bottom: 0 !important;
  }
  .ak-btn-read-more {
    display: inline-flex !important;
  }
}

/* Trailer Modal Overlay */
.ak-trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ak-trailer-modal.is-visible {
  display: flex;
}
.ak-trailer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ak-trailer-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.ak-trailer-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: all 0.2s ease;
}
.ak-trailer-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #f87171;
}
.ak-trailer-video-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}
.ak-trailer-video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ak-detail-episodes-section {
  margin-bottom: 40px;
}

/* Browse & Listing Grid & Card Styles */
.ak-listing-header {
  margin-bottom: 24px;
}
.ak-listing-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}
.ak-listing-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.ak-listing-count {
  font-size: 13px;
  font-weight: 600;
  color: #bd85df;
  background: rgba(189, 133, 223, 0.12);
  border: 1px solid rgba(189, 133, 223, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
}
.ak-card-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 210, 56, 0.35);
  color: #ffd238;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.ak-card-audio {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.ak-audio-sub,
.ak-audio-dub {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  line-height: 1.3;
}
.ak-audio-sub {
  background: rgba(2, 195, 139, 0.85);
  color: #000;
}
.ak-audio-dub {
  background: rgba(189, 133, 223, 0.85);
  color: #000;
}
/* Continue Watching Card */
.ak-cw-card .ak-browse-poster {
  position: relative;
}
.ak-cw-badge {
  position: absolute;
  bottom: 10px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.ak-cw-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 3;
}
.ak-cw-progress span {
  display: block;
  height: 100%;
  background: #bd85df;
  border-radius: 0 2px 2px 0;
}
.cw-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: all 0.15s ease;
}
.ak-cw-card:hover .cw-remove {
  opacity: 1;
}
.cw-remove:hover {
  background: #e53e3e;
  border-color: #e53e3e;
  transform: scale(1.1);
}
/* Continue Watching & Member Watchlist Grids */
.ak-cw-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 1400px) {
  .ak-cw-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1100px) {
  .ak-cw-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 800px) {
  .ak-cw-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 500px) {
  .ak-cw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

.watchlist.items.ak-watchlist-grid,
.ak-watchlist-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 18px !important;
}
.watchlist.items.ak-watchlist-grid .item {
  display: flex !important;
  flex-direction: column !important;
  background: #121215 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease !important;
}
.watchlist.items.ak-watchlist-grid .item:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
.watchlist.items.ak-watchlist-grid .item .poster {
  width: 100% !important;
  aspect-ratio: 2/3 !important;
  overflow: hidden !important;
  position: relative !important;
  background: #18181c !important;
}
.watchlist.items.ak-watchlist-grid .item .poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}
.watchlist.items.ak-watchlist-grid .item:hover .poster img {
  transform: scale(1.05) !important;
}
.watchlist.items.ak-watchlist-grid .item .info {
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 8px !important;
}
.watchlist.items.ak-watchlist-grid .item .name a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #fff !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
}
.watchlist.items.ak-watchlist-grid .item .name a:hover {
  color: #bd85df !important;
}
.watchlist.items.ak-watchlist-grid .item .folder-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #c0c0ca !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
.watchlist.items.ak-watchlist-grid .item .ep {
  font-size: 11px !important;
  color: #a8a8b4 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.watchlist.items.ak-watchlist-grid .item .next-ep {
  font-size: 11px !important;
  color: #02c38b !important;
  margin-top: auto !important;
}
/* More like this side cards */
.ak-side-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ak-side-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.ak-side-card:hover {
  background: #1b1b22;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.ak-side-card-poster {
  width: 50px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.ak-side-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ak-side-card-info {
  flex: 1;
  min-width: 0;
}
.ak-side-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.ak-side-card:hover .ak-side-card-title {
  color: #bd85df;
}
.ak-side-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #a2a2ae;
}
.ak-side-score {
  color: #ffd238;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Schedule Mobile Pill Bar */
@media (max-width: 600px) {
  .ak-schedule-pills {
    display: flex !important;
    gap: 4px !important;
    overflow-x: visible !important;
    padding: 4px 0 12px !important;
    width: 100% !important;
  }
  .ak-sched-pill {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 8px 2px !important;
    border-radius: 10px !important;
  }
  .ak-pill-day {
    font-size: 10px !important;
  }
  .ak-pill-num {
    font-size: 14px !important;
  }
  .ak-pill-count {
    font-size: 9px !important;
  }
}

@media (max-width: 900px) {
  .ak-detail-hero {
    padding-top: 90px;
    padding-bottom: 25px;
    min-height: 560px;
  }
  .ak-detail-heading {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .ak-detail-poster {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: 240px !important;
    aspect-ratio: 2/3 !important;
    margin: 0 auto !important;
  }
  .ak-detail-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .ak-detail-title h1 {
    text-align: center !important;
  }
  .ak-detail-title .ak-detail-pills,
  .ak-detail-title .ak-actions {
    justify-content: center !important;
  }
  .ak-detail-tabs-wrap {
    margin-top: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .ak-detail-tabs {
    width: auto !important;
    max-width: 100%;
    justify-content: flex-start !important;
    padding: 3px 4px !important;
    gap: 2px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    border-radius: 9999px !important;
  }
  .ak-detail-tabs a {
    padding: 6px 13px;
    font-size: 12px;
  }
}

/* Featured Anime Pagination */

.ak-featured-pagination,
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 10px;
  width: 100%;
}
.navigation .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.navigation .pagination .page-item {
  list-style: none;
  margin: 0;
}
.navigation .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c0c0ca;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.navigation .pagination .page-link:hover {
  background: #22222a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.navigation .pagination .page-item.active .page-link {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* Generic Pages, Contact Form & DMCA Styles */
.ak-page-container {
  padding-top: 16px;
  padding-bottom: 50px;
}
.ak-page-wrap {
  margin-top: 0 !important;
  padding: 16px 0 40px;
}
.ak-page-head {
  margin-bottom: 32px;
}
.ak-page-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}
.ak-page-subtitle {
  font-size: 14.5px;
  color: #ababb6;
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

/* Contact Grid & Form */
.ak-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: start;
}
.ak-contact-card {
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
}
.ak-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ak-info-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}
.ak-info-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #b2b2be;
  margin: 0 0 16px;
}
.ak-discord-btn {
  width: 100%;
  background: #5865f2;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 12px;
  gap: 8px;
  transition: all 0.18s ease;
}
.ak-discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}
.ak-faq-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ak-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.ak-faq-item strong {
  display: block;
  font-size: 13.5px;
  color: #e2e2ea;
  margin-bottom: 4px;
}
.ak-faq-item p {
  margin: 0;
  font-size: 12.5px;
}
.ak-faq-item a {
  color: #bd85df;
  text-decoration: underline;
}
.ak-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ak-form-group {
  margin-bottom: 18px;
}
.ak-label-field {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cfcfe0;
  margin-bottom: 8px;
}
.ak-label-field .required {
  color: #ff6b6b;
}
.ak-input-field,
.ak-select-field,
.ak-textarea-field {
  width: 100%;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
}
.ak-input-field:focus,
.ak-select-field:focus,
.ak-textarea-field:focus {
  border-color: #bd85df;
  background: #1e1e24;
  box-shadow: 0 0 0 3px rgba(189, 133, 223, 0.2);
}
.ak-textarea-field {
  resize: vertical;
  min-height: 120px;
}
.ak-select-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.ak-contact-submit {
  min-height: 46px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ak-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ak-alert-success {
  background: rgba(2, 195, 139, 0.12);
  border: 1px solid rgba(2, 195, 139, 0.3);
  color: #02c38b;
}
.ak-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* DMCA Grid */
.ak-dmca-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ak-dmca-card {
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.18s ease;
}
.ak-dmca-card:hover {
  background: #16161b;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.ak-dmca-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(189, 133, 223, 0.12);
  border: 1px solid rgba(189, 133, 223, 0.25);
  color: #bd85df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ak-dmca-body {
  flex: 1;
  min-width: 0;
}
.ak-dmca-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bd85df;
  margin-bottom: 6px;
}
.ak-dmca-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}
.ak-dmca-body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #b2b2be;
  margin: 0 0 10px;
}
.ak-dmca-body p:last-child {
  margin-bottom: 0;
}
.ak-dmca-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  color: #bd85df;
  font-size: 12.5px;
}
.ak-dmca-body a {
  color: #bd85df;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ak-contact-grid {
    grid-template-columns: 1fr;
  }
  .ak-dmca-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .ak-form-row {
    grid-template-columns: 1fr;
  }
  .ak-contact-card {
    padding: 18px;
  }
  .ak-dmca-card {
    padding: 18px;
    gap: 14px;
  }
  .ak-dmca-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* Card Badge & Bottom Bar Overlay (Browse Cards) */
.ak-browse-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.ak-browse-poster:hover img {
  transform: scale(1.05);
}
.ak-episode-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.ak-ep-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e599;
  box-shadow: 0 0 6px #00e599;
  display: inline-block;
  flex-shrink: 0;
}
.ak-episode-badge.ak-soon .ak-ep-dot {
  background: #bd85df;
  box-shadow: 0 0 6px #bd85df;
}
.ak-card-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    transparent 100%
  );
  padding: 24px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #cfcfe0;
  z-index: 2;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.ak-cbb-dot {
  color: #a1a1aa;
  font-size: 10px;
}
.ak-cbb-status {
  color: #00e599;
  font-weight: 800;
}
.ak-cbb-status.ak-cbb-finished {
  color: #38b8de;
}
.ak-cbb-status.ak-cbb-not-yet-aired,
.ak-cbb-status.ak-cbb-not-yet-released {
  color: #bd85df;
}
.ak-ep-card .ak-browse-title {
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #eee;
  transition: color 0.15s ease;
}
.ak-ep-card:hover .ak-browse-title {
  color: #bd85df;
}

/* Unified Player Controls Under Video */
.anikage #controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 10px 16px !important;
  background: #111114 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  margin: 14px 0 20px !important;
}
.anikage #controls .ak-player-controls-row,
.anikage #controls .controls-row-1,
.anikage #controls .controls-row-2 {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}
.anikage #controls .ctrl.check,
.anikage #controls .ctrl.forward,
.anikage #controls .ctrl.skiptime {
  display: none !important;
}
.anikage #controls .ctrl.expand,
.anikage #controls .ctrl.light,
.anikage #controls .ctrl.report,
.anikage #controls .ctrl.favourite {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cfcfe0 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.anikage #controls .ctrl.expand:hover,
.anikage #controls .ctrl.light:hover,
.anikage #controls .ctrl.report:hover,
.anikage #controls .ctrl.favourite:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}
@media (max-width: 600px) {
  .anikage #controls {
    padding: 8px !important;
    gap: 6px !important;
  }
  .anikage #controls .ak-player-controls-row,
  .anikage #controls .controls-row-1,
  .anikage #controls .controls-row-2 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
  .anikage #controls .ctrl.expand,
  .anikage #controls .ctrl.light,
  .anikage #controls .ctrl.report,
  .anikage #controls .ctrl.favourite {
    padding: 8px 4px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
    gap: 4px !important;
  }
}

/* Watch Page Single Post Sidebar: 5 Most Popular in list, remove scrollbar */
#w-popular .scaff.side.items.md,
.w-side-section .scaff.side.items.md {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
  scrollbar-width: none !important;
}
#w-popular .scaff.side.items.md::-webkit-scrollbar,
.w-side-section .scaff.side.items.md::-webkit-scrollbar {
  display: none !important;
}

/* Browse Sidebar Responsive Layout */
@media (max-width: 900px) {
  .ak-browse-layout {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .ak-browse-sidebar {
    width: 100% !important;
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 600px) {
  .ak-browse-sidebar {
    grid-template-columns: 1fr !important;
  }
}


/* Mobile Watch Page Server Buttons: Hide play icon & cleanly display server name wording (HD, HD-1, Vidstreaming) */
@media (max-width: 768px) {
  .ak-hero-title--logo {
    max-width: clamp(200px, 65vw, 320px) !important;
    min-height: clamp(55px, 12vh, 95px) !important;
    display: flex !important;
    align-items: flex-end !important;
    margin-bottom: 12px !important;
  }
  .ak-hero-logo-img {
    max-height: clamp(55px, 12vh, 95px) !important;
  }
  body.anikage #w-servers .servers ul li i,
  body.anikage #w-servers .servers ul li .ak-server-icon {
    display: none !important;
  }
  #w-player #w-servers .servers .type ul li:before,
  body.anikage #w-servers .servers .type ul li:before,
  body.anikage #w-servers .servers .type ul li::before,
  body.anikage #w-servers .servers ul li:before,
  body.anikage #w-servers .servers ul li::before {
    content: none !important;
    display: none !important;
  }
  body.anikage #w-servers .servers ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  body.anikage #w-servers .servers ul li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    min-height: 34px !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
  }
  body.anikage #w-servers .servers ul li .ak-server-name {
    display: inline !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }
}


/* Latest Updates RECENT EPISODES: strictly 2 posts per row on mobile screens */
@media (max-width: 768px) {
  #ak-latest-updates .ak-featured-grid,
  .ak-featured-section .ak-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 6px !important;
  }
  #ak-latest-updates .ak-card,
  .ak-featured-section .ak-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  #ak-latest-updates .ak-card-title,
  .ak-featured-section .ak-card-title {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    min-height: 28px !important;
  }
}

/* Mobile Touch Target & Spacing Standards (Lighthouse 48x48px Accessibility) */

.ak-hero-arrows button {
  position: relative;
}
.ak-hero-arrows button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}
.ak-btn-sound {
  position: relative;
}
.ak-btn-sound::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}
.ak-icon-button {
  position: relative;
}
.ak-icon-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 48px;
  min-height: 48px;
}
.ak-rail-arrow {
  position: absolute !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 92px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 16px !important;
  background: rgba(18, 18, 22, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}
.ak-rail-arrow:hover {
  background: rgba(30, 30, 38, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-50%) scale(1.05) !important;
}
.ak-rail-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  right: -8px;
}
.ak-prev {
  left: 0 !important;
}
.ak-next {
  right: 0 !important;
}
.ak-rail-arrow:disabled {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (max-width: 768px) {
  .ak-rail-arrow {
    width: 30px !important;
    height: 60px !important;
    border-radius: 12px !important;
    top: 40% !important;
  }
  .ak-rail-arrow svg {
    width: 14px !important;
    height: 14px !important;
  }
  .ak-prev {
    left: 0 !important;
  }
  .ak-next {
    right: 0 !important;
  }
}
.ak-discord-footer {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
}
@media (max-width: 768px) {
  .ak-mobile-nav {
    gap: 8px !important;
  }
  .ak-mobile-nav a {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    position: relative;
  }
  .ak-mobile-nav a::after {
    content: "";
    position: absolute;
    inset: -4px;
  }
  .ak-genres {
    gap: 8px !important;
  }
  .ak-genres > a,
  .ak-featured-genre {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px !important;
  }
  .ak-lang-toggle span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px !important;
  }
  .anikage #totop {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
  }
}

/* ==========================================================================
   HOMEPAGE MOBILE & PAGES MOBILE LAYOUT & SEARCH FILTER BAR
   ========================================================================== */

/* 1. Desktop Layout: 7 Cards Per Row on Homepage Latest Updates & All Pages */
@media (min-width: 769px) {
  .ak-sfb-container {
    display: none !important;
  }
  .ak-browse-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 28px !important;
    align-items: flex-start !important;
  }
  .ak-browse-sidebar {
    display: flex !important;
    width: 220px !important;
    flex: 0 0 220px !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .ak-browse-main {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
  }
  /* In All Pages: 7 anime cards in one row on Desktop View (total 21, then pagination) */
  .ak-browse-grid,
  .ak-browse-layout .ak-browse-grid,
  .ak-browse-layout:has(.ak-browse-sidebar) .ak-browse-grid,
  .has-sidebar .ak-browse-grid,
  .ak-browse-main .ak-browse-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 16px 8px !important;
  }
  .ak-browse-grid .ak-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .ak-browse-grid .ak-card-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 32px !important;
  }

  /* Homepage Latest Updates: 7 anime cards in one row on Desktop View (total 14, then pagination) */
  #ak-latest-updates .ak-featured-grid,
  .ak-featured-section .ak-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 16px 8px !important;
  }
  #ak-latest-updates .ak-card,
  .ak-featured-section .ak-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  #ak-latest-updates .ak-card-title,
  .ak-featured-section .ak-card-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 32px !important;
  }
}

/* 2. Homepage Mobile Rails: 3.2 cards visible per section */
@media (max-width: 768px) {
  .ak-rail {
    gap: 8px !important;
    padding: 2px 0 8px !important;
  }
  .ak-rail .ak-card,
  .ak-rail .ak-cw-card {
    flex: 0 0 calc((100% - 18px) / 3.2) !important;
    max-width: calc((100% - 18px) / 3.2) !important;
    min-width: calc((100% - 18px) / 3.2) !important;
  }
  .ak-rail .ak-card-title {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    min-height: 28px !important;
    padding: 0 2px !important;
  }
}
@media (max-width: 480px) {
  .ak-rail .ak-card,
  .ak-rail .ak-cw-card {
    flex: 0 0 calc((100% - 18px) / 3.2) !important;
    max-width: calc((100% - 18px) / 3.2) !important;
    min-width: calc((100% - 18px) / 3.2) !important;
  }
}

/* 3. Homepage Latest Updates (Recent Episodes): 3 cards per row on mobile (12 cards total) */
@media (max-width: 768px) {
  #ak-latest-updates .ak-featured-grid,
  .ak-featured-section .ak-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 6px !important;
  }
  #ak-latest-updates .ak-card,
  .ak-featured-section .ak-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  #ak-latest-updates .ak-card-title,
  .ak-featured-section .ak-card-title {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    min-height: 28px !important;
  }
}
@media (max-width: 480px) {
  #ak-latest-updates .ak-featured-grid,
  .ak-featured-section .ak-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 5px !important;
  }
  #ak-latest-updates .ak-card-title,
  .ak-featured-section .ak-card-title {
    font-size: 11px !important;
    line-height: 1.2 !important;
    min-height: 26px !important;
  }
}

/* 4. Mobile Pages Layout: 4 anime cards per row on mobile screens (Browse, Movies, Taxonomies) */
@media (max-width: 768px) {
  .ak-browse-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .ak-browse-sidebar {
    display: none !important;
  }
  .ak-browse-main {
    width: 100% !important;
  }
  .ak-browse-grid,
  .ak-browse-layout:has(.ak-browse-sidebar) .ak-browse-grid,
  .has-sidebar .ak-browse-grid,
  .ak-browse-layout .ak-browse-grid,
  .ak-browse-main .ak-browse-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px 5px !important;
  }
  .ak-browse-grid .ak-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .ak-browse-grid .ak-card-title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    min-height: 28px !important;
    padding: 0 2px !important;
    margin-top: 6px !important;
  }
  .ak-browse-grid .ak-card-cover {
    border-radius: 8px !important;
  }
  .ak-browse-grid .ak-card-audio,
  .ak-browse-grid .ak-card-score {
    transform: scale(0.85);
    transform-origin: bottom left;
  }
}

@media (max-width: 480px) {
  .ak-browse-grid,
  .ak-browse-layout:has(.ak-browse-sidebar) .ak-browse-grid,
  .has-sidebar .ak-browse-grid,
  .ak-browse-layout .ak-browse-grid,
  .ak-browse-main .ak-browse-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px 4px !important;
  }
  .ak-browse-grid .ak-card-title {
    font-size: 10px !important;
    line-height: 1.2 !important;
    min-height: 24px !important;
    margin-top: 5px !important;
  }
}

/* 5. Modern Mobile Search Bar & Settings Filter View (Images 1 & 2) */
.ak-sfb-container {
  width: 100%;
  margin: 8px 0 16px;
}

/* Search Bar Row (Image 1) */
.ak-sfb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.ak-sfb-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.ak-sfb-icon-search {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #a0a0a8;
  pointer-events: none;
}

.ak-sfb-input {
  width: 100%;
  height: 48px;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 0 16px 0 44px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.ak-sfb-input::placeholder {
  color: #a0a0a8 !important;
}

.ak-sfb-input:focus {
  border-color: rgba(189, 133, 223, 0.5) !important;
  background: #181920 !important;
}

.ak-sfb-btn {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  transition: all 0.2s ease;
}

.ak-sfb-btn:hover {
  background: #1b1c22 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-1px);
}

.ak-sfb-btn-settings.is-active {
  background: #21222c !important;
  border-color: #bd85df !important;
  color: #bd85df !important;
}

.ak-sfb-icon-gear {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ak-sfb-icon-trash {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Settings Filter Panel (Image 2) */
.ak-sfb-panel {
  margin-top: 16px;
  padding-bottom: 8px;
  animation: akFadeIn 0.25s ease forwards;
}

@keyframes akFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ak-sfb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.ak-sfb-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ak-sfb-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ak-sfb-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em;
  margin: 0 !important;
  padding: 0 !important;
}

.ak-sfb-select-wrap {
  position: relative;
  width: 100%;
}

.ak-sfb-select {
  width: 100% !important;
  height: 48px !important;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 0 36px 0 16px !important;
  color: #abadb7 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease;
}

.ak-sfb-select:focus {
  border-color: rgba(189, 133, 223, 0.5) !important;
  color: #ffffff !important;
}

.ak-sfb-select option {
  background: #141519;
  color: #ffffff;
  padding: 8px;
}

.ak-sfb-select option[value=""] {
  color: #abadb7;
}

.ak-sfb-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ba3af;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ak-sfb-chevron svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Jikan API: Characters & Voice Actors
   ═══════════════════════════════════════════════════════════════════════════ */
.ak-jikan-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 16px;
  color: #abadb7;
  font-size: 0.9rem;
}

.ak-characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 4px 0 16px;
}

@media (max-width: 768px) {
  .ak-characters-grid {
    grid-template-columns: 1fr;
  }
}

.ak-char-card {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  min-height: 80px;
}

.ak-char-left,
.ak-char-right {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  padding: 8px 10px;
}

.ak-char-right {
  flex-direction: row-reverse;
  border-left: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  text-align: right;
}

.ak-char-img-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.ak-char-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ak-char-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.06);
}

.ak-char-info {
  flex: 1;
  min-width: 0;
}

.ak-char-va-info {
  text-align: right;
}

.ak-char-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8e9ee;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-char-role {
  font-size: 0.72rem;
  color: #abadb7;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Jikan API: Music / Themes
   ═══════════════════════════════════════════════════════════════════════════ */
.ak-music-wrap {
  padding: 4px 0 16px;
}

.ak-music-group {
  margin-bottom: 24px;
}

.ak-music-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e040fb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ak-music-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ak-music-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: background 0.15s;
}

.ak-music-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.ak-music-num {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #abadb7;
}

.ak-music-icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(224, 64, 251, 0.12);
  color: #e040fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.ak-music-details {
  flex: 1;
  min-width: 0;
}

.ak-music-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8e9ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-music-artist {
  font-size: 0.75rem;
  color: #abadb7;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-music-search-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.12);
  color: #f87171;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ak-music-search-btn:hover {
  background: rgba(255, 0, 0, 0.25);
  color: #ff6666;
}

@media (max-width: 576px) {
  .ak-music-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .ak-music-title {
    font-size: 0.8rem;
  }
}


/* PageSpeed: Aspect ratio & non-distortion guarantees */
img {
  max-width: 100%;
}
.ak-poster-image,
.ak-card-cover img,
.ak-browse-poster img,
.ak-rank-poster img,
.ak-detail-poster img,
.ak-watch-card-poster img,
.ak-schedule-card-thumb img,
.ak-sched-poster img,
.ak-char-img-wrap img,
.ak-va-img-wrap img,
.ak-ep-thumb-wrap img,
.ak-sidebar-item-poster img,
.poster img,
.item .poster img,
.avatar img,
.user-avatar-img,
.top-profile .user .avatar img,
#w-info .binfo .poster span img {
  object-fit: cover !important;
}
.ak-hero-logo-img,
.ak-brand img,
.logo img {
  object-fit: contain !important;
}

/* Modal Accessibility Tree guarantee */
.ak-trailer-modal {
  display: none;
}
.ak-trailer-modal.is-visible {
  display: flex !important;
}

.ak-wp-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #d1d5db !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.ak-wp-login-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}
