.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(231,193,107,.090), transparent 34%),
    linear-gradient(135deg, rgba(38,31,24,.84), rgba(14,20,30,.74));
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -.07em;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-button {
  white-space: nowrap;
  align-self: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(38,31,24,.64), rgba(15,23,42,.52));
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
}

.stat-card span,
.stat-card small {
  display: block;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin: 8px 0 2px;
  color: #fff7ed;
  font-size: 34px;
  letter-spacing: -.05em;
}

.next-section {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(113,28,36,.18), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(20,184,166,.09), transparent 30%),
    rgba(15,23,42,.62);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 226, 183, .08);
}

.next-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(231,193,107,.090), transparent 30%, rgba(201,154,74,.075));
  opacity: .75;
}

.next-section > * {
  position: relative;
  z-index: 1;
}

.next-head h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 18px;
}

.next-card-form {
  display: grid;
  margin: 0;
}

.next-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 245px) 1fr;
  width: 100%;
  min-height: 250px;
  padding: 0;
  border: 1px solid rgba(255, 226, 183, .18);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(28, 24, 23, .92), rgba(15, 23, 42, .82));
  box-shadow: 0 24px 72px rgba(0,0,0,.28);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.next-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(201,154,74,.075) 48%, rgba(231,193,107,.060) 100%);
  opacity: .85;
}

.next-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231,193,107,.32);
  background: linear-gradient(135deg, rgba(35, 29, 26, .96), rgba(17, 24, 39, .90));
}

.next-card:active {
  transform: translateY(-1px) scale(.995);
}

.next-card:focus-visible {
  outline: 3px solid rgba(250, 204, 21, .52);
  outline-offset: 4px;
}

.next-art {
  position: relative;
  min-height: 250px;
  background: #090d13;
}

.next-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgba(15,23,42,.80)),
    linear-gradient(0deg, rgba(0,0,0,.28), transparent 46%);
}

.next-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-art .poster-placeholder {
  height: 100%;
  border-radius: 0;
}

.next-body {
  position: relative;
  z-index: 2;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.next-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.next-kicker {
  color: #e7c16b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.next-body h3 {
  margin: 14px 0 8px;
  color: #fff7ed;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.next-episode-name {
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.35;
}

.next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.episode-code,
.next-date {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 183, .14);
  background: rgba(2,6,23,.34);
  color: #f6dca8;
  font-weight: 850;
  font-size: 13px;
}

.next-date {
  color: #a7f3d0;
}

.muted-date {
  color: #94a3b8;
}

.next-cta {
  display: inline-flex;
  width: max-content;
  margin-top: 20px;
  color: #e7c16b;
  font-weight: 900;
  transition: transform .16s ease;
}

.next-cta::before {
  content: "✓ ";
}

.next-card:hover .next-cta {
  transform: translateX(4px);
}

.next-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 24px;
  border: 1px dashed rgba(231,193,107,.26);
  border-radius: var(--radius-lg);
  background: rgba(2,6,23,.22);
}

.next-empty strong {
  font-size: 20px;
}

.next-empty span {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 8px;
}

.row-link {
  display: grid;
  grid-template-columns: 110px 1fr 2fr;
  gap: 12px;
  padding: 12px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(30,41,59,.48);
}

.row-link span,
.row-link em {
  color: var(--muted);
  font-style: normal;
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.show-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 12px;
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(30,41,59,.62);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.show-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250,204,21,.34);
  background: rgba(30,41,59,.84);
}

.show-poster img,
.show-poster .poster-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.show-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.show-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.show-info small {
  color: var(--muted);
}

.progress {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c99a4a, #14b8a6);
}


/* TV Tracker 0.1.9 - next episode list layout override */
.next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 940px;
}

.next-card {
  grid-template-columns: 168px 1fr;
  min-height: 176px;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.24);
}

.next-art {
  min-height: 176px;
}

.next-body {
  padding: 18px 20px;
}

.next-body h3 {
  margin: 10px 0 6px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.next-episode-name {
  font-size: 16px;
  line-height: 1.3;
}

.next-meta {
  gap: 8px;
  margin-top: 14px;
}

.next-cta {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .next-grid {
    max-width: 100%;
  }

  .next-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .next-art {
    min-height: 210px;
  }

  .next-art::after {
    background: linear-gradient(0deg, rgba(15,23,42,.82), transparent 56%);
  }
}
/* /TV Tracker 0.1.9 - next episode list layout override */


/* TV Tracker 0.1.10 - next episode full row layout */
.next-grid {
  max-width: none;
  width: 100%;
}

.next-card {
  grid-template-columns: minmax(300px, 34%) 1fr;
  min-height: 188px;
}

.next-art {
  min-height: 188px;
}

.next-art img {
  object-fit: cover;
  object-position: center center;
}

.next-body {
  padding: 20px 24px;
}

.next-body h3 {
  font-size: clamp(26px, 2.2vw, 34px);
}

.next-episode-name {
  max-width: 58ch;
}

@media (min-width: 1180px) {
  .next-card {
    grid-template-columns: 340px 1fr;
  }
}

@media (max-width: 900px) {
  .next-card {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 760px) {
  .next-card {
    grid-template-columns: 1fr;
  }

  .next-art {
    min-height: 210px;
  }
}
/* /TV Tracker 0.1.10 - next episode full row layout */


/* TV Tracker 0.1.11 - next episode row height fix */
.next-card {
  height: 188px;
  min-height: 188px;
  max-height: 188px;
  grid-template-columns: 360px minmax(0, 1fr);
}

.next-art {
  height: 188px;
  min-height: 188px;
  max-height: 188px;
  overflow: hidden;
}

.next-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 188px;
  object-fit: cover;
  object-position: center center;
}

.next-art .poster-placeholder {
  height: 188px;
  min-height: 188px;
}

.next-body {
  min-width: 0;
  overflow: hidden;
}

.next-episode-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
  .next-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .next-card {
    height: auto;
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .next-art {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .next-art img {
    max-height: 210px;
  }

  .next-art .poster-placeholder {
    height: 210px;
    min-height: 210px;
  }
}
/* /TV Tracker 0.1.11 - next episode row height fix */


/* TV Tracker 0.1.57 - home category system */
.my-shows-section {
  display: grid;
  gap: 18px;
}

.category-jump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 10px;
}

.category-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-weight: 800;
  font-size: 0.86rem;
}

.category-jump a:hover {
  border-color: rgba(226, 176, 79, 0.38);
  background: rgba(226, 176, 79, 0.08);
}

.category-jump strong {
  color: var(--accent);
}

.show-category {
  margin-top: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 10% 0%, rgba(226, 176, 79, 0.08), transparent 30%),
    rgba(15, 23, 42, 0.42);
}

.category-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.category-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.category-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.category-head > span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(226, 176, 79, 0.10);
  border: 1px solid rgba(226, 176, 79, 0.20);
  font-weight: 900;
  white-space: nowrap;
}

.category-grid {
  margin-top: 0;
}

.category-empty {
  padding: 18px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.10);
}

.cat-completed {
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 211, 153, 0.08), transparent 28%),
    rgba(15, 23, 42, 0.42);
}

.cat-planned {
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.08), transparent 28%),
    rgba(15, 23, 42, 0.42);
}

.cat-paused {
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.08), transparent 28%),
    rgba(15, 23, 42, 0.42);
}

.cat-dropped {
  opacity: 0.86;
}

@media (max-width: 760px) {
  .category-head {
    flex-direction: column;
  }

  .category-jump a {
    width: 100%;
    justify-content: space-between;
  }

  .show-category {
    padding: 12px;
  }
}
/* /TV Tracker 0.1.57 */

/* TV Tracker 0.1.58 - single category tab system */
.single-category-section {
  display: block;
}

.category-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 0.86rem;
  transition: 120ms ease;
}

.category-tabs label:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.category-tabs strong {
  color: var(--accent);
}

.single-category-stage {
  min-height: 260px;
}

.category-panel {
  display: none;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 10% 0%, rgba(226, 176, 79, 0.08), transparent 30%),
    rgba(15, 23, 42, 0.42);
}

#home-cat-watching:checked ~ .category-tabs label[for="home-cat-watching"],
#home-cat-completed:checked ~ .category-tabs label[for="home-cat-completed"],
#home-cat-ended:checked ~ .category-tabs label[for="home-cat-ended"],
#home-cat-planned:checked ~ .category-tabs label[for="home-cat-planned"],
#home-cat-paused:checked ~ .category-tabs label[for="home-cat-paused"],
#home-cat-dropped:checked ~ .category-tabs label[for="home-cat-dropped"] {
  color: #17120a;
  background: var(--accent);
  border-color: rgba(226, 176, 79, 0.7);
}

#home-cat-watching:checked ~ .single-category-stage #panel-watching,
#home-cat-completed:checked ~ .single-category-stage #panel-completed,
#home-cat-ended:checked ~ .single-category-stage #panel-ended,
#home-cat-planned:checked ~ .single-category-stage #panel-planned,
#home-cat-paused:checked ~ .single-category-stage #panel-paused,
#home-cat-dropped:checked ~ .single-category-stage #panel-dropped {
  display: block;
}

#panel-ended {
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 211, 153, 0.10), transparent 30%),
    rgba(15, 23, 42, 0.42);
}

#panel-planned {
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.10), transparent 30%),
    rgba(15, 23, 42, 0.42);
}

#panel-paused {
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.10), transparent 30%),
    rgba(15, 23, 42, 0.42);
}

#panel-dropped {
  opacity: 0.9;
}

.compact-category-head {
  margin-bottom: 14px;
}

@media (max-width: 760px) {
  .category-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-tabs label {
    justify-content: space-between;
  }

  .category-panel {
    padding: 12px;
  }
}
/* /TV Tracker 0.1.58 */

/* TV Tracker 0.1.59 - progress bar repair */
.category-show-card .progress,
.show-card .progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.category-show-card .progress span,
.show-card .progress span {
  display: block;
  width: var(--progress-width, 0%);
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #2dd4bf);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.18);
}

.category-show-card:hover .progress span,
.show-card:hover .progress span {
  filter: brightness(1.05);
}
/* /TV Tracker 0.1.59 */

/* TV Tracker 0.1.60 - category card layout repair */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
}

.category-show-card {
  min-height: 138px;
  padding: 12px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}

.category-show-card .show-poster {
  width: 92px;
  height: 124px;
  min-width: 92px;
  border-radius: 14px;
  overflow: hidden;
}

.category-show-card .show-poster img,
.category-show-card .show-poster .poster-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.category-show-card .show-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.category-show-card .status-badge {
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.category-show-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.16;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-show-card p {
  margin: 0;
  line-height: 1.25;
}

.category-show-card .progress {
  margin-top: 2px;
}

.category-tabs label[for="home-cat-dropped"] {
  min-width: auto;
}

@media (max-width: 760px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-show-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .category-show-card .show-poster {
    width: 82px;
    height: 112px;
    min-width: 82px;
  }
}
/* /TV Tracker 0.1.60 */

/* TV Tracker 0.1.61 - watched-derived tabs */
#home-cat-current:checked ~ .category-tabs label[for="home-cat-current"],
#home-cat-watching:checked ~ .category-tabs label[for="home-cat-watching"],
#home-cat-ended:checked ~ .category-tabs label[for="home-cat-ended"],
#home-cat-planned:checked ~ .category-tabs label[for="home-cat-planned"],
#home-cat-paused:checked ~ .category-tabs label[for="home-cat-paused"],
#home-cat-dropped:checked ~ .category-tabs label[for="home-cat-dropped"] {
  color: #17120a;
  background: var(--accent);
  border-color: rgba(226, 176, 79, 0.7);
}

#home-cat-current:checked ~ .single-category-stage #panel-current,
#home-cat-watching:checked ~ .single-category-stage #panel-watching,
#home-cat-ended:checked ~ .single-category-stage #panel-ended,
#home-cat-planned:checked ~ .single-category-stage #panel-planned,
#home-cat-paused:checked ~ .single-category-stage #panel-paused,
#home-cat-dropped:checked ~ .single-category-stage #panel-dropped {
  display: block;
}

#panel-current {
  background:
    radial-gradient(circle at 10% 0%, rgba(45, 212, 191, 0.10), transparent 30%),
    rgba(15, 23, 42, 0.42);
}
/* /TV Tracker 0.1.61 */

/* TV Tracker 0.1.61a - watched-derived current tab repair */
#home-cat-current:checked ~ .category-tabs label[for="home-cat-current"],
#home-cat-watching:checked ~ .category-tabs label[for="home-cat-watching"],
#home-cat-ended:checked ~ .category-tabs label[for="home-cat-ended"],
#home-cat-planned:checked ~ .category-tabs label[for="home-cat-planned"],
#home-cat-paused:checked ~ .category-tabs label[for="home-cat-paused"],
#home-cat-dropped:checked ~ .category-tabs label[for="home-cat-dropped"] {
  color: #17120a;
  background: var(--accent);
  border-color: rgba(226, 176, 79, 0.7);
}

#home-cat-current:checked ~ .single-category-stage #panel-current,
#home-cat-watching:checked ~ .single-category-stage #panel-watching,
#home-cat-ended:checked ~ .single-category-stage #panel-ended,
#home-cat-planned:checked ~ .single-category-stage #panel-planned,
#home-cat-paused:checked ~ .single-category-stage #panel-paused,
#home-cat-dropped:checked ~ .single-category-stage #panel-dropped {
  display: block;
}

#panel-current {
  background:
    radial-gradient(circle at 10% 0%, rgba(45, 212, 191, 0.10), transparent 30%),
    rgba(15, 23, 42, 0.42);
}
/* /TV Tracker 0.1.61a */

/* TV Tracker 0.1.62 - floating scroll top */
html {
  scroll-behavior: smooth;
}

.scroll-top-floating-0162 {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 950;
  color: #17120a;
  background: var(--accent);
  border: 1px solid rgba(226, 176, 79, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 130ms ease, transform 130ms ease, filter 130ms ease;
}

.scroll-top-floating-0162.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-floating-0162:hover {
  filter: brightness(1.08);
}
/* /TV Tracker 0.1.62 */

/* TV Tracker 0.1.72 - home show search */
.home-show-search {
  margin: 8px 0 14px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(226, 176, 79, 0.09), transparent 32%),
    rgba(15, 23, 42, 0.42);
}

.home-show-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-show-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.home-show-search input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.42);
  color: var(--text);
  font: inherit;
  outline: none;
}

.home-show-search input[type="search"]:focus {
  border-color: rgba(226, 176, 79, 0.62);
  box-shadow: 0 0 0 3px rgba(226, 176, 79, 0.10);
}

.home-show-search input[type="search"]::placeholder {
  color: var(--muted);
}

.home-show-search-clear {
  flex: 0 0 auto;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid rgba(226, 176, 79, 0.26);
  background: rgba(226, 176, 79, 0.10);
  color: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.home-show-search-clear:hover {
  background: rgba(226, 176, 79, 0.16);
  border-color: rgba(226, 176, 79, 0.46);
}

.home-show-search-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.home-search-active .category-tabs {
  opacity: 0.58;
}

.home-search-active .category-panel {
  display: block;
  margin-bottom: 14px;
}

.home-search-active .category-panel.is-search-empty {
  display: none;
}

.home-search-active .category-show-card.is-search-hidden {
  display: none;
}

.category-search-empty {
  display: none;
  padding: 18px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.10);
}

.home-search-active .category-panel.is-search-empty .category-grid,
.home-search-active .category-panel.is-search-empty .category-empty {
  display: none;
}

.home-search-active .category-panel.is-search-empty .category-search-empty {
  display: block;
}

@media (max-width: 620px) {
  .home-show-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-show-search-clear {
    width: 100%;
  }
}
/* /TV Tracker 0.1.72 */

/* TV Tracker 0.1.73a - next card remaining count */
.next-section .next-remaining {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 176, 79, 0.28);
  background: rgba(226, 176, 79, 0.09);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.next-section .next-meta {
  gap: 8px;
  flex-wrap: wrap;
}
/* /TV Tracker 0.1.73a */

