.hv2-page {
  --navy-950: #041625;
  --navy-900: #061d31;
  --navy-800: #092b48;
  --navy-700: #0d3a5f;
  --gold: #f2c45c;
  --gold-soft: rgba(242,196,92,.25);
  --white: #f8fafc;
  --muted: #9fb4c7;

  min-height: 75vh;
  padding: 38px 18px 64px;

  color: var(--white);

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(242,196,92,.08),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #071f35,
      #041827
    );
}

.hv2-page * {
  box-sizing: border-box;
}

.hv2-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.hv2-hero {
  padding: 8px 0 12px;
  text-align: center;
}

.hv2-kicker {
  display: inline-block;
  margin-bottom: 8px;

  color: var(--gold);

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hv2-hero h1,
.hv2-author-head h1,
.hv2-book-head h1 {
  margin: 0;

  color: var(--white);
  line-height: 1.14;
}

.hv2-hero h1 {
  font-size: clamp(
    2.15rem,
    7vw,
    3.7rem
  );
}

.hv2-author-head h1,
.hv2-book-head h1 {
  font-size: clamp(
    1.65rem,
    5vw,
    2.5rem
  );
}

.hv2-hero p,
.hv2-author-head p,
.hv2-book-head p,
.hv2-section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.hv2-stats {
  display: inline-flex;

  margin-top: 17px;
  padding: 8px 14px;

  border:
    1px solid var(--gold-soft);
  border-radius: 999px;

  color: var(--gold);
  background: rgba(9,43,72,.75);

  font-size: .82rem;
  font-weight: 700;
}

.hv2-search {
  display: flex;
  align-items: center;
  gap: 10px;

  width: min(680px, 100%);

  margin: 24px auto 32px;
  padding: 0 16px;

  border:
    1px solid rgba(255,255,255,.1);
  border-radius: 17px;

  background: rgba(9,43,72,.95);

  box-shadow:
    0 14px 38px rgba(0,0,0,.18);
}

.hv2-search span {
  color: var(--gold);
  font-size: 1.35rem;
}

.hv2-search input {
  width: 100%;
  min-height: 54px;

  border: 0;
  outline: 0;

  background: transparent;
  color: var(--white);

  font: inherit;
}

.hv2-search input::placeholder {
  color: #7892a8;
}

.hv2-section-title {
  margin: 26px 0 14px;
}

.hv2-section-title h2 {
  margin: 0;

  color: var(--white);

  font-size: 1.16rem;
}

.hv2-results-title {
  margin-top: 38px;
}

.hv2-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.hv2-author-card,
.hv2-book-card {
  appearance: none;

  width: 100%;

  display: grid;
  align-items: center;
  gap: 14px;

  border:
    1px solid rgba(255,255,255,.09);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(13,58,95,.97),
      rgba(7,35,59,.98)
    );

  color: var(--white);
  text-align: left;

  cursor: pointer;

  box-shadow:
    0 12px 28px rgba(0,0,0,.14);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.hv2-author-card {
  min-height: 96px;
  padding: 18px;

  grid-template-columns:
    54px 1fr 25px;
}

.hv2-book-card {
  min-height: 84px;
  padding: 15px 16px;

  grid-template-columns:
    42px 1fr 25px;
}

.hv2-author-card:hover,
.hv2-book-card:hover {
  transform: translateY(-2px);

  border-color:
    rgba(242,196,92,.48);

  box-shadow:
    0 18px 38px rgba(0,0,0,.22);
}

.hv2-round-icon,
.hv2-book-icon {
  display: grid;
  place-items: center;

  color: var(--gold);

  border:
    1px solid rgba(242,196,92,.18);

  background:
    rgba(3,20,34,.55);
}

.hv2-round-icon {
  width: 52px;
  height: 52px;

  border-radius: 16px;

  font-size: .9rem;
}

.hv2-round-icon-lg {
  width: 62px;
  height: 62px;

  border-radius: 18px;
}

.hv2-book-icon {
  width: 40px;
  height: 40px;

  border-radius: 12px;

  font-size: 1.3rem;
}

.hv2-card-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 5px;
}

.hv2-card-copy strong {
  color: var(--white);
  line-height: 1.32;
}

.hv2-author-card strong {
  font-size: 1.05rem;
}

.hv2-book-card strong {
  font-size: .96rem;
}

.hv2-card-copy small {
  color: var(--muted);
  font-size: .78rem;
}

.hv2-chevron {
  color: var(--gold);
  font-size: 1.75rem;
}

.hv2-back {
  appearance: none;

  margin-bottom: 23px;
  padding: 9px 14px;

  border:
    1px solid var(--gold-soft);
  border-radius: 12px;

  background:
    rgba(9,43,72,.8);

  color: var(--gold);

  font: inherit;
  font-weight: 750;

  cursor: pointer;
}

.hv2-author-head {
  display: flex;
  align-items: center;

  gap: 17px;

  margin-bottom: 26px;
}

.hv2-book-head {
  margin-bottom: 22px;
}

.hv2-player-card {
  overflow: hidden;

  border:
    1px solid rgba(242,196,92,.26);

  border-radius: 20px;

  background: #03111d;

  box-shadow:
    0 18px 48px rgba(0,0,0,.26);
}

.hv2-player-wrap {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  background: #000;
}

.hv2-player-wrap iframe,
#hv2-player {
  width: 100%;
  height: 100%;
}

.hv2-controls {
  display: grid;

  grid-template-columns:
    minmax(88px,auto)
    1fr
    minmax(88px,auto);

  align-items: center;
  gap: 12px;

  padding: 12px;

  border-top:
    1px solid rgba(255,255,255,.07);

  background: #082c4a;
}

.hv2-controls strong {
  color: var(--white);
  text-align: center;
  font-size: .9rem;
}

.hv2-controls button {
  min-height: 42px;

  border:
    1px solid rgba(242,196,92,.38);

  border-radius: 11px;

  background: #0c395c;
  color: var(--gold);

  font: inherit;
  font-weight: 800;

  cursor: pointer;
}

.hv2-controls button:disabled {
  opacity: .4;
  cursor: default;
}

.hv2-lesson-title {
  margin-top: 30px;
}

.hv2-lessons {
  display: grid;
  gap: 9px;

  max-height: 650px;
  overflow-y: auto;

  padding-right: 3px;
}

.hv2-lesson {
  appearance: none;

  width: 100%;

  display: grid;

  grid-template-columns:
    44px 1fr 28px;

  align-items: center;
  gap: 12px;

  padding: 12px 14px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 15px;

  background: #092d4b;
  color: var(--white);

  text-align: left;

  cursor: pointer;

  transition:
    border-color .15s ease,
    background .15s ease;
}

.hv2-lesson:hover {
  border-color:
    rgba(242,196,92,.38);
}

.hv2-lesson.is-active {
  border-color: var(--gold);

  background: #0e4066;

  box-shadow:
    inset 4px 0 0 var(--gold);
}

.hv2-lesson-number {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background:
    rgba(2,17,30,.6);

  color: var(--gold);

  font-size: .86rem;
  font-weight: 800;
}

.hv2-lesson-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 3px;
}

.hv2-lesson-copy strong {
  color: var(--white);
  font-size: .94rem;
}

.hv2-lesson-copy small {
  color: var(--muted);
  font-size: .75rem;
}

.hv2-play {
  color: var(--gold);
  text-align: center;
}

.hv2-empty,
.hv2-loading {
  padding: 24px;

  border:
    1px dashed rgba(242,196,92,.25);

  border-radius: 16px;

  background:
    rgba(8,44,74,.5);

  color: var(--muted);

  text-align: center;
}

.hv2-loading span {
  display: inline-block;

  width: 10px;
  height: 10px;

  margin-right: 7px;

  border-radius: 50%;

  background: var(--gold);

  animation:
    hv2pulse 1s ease-in-out
    infinite alternate;
}

@keyframes hv2pulse {
  from {
    opacity: .35;
    transform: scale(.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  .hv2-page {
    padding:
      28px 14px
      50px;
  }

  .hv2-grid {
    grid-template-columns: 1fr;
  }

  .hv2-author-card {
    min-height: 88px;
    padding: 15px;
  }

  .hv2-player-card {
    border-radius: 16px;
  }

  .hv2-lessons {
    max-height: 560px;
  }
}

@media (max-width: 430px) {
  .hv2-controls {
    grid-template-columns:
      82px 1fr 82px;

    gap: 7px;
    padding: 9px;
  }

  .hv2-controls button {
    padding: 7px;
    font-size: .82rem;
  }

  .hv2-controls strong {
    font-size: .78rem;
  }

  .hv2-lesson {
    grid-template-columns:
      40px 1fr 24px;

    padding: 10px;
  }
}

/* Hide removed/redundant book subtitles. */
.hv2-book-card .hv2-card-copy small:empty {
  display: none;
}


/* ==========================================================
   HANUUN VIDEO FAVORITES
   ========================================================== */

.hv2-book-fav-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.hv2-book-fav-wrap .hv2-book-card {
  height: 100%;
}

.hv2-book-fav-wrap .hv2-card-copy {
  padding-right: 28px;
}

.hv2-favorite-toggle {
  position: absolute;

  top: 10px;
  right: 42px;

  z-index: 5;

  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  padding: 0;

  border:
    1px solid rgba(242,196,92,.28);

  border-radius: 50%;

  background:
    rgba(4,22,37,.82);

  color: var(--gold);

  font-size: 1.2rem;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.hv2-favorite-toggle.is-favorite {
  border-color:
    rgba(242,196,92,.75);

  background:
    rgba(242,196,92,.14);

  color: var(--gold);
}

.hv2-favorites-section {
  margin:
    10px 0
    34px;
}

.hv2-favorites-grid {
  margin-bottom: 6px;
}

.hv2-favorite-empty {
  grid-column: 1 / -1;

  padding:
    20px 18px;

  border:
    1px dashed
    rgba(242,196,92,.3);

  border-radius: 16px;

  background:
    rgba(9,43,72,.48);

  color: var(--muted);

  text-align: center;
}

@media (max-width: 430px) {

  .hv2-favorite-toggle {
    top: 8px;
    right: 38px;

    width: 30px;
    height: 30px;

    font-size: 1.1rem;
  }

  .hv2-book-fav-wrap
  .hv2-card-copy {
    padding-right: 24px;
  }

}


/* ==========================================================
   HANUUN VIDEO LIBRARY CATEGORIES
   ========================================================== */

.hv2-category-filters {
  display: flex;
  align-items: center;
  gap: 9px;

  width: 100%;

  margin:
    -8px 0
    30px;

  padding-bottom: 3px;

  overflow-x: auto;
  overflow-y: hidden;

  white-space: nowrap;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hv2-category-filters::-webkit-scrollbar {
  display: none;
}

.hv2-category-pill {
  appearance: none;

  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  min-height: 42px;

  padding:
    8px 13px;

  border:
    1px solid
    rgba(242,196,92,.22);

  border-radius: 999px;

  background:
    rgba(9,43,72,.72);

  color: var(--muted);

  font: inherit;
  font-size: .86rem;
  font-weight: 750;

  cursor: pointer;
}

.hv2-category-pill small {
  display: grid;
  place-items: center;

  min-width: 24px;
  height: 24px;

  padding: 0 6px;

  border-radius: 999px;

  background:
    rgba(255,255,255,.07);

  color: var(--gold);

  font-size: .72rem;
}

.hv2-category-pill.is-active {
  border-color:
    rgba(242,196,92,.72);

  background:
    rgba(242,196,92,.12);

  color: var(--gold);
}

.hv2-category-list {
  display: grid;
  gap: 34px;
}

.hv2-category-section {
  min-width: 0;
}

.hv2-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin:
    0 2px
    13px;
}

.hv2-category-head h2 {
  margin: 0;

  color: var(--white);

  font-size: 1.18rem;
}

.hv2-category-head span {
  display: grid;
  place-items: center;

  min-width: 34px;
  height: 29px;

  padding: 0 9px;

  border:
    1px solid
    rgba(242,196,92,.25);

  border-radius: 999px;

  color: var(--gold);

  background:
    rgba(9,43,72,.65);

  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 430px) {

  .hv2-category-filters {
    margin-bottom: 24px;
  }

  .hv2-category-pill {
    min-height: 40px;

    padding:
      7px 11px;

    font-size: .82rem;
  }

  .hv2-category-list {
    gap: 28px;
  }

}


/* ==========================================================
   CASHAR-LEVEL FAVORITES
   ========================================================== */

.hv2-lesson-fav-wrap {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    46px;

  align-items: stretch;

  gap: 8px;

  width: 100%;
}

.hv2-lesson-fav-wrap
.hv2-lesson {
  height: 100%;
}

.hv2-lesson-favorite {
  appearance: none;

  display: grid;
  place-items: center;

  width: 46px;

  border:
    1px solid
    rgba(242,196,92,.30);

  border-radius: 14px;

  background:
    rgba(5,28,47,.88);

  color: var(--gold);

  font-size: 1.45rem;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.hv2-lesson-favorite.is-favorite {
  border-color:
    rgba(242,196,92,.82);

  background:
    rgba(242,196,92,.14);
}

.hv2-favorite-lessons-section {
  margin:
    10px 0
    34px;
}

.hv2-favorite-lesson-list {
  display: grid;
  gap: 9px;
}

.hv2-favorite-lesson-card {
  appearance: none;

  width: 100%;

  display: grid;

  grid-template-columns:
    42px
    minmax(0,1fr)
    24px;

  align-items: center;

  gap: 12px;

  padding:
    12px 14px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 15px;

  background: #092d4b;

  color: var(--white);

  text-align: left;

  cursor: pointer;
}

.hv2-fav-number {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background:
    rgba(2,17,30,.6);

  color: var(--gold);

  font-size: .84rem;
  font-weight: 800;
}

.hv2-fav-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.hv2-fav-copy strong {
  color: var(--white);
}

.hv2-fav-copy small {
  color: var(--muted);

  font-size: .76rem;

  white-space: normal;
}

@media (max-width: 430px) {

  .hv2-lesson-fav-wrap {
    grid-template-columns:
      minmax(0,1fr)
      42px;
  }

  .hv2-lesson-favorite {
    width: 42px;

    font-size: 1.3rem;
  }

}


/* ==========================================================
   CASHAR-LEVEL FAVORITES
   ========================================================== */

.hv2-lesson-fav-wrap {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    46px;

  align-items: stretch;

  gap: 8px;

  width: 100%;
}

.hv2-lesson-fav-wrap
.hv2-lesson {
  height: 100%;
}

.hv2-lesson-favorite {
  appearance: none;

  display: grid;
  place-items: center;

  width: 46px;

  border:
    1px solid
    rgba(242,196,92,.30);

  border-radius: 14px;

  background:
    rgba(5,28,47,.88);

  color: var(--gold);

  font-size: 1.45rem;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.hv2-lesson-favorite.is-favorite {
  border-color:
    rgba(242,196,92,.82);

  background:
    rgba(242,196,92,.14);
}

.hv2-favorite-lessons-section {
  margin:
    10px 0
    34px;
}

.hv2-favorite-lesson-list {
  display: grid;
  gap: 9px;
}

.hv2-favorite-lesson-card {
  appearance: none;

  width: 100%;

  display: grid;

  grid-template-columns:
    42px
    minmax(0,1fr)
    24px;

  align-items: center;

  gap: 12px;

  padding:
    12px 14px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 15px;

  background: #092d4b;

  color: var(--white);

  text-align: left;

  cursor: pointer;
}

.hv2-fav-number {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background:
    rgba(2,17,30,.6);

  color: var(--gold);

  font-size: .84rem;
  font-weight: 800;
}

.hv2-fav-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.hv2-fav-copy strong {
  color: var(--white);
}

.hv2-fav-copy small {
  color: var(--muted);

  font-size: .76rem;

  white-space: normal;
}

@media (max-width: 430px) {

  .hv2-lesson-fav-wrap {
    grid-template-columns:
      minmax(0,1fr)
      42px;
  }

  .hv2-lesson-favorite {
    width: 42px;

    font-size: 1.3rem;
  }

}
