/* ========================================================================== 
   Series234 MASTER v0.1.2
   Metro Mint Data Hub identity. Desktop-only. Neutral graphite + fresh mint + coral, intentionally distinct from SPOTLIGHT.
   ========================================================================== */

html {
    --s234-bg: #101416;
    --s234-bg-2: #161c1f;
    --s234-panel: #1b2427;
    --s234-panel-2: #222e31;
    --s234-panel-3: #2b3a3d;
    --s234-line: rgba(255, 159, 28, .18);
    --s234-line-strong: rgba(199, 244, 100, .36);
    --s234-text: #f3fbf7;
    --s234-muted: #9eb2aa;
    --s234-cyan: #68e0b2;
    --s234-cyan-2: #91eccb;
    --s234-violet: #ff8798;
    --s234-pink: #ff8798;
    --s234-lime: #86e7b5;
    --s234-amber: #f3d76b;
    --s234-radius: 14px;
    --s234-shadow: 0 18px 48px rgba(0,0,0,.26);
}

body.series234-master-theme {
    --series-bg: var(--s234-bg);
    --series-bg-soft: var(--s234-bg-2);
    --series-surface: var(--s234-panel);
    --series-surface-2: var(--s234-panel-2);
    --series-line: var(--s234-line);
    --series-line-strong: var(--s234-line-strong);
    --series-text: #dcebe5;
    --series-text-strong: var(--s234-text);
    --series-muted: var(--s234-muted);
    --series-accent: var(--s234-cyan);
    --series-accent-2: var(--s234-violet);
    --series-accent-soft: rgba(104,224,178,.10);
    --color-accent: var(--s234-cyan);
    background:
        linear-gradient(rgba(104,224,178,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,135,152,.018) 1px, transparent 1px),
        radial-gradient(circle at 8% -8%, rgba(104,224,178,.12), transparent 28rem),
        radial-gradient(circle at 92% 2%, rgba(255,135,152,.10), transparent 30rem),
        linear-gradient(180deg, #101416, #161c1f 52%, #101416);
    background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

body.series234-master-theme .series-header {
    background: rgba(16,20,22,.96);
    border-bottom-color: rgba(104,224,178,.13);
    box-shadow: 0 10px 36px rgba(0,0,0,.20);
}

body.series234-master-theme .series-header__inner {
    min-height: 86px;
    grid-template-columns: 270px minmax(480px, 690px) 1fr;
    gap: 30px;
}

body.series234-master-theme .series-brand {
    gap: 11px;
}

body.series234-master-theme .series234-brand__mark {
    display: inline-grid;
    place-items: center;
    min-width: 56px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(104,224,178,.36);
    border-radius: 12px 4px 12px 4px;
    background: linear-gradient(135deg, rgba(104,224,178,.18), rgba(255,135,152,.14));
    color: var(--s234-cyan);
    font: 800 16px/1 Manrope, sans-serif;
    letter-spacing: .08em;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 8px 18px rgba(0,0,0,.16);
}

body.series234-master-theme .series-brand__text strong {
    font-size: 28px;
    color: #f7fcfa;
}

body.series234-master-theme .series-brand__text strong::after {
    content: "MASTER";
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 6px;
    vertical-align: 4px;
    border: 1px solid rgba(255,135,152,.28);
    border-radius: 5px;
    color: #ffb0ba;
    background: rgba(255,135,152,.08);
    font-size: 8px;
    letter-spacing: .12em;
}

body.series234-master-theme .series-brand__text small {
    color: #8da29a;
    letter-spacing: .14em;
}

body.series234-master-theme .series-search__input,
body.series234-master-theme #searchform input[type="search"] {
    height: 46px !important;
    border-radius: 10px !important;
    border-color: rgba(104,224,178,.17) !important;
    background: rgba(27,36,39,.88) !important;
}

body.series234-master-theme .series-search__input:focus {
    border-color: rgba(104,224,178,.58) !important;
    box-shadow: 0 0 0 3px rgba(104,224,178,.07);
}

body.series234-master-theme .series-header__tools {
    gap: 10px;
}

body.series234-master-theme .series-header__count {
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(255,135,152,.17);
    border-radius: 9px;
    background: rgba(255,135,152,.055);
}

body.series234-master-theme .series-header__count-label {
    color: #ffb0ba;
    font-size: 8px;
}

body.series234-master-theme .series-nav {
    background: rgba(22,28,31,.97) !important;
    border-bottom: 1px solid rgba(104,224,178,.10) !important;
}

body.series234-master-theme .series-nav__inner {
    justify-content: center;
    min-height: 48px;
}

body.series234-master-theme .series-nav__list > li > a {
    padding: 8px 13px !important;
    border-radius: 7px;
    font-size: 13px;
}

body.series234-master-theme .series-nav__list > li > a:hover,
body.series234-master-theme .series-nav__list > .current-menu-item > a {
    background: linear-gradient(135deg, rgba(104,224,178,.11), rgba(255,135,152,.10));
    box-shadow: inset 0 0 0 1px rgba(104,224,178,.12);
}

/* MASTER hero: information console, not an editorial spotlight banner. */
body.series234-master-theme .series234-master-hero {
    min-height: 270px;
    margin: 28px 0 22px;
    grid-template-columns: minmax(0,1fr) 340px;
    border-radius: 16px;
    border-color: rgba(104,224,178,.18);
    background:
        linear-gradient(90deg, rgba(104,224,178,.045) 1px, transparent 1px),
        linear-gradient(rgba(255,135,152,.035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(31,42,44,.98), rgba(16,22,24,.99));
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

body.series234-master-theme .series234-master-hero .series-home-hero__content {
    padding: 34px 38px;
}

body.series234-master-theme .series234-master-hero h1 {
    max-width: 820px;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

body.series234-master-theme .series234-master-hero p {
    max-width: 800px;
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.75;
}

body.series234-master-theme .series-home-hero__eyebrow,
body.series234-master-theme .series-section-heading__eyebrow {
    color: var(--s234-cyan);
}

body.series234-master-theme .series-home-hero__features {
    gap: 8px;
    margin-top: 19px;
}

body.series234-master-theme .series-home-hero__features span {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(104,224,178,.12);
    border-radius: 7px;
    background: rgba(20,16,11,.50);
    color: #c4b498;
    font-size: 11px;
}

body.series234-master-theme .series-home-hero__features strong {
    color: #fff1d5;
    font-size: 9px;
    letter-spacing: .10em;
}

body.series234-master-theme .series234-master-hero__rail {
    align-content: center;
    gap: 8px;
    padding: 26px 28px;
    background: rgba(22,18,12,.54);
    border-left: 1px solid rgba(104,224,178,.10);
}

body.series234-master-theme .series234-master-hero__rail span {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border: 1px solid rgba(255,135,152,.13);
    border-radius: 9px;
    background: rgba(35,48,51,.65);
    color: #b6a587;
    font-size: 11px;
}

body.series234-master-theme .series234-master-hero__rail b {
    color: #d5f184;
    font-size: 9px;
    letter-spacing: .14em;
}

/* Persistent desktop three-column homepage. */
body.series234-master-theme .series234-master-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    gap: 18px;
    align-items: start;
}

body.series234-master-theme .series234-master-layout__left,
body.series234-master-theme .series234-master-layout__right {
    min-width: 0;
}

body.series234-master-theme .series234-master-layout__left .sidebar,
body.series234-master-theme .series234-master-layout__right .sidebar {
    position: sticky;
    top: 18px;
    width: 100%;
}

body.series234-master-theme .series234-master-layout .page-layout__sidebar {
    grid-area: auto;
}

body.series234-master-theme .sidebar__section {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(104,224,178,.10);
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(45,35,22,.97), rgba(29,24,16,.98));
    box-shadow: 0 10px 26px rgba(0,0,0,.15);
}

body.series234-master-theme .sidebar__title,
body.series234-master-theme h3.widget-title {
    position: relative;
    padding: 13px 14px 11px;
    border: 0;
    border-bottom: 1px solid rgba(104,224,178,.10);
    border-radius: 0;
    background: rgba(104,224,178,.025);
    color: #fff3dc;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

body.series234-master-theme .sidebar__title::before,
body.series234-master-theme h3.widget-title::before {
    content: "INDEX";
    display: block;
    margin-bottom: 4px;
    color: #8e7e64;
    font: 700 7px/1 Manrope, sans-serif;
    letter-spacing: .16em;
}

body.series234-master-theme .sidebar-kind--platform .sidebar__title::before { content: "PLATFORM"; color: #c9ee70; }
body.series234-master-theme .sidebar-kind--type .sidebar__title::before { content: "TYPE"; color: #ff725f; }
body.series234-master-theme #master-genres .sidebar__section:first-child .sidebar__title::before { content: "GENRE"; color: #98db64; }

body.series234-master-theme .widget_wpcategorieswidget > ul {
    background: transparent;
}

body.series234-master-theme .widget_wpcategorieswidget ul li {
    min-height: 38px;
    padding: 0 10px 0 0;
    border-bottom: 1px solid rgba(104,224,178,.055) !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li:last-child {
    border-bottom: 0 !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li a {
    padding: 10px 0 10px 13px;
    color: #b4a383 !important;
    font-size: 12px !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li:hover {
    background: linear-gradient(90deg, rgba(104,224,178,.07), transparent);
}

body.series234-master-theme .widget_wpcategorieswidget ul li:hover a {
    color: #fff4df !important;
}

body.series234-master-theme .widget_wpcategorieswidget .count {
    color: #95846a;
    font-size: 10px;
}

body.series234-master-theme .series234-master-feed,
body.series234-master-theme .series234-master-collections {
    min-width: 0;
}

body.series234-master-theme .series234-section-heading,
body.series234-master-theme .series-home-genre__header {
    border: 1px solid rgba(104,224,178,.09);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(54,42,25,.88), rgba(32,26,17,.92));
}

body.series234-master-theme .series-section-heading {
    margin-bottom: 12px;
    padding: 12px 14px;
}

body.series234-master-theme .series-section-heading h2,
body.series234-master-theme .series-home-genre__header h2 {
    color: #fff7e8;
    font-size: 18px;
}

body.series234-master-theme .series-section-heading__note {
    color: #9a896e;
    font-size: 10px;
}

body.series234-master-theme .movie-grid--index {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 10px !important;
}

body.series234-master-theme .series-home-genre__grid {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 10px !important;
}

body.series234-master-theme .movie-card--series {
    border-radius: 11px;
    border-color: rgba(104,224,178,.10);
    background: linear-gradient(180deg, rgba(34,46,49,.98), rgba(34,27,18,.99));
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

body.series234-master-theme .movie-card--series:hover {
    transform: translateY(-3px);
    border-color: rgba(104,224,178,.34);
    box-shadow: 0 16px 32px rgba(0,0,0,.25), 0 0 0 1px rgba(255,135,152,.045);
}

body.series234-master-theme .movie-card--series .movie-card__body {
    padding: 9px 9px 10px;
}

body.series234-master-theme .movie-card--series .movie-card__title {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

body.series234-master-theme .movie-card__primary-category {
    bottom: 1px;
    border-radius: 999px;
    width: auto;
    left: 7px;
    right: 7px;
    min-height: 24px;
    color: #fff0cf !important;
    background: rgba(24,19,13,.76);
    border: 1px solid rgba(104,224,178,.13);
}

body.series234-master-theme .movie-card__language,
body.series234-master-theme .movie-card__episode {
    border-radius: 6px !important;
}

body.series234-master-theme .movie-card__status--airing { color: var(--s234-lime); }
body.series234-master-theme .movie-card__status--finished { color: var(--s234-cyan); }
body.series234-master-theme .movie-card__status--upcoming { color: var(--s234-pink); }

/* MASTER single-Series data presentation. */
body.series234-master-theme .series-hub-layout,
body.series234-master-theme .page-layout.grid-main {
    grid-template-columns: 230px minmax(0, 904px) 230px !important;
    gap: 18px !important;
    align-items: start;
}

body.series234-master-theme .series-hub-hero {
    border-radius: 14px;
    border-color: rgba(104,224,178,.13);
    background:
        linear-gradient(90deg, rgba(104,224,178,.025) 1px, transparent 1px),
        linear-gradient(rgba(255,135,152,.025) 1px, transparent 1px),
        linear-gradient(145deg, rgba(48,38,23,.98), rgba(29,24,16,.99));
    background-size: 28px 28px, 28px 28px, auto;
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
}

body.series234-master-theme .series-hub-kicker {
    color: var(--s234-cyan);
    font: 800 9px/1 Manrope, sans-serif;
    letter-spacing: .16em;
}

body.series234-master-theme .series-hub-title {
    font-size: 28px;
    letter-spacing: -.02em;
}

body.series234-master-theme .series234-master-alt-title {
    display: grid;
    gap: 2px;
    margin: -4px 0 12px;
    color: #9f8d71;
    font-size: 11px;
}

body.series234-master-theme .series-hub-chip {
    border-radius: 6px;
    background: rgba(104,224,178,.055);
}

body.series234-master-theme .series234-master-profile {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

body.series234-master-theme .series234-master-panel {
    overflow: hidden;
    border: 1px solid rgba(104,224,178,.11);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(43,34,21,.98), rgba(29,24,16,.99));
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

body.series234-master-theme .series234-master-panel__heading {
    padding: 13px 16px 11px;
    border-bottom: 1px solid rgba(104,224,178,.085);
    background: linear-gradient(90deg, rgba(104,224,178,.045), rgba(255,135,152,.025));
}

body.series234-master-theme .series234-master-panel__heading span {
    display: block;
    margin-bottom: 4px;
    color: #8b7b63;
    font: 800 8px/1 Manrope, sans-serif;
    letter-spacing: .16em;
}

body.series234-master-theme .series234-master-panel__heading h2 {
    margin: 0;
    color: #f4fbf8;
    font-size: 17px;
    font-weight: 600;
}

body.series234-master-theme .series234-master-panel__content {
    padding: 15px 16px 17px;
    color: #d0bea0;
    font-size: 13px;
    line-height: 1.78;
}

body.series234-master-theme .series234-master-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 4px 16px 12px;
}

body.series234-master-theme .series234-master-data-row {
    display: grid;
    grid-template-columns: 128px minmax(0,1fr);
    gap: 10px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(104,224,178,.055);
}

body.series234-master-theme .series234-master-data-row dt,
body.series234-master-theme .series234-master-data-row dd {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}

body.series234-master-theme .series234-master-data-row dt {
    color: #97866c;
}

body.series234-master-theme .series234-master-data-row dd {
    color: #ebdcc2;
    font-weight: 500;
}

body.series234-master-theme .series234-master-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    padding: 14px 16px 16px;
}

body.series234-master-theme .series234-master-people-grid > div {
    padding: 12px;
    border: 1px solid rgba(255,135,152,.10);
    border-radius: 9px;
    background: rgba(255,135,152,.035);
}

body.series234-master-theme .series234-master-people-grid strong {
    color: #d9f38d;
    font-size: 10px;
}

body.series234-master-theme .series234-master-people-grid p {
    margin-top: 5px;
    color: #c9b799;
    font-size: 11px;
    line-height: 1.6;
}

body.series234-master-theme .series234-archive-intro {
    margin: -1px 0 13px;
    padding: 11px 13px;
    border: 1px solid rgba(104,224,178,.09);
    border-radius: 9px;
    background: rgba(43,34,21,.76);
    color: #b29f80;
    font-size: 11px;
    line-height: 1.65;
}

body.series234-master-theme .series-footer {
    margin-top: 34px;
    border-top: 1px solid rgba(104,224,178,.10);
    background: #120f0a;
}

body.series234-master-theme .series-footer__brand span {
    color: #aad24d;
    letter-spacing: .14em;
}

/* Light mode remains available but keeps the MASTER geometry/identity. */
html[data-theme="light"] body.series234-master-theme {
    --s234-bg: #eef5fb;
    --s234-bg-2: #f8ead0;
    --s234-panel: #ffffff;
    --s234-panel-2: #fff9ee;
    --s234-text: #3a2d1c;
    --s234-muted: #88775e;
    background: #eef5fb;
}

html[data-theme="light"] body.series234-master-theme .series234-master-panel,
html[data-theme="light"] body.series234-master-theme .sidebar__section,
html[data-theme="light"] body.series234-master-theme .movie-card--series {
    background: #fff;
    border-color: rgba(120,86,42,.12);
    box-shadow: 0 10px 24px rgba(103,75,39,.08);
}

/* Desktop-only intentionally has no mobile/tablet max-width breakpoints. */

/* ========================================================================== 
   Series234 MASTER v0.1.3 - Metro Mint identity lock
   Neutral Graphite / Fresh Mint / Coral. No brown/orange, navy/violet brand palette.
   ========================================================================== */
body.series234-master-theme {
    --s234-graphite: #101416;
    --s234-mint: #68e0b2;
    --s234-coral: #ff8798;
    --s234-paper: #f3fbf7;
    background:
        linear-gradient(rgba(104,224,178,.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,135,152,.022) 1px, transparent 1px),
        radial-gradient(circle at 9% -8%, rgba(104,224,178,.13), transparent 30rem),
        radial-gradient(circle at 93% 3%, rgba(255,135,152,.075), transparent 28rem),
        linear-gradient(180deg, #101416, #161c1f 52%, #151109);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

body.series234-master-theme .series234-brand__mark {
    border-color: rgba(104,224,178,.44);
    border-radius: 4px 14px 4px 14px;
    background: linear-gradient(135deg, rgba(104,224,178,.24), rgba(255,135,152,.11));
    color: #75e7bd;
}

body.series234-master-theme .series-brand__text strong::after {
    border-color: rgba(255,135,152,.34);
    background: rgba(255,135,152,.08);
    color: #ffb0ba;
}

body.series234-master-theme .series-nav__list > li > a:hover,
body.series234-master-theme .series-nav__list > .current-menu-item > a {
    background: linear-gradient(135deg, rgba(104,224,178,.16), rgba(255,135,152,.075));
    box-shadow: inset 0 0 0 1px rgba(104,224,178,.18);
}

body.series234-master-theme .series234-master-hero {
    border-color: rgba(104,224,178,.20);
    background:
        linear-gradient(90deg, rgba(104,224,178,.05) 1px, transparent 1px),
        linear-gradient(rgba(255,135,152,.027) 1px, transparent 1px),
        linear-gradient(135deg, rgba(34,46,49,.985), rgba(16,22,24,.995));
    background-size: 32px 32px, 32px 32px, auto;
}

body.series234-master-theme .series234-master-hero__rail span:nth-child(3n+1),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n+1) { color: #75e7bd; }
body.series234-master-theme .series234-master-hero__rail span:nth-child(3n+2),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n+2) { color: #ff8798; }
body.series234-master-theme .series234-master-hero__rail span:nth-child(3n),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n) { color: #ff8fa0; }

body.series234-master-theme .movie-card--series {
    border-color: rgba(104,224,178,.11);
    background: linear-gradient(180deg, rgba(35,48,51,.98), rgba(23,31,34,.99));
}

body.series234-master-theme .movie-card--series:hover {
    border-color: rgba(104,224,178,.40);
    box-shadow: 0 17px 34px rgba(0,0,0,.24), 0 0 0 1px rgba(255,135,152,.035);
}

body.series234-master-theme .movie-card__primary-category {
    border-color: rgba(104,224,178,.18);
    background: rgba(18,25,27,.82);
    color: #d9fff0 !important;
}

body.series234-master-theme .series234-master-panel,
body.series234-master-theme .sidebar__section {
    border-color: rgba(104,224,178,.12);
    background: linear-gradient(180deg, rgba(31,42,45,.98), rgba(22,28,31,.99));
}

body.series234-master-theme .series-section-heading h2,
body.series234-master-theme .series-home-genre__header h2,
body.series234-master-theme .series234-master-panel__heading h2 {
    color: #f3fbf7;
}

body.series234-master-theme .series-section-heading__eyebrow,
body.series234-master-theme .series-home-hero__eyebrow,
body.series234-master-theme .series-hub-kicker {
    color: #75e7bd;
}

body.series234-master-theme a:hover,
body.series234-master-theme a:focus-visible {
    color: #82ebc4;
}

/* ========================================================================== 
   Series234 MASTER v0.1.2 - Wide Catalog Rows
   Category/genre sections leave the three-column rail and use the full 1440px
   desktop canvas. Eight cards per row reduce page depth while keeping both
   sidebars on the primary latest-feed area.
   ========================================================================== */
body.series234-master-theme .series234-master-collections--wide {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genres {
    width: 100%;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre {
    width: 100%;
    margin-bottom: 24px;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre__header {
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
    padding-left: 14px;
    padding-right: 10px;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre__grid {
    width: 100%;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 0;
}

body.series234-master-theme .series234-master-collections--wide .movie-card--series {
    min-width: 0;
}

body.series234-master-theme .series234-master-collections--wide .movie-card--series .movie-card__title {
    font-size: 12px;
    line-height: 1.35;
}

body.series234-master-theme .series234-master-collections--wide .movie-card__body {
    padding: 8px 8px 9px;
}

/* ==========================================================================
   Series234 MASTER v0.1.3 - Metro Mint final palette lock
   Fresh, neutral and youthful. Keeps MASTER visually separate from SPOTLIGHT.
   ========================================================================== */
body.series234-master-theme {
    --s234-bg: #101416;
    --s234-bg-2: #161c1f;
    --s234-panel: #1b2427;
    --s234-panel-2: #222e31;
    --s234-panel-3: #2b3a3d;
    --s234-line: rgba(104, 224, 178, .16);
    --s234-line-strong: rgba(255, 135, 152, .30);
    --s234-text: #f3fbf7;
    --s234-muted: #9eb2aa;
    --s234-cyan: #68e0b2;
    --s234-cyan-2: #91eccb;
    --s234-violet: #ff8798;
    --s234-pink: #ff8798;
    --s234-lime: #86e7b5;
    --s234-amber: #f3d76b;

    --series-bg: #101416;
    --series-bg-soft: #161c1f;
    --series-surface: #1b2427;
    --series-surface-2: #222e31;
    --series-line: rgba(104, 224, 178, .16);
    --series-line-strong: rgba(255, 135, 152, .30);
    --series-text: #dcebe5;
    --series-text-strong: #f3fbf7;
    --series-muted: #9eb2aa;
    --series-accent: #68e0b2;
    --series-accent-2: #ff8798;
    --series-accent-soft: rgba(104, 224, 178, .09);
    --color-accent: #68e0b2;

    background:
        linear-gradient(rgba(104,224,178,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,135,152,.012) 1px, transparent 1px),
        radial-gradient(circle at 8% -10%, rgba(104,224,178,.085), transparent 30rem),
        radial-gradient(circle at 94% 0%, rgba(255,135,152,.055), transparent 27rem),
        linear-gradient(180deg, #101416 0%, #161c1f 52%, #101416 100%);
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

body.series234-master-theme .series-header {
    background: rgba(16,20,22,.965);
    border-bottom-color: rgba(104,224,178,.12);
}

body.series234-master-theme .series-nav {
    background: rgba(19,25,28,.975) !important;
    border-bottom-color: rgba(104,224,178,.09) !important;
}

body.series234-master-theme .series234-brand__mark {
    border-color: rgba(104,224,178,.38);
    background: linear-gradient(135deg, rgba(104,224,178,.17), rgba(255,135,152,.10));
    color: #75e7bd;
}

body.series234-master-theme .series-brand__text strong {
    color: #f5fcf9;
}

body.series234-master-theme .series-brand__text strong::after {
    border-color: rgba(255,135,152,.28);
    background: rgba(255,135,152,.07);
    color: #ffb2bc;
}

body.series234-master-theme .series-search__input,
body.series234-master-theme #searchform input[type="search"] {
    border-color: rgba(104,224,178,.16) !important;
    background: rgba(27,36,39,.90) !important;
}

body.series234-master-theme .series-search__input:focus {
    border-color: rgba(104,224,178,.58) !important;
    box-shadow: 0 0 0 3px rgba(104,224,178,.07);
}

body.series234-master-theme .series-nav__list > li > a:hover,
body.series234-master-theme .series-nav__list > .current-menu-item > a {
    background: linear-gradient(135deg, rgba(104,224,178,.11), rgba(255,135,152,.07));
    box-shadow: inset 0 0 0 1px rgba(104,224,178,.14);
}

body.series234-master-theme .series234-master-hero {
    border-color: rgba(104,224,178,.17);
    background:
        linear-gradient(90deg, rgba(104,224,178,.025) 1px, transparent 1px),
        linear-gradient(rgba(255,135,152,.016) 1px, transparent 1px),
        linear-gradient(135deg, rgba(31,42,44,.985), rgba(16,22,24,.995));
    background-size: 34px 34px, 34px 34px, auto;
}

body.series234-master-theme .series234-master-hero__rail span:nth-child(3n+1),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n+1) {
    color: #75e7bd;
}

body.series234-master-theme .series234-master-hero__rail span:nth-child(3n+2),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n+2) {
    color: #ff95a4;
}

body.series234-master-theme .series234-master-hero__rail span:nth-child(3n),
body.series234-master-theme .series234-master-panel__heading span:nth-child(3n) {
    color: #f3d76b;
}

body.series234-master-theme .movie-card--series {
    border-color: rgba(104,224,178,.10);
    background: linear-gradient(180deg, rgba(35,48,51,.98), rgba(23,31,34,.99));
}

body.series234-master-theme .movie-card--series:hover {
    border-color: rgba(104,224,178,.34);
    box-shadow: 0 17px 34px rgba(0,0,0,.22), 0 0 0 1px rgba(255,135,152,.035);
}

body.series234-master-theme .movie-card__primary-category {
    border-color: rgba(104,224,178,.16);
    background: rgba(18,25,27,.84);
    color: #d9fff0 !important;
}

body.series234-master-theme .series234-master-panel,
body.series234-master-theme .sidebar__section,
body.series234-master-theme .series-home-genre__header {
    border-color: rgba(104,224,178,.11);
    background: linear-gradient(180deg, rgba(31,42,45,.98), rgba(22,29,32,.99));
}

body.series234-master-theme .series-section-heading h2,
body.series234-master-theme .series-home-genre__header h2,
body.series234-master-theme .series234-master-panel__heading h2 {
    color: #f3fbf7;
}

body.series234-master-theme .series-section-heading__eyebrow,
body.series234-master-theme .series-home-hero__eyebrow,
body.series234-master-theme .series-hub-kicker {
    color: #75e7bd;
}

body.series234-master-theme a:hover,
body.series234-master-theme a:focus-visible {
    color: #82ebc4;
}

/* v0.1.7: Homepage purpose box follows the compact YimAnime information-box pattern. */
body.series234-master-theme .series234-purpose-box {
    margin: 28px 0 22px;
    padding: 28px 34px 27px;
    border: 1px solid #2d2d2d;
    border-radius: 9px;
    background: #141414;
    box-shadow: none;
    text-align: center;
}

body.series234-master-theme .series234-purpose-box .series-home-intro__content {
    max-width: 1180px;
}

body.series234-master-theme .series234-purpose-box h1 {
    margin-bottom: 13px;
    color: #f4f4f4;
    font-size: 24px;
    line-height: 1.4;
}

body.series234-master-theme .series234-purpose-box p {
    max-width: 1120px;
    margin: 8px auto 0;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 1.85;
}

html[data-theme="light"] body.series234-master-theme .series234-purpose-box {
    border-color: rgba(20,34,38,.14);
    background: #ffffff;
}

html[data-theme="light"] body.series234-master-theme .series234-purpose-box h1 {
    color: #142125;
}

html[data-theme="light"] body.series234-master-theme .series234-purpose-box p {
    color: #516268;
}


/* ========================================================================== 
   Series234 MASTER v0.1.8 - YimAnime UI sync
   Source palette and component treatment: current YimAnime theme supplied by
   the project owner. Layout/data contracts remain Series234-specific.
   ========================================================================== */

body.series234-master-theme {
    /* Exact YimAnime dark design tokens. */
    --color-page-start: #090812;
    --color-page-mid: #111520;
    --color-page-end: #07090e;
    --color-surface: #181818;
    --color-surface-raised: #1f1f1f;
    --color-surface-hover: #212120;
    --color-card: #3b3d45;
    --color-chip: #3b3b3b;
    --color-player: #1b1b21;
    --color-nav: #111;
    --color-text: #d4d4d4;
    --color-text-strong: #fff;
    --color-text-muted: #999;
    --color-border: #303030;
    --color-border-subtle: #1d1d1d;
    --color-border-strong: #424040;
    --color-player-border: #171717;
    --color-accent: #ffc000;
    --color-input-bg: #f5f5f5;
    --color-input-text: #222;
    --color-input-border: #403736;
    --color-overlay: rgba(0, 0, 0, .42);

    /* Map the Series token layer to the same YimAnime palette. */
    --series-bg: #090812;
    --series-bg-soft: #111520;
    --series-surface: #181818;
    --series-surface-2: #1f1f1f;
    --series-line: #303030;
    --series-line-strong: #424040;
    --series-text: #d4d4d4;
    --series-text-strong: #fff;
    --series-muted: #999;
    --series-accent: #ffc000;
    --series-accent-2: #ff4f81;
    --series-accent-soft: rgba(255, 192, 0, .10);

    --s234-bg: #090812;
    --s234-bg-2: #111520;
    --s234-panel: #181818;
    --s234-panel-2: #1f1f1f;
    --s234-panel-3: #212120;
    --s234-line: #303030;
    --s234-line-strong: #424040;
    --s234-text: #fff;
    --s234-muted: #999;
    --s234-cyan: #ffc000;
    --s234-cyan-2: #ffc000;
    --s234-violet: #ff4f81;
    --s234-pink: #ff4f81;
    --s234-lime: #64bd5d;
    --s234-amber: #f1a526;

    background: linear-gradient(to bottom, #090812, #111520 100vh, #07090e 200vh) !important;
    background-image: linear-gradient(to bottom, #090812, #111520 100vh, #07090e 200vh) !important;
    color: #d4d4d4;
}

html[data-theme="light"] body.series234-master-theme {
    --color-page-start: #f5f6f8;
    --color-page-mid: #eef1f5;
    --color-page-end: #e9edf2;
    --color-surface: #fff;
    --color-surface-raised: #fff;
    --color-surface-hover: #f1f3f6;
    --color-card: #fff;
    --color-chip: #eceff3;
    --color-player: #e9edf2;
    --color-nav: #fff;
    --color-text: #30343b;
    --color-text-strong: #17191d;
    --color-text-muted: #666d78;
    --color-border: #d9dde4;
    --color-border-subtle: #d9dde4;
    --color-border-strong: #cfd4dc;
    --color-player-border: #cfd4dc;
    --color-input-bg: #fff;
    --color-input-text: #222;
    --color-input-border: #cfd4dc;
    --series-bg: #f5f6f8;
    --series-bg-soft: #eef1f5;
    --series-surface: #fff;
    --series-surface-2: #f1f3f6;
    --series-line: #d9dde4;
    --series-line-strong: #cfd4dc;
    --series-text: #30343b;
    --series-text-strong: #17191d;
    --series-muted: #666d78;
    background: linear-gradient(to bottom, #f5f6f8, #eef1f5 100vh, #e9edf2 200vh) !important;
}

/* Header / navigation use YimAnime surfaces and search treatment. */
body.series234-master-theme .series-header {
    background: #090812 !important;
    border-bottom-color: #303030 !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-nav {
    background: #111 !important;
    border-bottom: 1px solid #303030 !important;
}

body.series234-master-theme .series-nav__list > li > a {
    color: #999 !important;
}

body.series234-master-theme .series-nav__list > li > a:hover,
body.series234-master-theme .series-nav__list > .current-menu-item > a {
    color: #ffc000 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-search__input,
body.series234-master-theme #searchform input[type="search"] {
    border-color: #403736 !important;
    background: #f5f5f5 !important;
    color: #222 !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-search__input:focus,
body.series234-master-theme #searchform input[type="search"]:focus {
    border-color: #ffc000 !important;
    box-shadow: 0 0 0 2px rgba(255,192,0,.13) !important;
}

body.series234-master-theme .series-header__count {
    border-color: #303030 !important;
    background: #181818 !important;
}

body.series234-master-theme .series-header__count-label,
body.series234-master-theme .series-section-heading__eyebrow,
body.series234-master-theme .series-home-hero__eyebrow,
body.series234-master-theme .series-hub-kicker,
body.series234-master-theme .series234-master-panel__heading span {
    color: #ffc000 !important;
}

body.series234-master-theme .series234-brand__mark {
    border-color: #424040 !important;
    background: #181818 !important;
    color: #ffc000 !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-brand__text strong::after {
    border-color: rgba(255,79,129,.45) !important;
    background: rgba(255,79,129,.10) !important;
    color: #ff73b9 !important;
}

/* Sidebars follow YimAnime charcoal panels. */
body.series234-master-theme .sidebar__section,
body.series234-master-theme .sidebarborder,
body.series234-master-theme .widget {
    border-color: #303030 !important;
    background: #181818 !important;
    box-shadow: none !important;
}

body.series234-master-theme .sidebar__title,
body.series234-master-theme h3.widget-title {
    border-bottom-color: #303030 !important;
    background: #181818 !important;
    color: #fff !important;
}

body.series234-master-theme .sidebar__title::before,
body.series234-master-theme h3.widget-title::before,
body.series234-master-theme .sidebar-kind--platform .sidebar__title::before,
body.series234-master-theme .sidebar-kind--type .sidebar__title::before,
body.series234-master-theme #master-genres .sidebar__section:first-child .sidebar__title::before {
    color: #ffc000 !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li {
    border-bottom-color: #303030 !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li a {
    color: #999 !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li:hover {
    background: #212120 !important;
}

body.series234-master-theme .widget_wpcategorieswidget ul li:hover a {
    color: #fff !important;
}

body.series234-master-theme .widget_wpcategorieswidget .count {
    color: #999 !important;
}

/* Homepage category rows now use the full YimAnime catalogue width. */
body.series234-master-theme .series234-master-collections--wide {
    width: 100%;
    margin-top: 42px;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genres {
    width: 100%;
    display: block;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre {
    width: 100%;
    margin: 0 0 34px;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre__header,
body.series234-master-theme .series-home-genre__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 0;
    margin: 0 0 13px;
    padding: 0 2px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #303030 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-home-genre__header h2 {
    position: relative;
    margin: 0;
    padding-left: 13px;
    color: #f2f2f2 !important;
    font-size: 22px !important;
    font-weight: 600;
    line-height: 1.25;
}

body.series234-master-theme .series-home-genre__header h2::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9f1c 0%, #ff4f81 100%);
}

body.series234-master-theme .series-home-genre__all {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffc000 !important;
    font-size: 14px !important;
    font-weight: 500;
}

body.series234-master-theme .series-home-genre__all:hover,
body.series234-master-theme .series-home-genre__all:focus-visible {
    color: #ff7a9f !important;
    background: transparent !important;
}

body.series234-master-theme .series234-master-collections--wide .series-home-genre__grid {
    width: 100%;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

/* Card UI is intentionally matched to the current YimAnime card component. */
body.series234-master-theme .movie-card--series {
    position: relative;
    overflow: hidden !important;
    border: 1px solid var(--anime-card-border) !important;
    border-radius: 8px !important;
    background: #3b3d45 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.02) !important;
    transform: none;
}

body.series234-master-theme .movie-card--series:hover,
body.series234-master-theme .movie-card--series:focus-within {
    border-color: var(--anime-card-border) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.02) !important;
    transform: none !important;
}

body.series234-master-theme .movie-card--series .movie-card__link {
    display: block;
    height: 100%;
    overflow: hidden !important;
    border-radius: inherit !important;
    background: #3b3d45 !important;
}

body.series234-master-theme .movie-card--series .movie-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    background: #11151c !important;
    box-shadow: none !important;
}

body.series234-master-theme .movie-card--series .movie-card__poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0;
    transition: none;
}

body.series234-master-theme .movie-card--series:hover .movie-card__poster,
body.series234-master-theme .movie-card--series:focus-within .movie-card__poster {
    transform: none;
    filter: none;
}

body.series234-master-theme .movie-card--series .movie-card__series-topbar {
    position: absolute;
    z-index: 3;
    inset: 0 0 auto 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    padding: 6px 7px;
    border-bottom: 1px solid var(--anime-card-topbar-border);
    background: var(--anime-card-topbar);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

body.series234-master-theme .movie-card--series span.movie-card__language,
body.series234-master-theme .movie-card--series span.movie-lang,
body.series234-master-theme .movie-card--series .movie-card__episode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 7px !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

body.series234-master-theme .movie-card--series span.movie-card__language,
body.series234-master-theme .movie-card--series span.movie-lang {
    max-width: calc(100% - 58px);
    border: 0 !important;
    background: #4c5668 !important;
}

body.series234-master-theme .movie-card--series span.movie-card__language--sub {
    background: #2465d6 !important;
}

body.series234-master-theme .movie-card--series span.movie-card__language--dub {
    background: #d5332d !important;
}

body.series234-master-theme .movie-card--series span.movie-card__language--both {
    background: #7044c5 !important;
}

body.series234-master-theme .movie-card--series .movie-card__episode {
    flex: 0 0 auto;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.24) !important;
    background: rgba(7,10,16,.56) !important;
    backdrop-filter: blur(3px);
}

body.series234-master-theme .movie-card--series .movie-card__primary-category {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 28px;
    padding: 4px 8px;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 0 !important;
    background: rgba(10,16,24,.34) !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    backdrop-filter: blur(3px) saturate(112%);
}

body.series234-master-theme .movie-card--series .movie-card__body,
body.series234-master-theme .series234-master-collections--wide .movie-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 9px 10px 10px !important;
    background: #3b3d45 !important;
}

body.series234-master-theme .movie-card--series .movie-card__title,
body.series234-master-theme .series234-master-collections--wide .movie-card--series .movie-card__title {
    display: -webkit-box;
    min-height: 40px;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.42 !important;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.series234-master-theme .movie-card--series .movie-card__metadata {
    min-height: 16px;
    margin-top: 5px;
    color: #9da2aa !important;
    font-size: 11.5px !important;
}

body.series234-master-theme .movie-card--series .movie-card__preview-detail {
    display: block;
    margin-top: 4px;
    color: #9da2aa !important;
    font-size: 10.5px !important;
    line-height: 1.25;
    opacity: .82;
}

body.series234-master-theme .movie-card--series .movie-card__status {
    color: #ffc000 !important;
}

body.series234-master-theme .movie-card--series .movie-card__status--airing {
    color: #f1a526 !important;
}

body.series234-master-theme .movie-card--series .movie-card__status--finished {
    color: #64bd5d !important;
}

body.series234-master-theme .movie-card--series .movie-card__status--upcoming,
body.series234-master-theme .movie-card--series .movie-card__status--hiatus {
    color: #9a72e8 !important;
}

/* Homepage section heading and pagination use YimAnime accent colors. */
body.series234-master-theme .series234-section-heading,
body.series234-master-theme .series-section-heading {
    border-color: #303030 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-section-heading h2 {
    color: #fff !important;
}

body.series234-master-theme .series-section-heading__note {
    color: #999 !important;
}

body.series234-master-theme .anime-pagination__load-more,
body.series234-master-theme .anime-pagination__show-all {
    border: 0 !important;
    background: linear-gradient(180deg, #f50078 0%, #ff3348 53%, #ff7900 100%) !important;
    color: #fff !important;
}

/* Single Series follows the YimAnime visual hierarchy and palette. */
body.series234-master-theme .series-hub-layout,
body.series234-master-theme .page-layout.grid-main {
    grid-template-columns: 204px minmax(0, 847px) 204px !important;
    gap: 4px !important;
}

body.series234-master-theme .series-hub-content {
    width: auto !important;
    margin-inline: 0 !important;
}

body.series234-master-theme .series-hub-hero,
body.series234-master-theme .series-hub-direct-player,
body.series234-master-theme .series-hub-episodes,
body.series234-master-theme .series-hub-related,
body.series234-master-theme .anime-related,
body.series234-master-theme .series234-master-panel {
    border: 1px solid #303030 !important;
    border-radius: 8px !important;
    background: #181818 !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-hub-hero {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    background: #181818 !important;
}

body.series234-master-theme .series-hub-poster__image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 7px !important;
    background: #212120;
    box-shadow: none !important;
}

body.series234-master-theme .series-hub-title {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: clamp(22px, 2.3vw, 32px);
    line-height: 1.25;
}

body.series234-master-theme .series234-master-alt-title {
    margin: -4px 0 10px;
    color: #999 !important;
}

body.series234-master-theme .series-hub-chips {
    gap: 7px;
    margin-bottom: 15px;
}

body.series234-master-theme .series-hub-chip {
    min-height: 27px;
    padding: 5px 9px;
    border: 1px solid #424040 !important;
    border-radius: 6px !important;
    background: #212120 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
}

body.series234-master-theme .series-hub-chip--sub {
    border-color: rgba(36,101,214,.65) !important;
    background: #2465d6 !important;
    color: #fff !important;
}

body.series234-master-theme .series-hub-chip--dub {
    border-color: rgba(213,51,45,.65) !important;
    background: #d5332d !important;
    color: #fff !important;
}

body.series234-master-theme .series-hub-chip--airing { color: #f1a526 !important; }
body.series234-master-theme .series-hub-chip--finished { color: #64bd5d !important; }
body.series234-master-theme .series-hub-chip--upcoming { color: #9a72e8 !important; }
body.series234-master-theme .series-hub-chip--cancelled { color: #e05b5b !important; }

body.series234-master-theme .series-hub-facts > div {
    border-bottom-color: #303030 !important;
}

body.series234-master-theme .series-hub-facts dt { color: #999 !important; }
body.series234-master-theme .series-hub-facts dd { color: #fff !important; }

body.series234-master-theme .series-hub-latest,
body.series234-master-theme .series-legacy-external__button {
    border: 0 !important;
    border-radius: 6px !important;
    background: #ffc000 !important;
    color: #111 !important;
    box-shadow: none !important;
}

body.series234-master-theme .series-hub-trailer {
    border-color: #424040 !important;
    background: #212120 !important;
    color: #fff !important;
}

body.series234-master-theme .series-hub-direct-player,
body.series234-master-theme .series-hub-episodes,
body.series234-master-theme .anime-related {
    margin-top: 14px;
    padding: 14px;
}

body.series234-master-theme .series-hub-section-header {
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #303030 !important;
}

body.series234-master-theme .series-hub-section-header h2 {
    color: #fff !important;
    font-size: 17px;
}

body.series234-master-theme .series-hub-section-header > span {
    color: #999 !important;
}

body.series234-master-theme .series-hub-episode-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 7px;
}

body.series234-master-theme .series-hub-episode-link {
    min-height: 38px;
    border: 1px solid #424040 !important;
    border-radius: 6px !important;
    background: #212120 !important;
    color: #fff !important;
}

body.series234-master-theme .series-hub-episode-link small {
    color: #ffc000 !important;
}

body.series234-master-theme .series-hub-episode-link:hover,
body.series234-master-theme .series-hub-episode-link:focus-visible,
body.series234-master-theme .series-hub-episode-link--latest {
    border-color: #ffc000 !important;
    background: #212120 !important;
    color: #ffc000 !important;
}

body.series234-master-theme .series-hub-range {
    border-color: #303030 !important;
    border-radius: 6px !important;
    background: #1f1f1f !important;
}

body.series234-master-theme .series-hub-range > summary {
    color: #fff !important;
}

body.series234-master-theme .series-hub-range > summary small {
    color: #999 !important;
}

body.series234-master-theme .series-hub-range[open] > summary {
    border-bottom-color: #303030 !important;
}

body.series234-master-theme .series-hub-empty {
    border-color: #424040 !important;
    color: #999 !important;
}

body.series234-master-theme .series-hub-empty strong {
    color: #fff !important;
}

/* Detail panels sit after viewing/episodes, matching YimAnime page order. */
body.series234-master-theme .series234-master-profile {
    gap: 14px;
    margin-top: 14px;
}

body.series234-master-theme .series234-master-panel__heading {
    padding: 14px 14px 10px;
    border-bottom: 1px solid #303030 !important;
    background: #181818 !important;
}

body.series234-master-theme .series234-master-panel__heading h2 {
    color: #fff !important;
    font-size: 17px;
}

body.series234-master-theme .series234-master-panel__content {
    padding: 14px;
    color: #d4d4d4 !important;
    font-size: 14px;
    line-height: 1.75;
}

body.series234-master-theme .series234-master-data-grid {
    padding: 4px 14px 12px;
}

body.series234-master-theme .series234-master-data-row {
    border-bottom-color: #303030 !important;
}

body.series234-master-theme .series234-master-data-row dt {
    color: #999 !important;
}

body.series234-master-theme .series234-master-data-row dd {
    color: #fff !important;
}

body.series234-master-theme .series234-master-people-grid > div {
    border-color: #303030 !important;
    background: #1f1f1f !important;
}

body.series234-master-theme .series234-master-people-grid strong {
    color: #ffc000 !important;
}

body.series234-master-theme .series234-master-people-grid p {
    color: #d4d4d4 !important;
}

body.series234-master-theme .series234-archive-intro {
    border-color: #303030 !important;
    background: #181818 !important;
    color: #d4d4d4 !important;
}

body.series234-master-theme .series-footer {
    border-top-color: #303030 !important;
    background: #07090e !important;
}

body.series234-master-theme a:hover,
body.series234-master-theme a:focus-visible {
    color: #ffc000;
}
