.lfseriald {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #171717;
  grid-column: 1/-1;
  max-width: 100%;
  min-width: 0;
  padding: 20px;
}

.lfseriald,.lfseriald * {
  box-sizing: border-box;
}

.lfseriald h1,.lfseriald h2 {
  line-height: 1.3;
  margin: 0 0 16px;
}

.lfseriald h1 {
  font-size: 26px;
}

.lfseriald h2 {
  font-size: 20px;
}

.lfseriald a {
  color: inherit;
}

.lfseriald button,.lfseriald-link {
  -webkit-align-items: center;
  align-items: center;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  display: -webkit-inline-flex;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  height: auto;
  -webkit-justify-content: center;
  justify-content: center;
  line-height: 1.3;
  min-height: 40px;
  padding: 9px 16px;
  text-decoration: none;
  white-space: normal;
}

.lfseriald-link {
  background: #79c142;
  color: #fff;
}

.lfseriald button:hover,.lfseriald-link:hover {
  background: #63aa31;
  color: #fff;
}

.lfseriald :focus-visible {
  outline: 2px solid #4f9e23;
  outline-offset: 3px;
}

.lfseriald [hidden],.lfseriald a[hidden],.lfseriald button[hidden],.lfseriald[hidden] {
  display: none;
}

.lfseriald-search label {
  display: block;
  margin-bottom: 10px;
}

.lfseriald-search-row {
  display: -webkit-flex;
  display: flex;
  gap: 10px;
}

.lfseriald-search-row input {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #111;
  -webkit-flex: 1;
  flex: 1;
  font: inherit;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.lfseriald-history {
  margin-top: 14px;
}

.lfseriald-history summary {
  cursor: pointer;
}

.lfseriald-history a {
  display: block;
  margin-top: 10px;
}

.lfseriald-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6,minmax(0,1fr));
}

.lfseriald-card {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.lfseriald-card-poster,.lfseriald-poster {
  aspect-ratio: 2/3;
  background: #eee;
  border-radius: 4px;
  display: block;
  overflow: hidden;
}

.lfseriald-card-poster img,.lfseriald-poster img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lfseriald-card-title {
  display: block;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.lfseriald-card-meta,.lfseriald-card-rating {
  color: #666;
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px;
}

.lfseriald-match {
  color: #5b8e31;
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.lfseriald-match:empty {
  display: none;
}

.lfseriald-no-poster {
  -webkit-align-items: center;
  align-items: center;
  color: #777;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  min-height: 160px;
  padding: 12px;
  text-align: center;
}

.lfseriald-pagination {
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-justify-content: center;
  justify-content: center;
}

.lfseriald-pagination>span {
  color: #777;
}

.lfseriald-status {
  line-height: 1.5;
  margin: 12px 0;
  overflow-wrap: anywhere;
}

.lfseriald-status:empty {
  display: none;
}

.lfseriald-back {
  display: inline-block;
  margin-bottom: 20px;
}

.lfseriald-hero {
  display: grid;
  gap: 28px;
  grid-template-columns: 240px minmax(0,1fr);
}

.lfseriald-info {
  min-width: 0;
}

.lfseriald-meta {
  margin: 0;
}

.lfseriald-meta>div {
  border-bottom: 1px solid #e7e7e7;
  display: grid;
  gap: 12px;
  grid-template-columns: 170px minmax(0,1fr);
  line-height: 1.45;
  padding: 8px 0;
}

.lfseriald-meta dt {
  font-weight: 600;
}

.lfseriald-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.lfseriald-ratings {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.lfseriald-ratings span {
  background: #ff922f;
  border-radius: 5px;
  color: #17100a;
  padding: 6px 10px;
}

.lfseriald-ratings span+span {
  background: #f8d84e;
}

.lfseriald-description {
  margin-top: 24px;
}

.lfseriald-description h2 {
  font-size: 17px;
  margin-bottom: 10px;
}

.lfseriald-description-text {
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.lfseriald-description-toggle {
  margin-top: 12px;
}

.lfseriald-watch {
  margin-top: 26px;
}

.lfseriald-player-tabs {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lfseriald-player {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 5px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.lfseriald-player:empty {
  display: none;
}

.lfseriald-player>iframe {
  border: 0;
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.lfseriald-description-toggle[hidden] {
  display: none;
}

.lfseriald-quick {
  -webkit-align-items: center;
  align-items: center;
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  text-decoration: none;
}

.lfseriald-quick-poster {
  display: block;
  -webkit-flex: 0 0 42px;
  flex: 0 0 42px;
  height: 63px;
  overflow: hidden;
}

.lfseriald-quick-poster img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lfseriald-quick>span+span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lfseriald-quick small {
  display: block;
  margin-top: 4px;
}

.lfseriald-personal-tabs {
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.lfseriald-personal-tabs button[aria-pressed=false] {
  background: #eee;
  color: #222;
}

.lfseriald-meta dt {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[data-theme=dark] .lfseriald {
  background: #202020;
  border-color: #393939;
  color: #eee;
}

html[data-theme=dark] .lfseriald-card-meta,html[data-theme=dark] .lfseriald-card-rating {
  color: #b8b8b8;
}

html[data-theme=dark] .lfseriald-meta>div {
  border-color: #393939;
}

html[data-theme=dark] .lfseriald-card-poster,html[data-theme=dark] .lfseriald-poster {
  background: #151515;
}

@media(max-width:1000px) {
  .lfseriald-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .lfseriald-hero {
    gap: 20px;
    grid-template-columns: 200px minmax(0,1fr);
  }
  .lfseriald-meta>div {
    grid-template-columns: 130px minmax(0,1fr);
  }
}

@media(max-width:600px) {
  .lfseriald {
    padding: 14px;
  }
  .lfseriald-grid {
    gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .lfseriald h1 {
    font-size: 23px;
  }
  .lfseriald-hero {
    display: block;
  }
  .lfseriald-meta>div {
    font-size: 14px;
    gap: 8px;
    grid-template-columns: 115px minmax(0,1fr);
  }
  .lfseriald-search-row {
    gap: 6px;
  }
  .lfseriald-search-row button {
    padding: 8px 10px;
  }
  .lfseriald-player {
    min-height: 250px;
  }
  .lfseriald-watch {
    margin-left: -14px;
    margin-right: -14px;
  }
  .lfseriald-player-tabs,.lfseriald-watch>.lfseriald-status,.lfseriald-watch>h2 {
    margin-left: 14px;
    margin-right: 14px;
  }
  .lfseriald-player {
    border-radius: 0;
  }
  .lfseriald-pagination .lfseriald-link {
    max-width: 100%;
  }
}

.lfseriald-cover {
  min-width: 0;
}

.lfseriald .lfseriald-bookmark {
  margin-top: 12px;
  text-transform: none;
  width: 100%;
}

.lfseriald-cover .lfseriald-status {
  font-size: 13px;
}

.lfseriald .lfseriald-description-toggle {
  background: transparent;
  border: 1px solid #79b64c;
  border-radius: 4px;
  color: #52892f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  min-height: 0;
  padding: 6px 12px;
  text-transform: none;
}

.lfseriald .lfseriald-description-toggle:hover {
  background: rgba(121,193,66,.08);
  color: #3f7420;
}

html[data-theme=dark] .lfseriald .lfseriald-description-toggle {
  border-color: #77a657;
  color: #a3ce85;
}

@media(max-width:600px) {
  .lfseriald-cover {
    margin: 0 auto 22px;
    max-width: 230px;
  }
  .lfseriald-poster {
    margin: 0;
    max-width: none;
  }
}

.lfseriald {
  font-family: inherit;
  margin: 16px 0;
}

.lfseriald button {
  background: #79c142;
  box-shadow: none;
  color: #fff;
  text-transform: none;
}

.lfseriald-player-tabs button {
  background: #262626;
}

.lfseriald-player-tabs button[aria-pressed=true] {
  background: #79c142;
}

.lfserial-quick-panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 8px 20px #0003;
  color: #333;
  max-height: 65vh;
  overflow: auto;
  position: fixed;
  z-index: 10001;
}

.lfserial-quick-panel[hidden] {
  display: none;
}

.lfserial-quick-panel a {
  color: #333;
}

.lfserial-quick-panel .lfseriald-link {
  background: #79c142;
  color: #fff;
  display: -webkit-flex;
  display: flex;
  margin: 8px;
}

.lfserial-quick-panel .lfseriald-quick:hover {
  background: #f0f5ec;
}

.lfseriald-saved-dialog {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 48px #0005;
  color: #333;
  inset: 0;
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  position: fixed;
  width: min(440px,calc(100% - 32px));
}

.lfseriald-saved-dialog::-webkit-backdrop {
  background: #0008;
}

.lfseriald-saved-dialog::-ms-backdrop {
  background: #0008;
}

.lfseriald-saved-dialog::backdrop {
  background: #0008;
}

.lfseriald-saved-dialog h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

.lfseriald-saved-dialog p {
  line-height: 1.6;
  margin: 0 0 18px;
}

.lfseriald-saved-dialog a {
  background: #79c142;
  color: #fff;
}

.lfseriald-saved-dialog a,.lfseriald-saved-dialog button {
  -webkit-align-items: center;
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  font: inherit;
  -webkit-justify-content: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  width: 100%;
}

.lfseriald-saved-dialog button {
  margin-top: 10px;
  text-transform: none;
}

.lfseriald-saved-dialog button[type=button] {
  background: #eee;
  color: #333;
}

@media(max-width:600px) {
  .lfseriald .lfseriald-player {
    aspect-ratio: 16/10;
    min-height: 0;
  }
}

#in-full .lfseriald .lfseriald-player-tabs button {
  background: #262626;
  box-shadow: none;
  text-transform: none;
}

#in-full .lfseriald .lfseriald-player-tabs button[aria-pressed=true] {
  background: #79c142;
}

#in-full .lfseriald button.lfseriald-description-toggle {
  background: transparent;
  border: 1px solid #79b64c;
  box-shadow: none;
  color: #52892f;
  height: auto;
  line-height: 1.45;
  min-height: 0;
  padding: 6px 12px;
  text-transform: none;
}

.lfserial-discovery-route .szhat {
  min-width: 0;
}

.lfseriald-pagination {
  --page-border: #ddd;
  --page-surface: #fff;
  --page-text: #333;
  --page-muted: #777;
  border-top: 1px solid var(--page-border);
  display: block;
  margin-top: 28px;
  padding-top: 20px;
}

.lfseriald-page-summary {
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
  text-align: center;
}

.lfseriald-page-summary strong {
  color: var(--page-text);
  font-weight: 700;
}

.lfseriald-page-controls {
  -webkit-align-items: center;
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0,1fr) auto;
  margin: 0 auto;
  max-width: 720px;
}

.lfseriald-page-numbers {
  -webkit-align-items: center;
  align-items: center;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
  -webkit-justify-content: center;
  justify-content: center;
  min-width: 0;
}

.lfseriald .lfseriald-page-link {
  -webkit-align-items: center;
  align-items: center;
  background: var(--page-surface);
  border: 1px solid var(--page-border);
  border-radius: 5px;
  color: var(--page-text);
  display: -webkit-inline-flex;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  -webkit-justify-content: center;
  justify-content: center;
  line-height: 1.2;
  min-height: 42px;
  min-width: 42px;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.lfseriald a.lfseriald-page-link:hover {
  background: #f0f5ec;
  border-color: #79c142;
  color: #52892f;
}

.lfseriald .lfseriald-page-link.is-current {
  background: #79c142;
  border-color: #79c142;
  color: #fff;
}

.lfseriald .lfseriald-page-link.is-disabled {
  color: var(--page-muted);
  cursor: default;
  opacity: .45;
}

.lfseriald-page-gap {
  -webkit-align-items: center;
  align-items: center;
  color: var(--page-muted);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  min-width: 22px;
}

.lfseriald-search-more {
  border-top: 1px solid #ddd;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
}

.lfseriald-search-more:empty {
  display: none;
}

html[data-theme=dark] .lfseriald-pagination {
  --page-border: #393939;
  --page-surface: #202020;
  --page-text: #eee;
  --page-muted: #b8b8b8;
}

html[data-theme=dark] .lfseriald a.lfseriald-page-link:hover {
  background: #2e3c26;
  color: #a3ce85;
}

html[data-theme=dark] .lfseriald-search-more {
  border-color: #393939;
}

@media(max-width:600px) {
  .lfseriald-page-controls {
    gap: 10px;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  .lfseriald-page-numbers {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .lfseriald-page-previous {
    grid-column: 1;
    grid-row: 2;
  }
  .lfseriald-page-next {
    grid-column: 2;
    grid-row: 2;
  }
  .lfseriald-search-more .lfseriald-link {
    text-align: center;
    width: 100%;
  }
}

@media(max-width:359px) {
  .lfseriald-page-numbers {
    gap: 4px;
  }
  .lfseriald .lfseriald-page-link {
    min-height: 40px;
    min-width: 36px;
    padding: 8px;
  }
  .lfseriald-page-gap {
    min-width: 16px;
  }
}

html[data-theme=dark] .lfseriald-search-row input {
  background: #252b35;
  border-color: #3a424e;
  color: #e8edf3;
}

html[data-theme=dark] .lfseriald-page-summary,html[data-theme=dark] .lfseriald-status {
  color: #aeb8c6;
}

html[data-theme=dark] .lfserial-quick-panel,html[data-theme=dark] .lfseriald-saved-dialog {
  background: #202632;
  border-color: #3a424e;
  color: #e8edf3;
}

html[data-theme=dark] .lfserial-quick-panel a {
  color: #e8edf3;
}

html[data-theme=dark] .lfserial-quick-panel .lfseriald-quick:hover {
  background: #303947;
}

html[data-theme=dark] .lfseriald-personal-tabs button[aria-pressed=false] {
  background: #303947;
  color: #e8edf3;
}

html[data-theme=dark] .lfseriald-saved-dialog button[type=button] {
  background: #303947;
  color: #e8edf3;
}

@media(max-width:600px) {
  .lfseriald {
    margin: 12px 0;
    min-width: 0;
  }
  .lfseriald-search-row input {
    -webkit-flex: 1;
    flex: 1;
    width: 0;
  }
  .lfseriald-search-row button {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
  }
}

.lfserial-discovery-route .wrap {
  min-width: 0;
}
