﻿/* =====================================================================
   HentaiNova additions: Catalog, live search, header, home resizing
   Loaded after pub.min.css (overrides).
   ===================================================================== */

/* ---------- Episodes grid: smaller, more compact, more per row ---------- */
.hentai-episodes-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.hentai-episode-info {
  padding: 0.45rem 0.55rem;
}
.hentai-ep-title {
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}
.hentai-ep-time {
  font-size: 0.62rem;
}
.hentai-ep-badge {
  font-size: 0.6rem;
  line-height: 1.25rem;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .hentai-episodes-grid { grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
}
@media (min-width: 992px) {
  .hentai-episodes-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
}
@media (min-width: 1200px) {
  .hentai-episodes-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Hentai carousel: bigger slides + higher-res posters ---------- */
.nt-tb-carousel .tt-tip .swiper-slide {
  max-width: 280px;
  margin-right: 10px;
}
.nt-tb-carousel .tt-tip .post-thumbnail img {
  width: 100%;
  height: auto;
}
.nt-tb-carousel .tt-tip .post .entry-title {
  font-size: 1rem;
}

/* ---------- Header search (always visible) ---------- */
.search {
  position: relative;
  flex: 1 1 32rem;
  max-width: 34rem;
  margin: 0 0.75rem;
  display: flex;
  align-items: center;
}
.search input {
  display: block;
  width: 100%;
}

/* ---------- Live search dropdown ---------- */
.ag-live-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--gray-dark);
  border: 1px solid var(--light-1);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
  display: none;
}
.ag-live-results.on { display: block; }
.ag-live-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .7rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-1);
  transition: background .15s;
}
.ag-live-item:hover { background: var(--light-1); color: var(--light); }
.ag-live-thumb {
  width: 3rem;
  height: 4.25rem;
  flex: 0 0 auto;
  border-radius: .25rem;
  overflow: hidden;
  background: var(--gray);
}
.ag-live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ag-live-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ag-live-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-live-year { font-size: .68rem; color: var(--dark-2); }
.ag-live-all {
  display: block;
  text-align: center;
  padding: .6rem;
  color: var(--primary);
  font-weight: 700;
  font-size: .75rem;
}
.ag-live-all:hover { color: var(--light); }
.ag-live-empty {
  padding: 1rem;
  text-align: center;
  color: var(--dark-2);
  font-size: .8rem;
}

/* ---------- Catalog button (beside avatar) ---------- */
.cat-drp {
  display: inline-flex;
  align-items: center;
  margin: 0 0.5rem;
}
.cat-drp .cat-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--light-1);
  border-radius: 999px;
  color: var(--text);
}
.cat-drp .cat-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}


/* ---------- Detail pages: bigger main poster ---------- */
.post.single .post-thumbnail {
  flex: 0 0 15rem;
  max-width: 15rem;
  margin-right: 1.5rem;
}
@media (max-width: 600px) {
  .post.single .post-thumbnail {
    flex: 0 0 12rem;
    max-width: 12rem;
    margin-right: 1rem;
  }
}

/* ---------- Detail pages: bigger, more visible episode list ---------- */
.seasons-lst li { margin-bottom: .4rem; }
.seasons-lst li > div div { padding: .6rem .75rem; }
.seasons-lst figure,
.seasons-lst img { width: 120px; height: 68px; }
.seasons-lst figure {
  flex: 0 0 120px;
  margin-right: 1rem;
}
.seasons-lst li > div.on figure:before { width: 120px; height: 68px; line-height: 68px; }
.seasons-lst .title {
  font-size: 1rem;
  padding: .35rem 0;
}
.seasons-lst .date { font-size: .9rem; margin-right: 1rem; }
.seasons-lst .btn {
  font-size: .9rem;
  padding: .5rem 1.1rem;
}

/* ---------- Homepage: Hentai Coming Soon section ---------- */
.hentai-coming-section { margin: 2.5rem 0 2rem; position: relative; z-index: 2; }
.tac.mt2 { margin-top: 2.5rem; }
.tac.mt2 .btn { min-width: 10rem; }
.hentai-coming-section .hentai-coming-card { width: 100%; }
.hentai-coming-section .swiper-slide { height: auto; }
.hentai-coming-section .coming-swiper.swprbx,
.hentai-coming-section .epcoming-swiper.swprbx { padding-top: 0; }
.hentai-coming-section .swpndts { position: relative; top: auto; right: auto; margin-top: 0.75rem; }
.hentai-coming-section .hn-coming-pane-episodes { display: block; }
.nt-tb-carousel .swprbx { padding-top: 0; }

/* Reproductor: la caja del video calcula su alto solo desde el ancho en
   16:9 exacto, sin alturas mínimas/topes forzados, para que el embed
   lleno todo el ancho sin bordes negros laterales. */
.video { aspect-ratio: 16 / 9; height: auto; max-height: none; min-height: 0; }
.video:before { display: none; }
.player .video { min-height: 0; }
.hentai-episodes-section { position: relative; z-index: 1; }
.hentai-episodes-section .bd, .hentai-episodes-section .cont { position: relative; }
.hentai-coming-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: 0.6rem;
  overflow: hidden;
  background-color: var(--gray);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hentai-coming-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  color: var(--light);
}
.hentai-coming-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #000;
}
.hentai-coming-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hentai-coming-card:hover .hentai-coming-thumb img { transform: scale(1.06); }
.hentai-coming-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(255, 92, 138, 0.94);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.55rem;
  line-height: 1.45rem;
  border-radius: 0.25rem;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.hentai-coming-badge-ep {
  background: rgba(46, 204, 113, 0.94);
}

/* Pestañas del carrusel Coming Soon (Hentai / Episodes) */
.hn-coming-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.9rem;
}
.hn-coming-tab {
  appearance: none;
  border: 1px solid rgba(255, 92, 138, 0.45);
  background: transparent;
  color: var(--light, #fff);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hn-coming-tab:hover {
  border-color: #ff5c8a;
}
.hn-coming-tab.is-active {
  background: #ff5c8a;
  border-color: #ff5c8a;
  color: #fff;
}
.hentai-coming-info { padding: 0.45rem 0.55rem; }
.hentai-coming-title {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--light);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hentai-coming-date {
  display: block;
  font-size: 0.62rem;
  color: var(--dark-2);
}

/* Fecha de estreno completa en el single */
.entry-meta .premiere {
  color: var(--primary);
}

/* ---------- Home hero slider: larger height so the description fits ---------- */
.home-slider .swiper { max-height: 620px; }

/* ---------- Featured section titles (flame accent) ---------- */
.section-title .tt-flame {
  display: inline-block;
  font-size: 1.4rem;
  margin-right: 0.35rem;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(255, 140, 40, 0.8));
  animation: hn-flame 1.6s ease-in-out infinite;
}
@keyframes hn-flame {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.15) translateY(-2px); }
}
.hentai-coming-section .section-title,
.hentai-episodes-section .section-title,
.nt-tb-carousel .section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--light) 0%, #ffd7a1 55%, #ff8c5a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--light);
}
.hentai-coming-section .section-title .tt-flame,
.hentai-episodes-section .section-title .tt-flame,
.nt-tb-carousel .section-title .tt-flame {
  -webkit-text-fill-color: #ff8c5a;
  color: #ff8c5a;
}


/* ---------- Configuration route: keep content below the floating header ---------- */
.config .bd { padding-top: calc(5rem + calc(2 * var(--fluid-s))); }


/* ---------- Report server down button + modal ---------- */
.hn-report-bar { text-align: right; padding-top: 0.6rem; }
.episodes .hn-report-bar { padding-bottom: 1.4rem; }
.hn-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 7px;
  background: #fff2f0;
  border: 1px solid #ffd7d2;
  color: #d93025;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hn-report-btn::before {
  content: '';
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23d93025" d="M256 32C132.8 32 32 132.8 32 256s100.8 224 224 224 224-100.8 224-224S379.2 32 256 32zm-16 336h32v32h-32zm0-64V128h32v176h-32z"/></svg>') center/contain no-repeat;
}
.hn-report-btn:hover { background: #ffe5e2; border-color: #ffb9b3; }

.hn-report-modal,
.hn-report-thanks {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}
.hn-report-modal[hidden],
.hn-report-thanks[hidden] { display: none; }
.hn-report-modal-box,
.hn-report-thanks-box {
  position: relative;
  width: min(90vw, 420px);
  background: #221f2c;
  color: #eee;
  border-radius: 12px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.hn-report-close {
  position: absolute;
  top: 0.5rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.hn-report-close:hover { color: #fff; }
.hn-report-title { margin: 0 0 0.6rem; font-size: 1.15rem; }
.hn-report-desc { margin: 0 0 1rem; font-size: 0.85rem; color: #bbb; }
.hn-report-note {
  width: 100%;
  background: #17151e;
  border: 1px solid #3a3547;
  border-radius: 8px;
  color: #eee;
  padding: 0.6rem 0.7rem;
  margin-bottom: 1rem;
  font: inherit;
  resize: vertical;
}
.hn-report-send { width: 100%; justify-content: center; }
.hn-report-msg { display: block; margin-top: 0.6rem; font-size: 0.82rem; color: #ffd166; }
.hn-report-msg.err { color: #ff8580; }
.hn-report-thanks-icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 0.9rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%2334c759" d="M256 32C132.8 32 32 132.8 32 256s100.8 224 224 224 224-100.8 224-224S379.2 32 256 32zm-44 320l-100-100 32-32 68 68 156-156 32 32z"/></svg>') center/contain no-repeat;
}
.hn-report-ok { margin-top: 1rem; }

.tn-rate-guest-note {
  background: var(--light-1);
  border: 1px solid var(--light-2);
  border-radius: 0.4rem;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--light-3);
}

.tn-guest-msg { font-size: 0.9rem; line-height: 1.6; }

.tn-guest-mdl { z-index: 20000 !important; }

/* ===== Rank on profile / config pages ===== */
.tn-profile-rank {
  margin: 0.25rem 0 0;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tn-profile-pts {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ===== Homepage: Hentai tabs as rounded pink pills ===== */
.nt-tb-carousel .movies-tbs-nav {
  gap: calc(0.5 * var(--size));
  flex-wrap: wrap;
}

.nt-tb-carousel .movies-tbs-nav li {
  margin: 0;
}

.nt-tb-carousel .movies-tbs-nav a {
  display: inline-block;
  padding: calc(0.3 * var(--size)) calc(0.85 * var(--size));
  border-radius: 999px;
  background: rgba(255, 92, 138, 0.12);
  border: 1px solid rgba(255, 92, 138, 0.45);
  color: #ff7ba6;
  font-weight: 600;
  font-size: 0.9em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nt-tb-carousel .movies-tbs-nav a:hover {
  background: rgba(255, 92, 138, 0.22);
  color: #ffb3cc;
}

.nt-tb-carousel .movies-tbs-nav a.on,
.nt-tb-carousel .movies-tbs-nav a.on:hover {
  background: #ff5c8a;
  border-color: #ff5c8a;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28), 0 2px 10px rgba(255, 92, 138, 0.55);
}


/* ===== Header notification bell ===== */
.nf-bell {
  position: relative;
  font-size: calc(1.1 * var(--f-size));
}

.nf-bell .fa-bell {
  color: #ff7ba6;
}

.nf-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ff5c8a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--gray);
}

.nf-panel.sub-menu {
  width: 320px;
  max-width: 82vw;
  min-width: 16rem;
  padding: 0.5rem 0;
}

.nf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 1rem 0.5rem;
  border-bottom: 1px solid var(--light-1);
  font-weight: 700;
  color: #ff7ba6;
}

.nf-all {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light);
  opacity: 0.8;
  font-size: 0.78em;
  padding: 0;
}

.nf-all:hover {
  opacity: 1;
  color: #ff7ba6;
}

.nf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-item > a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-1);
}

.nf-item:last-child > a {
  border-bottom: none;
}

.nf-item > a:hover {
  background: var(--light-1);
}

.nf-item strong {
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.25;
  color: #ff7ba6;
}

.nf-item.read strong {
  color: var(--text);
}

.nf-item.hn-admin > a {
  background: rgba(124, 92, 255, 0.08);
}

.nf-item.hn-admin strong {
  color: #9b7bff;
}

.nf-admin-tag {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.5);
  color: #b9a2ff;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nf-item.unread > a {
  box-shadow: inset 3px 0 0 #ff5c8a;
}

.nf-body {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95em;
  opacity: 0.85;
}

.nf-item time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75em;
  opacity: 0.55;
}

.nf-empty {
  padding: 1rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.9em;
}


/* ===== Rating Modal ===== */
.tn-rate-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
  padding: 1rem;
}
.tn-rate-modal.open {
  opacity: 1;
  visibility: visible;
}
.tn-rate-modal-box {
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  background: var(--gray-dark);
  border: 1px solid var(--light-2);
  border-radius: 0.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  transition: transform .2s ease;
}
.tn-rate-modal.open .tn-rate-modal-box {
  transform: scale(1) translateY(0);
}
.tn-rate-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--light-1);
}
.tn-rate-modal-header h4 { margin: 0; font-size: 1.1rem; color: var(--light); }
.tn-rate-modal-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .15s;
}
.tn-rate-modal-close:hover { opacity: 1; color: #ff5c8a; }
.tn-rate-modal-avg { font-size: 0.85rem; opacity: 0.8; }
.tn-rate-modal-avg .fa-star { color: #ffd700; margin-right: 0.2rem; }

.tn-rate-modal-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
}
.tn-rate-input { margin-bottom: 1rem; }
.tn-stars { display: flex; gap: 0.3rem; margin-bottom: 0.6rem; }
.tn-stars i { font-size: 1.7rem; cursor: pointer; transition: color .15s, transform .1s; }
.tn-stars i.far { color: var(--text); }
.tn-stars i.fas { color: #ffd700; }
.tn-stars i:hover { transform: scale(1.15); }
.tn-rate-comment { width: 100%; min-height: 5rem; margin-bottom: 0.6rem; resize: vertical; }
.tn-rate-save { width: 100%; }
.tn-rate-msg { display: block; margin-top: 0.5rem; font-size: 0.85rem; }
.tn-rate-msg.ok { color: var(--success); }
.tn-rate-msg.err { color: var(--danger); }

.tn-ratings-list-wrap { margin-top: 1rem; }
.tn-ratings-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.tn-rating-item { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--light-1); }
.tn-rating-item:first-child { border-top: none; }
.tn-rating-av img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.tn-rating-tx { flex: 1; min-width: 0; }
.tn-rating-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.25rem; }
.tn-rating-meta strong { font-size: 0.95rem; color: var(--light); }
.tn-rating-stars { display: flex; gap: 0.15rem; }
.tn-rating-stars i { font-size: 0.85rem; }
.tn-rating-stars i.fas { color: #ffd700; }
.tn-rating-stars i.far { color: var(--text); opacity: 0.5; }
.tn-rating-date { font-size: 0.75rem; opacity: 0.55; }
.tn-rating-comment { margin: 0.3rem 0 0; font-size: 0.9rem; opacity: 0.85; line-height: 1.4; }

/* ===== Rate button next to star ===== */
.tn-rate-open { margin-left: 0.5rem; font-size: 0.8rem; cursor: pointer; }
.tn-rate-open:hover { color: #ffd700; border-color: #ffd700; }
.tn-rate-open:active { transform: scale(0.97); }

/* ===== Mobile refinements ===== */
@media (max-width: 600px) {
  .tn-rate-modal { padding: 0.5rem; align-items: flex-end; }
  .tn-rate-modal-box { max-height: 95vh; border-radius: 0.8rem 0.8rem 0 0; }
  .tn-rating-item { flex-direction: column; gap: 0.4rem; }
  .tn-rating-av { align-self: flex-start; }
}

/* ===== Mobile-only refinements (never affects desktop) ===== */
@media (max-width: 600px) {
  .nf-panel.sub-menu {
    max-width: 92vw;
  }

  .hn-report-modal-box,
  .hn-report-thanks-box {
    width: 94vw;
  }
}

/* ===== Status dot below poster ===== */
.hn-status-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.hn-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.2;
}
.hn-status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: hn-pulse 1.6s ease-in-out infinite;
}
.hn-status-dot-airing {
  background: #22c55e;
  box-shadow: 0 0 6px 2px rgba(34, 197, 94, 0.55);
}
.hn-status-dot-finished {
  background: #ef4444;
  box-shadow: 0 0 6px 2px rgba(239, 68, 68, 0.55);
}
.hn-status-dot-coming {
  background: #3b82f6;
  box-shadow: 0 0 6px 2px rgba(59, 130, 246, 0.55);
}
@keyframes hn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* ===== Censorship badge ===== */
.hn-censorship {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.hn-censorship-unc {
  color: #fff;
  background: #16a34a;
}
.hn-censorship-cen {
  color: #fff;
  background: #dc2626;
}
.seasons-lst .title .hn-censorship {
  margin-left: .5rem;
  vertical-align: middle;
}

/* ===== Player note (episodes) ===== */
.hn-player-note {
  display: block;
  max-width: 940px;
  margin: 0.4rem auto 0.6rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text, #999);
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: 6px;
  text-align: center;
}

/* ===== Coming soon countdown (series page) ===== */
.hn-countdown {
  display: block;
  max-width: 940px;
  margin: 0.8rem auto 0.6rem;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 10px;
  text-align: center;
}
.hn-countdown-msg {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #e2e8f0;
}
.hn-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hn-countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 0.55rem 0.4rem;
  background: #1a1d1d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.hn-countdown-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #60a5fa;
}
.hn-countdown-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

/* ===== Homepage: Hentai Coming Soon section ===== */
.hentai-coming-section .hentai-coming-pane {
  margin-top: 0.9rem;
}
