/* Content System Elementor Blocks — Anime profile (Rascal-style modernisation) */

body.csb-profile-anime {
  --csb-anime-bg: #09070f;
  --csb-anime-bg-2: #130d1f;
  --csb-anime-panel: rgba(18, 16, 28, 0.70);
  --csb-anime-panel-strong: rgba(18, 16, 28, 0.86);
  --csb-anime-border: rgba(255, 255, 255, 0.16);
  --csb-anime-text: rgba(255, 255, 255, 0.94);
  --csb-anime-muted: rgba(255, 255, 255, 0.70);
  --csb-anime-soft: rgba(255, 255, 255, 0.50);
  --csb-anime-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --csb-active-accent: #c04cff;
  --csb-active-accent-rgb: 192, 76, 255;
  color: var(--csb-anime-text);
  background:
    radial-gradient(circle at 16% 8%, rgba(var(--csb-active-accent-rgb), 0.22), transparent 34rem),
    radial-gradient(circle at 84% 0%, rgba(0, 209, 255, 0.12), transparent 30rem),
    linear-gradient(135deg, #06050a 0%, #11101a 48%, #07060b 100%);
}

body.csb-profile-anime a {
  color: inherit;
}

body.csb-profile-anime .elementor-section,
body.csb-profile-anime .elementor-container,
body.csb-profile-anime .elementor-widget-wrap {
  overflow: visible;
}

body.csb-profile-anime .csb-header--anime {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9990;
  width: 100vw;
  padding: max(12px, env(safe-area-inset-top)) clamp(14px, 2.2vw, 34px) 0;
  pointer-events: none;
  background: transparent;
}

body.admin-bar.csb-profile-anime .csb-header--anime {
  top: 32px;
}

.csb-anime-header__bar {
  pointer-events: auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(190px, 360px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  max-width: min(1840px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 10px clamp(12px, 1.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(7, 6, 12, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

.csb-anime-header__logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.csb-anime-logo,
.csb-anime-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.csb-anime-logo__image {
  display: block;
  width: auto;
  max-width: min(320px, 28vw);
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(var(--csb-active-accent-rgb), 0.20));
}

.csb-anime-logo--fallback span,
.csb-anime-footer-logo--fallback span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), 0.95), rgba(255, 255, 255, 0.17));
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.csb-anime-logo--fallback strong,
.csb-anime-footer-logo--fallback strong {
  color: #fff;
  font-family: Outfit, Manrope, system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2.45rem);
  line-height: 1;
}

.csb-anime-menu,
.csb-anime-mobile-nav,
.csb-anime-footer-menu {
  min-width: 0;
}

.csb-anime-menu__list,
.csb-anime-menu .menu,
.csb-anime-menu__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.csb-anime-menu li {
  position: relative;
  list-style: none;
}

.csb-anime-menu a,
.csb-anime-menu__link,
.csb-anime-menu .menu-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.csb-anime-menu a:hover,
.csb-anime-menu a:focus-visible,
.csb-anime-menu .current-menu-item > a,
.csb-anime-menu .current-menu-ancestor > a {
  color: #fff;
  background: rgba(var(--csb-active-accent-rgb), 0.20);
  box-shadow: inset 0 0 0 1px rgba(var(--csb-active-accent-rgb), 0.26), 0 0 24px rgba(var(--csb-active-accent-rgb), 0.16);
  transform: translateY(-1px);
}

.csb-anime-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 220px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--csb-anime-border);
  border-radius: 20px;
  background: rgba(11, 10, 17, 0.92);
  box-shadow: var(--csb-anime-shadow);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.csb-anime-menu li:hover > .sub-menu,
.csb-anime-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.csb-anime-menu .sub-menu a {
  justify-content: flex-start;
  width: 100%;
}

.csb-anime-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

body.csb-profile-anime .csb-lang-switcher ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.csb-profile-anime .csb-lang-switcher li {
  list-style: none;
}

body.csb-profile-anime .csb-lang-switcher a,
body.csb-profile-anime .csb-lang-switcher .current-lang > a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.csb-profile-anime .csb-lang-switcher .current-lang > a,
body.csb-profile-anime .csb-lang-switcher a:hover {
  background: rgba(var(--csb-active-accent-rgb), 0.22);
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), 0.18), inset 0 0 0 1px rgba(var(--csb-active-accent-rgb), 0.25);
  transform: translateY(-1px);
}

body.csb-profile-anime .csb-lang-switcher img {
  display: block;
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.csb-anime-search-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.csb-anime-search-toggle:hover,
.csb-anime-search-toggle:focus-visible {
  transform: translateY(-1px) scale(1.02);
  background: rgba(var(--csb-active-accent-rgb), 0.22);
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), 0.18);
}

.csb-anime-search-panel {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.csb-anime-search-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.csb-anime-search-modal {
  position: relative;
  width: min(720px, 100%);
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--csb-anime-border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 22% 0%, rgba(var(--csb-active-accent-rgb), 0.25), transparent 22rem),
    rgba(16, 14, 26, 0.92);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.55);
}

.csb-anime-search-modal h2 {
  margin: 8px 0 22px;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.02;
}

.csb-anime-search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  font-size: 1.4rem;
  cursor: pointer;
}

.csb-anime-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.csb-anime-search-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  outline: none;
}

.csb-anime-search-form button,
.csb-anime-btn,
body.csb-profile-anime .csb-btn.csb-anime-btn {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  padding: 0 22px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), 0.95), rgba(255, 132, 214, 0.86));
  box-shadow: 0 18px 48px rgba(var(--csb-active-accent-rgb), 0.26), inset 0 1px 0 rgba(255,255,255,0.22);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.csb-anime-search-form button:hover,
.csb-anime-btn:hover,
body.csb-profile-anime .csb-btn.csb-anime-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 24px 62px rgba(var(--csb-active-accent-rgb), 0.34), inset 0 1px 0 rgba(255,255,255,0.26);
}

.csb-home--anime,
.csb-archive--anime,
.csb-single--anime {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: clip;
  background: transparent;
}

.csb-anime-seasonal,
.csb-anime-archive-hero,
.csb-anime-single-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 68svh;
  padding: clamp(116px, 13vh, 170px) clamp(18px, 4vw, 76px) clamp(54px, 8vh, 96px);
  color: #fff;
  overflow: hidden;
}

.csb-anime-archive-hero--tag,
.csb-anime-single-hero {
  min-height: 100svh;
}

.csb-anime-archive-hero--category,
.csb-anime-archive-hero--search {
  min-height: 48svh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 22%, rgba(0, 0, 0, 0.25), transparent 28rem),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), 0.95), rgba(var(--csb-active-accent-rgb), 0.48) 46%, #11101a 100%);
}

.csb-anime-seasonal__bg,
.csb-anime-archive-hero__bg,
.csb-anime-single-hero__bg {
  position: absolute;
  inset: -8vh -4vw;
  z-index: -3;
  background-image: var(--csb-anime-hero-image);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--csb-parallax-y, 0px), 0) scale(1.07);
  transition: transform 80ms linear;
  will-change: transform;
}

.csb-anime-seasonal__bg:empty,
.csb-anime-archive-hero__bg:empty,
.csb-anime-single-hero__bg:empty {
  background-color: #15101d;
}

.csb-anime-seasonal::before,
.csb-anime-archive-hero::before,
.csb-anime-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--csb-active-accent-rgb), 0.36), transparent 28rem),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.12), transparent 18rem),
    linear-gradient(90deg, rgba(4, 3, 8, 0.86), rgba(4, 3, 8, 0.46) 44%, rgba(4, 3, 8, 0.74));
}

.csb-anime-seasonal__shade,
.csb-anime-archive-hero__tone,
.csb-anime-single-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.58), transparent 28%, rgba(0,0,0,0.70) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 4px);
  mix-blend-mode: normal;
}

.csb-anime-seasonal__inner,
.csb-anime-archive-hero__inner,
.csb-anime-single-hero__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.csb-anime-seasonal__copy,
.csb-anime-archive-hero__inner,
.csb-anime-single-hero__copy {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.055)),
    rgba(12, 10, 18, 0.56);
  box-shadow: 0 34px 120px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.22);
  backdrop-filter: blur(20px) saturate(1.22);
}

.csb-anime-archive-hero--category .csb-anime-archive-hero__inner,
.csb-anime-archive-hero--search .csb-anime-archive-hero__inner {
  background: rgba(8, 7, 13, 0.28);
}

.csb-anime-seasonal h1,
.csb-anime-archive-hero h1,
.csb-anime-single-hero h1 {
  margin: 12px 0 16px;
  color: #fff;
  font-family: Outfit, Manrope, system-ui, sans-serif;
  font-size: clamp(2.35rem, 7.6vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 28px rgba(0,0,0,0.55);
}

.csb-anime-archive-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.csb-anime-seasonal p,
.csb-anime-archive-hero__description,
.csb-anime-single-hero p {
  max-width: 780px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.csb-anime-seasonal__meta,
.csb-anime-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 24px;
}

.csb-anime-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 42px);
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.csb-anime-scroll-cue i {
  display: block;
  width: 28px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 999px;
  position: relative;
}

.csb-anime-scroll-cue i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  transform: translateX(-50%);
  animation: csbAnimeScrollCue 1500ms ease-in-out infinite;
}

@keyframes csbAnimeScrollCue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.45; }
  50% { transform: translate(-50%, 12px); opacity: 1; }
}

.csb-anime-section,
.csb-anime-content-shell {
  position: relative;
  width: min(1640px, calc(100vw - clamp(24px, 4vw, 78px)));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 110px) 0;
}

.csb-anime-section::before,
.csb-anime-content-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  z-index: -1;
  width: min(980px, 80vw);
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--csb-active-accent-rgb), 0.14), transparent 68%);
  filter: blur(6px);
  transform: translateX(-50%);
  pointer-events: none;
}

.csb-anime-section__head {
  max-width: 880px;
  margin: 0 auto clamp(28px, 4vw, 54px);
  text-align: center;
}

.csb-anime-section__head h2 {
  margin: 10px 0 0;
  color: #fff;
  font-family: Outfit, Manrope, system-ui, sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.csb-profile-anime .csb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

body.csb-profile-anime .csb-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--csb-active-accent);
  box-shadow: 0 0 22px rgba(var(--csb-active-accent-rgb), 0.70);
}

.csb-anime-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 28px);
  align-items: stretch;
}

.csb-anime-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    rgba(18, 16, 28, 0.70);
  box-shadow: 0 18px 70px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.csb-anime-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), 0.32), transparent 34%, rgba(255,255,255,0.12));
  transition: opacity 220ms ease;
}

.csb-anime-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--csb-active-accent-rgb), 0.42);
  box-shadow: 0 28px 90px rgba(0,0,0,0.38), 0 0 42px rgba(var(--csb-active-accent-rgb), 0.14);
}

.csb-anime-card:hover::after {
  opacity: 1;
}

.csb-anime-card--wide {
  grid-column: span 2;
}

.csb-anime-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.csb-anime-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease, filter 420ms ease;
}

.csb-anime-card:hover .csb-anime-card__img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.csb-anime-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 24% 18%, rgba(var(--csb-active-accent-rgb), 0.42), transparent 44%),
    linear-gradient(135deg, #272033, #0f0d18);
}

.csb-anime-card__read {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,0.52);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-weight: 900;
  font-size: 0.78rem;
}

.csb-anime-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px);
}

.csb-anime-card__badges .csb-badges,
.csb-anime-single-hero__badges .csb-badges {
  justify-content: flex-start;
}

.csb-anime-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.csb-anime-card h3 a {
  color: #fff;
  text-decoration: none;
}

.csb-anime-card p {
  margin: 0;
  color: var(--csb-anime-muted);
  line-height: 1.62;
}

.csb-anime-card__meta,
.csb-anime-seasonal__meta,
.csb-anime-single-hero__meta,
body.csb-profile-anime .csb-related-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.csb-profile-anime .csb-aw-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.76);
  background: rgba(255,255,255,0.065);
  font-weight: 800;
  font-size: 0.75rem;
}

body.csb-profile-anime .csb-badge,
body.csb-profile-anime .csb-category-badge {
  border: 1px solid rgba(var(--csb-active-accent-rgb), 0.38);
  color: #fff;
  background: rgba(var(--csb-active-accent-rgb), 0.20);
  box-shadow: 0 0 20px rgba(var(--csb-active-accent-rgb), 0.14);
}

.csb-anime-post-content {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 32px;
  color: rgba(255,255,255,0.88);
  background: rgba(12, 10, 18, 0.58);
  box-shadow: 0 26px 90px rgba(0,0,0,0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.csb-anime-post-content h2,
.csb-anime-post-content h3,
.csb-anime-post-content h4 {
  color: #fff;
  font-family: Outfit, Manrope, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.csb-anime-post-content a {
  color: rgb(var(--csb-active-accent-rgb));
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.csb-anime-post-content img {
  border-radius: 18px;
}

body.csb-profile-anime .csb-editorial-box,
body.csb-profile-anime .csb-comments-shell,
body.csb-profile-anime .csb-related-posts {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  background: rgba(12,10,18,0.58);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.csb-profile-anime .csb-pagination {
  margin-top: clamp(26px, 4vw, 54px);
}

body.csb-profile-anime .csb-pagination__inner {
  justify-content: center;
}

body.csb-profile-anime .csb-pagination a,
body.csb-profile-anime .csb-pagination span {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.06);
}

body.csb-profile-anime .csb-pagination .current,
body.csb-profile-anime .csb-pagination a:hover {
  color: #fff;
  background: rgba(var(--csb-active-accent-rgb), 0.24);
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), 0.18);
}

.csb-footer--anime {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(60px, 8vw, 112px) clamp(20px, 5vw, 82px);
  background:
    radial-gradient(circle at 28% 10%, rgba(var(--csb-active-accent-rgb), 0.24), transparent 26rem),
    linear-gradient(180deg, #08060d, #020203);
  color: rgba(255,255,255,0.78);
}

.csb-anime-footer__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.csb-anime-footer-logo__image {
  max-width: min(430px, 80vw);
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(var(--csb-active-accent-rgb), 0.20));
}

.csb-anime-footer-menu .menu,
.csb-anime-footer-menu__list,
.csb-anime-footer-menu__fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.csb-anime-footer-menu li {
  list-style: none;
}

.csb-anime-footer-menu a,
.csb-anime-footer-menu__link {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  background: rgba(255,255,255,0.055);
}

body.csb-ready.csb-profile-anime .csb-anime-seasonal__copy,
body.csb-ready.csb-profile-anime .csb-anime-archive-hero__inner,
body.csb-ready.csb-profile-anime .csb-anime-single-hero__copy,
body.csb-ready.csb-profile-anime .csb-anime-card,
body.csb-ready.csb-profile-anime .csb-anime-section__head {
  animation: csbAnimeRise 640ms cubic-bezier(.2,.9,.2,1) both;
}

body.csb-ready.csb-profile-anime .csb-anime-card:nth-child(2n) { animation-delay: 80ms; }
body.csb-ready.csb-profile-anime .csb-anime-card:nth-child(3n) { animation-delay: 140ms; }

@keyframes csbAnimeRise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1280px) {
  .csb-anime-header__bar {
    grid-template-columns: minmax(180px, 300px) 1fr auto;
  }
  .csb-anime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .csb-anime-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 1100px) {
  body.csb-profile-anime .csb-header--anime {
    padding-left: 12px;
    padding-right: 12px;
  }
  .csb-anime-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 24px;
  }
  .csb-anime-menu,
  .csb-anime-header__tools {
    display: none;
  }
  .csb-anime-mobile-menu {
    display: block;
  }
  .csb-anime-mobile-nav .menu,
  .csb-anime-mobile-nav__list,
  .csb-anime-mobile-nav__fallback {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .csb-anime-mobile-nav li {
    list-style: none;
  }
  .csb-anime-mobile-nav a,
  .csb-anime-mobile-nav__link {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 13px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.07);
  }
}

@media (min-width: 1101px) {
  .csb-anime-mobile-menu {
    display: none;
  }
}

@media (max-width: 860px) {
  body.admin-bar.csb-profile-anime .csb-header--anime {
    top: 46px;
  }
  .csb-anime-logo__image {
    max-width: min(260px, 58vw);
    max-height: 54px;
  }
  .csb-anime-seasonal,
  .csb-anime-archive-hero,
  .csb-anime-single-hero {
    min-height: 100svh;
    padding: clamp(112px, 16vh, 164px) 16px 52px;
  }
  .csb-anime-seasonal__copy,
  .csb-anime-archive-hero__inner,
  .csb-anime-single-hero__copy,
  .csb-anime-post-content {
    padding: 22px;
    border-radius: 24px;
  }
  .csb-anime-seasonal h1,
  .csb-anime-archive-hero h1,
  .csb-anime-single-hero h1 {
    font-size: clamp(2.15rem, 12vw, 4.6rem);
  }
  .csb-anime-section,
  .csb-anime-content-shell {
    width: min(100vw - 28px, 720px);
  }
  .csb-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .csb-anime-card,
  .csb-anime-card--wide {
    grid-column: span 1;
  }
  .csb-anime-card__body {
    padding: 15px;
  }
  .csb-anime-card p {
    display: none;
  }
  .csb-anime-search-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .csb-anime-grid {
    grid-template-columns: 1fr;
  }
  .csb-anime-card__media {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.csb-ready.csb-profile-anime .csb-anime-seasonal__copy,
  body.csb-ready.csb-profile-anime .csb-anime-archive-hero__inner,
  body.csb-ready.csb-profile-anime .csb-anime-single-hero__copy,
  body.csb-ready.csb-profile-anime .csb-anime-card,
  body.csb-ready.csb-profile-anime .csb-anime-section__head,
  .csb-anime-scroll-cue i::before {
    animation: none !important;
  }
  .csb-anime-seasonal__bg,
  .csb-anime-archive-hero__bg,
  .csb-anime-single-hero__bg {
    transform: scale(1.03) !important;
  }
}

/* ===== Anime profile 0.6.1 refinement pass from Rascal live feedback ===== */
body.csb-profile-anime {
  font-family: "Plus Jakarta Sans", "Outfit", Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" 1, "cv05" 1;
  overflow-x: hidden;
}

body.csb-profile-anime h1,
body.csb-profile-anime h2,
body.csb-profile-anime h3,
body.csb-profile-anime h4,
body.csb-profile-anime .csb-anime-menu a,
body.csb-profile-anime .csb-badge,
body.csb-profile-anime .csb-aw-meta-chip {
  font-family: "Outfit", "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

/* Header: keep the content, remove the enclosing frame/pill. */
body.csb-profile-anime .csb-header--anime {
  padding: max(10px, env(safe-area-inset-top)) clamp(16px, 2.5vw, 42px) 0;
}

body.csb-profile-anime .csb-anime-header__bar {
  max-width: min(1900px, calc(100vw - 34px));
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 8px 0;
}

body.csb-profile-anime .csb-anime-logo__image {
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(var(--csb-active-accent-rgb), .15));
}

body.csb-profile-anime .csb-anime-logo--fallback span {
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(var(--csb-active-accent-rgb), .26);
}

body.csb-profile-anime .csb-anime-logo--fallback strong {
  text-shadow: 0 7px 24px rgba(0,0,0,.56);
}

body.csb-profile-anime .csb-anime-menu a,
body.csb-profile-anime .csb-anime-menu__link,
body.csb-profile-anime .csb-anime-menu .menu-item > a {
  min-height: 40px;
  padding: 0 16px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 3px 18px rgba(0,0,0,.62);
}

body.csb-profile-anime .csb-anime-menu a:hover,
body.csb-profile-anime .csb-anime-menu a:focus-visible,
body.csb-profile-anime .csb-anime-menu .current-menu-item > a,
body.csb-profile-anime .csb-anime-menu .current-menu-ancestor > a {
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .32), rgba(255,255,255,.10));
  box-shadow: 0 16px 46px rgba(0,0,0,.26), inset 0 0 0 1px rgba(var(--csb-active-accent-rgb), .33);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

body.csb-profile-anime .csb-anime-menu .sub-menu {
  top: calc(100% + 20px);
  min-width: 260px;
  gap: 6px;
  padding: 14px;
  text-align: center;
  border-color: rgba(var(--csb-active-accent-rgb), .22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19,17,30,.94), rgba(9,8,16,.94));
  box-shadow: 0 28px 80px rgba(0,0,0,.46), 0 0 38px rgba(var(--csb-active-accent-rgb), .12);
}

body.csb-profile-anime .csb-anime-menu .sub-menu a {
  justify-content: center;
  text-align: center;
  white-space: normal;
}

/* Polylang flags: force visible on front even when theme/Elementor CSS tries to normalize images. */
body.csb-profile-anime .csb-lang-switcher,
body.csb-profile-anime .csb-lang-switcher ul,
body.csb-profile-anime .csb-lang-switcher li,
body.csb-profile-anime .csb-lang-switcher a {
  overflow: visible !important;
}

body.csb-profile-anime .csb-lang-switcher img,
body.csb-profile-anime .csb-lang-switcher a img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  object-fit: cover !important;
  border-radius: 3px !important;
  transform: none !important;
}

body.csb-profile-anime .csb-lang-switcher .lang-item a:empty::before {
  content: attr(lang);
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 900;
}

/* Fullscreen heroes with scroll blur and content overlap. */
body.csb-profile-anime .csb-anime-seasonal__bg,
body.csb-profile-anime .csb-anime-archive-hero__bg,
body.csb-profile-anime .csb-anime-single-hero__bg {
  filter: blur(var(--csb-hero-blur, 0px)) saturate(1.08) brightness(var(--csb-hero-brightness, .92));
  transform: translate3d(0, var(--csb-parallax-y, 0px), 0) scale(var(--csb-hero-scale, 1.07));
}

body.csb-profile-anime .csb-anime-seasonal,
body.csb-profile-anime .csb-anime-single-hero,
body.csb-profile-anime .csb-anime-archive-hero--tag {
  min-height: 100svh;
}

@media (min-width: 1025px) {
  body.csb-profile-anime .csb-anime-seasonal {
    min-height: 720px;
    height: 80svh;
    max-height: 880px;
    padding-top: clamp(96px, 11vh, 142px);
    padding-bottom: clamp(34px, 5vh, 64px);
  }
}

body.csb-profile-anime .csb-anime-seasonal__inner {
  width: min(90vw, 1720px);
}

body.csb-profile-anime .csb-anime-seasonal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: clamp(18px, 2.3vw, 34px);
  align-items: stretch;
  width: 100%;
  padding: clamp(20px, 2.4vw, 38px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .20), transparent 32rem),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
    rgba(12,10,18,.60);
  box-shadow: 0 34px 110px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
}

body.csb-profile-anime .csb-anime-seasonal__copy {
  max-width: none;
  margin: 0;
  padding: clamp(8px, 1.5vw, 22px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-align: left;
}

body.csb-profile-anime .csb-anime-seasonal h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  letter-spacing: -.055em;
}

body.csb-profile-anime .csb-anime-seasonal p {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

body.csb-profile-anime .csb-anime-seasonal__meta {
  justify-content: flex-start;
}

body.csb-profile-anime .csb-anime-seasonal__posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(20px, 3vh, 34px);
  max-width: min(940px, 100%);
}

body.csb-profile-anime .csb-anime-seasonal__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 16px 36px rgba(0,0,0,.26);
  transform: translateZ(0) rotate(var(--poster-tilt, 0deg));
}
body.csb-profile-anime .csb-anime-seasonal__poster:nth-child(2n) { --poster-tilt: .6deg; }
body.csb-profile-anime .csb-anime-seasonal__poster:nth-child(3n) { --poster-tilt: -.7deg; }
body.csb-profile-anime .csb-anime-seasonal__poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}
body.csb-profile-anime .csb-anime-seasonal__poster:hover img {
  transform: scale(1.055);
  filter: saturate(1.09) contrast(1.05);
}

body.csb-profile-anime .csb-anime-seasonal__older {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(14px, 1.8vw, 24px);
  border-radius: 30px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.09);
}
body.csb-profile-anime .csb-anime-seasonal__older-title {
  color: rgba(255,255,255,.68);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}
body.csb-profile-anime .csb-anime-seasonal-mini {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  color: #fff;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
body.csb-profile-anime .csb-anime-seasonal-mini:hover {
  transform: translateX(-4px);
  border-color: rgba(var(--csb-active-accent-rgb), .38);
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .16), rgba(255,255,255,.05));
}
body.csb-profile-anime .csb-anime-seasonal-mini__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
body.csb-profile-anime .csb-anime-seasonal-mini__img,
body.csb-profile-anime .csb-anime-seasonal-mini__media i {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body.csb-profile-anime .csb-anime-seasonal-mini__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
body.csb-profile-anime .csb-anime-seasonal-mini__copy strong {
  font-size: clamp(.9rem, 1vw, 1.02rem);
  line-height: 1.08;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.csb-profile-anime .csb-anime-seasonal-mini__copy em {
  color: rgba(255,255,255,.62);
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
}

/* Post cards: poster-first archive layout. */
body.csb-profile-anime .csb-anime-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.csb-profile-anime .csb-anime-card--wide {
  grid-column: span 1;
}
body.csb-profile-anime .csb-anime-card__media {
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 58%),
    rgba(255,255,255,.045);
}
body.csb-profile-anime .csb-anime-card__img {
  object-fit: cover;
  object-position: center top;
}
body.csb-profile-anime .csb-anime-card__body {
  gap: 14px;
}
body.csb-profile-anime .csb-anime-card p {
  font-size: .98rem;
  line-height: 1.7;
}
body.csb-profile-anime .csb-anime-card__read,
body.csb-profile-anime .csb-aw-meta-chip {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .26), rgba(255,255,255,.08)),
    rgba(7,6,12,.48);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .26);
  box-shadow: 0 10px 24px rgba(0,0,0,.24), 0 0 22px rgba(var(--csb-active-accent-rgb), .10);
  font-weight: 900;
}
body.csb-profile-anime .csb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.csb-profile-anime .csb-badge,
body.csb-profile-anime .csb-category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.24), transparent 44%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .40), rgba(255,55,122,.28));
  border: 1px solid rgba(var(--csb-active-accent-rgb), .46);
  box-shadow: 0 12px 30px rgba(var(--csb-active-accent-rgb), .13), inset 0 1px 0 rgba(255,255,255,.14);
}
body.csb-profile-anime .csb-badge--tag {
  color: rgba(255,255,255,.86) !important;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  letter-spacing: .04em;
  text-transform: none;
}

/* Single hero: smaller title, 70% desktop width, richer chips/tags. */
body.csb-profile-anime .csb-anime-single-hero__inner {
  width: min(100%, 1920px);
}
body.csb-profile-anime .csb-anime-single-hero__copy {
  width: min(70vw, 1280px);
  max-width: min(70vw, 1280px);
  padding: clamp(26px, 4vw, 58px);
}
body.csb-profile-anime .csb-anime-single-hero h1 {
  font-size: clamp(2.5rem, 5.1vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
body.csb-profile-anime .csb-anime-single-hero p {
  max-width: 920px;
}
body.csb-profile-anime .csb-anime-single-hero__badges .csb-badges,
body.csb-profile-anime .csb-anime-single-hero__meta {
  justify-content: center;
}

/* Content rides onto hero; wide screens get a wider reading shell. */
body.csb-profile-anime .csb-anime-content-shell,
body.csb-profile-anime .csb-anime-section--archive,
body.csb-profile-anime .csb-anime-section--latest {
  z-index: 4;
}
body.csb-profile-anime .csb-anime-content-shell {
  width: min(1540px, calc(100vw - clamp(28px, 4vw, 92px)));
  margin-top: -15vh;
  padding-top: 0;
}
body.csb-profile-anime .csb-anime-section--archive,
body.csb-profile-anime .csb-anime-section--latest {
  margin-top: -9vh;
  padding-top: 0;
}
body.csb-profile-anime .csb-anime-post-content,
body.csb-profile-anime .csb-comments-shell,
body.csb-profile-anime .csb-related-posts {
  width: min(1180px, 100%);
}
@media (min-width: 1800px) {
  body.csb-profile-anime .csb-anime-content-shell { width: min(1760px, calc(100vw - 120px)); }
  body.csb-profile-anime .csb-anime-post-content,
  body.csb-profile-anime .csb-comments-shell,
  body.csb-profile-anime .csb-related-posts { width: min(1380px, 100%); }
}
@media (min-width: 2300px) {
  body.csb-profile-anime .csb-anime-post-content,
  body.csb-profile-anime .csb-comments-shell,
  body.csb-profile-anime .csb-related-posts { width: min(1520px, 100%); }
}

body.csb-profile-anime .csb-anime-post-content {
  font-size: clamp(1.05rem, .35vw + 1rem, 1.28rem);
  line-height: 1.9;
  letter-spacing: .005em;
}
body.csb-profile-anime .csb-anime-post-content p { margin: 0 0 1.25em; }
body.csb-profile-anime .csb-anime-post-content h2,
body.csb-profile-anime .csb-anime-post-content h3,
body.csb-profile-anime .csb-anime-post-content h4 {
  position: relative;
  margin: 1.9em 0 .8em;
  padding: .15em 0 .25em clamp(18px, 1.6vw, 30px);
  line-height: 1.05;
  text-align: left;
  text-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), .10);
}
body.csb-profile-anime .csb-anime-post-content h2::before,
body.csb-profile-anime .csb-anime-post-content h3::before,
body.csb-profile-anime .csb-anime-post-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  bottom: .05em;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--csb-active-accent), rgba(255,255,255,.36));
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), .45);
}
body.csb-profile-anime .csb-anime-post-content h2::after,
body.csb-profile-anime .csb-anime-post-content h3::after {
  content: "";
  display: block;
  width: min(380px, 52%);
  height: 1px;
  margin-top: .42em;
  background: linear-gradient(90deg, rgba(var(--csb-active-accent-rgb), .72), transparent);
}
body.csb-profile-anime .csb-anime-post-content h2 { font-size: clamp(2rem, 3.3vw, 4rem); }
body.csb-profile-anime .csb-anime-post-content h3 { font-size: clamp(1.55rem, 2.2vw, 2.65rem); }
body.csb-profile-anime .csb-anime-post-content h4 { font-size: clamp(1.25rem, 1.55vw, 2rem); }

/* Modern image/gallery/caption treatment, replacing the old visible bars/loose captions. */
body.csb-profile-anime .csb-anime-post-content figure,
body.csb-profile-anime .csb-anime-post-content .wp-caption {
  border: 0 !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image,
body.csb-profile-anime .csb-anime-post-content .wp-caption,
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(var(--csb-active-accent-rgb), .12), transparent 44%),
    rgba(255,255,255,.045);
  box-shadow: 0 22px 54px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image img,
body.csb-profile-anime .csb-anime-post-content .wp-caption img,
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item img {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none;
  transition: transform 360ms cubic-bezier(.16,1,.3,1), filter 360ms ease;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image:hover img,
body.csb-profile-anime .csb-anime-post-content .wp-caption:hover img,
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure:hover img,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item:hover img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.04);
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(10px, 1.2vw, 18px) !important;
  align-items: stretch;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item {
  width: auto !important;
  margin: 0 !important;
}
body.csb-profile-anime .csb-anime-post-content figcaption,
body.csb-profile-anime .csb-anime-post-content .wp-caption-text,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption {
  position: relative;
  display: block;
  width: auto;
  margin: 0;
  padding: 10px 14px 12px;
  color: rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
  letter-spacing: .015em;
}
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption {
  grid-column: 1 / -1;
  border-radius: 999px;
  margin-top: 4px;
  background: rgba(var(--csb-active-accent-rgb), .10);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .16);
}

/* wpDiscuz / comments — dark AnimeWorld-like styling adapted to Rascal colors. */
body.csb-profile-anime .csb-comments-shell {
  padding: clamp(24px, 4vw, 42px);
  color: rgba(255,255,255,.86);
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 22rem),
    rgba(12,10,18,.72);
  border-color: rgba(var(--csb-active-accent-rgb), .16);
}
body.csb-profile-anime .csb-comments-shell #wpdcom,
body.csb-profile-anime .csb-comments-shell .wpd-thread-wrapper,
body.csb-profile-anime .csb-comments-shell .wpd-form-wrap {
  max-width: 100% !important;
  color: rgba(255,255,255,.86) !important;
}
body.csb-profile-anime .csb-comments-shell :is(h2,h3,.wpd-thread-head,.wpd-form-head,.wpd-comment-author) {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  color: #fff !important;
}
body.csb-profile-anime .csb-comments-shell :is(input,textarea,select) {
  border-radius: 18px !important;
  border-color: rgba(var(--csb-active-accent-rgb), .22) !important;
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
}
body.csb-profile-anime .csb-comments-shell :is(button,input[type="submit"],.wpd_comm_form .wc-field-submit input[type="submit"],.wpd-prim-button) {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--csb-active-accent), #ff4f9a) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 34px rgba(var(--csb-active-accent-rgb), .20) !important;
}

/* Related posts use the same premium poster cards as archives. */
body.csb-profile-anime .csb-anime-related-posts {
  padding: clamp(24px, 4vw, 44px);
}
body.csb-profile-anime .csb-related-posts__head {
  margin-bottom: clamp(22px, 3vw, 36px);
  text-align: left;
}
body.csb-profile-anime .csb-related-posts__head h2 {
  margin: 8px 0 0;
  color: #fff;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
body.csb-profile-anime .csb-anime-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Remove the old editorial/info box completely in Anime profile. */
body.csb-profile-anime .csb-anime-editorial-box,
body.csb-profile-anime .csb-editorial-box { display: none !important; }

/* Seasonal post legacy classes from old Rascal CSS, modernized. */
body.csb-profile-anime .seasonalseriescolumna {
  gap: clamp(10px, 1vw, 16px) !important;
  align-items: stretch !important;
}
body.csb-profile-anime .seasonalblock {
  position: relative;
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .15);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .13), transparent 16rem),
    rgba(255,255,255,.045);
  box-shadow: 0 18px 50px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.08);
}
body.csb-profile-anime .seasonalblock h5,
body.csb-profile-anime .seasonaltitleromaji,
body.csb-profile-anime .seasonaltitlejapanese {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  text-align: center;
}
body.csb-profile-anime .seasonalblock h5 {
  font-size: clamp(1.05rem, 1.4vw, 1.45rem) !important;
  font-weight: 900 !important;
  line-height: 1.05;
  color: #fff;
}
body.csb-profile-anime .seasonaltitlejapanese {
  color: rgba(255,255,255,.76);
  font-weight: 800;
  line-height: 1.12;
}
body.csb-profile-anime .seasonaltitleromaji {
  color: #fff;
  font-weight: 950;
  line-height: 1.05;
}
body.csb-profile-anime .seasonaldescription {
  color: rgba(255,255,255,.80);
  font-size: clamp(1rem, .5vw + .95rem, 1.18rem);
  line-height: 1.75;
}
body.csb-profile-anime .seasonalrate {
  display: inline-flex;
  color: #fff;
  background: rgba(var(--csb-active-accent-rgb), .18);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .24);
  border-radius: 999px;
  padding: 4px 11px;
  font-weight: 900;
}
body.csb-profile-anime .buttonseason,
body.csb-profile-anime .buttonseasons,
body.csb-profile-anime .wp-block-button .buttonseason,
body.csb-profile-anime .wp-block-button .buttonseasons,
body.csb-profile-anime .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button__link.buttonseasons {
  width: 100% !important;
  border-radius: 16px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .25) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .28), rgba(255,255,255,.08)) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}
body.csb-profile-anime .buttonseason:hover,
body.csb-profile-anime .buttonseasons:hover,
body.csb-profile-anime .wp-block-button__link.buttonseason:hover,
body.csb-profile-anime .wp-block-button__link.buttonseasons:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--csb-active-accent), #ff4f9a) !important;
  box-shadow: 0 18px 42px rgba(var(--csb-active-accent-rgb), .22);
}
body.csb-profile-anime .seasonalgallery {
  padding: 16px 0;
}
body.csb-profile-anime .seasonalgallery .blocks-gallery-caption {
  font-weight: 950;
}
body.csb-profile-anime .hrcustom {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .75), transparent);
}
body.csb-profile-anime .notaired { filter: grayscale(1) saturate(.35) opacity(.72) !important; }
body.csb-profile-anime .droppedseries,
body.csb-profile-anime .shortseries,
body.csb-profile-anime .delayedseries {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0,0,0,.34);
}
body.csb-profile-anime .droppedseries::after,
body.csb-profile-anime .shortseries::after,
body.csb-profile-anime .delayedseries::after {
  position: absolute;
  inset: auto 10px 10px 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
body.csb-profile-anime .droppedseries::after { content: "Dropped"; }
body.csb-profile-anime .shortseries::after { content: "Short"; }
body.csb-profile-anime .delayedseries::after { content: "Delayed"; }
body.csb-profile-anime .droppedseries img,
body.csb-profile-anime .shortseries img,
body.csb-profile-anime .delayedseries img { filter: grayscale(.85) blur(.6px) brightness(.72); }
body.csb-profile-anime .imganimeserie { filter: saturate(1.12) contrast(1.08) brightness(.98); }
body.csb-profile-anime .returnlink span { font-size: 1rem !important; font-weight: 900; }

/* Footer redesign with editable logo/social URLs. */
body.csb-profile-anime .csb-footer--anime {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
}
body.csb-profile-anime .csb-anime-footer__glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 460px;
  background: radial-gradient(circle, rgba(var(--csb-active-accent-rgb), .20), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-footer__inner {
  position: relative;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(26px, 4vw, 70px);
  text-align: left;
}
body.csb-profile-anime .csb-anime-footer__brandline {
  display: grid;
  gap: 18px;
}
body.csb-profile-anime .csb-anime-footer__brandline p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}
body.csb-profile-anime .csb-anime-footer__menu {
  justify-self: end;
}
body.csb-profile-anime .csb-anime-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.56);
  font-size: .9rem;
  font-weight: 700;
}
body.csb-profile-anime .csb-anime-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.csb-profile-anime .csb-anime-social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  font-weight: 950;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body.csb-profile-anime .csb-anime-social:hover {
  transform: translateY(-2px);
  background: rgba(var(--csb-active-accent-rgb), .25);
  box-shadow: 0 16px 36px rgba(var(--csb-active-accent-rgb), .18);
}

@media (max-width: 1280px) {
  body.csb-profile-anime .csb-anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.csb-profile-anime .csb-anime-seasonal__panel { grid-template-columns: 1fr; }
  body.csb-profile-anime .csb-anime-seasonal__older { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.csb-profile-anime .csb-anime-seasonal__older-title { grid-column: 1 / -1; }
  body.csb-profile-anime .csb-anime-seasonal-mini { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 0;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__toggle {
    background: rgba(15,14,22,.72);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

@media (max-width: 860px) {
  body.csb-profile-anime .csb-anime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.csb-profile-anime .csb-anime-single-hero__copy {
    width: min(100%, calc(100vw - 28px));
    max-width: min(100%, calc(100vw - 28px));
  }
  body.csb-profile-anime .csb-anime-single-hero h1 { font-size: clamp(2.1rem, 11vw, 4.2rem); }
  body.csb-profile-anime .csb-anime-seasonal__inner { width: min(100vw - 28px, 760px); }
  body.csb-profile-anime .csb-anime-seasonal__copy { text-align: center; }
  body.csb-profile-anime .csb-anime-seasonal p,
  body.csb-profile-anime .csb-anime-seasonal h1 { margin-left: auto; margin-right: auto; }
  body.csb-profile-anime .csb-anime-seasonal__meta { justify-content: center; }
  body.csb-profile-anime .csb-anime-seasonal__posters { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); }
  body.csb-profile-anime .csb-anime-seasonal__older { grid-template-columns: 1fr; }
  body.csb-profile-anime .csb-anime-content-shell,
  body.csb-profile-anime .csb-anime-section--archive,
  body.csb-profile-anime .csb-anime-section--latest { margin-top: -7vh; }
  body.csb-profile-anime .csb-anime-post-content,
  body.csb-profile-anime .csb-comments-shell,
  body.csb-profile-anime .csb-related-posts { width: 100%; }
  body.csb-profile-anime .csb-anime-footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  body.csb-profile-anime .csb-anime-footer__brandline { justify-items: center; }
  body.csb-profile-anime .csb-anime-footer__menu { justify-self: center; }
  body.csb-profile-anime .csb-anime-footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  body.csb-profile-anime .csb-anime-grid { grid-template-columns: 1fr; }
  body.csb-profile-anime .csb-anime-card__media { aspect-ratio: 2 / 3; }
  body.csb-profile-anime .csb-anime-seasonal__posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.csb-profile-anime .hidephoneseasonposter { display: none !important; }
  body.csb-profile-anime .mobile-series-title { display: block; }
}

@media (min-width: 966px) {
  body.csb-profile-anime .mobile-series-title { display: none !important; }
}
body.csb-profile-anime .csb-anime-social svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}


/* === Anime profile 0.6.2 polish pass =====================================
   Feedback fixes: nav egg/glow, seasonal buttons, galleries, anchors,
   tags, comments, related posts, footer, mobile menu and legacy seasonal text. */

body.csb-profile-anime {
  font-family: "Plus Jakarta Sans", "Outfit", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  scroll-padding-top: 112px;
}
body.csb-profile-anime :is(h1,h2,h3,h4,h5,h6),
body.csb-profile-anime :is(.csb-anime-menu a,.csb-badge,.csb-aw-meta-chip,.csb-anime-card h3) {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}
body.csb-profile-anime :is([id], h2, h3, h4, span[id^="more-"]) {
  scroll-margin-top: 118px;
}

/* 1. Restore the floating navbar egg; no extra rectangular frame behind it. */
body.csb-profile-anime .csb-header--anime {
  padding: max(14px, env(safe-area-inset-top)) clamp(14px, 2vw, 34px) 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-header__bar {
  min-height: 78px;
  padding: 10px clamp(14px, 1.6vw, 28px) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .34) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .20), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    rgba(13, 13, 21, .74) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.055) inset,
    0 0 38px rgba(var(--csb-active-accent-rgb), .16),
    0 22px 70px rgba(0,0,0,.36) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
}
body.csb-profile-anime .csb-anime-menu .sub-menu {
  top: calc(100% + 18px) !important;
  min-width: 250px;
  padding: 12px !important;
  border-color: rgba(var(--csb-active-accent-rgb), .26) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 16rem),
    rgba(10, 9, 17, .94) !important;
}
body.csb-profile-anime .csb-anime-menu .sub-menu a {
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
}

/* Polylang flags must stay visible on the public frontend. */
body.csb-profile-anime .csb-lang-switcher,
body.csb-profile-anime .csb-lang-switcher ul,
body.csb-profile-anime .csb-lang-switcher li,
body.csb-profile-anime .csb-lang-switcher a {
  visibility: visible !important;
  opacity: 1 !important;
}
body.csb-profile-anime .csb-lang-switcher img {
  display: block !important;
  width: 22px !important;
  max-width: 22px !important;
  height: auto !important;
  min-height: 14px;
  object-fit: contain;
  filter: none !important;
}
body.csb-profile-anime .csb-lang-switcher__fallback-code {
  color: #fff;
  font-weight: 950;
  letter-spacing: .03em;
}

/* 2. Seasonal PV buttons: separate dark buttons, accent hover only on hovered item. */
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 12px 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: 1 1 min(120px, 32%);
  min-width: min(160px, 100%);
}
body.csb-profile-anime .buttonseason,
body.csb-profile-anime .buttonseasons,
body.csb-profile-anime .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button__link.buttonseasons,
body.csb-profile-anime .wp-block-button.is-style-outline > .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button.is-style-outline > .wp-block-button__link.buttonseasons {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  width: 100% !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  color: rgba(255,255,255,.92) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.035)),
    rgba(9, 8, 14, .78) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.22) !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  letter-spacing: .04em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}
body.csb-profile-anime .buttonseason:hover,
body.csb-profile-anime .buttonseasons:hover,
body.csb-profile-anime .wp-block-button:hover > .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button:hover > .wp-block-button__link.buttonseasons,
body.csb-profile-anime .wp-block-button__link.buttonseason:hover,
body.csb-profile-anime .wp-block-button__link.buttonseasons:hover {
  color: #fff !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .72), rgba(255,79,154,.58)) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .58) !important;
  box-shadow: 0 0 26px rgba(var(--csb-active-accent-rgb), .22), 0 16px 36px rgba(0,0,0,.28) !important;
  transform: translateY(-2px) !important;
}

/* 3. Legacy seasonal text blocks should read like normal continuous text. */
body.csb-profile-anime .seasonalblock,
body.csb-profile-anime .seasonalblock p,
body.csb-profile-anime .seasonaldescription,
body.csb-profile-anime .finalseasonal,
body.csb-profile-anime .finalseasonal p {
  text-align: left !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  word-spacing: normal !important;
  white-space: normal !important;
  line-height: 1.82 !important;
}
body.csb-profile-anime .seasonalblock strong,
body.csb-profile-anime .seasonalblock b,
body.csb-profile-anime .finalseasonal strong,
body.csb-profile-anime .finalseasonal b {
  font-weight: 760 !important;
}
body.csb-profile-anime .finalseasonal {
  margin: clamp(24px, 3vw, 44px) 0 !important;
  padding: clamp(18px, 2.4vw, 30px) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 22rem),
    rgba(255,255,255,.045) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .18) !important;
}

/* 4. Links: no black links and no blue underline. */
body.csb-profile-anime .csb-anime-post-content a:not(.wp-block-button__link):not(.csb-badge),
body.csb-profile-anime .csb-anime-content-shell a:not(.wp-block-button__link):not(.csb-badge),
body.csb-profile-anime .csb-single--anime a:not(.wp-block-button__link):not(.csb-badge) {
  color: rgb(var(--csb-active-accent-rgb)) !important;
  text-decoration-color: rgba(var(--csb-active-accent-rgb), .58) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .22em !important;
}
body.csb-profile-anime .csb-anime-post-content a:hover:not(.wp-block-button__link):not(.csb-badge) {
  color: #fff !important;
  text-decoration-color: rgba(var(--csb-active-accent-rgb), .95) !important;
  text-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .28);
}

/* 5. Gallery: remove stray blue/link bars; integrate captions with cards. */
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery a,
body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item a,
body.csb-profile-anime .csb-anime-post-content figure a {
  display: block !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery a::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery a::after,
body.csb-profile-anime .csb-anime-post-content figure::before,
body.csb-profile-anime .csb-anime-post-content figure::after {
  display: none !important;
  content: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-image,
body.csb-profile-anime .csb-anime-post-content .wp-caption {
  border: 1px solid rgba(255,255,255,.08) !important;
  outline: 0 !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-image img,
body.csb-profile-anime .csb-anime-post-content .wp-caption img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content :is(figcaption,.wp-caption-text,.blocks-gallery-caption) {
  color: rgba(255,255,255,.76) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .10), rgba(255,255,255,.035)) !important;
}

/* 6. More breathing room between seasonal series/rows. */
body.csb-profile-anime .seasonalseriescolumna,
body.csb-profile-anime .wp-block-columns.seasonalseriescolumna {
  gap: clamp(18px, 2vw, 34px) !important;
  margin-block: clamp(24px, 3vw, 48px) !important;
}
body.csb-profile-anime .seasonalblock {
  margin-block: clamp(14px, 2vw, 28px) !important;
}

/* 8. Click feedback for category/tag badges. */
body.csb-profile-anime .csb-badge,
body.csb-profile-anime .csb-category-badge,
body.csb-profile-anime .csb-anime-tax-badges a {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
  cursor: pointer;
}
body.csb-profile-anime .csb-badge:hover,
body.csb-profile-anime .csb-category-badge:hover,
body.csb-profile-anime .csb-anime-tax-badges a:hover {
  transform: translateY(-2px) scale(1.015) !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,.25), transparent 44%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .58), rgba(255,79,154,.34)) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .62) !important;
  box-shadow: 0 0 28px rgba(var(--csb-active-accent-rgb), .25), 0 16px 34px rgba(0,0,0,.22) !important;
}

/* 9. wpDiscuz: remove glaring white fields. */
body.csb-profile-anime #wpdcom textarea,
body.csb-profile-anime #wpdcom input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.csb-profile-anime #wpdcom select,
body.csb-profile-anime #wpdcom .ql-editor,
body.csb-profile-anime #wpdcom .wpd-editor-wrap,
body.csb-profile-anime #wpdcom .wpd-textarea-wrap,
body.csb-profile-anime #wpdcom .wpd-form-row .wpd-field,
body.csb-profile-anime .csb-comments-shell textarea,
body.csb-profile-anime .csb-comments-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  background: rgba(11, 10, 17, .82) !important;
  color: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px rgba(0,0,0,.18) !important;
}
body.csb-profile-anime #wpdcom ::placeholder,
body.csb-profile-anime .csb-comments-shell ::placeholder {
  color: rgba(255,255,255,.46) !important;
}
body.csb-profile-anime #wpdcom .wpd-form-foot,
body.csb-profile-anime #wpdcom .wpd-form-head,
body.csb-profile-anime #wpdcom .wpd-thread-head {
  background: transparent !important;
  border-color: rgba(255,255,255,.10) !important;
}

/* 10. Heading ornaments should use the active accent, not old yellow bars. */
body.csb-profile-anime.single-post h2::after,
body.csb-profile-anime .csb-anime-post-content h2::after,
body.csb-profile-anime .csb-anime-post-content h3::after {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: min(320px, 58%) !important;
  height: 3px !important;
  margin: 16px auto 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .96), rgba(255,79,154,.72), transparent) !important;
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), .24) !important;
}
body.csb-profile-anime .csb-anime-post-content h2,
body.csb-profile-anime .csb-anime-post-content h3,
body.csb-profile-anime .csb-anime-post-content h4 {
  text-align: center !important;
  padding-top: clamp(28px, 4vw, 58px) !important;
  padding-bottom: clamp(16px, 2.2vw, 30px) !important;
}
body.csb-profile-anime .csb-anime-post-content h2::before,
body.csb-profile-anime .csb-anime-post-content h3::before,
body.csb-profile-anime .csb-anime-post-content h4::before {
  background: radial-gradient(circle, rgba(var(--csb-active-accent-rgb), .32), transparent 65%) !important;
}

/* 11. Related posts go full-width while the article text remains readable. */
body.csb-profile-anime .csb-anime-related-posts--wide {
  width: min(1760px, calc(100vw - clamp(24px, 4vw, 84px))) !important;
  max-width: none !important;
  margin: clamp(44px, 6vw, 88px) auto !important;
  padding: clamp(28px, 4vw, 58px) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .14), transparent 26rem),
    rgba(12,10,18,.58) !important;
}
body.csb-profile-anime .csb-anime-related-posts--wide .csb-related-posts__head {
  max-width: 1280px;
  margin-inline: auto;
  text-align: center !important;
}
body.csb-profile-anime .csb-anime-related-posts--wide .csb-anime-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
}

/* 12. Footer: stronger integration with the page and cleaner premium layout. */
body.csb-profile-anime .csb-footer--anime {
  margin-top: clamp(30px, 5vw, 90px) !important;
  padding-top: clamp(70px, 8vw, 130px) !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(var(--csb-active-accent-rgb), .22), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(36,213,255,.10), transparent 28rem),
    linear-gradient(180deg, rgba(9,8,15,0), rgba(9,8,15,.88) 14%, #050408 100%) !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background: linear-gradient(180deg, transparent, rgba(var(--csb-active-accent-rgb), .12), transparent);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-footer__inner {
  width: min(1720px, calc(100vw - clamp(28px, 5vw, 120px))) !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 60px) !important;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(8,7,13,.62);
  box-shadow: 0 24px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
}
body.csb-profile-anime .csb-anime-footer__logo img,
body.csb-profile-anime .csb-anime-footer-logo__image {
  max-width: min(420px, 80vw) !important;
  max-height: 120px !important;
  object-fit: contain;
}
body.csb-profile-anime .csb-anime-footer-menu .menu,
body.csb-profile-anime .csb-anime-footer-menu__list,
body.csb-profile-anime .csb-anime-footer-menu__fallback {
  justify-content: flex-end;
  gap: 10px 12px !important;
}
body.csb-profile-anime .csb-anime-footer-menu a {
  border-radius: 999px !important;
  padding: 10px 16px !important;
  background: rgba(255,255,255,.065) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.82) !important;
  text-decoration: none !important;
}
body.csb-profile-anime .csb-anime-footer-menu a:hover {
  background: rgba(var(--csb-active-accent-rgb), .22) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .34) !important;
  color: #fff !important;
}

/* 14. Mobile menu accent consistency. */
@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-header__bar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    border-radius: 28px !important;
    padding: 10px 12px !important;
  }
  body.csb-profile-anime .csb-anime-menu,
  body.csb-profile-anime .csb-anime-header__tools {
    display: none !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__toggle {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    border-radius: 20px !important;
    color: rgb(var(--csb-active-accent-rgb)) !important;
    border: 1px solid rgba(var(--csb-active-accent-rgb), .42) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .26), transparent 75%),
      rgba(12,11,18,.78) !important;
    box-shadow: 0 0 28px rgba(var(--csb-active-accent-rgb), .18), inset 0 1px 0 rgba(255,255,255,.08) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__toggle > span:not(.csb-mobile-menu__icon) {
    display: none !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(92vw, 430px) !important;
    padding: 16px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(var(--csb-active-accent-rgb), .28) !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .20), transparent 18rem),
      rgba(11,10,18,.94) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 34px rgba(var(--csb-active-accent-rgb), .12) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.16) !important;
    backdrop-filter: blur(20px) saturate(1.16) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-nav .menu,
  body.csb-profile-anime .csb-anime-mobile-nav__list,
  body.csb-profile-anime .csb-anime-mobile-nav__fallback {
    display: grid !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  body.csb-profile-anime .csb-anime-mobile-nav a,
  body.csb-profile-anime .csb-anime-mobile-nav__link,
  body.csb-profile-anime .csb-anime-mobile-nav .menu-item > a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 10px 16px !important;
    border-radius: 16px !important;
    color: rgba(255,255,255,.88) !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 850 !important;
  }
  body.csb-profile-anime .csb-anime-mobile-nav a:hover,
  body.csb-profile-anime .csb-anime-mobile-nav .current-menu-item > a {
    color: #fff !important;
    background: rgba(var(--csb-active-accent-rgb), .22) !important;
    border-color: rgba(var(--csb-active-accent-rgb), .34) !important;
  }
  body.csb-profile-anime .csb-mobile-menu__langs {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 12px !important;
  }
}

@media (max-width: 560px) {
  body.csb-profile-anime .csb-anime-header__logo .csb-anime-logo__image {
    max-width: min(230px, 62vw) !important;
  }
  body.csb-profile-anime .csb-anime-logo--fallback strong {
    font-size: clamp(1.35rem, 7vw, 2rem) !important;
  }
  body.csb-profile-anime .csb-anime-logo--fallback span {
    width: 50px !important;
    height: 50px !important;
    border-radius: 18px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-button {
    flex-basis: calc(50% - 6px) !important;
    min-width: 0 !important;
  }
}


/* === Anime profile 0.6.3 repair pass =====================================
   Fixes: full-height heroes, hero/content overlap, seasonal older count,
   cleaner navbar egg, better collapse breakpoints, accent pagination,
   native spoiler styling, language flags URLs, PV button row layout,
   archive/home/footer cohesion, gallery column preservation. */

body.csb-profile-anime {
  scroll-padding-top: 118px;
}

/* Desktop header: keep only the floating logo/menu/search composition, no giant pill behind. */
body.csb-profile-anime .csb-header--anime {
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 2vw, 36px) 0 !important;
}
body.csb-profile-anime .csb-anime-header__bar {
  max-width: min(1900px, calc(100vw - 38px)) !important;
  min-height: 76px;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.csb-profile-anime .csb-anime-header__logo,
body.csb-profile-anime .csb-anime-menu,
body.csb-profile-anime .csb-anime-header__tools {
  position: relative;
  z-index: 1;
}
body.csb-profile-anime .csb-anime-menu a,
body.csb-profile-anime .csb-anime-menu__link,
body.csb-profile-anime .csb-anime-menu .menu-item > a {
  text-shadow: 0 4px 18px rgba(0,0,0,.48);
}
body.csb-profile-anime .csb-anime-search-toggle,
body.csb-profile-anime .csb-lang-switcher a,
body.csb-profile-anime .csb-lang-switcher .current-lang > a {
  border-color: rgba(var(--csb-active-accent-rgb), .26) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 22px rgba(var(--csb-active-accent-rgb), .12) !important;
}

/* Full-height heroes, clearly separated from following content. */
body.csb-profile-anime .csb-anime-seasonal,
body.csb-profile-anime .csb-anime-single-hero,
body.csb-profile-anime .csb-anime-archive-hero--tag,
body.csb-profile-anime .csb-anime-archive-hero--category,
body.csb-profile-anime .csb-anime-archive-hero--search {
  min-height: 100svh !important;
}
body.csb-profile-anime .csb-anime-seasonal {
  height: 100svh !important;
  max-height: none !important;
  padding-top: clamp(118px, 14vh, 166px) !important;
  padding-bottom: clamp(62px, 10vh, 120px) !important;
}
body.csb-profile-anime .csb-anime-single-hero {
  padding-top: clamp(120px, 14vh, 170px) !important;
  padding-bottom: clamp(92px, 14vh, 150px) !important;
}
body.csb-profile-anime .csb-anime-archive-hero--category,
body.csb-profile-anime .csb-anime-archive-hero--search {
  padding-bottom: clamp(84px, 12vh, 130px) !important;
}
body.csb-profile-anime .csb-anime-seasonal__inner,
body.csb-profile-anime .csb-anime-single-hero__inner,
body.csb-profile-anime .csb-anime-archive-hero__inner {
  position: relative;
  z-index: 2;
}
body.csb-profile-anime .csb-anime-content-shell {
  position: relative;
  z-index: 5;
  margin-top: -13vh !important;
  padding-top: clamp(18px, 3vw, 34px) !important;
}
body.csb-profile-anime .csb-anime-section--latest,
body.csb-profile-anime .csb-anime-section--archive {
  position: relative;
  z-index: 5;
  margin-top: -10vh !important;
  padding-top: clamp(16px, 2.6vw, 28px) !important;
}
body.csb-profile-anime .csb-anime-post-content,
body.csb-profile-anime .csb-comments-shell,
body.csb-profile-anime .csb-related-posts,
body.csb-profile-anime .csb-anime-section--latest > *,
body.csb-profile-anime .csb-anime-section--archive > * {
  position: relative;
  z-index: 1;
}

/* Seasonal hero layout. */
body.csb-profile-anime .csb-anime-seasonal__older {
  grid-template-columns: 1fr !important;
}
body.csb-profile-anime .csb-anime-seasonal__posters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Grids collapse earlier to avoid stretched cards. */
@media (max-width: 1450px) {
  body.csb-profile-anime .csb-anime-grid,
  body.csb-profile-anime .csb-anime-related-posts--wide .csb-anime-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 980px) {
  body.csb-profile-anime .csb-anime-grid,
  body.csb-profile-anime .csb-anime-related-posts--wide .csb-anime-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-grid,
  body.csb-profile-anime .csb-anime-related-posts--wide .csb-anime-related-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Pagination: remove cyan/blue palette and black current text. */
body.csb-profile-anime .csb-pagination__inner {
  border-color: rgba(var(--csb-active-accent-rgb), .22) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    rgba(10, 9, 16, .76) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
body.csb-profile-anime .csb-pagination .page-numbers {
  color: rgba(255,255,255,.86) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .18) !important;
  background: rgba(255,255,255,.05) !important;
}
body.csb-profile-anime .csb-pagination a.page-numbers::before {
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .34), rgba(255,79,154,.26)) !important;
}
body.csb-profile-anime .csb-pagination a.page-numbers:hover,
body.csb-profile-anime .csb-pagination a.page-numbers:focus-visible {
  color: #fff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .42) !important;
  box-shadow: 0 14px 34px rgba(var(--csb-active-accent-rgb), .16), 0 0 26px rgba(var(--csb-active-accent-rgb), .12) !important;
}
body.csb-profile-anime .csb-pagination .page-numbers.current {
  color: #fff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .55) !important;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .92), rgba(255,79,154,.86)) !important;
  box-shadow: 0 16px 44px rgba(var(--csb-active-accent-rgb), .22), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
body.csb-profile-anime .csb-pagination .page-numbers.dots {
  color: rgba(255,255,255,.46) !important;
}

/* Native spoiler shortcode. */
body.csb-profile-anime .csb-native-spoiler {
  margin: clamp(22px, 3vw, 34px) 0 !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .22) !important;
  border-radius: 26px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 22rem),
    rgba(16, 14, 24, .82) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}
body.csb-profile-anime .csb-native-spoiler__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  color: #fff;
  cursor: pointer;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.4vw, 1.38rem);
  font-weight: 900;
}
body.csb-profile-anime .csb-native-spoiler__summary::-webkit-details-marker { display: none; }
body.csb-profile-anime .csb-native-spoiler__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--csb-active-accent);
  box-shadow: 0 0 20px rgba(var(--csb-active-accent-rgb), .6);
  flex: 0 0 auto;
}
body.csb-profile-anime .csb-native-spoiler__chevron {
  margin-left: auto;
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255,255,255,.86);
  border-bottom: 2px solid rgba(255,255,255,.86);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
body.csb-profile-anime details[open].csb-native-spoiler .csb-native-spoiler__chevron {
  transform: rotate(225deg);
}
body.csb-profile-anime .csb-native-spoiler__content {
  padding: 0 22px 22px;
  color: rgba(255,255,255,.84);
}
body.csb-profile-anime .csb-native-spoiler__content > :last-child { margin-bottom: 0; }

/* Headings: more elegant, less awkward. */
body.csb-profile-anime .csb-anime-post-content h2,
body.csb-profile-anime .csb-anime-post-content h3,
body.csb-profile-anime .csb-anime-post-content h4 {
  text-align: left !important;
  padding: 0 0 .22em 0 !important;
  margin-top: 1.85em !important;
  margin-bottom: .75em !important;
}
body.csb-profile-anime .csb-anime-post-content h2::before,
body.csb-profile-anime .csb-anime-post-content h3::before,
body.csb-profile-anime .csb-anime-post-content h4::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
  bottom: -.08em !important;
  width: min(220px, 48%) !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(var(--csb-active-accent-rgb), .96), rgba(255,79,154,.7), transparent) !important;
  box-shadow: 0 0 20px rgba(var(--csb-active-accent-rgb), .18) !important;
}
body.csb-profile-anime .csb-anime-post-content h2::after,
body.csb-profile-anime .csb-anime-post-content h3::after,
body.csb-profile-anime .csb-anime-post-content h4::after {
  display: none !important;
}

/* Preserve Gutenberg gallery column count instead of auto-forcing. */
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images {
  display: grid !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-1,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-2,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-3,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-4,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-5,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-6,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery:not([class*="columns-"]),
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images:not([class*="columns-"]) {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery .blocks-gallery-grid {
  display: contents !important;
}

/* PV buttons: one row, white text, shrink gracefully. */
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  align-items: stretch;
  justify-content: flex-start !important;
  gap: 10px !important;
  scrollbar-width: thin;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
body.csb-profile-anime .buttonseason,
body.csb-profile-anime .buttonseasons,
body.csb-profile-anime .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button__link.buttonseasons {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(.68rem, .55vw + .58rem, .92rem) !important;
  color: #fff !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.03)),
    rgba(8,7,13,.88) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.24) !important;
}
body.csb-profile-anime .wp-block-button:hover > .wp-block-button__link.buttonseason,
body.csb-profile-anime .wp-block-button:hover > .wp-block-button__link.buttonseasons,
body.csb-profile-anime .wp-block-button__link.buttonseason:hover,
body.csb-profile-anime .wp-block-button__link.buttonseasons:hover {
  color: #fff !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .68), rgba(255,79,154,.54)) !important;
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), .18), 0 16px 30px rgba(0,0,0,.28) !important;
}

/* Recommendation / legacy highlight boxes: content-first styling, not aggressive typography tricks. */
body.csb-profile-anime .csb-anime-post-content [class*="polecam"],
body.csb-profile-anime .csb-anime-post-content [class*="firstep"],
body.csb-profile-anime .csb-anime-post-content [class*="pierwsz"] {
  border-radius: 26px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .22) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 22rem),
    rgba(74, 18, 58, .28) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
body.csb-profile-anime .csb-anime-post-content [class*="polecam"] :is(p,span,strong,b,em),
body.csb-profile-anime .csb-anime-post-content [class*="firstep"] :is(p,span,strong,b,em),
body.csb-profile-anime .csb-anime-post-content [class*="pierwsz"] :is(p,span,strong,b,em) {
  color: rgba(255,255,255,.92) !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  white-space: normal !important;
  font-weight: 650 !important;
  line-height: 1.72 !important;
  text-shadow: none !important;
}

/* Footer integration. */
body.csb-profile-anime .csb-footer--anime {
  margin-top: clamp(40px, 6vw, 84px) !important;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 70px) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 28rem),
    linear-gradient(180deg, rgba(9,8,15,0), rgba(9,8,15,.5) 12%, #050408 42%, #040308 100%) !important;
}
body.csb-profile-anime .csb-footer--anime::before { display: none !important; }
body.csb-profile-anime .csb-anime-footer__glow {
  inset: -18% -12% auto;
  height: 220px;
  opacity: .78;
}
body.csb-profile-anime .csb-anime-footer__inner {
  width: min(1640px, calc(100vw - clamp(26px, 4vw, 86px))) !important;
  gap: clamp(24px, 3vw, 44px) !important;
}
body.csb-profile-anime .csb-anime-footer__brandline p {
  max-width: 700px;
}

/* Mobile: keep only the burger egg, panel full width, no cyan accents. */
@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-header__bar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 4px 0 !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__toggle {
    width: 64px !important;
    min-width: 64px !important;
    height: 64px !important;
    border-radius: 24px !important;
    color: rgb(var(--csb-active-accent-rgb)) !important;
    border: 1px solid rgba(var(--csb-active-accent-rgb), .44) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .28), transparent 76%),
      rgba(12,11,18,.84) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.26), 0 0 24px rgba(var(--csb-active-accent-rgb), .16) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    position: fixed !important;
    top: calc(max(14px, env(safe-area-inset-top)) + 82px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    padding: 18px !important;
    border-radius: 30px !important;
    border-color: rgba(var(--csb-active-accent-rgb), .26) !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 20rem),
      rgba(10,9,16,.96) !important;
  }
  body.csb-profile-anime .csb-mobile-menu__langs {
    margin-bottom: 14px !important;
  }
  body.csb-profile-anime .csb-anime-mobile-nav a,
  body.csb-profile-anime .csb-anime-mobile-nav__link,
  body.csb-profile-anime .csb-anime-mobile-nav .menu-item > a {
    min-height: 52px !important;
    color: rgba(255,255,255,.92) !important;
    background: rgba(255,255,255,.045) !important;
    border-color: rgba(255,255,255,.09) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-nav a:hover,
  body.csb-profile-anime .csb-anime-mobile-nav .current-menu-item > a {
    background: rgba(var(--csb-active-accent-rgb), .20) !important;
    border-color: rgba(var(--csb-active-accent-rgb), .34) !important;
  }
  body.csb-profile-anime .csb-anime-section--latest,
  body.csb-profile-anime .csb-anime-section--archive,
  body.csb-profile-anime .csb-anime-content-shell {
    margin-top: -7.5vh !important;
  }
  body.csb-profile-anime .csb-anime-seasonal__posters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  body.csb-profile-anime .csb-anime-seasonal,
  body.csb-profile-anime .csb-anime-single-hero,
  body.csb-profile-anime .csb-anime-archive-hero--tag,
  body.csb-profile-anime .csb-anime-archive-hero--category,
  body.csb-profile-anime .csb-anime-archive-hero--search {
    min-height: 100svh !important;
    height: auto !important;
  }
  body.csb-profile-anime .csb-anime-seasonal__copy,
  body.csb-profile-anime .csb-anime-seasonal h1,
  body.csb-profile-anime .csb-anime-seasonal p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.csb-profile-anime .csb-anime-seasonal__meta { justify-content: center !important; }
}
@media (max-width: 560px) {
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    left: 8px !important;
    right: 8px !important;
    width: calc(100vw - 16px) !important;
    border-radius: 26px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center {
    gap: 8px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons,
  body.csb-profile-anime .buttonseason,
  body.csb-profile-anime .buttonseasons {
    min-height: 42px !important;
    padding-inline: 10px !important;
    font-size: clamp(.62rem, 2.7vw, .78rem) !important;
  }
  body.csb-profile-anime .csb-anime-seasonal__posters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* === Anime profile 0.6.4 correction pass ==================================
   Real fixes for Rascal live feedback: restore navbar egg, no AI-blue leftovers,
   sticky hero layering, mobile excerpts, native seasonal overlays, no reveal
   option, better floated images, smaller headings, stronger archive blur. */

body.csb-profile-anime {
  --csb-anime-blue-kill: var(--csb-active-accent);
  scroll-padding-top: 118px;
}

/* Settings toggle: disable only Anime/content reveal loading, not unrelated hover/UI animations. */
body.csb-profile-anime.csb-anime-no-reveal .csb-reveal,
body.csb-profile-anime.csb-anime-no-reveal .csb-reveal.is-visible,
body.csb-profile-anime.csb-anime-no-reveal .csb-post-content > *,
body.csb-profile-anime.csb-anime-no-reveal .csb-anime-post-content > *,
body.csb-profile-anime.csb-anime-no-reveal .csb-card,
body.csb-profile-anime.csb-anime-no-reveal .csb-section__head,
body.csb-profile-anime.csb-anime-no-reveal .csb-anime-card,
body.csb-profile-anime.csb-anime-no-reveal .csb-anime-section__head {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  animation-name: none !important;
  transition-delay: 0ms !important;
}

/* Kill inherited AI Brief Desk cyan/blue visual accents inside Anime profile. */
body.csb-profile-anime .csb-kicker,
body.csb-profile-anime .csb-badge,
body.csb-profile-anime .csb-category-badge,
body.csb-profile-anime .csb-aw-meta-chip,
body.csb-profile-anime .csb-lang-switcher a,
body.csb-profile-anime .csb-anime-search-toggle,
body.csb-profile-anime .csb-mobile-menu__toggle,
body.csb-profile-anime .csb-pagination__inner,
body.csb-profile-anime .csb-pagination .page-numbers {
  --csb-cyan: var(--csb-active-accent) !important;
  --csb-violet: #ff4f9a !important;
}
body.csb-profile-anime .csb-kicker {
  color: color-mix(in srgb, var(--csb-active-accent) 82%, white 18%) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .32) !important;
}
body.csb-profile-anime .csb-kicker::before {
  background: var(--csb-active-accent) !important;
  box-shadow: 0 0 22px rgba(var(--csb-active-accent-rgb), .72) !important;
}

/* Navbar: restore the nice glass egg around the whole menu; no full-width strip behind it. */
body.csb-profile-anime .csb-header--anime {
  pointer-events: none !important;
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 2.2vw, 42px) 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-header__bar {
  pointer-events: auto !important;
  min-height: 78px !important;
  max-width: min(1880px, calc(100vw - 56px)) !important;
  margin: 0 auto !important;
  padding: 10px clamp(16px, 1.7vw, 30px) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .30) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--csb-active-accent-rgb), .20), transparent 19rem),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    rgba(11, 10, 18, .72) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.34),
    0 0 38px rgba(var(--csb-active-accent-rgb), .14),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
}
body.csb-profile-anime .csb-anime-menu a:hover,
body.csb-profile-anime .csb-anime-menu .current-menu-item > a,
body.csb-profile-anime .csb-anime-menu .current-menu-ancestor > a {
  background: rgba(var(--csb-active-accent-rgb), .20) !important;
  box-shadow: 0 0 28px rgba(var(--csb-active-accent-rgb), .16), inset 0 0 0 1px rgba(var(--csb-active-accent-rgb), .30) !important;
}

/* Hero/content layering: hero remains a real layer; content scrolls over it. */
body.csb-profile-anime .csb-home--anime,
body.csb-profile-anime .csb-single--anime,
body.csb-profile-anime .csb-archive--anime {
  overflow: visible !important;
  overflow-x: clip !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--csb-active-accent-rgb), .12), transparent 34rem),
    linear-gradient(180deg, #09070f, #08070e 42%, #07060c 100%) !important;
}
body.csb-profile-anime .csb-anime-seasonal,
body.csb-profile-anime .csb-anime-single-hero,
body.csb-profile-anime .csb-anime-archive-hero {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  min-height: 100svh !important;
}
body.csb-profile-anime .csb-anime-section--latest,
body.csb-profile-anime .csb-anime-section--archive,
body.csb-profile-anime .csb-anime-content-shell {
  z-index: 5 !important;
}
body.csb-profile-anime .csb-anime-section--latest::after,
body.csb-profile-anime .csb-anime-section--archive::after,
body.csb-profile-anime .csb-anime-content-shell::after {
  content: "";
  position: absolute;
  inset: -8vh calc(50% - 50vw) auto;
  height: calc(100% + 20vh);
  z-index: -2;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .10), transparent 38rem),
    linear-gradient(180deg, rgba(8,7,13,.82), #08070e 12%, #07060c 100%);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-content-shell {
  margin-top: -16vh !important;
  padding-top: clamp(28px, 4vw, 52px) !important;
}
body.csb-profile-anime .csb-anime-section--latest,
body.csb-profile-anime .csb-anime-section--archive {
  margin-top: -14vh !important;
  padding-top: clamp(28px, 4vw, 56px) !important;
}

/* Hero background blur: archives/tags can use lower-res images, so smooth them harder. */
body.csb-profile-anime .csb-anime-archive-hero__bg {
  filter: blur(calc(var(--csb-hero-blur, 0px) + 5px)) saturate(1.04) brightness(var(--csb-hero-brightness, .80)) !important;
  transform: translate3d(0, var(--csb-parallax-y, 0px), 0) scale(calc(var(--csb-hero-scale, 1.07) + .035)) !important;
}
body.csb-profile-anime .csb-anime-seasonal__bg,
body.csb-profile-anime .csb-anime-single-hero__bg {
  filter: blur(calc(var(--csb-hero-blur, 0px) + 1.5px)) saturate(1.06) brightness(var(--csb-hero-brightness, .88)) !important;
}

/* Single hero scroll cue: no more broken/overlapping "Czytaj" in the chip row. */
body.csb-profile-anime .csb-anime-single-hero__inner {
  display: grid !important;
  justify-items: center !important;
  gap: 18px !important;
}
body.csb-profile-anime .csb-anime-scroll-cue {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin-top: 6px !important;
  z-index: 4 !important;
}

/* Mobile one-column cards must keep the manual excerpt visible. */
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-card p {
    display: block !important;
    font-size: .98rem !important;
    line-height: 1.62 !important;
  }
}

/* Gallery: keep intended row count but let incomplete last rows stretch to the full width. */
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"],
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"] > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] > figure.wp-block-image {
  min-width: min(170px, 100%) !important;
  flex-grow: 1 !important;
  max-width: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-2 > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-2 > figure.wp-block-image { flex-basis: calc(50% - 18px) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-3 > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-3 > figure.wp-block-image { flex-basis: calc(33.333% - 18px) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-4 > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-4 > figure.wp-block-image { flex-basis: calc(25% - 18px) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-5 > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-5 > figure.wp-block-image { flex-basis: calc(20% - 18px) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-6 > *,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-6 > figure.wp-block-image { flex-basis: calc(16.666% - 18px) !important; }
body.csb-profile-anime .csb-anime-post-content .wp-block-gallery .blocks-gallery-caption,
body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figcaption {
  flex: 0 0 100% !important;
}

/* Floated poster/image in article intro: thinner frame, centered image, better text breathing room. */
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft,
body.csb-profile-anime .csb-anime-post-content figure.alignleft,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft {
  margin: .35em clamp(26px, 3.5vw, 52px) 1.15em 0 !important;
  padding: 1px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.035) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.18) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignright,
body.csb-profile-anime .csb-anime-post-content figure.alignright,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignright {
  margin: .35em 0 1.15em clamp(26px, 3.5vw, 52px) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft img,
body.csb-profile-anime .csb-anime-post-content figure.alignleft img,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft img {
  display: block !important;
  margin-inline: auto !important;
}

/* Slightly smaller headings. */
body.csb-profile-anime .csb-anime-post-content h2 { font-size: clamp(1.75rem, 2.65vw, 3.25rem) !important; }
body.csb-profile-anime .csb-anime-post-content h3 { font-size: clamp(1.38rem, 1.95vw, 2.25rem) !important; }
body.csb-profile-anime .csb-anime-post-content h4 { font-size: clamp(1.16rem, 1.35vw, 1.68rem) !important; }

/* Legacy seasonal status labels as real DOM overlays, not missing PNG backgrounds. */
body.csb-profile-anime .droppedseries,
body.csb-profile-anime .shortseries,
body.csb-profile-anime .delayedseries,
body.csb-profile-anime .notaired {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}
body.csb-profile-anime .droppedseries img,
body.csb-profile-anime .shortseries img,
body.csb-profile-anime .delayedseries img,
body.csb-profile-anime .notaired img {
  filter: grayscale(.78) blur(1.8px) brightness(.58) saturate(.55) !important;
  transform: scale(1.03);
}
body.csb-profile-anime .csb-season-status-overlay {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 6;
  transform: translate(-50%, -50%) rotate(-9deg);
  display: inline-grid;
  place-items: center;
  min-width: 72%;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid rgba(255,255,255,.70);
  border-radius: 999px;
  color: #fff;
  background: rgba(var(--csb-active-accent-rgb), .46);
  box-shadow: 0 18px 44px rgba(0,0,0,.35), 0 0 28px rgba(var(--csb-active-accent-rgb), .22);
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
  backdrop-filter: blur(10px) saturate(1.18);
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(.85rem, 1.15vw, 1.25rem);
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.48);
  pointer-events: none;
}

/* Recommendation blocks: remove previous overbearing treatment, keep only readable text. */
body.csb-profile-anime .csb-anime-post-content [class*="polecam"],
body.csb-profile-anime .csb-anime-post-content [class*="firstep"],
body.csb-profile-anime .csb-anime-post-content [class*="pierwsz"] {
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  white-space: normal !important;
}
body.csb-profile-anime .csb-anime-post-content [class*="polecam"] :is(p,span,strong,b,em),
body.csb-profile-anime .csb-anime-post-content [class*="firstep"] :is(p,span,strong,b,em),
body.csb-profile-anime .csb-anime-post-content [class*="pierwsz"] :is(p,span,strong,b,em) {
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  white-space: normal !important;
  line-height: 1.72 !important;
}

/* Mobile menu: egg button plus full-width dropdown, category accent only. */
@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-header__bar {
    max-width: min(100%, calc(100vw - 24px)) !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 10px 12px !important;
    border-radius: 28px !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__toggle {
    color: rgb(var(--csb-active-accent-rgb)) !important;
    border-color: rgba(var(--csb-active-accent-rgb), .46) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .28), transparent 74%),
      rgba(12,11,18,.84) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__icon,
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__icon::before,
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__icon::after {
    background: currentColor !important;
    box-shadow: 0 0 14px rgba(var(--csb-active-accent-rgb), .30) !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    border-color: rgba(var(--csb-active-accent-rgb), .30) !important;
  }
}

/* Footer: calmer transition, no odd floating strip. */
body.csb-profile-anime .csb-footer--anime {
  margin-top: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 30rem),
    linear-gradient(180deg, rgba(8,7,14,.94), #050408 40%, #030206 100%) !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  border-color: rgba(var(--csb-active-accent-rgb), .14) !important;
}


/* === Anime profile 0.6.5 layout repair pass ===============================
   Main goal: stop accidental hero/section collisions, keep the navbar egg only,
   restore clear home/single separation, add anime_single_page alias, and make
   footer/cards behave on mobile. */

/* No full-width haze behind the navbar. Only the internal egg/bar may blur. */
body.csb-profile-anime .csb-header--anime,
body.csb-profile-anime .csb-header--anime::before,
body.csb-profile-anime .csb-header--anime::after {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.csb-profile-anime .csb-header--anime {
  pointer-events: none !important;
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 2vw, 40px) 0 !important;
}
body.csb-profile-anime .csb-anime-header__bar {
  pointer-events: auto !important;
  width: min(1880px, calc(100vw - clamp(28px, 4vw, 72px))) !important;
  max-width: min(1880px, calc(100vw - clamp(28px, 4vw, 72px))) !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 10px clamp(18px, 1.8vw, 32px) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .30) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--csb-active-accent-rgb), .20), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    rgba(10, 9, 17, .76) !important;
  box-shadow:
    0 18px 56px rgba(0,0,0,.34),
    0 0 34px rgba(var(--csb-active-accent-rgb), .14),
    inset 0 1px 0 rgba(255,255,255,.13) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
}

/* Heroes are independent sections again; no sticky overlay cutting the home page. */
body.csb-profile-anime .csb-anime-seasonal,
body.csb-profile-anime .csb-anime-single-hero,
body.csb-profile-anime .csb-anime-archive-hero {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  min-height: 100svh !important;
  overflow: hidden !important;
}
body.csb-profile-anime .csb-anime-seasonal {
  height: auto !important;
  max-height: none !important;
  padding-top: clamp(122px, 14vh, 174px) !important;
  padding-bottom: clamp(78px, 12vh, 142px) !important;
  margin-bottom: 0 !important;
}
body.csb-profile-anime .csb-anime-single-hero {
  padding-top: clamp(124px, 14vh, 176px) !important;
  padding-bottom: clamp(104px, 14vh, 168px) !important;
}
body.csb-profile-anime .csb-anime-seasonal::after,
body.csb-profile-anime .csb-anime-single-hero::after,
body.csb-profile-anime .csb-anime-archive-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(92px, 13vh, 170px);
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,7,13,0), rgba(8,7,13,.78) 58%, #08070e 100%);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-seasonal__inner,
body.csb-profile-anime .csb-anime-single-hero__inner,
body.csb-profile-anime .csb-anime-archive-hero__inner {
  position: relative;
  z-index: 2;
}

/* Main sections start as their own layer with an explicit separator, not smashed into hero. */
body.csb-profile-anime .csb-anime-section,
body.csb-profile-anime .csb-anime-content-shell {
  background: transparent !important;
}
body.csb-profile-anime .csb-home--anime .csb-anime-section--latest,
body.csb-profile-anime .csb-archive--anime .csb-anime-section--archive {
  margin-top: 0 !important;
  padding-top: clamp(70px, 8vw, 122px) !important;
}
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell {
  margin-top: 0 !important;
  padding-top: clamp(54px, 7vw, 108px) !important;
}
body.csb-profile-anime .csb-anime-section--latest::after,
body.csb-profile-anime .csb-anime-section--archive::after,
body.csb-profile-anime .csb-anime-content-shell::after {
  display: none !important;
  content: none !important;
}
body.csb-profile-anime .csb-anime-section--latest::before,
body.csb-profile-anime .csb-anime-section--archive::before,
body.csb-profile-anime .csb-anime-content-shell::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 calc(50% - 50vw) auto !important;
  width: auto !important;
  height: 160px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 38rem),
    linear-gradient(180deg, rgba(var(--csb-active-accent-rgb), .08), rgba(8,7,14,0) 72%) !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
}

/* Post content card: image text spacing and less heavy image border. */
body.csb-profile-anime .csb-anime-post-content {
  position: relative !important;
  z-index: 2 !important;
  padding: clamp(26px, 4vw, 58px) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft,
body.csb-profile-anime .csb-anime-post-content figure.alignleft,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft {
  margin: .4em clamp(34px, 4vw, 64px) 1.35em 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.075) !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.16) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft + p,
body.csb-profile-anime .csb-anime-post-content figure.alignleft + p,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft + p {
  padding-left: clamp(6px, 1vw, 16px) !important;
}

/* Move badges to the bottom area of cards and hero copy. */
body.csb-profile-anime .csb-anime-card__body {
  display: flex !important;
  flex-direction: column !important;
}
body.csb-profile-anime .csb-anime-card__badges {
  order: 20 !important;
  margin-top: auto !important;
}
body.csb-profile-anime .csb-anime-single-hero__copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
body.csb-profile-anime .csb-anime-single-hero__badges {
  order: 20 !important;
  margin-top: 16px !important;
}
body.csb-profile-anime .csb-anime-single-hero__meta {
  order: 19 !important;
}
body.csb-profile-anime .csb-anime-single-hero h1 { order: 2 !important; }
body.csb-profile-anime .csb-anime-single-hero p { order: 3 !important; }

/* Fix broken scroll cue spacing. */
body.csb-profile-anime .csb-anime-scroll-cue {
  margin-top: 22px !important;
  color: rgba(255,255,255,.72) !important;
}
body.csb-profile-anime .csb-anime-scroll-cue span {
  display: block !important;
  line-height: 1 !important;
}

/* Mobile archive/home cards: when collapsed to one column, avoid giant poster-height cards. */
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-card__media {
    aspect-ratio: 16 / 10 !important;
    max-height: 360px !important;
  }
  body.csb-profile-anime .csb-anime-card__img {
    object-position: center !important;
  }
  body.csb-profile-anime .csb-anime-card p {
    display: block !important;
  }
}

/* Headings a touch smaller. */
body.csb-profile-anime .csb-anime-post-content h2 { font-size: clamp(1.65rem, 2.35vw, 2.95rem) !important; }
body.csb-profile-anime .csb-anime-post-content h3 { font-size: clamp(1.30rem, 1.75vw, 2.05rem) !important; }

/* Footer: remove the giant floating slab look and make it a clean integrated closing section. */
body.csb-profile-anime .csb-footer--anime {
  position: relative !important;
  overflow: visible !important;
  margin-top: clamp(40px, 6vw, 86px) !important;
  padding: 0 clamp(18px, 4vw, 76px) clamp(40px, 5vw, 74px) !important;
  background:
    linear-gradient(180deg, rgba(8,7,14,0), rgba(8,7,14,.74) 18%, #050408 100%) !important;
  border-top: 0 !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  content: "" !important;
  display: block !important;
  width: min(1720px, calc(100vw - clamp(36px, 6vw, 132px))) !important;
  height: 1px !important;
  margin: 0 auto clamp(22px, 3vw, 42px) !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .46), transparent) !important;
}
body.csb-profile-anime .csb-anime-footer__glow {
  display: none !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  width: min(1720px, calc(100vw - clamp(36px, 6vw, 132px))) !important;
  padding: clamp(24px, 3vw, 44px) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.1fr) minmax(280px, .9fr) !important;
  gap: clamp(28px, 5vw, 82px) !important;
  align-items: center !important;
}
body.csb-profile-anime .csb-anime-footer__brandline {
  gap: 14px !important;
}
body.csb-profile-anime .csb-anime-footer__brandline p {
  max-width: 740px !important;
  color: rgba(255,255,255,.68) !important;
}
body.csb-profile-anime .csb-anime-footer__menu {
  justify-self: end !important;
}
body.csb-profile-anime .csb-anime-footer__bottom {
  grid-column: 1 / -1 !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
@media (max-width: 860px) {
  body.csb-profile-anime .csb-anime-footer__inner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
  }
  body.csb-profile-anime .csb-anime-footer__menu {
    justify-self: center !important;
  }
}

/* Mobile navbar keeps egg and full-width menu, no extra strip. */
@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-header__bar {
    width: min(100%, calc(100vw - 24px)) !important;
    max-width: min(100%, calc(100vw - 24px)) !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    border-radius: 28px !important;
    padding: 10px 12px !important;
  }
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* === Anime profile 0.6.6 refinement pass ================================
   Focus: kill the red separator glow, create cleaner hero-to-content breaks,
   fix anime_single_page usage, bottom-align badges, redesign footer layout,
   improve parallax feel, accent links in descriptions, and fully restyle
   the wpDiscuz form area. */

/* 1) Neutral modern separation between hero and following sections. */
body.csb-profile-anime .csb-home--anime .csb-anime-section--latest,
body.csb-profile-anime .csb-archive--anime .csb-anime-section--archive,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell {
  position: relative !important;
  isolation: isolate;
}
body.csb-profile-anime .csb-home--anime .csb-anime-section--latest::before,
body.csb-profile-anime .csb-archive--anime .csb-anime-section--archive::before,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 calc(50% - 50vw) auto !important;
  width: auto !important;
  height: clamp(112px, 14vh, 188px) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(7,6,12,0.98) 0%, rgba(7,6,12,0.88) 44%, rgba(7,6,12,0.22) 82%, rgba(7,6,12,0) 100%) !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
body.csb-profile-anime .csb-home--anime .csb-anime-section--latest::after,
body.csb-profile-anime .csb-archive--anime .csb-anime-section--archive::after,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: min(1120px, calc(100vw - 72px)) !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .52), rgba(255,255,255,.18), transparent) !important;
  box-shadow: 0 0 24px rgba(var(--csb-active-accent-rgb), .16) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
body.csb-profile-anime .csb-home--anime .csb-anime-section--latest {
  padding-top: clamp(86px, 9vw, 132px) !important;
}
body.csb-profile-anime .csb-archive--anime .csb-anime-section--archive {
  padding-top: clamp(84px, 9vw, 126px) !important;
}
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell {
  padding-top: clamp(70px, 8vw, 120px) !important;
}
body.csb-profile-anime .csb-anime-section__head::before,
body.csb-profile-anime .csb-anime-section__head::after {
  display: none !important;
}

/* 2) All badge rows live at the bottom of cards / hero blocks. */
body.csb-profile-anime .csb-anime-card__body > h3 { order: 1; }
body.csb-profile-anime .csb-anime-card__body > p { order: 2; }
body.csb-profile-anime .csb-anime-card__body > .csb-anime-card__meta { order: 3; }
body.csb-profile-anime .csb-anime-card__body > .csb-anime-card__badges {
  order: 4 !important;
  margin-top: auto !important;
  padding-top: 4px !important;
}
body.csb-profile-anime .csb-anime-card__body,
body.csb-profile-anime .csb-anime-single-hero__copy {
  gap: 14px !important;
}
body.csb-profile-anime .csb-anime-single-hero__badges {
  align-self: center !important;
  margin-top: auto !important;
  padding-top: 4px !important;
}
body.csb-profile-anime .csb-anime-single-hero__meta {
  margin-bottom: 0 !important;
}

/* 3) Accent links inside hero descriptions/excerpts should read as links. */
body.csb-profile-anime .csb-anime-archive-hero__description a,
body.csb-profile-anime .csb-anime-single-hero p a,
body.csb-profile-anime .csb-anime-seasonal p a {
  color: rgb(var(--csb-active-accent-rgb)) !important;
  text-decoration-color: rgba(var(--csb-active-accent-rgb), .58) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .18em !important;
  font-weight: 700 !important;
}
body.csb-profile-anime .csb-anime-archive-hero__description a:hover,
body.csb-profile-anime .csb-anime-single-hero p a:hover,
body.csb-profile-anime .csb-anime-seasonal p a:hover {
  color: #fff !important;
  text-decoration-color: rgba(var(--csb-active-accent-rgb), .92) !important;
}

/* 4) Footer: make navigation feel intentional instead of random pills. */
body.csb-profile-anime .csb-footer--anime {
  margin-top: clamp(44px, 6vw, 96px) !important;
  padding: 0 clamp(18px, 4vw, 76px) clamp(48px, 5vw, 82px) !important;
  background:
    linear-gradient(180deg, rgba(8,7,14,0), rgba(8,7,14,.64) 14%, #050408 44%, #040307 100%) !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  width: min(1760px, calc(100vw - clamp(36px, 6vw, 132px))) !important;
  margin-bottom: clamp(28px, 3vw, 46px) !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .62), transparent) !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  width: min(1760px, calc(100vw - clamp(36px, 6vw, 132px))) !important;
  grid-template-columns: minmax(320px, 1.1fr) minmax(340px, .9fr) !important;
  align-items: start !important;
  gap: clamp(34px, 5vw, 96px) !important;
}
body.csb-profile-anime .csb-anime-footer__brandline {
  justify-items: start !important;
}
body.csb-profile-anime .csb-anime-footer__menu {
  justify-self: end !important;
  width: min(100%, 520px) !important;
  display: grid !important;
  gap: 14px !important;
}
body.csb-profile-anime .csb-anime-footer__menu-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.csb-profile-anime .csb-anime-footer__menu-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--csb-active-accent);
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .46);
}
body.csb-profile-anime .csb-anime-footer-menu .menu,
body.csb-profile-anime .csb-anime-footer-menu__list,
body.csb-profile-anime .csb-anime-footer-menu__fallback {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  justify-content: stretch !important;
  gap: 10px !important;
}
body.csb-profile-anime .csb-anime-footer-menu li {
  width: 100%;
}
body.csb-profile-anime .csb-anime-footer-menu a,
body.csb-profile-anime .csb-anime-footer-menu__link {
  width: 100% !important;
  min-height: 46px !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.84) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}
body.csb-profile-anime .csb-anime-footer-menu a:hover,
body.csb-profile-anime .csb-anime-footer-menu__link:hover {
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .28), rgba(255,255,255,.05)) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .36) !important;
  box-shadow: 0 14px 36px rgba(var(--csb-active-accent-rgb), .12) !important;
}
body.csb-profile-anime .csb-anime-footer__bottom {
  margin-top: 6px !important;
  align-items: center !important;
}

/* 5) Comments / wpDiscuz full restyle. */
body.csb-profile-anime .csb-comments-shell {
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .14) !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .14), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(10,9,16,.72) !important;
  box-shadow: 0 26px 80px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
body.csb-profile-anime .csb-comments-shell #wpdcom,
body.csb-profile-anime .csb-comments-shell .wpd-thread-wrapper,
body.csb-profile-anime .csb-comments-shell .wpd-form-wrap {
  max-width: 100% !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-form-wrap,
body.csb-profile-anime .csb-comments-shell .wpd-thread-wrapper {
  background: transparent !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-thread-head,
body.csb-profile-anime .csb-comments-shell .wpd-form-head,
body.csb-profile-anime .csb-comments-shell .wpd-form-foot {
  border-color: rgba(255,255,255,.08) !important;
  background: transparent !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-textarea-wrap,
body.csb-profile-anime .csb-comments-shell .wpd-editor-wrap,
body.csb-profile-anime .csb-comments-shell .ql-container,
body.csb-profile-anime .csb-comments-shell .ql-toolbar,
body.csb-profile-anime .csb-comments-shell .wpd-form-row .wpd-field {
  border-color: rgba(var(--csb-active-accent-rgb), .22) !important;
  background: rgba(12,11,19,.84) !important;
}
body.csb-profile-anime .csb-comments-shell .ql-toolbar {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.csb-profile-anime .csb-comments-shell .ql-container,
body.csb-profile-anime .csb-comments-shell .wpd-textarea-wrap {
  border-bottom-left-radius: 18px !important;
  border-bottom-right-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 30px rgba(0,0,0,.18) !important;
}
body.csb-profile-anime .csb-comments-shell .ql-editor,
body.csb-profile-anime .csb-comments-shell textarea,
body.csb-profile-anime .csb-comments-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.csb-profile-anime .csb-comments-shell select {
  color: rgba(255,255,255,.92) !important;
  background: transparent !important;
}
body.csb-profile-anime .csb-comments-shell .ql-editor {
  min-height: 180px !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-stroke,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-picker,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-picker-label,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-picker-item {
  color: rgba(255,255,255,.84) !important;
  stroke: rgba(255,255,255,.84) !important;
}
body.csb-profile-anime .csb-comments-shell .ql-snow button:hover,
body.csb-profile-anime .csb-comments-shell .ql-snow button:focus,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-picker-label:hover,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-picker-label.ql-active {
  color: rgb(var(--csb-active-accent-rgb)) !important;
}
body.csb-profile-anime .csb-comments-shell .ql-snow button:hover .ql-stroke,
body.csb-profile-anime .csb-comments-shell .ql-snow button:focus .ql-stroke,
body.csb-profile-anime .csb-comments-shell .ql-snow .ql-active .ql-stroke {
  stroke: rgb(var(--csb-active-accent-rgb)) !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-avatar,
body.csb-profile-anime .csb-comments-shell .wpd-avatar img {
  border-radius: 999px !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-field,
body.csb-profile-anime .csb-comments-shell .wpd-form-row {
  margin-bottom: 14px !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-prim-button,
body.csb-profile-anime .csb-comments-shell input[type="submit"],
body.csb-profile-anime .csb-comments-shell .wpd_comm_form .wc-field-submit input[type="submit"] {
  min-height: 52px !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--csb-active-accent), #ff4f9a) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  box-shadow: 0 18px 40px rgba(var(--csb-active-accent-rgb), .22) !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-prim-button:hover,
body.csb-profile-anime .csb-comments-shell input[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 20px 46px rgba(var(--csb-active-accent-rgb), .28) !important;
}
body.csb-profile-anime .csb-comments-shell .wpd-form-row .wpdiscuz-item,
body.csb-profile-anime .csb-comments-shell .wpdiscuz-textarea-wrap,
body.csb-profile-anime .csb-comments-shell .wc-field-submit {
  background: transparent !important;
}

/* 6) Stronger, more noticeable parallax on heroes. */
body.csb-profile-anime .csb-anime-seasonal__bg,
body.csb-profile-anime .csb-anime-archive-hero__bg,
body.csb-profile-anime .csb-anime-single-hero__bg {
  transition: transform 60ms linear, filter 140ms ease !important;
}

/* 7) Mobile one-column archive/home cards should size naturally. */
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-grid {
    align-items: start !important;
  }
  body.csb-profile-anime .csb-anime-card {
    height: auto !important;
  }
}

@media (max-width: 860px) {
  body.csb-profile-anime .csb-anime-footer__brandline {
    justify-items: center !important;
  }
  body.csb-profile-anime .csb-anime-footer__menu {
    justify-self: center !important;
    width: min(100%, 640px) !important;
  }
  body.csb-profile-anime .csb-anime-footer-menu .menu,
  body.csb-profile-anime .csb-anime-footer-menu__list,
  body.csb-profile-anime .csb-anime-footer-menu__fallback {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* === Anime profile 0.6.7 hard correction pass =============================
   Fixes: bottom-aligned card badges, complete PV button rebuild, and a cleaner
   footer with recent posts + compact bottom menu badges. */

/* 1) Cards: badge/meta block is pinned to the bottom, regardless of excerpt length. */
body.csb-profile-anime .csb-anime-grid {
  align-items: stretch !important;
}
body.csb-profile-anime .csb-anime-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}
body.csb-profile-anime .csb-anime-card__media {
  flex: 0 0 auto !important;
}
body.csb-profile-anime .csb-anime-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: clamp(270px, 18vw, 430px) !important;
}
body.csb-profile-anime .csb-anime-card__body > h3 {
  order: 1 !important;
}
body.csb-profile-anime .csb-anime-card__body > p {
  order: 2 !important;
}
body.csb-profile-anime .csb-anime-card__body > .csb-anime-card__meta {
  order: 20 !important;
  margin-top: auto !important;
  padding-top: clamp(14px, 1.4vw, 22px) !important;
}
body.csb-profile-anime .csb-anime-card__body > .csb-anime-card__badges {
  order: 21 !important;
  margin-top: 10px !important;
  padding-top: 0 !important;
}
body.csb-profile-anime .csb-anime-card__meta,
body.csb-profile-anime .csb-anime-card__badges .csb-badges {
  align-items: flex-end !important;
}
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-card__body {
    min-height: 0 !important;
  }
}

/* 2) PV buttons: full rebuild. Remove all inherited blue/black underline bars and
      make each button a self-contained modern glass control. */
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center,
body.csb-profile-anime .csb-anime-post-content .seasonalbuttons,
body.csb-profile-anime .csb-anime-post-content [class*="buttonseason"]:not(a):not(button):not(.wp-block-button__link) {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  gap: clamp(8px, .8vw, 14px) !important;
  width: 100% !important;
  margin: clamp(12px, 1.2vw, 18px) 0 clamp(22px, 2.4vw, 34px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button::after,
body.csb-profile-anime .csb-anime-post-content .buttonseason::before,
body.csb-profile-anime .csb-anime-post-content .buttonseason::after,
body.csb-profile-anime .csb-anime-post-content .buttonseasons::before,
body.csb-profile-anime .csb-anime-post-content .buttonseasons::after,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link::after {
  content: none !important;
  display: none !important;
}
body.csb-profile-anime .csb-anime-post-content .buttonseason,
body.csb-profile-anime .csb-anime-post-content .buttonseasons,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.is-style-outline > .wp-block-button__link.buttonseason,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.is-style-outline > .wp-block-button__link.buttonseasons {
  position: relative !important;
  isolation: isolate !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(44px, 3.2vw, 58px) !important;
  padding: 0 clamp(10px, 1.15vw, 18px) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .36) !important;
  border-radius: clamp(14px, 1.2vw, 20px) !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .25), rgba(255,255,255,.055)),
    rgba(10, 9, 16, .90) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 14px 30px rgba(0,0,0,.26) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.72rem, .52vw + .56rem, .94rem) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.52) !important;
  outline: 0 !important;
  transform: translateZ(0) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease !important;
}
body.csb-profile-anime .csb-anime-post-content .buttonseason:hover,
body.csb-profile-anime .csb-anime-post-content .buttonseasons:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button:hover > .wp-block-button__link.buttonseason,
body.csb-profile-anime .csb-anime-post-content .wp-block-button:hover > .wp-block-button__link.buttonseasons,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:focus-visible,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:focus-visible {
  color: #fff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .72) !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(255,255,255,.24), transparent 52%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .76), rgba(255,79,154,.54)),
    rgba(13, 10, 20, .96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 0 28px rgba(var(--csb-active-accent-rgb), .24),
    0 18px 42px rgba(0,0,0,.34) !important;
  transform: translateY(-2px) !important;
}
body.csb-profile-anime .csb-anime-post-content .buttonseason:visited,
body.csb-profile-anime .csb-anime-post-content .buttonseasons:visited,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:visited,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:visited {
  color: #fff !important;
}
@media (max-width: 560px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center {
    gap: 6px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .buttonseason,
  body.csb-profile-anime .csb-anime-post-content .buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons {
    min-height: 40px !important;
    padding-inline: 7px !important;
    font-size: clamp(.58rem, 2.35vw, .76rem) !important;
    letter-spacing: .04em !important;
  }
}

/* 3) Footer: no cyan glow, recent posts included, menu as small bottom badges. */
body.csb-profile-anime .csb-footer--anime,
body.csb-profile-anime .csb-footer--anime::before,
body.csb-profile-anime .csb-footer--anime::after,
body.csb-profile-anime .csb-anime-footer__inner,
body.csb-profile-anime .csb-anime-footer__inner::before,
body.csb-profile-anime .csb-anime-footer__inner::after {
  box-shadow: none !important;
}
body.csb-profile-anime .csb-footer--anime {
  position: relative !important;
  overflow: hidden !important;
  margin-top: clamp(46px, 6vw, 90px) !important;
  padding: clamp(52px, 6vw, 86px) clamp(18px, 4vw, 76px) clamp(32px, 4vw, 60px) !important;
  border-top: 1px solid rgba(var(--csb-active-accent-rgb), .16) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .14), transparent 34rem),
    linear-gradient(180deg, #07060c 0%, #050409 52%, #030207 100%) !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  height: 1px !important;
  margin: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .58), transparent) !important;
}
body.csb-profile-anime .csb-footer--anime::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto auto 50% !important;
  width: min(960px, 72vw) !important;
  height: 220px !important;
  transform: translateX(-50%) !important;
  background: radial-gradient(circle, rgba(var(--csb-active-accent-rgb), .10), transparent 64%) !important;
  filter: blur(8px) !important;
  pointer-events: none !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  position: relative !important;
  z-index: 1 !important;
  width: min(1720px, 100%) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(260px, .95fr) minmax(360px, 1.05fr) !important;
  gap: clamp(28px, 5vw, 82px) !important;
  align-items: start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.csb-profile-anime .csb-anime-footer__brandline {
  display: grid !important;
  gap: 14px !important;
  justify-items: start !important;
  text-align: left !important;
}
body.csb-profile-anime .csb-anime-footer__brandline p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.66) !important;
  line-height: 1.7 !important;
}
body.csb-profile-anime .csb-anime-footer__recent {
  display: grid !important;
  gap: 14px !important;
  justify-self: end !important;
  width: min(100%, 740px) !important;
}
body.csb-profile-anime .csb-anime-footer__section-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: rgba(255,255,255,.88) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
body.csb-profile-anime .csb-anime-footer__section-title::before {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: var(--csb-active-accent) !important;
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .50) !important;
}
body.csb-profile-anime .csb-anime-footer-recent__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
body.csb-profile-anime .csb-anime-footer-recent__item {
  display: grid !important;
  gap: 4px !important;
  min-height: 72px !important;
  padding: 13px 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  color: rgba(255,255,255,.88) !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.022)) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}
body.csb-profile-anime .csb-anime-footer-recent__item:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(var(--csb-active-accent-rgb), .34) !important;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .18), rgba(255,255,255,.035)) !important;
}
body.csb-profile-anime .csb-anime-footer-recent__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: rgba(255,255,255,.92) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: .94rem !important;
  font-weight: 850 !important;
  line-height: 1.16 !important;
}
body.csb-profile-anime .csb-anime-footer-recent__date {
  color: rgba(255,255,255,.48) !important;
  font-size: .76rem !important;
  font-weight: 800 !important;
}
body.csb-profile-anime .csb-anime-footer__bottom {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 18px !important;
  margin-top: clamp(18px, 2.6vw, 34px) !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,.075) !important;
  color: rgba(255,255,255,.50) !important;
}
body.csb-profile-anime .csb-anime-footer__bottom-menu {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  min-width: min(100%, 420px) !important;
}
body.csb-profile-anime .csb-anime-footer-menu--bottom .menu,
body.csb-profile-anime .csb-anime-footer-menu--bottom__list,
body.csb-profile-anime .csb-anime-footer-menu--bottom__fallback,
body.csb-profile-anime .csb-anime-footer__bottom-menu .menu,
body.csb-profile-anime .csb-anime-footer__bottom-menu .csb-anime-footer-menu__list,
body.csb-profile-anime .csb-anime-footer__bottom-menu .csb-anime-footer-menu__fallback {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
body.csb-profile-anime .csb-anime-footer__bottom-menu li {
  list-style: none !important;
}
body.csb-profile-anime .csb-anime-footer__bottom-menu a,
body.csb-profile-anime .csb-anime-footer-menu--bottom a,
body.csb-profile-anime .csb-anime-footer-menu--bottom__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  width: auto !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.68) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: .75rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}
body.csb-profile-anime .csb-anime-footer__bottom-menu a:hover,
body.csb-profile-anime .csb-anime-footer-menu--bottom a:hover {
  color: #fff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .32) !important;
  background: rgba(var(--csb-active-accent-rgb), .16) !important;
}
body.csb-profile-anime .csb-anime-footer__tagline,
body.csb-profile-anime .csb-anime-footer__copyright {
  flex: 0 0 auto !important;
  font-size: .82rem !important;
  font-weight: 750 !important;
}
@media (max-width: 980px) {
  body.csb-profile-anime .csb-anime-footer__inner {
    grid-template-columns: 1fr !important;
  }
  body.csb-profile-anime .csb-anime-footer__recent {
    justify-self: stretch !important;
    width: 100% !important;
  }
}
@media (max-width: 620px) {
  body.csb-profile-anime .csb-anime-footer-recent__list {
    grid-template-columns: 1fr !important;
  }
  body.csb-profile-anime .csb-anime-footer__bottom {
    justify-content: center !important;
    text-align: center !important;
  }
  body.csb-profile-anime .csb-anime-footer__bottom-menu {
    order: 3 !important;
    flex-basis: 100% !important;
  }
}

/* === Anime profile 0.6.8 footer navline fix ==============================
   Footer menu is now a single centered horizontal line above the separator. */
body.csb-profile-anime .csb-anime-footer__navline {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: clamp(18px, 2.6vw, 34px) auto 0 !important;
  padding: 0 0 clamp(16px, 2vw, 24px) !important;
  text-align: center !important;
}

body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu,
body.csb-profile-anime .csb-anime-footer__navline .menu,
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu__list,
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu__fallback,
body.csb-profile-anime .csb-anime-footer-menu--bottom .menu,
body.csb-profile-anime .csb-anime-footer-menu--bottom__list,
body.csb-profile-anime .csb-anime-footer-menu--bottom__fallback {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

body.csb-profile-anime .csb-anime-footer__navline .menu::-webkit-scrollbar,
body.csb-profile-anime .csb-anime-footer-menu--bottom .menu::-webkit-scrollbar {
  display: none !important;
}

body.csb-profile-anime .csb-anime-footer__navline li,
body.csb-profile-anime .csb-anime-footer-menu--bottom li {
  flex: 0 0 auto !important;
  width: auto !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.csb-profile-anime .csb-anime-footer__navline a,
body.csb-profile-anime .csb-anime-footer-menu--bottom a,
body.csb-profile-anime .csb-anime-footer-menu--bottom__link {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.70) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.csb-profile-anime .csb-anime-footer__navline a:hover,
body.csb-profile-anime .csb-anime-footer-menu--bottom a:hover {
  color: #fff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .34) !important;
  background: rgba(var(--csb-active-accent-rgb), .16) !important;
  box-shadow: 0 10px 26px rgba(var(--csb-active-accent-rgb), .10) !important;
}

body.csb-profile-anime .csb-anime-footer__bottom {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: clamp(14px, 1.8vw, 22px) !important;
  border-top: 1px solid rgba(255,255,255,.075) !important;
  text-align: center !important;
}

body.csb-profile-anime .csb-anime-footer__bottom-menu {
  display: none !important;
}

@media (max-width: 680px) {
  body.csb-profile-anime .csb-anime-footer__navline {
    justify-content: flex-start !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu,
  body.csb-profile-anime .csb-anime-footer__navline .menu,
  body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu__list,
  body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu__fallback {
    justify-content: flex-start !important;
  }
}

/* --------------------------------------------------------------------------
   0.6.9 seasonal post polish
   - full rework of legacy PV buttons
   - rebuild seasonalrate layout so the left question / answer column and
     the right commentary bubble render cleanly again
   -------------------------------------------------------------------------- */

/* PV buttons: kill leftover cyan underline / old outline artifacts everywhere. */
body.csb-profile-anime .csb-anime-post-content .seasonalbuttons,
body.csb-profile-anime .csb-anime-post-content .seasonalbuttons.wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.seasonalbuttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons[class*="is-content-justification"]:has(.buttonseason),
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons[class*="is-content-justification"]:has(.buttonseasons),
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons:has(.buttonseason),
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons:has(.buttonseasons) {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: clamp(10px, 1vw, 16px) !important;
  width: 100% !important;
  margin: clamp(12px, 1.4vw, 18px) 0 clamp(20px, 2vw, 28px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons,
body.csb-profile-anime .csb-anime-post-content .buttonseason.wp-block-button,
body.csb-profile-anime .csb-anime-post-content .buttonseasons.wp-block-button,
body.csb-profile-anime .csb-anime-post-content .buttonseason,
body.csb-profile-anime .csb-anime-post-content .buttonseasons {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason::after,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons::after,
body.csb-profile-anime .csb-anime-post-content .buttonseason::before,
body.csb-profile-anime .csb-anime-post-content .buttonseason::after,
body.csb-profile-anime .csb-anime-post-content .buttonseasons::before,
body.csb-profile-anime .csb-anime-post-content .buttonseasons::after,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason::after,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons::before,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons::after {
  content: none !important;
  display: none !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .buttonseason > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons,
body.csb-profile-anime .csb-anime-post-content a.buttonseason,
body.csb-profile-anime .csb-anime-post-content a.buttonseasons,
body.csb-profile-anime .csb-anime-post-content .buttonseason > a,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > a {
  position: relative !important;
  isolation: isolate !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(46px, 3.2vw, 56px) !important;
  padding: 0 clamp(14px, 1.25vw, 20px) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .38) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(14, 11, 23, .94) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.82rem, .35vw + .74rem, .96rem) !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.24),
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 1px rgba(var(--csb-active-accent-rgb), .08) !important;
  outline: 0 !important;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    color .18s ease !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link:hover,
body.csb-profile-anime .csb-anime-post-content .buttonseason > .wp-block-button__link:hover,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > .wp-block-button__link:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:hover,
body.csb-profile-anime .csb-anime-post-content a.buttonseason:hover,
body.csb-profile-anime .csb-anime-post-content a.buttonseasons:hover,
body.csb-profile-anime .csb-anime-post-content .buttonseason > a:hover,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > a:hover,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link:focus-visible,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link:focus-visible,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:focus-visible,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:focus-visible {
  color: #ffffff !important;
  border-color: rgba(var(--csb-active-accent-rgb), .72) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.22), transparent 58%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .82), rgba(255, 79, 163, .62)),
    rgba(16, 12, 24, .98) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 16px 34px rgba(0,0,0,.30),
    0 0 28px rgba(var(--csb-active-accent-rgb), .22) !important;
  transform: translateY(-2px) !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link:visited,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link:visited,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason:visited,
body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons:visited,
body.csb-profile-anime .csb-anime-post-content a.buttonseason:visited,
body.csb-profile-anime .csb-anime-post-content a.buttonseasons:visited {
  color: #ffffff !important;
}
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .buttonseason > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > .wp-block-button__link,
body.csb-profile-anime .csb-anime-post-content .buttonseason > a,
body.csb-profile-anime .csb-anime-post-content .buttonseasons > a {
  margin: 0 !important;
}
@media (max-width: 640px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalbuttons,
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons:has(.buttonseason),
  body.csb-profile-anime .csb-anime-post-content .wp-block-buttons:has(.buttonseasons) {
    gap: 8px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseason > .wp-block-button__link,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button.buttonseasons > .wp-block-button__link,
  body.csb-profile-anime .csb-anime-post-content .buttonseason > .wp-block-button__link,
  body.csb-profile-anime .csb-anime-post-content .buttonseasons > .wp-block-button__link,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content a.buttonseason,
  body.csb-profile-anime .csb-anime-post-content a.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .buttonseason > a,
  body.csb-profile-anime .csb-anime-post-content .buttonseasons > a {
    min-height: 42px !important;
    padding-inline: 10px !important;
    font-size: clamp(.68rem, 2.15vw, .82rem) !important;
    letter-spacing: .05em !important;
  }
}

/* seasonalrate: treat it as a two-column opinion block instead of a generic pill. */
body.csb-profile-anime .seasonalrate {
  margin: clamp(24px, 2.5vw, 36px) 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns,
body.csb-profile-anime .wp-block-columns.seasonalrate,
body.csb-profile-anime .seasonalrate > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(110px, 165px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(16px, 1.8vw, 28px) !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:first-child,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:first-child,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding-top: 6px !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:first-child > *,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:first-child > *,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:first-child > * {
  margin: 0 !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(1.28rem, .95vw + .94rem, 1.95rem) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
  color: #ffffff !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:first-child > *:last-child,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:first-child > *:last-child,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:first-child > *:last-child {
  color: #2fe3a0 !important;
  font-size: clamp(1.36rem, 1vw + 1rem, 2.1rem) !important;
  font-weight: 950 !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:last-child,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:last-child,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:last-child {
  position: relative !important;
  min-width: 0 !important;
  padding: clamp(18px, 2vw, 28px) clamp(24px, 2.4vw, 36px) !important;
  border-radius: clamp(28px, 2.5vw, 42px) !important;
  border: 1px solid rgba(255, 79, 163, .18) !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(255,255,255,.10), transparent 16rem),
    linear-gradient(180deg, rgba(121, 31, 82, .58), rgba(74, 18, 54, .72)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 20px 48px rgba(0,0,0,.18) !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:last-child > *,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:last-child > *,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:last-child > * {
  margin: 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(1rem, .42vw + .94rem, 1.16rem) !important;
  line-height: 1.8 !important;
}
body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:last-child > * + *,
body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:last-child > * + *,
body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:last-child > * + * {
  margin-top: .6em !important;
}
@media (max-width: 820px) {
  body.csb-profile-anime .seasonalrate.wp-block-columns,
  body.csb-profile-anime .wp-block-columns.seasonalrate,
  body.csb-profile-anime .seasonalrate > .wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  body.csb-profile-anime .seasonalrate.wp-block-columns > .wp-block-column:first-child,
  body.csb-profile-anime .wp-block-columns.seasonalrate > .wp-block-column:first-child,
  body.csb-profile-anime .seasonalrate > .wp-block-columns > .wp-block-column:first-child {
    padding-top: 0 !important;
  }
}

/* === Anime profile 0.6.10 footer hard fix ===============================
   The footer menu is flattened into one horizontal centered line. The footer
   owns its accent variables so it cannot fall back to old cyan/blue defaults. */
body.csb-profile-anime .csb-footer--anime {
  --csb-active-accent: #ff4fa3 !important;
  --csb-active-accent-rgb: 255, 79, 163 !important;
  margin-top: 0 !important;
  padding-top: clamp(38px, 5vw, 70px) !important;
  border-top: 1px solid rgba(255, 79, 163, .20) !important;
  background:
    linear-gradient(180deg, rgba(7, 6, 12, .98) 0%, #050409 48%, #030207 100%) !important;
  overflow: hidden !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  height: 1px !important;
  margin: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 163, .52), transparent) !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-footer--anime::after,
body.csb-profile-anime .csb-anime-footer__glow,
body.csb-profile-anime .csb-anime-footer__inner::before,
body.csb-profile-anime .csb-anime-footer__inner::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  padding-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.csb-profile-anime .csb-anime-footer__navline {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: clamp(22px, 2.8vw, 38px) auto 0 !important;
  padding: 0 0 clamp(16px, 2vw, 24px) !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  text-align: center !important;
}
body.csb-profile-anime .csb-anime-footer__navline::-webkit-scrollbar { display: none !important; }
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu,
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu--bottom,
body.csb-profile-anime .csb-anime-footer__navline .menu-csb-primary-menu-container,
body.csb-profile-anime .csb-anime-footer__navline .menu,
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu__fallback {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
body.csb-profile-anime .csb-anime-footer__navline .menu::-webkit-scrollbar,
body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu::-webkit-scrollbar,
body.csb-profile-anime .csb-anime-footer__navline .menu-csb-primary-menu-container::-webkit-scrollbar { display: none !important; }

/* Flatten dropdown hierarchy in the footer only: all menu/submenu links become
   siblings in the single horizontal row. */
body.csb-profile-anime .csb-anime-footer__navline ul,
body.csb-profile-anime .csb-anime-footer__navline .sub-menu,
body.csb-profile-anime .csb-anime-footer__navline li,
body.csb-profile-anime .csb-anime-footer__navline .menu-item {
  display: contents !important;
  float: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.csb-profile-anime .csb-anime-footer__navline a,
body.csb-profile-anime .csb-anime-footer__navline .menu-item > a,
body.csb-profile-anime .csb-anime-footer-menu--bottom a,
body.csb-profile-anime .csb-anime-footer-menu--bottom__link {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.035) !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-footer__navline a:hover,
body.csb-profile-anime .csb-anime-footer__navline .menu-item > a:hover {
  color: #fff !important;
  border-color: rgba(255, 79, 163, .38) !important;
  background: rgba(255, 79, 163, .16) !important;
  box-shadow: 0 10px 26px rgba(255, 79, 163, .10) !important;
}
body.csb-profile-anime .csb-anime-footer__bottom {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: clamp(14px, 1.8vw, 22px) !important;
  border-top: 1px solid rgba(255,255,255,.075) !important;
  justify-content: center !important;
  text-align: center !important;
}
@media (max-width: 680px) {
  body.csb-profile-anime .csb-anime-footer__navline,
  body.csb-profile-anime .csb-anime-footer__navline .csb-anime-footer-menu,
  body.csb-profile-anime .csb-anime-footer__navline .menu-csb-primary-menu-container,
  body.csb-profile-anime .csb-anime-footer__navline .menu {
    justify-content: flex-start !important;
  }
}


/* === Anime profile 0.6.11 single-post/content utilities ===================
   - seasonalrate is continuous text again, not a two-column card
   - subtle spacing between seasonal title and description
   - single/footer transition uses current accent, no blue leakage
   - native share buttons
   - figure/artbook ACF info panels below hero
*/

/* seasonalrate: continuous Gutenberg text flow, no card/bubble/columns. */
body.csb-profile-anime .csb-anime-post-content .seasonalrate,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate,
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-columns {
  display: block !important;
  margin: clamp(16px, 1.8vw, 26px) 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.92) !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-columns > .wp-block-column {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate p,
body.csb-profile-anime .csb-anime-post-content .seasonalrate .wp-block-column > p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(1.02rem, .5vw + .98rem, 1.22rem) !important;
  font-weight: 650 !important;
  line-height: 1.78 !important;
  letter-spacing: .01em !important;
  white-space: normal !important;
  word-spacing: normal !important;
  text-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate p:not(:last-child)::after {
  content: " ";
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column:first-child p,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column:first-child p,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column:first-child p {
  font-weight: 850 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column:first-child p:last-child,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column:first-child p:last-child,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column:first-child p:last-child {
  color: #35e39f !important;
  font-weight: 950 !important;
}

/* Slight breathing room between seasonal title block and description. */
body.csb-profile-anime .csb-anime-post-content .seasonaltitleromaji,
body.csb-profile-anime .csb-anime-post-content .seasonaltitlejapanese,
body.csb-profile-anime .csb-anime-post-content .seasonalblock h5 {
  margin-bottom: .28rem !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  margin-top: .42rem !important;
}

/* Single-post transition / footer: no blue inherited strip. The footer accent is synced by JS. */
body.csb-profile-anime .csb-single--anime,
body.csb-profile-anime.single-post,
body.csb-profile-anime.single {
  background: #08070d !important;
}
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell {
  background:
    linear-gradient(180deg, rgba(8,7,13,.98), rgba(8,7,13,.94)) !important;
}
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::before,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::after {
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .42), transparent) !important;
  box-shadow: 0 0 22px rgba(var(--csb-active-accent-rgb), .12) !important;
}
body.csb-profile-anime .csb-footer--anime {
  --csb-active-accent: var(--csb-footer-accent, #ff4fa3) !important;
  --csb-active-accent-rgb: var(--csb-footer-accent-rgb, 255, 79, 163) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .12), transparent 34rem),
    linear-gradient(180deg, rgba(7,6,12,.98) 0%, #050409 52%, #030207 100%) !important;
}

/* Native share buttons below post content. */
body.csb-profile-anime .csb-anime-share {
  width: min(100%, 1480px);
  margin: clamp(34px, 4vw, 58px) auto clamp(28px, 4vw, 52px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(var(--csb-active-accent-rgb), .13), transparent 22rem),
    rgba(255,255,255,.035);
  box-shadow: 0 20px 58px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}
body.csb-profile-anime .csb-anime-share__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.78);
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.csb-profile-anime .csb-anime-share__label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--csb-active-accent);
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .45);
}
body.csb-profile-anime .csb-anime-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.csb-profile-anime .csb-anime-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .23);
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(12,10,18,.86);
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: .96rem;
  font-weight: 850;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
body.csb-profile-anime .csb-anime-share__button span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(var(--csb-active-accent-rgb), .22);
  color: #fff;
  font-weight: 950;
}
body.csb-profile-anime .csb-anime-share__button:hover,
body.csb-profile-anime .csb-anime-share__button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--csb-active-accent-rgb), .5);
  background:
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .38), rgba(255,255,255,.05)),
    rgba(12,10,18,.94);
  box-shadow: 0 18px 40px rgba(var(--csb-active-accent-rgb), .15), inset 0 1px 0 rgba(255,255,255,.1);
}

/* Figure / artbook info panels. */
body.csb-profile-anime .csb-anime-object-panel {
  width: min(100%, 1480px);
  margin: 0 auto clamp(34px, 4vw, 58px);
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(12,10,18,.76);
  box-shadow: 0 24px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.07);
}
body.csb-profile-anime .csb-anime-object-panel__head {
  max-width: 840px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
body.csb-profile-anime .csb-anime-object-panel__head h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.65rem, 2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}
body.csb-profile-anime .csb-anime-object-panel__head p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.7;
}
body.csb-profile-anime .csb-anime-object-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 0;
}
body.csb-profile-anime .csb-anime-object-panel__item {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}
body.csb-profile-anime .csb-anime-object-panel__item dt {
  margin: 0 0 8px;
  color: rgba(255,255,255,.48);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.csb-profile-anime .csb-anime-object-panel__item dd {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.45;
}
body.csb-profile-anime .csb-anime-object-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 24px);
}
body.csb-profile-anime .csb-anime-object-panel__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .25);
  background: rgba(var(--csb-active-accent-rgb), .12);
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none !important;
}
body.csb-profile-anime .csb-anime-object-panel__actions a:hover,
body.csb-profile-anime .csb-anime-object-panel__actions a:focus-visible {
  background: rgba(var(--csb-active-accent-rgb), .24);
  border-color: rgba(var(--csb-active-accent-rgb), .46);
}

/* === Anime profile 0.6.12 focused fixes ================================
   - remove the unwanted top/transition glow near single content/footer
   - seasonalrate is a true single-line/text-flow callout, no columns/card
   - seasonal series cards wrap each one-series block in glass
   - ramowka archives use horizontal thumbnails only
   - footer/single transition kills blue/cyan leakage hard
*/

/* No extra glow band above content/footer on single posts. */
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell,
body.csb-profile-anime.single .csb-single--anime .csb-anime-content-shell,
body.csb-profile-anime.single-post .csb-single--anime .csb-anime-content-shell {
  background: #08070d !important;
}
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::before,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::after,
body.csb-profile-anime.single .csb-single--anime .csb-anime-content-shell::before,
body.csb-profile-anime.single .csb-single--anime .csb-anime-content-shell::after,
body.csb-profile-anime.single-post .csb-single--anime .csb-anime-content-shell::before,
body.csb-profile-anime.single-post .csb-single--anime .csb-anime-content-shell::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-single--anime .csb-related-posts,
body.csb-profile-anime .csb-single--anime .csb-anime-related-posts,
body.csb-profile-anime .csb-single--anime .csb-comments-shell,
body.csb-profile-anime .csb-single--anime .csb-anime-share {
  position: relative !important;
  z-index: 1 !important;
}
body.csb-profile-anime .csb-single--anime + .csb-footer--anime,
body.csb-profile-anime .csb-footer--anime {
  margin-top: 0 !important;
  background: linear-gradient(180deg, #07060d 0%, #050409 54%, #030207 100%) !important;
  border-top: 1px solid rgba(255,255,255,.055) !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-footer--anime::before,
body.csb-profile-anime .csb-footer--anime::after,
body.csb-profile-anime .csb-anime-footer__inner::before,
body.csb-profile-anime .csb-anime-footer__inner::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* seasonalrate: one continuous text flow. No columns, no bubble, no background. */
body.csb-profile-anime .csb-anime-post-content .seasonalrate,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate,
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-columns {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: clamp(18px, 2vw, 28px) 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.94) !important;
  text-align: left !important;
  white-space: normal !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-columns,
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-columns > .wp-block-column {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate p,
body.csb-profile-anime .csb-anime-post-content .seasonalrate .wp-block-column > p,
body.csb-profile-anime .csb-anime-post-content .seasonalrate strong,
body.csb-profile-anime .csb-anime-post-content .seasonalrate b,
body.csb-profile-anime .csb-anime-post-content .seasonalrate em,
body.csb-profile-anime .csb-anime-post-content .seasonalrate span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.94) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(1.05rem, .55vw + .98rem, 1.24rem) !important;
  font-weight: 650 !important;
  line-height: 1.78 !important;
  letter-spacing: .01em !important;
  white-space: normal !important;
  word-spacing: normal !important;
  text-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate p:not(:last-child)::after {
  content: " " !important;
  color: rgba(255,255,255,.94) !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column:first-child p,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column:first-child p,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column:first-child p {
  font-weight: 900 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate > .wp-block-column:first-child p:last-child,
body.csb-profile-anime .csb-anime-post-content .seasonalrate.wp-block-columns > .wp-block-column:first-child p:last-child,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalrate > .wp-block-column:first-child p:last-child,
body.csb-profile-anime .csb-anime-post-content .seasonalrate .wp-block-column:first-child p:last-child * {
  color: #35e39f !important;
  font-weight: 950 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalrate .wp-block-column + .wp-block-column::before {
  content: " — " !important;
  color: rgba(255,255,255,.86) !important;
  font-weight: 650 !important;
}

/* Seasonal series: whole series column becomes one premium glass card. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna {
  gap: clamp(18px, 2vw, 30px) !important;
  align-items: stretch !important;
  margin: clamp(26px, 3vw, 42px) 0 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-group,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .seasonalblock {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
  min-width: 0 !important;
  padding: clamp(18px, 2vw, 28px) !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .18) !important;
  border-radius: clamp(26px, 2.4vw, 36px) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .15), transparent 17rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(13, 11, 20, .72) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07) !important;
  overflow: hidden !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column::before,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-group::before,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .seasonalblock::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%) !important;
  opacity: .55 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column > *,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-group > *,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .seasonalblock > * {
  position: relative !important;
  z-index: 1 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .wp-block-image,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna figure {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna img {
  border-radius: clamp(18px, 1.8vw, 26px) !important;
}

/* Tag archive: ramowka / anime-seasonal-highlights uses horizontal cards. */
body.csb-profile-anime .csb-anime-archive--seasonal-tag .csb-anime-card__media,
body.csb-profile-anime.tag-ramowka .csb-anime-card__media,
body.csb-profile-anime.tag-anime-seasonal-highlights .csb-anime-card__media,
body.csb-profile-anime.term-ramowka .csb-anime-card__media,
body.csb-profile-anime.term-anime-seasonal-highlights .csb-anime-card__media {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
}
body.csb-profile-anime .csb-anime-archive--seasonal-tag .csb-anime-card__img,
body.csb-profile-anime.tag-ramowka .csb-anime-card__img,
body.csb-profile-anime.tag-anime-seasonal-highlights .csb-anime-card__img,
body.csb-profile-anime.term-ramowka .csb-anime-card__img,
body.csb-profile-anime.term-anime-seasonal-highlights .csb-anime-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body.csb-profile-anime .csb-anime-archive--seasonal-tag .csb-anime-card,
body.csb-profile-anime.tag-ramowka .csb-anime-card,
body.csb-profile-anime.tag-anime-seasonal-highlights .csb-anime-card,
body.csb-profile-anime.term-ramowka .csb-anime-card,
body.csb-profile-anime.term-anime-seasonal-highlights .csb-anime-card {
  min-height: 0 !important;
}

/* Remove the cyan/blue strip that came from older footer/single transition rules. */
body.csb-profile-anime .csb-footer--anime,
body.csb-profile-anime .csb-footer--anime * {
  --csb-footer-accent: var(--csb-active-accent, #ff4fa3) !important;
  --csb-footer-accent-rgb: var(--csb-active-accent-rgb, 255, 79, 163) !important;
}
body.csb-profile-anime .csb-footer--anime,
body.csb-profile-anime .csb-footer--anime .csb-anime-footer__inner {
  background-color: #050409 !important;
}

/* === Anime profile 0.6.13 fixes =========================================
   - no blue transition strip above footer
   - object-panel tiles are the links, not separate action pills
   - seasonal cards equal-height per row
   - YouTube PV modal styling
*/

/* Kill the leaked blue/cyan bridge before footer without restoring the old hero glow. */
body.csb-profile-anime .csb-single--anime,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell,
body.csb-profile-anime .csb-single--anime .csb-related-posts,
body.csb-profile-anime .csb-single--anime .csb-anime-related-posts {
  background-color: #08070d !important;
}
body.csb-profile-anime .csb-single--anime::before,
body.csb-profile-anime .csb-single--anime::after,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::before,
body.csb-profile-anime .csb-single--anime .csb-anime-content-shell::after,
body.csb-profile-anime .csb-single--anime .csb-related-posts::before,
body.csb-profile-anime .csb-single--anime .csb-related-posts::after,
body.csb-profile-anime .csb-single--anime .csb-anime-related-posts::before,
body.csb-profile-anime .csb-single--anime .csb-anime-related-posts::after,
body.csb-profile-anime .csb-footer--anime::before,
body.csb-profile-anime .csb-footer--anime::after,
body.csb-profile-anime .csb-anime-footer__inner::before,
body.csb-profile-anime .csb-anime-footer__inner::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
body.csb-profile-anime .csb-footer--anime {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  background: #050409 !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-footer--anime .csb-anime-footer__inner {
  background: transparent !important;
  box-shadow: none !important;
}

/* Object / figure / artbook card: the tiles themselves are links. */
body.csb-profile-anime .csb-anime-object-panel__actions {
  display: none !important;
}
body.csb-profile-anime .csb-anime-object-panel__item {
  position: relative;
  display: block;
  min-height: 94px;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
body.csb-profile-anime .csb-anime-object-panel__item:hover,
body.csb-profile-anime .csb-anime-object-panel__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--csb-active-accent-rgb), .24);
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--csb-active-accent-rgb), .10), transparent 12rem),
    rgba(255,255,255,.052);
  box-shadow: 0 16px 36px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
}
body.csb-profile-anime .csb-anime-object-panel__item--link {
  cursor: pointer;
  border-color: rgba(var(--csb-active-accent-rgb), .20) !important;
}
body.csb-profile-anime .csb-anime-object-panel__item--link::after {
  content: "↗";
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(var(--csb-active-accent-rgb), .78);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
  opacity: .68;
  transition: transform .2s ease, opacity .2s ease;
}
body.csb-profile-anime .csb-anime-object-panel__item--link:hover,
body.csb-profile-anime .csb-anime-object-panel__item--link:focus-visible {
  border-color: rgba(var(--csb-active-accent-rgb), .46) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.032)),
    rgba(255,255,255,.04) !important;
  box-shadow: 0 20px 44px rgba(var(--csb-active-accent-rgb), .12), 0 18px 42px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
body.csb-profile-anime .csb-anime-object-panel__item--link:hover::after,
body.csb-profile-anime .csb-anime-object-panel__item--link:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
body.csb-profile-anime .csb-anime-object-panel__item--link dt,
body.csb-profile-anime .csb-anime-object-panel__item--link dd {
  padding-right: 20px;
}

/* Seasonal series cards: equal height in each row and buttons pushed to the bottom. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
  display: flex !important;
  align-items: stretch !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > .wp-block-column {
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column > *,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > .wp-block-column > * {
  width: 100%;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonaltitleromaji,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonaltitlejapanese,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock h5 {
  min-height: 2.6em;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .wp-block-buttons:has(.buttonseason),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .wp-block-buttons:has(.buttonseasons) {
  margin-top: auto !important;
}
@media (max-width: 820px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonaltitleromaji,
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonaltitlejapanese,
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock h5 {
    min-height: 0;
  }
}

/* PV YouTube modal. */
body.csb-profile-anime.csb-youtube-modal-open {
  overflow: hidden;
}
body.csb-profile-anime .csb-youtube-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 64px);
  background: rgba(4,3,8,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
body.csb-profile-anime .csb-youtube-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
body.csb-profile-anime .csb-youtube-modal__dialog {
  position: relative;
  width: min(1180px, 94vw);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .28);
  border-radius: clamp(24px, 2.5vw, 38px);
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--csb-active-accent-rgb), .16), transparent 24rem),
    rgba(12,10,18,.92);
  box-shadow: 0 32px 120px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.08);
  padding: clamp(12px, 1.6vw, 20px);
  transform: translateY(10px) scale(.985);
  transition: transform .18s ease;
}
body.csb-profile-anime .csb-youtube-modal.is-open .csb-youtube-modal__dialog {
  transform: translateY(0) scale(1);
}
body.csb-profile-anime .csb-youtube-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  background: #050409;
}
body.csb-profile-anime .csb-youtube-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.csb-profile-anime .csb-youtube-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .32);
  background: rgba(12,10,18,.96);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.32), 0 0 24px rgba(var(--csb-active-accent-rgb), .16);
}
body.csb-profile-anime .csb-youtube-modal__close:hover,
body.csb-profile-anime .csb-youtube-modal__close:focus-visible {
  background: rgba(var(--csb-active-accent-rgb), .22);
  outline: none;
}
@media (max-width: 680px) {
  body.csb-profile-anime .csb-youtube-modal__close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }
}


/* --------------------------------------------------------------------------
   0.6.14 mobile layout repair
   -------------------------------------------------------------------------- */

/* Mobile article text: justify body text without breaking headings/buttons/cards. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  body.csb-profile-anime .csb-anime-post-content p,
  body.csb-profile-anime .csb-anime-post-content li,
  body.csb-profile-anime .csb-anime-post-content blockquote,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
  }

  body.csb-profile-anime .csb-anime-post-content :is(h1,h2,h3,h4,h5,h6),
  body.csb-profile-anime .csb-anime-post-content figcaption,
  body.csb-profile-anime .csb-anime-post-content .wp-caption-text,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .seasonaltitleromaji,
  body.csb-profile-anime .csb-anime-post-content .seasonaltitlejapanese,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button,
  body.csb-profile-anime .csb-anime-post-content .wp-block-button__link {
    text-align: center !important;
    hyphens: manual;
  }
}

/* Mobile post cards: all archive/home thumbnails become horizontal. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-card__media,
  body.csb-profile-anime .csb-anime-card--seasonal-archive .csb-anime-card__media,
  body.csb-profile-anime .csb-anime-related-card .csb-anime-card__media,
  body.csb-profile-anime .csb-related-card__media {
    aspect-ratio: 16 / 9 !important;
  }

  body.csb-profile-anime .csb-anime-card__img,
  body.csb-profile-anime .csb-related-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Mobile menu: smaller and scrollable instead of overflowing the viewport. */
@media (max-width: 1100px) {
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    max-height: calc(100svh - 94px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding: 10px !important;
    gap: 8px !important;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  body.csb-profile-anime .csb-anime-mobile-nav,
  body.csb-profile-anime .csb-anime-mobile-nav .menu,
  body.csb-profile-anime .csb-anime-mobile-nav__fallback {
    gap: 6px !important;
  }

  body.csb-profile-anime .csb-anime-mobile-nav a,
  body.csb-profile-anime .csb-anime-mobile-nav__link,
  body.csb-profile-anime .csb-anime-mobile-nav .menu-item > a {
    min-height: 38px !important;
    padding: 7px 10px !important;
    border-radius: 15px !important;
    font-size: .88rem !important;
    line-height: 1.1 !important;
  }

  body.csb-profile-anime .csb-mobile-menu__langs {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  body.csb-profile-anime .csb-mobile-menu__langs a {
    min-height: 34px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: .82rem !important;
  }
}

@media (max-width: 480px) {
  body.csb-profile-anime .csb-anime-mobile-menu .csb-mobile-menu__panel {
    top: calc(max(8px, env(safe-area-inset-top)) + 72px) !important;
    left: 6px !important;
    right: 6px !important;
    width: calc(100vw - 12px) !important;
    max-height: calc(100svh - 84px) !important;
    border-radius: 22px !important;
  }

  body.csb-profile-anime .csb-anime-mobile-nav a,
  body.csb-profile-anime .csb-anime-mobile-nav__link,
  body.csb-profile-anime .csb-anime-mobile-nav .menu-item > a {
    min-height: 34px !important;
    padding: 6px 8px !important;
    font-size: .8rem !important;
    letter-spacing: .01em !important;
  }
}

/* Mobile galleries: minimum two images per row. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.columns-1,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.columns-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure {
    min-width: 0 !important;
  }
}

/* Mobile images and the legacy imgcmob figure: centered, full width. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .imgcmob,
  body.csb-profile-anime .csb-anime-post-content figure.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .imgcmob.wp-block-image {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px auto 24px !important;
    text-align: center !important;
  }

  body.csb-profile-anime .csb-anime-post-content .imgcmob img,
  body.csb-profile-anime .csb-anime-post-content figure.imgcmob img,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.imgcmob img {
    display: block !important;
    width: 100% !important;
    max-width: min(100%, 520px) !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
  }

  body.csb-profile-anime .csb-anime-post-content .imgcmob figcaption,
  body.csb-profile-anime .csb-anime-post-content .imgcmob .wp-caption-text {
    width: min(100%, 520px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Seasonal posts on mobile: two series cards per row, very compact. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column,
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .seasonalblock,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock {
    min-width: 0 !important;
    width: auto !important;
    flex-basis: auto !important;
    padding: 7px 5px !important;
    border-radius: 18px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock h5,
  body.csb-profile-anime .csb-anime-post-content .seasonaltitleromaji,
  body.csb-profile-anime .csb-anime-post-content .seasonaltitlejapanese {
    font-size: clamp(.72rem, 3vw, .96rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.02em !important;
    margin-bottom: 6px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock figure,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock img {
    border-radius: 14px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    font-size: clamp(.72rem, 2.6vw, .86rem) !important;
    line-height: 1.55 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-buttons,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .seasonalbuttons {
    gap: 5px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-button__link.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-button__link.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock a.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock a.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .buttonseason > a,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .buttonseasons > a {
    min-height: 34px !important;
    padding-inline: 6px !important;
    border-radius: 999px !important;
    font-size: clamp(.58rem, 2.3vw, .74rem) !important;
    letter-spacing: .03em !important;
  }
}

/* On very narrow phones keep two cards, but squeeze them harder. */
@media (max-width: 420px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
    gap: 6px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-button__link.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .wp-block-button__link.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock a.buttonseason,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock a.buttonseasons,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .buttonseason > a,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock .buttonseasons > a {
    min-height: 31px !important;
    padding-inline: 4px !important;
    font-size: clamp(.52rem, 2.2vw, .66rem) !important;
  }
}

/* --------------------------------------------------------------------------
   0.6.15 mobile/content cleanup
   -------------------------------------------------------------------------- */

/* 1) Justify the article body globally, not only on mobile. Keep headings,
   captions, buttons, cards and metadata untouched. */
body.csb-profile-anime .csb-anime-post-content :where(p, li, blockquote),
body.csb-profile-anime .csb-anime-post-content .seasonaldescription,
body.csb-profile-anime .csb-anime-post-content .seasonalrate {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}
body.csb-profile-anime .csb-anime-post-content :where(h1,h2,h3,h4,h5,h6,figcaption,.wp-caption-text,.blocks-gallery-caption,.csb-native-spoiler__summary,.wp-block-button,.wp-block-button__link,.csb-anime-object-panel,.csb-anime-share,.csb-badge,.csb-anime-card,.seasonaltitleromaji,.seasonaltitlejapanese),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :where(h1,h2,h3,h4,h5,h6,.wp-block-button,.wp-block-button__link) {
  text-align: initial !important;
  hyphens: manual !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :where(.seasonaltitleromaji,.seasonaltitlejapanese,h5) {
  text-align: center !important;
}

/* 2) Kill the single-post footer gap/blue strip at the Elementor wrapper level.
   The footer itself stays plain dark; no inherited AI Brief Desk/cyan separator. */
body.csb-profile-anime.single,
body.csb-profile-anime.single-post,
body.csb-profile-anime.single .site,
body.csb-profile-anime.single-post .site,
body.csb-profile-anime .csb-single--anime,
body.csb-profile-anime .csb-single--anime + *,
body.csb-profile-anime .csb-single--anime ~ * {
  background-color: #050409 !important;
}
body.csb-profile-anime .csb-single--anime {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: #050409 !important;
}
body.csb-profile-anime .csb-single--anime :is(.csb-related-posts,.csb-anime-related-posts,.csb-comments-shell,.csb-anime-share):last-child {
  margin-bottom: 0 !important;
}
body.csb-profile-anime.single .elementor-widget-shortcode:has(.csb-footer--anime),
body.csb-profile-anime.single-post .elementor-widget-shortcode:has(.csb-footer--anime),
body.csb-profile-anime.single .elementor-widget-shortcode:has(.csb-footer--anime) > .elementor-widget-container,
body.csb-profile-anime.single-post .elementor-widget-shortcode:has(.csb-footer--anime) > .elementor-widget-container,
body.csb-profile-anime.single .elementor-element:has(.csb-footer--anime),
body.csb-profile-anime.single-post .elementor-element:has(.csb-footer--anime),
body.csb-profile-anime.single .elementor-section:has(.csb-footer--anime),
body.csb-profile-anime.single-post .elementor-section:has(.csb-footer--anime),
body.csb-profile-anime.single .elementor-container:has(.csb-footer--anime),
body.csb-profile-anime.single-post .elementor-container:has(.csb-footer--anime),
body.csb-profile-anime.single .elementor-column:has(.csb-footer--anime),
body.csb-profile-anime.single-post .elementor-column:has(.csb-footer--anime) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #050409 !important;
  background-image: none !important;
  box-shadow: none !important;
  border-top-color: rgba(255,255,255,.055) !important;
}
body.csb-profile-anime .csb-footer--anime {
  margin-top: 0 !important;
  background: #050409 !important;
  background-image: linear-gradient(180deg, #050409 0%, #040307 100%) !important;
  box-shadow: none !important;
}
body.csb-profile-anime .csb-footer--anime::before,
body.csb-profile-anime .csb-footer--anime::after {
  background: none !important;
  box-shadow: none !important;
}

/* 3) Mobile thumbnails: revert to the normal poster/card ratio everywhere,
   except seasonal tag archives which are intentionally horizontal. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-card:not(.csb-anime-card--seasonal-archive) .csb-anime-card__media,
  body.csb-profile-anime .csb-anime-related-card .csb-anime-card__media,
  body.csb-profile-anime .csb-related-card__media {
    aspect-ratio: 2 / 3 !important;
  }
  body.csb-profile-anime .csb-anime-archive--seasonal-tag .csb-anime-card__media,
  body.csb-profile-anime.tag-ramowka .csb-anime-card__media,
  body.csb-profile-anime.term-ramowka .csb-anime-card__media,
  body.csb-profile-anime.tag-anime-seasonal-highlights .csb-anime-card__media,
  body.csb-profile-anime.term-anime-seasonal-highlights .csb-anime-card__media,
  body.csb-profile-anime .csb-anime-card--seasonal-archive .csb-anime-card__media {
    aspect-ratio: 16 / 9 !important;
  }
}

/* 4) Seasonal cards: make image area and PV buttons sit at the bottom of the card. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-group,
body.csb-profile-anime .csb-anime-post-content .seasonalblock {
  display: flex !important;
  flex-direction: column !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock {
  min-height: 100% !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock :where(.wp-block-image, figure.wp-block-image, .seasonalgallery) {
  margin-top: auto !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock :where(.wp-block-buttons,.seasonalbuttons) {
  margin-top: clamp(10px, 1vw, 16px) !important;
}

/* 5) Legacy centered images in seasonal posts. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .srodek,
  body.csb-profile-anime .csb-anime-post-content figure.srodek,
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.srodek,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.srodek {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto 22px !important;
    text-align: center !important;
  }
  body.csb-profile-anime .csb-anime-post-content .srodek img,
  body.csb-profile-anime .csb-anime-post-content figure.srodek img,
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.srodek img,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.srodek img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-inline: auto !important;
    object-fit: contain !important;
  }
}

/* 6) Mobile seasonal descriptions were squeezed too much in 0.6.14. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    font-size: clamp(.88rem, 2.9vw, 1rem) !important;
    line-height: 1.62 !important;
  }
}

/* 7) Mobile galleries: force a real two-column grid even when Gutenberg emits
   flex widths or `columns-1`. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid .blocks-gallery-item {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    margin: 0 !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}


/* 0.6.16: archive/card text justification, optional hero excerpt, cleaner footer transition, centered H2, larger desktop intro poster, robust 2-up mobile galleries. */
body.csb-profile-anime .csb-anime-card p,
body.csb-profile-anime .csb-anime-archive-hero__description,
body.csb-profile-anime .csb-anime-grid .csb-anime-card p,
body.csb-profile-anime .seasonaldescription,
body.csb-profile-anime .csb-anime-post-content p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body.csb-profile-anime .csb-anime-post-content h2 {
  text-align: center !important;
  padding-left: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.csb-profile-anime .csb-anime-post-content h2::before {
  display: none !important;
}
body.csb-profile-anime .csb-anime-post-content h2::after {
  width: min(420px, 72%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .95), transparent) !important;
}

@media (min-width: 901px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft,
  body.csb-profile-anime .csb-anime-post-content figure.alignleft,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft {
    width: clamp(220px, 24vw, 300px) !important;
    max-width: min(42%, 300px) !important;
  }
}

body.csb-profile-anime .csb-footer--anime {
  position: relative;
  margin-top: clamp(22px, 4vw, 42px);
  padding-top: clamp(18px, 3vw, 28px);
  border-top: 0 !important;
}
body.csb-profile-anime .csb-footer--anime::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .96), transparent);
  box-shadow: 0 0 22px rgba(var(--csb-active-accent-rgb), .28);
  pointer-events: none;
}
body.csb-profile-anime .csb-footer--anime::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -180px;
  height: 320px;
  background: radial-gradient(ellipse at bottom, rgba(var(--csb-active-accent-rgb), .22), transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-footer__logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 22px;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .22);
  background: linear-gradient(180deg, rgba(var(--csb-active-accent-rgb), .14), rgba(255,255,255,.04));
  box-shadow: 0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.10);
}
body.csb-profile-anime .csb-anime-footer-logo--fallback span,
body.csb-profile-anime .csb-anime-footer-logo__image {
  filter: drop-shadow(0 0 16px rgba(var(--csb-active-accent-rgb), .24));
}

@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid, .gallery, .csb-auto-gallery) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid, .gallery, .csb-auto-gallery) > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item, a, img, div, p, dl, li) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
    flex-basis: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .gallery .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .gallery-item {
    width: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid, .gallery, .csb-auto-gallery) img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(figcaption, .wp-caption-text, .blocks-gallery-caption, .gallery-caption) {
    grid-column: 1 / -1;
  }
}


/* 0.6.17: final desktop/mobile polish requested after 0.6.16. */

/* Intro poster block: enlarge the whole card on desktop, not only the image. */
@media (min-width: 901px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft,
  body.csb-profile-anime .csb-anime-post-content figure.alignleft,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft,
  body.csb-profile-anime .csb-anime-post-content .imgcmob.alignleft,
  body.csb-profile-anime .csb-anime-post-content figure.imgcmob.alignleft {
    width: clamp(270px, 27vw, 380px) !important;
    max-width: min(46%, 380px) !important;
    box-sizing: border-box !important;
    padding: 3px 3px 0 !important;
    overflow: hidden !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft img,
  body.csb-profile-anime .csb-anime-post-content figure.alignleft img,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft img,
  body.csb-profile-anime .csb-anime-post-content .imgcmob.alignleft img,
  body.csb-profile-anime .csb-anime-post-content figure.imgcmob.alignleft img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}
body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft figcaption,
body.csb-profile-anime .csb-anime-post-content figure.alignleft figcaption,
body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft .wp-caption-text,
body.csb-profile-anime .csb-anime-post-content .imgcmob figcaption,
body.csb-profile-anime .csb-anime-post-content .imgcmob .wp-caption-text {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile galleries: strongest layer, including Gutenberg flex galleries and legacy WP galleries. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.is-layout-flex,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.is-layout-flex,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > *,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figure.wp-block-image:not(#individual-image),
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image),
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image) {
    width: 100% !important;
    flex-basis: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid img,
  body.csb-profile-anime .csb-anime-post-content .gallery img,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .gallery-caption {
    grid-column: 1 / -1 !important;
  }
}

/* Footer: actual bottom accent glow and cleaner brand accent. */
body.csb-profile-anime .csb-footer--anime {
  position: relative !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(6,5,10,0), rgba(6,5,10,.82) 18%, #050408 62%, #040307 100%) !important;
}
body.csb-profile-anime .csb-footer--anime::after {
  content: "" !important;
  position: absolute !important;
  left: 8% !important;
  right: 8% !important;
  top: auto !important;
  bottom: -96px !important;
  height: 260px !important;
  border-radius: 999px 999px 0 0 !important;
  background:
    radial-gradient(ellipse at center bottom, rgba(var(--csb-active-accent-rgb), .36), rgba(var(--csb-active-accent-rgb), .13) 34%, transparent 72%) !important;
  filter: blur(30px) !important;
  opacity: .9 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body.csb-profile-anime .csb-anime-footer__inner {
  position: relative !important;
  z-index: 2 !important;
}
body.csb-profile-anime .csb-anime-footer__logo {
  position: relative !important;
  overflow: hidden !important;
}
body.csb-profile-anime .csb-anime-footer__logo::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  margin-right: 10px !important;
  border-radius: 999px !important;
  background: var(--csb-active-accent) !important;
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .62) !important;
  flex: 0 0 auto !important;
}

/* H2: centered heading with side accent lines, distinct from h3/h4. */
body.csb-profile-anime .csb-anime-post-content h2:not(.csb-final-verdict-badge) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(14px, 2.3vw, 34px) !important;
  text-align: center !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}
body.csb-profile-anime .csb-anime-post-content h2:not(.csb-final-verdict-badge)::before,
body.csb-profile-anime .csb-anime-post-content h2:not(.csb-final-verdict-badge)::after {
  content: "" !important;
  display: block !important;
  position: static !important;
  flex: 1 1 80px !important;
  width: auto !important;
  max-width: min(26vw, 300px) !important;
  height: 2px !important;
  border-radius: 999px !important;
  opacity: 1 !important;
  margin: 0 !important;
  filter: none !important;
  transform: none !important;
  box-shadow: 0 0 20px rgba(var(--csb-active-accent-rgb), .22) !important;
}
body.csb-profile-anime .csb-anime-post-content h2:not(.csb-final-verdict-badge)::before {
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .88)) !important;
}
body.csb-profile-anime .csb-anime-post-content h2:not(.csb-final-verdict-badge)::after {
  background: linear-gradient(90deg, rgba(var(--csb-active-accent-rgb), .88), transparent) !important;
}

/* Final verdict heading: use only one localized badge above the existing rating block. */
body.csb-profile-anime .csb-final-verdict-hidden {
  display: none !important;
}
body.csb-profile-anime .csb-final-verdict-badge {
  display: flex !important;
  width: fit-content !important;
  max-width: calc(100% - 24px) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: clamp(26px, 3vw, 44px) auto clamp(14px, 1.7vw, 24px) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .36) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .32), rgba(255,255,255,.045)) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.92rem, .45vw + .82rem, 1.12rem) !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .22) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.20), 0 0 26px rgba(var(--csb-active-accent-rgb), .14), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body.csb-profile-anime .csb-final-verdict-badge::before,
body.csb-profile-anime .csb-final-verdict-badge::after {
  content: none !important;
  display: none !important;
}


/* 0.6.18 final polish: verdict localization badge, stronger mobile galleries, footer bottom glow, centered share panel, larger intro block, H2 accent rails. */

/* Intro poster/block: enlarge the whole block, keep image inside, center caption, tiny padding around image. */
@media (min-width: 901px) {
  body.csb-profile-anime .csb-anime-post-content .imgcmob,
  body.csb-profile-anime .csb-anime-post-content figure.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.imgcmob {
    width: clamp(260px, 28vw, 380px) !important;
    max-width: min(46%, 380px) !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content figure.alignleft.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .wp-block-image.alignleft.imgcmob,
  body.csb-profile-anime .csb-anime-post-content .wp-caption.alignleft.imgcmob {
    margin-right: clamp(22px, 2.8vw, 42px) !important;
  }
}

body.csb-profile-anime .csb-anime-post-content .imgcmob img,
body.csb-profile-anime .csb-anime-post-content figure.imgcmob img,
body.csb-profile-anime .csb-anime-post-content .wp-block-image.imgcmob img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 3px 0 !important;
  box-sizing: border-box !important;
}

body.csb-profile-anime .csb-anime-post-content .imgcmob figcaption,
body.csb-profile-anime .csb-anime-post-content figure.imgcmob figcaption,
body.csb-profile-anime .csb-anime-post-content .wp-caption.imgcmob .wp-caption-text,
body.csb-profile-anime .csb-anime-post-content .wp-block-image.imgcmob figcaption {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Final verdict: the PL/EN labels become one centered badge above the evaluation block. */
body.csb-profile-anime .csb-anime-post-content .csb-final-verdict-hidden,
body.csb-profile-anime .csb-anime-post-content .PL.csb-final-verdict-hidden,
body.csb-profile-anime .csb-anime-post-content .EN.csb-final-verdict-hidden {
  display: none !important;
}

body.csb-profile-anime .csb-anime-post-content .csb-final-verdict-badge {
  display: table !important;
  width: auto !important;
  margin: clamp(18px, 2.4vw, 34px) auto clamp(14px, 1.6vw, 22px) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .40) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 64%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .34), rgba(255,255,255,.045)) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.82rem, .45vw + .72rem, 1rem) !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.36) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 26px rgba(var(--csb-active-accent-rgb), .15) !important;
}

/* H2: centered with elegant side rails. */
body.csb-profile-anime .csb-anime-post-content h2 {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr) !important;
  align-items: center !important;
  gap: clamp(14px, 2.2vw, 30px) !important;
  width: 100% !important;
  text-align: center !important;
  padding-left: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.csb-profile-anime .csb-anime-post-content h2::before,
body.csb-profile-anime .csb-anime-post-content h2::after {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background:
    linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .95), rgba(255,255,255,.16)) !important;
  box-shadow: 0 0 18px rgba(var(--csb-active-accent-rgb), .20) !important;
}

body.csb-profile-anime .csb-anime-post-content h2::after {
  transform: scaleX(-1);
}

/* Footer: visible glow from the bottom only + stronger brand badge. */
body.csb-profile-anime .csb-footer--anime {
  position: relative !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, #050408 0%, #050408 44%, rgba(6,5,10,1) 100%) !important;
}

body.csb-profile-anime .csb-footer--anime::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: clamp(170px, 22vw, 340px) !important;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(var(--csb-active-accent-rgb), .34), rgba(var(--csb-active-accent-rgb), .16) 30%, transparent 70%) !important;
  filter: blur(30px) !important;
  opacity: .9 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.csb-profile-anime .csb-anime-footer__inner {
  position: relative !important;
  z-index: 1 !important;
}

body.csb-profile-anime .csb-anime-footer-logo--fallback span,
body.csb-profile-anime .csb-anime-footer__logo .csb-anime-footer-logo--fallback span {
  width: 64px !important;
  height: 64px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .36) !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255,255,255,.22), transparent 64%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .96), rgba(255,79,163,.68)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 0 28px rgba(var(--csb-active-accent-rgb), .22),
    0 18px 38px rgba(0,0,0,.22) !important;
}

/* Share panel: center contents. */
body.csb-profile-anime .csb-anime-share {
  text-align: center !important;
  justify-items: center !important;
}

body.csb-profile-anime .csb-anime-share__label {
  justify-content: center !important;
  text-align: center !important;
}

body.csb-profile-anime .csb-anime-share__buttons {
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile galleries: brute-force Gutenberg + classic galleries to two columns. */
@media (max-width: 760px) {
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .gallery > .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > figure,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > a,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > figure,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > .wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > .gallery-item {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figcaption,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figcaption,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .gallery-caption {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images img,
  body.csb-profile-anime .csb-anime-post-content .gallery img,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}

/* 0.6.19: fix excerpt toggles, force mobile galleries to 2 columns, and make footer separator/glow visible and accent-only. */

/* Archive/home card excerpts are always controlled by content, not by single hero excerpt settings. */
body.csb-profile-anime .csb-anime-card__body > p {
  display: block !important;
}

/* Single-post hero excerpt is hidden only when its own PHP setting disables it. */
body.csb-profile-anime .csb-anime-single-hero__copy > p:empty {
  display: none !important;
}

/* Strong mobile gallery override — Gutenberg, classic gallery and generated galleries. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figure,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figure,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .gallery > .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > a,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > figure,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > div {
    box-sizing: border-box !important;
    flex: 0 0 calc(50% - 4px) !important;
    flex-basis: calc(50% - 4px) !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image img,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image img,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-item img,
  body.csb-profile-anime .csb-anime-post-content .gallery-item img,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: cover !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .gallery-caption {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Extra JS-added class has final authority after Gutenberg/Elementor inline weirdness. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-mobile-two-col-gallery > :not(figcaption):not(.blocks-gallery-caption):not(.gallery-caption) {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
  }
}

/* Footer: no blue band, clear accent separator and bottom-only glow. */
body.csb-profile-anime .elementor-widget-shortcode:has(.csb-footer--anime),
body.csb-profile-anime .elementor-element:has(.csb-footer--anime),
body.csb-profile-anime .csb-footer--anime {
  background:
    linear-gradient(180deg, #050409 0%, #040307 72%, #030207 100%) !important;
  background-color: #050409 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

body.csb-profile-anime .csb-footer--anime {
  position: relative !important;
  overflow: hidden !important;
  margin-top: clamp(28px, 4vw, 54px) !important;
  padding-top: clamp(36px, 5vw, 70px) !important;
  isolation: isolate;
}

body.csb-profile-anime .csb-footer--anime::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  width: min(1280px, calc(100% - 44px)) !important;
  height: 2px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .95), rgba(255,255,255,.18), rgba(var(--csb-active-accent-rgb), .95), transparent) !important;
  box-shadow: 0 0 26px rgba(var(--csb-active-accent-rgb), .30) !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

body.csb-profile-anime .csb-footer--anime::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: -190px !important;
  width: min(1200px, 90vw) !important;
  height: 360px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: radial-gradient(ellipse at center, rgba(var(--csb-active-accent-rgb), .34), rgba(var(--csb-active-accent-rgb), .13) 36%, transparent 72%) !important;
  filter: blur(28px) !important;
  opacity: .92 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.csb-profile-anime .csb-anime-footer__inner {
  position: relative !important;
  z-index: 2 !important;
}

body.csb-profile-anime .csb-anime-footer-logo--fallback span,
body.csb-profile-anime .csb-anime-footer__logo .csb-anime-footer-logo--fallback span {
  width: 66px !important;
  height: 66px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 48%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .96), rgba(255,79,154,.62)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 18px 46px rgba(var(--csb-active-accent-rgb), .18), inset 0 1px 0 rgba(255,255,255,.18) !important;
  font-size: 1.05rem !important;
}

body.csb-profile-anime .csb-anime-footer-logo--fallback strong,
body.csb-profile-anime .csb-anime-footer__logo .csb-anime-footer-logo--fallback strong {
  font-size: clamp(1.8rem, 2.5vw, 2.75rem) !important;
}


/* 0.6.20: repair mobile galleries, seasonal card descriptions and bottom alignment. */

/* Gallery wrapper that JS creates for consecutive standalone image blocks. */
body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid {
  display: contents;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid > :is(figure, .wp-block-image, .wp-caption, p, div) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin: 0 auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content ul.blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item, a, div, li),
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item, a, div, li),
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid > :is(.blocks-gallery-item, li),
  body.csb-profile-anime .csb-anime-post-content .gallery > .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > :is(figure, a, div),
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > :not(figcaption):not(.blocks-gallery-caption):not(.gallery-caption) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .gallery-caption {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Seasonal descriptions must stay visible on mobile, and readable. */
body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: rgba(255,255,255,.82) !important;
  overflow: visible !important;
  max-height: none !important;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(.74rem, 2.45vw, .9rem) !important;
    line-height: 1.48 !important;
    margin: 6px 0 !important;
  }
}

/* Restore text wrapping around image blocks inside seasonal descriptions on desktop. */
@media screen and (min-width: 783px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription :is(figure.alignleft, .wp-block-image.alignleft, .wp-caption.alignleft, .srodek.alignleft) {
    float: left !important;
    clear: none !important;
    width: clamp(210px, 22vw, 300px) !important;
    max-width: 38% !important;
    margin: .35em clamp(18px, 2vw, 30px) 14px 0 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonaldescription :is(figure.alignright, .wp-block-image.alignright, .wp-caption.alignright, .srodek.alignright) {
    float: right !important;
    clear: none !important;
    width: clamp(210px, 22vw, 300px) !important;
    max-width: 38% !important;
    margin: .35em 0 14px clamp(18px, 2vw, 30px) !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonaldescription::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
  }
}

/* Seasonal series cards: equalize vertical placement.
   Title/description stay at top; image area and PV buttons settle at the bottom. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
  align-items: stretch !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-height: 100% !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.seasonaldescription, .seasonalinfo, .seasonalrate) {
  flex: 0 0 auto !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
  flex: 0 0 auto !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: 12px !important;
  flex: 0 0 auto !important;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
    margin-top: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.wp-block-buttons, .seasonalbuttons) {
    margin-top: 8px !important;
  }
}


/* 0.6.21: fix regressions from seasonal/card/gallery overrides.
   The important part: do NOT let the old desktop gallery flex rule leave children at 100% on mobile. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"],
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"],
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid {
    display: flex !important;
    flex-flow: row wrap !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"] > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-grid > .blocks-gallery-item,
  body.csb-profile-anime .csb-anime-post-content .gallery > .gallery-item,
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > *,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-two-col-gallery > *,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid > * {
    display: block !important;
    flex: 0 0 calc(50% - 4px) !important;
    flex-basis: calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content .blocks-gallery-caption,
  body.csb-profile-anime .csb-anime-post-content .gallery-caption {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Seasonal description/text wrapping: only series blocks without descriptions use flex-card bottom alignment. */
body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  display: flow-root !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@media screen and (min-width: 783px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-of-type,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-child {
    float: left !important;
    clear: none !important;
    width: clamp(210px, 22vw, 310px) !important;
    max-width: 38% !important;
    margin: .25em clamp(18px, 2vw, 30px) 14px 0 !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription)::after,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
  }
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    display: flow-root !important;
    font-size: clamp(.82rem, 2.85vw, .98rem) !important;
    line-height: 1.56 !important;
    margin: 7px 0 9px !important;
  }
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: 12px !important;
}


/* 0.6.22: stop fighting Gutenberg galleries on mobile, repair seasonal description/card layout, and make PL/EN final verdict a real localized badge. */

/* Final verdict labels: CSS fallback using the actual PL/EN classes from the post. */
html[lang^="pl"] body.csb-profile-anime .csb-anime-post-content :is(.EN,.en).csb-final-verdict-hidden,
html[lang^="pl"] body.csb-profile-anime .csb-anime-post-content :is(.EN,.en),
body.lang-pl.csb-profile-anime .csb-anime-post-content :is(.EN,.en),
body.pll-lang-pl.csb-profile-anime .csb-anime-post-content :is(.EN,.en) {
  display: none !important;
}
html[lang^="en"] body.csb-profile-anime .csb-anime-post-content :is(.PL,.pl),
body.lang-en.csb-profile-anime .csb-anime-post-content :is(.PL,.pl),
body.pll-lang-en.csb-profile-anime .csb-anime-post-content :is(.PL,.pl) {
  display: none !important;
}
body.csb-profile-anime .csb-anime-post-content :is(.PL,.EN,.pl,.en).csb-final-verdict-badge {
  display: table !important;
  width: auto !important;
  max-width: calc(100% - 24px) !important;
  margin: clamp(18px, 2.6vw, 34px) auto clamp(14px, 1.6vw, 22px) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .42) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 64%),
    linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .34), rgba(255,255,255,.045)) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.82rem, .45vw + .72rem, 1rem) !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.36) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 26px rgba(var(--csb-active-accent-rgb), .15) !important;
}

/* Real WP galleries on mobile: stop the previous custom display override.
   Gutenberg's own flex layout handles 2-up correctly once we stop forcing the old desktop rule. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"],
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] {
    display: revert !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"] > *,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] > figure.wp-block-image {
    min-width: 0 !important;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
    flex-basis: calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
  }

  /* Generated legacy galleries still need an explicit flex layout. */
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid,
  body.csb-profile-anime .csb-anime-post-content .gallery:not(.wp-block-gallery) {
    display: flex !important;
    flex-flow: row wrap !important;
    gap: 8px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .csb-auto-gallery > *,
  body.csb-profile-anime .csb-anime-post-content .csb-mobile-figure-grid > *,
  body.csb-profile-anime .csb-anime-post-content .gallery:not(.wp-block-gallery) > .gallery-item {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
  }
}

/* Seasonal description cards: restore stable text wrap on desktop without creating large fake card height. */
body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  min-height: 0 !important;
}
@media screen and (min-width: 783px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: clamp(16px, 1.4vw, 22px) !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-of-type,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-child {
    float: left !important;
    clear: none !important;
    width: clamp(210px, 20vw, 300px) !important;
    max-width: 34% !important;
    margin: .2em clamp(18px, 2vw, 28px) 12px 0 !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription)::after,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
  }
}
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    display: block !important;
    font-size: clamp(.88rem, 3vw, 1rem) !important;
    line-height: 1.6 !important;
    margin: 8px 0 10px !important;
  }
}

/* Seasonal preview cards without descriptions: lower/align media+PV, reduce dead spacing. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
  gap: clamp(8px, 1vw, 14px) !important;
  column-gap: clamp(8px, 1vw, 14px) !important;
  row-gap: clamp(14px, 1.4vw, 20px) !important;
  align-items: stretch !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
  min-height: 0 !important;
  height: auto !important;
  padding-left: clamp(8px, 1vw, 14px) !important;
  padding-right: clamp(8px, 1vw, 14px) !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group):not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  align-self: stretch !important;
}
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group):not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: clamp(8px, 1vw, 12px) !important;
  margin-bottom: 0 !important;
  align-self: stretch !important;
}
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna,
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
    gap: 8px !important;
    row-gap: 12px !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock),
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}


/* --------------------------------------------------------------------------
   0.6.23 hard cleanup: galleries, seasonal layout, language verdict badges.
   This block intentionally comes last and avoids the older conflicting gallery
   flex/grid rules by overriding both the gallery container and the direct items.
   -------------------------------------------------------------------------- */

/* Gallery on phones: final source of truth. Real Gutenberg galleries use grid;
   children are normal grid items, not 100%-wide flex items. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content :is(
    .wp-block-gallery,
    figure.wp-block-gallery,
    .wp-block-gallery.has-nested-images,
    figure.wp-block-gallery.has-nested-images,
    .wp-block-gallery[class*="columns-"],
    figure.wp-block-gallery[class*="columns-"],
    .blocks-gallery-grid,
    ul.blocks-gallery-grid,
    .gallery,
    .csb-auto-gallery,
    .csb-mobile-two-col-gallery,
    .csb-mobile-figure-grid
  ) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 8px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(
    .wp-block-gallery,
    figure.wp-block-gallery,
    .wp-block-gallery.has-nested-images,
    figure.wp-block-gallery.has-nested-images,
    .blocks-gallery-grid,
    ul.blocks-gallery-grid,
    .gallery,
    .csb-auto-gallery,
    .csb-mobile-two-col-gallery,
    .csb-mobile-figure-grid
  ) > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item, a, div, li, p) {
    grid-column: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(
    .wp-block-gallery,
    figure.wp-block-gallery,
    .blocks-gallery-grid,
    ul.blocks-gallery-grid,
    .gallery,
    .csb-auto-gallery,
    .csb-mobile-two-col-gallery,
    .csb-mobile-figure-grid
  ) > :is(figcaption, .blocks-gallery-caption, .gallery-caption) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(
    .wp-block-gallery,
    figure.wp-block-gallery,
    .blocks-gallery-grid,
    ul.blocks-gallery-grid,
    .gallery,
    .csb-auto-gallery,
    .csb-mobile-two-col-gallery,
    .csb-mobile-figure-grid
  ) img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin: 0 auto !important;
  }
}

/* Seasonal description blocks: desktop text wraps around the first poster/image;
   mobile descriptions never vanish. */
body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
}
@media screen and (min-width: 783px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-of-type,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-child,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription :is(figure.alignleft, .wp-block-image.alignleft, .wp-caption.alignleft):first-child {
    float: left !important;
    clear: none !important;
    width: clamp(220px, 21vw, 310px) !important;
    max-width: min(36%, 310px) !important;
    margin: .2em clamp(18px, 2vw, 30px) 12px 0 !important;
  }
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription)::after,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
  }
}
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    font-size: clamp(.78rem, 2.7vw, .92rem) !important;
    line-height: 1.5 !important;
    margin: 6px 0 8px !important;
  }
}

/* Seasonal card rows: less horizontal dead space, equal height, media/PV docked at bottom. */
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) {
  gap: clamp(8px, .9vw, 14px) !important;
  column-gap: clamp(8px, .9vw, 14px) !important;
  row-gap: clamp(12px, 1.1vw, 18px) !important;
  align-items: stretch !important;
}
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  padding-left: clamp(7px, .75vw, 12px) !important;
  padding-right: clamp(7px, .75vw, 12px) !important;
}
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob),
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) .seasonalblock:not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: clamp(8px, .9vw, 12px) !important;
  margin-bottom: 0 !important;
}
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) {
    gap: 7px !important;
    row-gap: 10px !important;
  }
  body.csb-profile-anime .csb-anime-post-content :is(.seasonalseriescolumna, .wp-block-columns.seasonalseriescolumna) > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* PL/EN verdict labels: hide the wrong language and turn the visible one into a badge.
   Broadened beyond .csb-anime-post-content because some old blocks sit outside it. */
body.csb-profile-anime :is(.PL, .EN, .pl, .en) {
  max-width: max-content;
}
html[lang^="pl"] body.csb-profile-anime :is(.EN, .en),
body.lang-pl.csb-profile-anime :is(.EN, .en),
body.pl.csb-profile-anime :is(.EN, .en) {
  display: none !important;
}
html[lang^="en"] body.csb-profile-anime :is(.PL, .pl),
body.lang-en.csb-profile-anime :is(.PL, .pl),
body.en.csb-profile-anime :is(.PL, .pl) {
  display: none !important;
}
body.csb-profile-anime :is(.PL, .EN, .pl, .en).csb-final-verdict-badge,
body.csb-profile-anime .csb-anime-post-content :is(.PL, .EN, .pl, .en) {
  display: flex !important;
  width: fit-content !important;
  max-width: calc(100% - 24px) !important;
  align-items: center !important;
  justify-content: center !important;
  margin: clamp(22px, 3vw, 40px) auto clamp(12px, 1.6vw, 22px) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .38) !important;
  background: linear-gradient(135deg, rgba(var(--csb-active-accent-rgb), .34), rgba(255,255,255,.055)) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.9rem, .45vw + .82rem, 1.12rem) !important;
  font-weight: 950 !important;
  letter-spacing: .11em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.20), 0 0 26px rgba(var(--csb-active-accent-rgb), .15), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
html[lang^="pl"] body.csb-profile-anime :is(.PL, .pl).csb-final-verdict-badge::before,
html[lang^="en"] body.csb-profile-anime :is(.EN, .en).csb-final-verdict-badge::before,
body.csb-profile-anime .csb-anime-post-content :is(.PL, .EN, .pl, .en)::before,
body.csb-profile-anime .csb-anime-post-content :is(.PL, .EN, .pl, .en)::after {
  content: none !important;
  display: none !important;
}


/* --------------------------------------------------------------------------
   0.6.24 cleanup: stop fighting Gutenberg galleries, restore seasonal layout,
   and make PL/EN verdict labels a real centered badge.
   -------------------------------------------------------------------------- */

/* Do not let older rules/JS turn Gutenberg galleries into custom grid wrappers.
   User-confirmed issue: the `display: revert` / custom display on this exact
   selector broke mobile columns. The final source of truth is: flex + 2-up. */
@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"],
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"],
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    grid-auto-flow: initial !important;
    gap: 8px !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery[class*="columns-"] > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images[class*="columns-"] > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery.has-nested-images > figure.wp-block-image {
    display: block !important;
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery > figcaption,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery > figcaption {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-gallery img,
  body.csb-profile-anime .csb-anime-post-content figure.wp-block-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: cover !important;
  }
}

/* Seasonal description series: text must wrap around the poster on desktop,
   and the description must never vanish on mobile. */
body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonaldescription {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@media screen and (min-width: 783px) {
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription) > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-of-type,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription > :is(figure.wp-block-image, .wp-block-image, .wp-caption):first-child {
    float: left !important;
    clear: none !important;
    width: clamp(210px, 20vw, 300px) !important;
    max-width: 34% !important;
    margin: 0 clamp(20px, 2vw, 34px) 12px 0 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonaldescription::after,
  body.csb-profile-anime .csb-anime-post-content .seasonalblock:has(.seasonaldescription)::after {
    content: "";
    display: table;
    clear: both;
  }
}

/* Seasonal recommendation cards without descriptions: compact and consistent.
   Mobile keeps two cards per row, with image/PV pinned to the bottom. */
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
  gap: clamp(8px, 1vw, 14px) !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  padding: clamp(10px, 1.05vw, 16px) !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: 10px !important;
  flex: 0 0 auto !important;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock) {
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 7px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna :is(.seasonaltitlejapanese, .seasonaltitleromaji, h4, h5) {
    font-size: clamp(.75rem, 2.35vw, .98rem) !important;
    line-height: 1.08 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .wp-block-button__link {
    min-height: 36px !important;
    font-size: clamp(.7rem, 2.2vw, .84rem) !important;
    padding-inline: 7px !important;
  }
}

/* PL/EN verdict labels: hide the inactive language and turn the active one into
   a centered badge. This intentionally targets the user-supplied PL/EN classes. */
body.csb-profile-anime :is(.PL, .EN, .pl, .en) {
  box-sizing: border-box;
}

html[lang^="pl"] body.csb-profile-anime :is(.EN, .en),
html[lang^="en"] body.csb-profile-anime :is(.PL, .pl) {
  display: none !important;
}

html[lang^="pl"] body.csb-profile-anime :is(.PL, .pl),
html[lang^="en"] body.csb-profile-anime :is(.EN, .en),
body.csb-profile-anime .csb-final-verdict-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  max-width: min(100%, 360px) !important;
  margin: clamp(18px, 2vw, 28px) auto clamp(14px, 1.5vw, 22px) !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(var(--csb-active-accent-rgb), .34) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), transparent 64%),
    rgba(var(--csb-active-accent-rgb), .14) !important;
  color: #fff !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(.86rem, .45vw + .78rem, 1.04rem) !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.36) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 24px rgba(var(--csb-active-accent-rgb), .14) !important;
}

body.csb-profile-anime .csb-final-verdict-hidden {
  display: none !important;
}


/* --------------------------------------------------------------------------
   0.6.25 focused fix: seasonal card vertical alignment only.
   Do not touch galleries here; 0.6.24 gallery behavior stays intact.
   -------------------------------------------------------------------------- */
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna {
  align-items: stretch !important;
}

body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > .wp-block-column,
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
}

/* Gutenberg often puts the real card inside the column; that inner seasonalblock
   also has to be the flex column, otherwise margin-top:auto on the media cannot work. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column > .seasonalblock:not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 100% !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonaltitlejapanese, .seasonaltitleromaji, h3, h4, h5, h6) {
  flex: 0 0 auto !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column:not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column:not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons) {
  margin-top: clamp(7px, .8vw, 10px) !important;
  margin-bottom: 0 !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna,
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 7px !important;
    column-gap: 7px !important;
    row-gap: 10px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > .wp-block-column,
  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > .wp-block-column {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
    padding: 8px 7px 10px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonaltitlejapanese, .seasonaltitleromaji, h3, h4, h5, h6) {
    font-size: clamp(.72rem, 2.25vw, .92rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 7px !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.seasonalgallery, figure.wp-block-image, .wp-block-image):not(.alignleft):not(.alignright):not(.srodek):not(.imgcmob) {
    margin-top: auto !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) > :is(.wp-block-buttons, .seasonalbuttons) {
    margin-top: 7px !important;
  }
}


/* --------------------------------------------------------------------------
   0.6.26 focused CSS cleanup based on live DevTools checks.
   -------------------------------------------------------------------------- */

/* Final verdict language badge: block-level flex, not inline-flex. */
html[lang^="pl"] body.csb-profile-anime :is(.PL,.pl),
html[lang^="en"] body.csb-profile-anime :is(.EN,.en),
body.csb-profile-anime .csb-final-verdict-badge {
  display: flex !important;
}

/* Seasonal cards: remove remaining internal spacing and push content to bottom. */
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column,.wp-block-group,.seasonalblock):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column,.wp-block-group,.seasonalblock):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
  padding: 0 !important;
  justify-content: flex-end !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column,.wp-block-group,.seasonalblock):not(:has(.seasonaldescription)) :is(.wp-block-buttons,.seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column,.wp-block-group,.seasonalblock):not(:has(.seasonaldescription)) :is(.wp-block-buttons,.seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) :is(.wp-block-buttons,.seasonalbuttons) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  align-content: flex-end !important;
  flex-direction: row-reverse !important;
}

body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center,
body.csb-profile-anime .csb-anime-post-content .seasonalbuttons,
body.csb-profile-anime .csb-anime-post-content [class*="buttonseason"]:not(a):not(button):not(.wp-block-button__link) {
  margin: 0 !important;
}

/* Status treatments:
   - droppedseries: grayscale + blur, with diagonal DROP tape.
   - notaired: grayscale only, no blur and no label. */
body.csb-profile-anime .droppedseries img {
  filter: grayscale(1) blur(1.8px) brightness(.56) saturate(.42) !important;
  transform: scale(1.025) !important;
}

body.csb-profile-anime .notaired img {
  filter: grayscale(1) saturate(.2) brightness(.72) !important;
  transform: none !important;
}

body.csb-profile-anime .notaired::after,
body.csb-profile-anime .notaired .csb-season-status-overlay,
body.csb-profile-anime .notaired .csb-season-status-overlay--notaired {
  content: none !important;
  display: none !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries {
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%) rotate(-14deg) !important;
  min-width: min(86%, 360px) !important;
  min-height: clamp(42px, 4vw, 58px) !important;
  padding: 8px 28px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62) 48%, rgba(8,8,10,.72) 49%, rgba(8,8,10,.88)) !important;
  color: #07070a !important;
  -webkit-backdrop-filter: blur(12px) saturate(.75) !important;
  backdrop-filter: blur(12px) saturate(.75) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.45) !important;
  font-size: clamp(1.05rem, 1.25vw, 1.55rem) !important;
  font-weight: 950 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::before,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::before {
  content: "DROP" !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries {
  font-size: 0 !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::before,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::before {
  font-size: clamp(1.05rem, 1.25vw, 1.55rem) !important;
}


/* === Anime profile 0.6.27 targeted seasonal fixes =========================
   Keep this as a small final override: requested values from browser testing.
   - final verdict language badge uses flex, not inline-flex
   - seasonal preview cards restore 10px padding, zero button margins, flex-end
   - droppedseries overlay is subtler; notaired remains grayscale-only
   - mobile seasonaldescription larger; seasonalrate smaller
============================================================================ */

html[lang^="pl"] body.csb-profile-anime :is(.PL, .pl),
html[lang^="en"] body.csb-profile-anime :is(.EN, .en),
body.csb-profile-anime .csb-final-verdict-badge {
  display: flex !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) {
  padding: 10px !important;
  justify-content: flex-end !important;
}

body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .wp-block-columns.seasonalseriescolumna > :is(.wp-block-column, .wp-block-group, .seasonalblock):not(:has(.seasonaldescription)) :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .seasonalseriescolumna .seasonalblock:not(:has(.seasonaldescription)) :is(.wp-block-buttons, .seasonalbuttons),
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons,
body.csb-profile-anime .csb-anime-post-content .wp-block-buttons.is-content-justification-center,
body.csb-profile-anime .csb-anime-post-content .seasonalbuttons,
body.csb-profile-anime .csb-anime-post-content [class*="buttonseason"]:not(a):not(button):not(.wp-block-button__link) {
  margin: 0 !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries {
  position: absolute !important;
  z-index: 8 !important;
  top: 28% !important;
  left: auto !important;
  right: -9% !important;
  width: 54% !important;
  min-width: 118px !important;
  max-width: 210px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  transform: rotate(-24deg) !important;
  transform-origin: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(8, 8, 10, .74) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.28) !important;
  color: rgba(255,255,255,.92) !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  opacity: .86 !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  pointer-events: none !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::before,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::before {
  content: "DROP" !important;
  display: block !important;
  color: inherit !important;
  background: none !important;
  box-shadow: none !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::after,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::after {
  content: none !important;
  display: none !important;
}

body.csb-profile-anime .notaired img {
  filter: grayscale(1) saturate(.25) opacity(.72) !important;
}

body.csb-profile-anime .notaired .csb-season-status-overlay,
body.csb-profile-anime .notaired::after {
  content: none !important;
  display: none !important;
}

@media screen and (max-width: 782px) {
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription p,
  body.csb-profile-anime .csb-anime-post-content .seasonaldescription li {
    font-size: clamp(1.02rem, 3.65vw, 1.17rem) !important;
    line-height: 1.64 !important;
  }

  body.csb-profile-anime .csb-anime-post-content .seasonalrate,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate p,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate .wp-block-column > p,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate strong,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate b,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate em,
  body.csb-profile-anime .csb-anime-post-content .seasonalrate span {
    font-size: clamp(.86rem, 3.25vw, .98rem) !important;
    line-height: 1.58 !important;
  }
}


/* === Anime profile 0.6.28 targeted fixes ================================
   - no-reveal setting disables only scroll/content reveal, not all animations
   - droppedseries badge: single DROP text, larger, more diagonal, no gradient
============================================================================ */

body.csb-profile-anime.csb-anime-no-reveal .csb-reveal,
body.csb-profile-anime.csb-anime-no-reveal .csb-reveal.is-visible,
body.csb-profile-anime.csb-anime-no-reveal .csb-post-content > *,
body.csb-profile-anime.csb-anime-no-reveal .csb-anime-post-content > * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  animation-name: none !important;
  transition-delay: 0ms !important;
}

body.csb-profile-anime .droppedseries::after {
  content: none !important;
  display: none !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries {
  position: absolute !important;
  z-index: 8 !important;
  top: 25% !important;
  left: auto !important;
  right: -18% !important;
  width: 66% !important;
  min-width: 136px !important;
  max-width: 250px !important;
  height: clamp(38px, 4.2vw, 52px) !important;
  min-height: 0 !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  transform: rotate(-34deg) !important;
  transform-origin: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(8, 8, 10, .88) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.34) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
  opacity: .9 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::before,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::before {
  content: "DROP" !important;
  display: block !important;
  color: rgba(255,255,255,.92) !important;
  background: none !important;
  box-shadow: none !important;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: clamp(1.12rem, 1.65vw, 1.85rem) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  text-indent: 0 !important;
}

body.csb-profile-anime .droppedseries .csb-season-status-overlay::after,
body.csb-profile-anime .droppedseries .csb-season-status-overlay--droppedseries::after {
  content: none !important;
  display: none !important;
}

/* 0.6.29: optional single-post table of contents. */
body.csb-profile-anime .csb-anime-toc {
  position: relative;
  overflow: hidden;
  width: min(100%, 1180px);
  margin: 0 auto clamp(28px, 3vw, 42px);
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(var(--csb-active-accent-rgb), .22);
  border-radius: clamp(24px, 2.2vw, 34px);
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--csb-active-accent-rgb), .18), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)),
    rgba(13, 12, 20, .78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 70px rgba(0,0,0,.28),
    0 0 42px rgba(var(--csb-active-accent-rgb), .08);
  backdrop-filter: blur(18px);
}
body.csb-profile-anime .csb-anime-toc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--csb-active-accent-rgb), .78), transparent);
  pointer-events: none;
}
body.csb-profile-anime .csb-anime-toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(14px, 1.5vw, 20px);
}
body.csb-profile-anime .csb-anime-toc__head .csb-kicker {
  flex: 0 0 auto;
  margin: 0;
}
body.csb-profile-anime .csb-anime-toc__head h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  font-size: clamp(1.45rem, 1.45vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em;
}
body.csb-profile-anime .csb-anime-toc__head h2::before,
body.csb-profile-anime .csb-anime-toc__head h2::after {
  display: none !important;
}
body.csb-profile-anime .csb-anime-toc__list {
  counter-reset: csb-toc;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.csb-profile-anime .csb-anime-toc__item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.csb-profile-anime .csb-anime-toc__item a {
  counter-increment: csb-toc;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.88) !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
body.csb-profile-anime .csb-anime-toc__item a::before {
  content: counter(csb-toc, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: rgba(var(--csb-active-accent-rgb), .16);
  color: rgb(var(--csb-active-accent-rgb));
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}
body.csb-profile-anime .csb-anime-toc__item a span {
  min-width: 0;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.25;
}
body.csb-profile-anime .csb-anime-toc__item a:hover,
body.csb-profile-anime .csb-anime-toc__item a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--csb-active-accent-rgb), .38);
  background: rgba(var(--csb-active-accent-rgb), .10);
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(var(--csb-active-accent-rgb), .13);
}
body.csb-profile-anime .csb-anime-toc__item--h3 a {
  margin-left: clamp(16px, 2vw, 32px);
  min-height: 42px;
  border-style: dashed;
  background: rgba(255,255,255,.028);
}
body.csb-profile-anime .csb-anime-toc__item--h3 a span {
  font-size: .9rem;
  font-weight: 750;
}
body.csb-profile-anime .csb-anime-post-content :is(h2,h3)[id] {
  scroll-margin-top: 120px;
}
@media (max-width: 860px) {
  body.csb-profile-anime .csb-anime-toc {
    padding: 16px;
    margin-bottom: 24px;
  }
  body.csb-profile-anime .csb-anime-toc__head {
    display: block;
    text-align: center;
  }
  body.csb-profile-anime .csb-anime-toc__head .csb-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }
  body.csb-profile-anime .csb-anime-toc__head h2 {
    text-align: center !important;
  }
  body.csb-profile-anime .csb-anime-toc__list {
    grid-template-columns: 1fr;
  }
  body.csb-profile-anime .csb-anime-toc__item--h3 a {
    margin-left: 14px;
  }
}


/* 0.6.31: Desktop Gutenberg gallery flex rows.
   Respect Gutenberg's columns-* as the intended maximum row size, but do not
   leave empty cells in incomplete rows. Flex-grow lets the last row stretch
   to full width, e.g. a columns-3 gallery with 2 images in the last row gets
   two half-width images instead of an empty third slot. */
@media (min-width: 761px) {
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid)[class*="columns-"] {
    --csb-gallery-gap: clamp(10px, 1.2vw, 18px);
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: var(--csb-gallery-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid)[class*="columns-"] > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    box-sizing: border-box !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-1 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: 100% !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-2 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - var(--csb-gallery-gap)) / 2) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-3 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item),
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-default > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (2 * var(--csb-gallery-gap))) / 3) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-4 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (3 * var(--csb-gallery-gap))) / 4) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-5 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (4 * var(--csb-gallery-gap))) / 5) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-6 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (5 * var(--csb-gallery-gap))) / 6) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-7 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (6 * var(--csb-gallery-gap))) / 7) !important; }
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid).columns-8 > :is(figure, .wp-block-image, .blocks-gallery-item, .gallery-item) { flex-basis: calc((100% - (7 * var(--csb-gallery-gap))) / 8) !important; }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid)[class*="columns-"] img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid)[class*="columns-"] > figcaption,
  body.csb-profile-anime .csb-anime-post-content :is(.wp-block-gallery, figure.wp-block-gallery.has-nested-images, .blocks-gallery-grid, ul.blocks-gallery-grid)[class*="columns-"] > .blocks-gallery-caption {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* 0.6.36: TOC title-only header. Remove the helper badge and keep the heading centered. */
body.csb-profile-anime .csb-anime-toc__head {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body.csb-profile-anime .csb-anime-toc__head .csb-kicker {
  display: none !important;
}
body.csb-profile-anime .csb-anime-toc__head h2 {
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
