.video-archive {
  color: var(--ink);
  background: transparent;
  scroll-margin-top: 100px;
}
.video-archive button,
.video-archive input { color: inherit; font: inherit; }
.video-archive button { cursor: pointer; }
.video-kicker {
  display: inline-block;
  padding: 7px 16px;
  background: var(--butter);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2.5px 3px 0 var(--ink);
  font: 600 13px "Fredoka", "Noto Sans HK", sans-serif;
  transform: rotate(-1.5deg);
}
.video-archive-hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 7vw;
  padding: 90px 6vw;
}
.video-archive-hero h2 {
  margin: 24px 0 24px;
  font: 600 clamp(56px, 8vw, 118px)/1 "Fredoka", "Noto Sans HK", sans-serif;
}
.video-archive h2 em,
.video-archive h3 em {
  font-style: normal;
  color: var(--pink-deep);
  text-decoration: underline wavy var(--lavender-deep) 3px;
  text-underline-offset: 8px;
}
.video-hero-intro { max-width: 470px; font-size: 16px; font-weight: 500; line-height: 1.8; }
.video-stats {
  display: flex;
  gap: 14px;
  margin-top: 44px;
}
.video-stats div {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 4px 0 var(--ink);
}
.video-stats div:nth-child(1) { background: var(--pink); transform: rotate(-2deg); }
.video-stats div:nth-child(2) { background: var(--butter); transform: rotate(1.5deg); }
.video-stats div:nth-child(3) { background: var(--sky); transform: rotate(-1deg); }
.video-stats b { display: block; font: 600 26px "Fredoka", sans-serif; }
.video-stats span { font: 600 10px "Fredoka", "Noto Sans HK", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.video-featured {
  min-width: 0;
  aspect-ratio: 16 / 10;
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 8px 10px 0 var(--pink-deep);
  transform: rotate(1.5deg);
  transition: transform .3s ease;
}
.video-featured:hover { transform: rotate(.3deg) scale(1.01); }
.video-featured img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.video-featured:hover img { transform: scale(1.04); }
.video-featured-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(74, 59, 82, .85), transparent 60%); }
.video-featured-label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--butter);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 3px 0 var(--ink);
  font: 600 11px "Fredoka", "Noto Sans HK", sans-serif;
  letter-spacing: .05em;
  transform: rotate(-2deg);
}
.video-featured-play {
  width: clamp(72px, 8vw, 104px);
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 47%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink-deep);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 4px 0 var(--ink);
  font-size: 22px;
  transform: translate(-50%, -50%);
  transition: .25s ease;
}
.video-featured:hover .video-featured-play { background: var(--lavender-deep); transform: translate(-50%, -50%) scale(1.08) rotate(-6deg); }
.video-featured-copy { position: absolute; left: 22px; right: 22px; bottom: 19px; }
.video-featured-copy small { display: block; margin-bottom: 8px; font: 600 11px "Fredoka", sans-serif; letter-spacing: .1em; opacity: .85; }
.video-featured-copy strong { display: block; max-width: 92%; font: 600 clamp(17px, 2vw, 26px)/1.2 "Fredoka", "Noto Sans HK", sans-serif; }
.video-ticker {
  overflow: hidden;
  padding: 15px 0;
  margin: 0 -2vw;
  color: var(--pink);
  background: var(--ink);
  transform: rotate(-1.2deg);
}
.video-ticker div { width: max-content; display: flex; animation: videoMarquee 25s linear infinite; }
.video-ticker span { padding-right: 20px; font: 600 15px "Fredoka", sans-serif; letter-spacing: .18em; }
@keyframes videoMarquee { to { transform: translateX(-50%); } }

.video-catalog-area { padding: 12vh 6vw; }
.video-section-heading,
.video-library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 56px;
}
.video-section-heading h3,
.video-library-heading h3,
.video-shorts h3 {
  margin: 16px 0 0;
  font: 600 clamp(38px, 5vw, 66px)/1.05 "Fredoka", "Noto Sans HK", sans-serif;
}
.video-section-heading > p { max-width: 330px; margin-bottom: 7px; font-size: 15px; font-weight: 500; line-height: 1.7; }
.video-catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video-catalog-card {
  min-height: 250px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  padding: 26px;
  overflow: hidden;
  background: var(--bgc, var(--paper));
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 7px 0 var(--ink);
  text-align: left;
  transition: .22s;
}
.video-catalog-card:nth-child(1) { transform: rotate(-1.2deg); }
.video-catalog-card:nth-child(2) { transform: rotate(1deg); }
.video-catalog-card:nth-child(3) { transform: rotate(.8deg); }
.video-catalog-card:nth-child(4) { transform: rotate(-.9deg); }
.video-catalog-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 8px 10px 0 var(--ink); }
.video-catalog-mv { --bgc: var(--pink); }
.video-catalog-bh2nd { --bgc: var(--lavender); }
.video-catalog-two-three { --bgc: var(--butter); }
.video-catalog-chase { --bgc: var(--sky); }
.video-catalog-index,
.video-catalog-count { font: 600 12px "Fredoka", sans-serif; }
.video-catalog-count {
  grid-column: 2;
  grid-row: 1;
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}
.video-catalog-icon {
  grid-column: 1 / -1;
  align-self: center;
  font: 600 clamp(56px, 7vw, 96px)/.95 "Fredoka", sans-serif;
  opacity: .9;
  transform: rotate(-3deg);
}
.video-catalog-icon span { font-family: "Caveat", cursive; font-weight: 600; }
.video-catalog-copy { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.video-catalog-copy strong { font: 600 23px "Fredoka", "Noto Sans HK", sans-serif; }
.video-catalog-copy small { max-width: 200px; text-align: right; font: 500 12px/1.5 "Quicksand", "Noto Sans HK", sans-serif; }
.video-mini-catalogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.video-mini-catalogs button {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2.5px 3px 0 var(--ink);
  text-align: left;
  transition: .2s;
}
.video-mini-catalogs button:hover { background: var(--butter); transform: translateY(-2px); }
.video-mini-catalogs span { font: 600 14px "Fredoka", "Noto Sans HK", sans-serif; }
.video-mini-catalogs b { font: 600 12px "Fredoka", sans-serif; opacity: .7; }

.video-library {
  margin: 0 3vw;
  padding: 7vh 4vw;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 34px;
  box-shadow: 8px 9px 0 var(--lavender-deep);
}
.video-library-heading { margin-bottom: 36px; }
.video-result-count { margin: 0 0 8px; font: 600 12px "Fredoka", "Noto Sans HK", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.video-result-count b { color: var(--pink-deep); font-size: 25px; }
.video-controls {
  position: sticky;
  top: 112px;
  z-index: 6;
  margin: 0 0 38px;
  padding: 14px 16px;
  background: rgba(255, 253, 250, .96);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 4px 5px 0 var(--ink);
  backdrop-filter: blur(8px);
}
.video-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.video-search > span:first-child { color: var(--pink-deep); font-size: 24px; }
.video-search input { width: 100%; padding: 10px 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; font-weight: 500; }
.video-search input::placeholder { color: rgba(74, 59, 82, .45); }
.video-search:focus-within { border-color: var(--pink-deep); box-shadow: 0 0 0 2px var(--pink); }
.video-search kbd { padding: 5px 8px; color: var(--ink); background: var(--butter); border: 2px solid var(--ink); border-radius: 8px; font: 600 9px "Fredoka", sans-serif; }
.video-filter-scroll { display: flex; gap: 7px; margin-top: 12px; padding: 3px 2px 5px; overflow-x: auto; scrollbar-width: none; }
.video-filter-scroll::-webkit-scrollbar { display: none; }
.video-filter {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font: 600 12px "Fredoka", "Noto Sans HK", sans-serif;
  transition: .2s;
}
.video-filter:hover,
.video-filter.active { background: var(--butter); box-shadow: 2px 2.5px 0 var(--ink); transform: translateY(-1px); }
.video-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 33px 18px; }
.video-card { min-width: 0; }
.video-card-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--lavender);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .25s ease;
}
.video-card-thumb:hover { transform: translateY(-3px) rotate(-.6deg); }
.video-card-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.video-card-thumb:hover img { transform: scale(1.04); filter: brightness(.75); }
.video-card-thumb::after {
  content: "▶";
  width: 48px;
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink-deep);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -44%) scale(.8);
  transition: .25s ease;
}
.video-card-thumb:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-duration {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 4px 8px;
  color: #fff;
  background: rgba(74, 59, 82, .92);
  border-radius: 8px;
  font: 600 10px "Fredoka", sans-serif;
}
.video-card-meta { padding-top: 12px; }
.video-card-tags { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.video-card-tags span { max-width: 60%; overflow: hidden; color: var(--lavender-deep); font: 600 10px "Fredoka", "Noto Sans HK", sans-serif; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.video-card-tags i { width: 20px; height: 2px; background: rgba(74, 59, 82, .3); border-radius: 2px; }
.video-card-meta h4 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font: 600 14px/1.45 "Quicksand", "Noto Sans HK", sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.video-card:hover h4 { color: var(--pink-deep); }
.video-empty { padding: 85px 20px; text-align: center; border: 3px dashed var(--line); border-radius: 24px; }
.video-empty span { font: 600 65px "Fredoka", sans-serif; color: var(--pink-deep); }
.video-empty h4 { margin: 10px 0 7px; font: 600 27px "Fredoka", "Noto Sans HK", sans-serif; }
.video-empty p { margin: 0; font-size: 13px; font-weight: 500; opacity: .7; }
.video-load-more {
  min-width: 220px;
  min-height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 52px auto 0;
  color: #fff;
  background: linear-gradient(90deg, var(--lavender-deep), var(--pink-deep));
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--ink);
  font: 600 14px "Fredoka", "Noto Sans HK", sans-serif;
  letter-spacing: .04em;
  transition: .2s;
}
.video-load-more:hover { transform: translate(2px, 3px); box-shadow: 1px 2px 0 var(--ink); }
.video-load-more[hidden] { display: none; }
.video-source-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  text-align: center;
  font: 500 11px/1.6 "Quicksand", "Noto Sans HK", sans-serif;
  opacity: .65;
}
.video-source-note a { border-bottom: 2px solid currentColor; }
.video-shorts {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 8vw;
  margin: 12vh 6vw;
  padding: 7vh 5vw;
  color: var(--ink);
  background: var(--lavender);
  border: 3px solid var(--ink);
  border-radius: 34px;
  box-shadow: 8px 9px 0 var(--ink);
}
.video-shorts h3 { font-size: clamp(40px, 5.5vw, 76px); }
.video-shorts > div:last-child > b {
  display: block;
  font: 600 clamp(64px, 8vw, 120px)/1 "Fredoka", sans-serif;
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.video-shorts p { max-width: 470px; margin: 24px 0; font-size: 16px; font-weight: 500; line-height: 1.7; }
.video-shorts a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2.5px 3px 0 var(--ink);
  font: 600 13px "Fredoka", "Noto Sans HK", sans-serif;
  transition: .2s;
}
.video-shorts a:hover { background: var(--butter); transform: translateY(-2px); }
.video-sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1200px) {
  .video-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .video-archive-hero { grid-template-columns: 1fr; }
  .video-featured { width: min(100%, 760px); }
  .video-catalog-grid { grid-template-columns: 1fr; }
  .video-mini-catalogs { grid-template-columns: repeat(2, 1fr); }
  .video-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-shorts { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .video-archive { scroll-margin-top: 80px; }
  .video-archive-hero { min-height: auto; padding: 60px 20px 70px; }
  .video-archive-hero h2 { font-size: clamp(52px, 16vw, 90px); }
  .video-stats { flex-direction: column; margin-top: 36px; }
  .video-stats b { font-size: 22px; }
  .video-featured { border-width: 2.5px; box-shadow: 6px 7px 0 var(--pink-deep); }
  .video-featured-label { top: 10px; left: 10px; padding: 6px 10px; font-size: 10px; }
  .video-featured-copy { left: 14px; right: 14px; bottom: 12px; }
  .video-featured-copy strong { font-size: 15px; }
  .video-featured-play { width: 58px; font-size: 17px; }
  .video-catalog-area { padding: 66px 20px; }
  .video-library { margin: 0 12px; padding: 46px 18px; border-radius: 26px; }
  .video-section-heading,
  .video-library-heading { align-items: start; flex-direction: column; margin-bottom: 36px; }
  .video-section-heading h3,
  .video-library-heading h3,
  .video-shorts h3 { font-size: clamp(34px, 11vw, 54px); }
  .video-catalog-card { min-height: 210px; padding: 18px; }
  .video-catalog-icon { font-size: 60px; }
  .video-catalog-copy { align-items: start; flex-direction: column; gap: 6px; }
  .video-catalog-copy strong { font-size: 21px; }
  .video-catalog-copy small { max-width: none; text-align: left; }
  .video-mini-catalogs { grid-template-columns: 1fr; }
  .video-controls { top: 78px; padding: 11px 12px; border-radius: 18px; }
  .video-search { min-height: 50px; }
  .video-search kbd { display: none; }
  .video-card-grid { grid-template-columns: 1fr; gap: 29px; }
  .video-card-meta h4 { font-size: 15px; }
  .video-shorts { min-height: 0; margin: 60px 16px; padding: 44px 24px; }
  .video-shorts > div:last-child > b { font-size: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-ticker div { animation: none; }
}
