/* Home page schedule block (templates/home.html)
   Keep styles scoped to avoid affecting /schedule/ page.
*/

.home-schedule {
  --home-schedule-accent: var(--home-schedule-accent, var(--accent-secondary, var(--color-primary, #32b8c6)));
  /* Base look: dark + compact (per request) */
  --home-schedule-surface: rgba(0, 0, 0, 0.62);
  --home-schedule-border: rgba(255, 255, 255, 0.10);
  --home-schedule-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  --home-schedule-text: #ffffff;
  --home-schedule-muted: rgba(255, 255, 255, 0.72);
  --home-schedule-item-bg: rgba(0, 0, 0, 0.34);
  --home-schedule-item-border: rgba(255, 255, 255, 0.12);
}

/* Light themes: make schedule cards light (per request) */
html[data-theme="light"] .home-schedule,
html[data-theme="light_japan"] .home-schedule {
  --home-schedule-surface: rgba(255, 255, 255, 0.92);
  --home-schedule-border: rgba(0, 0, 0, 0.12);
  --home-schedule-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  --home-schedule-text: #0b1220;
  --home-schedule-muted: rgba(11, 18, 32, 0.70);
  --home-schedule-item-bg: rgba(255, 255, 255, 0.92);
  --home-schedule-item-border: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .home-schedule,
html[data-theme="light_japan"] .home-schedule{
  color: var(--home-schedule-text);
}

/* Light theme tabs: light surfaces, dark text */
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab{
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.12);
}
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab.active{
  background: color-mix(in srgb, var(--home-schedule-accent) 16%, rgba(255, 255, 255, 0.92));
  border-color: color-mix(in srgb, var(--home-schedule-accent) 55%, rgba(0, 0, 0, 0.12));
}

html[data-theme="neon"] .home-schedule,
html[data-theme="hard_japan"] .home-schedule {
  --home-schedule-border: rgba(255, 255, 255, 0.16);
  --home-schedule-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  --home-schedule-muted: rgba(255, 255, 255, 0.72);
  --home-schedule-item-bg: rgba(0, 0, 0, 0.42);
  --home-schedule-item-border: rgba(255, 255, 255, 0.14);
}

.home-schedule .heading.style-1 h2.home-schedule__title {
  color: var(--home-schedule-text) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
}

.home-schedule .schedule-box {
  position: relative;
  width: 100%;
}

.home-schedule .card.home-schedule__card {
  position: relative;
  overflow: visible;
  border-radius: 16px;
  /* No "big background" behind schedule - only floating blocks */
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-schedule__bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: var(--home-schedule-bg-color, transparent);
}

.home-schedule__bg-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.home-schedule__bg-item.is-active {
  opacity: 1;
}

.home-schedule__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*
    Управляется из "Редактора сайта" через CSS vars:
      --home-schedule-bg-blur: 0..100 (превращаем в 0..20px через *0.2)
      --home-schedule-bg-dim:  0..100 (превращаем в brightness 1..0)
  */
  filter:
    blur(calc(var(--home-schedule-bg-blur, 20) * 0.2px))
    brightness(calc(1 - (var(--home-schedule-bg-dim, 20) / 100)));
  transform: scale(1.06);
}

html[data-theme="neon"] .home-schedule__bg-img,
html[data-theme="hard_japan"] .home-schedule__bg-img {
  filter:
    blur(calc(var(--home-schedule-bg-blur, 20) * 0.2px))
    brightness(calc(1 - (var(--home-schedule-bg-dim, 35) / 100)));
}

.home-schedule__inner {
  position: relative;
  z-index: 1;
  padding: 18px 16px;
  background: transparent;
}

html[data-theme="neon"] .home-schedule__inner,
html[data-theme="hard_japan"] .home-schedule__inner {
  background: transparent;
}

/* Tabs */
.home-schedule .card-header.home-schedule__header {
  background: transparent;
  border-bottom: 1px solid var(--home-schedule-border);
  padding: 0;
}

/* Cancel global "always dark" schedule header from themes/base.css */
.home-schedule .schedule-box .card-header,
.home-schedule .schedule-box .card-header-tabs,
.home-schedule .schedule-box .nav-tabs {
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.home-schedule .date-slider.home-schedule__tabs {
  border: none;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
  padding: 12px 6px;
}
.home-schedule .date-slider.home-schedule__tabs::-webkit-scrollbar { display: none; }

.home-schedule .date-slider.home-schedule__tabs {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px){
  .home-schedule .date-slider.home-schedule__tabs {
    justify-content: center;
  }
}

.home-schedule .home-schedule__tabs .nav-item {
  flex: 0 0 auto;
  min-width: 84px;
}

.home-schedule a.schedule-day-link.home-schedule__tab {
  border: 1px solid var(--home-schedule-border);
  border-radius: 12px;
  padding: 7px 9px;
  /* Tabs should match the dark schedule card */
  background: rgba(0, 0, 0, 0.34);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

/* Today/tomorrow slightly larger */
.home-schedule a.home-schedule__tab[data-day-offset="0"],
.home-schedule a.home-schedule__tab[data-day-offset="1"] {
  min-width: 96px;
}

html[data-theme="neon"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="hard_japan"] .home-schedule a.schedule-day-link.home-schedule__tab {
  background: rgba(0, 0, 0, 0.34);
}

.home-schedule a.schedule-day-link.home-schedule__tab:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--home-schedule-accent) 35%, var(--home-schedule-border));
}

.home-schedule a.schedule-day-link.home-schedule__tab.active {
  background: color-mix(in srgb, var(--home-schedule-accent) 18%, rgba(0, 0, 0, 0.34));
  border-color: color-mix(in srgb, var(--home-schedule-accent) 55%, var(--home-schedule-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-schedule-accent) 18%, transparent);
}

html[data-theme="neon"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="hard_japan"] .home-schedule a.schedule-day-link.home-schedule__tab.active {
  background: color-mix(in srgb, var(--home-schedule-accent) 18%, rgba(0, 0, 0, 0.20));
}

.home-schedule__tab-date {
  font-size: 11px;
  margin: 0;
  white-space: nowrap;
  color: var(--home-schedule-muted);
  font-weight: 800;
}

.home-schedule__tab-label {
  font-size: 13px;
  font-weight: 900;
  margin: 6px 0 0 0;
  white-space: nowrap;
  color: var(--home-schedule-text);
}

/* Body list */
.home-schedule .card-body.home-schedule__body {
  padding: 12px !important;
  background: transparent !important;
}

/* ui.css has a global `.tab-content { display:none; }` for custom tabs.
   This block uses Bootstrap tabs, so we must force it visible here. */
.home-schedule .tab-content {
  display: block !important;
}

/* Ensure tab panes actually take space (some bootstrap overrides can collapse them) */
.home-schedule .tab-content > .tab-pane {
  display: none;
}
.home-schedule .tab-content > .active {
  display: block;
}
.home-schedule .tab-pane.fade {
  opacity: 1;
}

/* Schedule list (2 columns on desktop, 1 on mobile) */
.home-schedule__lists{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  max-height: none;
  overflow: visible;
  padding-right: 4px; /* room for scrollbar */
  overscroll-behavior: auto;
  max-width: 1200px;
  margin: 0 auto;
}

.home-schedule__lists > *{
  min-width: 0;
}

@media (min-width: 992px){
  .home-schedule__lists{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
}

.home-schedule__col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 991px){
  .home-schedule__lists{
    max-height: none;
  }
}

.home-schedule__lists::-webkit-scrollbar{
  width: 8px;
}
.home-schedule__lists::-webkit-scrollbar-thumb{
  background: color-mix(in srgb, var(--home-schedule-accent) 40%, rgba(255,255,255,0.18));
  border-radius: 999px;
}
.home-schedule__lists::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.20);
  border-radius: 999px;
}

.home-schedule__item {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--home-schedule-item-bg);
  border: 1px solid var(--home-schedule-item-border);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
  /* Center all inner content vertically to avoid "big bottom gap" */
  display: flex;
  align-items: center;
}

.home-schedule__item{
  min-height: 118px;
}

@media (min-width: 992px){
  /* Make cards visually uniform in the 2-col grid */
  .home-schedule__item{
    height: 124px;
  }
}

.home-schedule__item:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--home-schedule-accent) 35%, var(--home-schedule-item-border));
  background: color-mix(in srgb, var(--home-schedule-accent) 10%, var(--home-schedule-item-bg));
}

.home-schedule__episode{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-schedule-text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--home-schedule-item-border);
  background: color-mix(in srgb, var(--home-schedule-accent) 18%, rgba(0,0,0,0.24));
  width: auto !important;
  min-width: 0 !important;
  max-width: 160px;
  position: static;
}

.home-schedule__episode--center{
  justify-self: center;
}

.home-schedule__row{
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 116px;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: center;
  width: 100%;
}

.home-schedule__poster-wrap{
  grid-column: 1;
  grid-row: 1 / span 2;
}

.home-schedule__poster {
  width: 56px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--home-schedule-item-border);
  background: rgba(0, 0, 0, 0.12);
}

.home-schedule__meta{
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: left;
}
.home-schedule__meta-top{
  display:flex;
  align-items:center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.home-schedule__content-title{
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: var(--home-schedule-text) !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-schedule__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 0;
  justify-content: flex-start;
  /* Keep height stable across cards */
  max-height: 44px;
  overflow: hidden;
}

.home-schedule__chips .schedule-button{
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Right-side badges column */
.home-schedule__episode{
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
}

/* smaller chips (type/voiceover) + avoid hover overlay glitches */
.home-schedule .schedule-button{
  font-size: 10px !important;
  padding: 5px 8px !important;
  line-height: 1 !important;
  position: relative;
  z-index: 2;
  color: #fff !important;
  background: rgba(0,0,0,0.18);
  border-color: var(--home-schedule-item-border) !important;
}
.home-schedule .schedule-button:hover{
  /* Don't change stacking/size on hover to avoid "underlapping" the title row */
  z-index: 2;
  transform: none !important;
  box-shadow: none !important;
}
.home-schedule .btn-tag.btn-tag--voice.schedule-button{
  padding: 4px 7px !important;
  font-size: 9px !important;
}

/* Colorful chips on home schedule */
.home-schedule .btn-toggle.btn-toggle--status.schedule-button{
  border-color: rgba(76, 175, 80, 0.40) !important;
  background: rgba(76, 175, 80, 0.14) !important;
  color: #eafff0 !important;
}
.home-schedule .type-button.schedule-button{
  border-color: rgba(76, 175, 80, 0.40) !important;
  background: rgba(76, 175, 80, 0.14) !important;
  color: #eafff0 !important;
}
.home-schedule .btn-tag.btn-tag--voice.schedule-button{
  border-color: rgba(99, 102, 241, 0.42) !important;
  background: rgba(99, 102, 241, 0.14) !important;
  color: #eef2ff !important;
}

/* Light theme chips: dark text on light cards */
html[data-theme="light"] .home-schedule .schedule-button,
html[data-theme="light_japan"] .home-schedule .schedule-button{
  color: var(--home-schedule-text) !important;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="light"] .home-schedule .type-button.schedule-button,
html[data-theme="light_japan"] .home-schedule .type-button.schedule-button{
  background: rgba(76, 175, 80, 0.14) !important;
  border-color: rgba(46, 125, 50, 0.35) !important;
  color: #2e7d32 !important;
}
html[data-theme="light"] .home-schedule .btn-toggle.btn-toggle--status.schedule-button,
html[data-theme="light_japan"] .home-schedule .btn-toggle.btn-toggle--status.schedule-button{
  background: rgba(76, 175, 80, 0.14) !important;
  border-color: rgba(46, 125, 50, 0.35) !important;
  color: #2e7d32 !important;
}
html[data-theme="light"] .home-schedule .btn-tag.btn-tag--voice.schedule-button,
html[data-theme="light_japan"] .home-schedule .btn-tag.btn-tag--voice.schedule-button{
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(79, 70, 229, 0.35) !important;
  color: #4f46e5 !important;
}

/* Responsive: on small screens, don't force an extra column for the episode badge */
@media (max-width: 520px){
  .home-schedule__row{
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 10px;
  }
  .home-schedule__poster-wrap{
    grid-row: 1 / span 3;
  }
  .home-schedule__meta{
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: left;
  }
  .home-schedule__meta-top,
  .home-schedule__chips{
    justify-content: flex-start;
  }
  .home-schedule__episode{
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
  }
}

.home-schedule__divider {
  display: none !important;
}

.home-schedule__empty {
  color: var(--home-schedule-muted);
  text-align: center;
  padding: 22px 12px;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .home-schedule .heading.style-1 h2.home-schedule__title {
    font-size: 22px !important;
  }
  .home-schedule__inner {
    padding: 18px 14px;
  }
  .home-schedule .home-schedule__tabs .nav-item {
    min-width: 86px;
  }
}

.home-schedule {
  --home-schedule-accent: #ff2448;
  --home-schedule-surface: rgba(7, 9, 20, 0.78);
  --home-schedule-panel: rgba(12, 15, 29, 0.72);
  --home-schedule-item-bg: rgba(15, 18, 32, 0.76);
  --home-schedule-border: rgba(255, 255, 255, 0.11);
  --home-schedule-item-border: rgba(255, 255, 255, 0.10);
  --home-schedule-text: #ffffff;
  --home-schedule-muted: rgba(255, 255, 255, 0.66);
  margin-top: clamp(24px, 3vw, 42px);
  margin-bottom: clamp(34px, 4vw, 58px);
}

.home-schedule__shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 36, 72, 0.25);
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 30px);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 36, 72, 0.16), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(122, 53, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(11, 13, 27, 0.86), rgba(5, 7, 16, 0.78));
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-schedule__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 36, 72, 0.12), transparent 24%, transparent 76%, rgba(255, 36, 72, 0.10)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%);
}

.home-schedule__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-schedule__title {
  position: relative;
  margin: 0 !important;
  padding-left: 32px;
  color: #ffffff !important;
  font-size: clamp(28px, 2.7vw, 46px) !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.62);
}

.home-schedule__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #ff2448;
  box-shadow: 0 0 22px rgba(255, 36, 72, 0.76);
  transform: rotate(45deg);
}

.home-schedule__lead {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.5;
}

.home-schedule__controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr minmax(240px, 330px);
  gap: 16px 24px;
  align-items: center;
  margin-bottom: 22px;
}

.home-schedule__quick,
.home-schedule__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-schedule__quick {
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.home-schedule__quick-btn,
.home-schedule__filter {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 22px;
  background: rgba(8, 10, 22, 0.62);
  color: rgba(255, 255, 255, 0.74);
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-schedule__quick-btn {
  min-width: 130px;
  border-color: transparent;
  background: transparent;
  border-radius: 13px;
}

.home-schedule__quick-btn:hover,
.home-schedule__filter:hover {
  color: #fff;
  border-color: rgba(255, 36, 72, 0.38);
}

.home-schedule__quick-btn.is-active,
.home-schedule__filter.is-active {
  color: #fff;
  border-color: rgba(255, 36, 72, 0.70);
  background:
    linear-gradient(135deg, rgba(255, 36, 72, 0.95), rgba(176, 15, 42, 0.70)),
    rgba(255, 36, 72, 0.18);
  box-shadow: 0 12px 30px rgba(255, 36, 72, 0.20), inset 0 1px 0 rgba(255,255,255,.16);
}

.home-schedule__filter.is-active {
  background: rgba(255, 36, 72, 0.10);
}

.home-schedule__controls-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.16);
}

.home-schedule__search {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 16px;
  background: rgba(8, 10, 22, 0.58);
  color: rgba(255, 255, 255, 0.66);
}

.home-schedule__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.home-schedule__search input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.home-schedule .catalog-link-btn--schedule {
  flex: 0 0 auto;
  min-height: 46px;
  padding-inline: 20px;
  border-color: rgba(255, 36, 72, 0.62) !important;
  border-radius: 12px !important;
  background: rgba(255, 36, 72, 0.06) !important;
  box-shadow: 0 0 24px rgba(255, 36, 72, 0.13) !important;
}

.home-schedule .schedule-box {
  position: relative;
  z-index: 1;
}

.home-schedule .card.home-schedule__card {
  border-radius: 0;
}

.home-schedule__inner {
  padding: 0;
}

.home-schedule .card-header.home-schedule__header {
  border: 0;
  margin-bottom: 18px;
}

.home-schedule .date-slider.home-schedule__tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
  max-width: none;
  padding: 0 0 16px !important;
  overflow-x: auto;
}

.home-schedule__pane-title {
  display: none;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-schedule__pane-title span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  margin-left: 8px;
}

.home-schedule__inner.is-week-mode .tab-content > .tab-pane {
  display: block;
}

.home-schedule__inner.is-week-mode .tab-pane + .tab-pane {
  margin-top: 22px;
}

.home-schedule__inner.is-week-mode .tab-pane:not(:has(.home-schedule__item:not(.is-hidden-by-schedule-filter))) {
  display: none;
}

.home-schedule__inner.is-week-mode .home-schedule__pane-title {
  display: block;
}

.home-schedule .home-schedule__tabs .nav-item {
  min-width: 120px;
}

.home-schedule a.schedule-day-link.home-schedule__tab {
  min-height: 88px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(15, 18, 32, 0.70);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-schedule a.schedule-day-link.home-schedule__tab.active {
  border-color: rgba(255, 36, 72, 0.82);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 36, 72, 0.28), transparent 58%),
    rgba(20, 18, 34, 0.84);
  box-shadow:
    0 0 0 1px rgba(255, 36, 72, 0.30) inset,
    0 0 34px rgba(255, 36, 72, 0.28);
}

.home-schedule__tab-label {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  color: #ffffff !important;
}

.home-schedule__tab-date {
  display: inline-flex;
  justify-content: center;
  gap: 5px;
  margin: 0 !important;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
}

.home-schedule__today-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff3157;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.home-schedule__today-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.home-schedule .card-body.home-schedule__body {
  padding: 0 !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body {
  max-height: none;
  overflow: visible;
  padding-right: 6px !important;
  overscroll-behavior: auto;
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar {
  width: 8px;
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 36, 72, 0.46);
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.home-schedule__lists {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  max-width: none;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.home-schedule__item.is-hidden-by-schedule-filter {
  display: none !important;
}

.home-schedule__item {
  min-height: 132px;
  height: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(14, 17, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.home-schedule__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 36, 72, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 36, 72, 0.08), rgba(255, 255, 255, 0.012)),
    rgba(15, 18, 34, 0.84);
}

.home-schedule__row {
  grid-template-columns: 76px minmax(0, 1fr) 150px;
  gap: 12px 16px;
}

.home-schedule__poster {
  width: 76px;
  height: 92px;
  border-radius: 10px;
}

.home-schedule__content-title {
  font-size: 17px !important;
  line-height: 1.18 !important;
}

.home-schedule__chips {
  gap: 7px;
  max-height: 30px;
  margin-top: 9px;
}

.home-schedule .schedule-button {
  min-height: 26px;
  padding: 0 9px !important;
  border-radius: 7px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.home-schedule__meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.home-schedule__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-schedule__time i {
  color: rgba(255, 255, 255, 0.72);
}

.home-schedule__voice {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
}

.home-schedule__voice::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #ff2448;
  box-shadow: 0 0 10px rgba(255, 36, 72, 0.68);
}

.home-schedule__release {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
}

.home-schedule__episode {
  grid-column: auto;
  grid-row: auto;
  min-height: 42px;
  min-width: 116px !important;
  padding: 0 14px;
  border-radius: 11px;
  border-color: rgba(255, 36, 72, 0.58);
  background: rgba(255, 36, 72, 0.055);
  color: #ff8b9e !important;
  font-size: 15px !important;
  box-shadow: 0 0 22px rgba(255, 36, 72, 0.12);
}

.home-schedule__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff9caf;
  font-size: 12px;
  font-weight: 900;
}

.home-schedule__state--released {
  color: #5ee078;
}

.home-schedule__state--announced {
  color: #ffac35;
}

.home-schedule__countdown {
  color: #ff4868;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.home-schedule__state--released + .home-schedule__countdown {
  color: #5ee078;
}

.home-schedule__no-results {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 20px;
  background: rgba(14, 17, 31, 0.68);
  color: rgba(255,255,255,.70);
  font-weight: 800;
  text-align: center;
}

.home-schedule__no-results.is-visible {
  display: block;
}

.home-schedule__empty {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(14, 17, 31, 0.68);
}

@media (max-width: 991px) {
  .home-schedule__heading {
    flex-direction: column;
    align-items: stretch;
  }

  .home-schedule .catalog-link-btn--schedule {
    width: fit-content;
  }

  .home-schedule .date-slider.home-schedule__tabs {
    display: flex;
  }

  .home-schedule__lists {
    grid-template-columns: 1fr;
  }

  .home-schedule__controls {
    grid-template-columns: 1fr;
  }

  .home-schedule__controls-divider {
    display: none;
  }

  .home-schedule__quick,
  .home-schedule__filters {
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 620px) {
  .home-schedule__shell {
    padding: 16px;
    border-radius: 14px;
  }

  .home-schedule__title {
    padding-left: 24px;
    font-size: 24px !important;
  }

  .home-schedule__title::before {
    width: 10px;
    height: 10px;
  }

  .home-schedule__lead {
    font-size: 14px;
  }

  .home-schedule__row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .home-schedule__poster {
    width: 64px;
    height: 86px;
  }

  .home-schedule__release {
    grid-column: 2;
    justify-self: start;
  }
}

/* Final schedule concept pass: voiceover rail, softer geometry, theme-safe colors. */
.home-schedule {
  --home-schedule-ui-accent: #ff2448;
  --home-schedule-ui-accent-2: #ff7a35;
  --home-schedule-ui-good: #52d86a;
  --home-schedule-ui-warn: #ffb13a;
  --home-schedule-ui-bg: rgba(7, 9, 20, 0.86);
  --home-schedule-ui-panel: rgba(13, 16, 30, 0.76);
  --home-schedule-ui-card: rgba(15, 18, 32, 0.82);
  --home-schedule-ui-border: rgba(255, 255, 255, 0.13);
  --home-schedule-ui-text: #ffffff;
  --home-schedule-ui-muted: rgba(255, 255, 255, 0.68);
  --home-schedule-ui-soft: rgba(255, 255, 255, 0.055);
}

html[data-theme="neon"] .home-schedule {
  --home-schedule-ui-accent: #24d8ff;
  --home-schedule-ui-accent-2: #ff38d1;
  --home-schedule-ui-good: #49f08a;
  --home-schedule-ui-warn: #ffd166;
  --home-schedule-ui-bg: rgba(5, 8, 23, 0.88);
  --home-schedule-ui-panel: rgba(9, 18, 40, 0.78);
  --home-schedule-ui-card: rgba(9, 18, 38, 0.84);
  --home-schedule-ui-border: rgba(36, 216, 255, 0.22);
  --home-schedule-ui-muted: rgba(224, 246, 255, 0.72);
  --home-schedule-ui-soft: rgba(36, 216, 255, 0.08);
}

html[data-theme="light"] .home-schedule,
html[data-theme="light_japan"] .home-schedule {
  --home-schedule-ui-accent: #d91f43;
  --home-schedule-ui-accent-2: #2d74d8;
  --home-schedule-ui-good: #218a42;
  --home-schedule-ui-warn: #b77912;
  --home-schedule-ui-bg: rgba(255, 255, 255, 0.94);
  --home-schedule-ui-panel: rgba(250, 252, 255, 0.94);
  --home-schedule-ui-card: rgba(255, 255, 255, 0.96);
  --home-schedule-ui-border: rgba(23, 35, 54, 0.14);
  --home-schedule-ui-text: #111827;
  --home-schedule-ui-muted: rgba(17, 24, 39, 0.68);
  --home-schedule-ui-soft: rgba(217, 31, 67, 0.065);
}

.home-schedule__shell {
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 32%, var(--home-schedule-ui-border)) !important;
  border-radius: 26px !important;
  padding: clamp(24px, 2.9vw, 42px) !important;
  background:
    radial-gradient(circle at 8% 6%, color-mix(in srgb, var(--home-schedule-ui-accent) 18%, transparent), transparent 32%),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--home-schedule-ui-accent-2) 14%, transparent), transparent 30%),
    linear-gradient(180deg, var(--home-schedule-ui-bg), color-mix(in srgb, var(--home-schedule-ui-bg) 88%, #000 12%)) !important;
}

html[data-theme="light"] .home-schedule__shell,
html[data-theme="light_japan"] .home-schedule__shell {
  box-shadow: 0 24px 70px rgba(20, 32, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
}

.home-schedule__heading {
  align-items: center !important;
  margin-bottom: 22px !important;
}

.home-schedule__title {
  color: var(--home-schedule-ui-text) !important;
  font-size: clamp(23px, 1.8vw, 30px) !important;
  line-height: 1.08 !important;
}

.home-schedule__title::before {
  width: 12px !important;
  height: 12px !important;
  border-radius: 4px !important;
  background: var(--home-schedule-ui-accent) !important;
  box-shadow: 0 0 22px color-mix(in srgb, var(--home-schedule-ui-accent) 70%, transparent) !important;
}

.home-schedule__lead,
.home-schedule__tab-date,
.home-schedule__pane-title span,
.home-schedule__meta-line,
.home-schedule__time i {
  color: var(--home-schedule-ui-muted) !important;
}

.home-schedule .catalog-link-btn--schedule {
  align-self: center;
  min-height: 48px;
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 56%, var(--home-schedule-ui-border)) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 9%, transparent) !important;
  color: var(--home-schedule-ui-text) !important;
}

.home-schedule__controls {
  grid-template-columns: auto auto minmax(0, 1fr) minmax(250px, 330px) !important;
  gap: 18px 22px !important;
  align-items: center !important;
  margin-bottom: 26px !important;
}

.home-schedule__quick {
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--home-schedule-ui-panel) 84%, transparent) !important;
  box-shadow: inset 0 0 0 1px var(--home-schedule-ui-border) !important;
}

.home-schedule__quick-btn {
  min-width: 136px !important;
  min-height: 52px !important;
  border-radius: 17px !important;
  color: var(--home-schedule-ui-muted) !important;
}

.home-schedule__quick-btn:hover {
  color: var(--home-schedule-ui-text) !important;
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 38%, transparent) !important;
}

.home-schedule__quick-btn.is-active {
  color: #fff !important;
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 72%, transparent) !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-schedule-ui-accent) 92%, #fff 8%), color-mix(in srgb, var(--home-schedule-ui-accent-2) 70%, var(--home-schedule-ui-accent) 30%)) !important;
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--home-schedule-ui-accent) 26%, transparent),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.home-schedule__controls-divider {
  background: var(--home-schedule-ui-border) !important;
}

.home-schedule__voice-filter {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.home-schedule__voicebar {
  display: flex;
  min-width: 0;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 2px;
}

.home-schedule__voicebar::-webkit-scrollbar {
  display: none;
}

.home-schedule__voice-nav,
.home-schedule__voice-chip {
  border: 1px solid var(--home-schedule-ui-border);
  background: color-mix(in srgb, var(--home-schedule-ui-panel) 88%, transparent);
  color: var(--home-schedule-ui-muted);
  font-family: inherit;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-schedule__voice-nav {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.home-schedule__voice-chip {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 42px;
  max-width: 210px;
  align-items: center;
  gap: 9px;
  border-radius: 15px;
  padding: 0 8px 0 14px;
  font-size: 13px;
  font-weight: 850;
}

.home-schedule__voice-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-schedule__voice-fav {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 10px;
  color: color-mix(in srgb, var(--home-schedule-ui-accent) 68%, var(--home-schedule-ui-muted));
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 8%, transparent);
}

.home-schedule__voice-nav:hover,
.home-schedule__voice-chip:hover {
  color: var(--home-schedule-ui-text);
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 44%, var(--home-schedule-ui-border));
}

.home-schedule__voice-chip.is-active {
  color: var(--home-schedule-ui-text);
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 70%, var(--home-schedule-ui-border));
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 15%, var(--home-schedule-ui-panel));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--home-schedule-ui-accent) 18%, transparent);
}

.home-schedule__voice-chip.is-favorite .home-schedule__voice-fav {
  color: #fff;
  background: linear-gradient(135deg, var(--home-schedule-ui-accent), var(--home-schedule-ui-accent-2));
}

.home-schedule__search {
  min-height: 52px !important;
  border-radius: 17px !important;
  border-color: var(--home-schedule-ui-border) !important;
  background: color-mix(in srgb, var(--home-schedule-ui-panel) 88%, transparent) !important;
  color: var(--home-schedule-ui-muted) !important;
}

.home-schedule__search input {
  color: var(--home-schedule-ui-text) !important;
}

.home-schedule__search input::placeholder {
  color: color-mix(in srgb, var(--home-schedule-ui-muted) 72%, transparent) !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab {
  border-radius: 18px !important;
  border-color: var(--home-schedule-ui-border) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.014)),
    var(--home-schedule-ui-panel) !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab.active {
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 78%, var(--home-schedule-ui-border)) !important;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--home-schedule-ui-accent) 25%, transparent), transparent 60%),
    var(--home-schedule-ui-panel) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--home-schedule-ui-accent) 28%, transparent) inset,
    0 0 32px color-mix(in srgb, var(--home-schedule-ui-accent) 22%, transparent) !important;
}

.home-schedule__tab-label,
.home-schedule__pane-title,
.home-schedule__content-title {
  color: var(--home-schedule-ui-text) !important;
}

.home-schedule__today-dot {
  color: var(--home-schedule-ui-accent) !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 48%, transparent) !important;
}

.home-schedule__item {
  min-height: 144px !important;
  border-radius: 18px !important;
  border-color: var(--home-schedule-ui-border) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    var(--home-schedule-ui-card) !important;
}

.home-schedule__item:hover {
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 42%, var(--home-schedule-ui-border)) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--home-schedule-ui-accent) 8%, transparent), rgba(255,255,255,.012)),
    var(--home-schedule-ui-card) !important;
}

.home-schedule__content-title {
  display: -webkit-box !important;
  overflow: hidden;
  font-size: 20px !important;
  line-height: 1.16 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-schedule__voice {
  display: inline-flex;
  min-height: 28px;
  max-width: 190px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--home-schedule-ui-accent) 38%, var(--home-schedule-ui-border));
  border-radius: 12px;
  padding: 0 10px;
  overflow: hidden;
  color: var(--home-schedule-ui-text) !important;
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 10%, transparent);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-schedule__voice::before {
  display: none !important;
}

.home-schedule__release {
  gap: 6px !important;
}

.home-schedule__episode {
  min-height: 44px !important;
  min-width: 128px !important;
  border-radius: 15px !important;
  gap: 8px;
  text-decoration: none !important;
}

.home-schedule__episode--announced {
  border-color: color-mix(in srgb, var(--home-schedule-ui-warn) 60%, var(--home-schedule-ui-border)) !important;
  background: color-mix(in srgb, var(--home-schedule-ui-warn) 10%, transparent) !important;
  color: var(--home-schedule-ui-warn) !important;
}

.home-schedule__episode--released {
  border-color: color-mix(in srgb, var(--home-schedule-ui-good) 62%, var(--home-schedule-ui-border)) !important;
  background: color-mix(in srgb, var(--home-schedule-ui-good) 12%, transparent) !important;
  color: var(--home-schedule-ui-good) !important;
}

.home-schedule__episode-note {
  color: var(--home-schedule-ui-muted);
  font-size: 12px;
  font-weight: 850;
}

.home-schedule__countdown {
  color: var(--home-schedule-ui-accent) !important;
}

.home-schedule__empty,
.home-schedule__no-results {
  border-color: var(--home-schedule-ui-border) !important;
  background: var(--home-schedule-ui-card) !important;
  color: var(--home-schedule-ui-muted) !important;
}

@media (max-width: 991px) {
  .home-schedule__controls {
    grid-template-columns: 1fr !important;
  }

  .home-schedule__voice-filter {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }
}

@media (max-width: 620px) {
  .home-schedule__shell {
    border-radius: 20px !important;
    padding: 18px !important;
  }

  .home-schedule__quick-btn {
    min-width: 112px !important;
  }

  .home-schedule__content-title {
    font-size: 18px !important;
  }
}

html[data-theme="light"] .home-schedule__shell,
html[data-theme="light_japan"] .home-schedule__shell {
  background:
    radial-gradient(circle at 8% 6%, rgba(217, 31, 67, 0.10), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(45, 116, 216, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.94)) !important;
}

html[data-theme="light"] .home-schedule__quick,
html[data-theme="light_japan"] .home-schedule__quick,
html[data-theme="light"] .home-schedule__search,
html[data-theme="light_japan"] .home-schedule__search,
html[data-theme="light"] .home-schedule__voice-nav,
html[data-theme="light_japan"] .home-schedule__voice-nav,
html[data-theme="light"] .home-schedule__voice-chip,
html[data-theme="light_japan"] .home-schedule__voice-chip,
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="light"] .home-schedule__item,
html[data-theme="light_japan"] .home-schedule__item {
  border-color: rgba(23, 35, 54, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #273244 !important;
}

html[data-theme="light"] .home-schedule__quick-btn,
html[data-theme="light_japan"] .home-schedule__quick-btn,
html[data-theme="light"] .home-schedule__voice-chip,
html[data-theme="light_japan"] .home-schedule__voice-chip,
html[data-theme="light"] .home-schedule__search,
html[data-theme="light_japan"] .home-schedule__search,
html[data-theme="light"] .home-schedule__search input,
html[data-theme="light_japan"] .home-schedule__search input {
  color: #273244 !important;
}

html[data-theme="light"] .home-schedule__quick-btn.is-active,
html[data-theme="light_japan"] .home-schedule__quick-btn.is-active,
html[data-theme="light"] .home-schedule__voice-chip.is-active,
html[data-theme="light_japan"] .home-schedule__voice-chip.is-active,
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab.active {
  border-color: rgba(217, 31, 67, 0.48) !important;
  background: rgba(217, 31, 67, 0.11) !important;
  color: #111827 !important;
  box-shadow: 0 12px 30px rgba(217, 31, 67, 0.12) !important;
}

html[data-theme="light"] .home-schedule__quick-btn.is-active,
html[data-theme="light_japan"] .home-schedule__quick-btn.is-active {
  background: linear-gradient(135deg, #d91f43, #2d74d8) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .home-schedule__item:hover,
html[data-theme="light_japan"] .home-schedule__item:hover {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(217, 31, 67, 0.36) !important;
}

html[data-theme="light"] .home-schedule .schedule-button,
html[data-theme="light_japan"] .home-schedule .schedule-button,
html[data-theme="light"] .home-schedule__voice,
html[data-theme="light_japan"] .home-schedule__voice {
  color: #273244 !important;
  background: rgba(217, 31, 67, 0.07) !important;
  border-color: rgba(217, 31, 67, 0.20) !important;
}

/* Compact home schedule pass: keep release cards readable, remove stacked panels. */
.home-schedule {
  margin-top: clamp(16px, 2vw, 28px) !important;
  margin-bottom: clamp(22px, 3vw, 40px) !important;
}

.home-schedule__shell {
  border-color: transparent !important;
  border-radius: 0 !important;
  padding: clamp(8px, 1.2vw, 16px) 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__shell::before {
  display: none !important;
}

.home-schedule__heading {
  gap: 14px !important;
  margin-bottom: 10px !important;
}

.home-schedule__title {
  font-size: clamp(22px, 1.7vw, 28px) !important;
}

.home-schedule__lead {
  max-width: 620px;
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.home-schedule .catalog-link-btn--schedule {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px !important;
}

.home-schedule__controls {
  grid-template-columns: auto auto minmax(0, 1fr) minmax(190px, 260px) !important;
  gap: 8px 12px !important;
  margin-bottom: 10px !important;
}

.home-schedule__quick {
  gap: 4px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__quick-btn {
  min-width: 74px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  background: transparent !important;
  font-size: 11px !important;
}

.home-schedule__quick-btn.is-active {
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 14%, transparent) !important;
  box-shadow: none !important;
}

.home-schedule__voice-filter {
  grid-template-columns: 28px minmax(0, 1fr) 28px !important;
  gap: 4px !important;
}

.home-schedule__voicebar {
  gap: 6px !important;
  padding: 0 !important;
}

.home-schedule__voice-nav {
  width: 28px !important;
  height: 28px !important;
  border-radius: 9px !important;
  background: transparent !important;
}

.home-schedule__voice-chip {
  min-height: 28px !important;
  max-width: 150px !important;
  gap: 6px !important;
  border-radius: 10px !important;
  padding: 0 6px 0 9px !important;
  background: transparent !important;
  font-size: 10px !important;
}

.home-schedule__voice-chip.is-active {
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 12%, transparent) !important;
  box-shadow: none !important;
}

.home-schedule__voice-fav {
  flex-basis: 18px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 7px !important;
}

.home-schedule__search {
  min-height: 30px !important;
  gap: 8px !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  background: transparent !important;
  font-size: 12px !important;
}

.home-schedule__search input {
  font-size: 12px !important;
}

.home-schedule .card-header.home-schedule__header {
  margin-bottom: 8px !important;
}

.home-schedule .date-slider.home-schedule__tabs {
  grid-template-columns: repeat(7, minmax(82px, 1fr)) !important;
  gap: 6px !important;
  padding: 0 0 8px !important;
}

.home-schedule .home-schedule__tabs .nav-item {
  min-width: 82px !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab {
  min-height: 46px !important;
  gap: 3px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab.active {
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 12%, transparent) !important;
  box-shadow: none !important;
}

.home-schedule__tab-label {
  font-size: 13px !important;
}

.home-schedule__tab-date {
  font-size: 9px !important;
}

.home-schedule__today-dot {
  font-size: 9px !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body {
  max-height: min(450px, 54vh) !important;
  padding-right: 4px !important;
}

.home-schedule__inner.is-week-mode .tab-pane + .tab-pane {
  margin-top: 14px !important;
}

.home-schedule__pane-title {
  margin-bottom: 8px !important;
  font-size: 12px !important;
}

.home-schedule__lists {
  gap: 10px 12px !important;
}

.home-schedule__item {
  min-height: 112px !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
}

.home-schedule__item:hover {
  transform: translateY(-1px) !important;
}

.home-schedule__row {
  grid-template-columns: 76px minmax(0, 1fr) 124px !important;
  gap: 8px 10px !important;
}

.home-schedule__chips {
  gap: 5px !important;
  margin-top: 4px !important;
  max-height: 22px !important;
}

.home-schedule .schedule-button {
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 9px !important;
}

.home-schedule__meta-line {
  gap: 5px 8px !important;
  margin-top: 5px !important;
  font-size: 11px !important;
}

.home-schedule__voice {
  min-height: 22px !important;
  max-width: 160px !important;
  border-radius: 8px !important;
  padding: 0 8px !important;
  background: transparent !important;
  font-size: 11px !important;
}

.home-schedule__episode {
  min-height: 30px !important;
  min-width: 104px !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}

.home-schedule__episode-note,
.home-schedule__countdown {
  font-size: 11px !important;
}

html[data-theme="light"] .home-schedule__shell,
html[data-theme="light_japan"] .home-schedule__shell,
html[data-theme="light"] .home-schedule__quick,
html[data-theme="light_japan"] .home-schedule__quick,
html[data-theme="light"] .home-schedule__search,
html[data-theme="light_japan"] .home-schedule__search,
html[data-theme="light"] .home-schedule__voice-nav,
html[data-theme="light_japan"] .home-schedule__voice-nav,
html[data-theme="light"] .home-schedule__voice-chip,
html[data-theme="light_japan"] .home-schedule__voice-chip,
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab,
html[data-theme="light"] .home-schedule__voice,
html[data-theme="light_japan"] .home-schedule__voice {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .home-schedule__quick-btn.is-active,
html[data-theme="light_japan"] .home-schedule__quick-btn.is-active,
html[data-theme="light"] .home-schedule__voice-chip.is-active,
html[data-theme="light_japan"] .home-schedule__voice-chip.is-active,
html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab.active {
  background: rgba(217, 31, 67, 0.10) !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .home-schedule__controls {
    gap: 8px !important;
  }
}

@media (max-width: 620px) {
  .home-schedule__shell {
    padding: 10px 0 !important;
  }

  .home-schedule__heading {
    margin-bottom: 12px !important;
  }

  .home-schedule__quick-btn {
    min-width: 86px !important;
  }

  .home-schedule__row {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .home-schedule__poster {
    width: 76px !important;
    height: 92px !important;
  }

  .home-schedule__release {
    grid-column: 2 !important;
  }

  .home-schedule__content-title {
    font-size: 18px !important;
  }
}

/* Airy schedule pass: larger controls, transparent release rows, no inner scrollbar chrome. */
.home-schedule__controls {
  grid-template-columns: auto auto minmax(0, 1fr) minmax(220px, 300px) !important;
  gap: 10px 14px !important;
  margin-bottom: 12px !important;
}

.home-schedule__quick-btn {
  min-width: 84px !important;
  min-height: 34px !important;
  font-size: 12px !important;
}

.home-schedule__voice-filter {
  grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  gap: 6px !important;
}

.home-schedule__voicebar {
  gap: 7px !important;
  padding: 0 1px !important;
  scroll-padding-left: 54px;
}

.home-schedule__voice-nav {
  width: 30px !important;
  height: 30px !important;
}

.home-schedule__voice-chip {
  min-height: 32px !important;
  max-width: 174px !important;
  padding: 0 8px 0 11px !important;
  font-size: 11px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__voice-chip--all {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 50px !important;
  background: rgb(4, 7, 17) !important;
}

.home-schedule__voice-chip--all.is-active {
  background: color-mix(in srgb, var(--home-schedule-ui-accent) 16%, rgb(4, 7, 17)) !important;
}

.home-schedule__voice-fav {
  flex-basis: 20px !important;
  width: 20px !important;
  height: 20px !important;
}

.home-schedule__search {
  min-height: 34px !important;
  padding: 0 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

.home-schedule__search input {
  font-size: 13px !important;
}

.home-schedule .date-slider.home-schedule__tabs {
  grid-template-columns: repeat(7, minmax(92px, 1fr)) !important;
  gap: 8px !important;
}

.home-schedule .home-schedule__tabs .nav-item {
  min-width: 92px !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab {
  min-height: 52px !important;
  padding: 7px 9px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__tab-label {
  font-size: 14px !important;
}

.home-schedule__tab-date {
  font-size: 10px !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
  scrollbar-width: none !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar {
  display: none !important;
}

.home-schedule__lists {
  gap: 12px 14px !important;
}

.home-schedule__item {
  min-height: 120px !important;
  padding: 10px 12px !important;
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 32%, var(--home-schedule-ui-border)) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__item:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__row {
  grid-template-columns: 76px minmax(0, 1fr) 132px !important;
  gap: 10px 12px !important;
}

.home-schedule__chips {
  gap: 6px !important;
  margin-top: 5px !important;
  max-height: 24px !important;
}

.home-schedule .schedule-button {
  min-height: 22px !important;
  padding: 0 8px !important;
  font-size: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__meta-line {
  margin-top: 6px !important;
  font-size: 12px !important;
}

.home-schedule__voice {
  min-height: 24px !important;
  font-size: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__episode {
  min-height: 34px !important;
  min-width: 112px !important;
  font-size: 13px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__episode--announced,
.home-schedule__episode--released {
  background: transparent !important;
}

.home-schedule__episode-note,
.home-schedule__countdown {
  font-size: 12px !important;
}

html[data-theme="light"] .home-schedule__voice-chip--all,
html[data-theme="light_japan"] .home-schedule__voice-chip--all {
  background: #f7f9fc !important;
}

html[data-theme="light"] .home-schedule__voice-chip--all.is-active,
html[data-theme="light_japan"] .home-schedule__voice-chip--all.is-active {
  background: rgba(217, 31, 67, 0.10) !important;
}

html[data-theme="light"] .home-schedule__item,
html[data-theme="light_japan"] .home-schedule__item,
html[data-theme="light"] .home-schedule .schedule-button,
html[data-theme="light_japan"] .home-schedule .schedule-button,
html[data-theme="light"] .home-schedule__episode,
html[data-theme="light_japan"] .home-schedule__episode,
html[data-theme="light"] .home-schedule__voice,
html[data-theme="light_japan"] .home-schedule__voice {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .home-schedule__inner.is-week-mode .home-schedule__body {
    overflow: visible !important;
  }
}

@media (max-width: 620px) {
  .home-schedule__controls {
    gap: 9px !important;
  }

  .home-schedule__row {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }
}

/* Weightless schedule correction: neutral colors, four visible rows, no panel fills. */
.home-schedule {
  --home-schedule-ui-accent: #32b8c6 !important;
  --home-schedule-ui-accent-2: #7d8ba3 !important;
  --home-schedule-ui-good: #55b86a !important;
  --home-schedule-ui-warn: #c6a35a !important;
  --home-schedule-ui-card: transparent !important;
  --home-schedule-ui-panel: transparent !important;
  --home-schedule-ui-bg: transparent !important;
}

html[data-theme="light"] .home-schedule,
html[data-theme="light_japan"] .home-schedule {
  --home-schedule-ui-accent: #526071 !important;
  --home-schedule-ui-accent-2: #7d8794 !important;
  --home-schedule-ui-good: #3f7a52 !important;
  --home-schedule-ui-warn: #7d6b3a !important;
}

.home-schedule,
.home-schedule__shell,
.home-schedule .schedule-box,
.home-schedule .card.home-schedule__card,
.home-schedule__inner,
.home-schedule .card-header.home-schedule__header,
.home-schedule .card-body.home-schedule__body,
.home-schedule .date-slider.home-schedule__tabs,
.home-schedule__controls,
.home-schedule__quick,
.home-schedule__voice-filter,
.home-schedule__voicebar,
.home-schedule__search,
.home-schedule__item {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.home-schedule a.schedule-day-link.home-schedule__tab,
.home-schedule a.schedule-day-link.home-schedule__tab.active,
.home-schedule__quick-btn,
.home-schedule__quick-btn.is-active,
.home-schedule__voice-nav,
.home-schedule__voice-chip,
.home-schedule__voice-chip.is-active,
.home-schedule__voice-chip--all,
.home-schedule__voice-chip--all.is-active,
.home-schedule .schedule-button,
.home-schedule__voice,
.home-schedule__episode,
.home-schedule__episode--announced,
.home-schedule__episode--released,
.home-schedule__empty,
.home-schedule__no-results {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
  scrollbar-width: none !important;
}

.home-schedule__inner.is-week-mode .home-schedule__body::-webkit-scrollbar {
  display: none !important;
}

.home-schedule__item {
  min-height: 118px !important;
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 26%, var(--home-schedule-ui-border)) !important;
}

.home-schedule__item:hover {
  border-color: color-mix(in srgb, var(--home-schedule-ui-accent) 40%, var(--home-schedule-ui-border)) !important;
}

.home-schedule__episode {
  min-width: 112px !important;
  color: var(--home-schedule-ui-text) !important;
}

.home-schedule__episode--announced {
  border-color: color-mix(in srgb, var(--home-schedule-ui-warn) 62%, var(--home-schedule-ui-border)) !important;
  color: var(--home-schedule-ui-warn) !important;
}

.home-schedule__episode--released {
  border-color: color-mix(in srgb, var(--home-schedule-ui-good) 58%, var(--home-schedule-ui-border)) !important;
  color: var(--home-schedule-ui-good) !important;
}

.home-schedule__countdown {
  color: var(--home-schedule-ui-accent) !important;
}

html[data-theme="light"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="light_japan"] .home-schedule a.schedule-day-link.home-schedule__tab.active,
html[data-theme="light"] .home-schedule__quick-btn.is-active,
html[data-theme="light_japan"] .home-schedule__quick-btn.is-active,
html[data-theme="light"] .home-schedule__voice-chip.is-active,
html[data-theme="light_japan"] .home-schedule__voice-chip.is-active {
  background: transparent !important;
  border-color: rgba(82, 96, 113, 0.44) !important;
  color: #111827 !important;
}

html[data-theme="light"] .home-schedule__countdown,
html[data-theme="light_japan"] .home-schedule__countdown,
html[data-theme="light"] .home-schedule__today-dot,
html[data-theme="light_japan"] .home-schedule__today-dot {
  color: #526071 !important;
}

html[data-theme="light"] .home-schedule__episode--announced,
html[data-theme="light_japan"] .home-schedule__episode--announced {
  color: #7d6b3a !important;
}

html[data-theme="light"] .home-schedule__episode--released,
html[data-theme="light_japan"] .home-schedule__episode--released {
  color: #3f7a52 !important;
}

@media (max-width: 991px) {
  .home-schedule__inner.is-week-mode .home-schedule__body {
    max-height: none !important;
    overflow: visible !important;
  }
}

.home-schedule__search {
  border-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.home-schedule__search input,
html[data-theme] .home-schedule__search input {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--home-schedule-ui-text) !important;
}

.home-schedule__search input:-webkit-autofill,
.home-schedule__search input:-webkit-autofill:hover,
.home-schedule__search input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--home-schedule-ui-text) !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 9999s ease-out !important;
}

/* Compact homepage schedule concept. Full calendar lives on /schedule/. */
.home-schedule {
  --home-schedule-compact-accent: var(--home-schedule-accent, #ff2448);
  --home-schedule-compact-text: var(--home-heading, #f7f8ff);
  --home-schedule-compact-muted: color-mix(in srgb, var(--home-schedule-compact-text) 66%, transparent);
  --home-schedule-compact-line: color-mix(in srgb, var(--home-schedule-compact-accent) 48%, rgba(255, 255, 255, 0.14));
  --home-schedule-compact-panel: rgba(7, 10, 22, 0.58);
  --home-schedule-compact-chip: rgba(255, 255, 255, 0.055);
  margin-top: clamp(34px, 4vw, 58px) !important;
  margin-bottom: clamp(34px, 4vw, 58px) !important;
  color: var(--home-schedule-compact-text);
}

html[data-theme="light"] .home-schedule,
html[data-theme="light_japan"] .home-schedule {
  --home-schedule-compact-text: #111827;
  --home-schedule-compact-muted: rgba(17, 24, 39, 0.66);
  --home-schedule-compact-line: color-mix(in srgb, var(--home-schedule-compact-accent) 34%, rgba(17, 24, 39, 0.18));
  --home-schedule-compact-panel: rgba(255, 255, 255, 0.72);
  --home-schedule-compact-chip: rgba(17, 24, 39, 0.045);
}

.home-schedule__shell {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule__shell::before {
  content: none !important;
}

.home-schedule__heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 22px !important;
}

.home-schedule__title {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--home-schedule-compact-text) !important;
  font-size: clamp(24px, 2vw, 36px) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

.home-schedule__title::before {
  content: "\f073" !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--home-schedule-compact-accent) !important;
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  font-weight: 900;
  transform: none !important;
}

.home-schedule__lead {
  max-width: 720px !important;
  margin: 8px 0 0 !important;
  color: var(--home-schedule-compact-muted) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.home-schedule .catalog-link-btn--schedule {
  min-height: 50px !important;
  padding: 0 18px !important;
  border: 1px solid var(--home-schedule-compact-line) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--home-schedule-compact-text) !important;
  box-shadow: none !important;
}

.home-schedule .catalog-link-btn--schedule:hover {
  border-color: var(--home-schedule-compact-accent) !important;
  color: #fff !important;
  background: color-mix(in srgb, var(--home-schedule-compact-accent) 18%, transparent) !important;
}

html[data-theme="light"] .home-schedule .catalog-link-btn--schedule:hover,
html[data-theme="light_japan"] .home-schedule .catalog-link-btn--schedule:hover {
  color: #111827 !important;
}

.home-schedule__controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.home-schedule__quick {
  width: fit-content !important;
  min-width: 0 !important;
  display: inline-flex !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid color-mix(in srgb, var(--home-schedule-compact-text) 13%, transparent) !important;
  border-radius: 10px !important;
  background: color-mix(in srgb, var(--home-schedule-compact-panel) 72%, transparent) !important;
  box-shadow: none !important;
}

.home-schedule__quick-btn {
  min-width: 112px !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 0 18px !important;
  background: transparent !important;
  color: var(--home-schedule-compact-muted) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.home-schedule__quick-btn:hover {
  color: var(--home-schedule-compact-text) !important;
}

.home-schedule__quick-btn.is-active {
  color: #fff !important;
  border-color: transparent !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--home-schedule-compact-accent) 92%, #ff3159), color-mix(in srgb, var(--home-schedule-compact-accent) 66%, #74091f)) !important;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--home-schedule-compact-accent) 24%, transparent) !important;
}

.home-schedule__filters {
  justify-self: end;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.home-schedule__select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  min-width: 170px;
  border: 1px solid color-mix(in srgb, var(--home-schedule-compact-text) 13%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--home-schedule-compact-panel) 72%, transparent);
  color: var(--home-schedule-compact-text);
}

.home-schedule__select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-schedule__select select {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  appearance: none;
  padding: 0 40px 0 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
}

.home-schedule__select option {
  color: #111827;
}

.home-schedule__select i {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--home-schedule-compact-muted);
  font-size: 12px;
}

.home-schedule__header,
.home-schedule__tabs--source {
  display: none !important;
}

.home-schedule .schedule-box,
.home-schedule .card.home-schedule__card,
.home-schedule__inner,
.home-schedule .card-body.home-schedule__body {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-schedule .tab-content > .tab-pane {
  display: none !important;
}

.home-schedule .tab-content > .tab-pane.active,
.home-schedule .tab-content > .tab-pane.show {
  display: block !important;
}

.home-schedule__inner.is-week-mode .tab-content > .tab-pane {
  display: block !important;
}

.home-schedule__inner.is-week-mode .tab-pane:not(:has(.home-schedule__item:not(.is-hidden-by-schedule-filter))) {
  display: none !important;
}

.home-schedule__inner.is-week-mode .tab-pane + .tab-pane {
  margin-top: 14px !important;
}

.home-schedule__pane-title {
  display: none !important;
  margin: 0 0 10px !important;
  color: var(--home-schedule-compact-muted) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.home-schedule__inner.is-week-mode .home-schedule__pane-title {
  display: block !important;
}

.home-schedule__lists {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 22px !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.home-schedule__item {
  min-height: 112px !important;
  height: auto !important;
  padding: 10px 14px !important;
  border: 1px solid var(--home-schedule-compact-line) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-schedule-compact-panel) 82%, transparent), transparent),
    color-mix(in srgb, var(--home-schedule-compact-chip) 90%, transparent) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.home-schedule__item:hover {
  border-color: var(--home-schedule-compact-accent) !important;
  background: color-mix(in srgb, var(--home-schedule-compact-accent) 8%, var(--home-schedule-compact-panel)) !important;
  transform: translateY(-1px) !important;
}

.home-schedule__row {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 136px !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100%;
}

.home-schedule__poster-wrap {
  width: 92px !important;
  height: 92px !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.home-schedule__poster {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.home-schedule__content-title {
  margin: 0 !important;
  color: var(--home-schedule-compact-text) !important;
  font-size: clamp(18px, 1.42vw, 25px) !important;
  font-weight: 900 !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
}

.home-schedule__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-height: none !important;
  margin-top: 8px !important;
}

.home-schedule .schedule-button,
.home-schedule__voice {
  min-height: 24px !important;
  padding: 0 9px !important;
  border: 1px solid color-mix(in srgb, var(--home-schedule-compact-text) 18%, transparent) !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: var(--home-schedule-compact-text) !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.home-schedule .btn-toggle--status {
  border-color: color-mix(in srgb, var(--home-schedule-compact-accent) 72%, transparent) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--home-schedule-compact-accent) 94%, #ff3159), color-mix(in srgb, var(--home-schedule-compact-accent) 70%, #76091e)) !important;
  color: #fff !important;
}

.home-schedule__meta-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
  color: var(--home-schedule-compact-muted) !important;
  font-size: 13px !important;
}

.home-schedule__time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: inherit !important;
}

.home-schedule__time i {
  color: var(--home-schedule-compact-accent) !important;
}

.home-schedule__release {
  display: grid !important;
  justify-items: end !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.home-schedule__episode {
  min-width: 118px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border: 1px solid var(--home-schedule-compact-line) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--home-schedule-compact-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.home-schedule__episode i {
  display: none !important;
}

.home-schedule__countdown {
  color: var(--home-schedule-compact-accent) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

.home-schedule__empty,
.home-schedule__no-results {
  border: 1px solid var(--home-schedule-compact-line) !important;
  border-radius: 10px !important;
  padding: 18px !important;
  background: color-mix(in srgb, var(--home-schedule-compact-panel) 68%, transparent) !important;
  color: var(--home-schedule-compact-muted) !important;
}

@media (max-width: 1199px) {
  .home-schedule__lists {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .home-schedule__heading,
  .home-schedule__controls {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .home-schedule .catalog-link-btn--schedule,
  .home-schedule__quick,
  .home-schedule__filters,
  .home-schedule__select {
    width: 100% !important;
  }

  .home-schedule__quick-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-inline: 10px !important;
  }

  .home-schedule__row {
    grid-template-columns: 74px minmax(0, 1fr) !important;
  }

  .home-schedule__poster-wrap {
    width: 74px !important;
    height: 92px !important;
  }

  .home-schedule__release {
    grid-column: 2;
    justify-items: start !important;
    grid-auto-flow: column;
    align-items: center;
    margin-top: 4px;
  }

  .home-schedule__episode {
    min-width: 104px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }

  .home-schedule__content-title {
    font-size: 18px !important;
  }
}
