/* Library-only presentation; the player continues to use watch.css. */
.watch-library {
  max-width: 1240px;
  padding: 48px 32px 60px;
}
.watch-library .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.watch-library .library-intro {
  margin: 0 0 32px;
  gap: 30px;
}
.watch-library .library-intro h1 {
  font-size: 43px;
  line-height: 1.13;
  letter-spacing: -0.045em;
  margin: 12px 0 15px;
}
.watch-library .library-intro > div > p:not(.eyebrow):not(.library-stats) {
  line-height: 1.65;
  margin-bottom: 0;
}
.watch-library .intro-aside {
  width: auto;
}
.watch-library .creator-card {
  padding: 0;
  gap: 12px;
  background: none;
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.watch-library .creator-card strong {
  font-size: 13px;
}
.watch-library .creator-card p {
  margin: 3px 0;
  font-size: 12px;
}
.watch-library .creator-card .avatar {
  width: 43px;
  height: 43px;
}
.watch-library .follow-links {
  margin-top: 6px;
  gap: 6px;
}
.watch-library .social-follow {
  min-width: 24px;
  min-height: 24px;
  padding: 3px;
  border: 0;
  background: none;
}
.watch-library .filter-bar {
  gap: 0;
  margin: 0;
  border-top: 1px solid #29343e;
}
.library-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
}
.watch-library .format-filters {
  display: flex;
  gap: 26px;
  align-self: stretch;
  align-items: stretch;
}
.watch-library .format-filters a {
  display: flex;
  align-items: center;
  padding: 13px 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #91a0ae;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.watch-library .format-filters a[aria-current] {
  color: #f1f5f6;
  background: none;
  border-bottom-color: #81e2d7;
}
.watch-library .filter-count {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.library-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.watch-library .search {
  width: 285px;
  margin: 0;
}
.watch-library .search > div {
  height: 44px;
  border-radius: 6px;
}
.watch-library .search input {
  width: 0;
  padding: 0 12px;
  font-size: 12px;
}
.watch-library .search button {
  padding: 0 10px;
  font-size: 11px;
}
.library-select {
  margin: 0;
}
.library-select label {
  display: block;
  position: relative;
}
.library-select label::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 8px;
  pointer-events: none;
  color: #b4c4ce;
}
.library-select .select-icon {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #9eafb9;
  pointer-events: none;
}
.library-select select {
  appearance: none;
  height: 44px;
  width: 100%;
  min-width: 166px;
  padding: 0 30px 0 33px;
  border-radius: 6px;
  background: #131d25;
  border-color: #344650;
  font-size: 12px;
  cursor: pointer;
}
.library-select button {
  margin-top: 5px;
}
.watch-library .mobile-topics {
  display: none;
}
.watch-library .topic-filters {
  gap: 6px;
  padding: 20px 0 22px;
}
.watch-library .filter-legend {
  min-width: 0;
  margin-right: 9px;
  font-size: 10px;
  color: #8698a6;
}
.watch-library .topic-filters a {
  padding: 7px 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  border-color: transparent;
  color: #9ba9b7;
  font-size: 12px;
}
.watch-library .topic-filters a:hover {
  background: #152028;
  color: #e3eeee;
}
.watch-library .topic-filters a[aria-current] {
  background: #1b2b31;
  border-color: #31454c;
  color: #e3f4f1;
}
.library-feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.library-feed-heading h2 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.02em;
}
.watch-library .start-scrolling {
  border: 0;
  padding: 7px 0;
  margin: 0;
  width: auto;
  background: none;
  color: #9acdc5;
  border-radius: 4px;
  font: 12px var(--font-body);
}
.watch-library .reel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}
.watch-library .featured-grid {
  --featured-count: 4;
}
.watch-library .card-picture {
  border-radius: 10px;
  aspect-ratio: 9/13;
}
.watch-library .card-picture img {
  display: block;
}
.watch-library .video-card.standard .card-picture {
  aspect-ratio: 16/9;
}
.watch-library .video-card h3 {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.watch-library .card-description {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 15px;
  -webkit-line-clamp: 2;
}
.watch-library .start-scrolling.explore-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 30px auto 0;
  padding: 14px 30px;
  background: #17302d;
  border: 1px solid #75e4da;
  border-radius: 30px;
  color: #75e4da;
  font: 700 15px var(--font-display);
}
.watch-library .start-scrolling.explore-all:hover {
  color: #75e4da;
  background: #1e403c;
}
.watch-library .browse-all {
  display: none;
  border: 0;
  margin-top: 30px;
}
.watch-library .browse-all .video-grid {
  margin-top: 25px;
}
.watch-library .course-strip {
  margin-top: 48px;
  padding-top: 28px;
}
.watch-library .course-strip-head p {
  color: #92a3af;
  font-size: 12px;
  margin: 7px 0 0;
}
.watch-library .course-strip .series-grid {
  max-width: none;
  gap: 20px;
}
.watch-library .course-strip .series-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 20px;
  align-content: center;
  padding: 24px;
  background: linear-gradient(115deg, #14282c, #101a23);
  border: 1px solid #2c3a43;
  border-radius: 10px;
}
.watch-library .course-strip .series-card:nth-child(even) {
  background: linear-gradient(115deg, #1c2339, #111a26);
}
.watch-library .course-strip .card-picture {
  grid-row: 1 / 5;
  aspect-ratio: 1;
  align-self: center;
}
.watch-library .course-strip .card-picture .play-mark {
  width: 26px;
  height: 26px;
  bottom: 7px;
  left: 7px;
  font-size: 9px;
}
.watch-library .course-strip .card-badges {
  display: none;
}
.watch-library .course-strip .series-card .eyebrow {
  margin: 0 0 6px;
  font-size: 9px;
}
.watch-library .course-strip .card-description {
  display: none;
}
.subscription-disclosure {
  border: 1px solid #2b3a42;
  border-radius: 9px;
  background: #111c22;
  margin: 40px 0 0;
}
.subscription-disclosure > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 27px 30px;
}
.subscription-disclosure > summary::-webkit-details-marker {
  display: none;
}
.subscription-disclosure > summary strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.subscription-disclosure > summary span span {
  display: block;
  color: #98a9b5;
  font-size: 12px;
}
.subscription-invite {
  padding: 11px 18px;
  border: 1px solid #4e7d77;
  border-radius: 6px;
  color: #a2dfd4;
  font-size: 12px;
  white-space: nowrap;
}
.subscription-disclosure > summary:focus-visible {
  outline: 2px solid #75e4da;
  outline-offset: 3px;
  border-radius: 9px;
}
.watch-library .subscription-disclosure .video-subscription {
  margin: 0;
  border: 0;
  border-top: 1px solid #2b3a42;
  border-radius: 0 0 9px 9px;
}
@media (max-width: 1000px) {
  .watch-library .intro-aside {
    display: none;
  }
  .watch-library .library-intro h1 {
    font-size: 36px;
  }
  .watch-library .reel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .watch-library .featured-grid {
    --featured-count: 3;
  }
  .watch-library .search {
    width: 230px;
  }
  .library-toolbar {
    gap: 15px;
  }
  .watch-library .format-filters {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .watch-library {
    padding: 28px 20px 40px;
  }
  .watch-library .library-intro {
    margin-bottom: 25px;
  }
  .watch-library .library-intro h1 {
    font-size: 34px;
  }
  .watch-library .library-intro > div > p:not(.eyebrow):not(.library-stats) {
    font-size: 12px;
  }
  .library-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding-top: 5px;
  }
  .watch-library .format-filters {
    border-bottom: 1px solid #24323b;
    gap: 27px;
  }
  .watch-library .format-filters a {
    font-size: 15px;
    padding: 14px 0;
  }
  .library-utilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    gap: 10px;
  }
  .watch-library .search {
    grid-column: 1/-1;
    width: 100%;
  }
  .watch-library .mobile-topics {
    display: block;
  }
  .library-select select {
    min-width: 0;
    font-size: 11px;
  }
  .watch-library .topic-filters {
    display: none;
  }
  .library-feed-heading {
    margin-top: 24px;
  }
  .library-feed-heading h2 {
    font-size: 17px;
  }
  .watch-library .reel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 15px;
  }
  .watch-library .featured-grid {
    --featured-count: 2;
  }
  .watch-library .course-strip .series-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .watch-library .course-strip .series-card {
    padding: 22px;
  }
  .subscription-disclosure > summary {
    display: block;
    padding: 24px;
  }
  .subscription-disclosure > summary strong {
    font-size: 17px;
  }
  .subscription-invite {
    display: inline-block;
    margin-top: 18px;
  }
}
@media (max-width: 450px) {
  .watch-library .reel-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .watch-library .featured-grid {
    --featured-count: 4;
  }
  .watch-library .card-picture {
    aspect-ratio: 9/11;
    max-height: 430px;
  }
  .watch-library .card-picture img {
    object-position: center 40%;
  }
  .watch-library .video-card h3 {
    font-size: 18px;
    line-height: 1.4;
  }
  .watch-library .card-description {
    font-size: 13px;
  }
  .watch-library .library-intro h1 {
    font-size: 32px;
  }
}
