/* yinshi theme overlay — dark/light cinema; do not replace hashed Vue CSS */

:root,
[data-yc-theme="dark"] {
  color-scheme: dark;
  --yc-bg: #0b0c10;
  --yc-bg-elevated: #14161c;
  --yc-surface: #1a1d26;
  --yc-surface-2: #222632;
  --yc-border: rgba(255, 255, 255, 0.08);
  --yc-text: #f2f3f5;
  --yc-text-muted: #9aa3b2;
  --yc-accent: #fe3355;
  --yc-accent-soft: rgba(254, 51, 85, 0.18);
  --yc-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --yc-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --yc-glow: rgba(254, 51, 85, 0.12);
  --yc-header-bg: rgba(16, 18, 26, 0.82);
  --yc-tabbar-bg: rgba(12, 14, 20, 0.92);
  --yc-cover-bg: #12141b;
  --yc-badge-bg: rgba(0, 0, 0, 0.55);
  --yc-meta-line: rgba(255, 255, 255, 0.04);
  --yc-app-grad: radial-gradient(1200px 480px at 50% -120px, var(--yc-glow), transparent 60%),
    linear-gradient(180deg, #10121a 0%, var(--yc-bg) 42%, #08090d 100%);
  --yc-footer-grad: linear-gradient(180deg, #12141b, #0a0b0f);
  --yc-theme-color: #0b0c10;
}

[data-yc-theme="light"] {
  color-scheme: light;
  --yc-bg: #f4f5f8;
  --yc-bg-elevated: #ffffff;
  --yc-surface: #ffffff;
  --yc-surface-2: #f0f2f6;
  --yc-border: rgba(15, 23, 42, 0.08);
  --yc-text: #0c0d0f;
  --yc-text-muted: #6b7280;
  --yc-accent: #fe3355;
  --yc-accent-soft: rgba(254, 51, 85, 0.12);
  --yc-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  --yc-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
  --yc-glow: rgba(254, 51, 85, 0.1);
  --yc-header-bg: rgba(255, 255, 255, 0.86);
  --yc-tabbar-bg: rgba(255, 255, 255, 0.94);
  --yc-cover-bg: #e8edf3;
  --yc-badge-bg: rgba(15, 23, 42, 0.62);
  --yc-meta-line: rgba(15, 23, 42, 0.04);
  --yc-app-grad: radial-gradient(1000px 420px at 50% -80px, var(--yc-glow), transparent 55%),
    linear-gradient(180deg, #fafbfd 0%, var(--yc-bg) 40%, #eef1f6 100%);
  --yc-footer-grad: linear-gradient(180deg, #1f2430, #151821);
  --yc-theme-color: #f4f5f8;
}

:root {
  --yc-radius: 12px;
  --yc-radius-sm: 8px;
  --yc-header-h: 64px;
  --yc-tabbar-h: 56px;
  --yc-safe-bottom: env(safe-area-inset-bottom, 0px);
  --yc-safe-top: env(safe-area-inset-top, 0px);
}

html {
  background: var(--yc-bg);
}

html,
body {
  background: var(--yc-bg) !important;
  color: var(--yc-text) !important;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif !important;
  padding-bottom: 0;
  -webkit-tap-highlight-color: transparent;
}

#app {
  min-height: 100vh;
  background: var(--yc-app-grad);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- layout shell ---- */
.portal,
.portal[data-v-0e27b857] {
  max-width: 1100px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  padding-bottom: calc(24px + var(--yc-tabbar-h) + var(--yc-safe-bottom)) !important;
  color: var(--yc-text);
}

.menu-wrap,
.menu-wrap[data-v-6045cf6b] {
  margin-top: calc(var(--yc-header-h) + var(--yc-safe-top)) !important;
  padding-top: 12px !important;
}

/* ---- header ---- */
.header-layout,
.header-layout[data-v-ac122c89] {
  background: var(--yc-header-bg) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--yc-border);
  box-shadow: var(--yc-shadow-sm);
  max-width: 1100px !important;
  padding-top: var(--yc-safe-top);
}

.header-layout .header-wrap,
.header-layout .header-wrap[data-v-ac122c89] {
  height: var(--yc-header-h) !important;
}

.header-layout .title,
.header-layout .title[data-v-ac122c89] {
  color: var(--yc-text) !important;
  text-shadow: 0 4px 14px rgba(254, 51, 85, 0.25) !important;
  font-size: 17px !important;
  letter-spacing: 0.02em;
}

.header-layout .left-wrap:hover,
.header-layout .left-wrap[data-v-ac122c89]:hover {
  color: var(--yc-text) !important;
}

.header-layout .input,
.header-layout .input[data-v-ac122c89] {
  background: var(--yc-surface-2) !important;
  color: var(--yc-text) !important;
  border: 1px solid var(--yc-border) !important;
  border-radius: 999px !important;
  caret-color: var(--yc-accent) !important;
}

.header-layout .input::placeholder {
  color: var(--yc-text-muted) !important;
}

.header-layout .input:focus {
  outline: none !important;
  border-color: rgba(254, 51, 85, 0.55) !important;
  box-shadow: 0 0 0 3px var(--yc-accent-soft) !important;
}

.header-layout .search-btn,
.header-layout .search-btn[data-v-ac122c89],
.header-layout .nav-list,
.header-layout .nav-list[data-v-ac122c89],
.header-layout .siteHeader__textBtn {
  color: var(--yc-text) !important;
}

.header-layout .search-btn svg path {
  fill: var(--yc-text) !important;
}

.header-layout .search-btn[data-v-ac122c89]:after {
  background-color: var(--yc-border) !important;
}

/* ---- category / menu ---- */
.menu-wrap .category__list,
.menu-wrap .category__list[data-v-6045cf6b] {
  gap: 8px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
  margin-bottom: 18px !important;
}

.menu-wrap .category__list::-webkit-scrollbar {
  display: none;
}

.menu-wrap .category__list .category__list__item,
.menu-wrap .category__list .category__list__item[data-v-6045cf6b] {
  color: var(--yc-text-muted) !important;
  font-size: 15px !important;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.menu-wrap .category__list .active,
.menu-wrap .category__list .active[data-v-6045cf6b] {
  color: #fff !important;
  background: linear-gradient(135deg, #fe3355, #ff6b81) !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px rgba(254, 51, 85, 0.35);
}

.menu-wrap .category__list .active[data-v-6045cf6b]:after,
.menu-wrap .category__list[data-v-6045cf6b]:after {
  display: none !important;
}

.category-layout .category__line .category__list .category__list__item,
.category-layout .category__line .category__list .category__sub__item,
.layout-content .category-layout .category__line .category__list .category__list__item,
.layout-content .category-layout .category__line .category__list .category__sub__item {
  color: var(--yc-text-muted) !important;
}

.category-layout .category__line .category__list .active,
.layout-content .category-layout .category__line .category__list .active,
.category-layout .category__line .category__list .active[data-v-a7c57d14],
.layout-content .category-layout .category__line .category__list .active[data-v-addc50ec],
.layout-content .category-layout .category__line .category__list .active[data-v-f55c8ffa] {
  background: var(--yc-accent-soft) !important;
  color: var(--yc-accent) !important;
  border-radius: 999px !important;
}

.category-layout .category__first-ele,
.layout-content .category-layout .category__first-ele {
  color: var(--yc-text) !important;
}

/* ---- section headers ---- */
.header[data-v-1717c5b2],
.banner + .header,
.lvideo-list + .header,
div.header {
  margin-top: 28px !important;
  margin-bottom: 4px;
}

.header h3,
.header h3[data-v-1717c5b2] {
  color: var(--yc-text) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 12px;
}

.header h3::before,
.header h3[data-v-1717c5b2]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fe3355, #ff8fa3);
  box-shadow: 0 0 12px rgba(254, 51, 85, 0.45);
}

.header .more,
.header a.more[data-v-1717c5b2] {
  color: var(--yc-text-muted) !important;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yc-meta-line);
  border: 1px solid var(--yc-border);
}

.header .more:active {
  color: var(--yc-text) !important;
  border-color: rgba(254, 51, 85, 0.4);
}

.banner,
.banner[data-v-1717c5b2] {
  color: var(--yc-accent) !important;
  padding-top: 18px !important;
  font-weight: 600;
}

/* ---- video cards ---- */
@media screen and (min-width: 769px) {
  .lvideo-list,
  .lvideo-list[data-v-1717c5b2],
  .layout-content .lvideo-list,
  .layout-content .lvideo-list[data-v-addc50ec],
  .layout-content .lvideo-list[data-v-f55c8ffa],
  .layout-content .lvideo-list[data-v-cfbbfad8],
  .layout-content .lvideo-list[data-v-d0b44fc4],
  .layout-content .lvideo-list[data-v-aefb7414],
  .content-wrap .lvideo-list,
  .content-wrap .lvideo-list[data-v-68fb55c1] {
    gap: 14px !important;
  }
}

.lvideo-list .video-item,
.lvideo-list .video-item[data-v-1717c5b2],
.layout-content .lvideo-list .video-item,
.layout-content .lvideo-list .video-item[data-v-addc50ec],
.layout-content .lvideo-list .video-item[data-v-f55c8ffa] {
  background: var(--yc-surface);
  border-radius: var(--yc-radius);
  overflow: hidden;
  box-shadow: var(--yc-shadow-sm);
  border: 1px solid var(--yc-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  /* allow meta lines under title — override fixed aspect that crushed info */
  aspect-ratio: auto !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}

.lvideo-list .video-item:hover,
.lvideo-list .video-item:active {
  transform: translateY(-2px);
  box-shadow: var(--yc-shadow);
  border-color: rgba(254, 51, 85, 0.35);
}

.lvideo-list .video-item .cover-wrap,
.layout-content .lvideo-list .video-item .cover-wrap {
  overflow: hidden;
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
}

.lvideo-list .video-item .cover-wrap img,
.lvideo-list .video-item .cover-wrap img[data-v-1717c5b2],
.layout-content .lvideo-list .video-item .cover-wrap img,
.layout-content .lvideo-list .video-item .cover-wrap img[data-v-addc50ec],
.layout-content .lvideo-list .video-item .cover-wrap img[data-v-f55c8ffa] {
  border-radius: 0 !important;
  background-color: var(--yc-cover-bg) !important;
  transition: transform 0.25s ease;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.lvideo-list .video-item:hover .cover-wrap img {
  transform: scale(1.03);
}

.lvideo-list .video-item .cover-wrap::after,
.layout-content .lvideo-list .video-item .cover-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.lvideo-list .video-item .cover-wrap .remarks,
.lvideo-list .video-item .cover-wrap .remarks[data-v-1717c5b2],
.layout-content .lvideo-list .video-item .cover-wrap .remarks {
  z-index: 2;
  left: 8px !important;
  right: auto !important;
  bottom: 8px !important;
  max-width: calc(100% - 16px);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--yc-badge-bg);
  backdrop-filter: blur(6px);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lvideo-list .video-item .cover-wrap .yc-score-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fe3355, #ff6b81);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(254, 51, 85, 0.35);
}

.lvideo-list .video-item .meta-wrap {
  padding: 8px 9px 11px !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  background: var(--yc-surface);
}

.lvideo-list .video-item .meta-wrap .title,
.lvideo-list .video-item .meta-wrap .title[data-v-1717c5b2],
.layout-content .lvideo-list .video-item .meta-wrap .title,
.layout-content .lvideo-list .video-item .meta-wrap .title[data-v-addc50ec],
.layout-content .lvideo-list .video-item .meta-wrap .title[data-v-f55c8ffa] {
  text-align: left !important;
  color: var(--yc-text) !important;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* unhide legacy info row if present */
.lvideo-list .video-item .meta-wrap .info,
.lvideo-list .video-item .meta-wrap .info[data-v-1717c5b2],
.layout-content .lvideo-list .video-item .meta-wrap .info {
  display: block !important;
  color: var(--yc-text-muted) !important;
  font-size: 11px !important;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* injected richer meta */
.yc-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 1px;
}

.yc-card-meta__row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yc-text-muted);
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
}

.yc-card-meta__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.yc-card-meta__chip {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--yc-accent-soft);
  color: var(--yc-accent);
  font-size: 10px;
  font-weight: 600;
}

.yc-card-meta__muted {
  color: var(--yc-text-muted);
  opacity: 0.95;
}

/* ---- ads / carousel ---- */
.ad-list-wrap .ad-item,
.ad-list-wrap .img-wrap {
  border-radius: var(--yc-radius);
  overflow: hidden;
  box-shadow: var(--yc-shadow-sm);
}

.el-carousel,
.el-carousel__container {
  border-radius: var(--yc-radius);
  overflow: hidden;
}

/* ---- pagination ---- */
.layout-content .page-wrap .page-item,
.layout-content .page-wrap .page-item[data-v-addc50ec],
.layout-content .page-wrap .page-item[data-v-f55c8ffa] {
  background: var(--yc-surface-2) !important;
  color: var(--yc-text) !important;
  border: 1px solid var(--yc-border);
  min-height: 36px;
  line-height: 36px !important;
  height: auto !important;
  border-radius: 999px !important;
}

.el-pager li {
  background-color: var(--yc-surface) !important;
  border: 1px solid var(--yc-border) !important;
  color: var(--yc-text) !important;
}

.el-pager li:hover,
.el-pager li.is-active {
  background-color: var(--yc-accent-soft) !important;
  border-color: rgba(254, 51, 85, 0.45) !important;
  color: var(--yc-accent) !important;
}

.el-pagination button {
  background-color: var(--yc-surface-2) !important;
  color: var(--yc-accent) !important;
}

/* ---- footer ---- */
.footer-view,
.footer-view[data-v-5a6bca2e] {
  background: var(--yc-footer-grad) !important;
  border-top: 1px solid var(--yc-border);
  padding-bottom: calc(28px + var(--yc-tabbar-h) + var(--yc-safe-bottom)) !important;
}

.footer-view .footer-infos,
.footer-view .address,
.footer-view a,
.footer-view span {
  color: #9aa3b2 !important;
}

/* ---- ant / element leftovers ---- */
.ant-btn,
.ant-input,
.ant-select-selector,
.ant-modal-content,
.ant-drawer-content {
  background: var(--yc-surface) !important;
  color: var(--yc-text) !important;
  border-color: var(--yc-border) !important;
}

.video-js {
  border-radius: var(--yc-radius-sm);
  overflow: hidden;
  box-shadow: var(--yc-shadow);
}

/* ---- bottom tab bar ---- */
.yc-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  height: calc(var(--yc-tabbar-h) + var(--yc-safe-bottom));
  padding: 0 8px var(--yc-safe-bottom);
  background: var(--yc-tabbar-bg);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-top: 1px solid var(--yc-border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

.yc-tabbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  height: var(--yc-tabbar-h);
}

.yc-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--yc-text-muted);
  font-size: 11px;
  font-weight: 500;
  min-height: 44px;
  border-radius: 12px;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.yc-tabbar__item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.yc-tabbar__item.is-active {
  color: var(--yc-text);
}

.yc-tabbar__item.is-active svg {
  filter: drop-shadow(0 0 8px rgba(254, 51, 85, 0.55));
}

.yc-tabbar__item.is-active .yc-tabbar__label {
  color: var(--yc-accent);
  font-weight: 700;
}

.yc-tabbar__item:active {
  background: var(--yc-meta-line);
}

body.yc-hide-tabbar .yc-tabbar {
  display: none !important;
}

/* theme toggle */
.yc-theme-toggle {
  position: fixed;
  right: 12px;
  bottom: calc(var(--yc-tabbar-h) + var(--yc-safe-bottom) + 14px);
  z-index: 1001;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--yc-border);
  background: var(--yc-tabbar-bg);
  color: var(--yc-text);
  box-shadow: var(--yc-shadow-sm);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.yc-theme-toggle:active {
  transform: scale(0.96);
}

@media screen and (min-width: 769px) {
  .yc-theme-toggle {
    bottom: 24px;
    right: 24px;
  }
}

/* ---- responsive grid ---- */
/* Fix: previous width calc assumed gap=12px while data-v gap stayed 14px,
   so two cards overflowed (~102%) and wrapped to one column with empty right half. */

.lvideo-list,
.lvideo-list[data-v-1717c5b2],
.layout-content .lvideo-list,
.layout-content .lvideo-list[data-v-addc50ec],
.layout-content .lvideo-list[data-v-f55c8ffa],
.layout-content .lvideo-list[data-v-cfbbfad8],
.layout-content .lvideo-list[data-v-d0b44fc4],
.layout-content .lvideo-list[data-v-aefb7414],
.content-wrap .lvideo-list,
.content-wrap .lvideo-list[data-v-68fb55c1] {
  display: flex !important;
  flex-wrap: wrap !important;
  box-sizing: border-box;
}

.lvideo-list .video-item,
.lvideo-list .video-item[data-v-1717c5b2],
.layout-content .lvideo-list .video-item,
.layout-content .lvideo-list .video-item[data-v-addc50ec],
.layout-content .lvideo-list .video-item[data-v-f55c8ffa],
.layout-content .lvideo-list .video-item[data-v-cfbbfad8],
.layout-content .lvideo-list .video-item[data-v-d0b44fc4],
.layout-content .lvideo-list .video-item[data-v-aefb7414],
.content-wrap .lvideo-list .video-item,
.content-wrap .lvideo-list .video-item[data-v-68fb55c1],
.video-item[data-v-1717c5b2],
.video-item[data-v-addc50ec],
.video-item[data-v-f55c8ffa],
.video-item[data-v-cfbbfad8],
.video-item[data-v-d0b44fc4],
.video-item[data-v-aefb7414],
.video-item[data-v-68fb55c1] {
  box-sizing: border-box !important;
  max-width: 100%;
  min-width: 0 !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

@media screen and (max-width: 768px) {
  .yc-tabbar {
    display: block;
  }

  .header-layout .nav-list {
    display: none !important;
  }

  /* Prefer CSS Grid so gap never desyncs from column math */
  .lvideo-list,
  .lvideo-list[data-v-1717c5b2],
  .layout-content .lvideo-list,
  .layout-content .lvideo-list[data-v-addc50ec],
  .layout-content .lvideo-list[data-v-f55c8ffa],
  .layout-content .lvideo-list[data-v-cfbbfad8],
  .layout-content .lvideo-list[data-v-d0b44fc4],
  .layout-content .lvideo-list[data-v-aefb7414],
  .content-wrap .lvideo-list,
  .content-wrap .lvideo-list[data-v-68fb55c1] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch;
  }

  .lvideo-list .video-item,
  .lvideo-list .video-item[data-v-1717c5b2],
  .layout-content .lvideo-list .video-item,
  .layout-content .lvideo-list .video-item[data-v-addc50ec],
  .layout-content .lvideo-list .video-item[data-v-f55c8ffa],
  .layout-content .lvideo-list .video-item[data-v-cfbbfad8],
  .layout-content .lvideo-list .video-item[data-v-d0b44fc4],
  .layout-content .lvideo-list .video-item[data-v-aefb7414],
  .content-wrap .lvideo-list .video-item,
  .content-wrap .lvideo-list .video-item[data-v-68fb55c1],
  .video-item[data-v-1717c5b2],
  .video-item[data-v-addc50ec],
  .video-item[data-v-f55c8ffa],
  .video-item[data-v-cfbbfad8],
  .video-item[data-v-d0b44fc4],
  .video-item[data-v-aefb7414],
  .video-item[data-v-68fb55c1] {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .menu-wrap .category__list .category__list__item {
    font-size: 14px !important;
  }
}

/* Phones ~390px and below: force at least 2 columns (never 1) */
@media screen and (max-width: 480px) {
  .lvideo-list,
  .lvideo-list[data-v-1717c5b2],
  .layout-content .lvideo-list,
  .layout-content .lvideo-list[data-v-addc50ec],
  .layout-content .lvideo-list[data-v-f55c8ffa],
  .layout-content .lvideo-list[data-v-cfbbfad8],
  .layout-content .lvideo-list[data-v-d0b44fc4],
  .layout-content .lvideo-list[data-v-aefb7414],
  .content-wrap .lvideo-list,
  .content-wrap .lvideo-list[data-v-68fb55c1] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .lvideo-list .video-item,
  .lvideo-list .video-item[data-v-1717c5b2],
  .layout-content .lvideo-list .video-item,
  .layout-content .lvideo-list .video-item[data-v-addc50ec],
  .layout-content .lvideo-list .video-item[data-v-f55c8ffa],
  .layout-content .lvideo-list .video-item[data-v-cfbbfad8],
  .layout-content .lvideo-list .video-item[data-v-d0b44fc4],
  .layout-content .lvideo-list .video-item[data-v-aefb7414],
  .content-wrap .lvideo-list .video-item,
  .content-wrap .lvideo-list .video-item[data-v-68fb55c1],
  .video-item[data-v-1717c5b2],
  .video-item[data-v-addc50ec],
  .video-item[data-v-f55c8ffa],
  .video-item[data-v-cfbbfad8],
  .video-item[data-v-d0b44fc4],
  .video-item[data-v-aefb7414],
  .video-item[data-v-68fb55c1] {
    width: auto !important;
    max-width: none !important;
  }

  .header-layout .title {
    font-size: 15px !important;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-layout .search-wrap {
    margin-left: 10px !important;
  }

  .header h3,
  .header h3[data-v-1717c5b2] {
    font-size: 16px !important;
  }

  .yc-theme-toggle {
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .lvideo-list .video-item .meta-wrap {
    padding: 7px 8px 10px !important;
  }

  .lvideo-list .video-item .meta-wrap .title,
  .lvideo-list .video-item .meta-wrap .title[data-v-1717c5b2] {
    font-size: 12px !important;
  }
}

/* Very narrow: still keep 2 columns */
@media screen and (max-width: 360px) {
  .lvideo-list,
  .lvideo-list[data-v-1717c5b2],
  .layout-content .lvideo-list,
  .layout-content .lvideo-list[data-v-addc50ec],
  .layout-content .lvideo-list[data-v-f55c8ffa],
  .layout-content .lvideo-list[data-v-cfbbfad8],
  .layout-content .lvideo-list[data-v-d0b44fc4],
  .layout-content .lvideo-list[data-v-aefb7414],
  .content-wrap .lvideo-list,
  .content-wrap .lvideo-list[data-v-68fb55c1] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media screen and (min-width: 769px) {
  .portal {
    padding-bottom: 32px !important;
  }

  .footer-view {
    padding-bottom: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lvideo-list .video-item,
  .lvideo-list .video-item .cover-wrap img {
    transition: none !important;
  }
}
