/* AVLOG homepage bundle. Original order retained to preserve cascade. */

/* ===== merged: home-clean-rebuild.css ===== */
/* AVLOG 首页主样式：2026-11-13
   首页结构与组件样式统一维护；不再用多层补丁堆叠覆盖。 */
html body.body.avref26-home {
  --home-green: #20b86a;
  --home-green-soft: rgba(32,184,106,.14);
  min-height: 100vh;
  margin: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
html body.body.avref26-home > .main {
  flex: 1 0 auto;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
}
html body.body.avref26-home .main > .hub-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 18px clamp(12px, 2vw, 28px) 0;
  box-sizing: border-box;
}
html body.body.avref26-home footer.footer.avref26-footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
  padding: 30px clamp(14px, calc((100vw - 1400px) / 2), 40px);
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid rgba(57,185,120,.24);
  border-radius: 0;
  background: linear-gradient(110deg,#0d2b1c 0%,#09170f 52%,#102a1b 100%);
  box-shadow: none;
}
html body.body.avref26-home footer.footer.avref26-footer .footer-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

/* 首页四个快捷入口：桌面端进一步降低高度，描述强制单行。 */

/* AI 视频模块。 */
html body.body.avref26-home #ai-videos.ai-video-section {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
html body.body.avref26-home #ai-videos .ai-video-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px 14px;
  padding: 0;
}
html body.body.avref26-home #ai-videos .ai-video-card {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  overflow: visible;
}
html body.body.avref26-home #ai-videos .ai-video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 10px;
  background: #102017;
}
html body.body.avref26-home #ai-videos .ai-video-poster > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease,filter .28s ease;
}
html body.body.avref26-home #ai-videos .ai-video-card:hover .ai-video-poster > img {
  transform: scale(1.035);
  filter: brightness(.78);
}
html body.body.avref26-home #ai-videos .ai-video-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #e4ede6;
}
html body.body.avref26-home #ai-videos .ai-video-caption strong {
  min-width: 0;
  color: #e4ede6;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

/* 首页最新视频列表：日期覆盖在封面右下角，不再显示“发布时间”。 */
html body.body.avref26-home #videos.home-latest-video-panel {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
html body.body.avref26-home #videos .category-con,
html body.body.avref26-home #videos .category-con > .a-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html body.body.avref26-home #videos .category-con > .a-con {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 22px 16px;
}
html body.body.avref26-home #videos .a-con-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
html body.body.avref26-home #videos .a-con-inner .pic {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: #102017;
  box-shadow: none;
}
html body.body.avref26-home #videos .a-con-inner .pic > a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
html body.body.avref26-home #videos .a-con-inner .pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body.body.avref26-home #videos .home-video-date {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  background: rgba(5,13,9,.78);
  color: #f1fff5;
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
  backdrop-filter: blur(5px);
}
html body.body.avref26-home #videos .a-con-inner > .s1 {
  display: block;
  min-height: 0;
  max-height: 3em;
  margin: 8px 0 0;
  padding: 0 1px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
}
html body.body.avref26-home #videos .a-con-inner > .s1 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #e8eee9;
  text-decoration: none;
}
html body.body.avref26-home #videos .a-con-inner > .s2 {
  display: flex;
  margin: 5px 0 0;
  padding: 0 1px;
}
html body.body.avref26-home #videos .a-con-inner > .s2 a {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid rgba(30,190,90,.35);
  border-radius: 5px;
  background: transparent;
  color: #65d98c;
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
}

/* 首页“全部分类 / 更多小说”与“更多 AI 视频”共用绿色按钮。 */
html body.body.avref26-home .hub-section-head > a.ai-video-more,
html body.body.avref26-home .hub-section-head > a.ai-video-more:hover,

@media (max-width: 900px) {
  html body.body.avref26-home #videos .category-con > .a-con {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px 12px;
  }
}
@media (max-width: 767px) {
  html body.body.avref26-home .main > .hub-wrap { padding: 12px 12px 0; }
  html body.body.avref26-home #ai-videos .ai-video-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px 10px;
  }
  html body.body.avref26-home #videos .category-con > .a-con {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px 8px;
  }
  html body.body.avref26-home #videos .a-con-inner > .s1 { font-size: 12px; }
  html body.body.avref26-home footer.footer.avref26-footer { margin-top: 24px; padding: 22px 12px 16px; }
}


/* Homepage document flow + true edge-to-edge footer. The footer is a direct body child,
   so it must span the viewport rather than inherit the centered content column. */
@media (max-width: 767px) {
  html body.body.avref26-home > header.site-header {
    position: relative;
    top: auto;
  }
}
html body.body.avref26-home {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: #0a1610;
}
html body.body.avref26-home > main.main {
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding-bottom: 0;
}
html body.body.avref26-home > main.main > .hub-wrap {
  margin-bottom: 0;
  padding-bottom: 0;
}
html body.body.avref26-home > footer.footer.avref26-footer {
  display: block;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  min-height: 0;
  margin: 0 0 0 -50vw;
  padding: 28px 0 max(22px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid rgba(57,185,120,.24);
  border-radius: 0;
  background: linear-gradient(110deg,#0d2b1c 0%,#09170f 52%,#102a1b 100%);
}
html body.body.avref26-home > footer.footer.avref26-footer > .footer-inner {
  width: min(1500px, calc(100% - 32px));
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 767px) {
  html body.body.avref26-home > footer.footer.avref26-footer {
    margin-top: 0;
    padding-top: 22px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  html body.body.avref26-home > footer.footer.avref26-footer > .footer-inner {
    width: calc(100% - 24px);
  }
}

/* Homepage layout foundation: category navigation remains in normal flow. */
html body.body.avref26-home #video-categories {
  display: flow-root;
  position: static;
  inset: auto;
  float: none;
  clear: both;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-inline: 0;
  transform: none;
  contain: layout style;
}
html body.body.avref26-home #video-categories .home-video-category-grid {
  display: grid;
  position: static;
  inset: auto;
  float: none;
  clear: both;
  grid-auto-flow: row;
  grid-auto-rows: auto;
  align-content: start;
  justify-content: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  transform: none;
}
html body.body.avref26-home #video-categories .home-video-category-grid > a {
  position: static;
  inset: auto;
  float: none;
  transform: none;
  min-width: 0;
}
html body.body.avref26-home > .main {
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  padding-bottom: 0;
  margin-bottom: 0;
}
html body.body.avref26-home > .main > .hub-wrap {
  padding-bottom: 0;
  margin-bottom: 0;
}
html body.body.avref26-home > footer.footer.avref26-footer {
  display: block;
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 28px 0 0;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  html body.body.avref26-home #video-categories .home-video-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  html body.body.avref26-home #video-categories .home-video-category-grid > a {
    min-height: 34px;
    padding: 6px 3px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Final homepage edge-to-edge rule: no blank strip, no centered footer frame. */
html body.body.avref26-home > footer.footer.avref26-footer {
  left: 50% !important; width: 100vw !important; max-width: none !important;
  margin: 0 0 0 -50vw !important; border-radius: 0 !important;
}
html body.body.avref26-home > main.main,
html body.body.avref26-home > main.main > .hub-wrap {
  margin-bottom: 0 !important; padding-bottom: 0 !important;
}


/* ===== merged: avlog-coherent-rebuild-20261113.css ===== */
/*
 * AVLOG 2026-11-13 — coherent component rebuild
 * Loaded after legacy/page stylesheets to neutralize older conflicting rules.
 */
:root {
  --av-panel-bg: #0c1b14;
  --av-green: #16a34a;
  --av-green-bright: #22c55e;
  --av-purple: #a855f7;
}

/* Four homepage shortcut cards — desktop shorter height, single-line description */

/* AI cards: individual green outline, no colored glow */
html body.body #ai-videos .ai-video-grid { gap: 16px !important; }
html body.body #ai-videos .ai-video-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(34,197,94,.62) !important;
  border-radius: 12px !important;
  background: var(--av-panel-bg) !important;
  box-shadow: none !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}
html body.body #ai-videos .ai-video-card:hover {
  border-color: #4ade80 !important;
  background: #102219 !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}
html body.body #ai-videos .ai-video-caption strong {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.5 !important;
  min-height: 3em !important;
  max-height: 3em !important;
}

/* Same video-card structure and title treatment on home/type/show/search */
html body.body .home-video-list .category-con .a-con,
html body.body #videos .category-con .a-con {
  align-items: start !important;
}
html body.body .home-video-list .category-con .a-con-inner,
html body.body #videos .category-con .a-con-inner {
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.body .home-video-list .category-con .a-con-inner > .s1,
html body.body #videos .category-con .a-con-inner > .s1 {
  display: block !important;
  min-height: 3em !important;
  max-height: 3em !important;
  margin-top: 8px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}
html body.body .home-video-list .category-con .a-con-inner > .s1 a,
html body.body #videos .category-con .a-con-inner > .s1 a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-overflow: ellipsis !important;
  line-height: 1.5 !important;
  color: #edf7f0 !important;
}
html body.body .home-video-list .category-con .a-con-inner > .s1 a:hover,
html body.body #videos .category-con .a-con-inner > .s1 a:hover {
  color: #4ade80 !important;
}
html body.body .home-video-list .category-con .a-con-inner > .pic,
html body.body #videos .category-con .a-con-inner > .pic {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 9px !important;
  background: #102017 !important;
}
html body.body .home-video-list .category-con .a-con-inner > .pic img,
html body.body #videos .category-con .a-con-inner > .pic img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* One identical play button for every video list and AI card */
html body.body .home-video-list .category-con .a-con-inner > .pic .bofang,
html body.body #videos .category-con .a-con-inner > .pic .bofang,
html body.body #ai-videos .ai-video-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.58) !important;
  border-radius: 50% !important;
  background: rgba(12,27,20,.78) !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%,-50%) scale(.92) !important;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease !important;
  pointer-events: none !important;
}
html body.body .home-video-list .category-con .a-con-inner > .pic:hover .bofang,
html body.body #videos .category-con .a-con-inner > .pic:hover .bofang,
html body.body #ai-videos .ai-video-card:hover .ai-video-play {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%,-50%) scale(1) !important;
}
html body.body .home-video-list .category-con .a-con-inner > .pic .bofang:before,
html body.body #videos .category-con .a-con-inner > .pic .bofang:before,
html body.body #ai-videos .ai-video-play .iconfont {
  color: #fff !important;
  font-size: inherit !important;
}

/* Header stays in normal document flow on desktop and mobile. */
html body.body .site-header { position: relative !important; top: auto !important; z-index: 200 !important; }
/* The shared header's green accent is intentionally retained. */

/* Footer reaches the bottom edge with no decorative top strip or trailing gap */
html, body.body {
  min-height: 100% !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html body.body .footer,
html body.body footer.footer {
  margin-bottom: 0 !important;
  padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
}
html body.body .footer:before,
html body.body .footer:after,
html body.body footer.footer:before,
html body.body footer.footer:after {
  content: none !important;
  display: none !important;
}

/* Responsive details */
@media (max-width: 767px) {
  /* Mobile: keep previous mobile height, do not apply desktop shortening */
  html body.body .home-video-list .category-con .a-con-inner > .s1,
  html body.body #videos .category-con .a-con-inner > .s1 {
    min-height: 2.9em !important;
    max-height: 2.9em !important;
    margin-top: 6px !important;
    font-size: 12px !important;
  }
  html body.body .home-video-list .category-con .a-con-inner > .pic .bofang,
  html body.body #videos .category-con .a-con-inner > .pic .bofang,
  html body.body #ai-videos .ai-video-play {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }
}

/* ========== Keywords: desktop 18 per row (homepage + search) ========== */
@media (max-width: 1400px) {
}
@media (max-width: 1100px) {
}
@media (max-width: 767px) {
}

/* Footer: eliminate bottom white gap, full cover */
html, body {
  background-color: #0a1610 !important;
}
html body.body {
  min-height: 100vh !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
}
html body.body footer.footer,
html body.body footer.footer.avref26-footer {
  margin-bottom: 0 !important;
  padding-bottom: 28px !important;
  border-bottom: 0 !important;
}
html body.body footer.footer:after,
html body.body footer.footer.avref26-footer:after {
  content: none !important;
  display: none !important;
}

/* Unify video date badge on all list pages (same as homepage latest videos) */
html body.body .home-video-date,
html body.body .a-con-inner .pic .home-video-date,
html body.body .avlog-video-item .pic .home-video-date {
  position: absolute !important;
  right: 7px !important;
  bottom: 7px !important;
  z-index: 2 !important;
  padding: 3px 6px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 5px !important;
  background: rgba(5,13,9,.78) !important;
  color: #f1fff5 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  pointer-events: none !important;
  backdrop-filter: blur(5px);
}
html body.body .a-con-inner .pic,
html body.body .avlog-video-item .pic {
  position: relative !important;
}
/* Hide legacy “发布时间” text when present */
html body.body .a-con-inner > .vod-time,
html body.body .avlog-video-item > .vod-time {
  display: none !important;
}

/* ========== 关键词大全 / 搜索页关键词：电脑端强制 1 行 18 个 ========== */
html body.body .vod-keyword-panel .home-video-category-grid a {
  min-height: 32px !important;
  padding: 5px 2px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* 中大屏降级，避免过窄 */
@media (max-width: 1600px) {
  html body.body .vod-keyword-panel .home-video-category-grid {
    grid-template-columns: repeat(15, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1400px) {
  html body.body .vod-keyword-panel .home-video-category-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1100px) {
  html body.body .vod-keyword-panel .home-video-category-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  html body.body .vod-keyword-panel .home-video-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}


/* ===== merged: keyword-layout-20261113.css ===== */
/* Keyword directory layout: desktop 18 items per row; mobile 6 items per row. */
.av-kw-section .av-kw-grid,
#home-keyword-directory .av-kw-grid,
#search-hot-keywords .av-kw-grid {
  display: grid !important;
  grid-template-columns: repeat(18, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.av-kw-section .av-kw-grid > a,
#home-keyword-directory .av-kw-grid > a,
#search-hot-keywords .av-kw-grid > a {
  float: none !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .av-kw-section .av-kw-grid,
  #home-keyword-directory .av-kw-grid,
  #search-hot-keywords .av-kw-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}


/* ===== merged: pan-search.css ===== */
/* PanSou cloud-drive search */
.pan-home-search,.pan-play-search{margin:0 0 20px;padding:18px 20px;border:1px solid rgba(120,145,170,.18);border-radius:16px;background:var(--card-bg,rgba(255,255,255,.035))}
.pan-home-search{margin-bottom:22px}
.pan-search-form{width:100%}
.pan-search-label{display:block;margin:0 0 10px;font-size:17px;font-weight:750;color:var(--text-color,inherit)}
.pan-search-control{display:flex;gap:10px;align-items:stretch}
.pan-search-control input{flex:1;min-width:0;height:48px;padding:0 16px;border:1px solid rgba(130,150,170,.28);border-radius:10px;background:rgba(128,128,128,.07);color:inherit;font-size:15px;outline:none}
.pan-search-control input:focus{border-color:#28a66a;box-shadow:0 0 0 3px rgba(40,166,106,.12)}
.pan-search-control button{flex:0 0 auto;min-width:112px;padding:0 20px;border:0;border-radius:10px;background:#15965b;color:#fff;font-weight:700;cursor:pointer}
.pan-search-control button:hover{background:#117c4b}
.pan-search-hint{margin:9px 0 0;color:var(--muted-color,#89939e);font-size:12px}
.pan-results-shell{max-width:1120px;margin:22px auto 48px}
.pan-results-header{padding:30px;border:1px solid rgba(120,145,170,.18);border-radius:18px;background:var(--card-bg,rgba(255,255,255,.035))}
.pan-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#20a36a}
.pan-results-header h1{margin:8px 0;font-size:30px;font-weight:800}
.pan-results-header>p{margin:0 0 22px;color:var(--muted-color,#89939e);font-size:14px}
.pan-results-form{max-width:780px}
.pan-results-toolbar{display:flex;flex-direction:column;gap:14px;margin:20px 0 14px}
#panSearchStatus{font-size:14px;font-weight:650;color:var(--muted-color,#89939e)}
.pan-filter-list{display:flex;gap:8px;flex-wrap:wrap}
.pan-filter-list button{padding:7px 14px;border:1px solid rgba(130,150,170,.22);border-radius:30px;background:transparent;color:inherit;font-size:13px;cursor:pointer}
.pan-filter-list button.is-active{border-color:#15965b;background:rgba(21,150,91,.12);color:#15965b;font-weight:700}
.pan-results-list{display:grid;gap:12px}
.pan-result-card{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 20px;border:1px solid rgba(120,145,170,.18);border-radius:14px;background:var(--card-bg,rgba(255,255,255,.035))}
.pan-result-main{min-width:0;flex:1}
.pan-cloud-tag{display:inline-block;margin-bottom:8px;padding:4px 9px;border-radius:5px;background:rgba(21,150,91,.12);color:#15965b;font-size:11px;font-weight:750}
.pan-result-card h2{margin:0;font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.pan-result-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:7px;color:var(--muted-color,#89939e);font-size:11px}
.pan-result-actions{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:0 0 auto}
.pan-code{font-size:12px;color:var(--muted-color,#89939e)}
.pan-code b{color:inherit;letter-spacing:1px}
.pan-result-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:8px;background:#15965b;color:#fff;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}
.pan-result-actions a:hover{background:#117c4b}
.pan-empty-state,.pan-loading{display:flex;min-height:190px;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:24px;border:1px dashed rgba(130,150,170,.3);border-radius:14px;text-align:center;color:var(--muted-color,#89939e)}
.pan-empty-state strong{font-size:16px;color:inherit}
.pan-empty-state p{margin:0;font-size:13px}
.pan-empty-state small{max-width:540px;line-height:1.7}
.pan-empty-icon{font-size:38px;color:#15965b}
.pan-error-state{border-color:rgba(220,100,80,.3)}
.pan-loading span{width:26px;height:26px;border:3px solid rgba(21,150,91,.2);border-top-color:#15965b;border-radius:50%;animation:pan-spin .8s linear infinite}
@keyframes pan-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
 .pan-home-search,.pan-play-search{padding:14px;border-radius:12px}
 .pan-search-label{font-size:15px}
 .pan-search-control{gap:7px}
 .pan-search-control input{height:44px;padding:0 11px;font-size:14px}
 .pan-search-control button{min-width:82px;padding:0 12px;font-size:13px}
 .pan-results-shell{margin:12px auto 30px}
 .pan-results-header{padding:20px 15px;border-radius:14px}
 .pan-results-header h1{font-size:24px}
 .pan-result-card{align-items:flex-start;flex-direction:column;gap:13px;padding:15px}
 .pan-result-actions{width:100%;align-items:flex-start}
 .pan-result-actions a{width:100%}
}

/* 2026-11-14 PanSou visual refinement */
.pan-search-page .main{min-height:58vh}
.pan-search-page .hub-wrap{width:1180px;max-width:calc(100% - 32px);margin-inline:auto;box-sizing:border-box}
.pan-results-shell{width:100%;max-width:1120px;margin:30px auto 56px;box-sizing:border-box}
.pan-results-header{position:relative;overflow:hidden;padding:34px;border:1px solid rgba(35,165,105,.22);border-radius:22px;background:linear-gradient(135deg,rgba(28,158,99,.12),rgba(28,158,99,.035) 48%,var(--card-bg,rgba(255,255,255,.035)));box-shadow:0 16px 42px rgba(0,0,0,.07)}
.pan-results-header:after{content:"";position:absolute;right:-76px;top:-118px;width:300px;height:300px;border:1px solid rgba(35,165,105,.13);border-radius:50%;box-shadow:0 0 0 28px rgba(35,165,105,.035),0 0 0 58px rgba(35,165,105,.025);pointer-events:none}
.pan-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid rgba(32,163,106,.2);border-radius:30px;background:rgba(32,163,106,.09);font-size:10px;letter-spacing:1.7px}
.pan-results-header h1{position:relative;z-index:1;margin:13px 0 7px;font-size:32px;letter-spacing:-.6px}
.pan-results-header>p{position:relative;z-index:1;margin-bottom:24px;font-size:14px}
.pan-results-form{position:relative;z-index:1;width:100%;max-width:850px}
.pan-results-form .pan-search-label{font-size:13px;color:var(--muted-color,#89939e)}
.pan-search-control{gap:9px;padding:5px;border:1px solid rgba(35,165,105,.22);border-radius:14px;background:var(--card-bg,rgba(255,255,255,.055));box-shadow:0 8px 24px rgba(0,0,0,.055)}
.pan-search-control input{height:48px;border:0!important;background:transparent!important;box-shadow:none!important;padding-inline:14px}
.pan-search-control button{min-height:46px;padding-inline:24px;border-radius:10px;background:linear-gradient(135deg,#20a66b,#128653);box-shadow:0 5px 14px rgba(21,150,91,.2);transition:transform .18s ease,filter .18s ease}
.pan-search-control button:hover{filter:brightness(1.06);transform:translateY(-1px)}
.pan-results-toolbar{gap:13px;margin:22px 0 15px;padding:15px 17px;border:1px solid rgba(120,145,170,.14);border-radius:14px;background:var(--card-bg,rgba(255,255,255,.025))}
#panSearchStatus{font-size:13px}
.pan-filter-list{gap:7px}
.pan-filter-list button{padding:7px 13px;border-radius:9px;transition:background .15s ease,border-color .15s ease,color .15s ease}
.pan-filter-list button:hover{border-color:rgba(21,150,91,.55);background:rgba(21,150,91,.07)}
.pan-filter-list button.is-active{background:#15965b;color:#fff;border-color:#15965b}
.pan-results-list{gap:10px}
.pan-result-card{position:relative;gap:18px;padding:17px 19px;border-radius:13px;border-color:rgba(120,145,170,.15);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.pan-result-card:hover{transform:translateY(-1px);border-color:rgba(21,150,91,.35);box-shadow:0 8px 24px rgba(0,0,0,.055)}
.pan-cloud-tag{padding:5px 10px;border-radius:6px}
.pan-result-card h2{font-size:15px;font-weight:700}
.pan-result-actions a{min-height:38px;padding-inline:16px;border-radius:9px;box-shadow:0 4px 12px rgba(21,150,91,.14)}
.pan-empty-state,.pan-loading{min-height:230px;border-radius:16px;background:var(--card-bg,rgba(255,255,255,.02))}
.pan-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:rgba(21,150,91,.1);font-size:30px}
@media(max-width:640px){
 .pan-search-page .hub-wrap{width:calc(100% - 22px)}
 .pan-results-shell{margin:14px auto 32px}
 .pan-results-header{padding:22px 15px;border-radius:16px}
 .pan-results-header:after{right:-190px;top:-180px}
 .pan-search-control{gap:5px;padding:4px;border-radius:11px}
 .pan-search-control input{height:43px;padding-inline:9px;font-size:13px}
 .pan-search-control button{min-width:78px;min-height:42px;padding-inline:11px;font-size:13px}
 .pan-results-toolbar{padding:12px;border-radius:12px}
 .pan-filter-list{gap:6px}
 .pan-filter-list button{padding:7px 10px;font-size:12px}
 .pan-result-card{padding:14px;border-radius:12px}
}


/* 首页网盘搜索卡片：与全站绿色设计统一 */
.pan-home-search{
    position:relative; overflow:hidden; isolation:isolate;
    margin:4px 0 24px; padding:20px 22px 18px;
    border:1px solid rgba(35,165,105,.24); border-radius:18px;
    background:linear-gradient(115deg,rgba(27,155,96,.13),rgba(27,155,96,.045) 48%,var(--card-bg,rgba(255,255,255,.035)) 100%);
    box-shadow:0 10px 30px rgba(0,0,0,.055);
    transition:border-color .2s ease,box-shadow .2s ease;
}
.pan-home-search:before{
    content:""; position:absolute; z-index:-1; right:-54px; top:-105px;
    width:230px; height:230px; border:1px solid rgba(35,165,105,.13);
    border-radius:50%; box-shadow:0 0 0 24px rgba(35,165,105,.035),0 0 0 50px rgba(35,165,105,.022);
    pointer-events:none;
}
.pan-home-search:hover{border-color:rgba(35,165,105,.4);box-shadow:0 13px 34px rgba(0,0,0,.075)}
.pan-home-search .pan-search-label{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:18px;font-weight:800;letter-spacing:.1px;color:var(--text-color,inherit)}
.pan-home-title-icon{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:linear-gradient(145deg,#22ad70,#128653);color:#fff;box-shadow:0 5px 13px rgba(21,150,91,.2)}
.pan-home-title-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pan-home-search .pan-search-control{gap:8px;padding:5px;border:1px solid rgba(35,165,105,.23);border-radius:13px;background:var(--card-bg,rgba(255,255,255,.065));box-shadow:0 6px 18px rgba(0,0,0,.045)}
.pan-home-search .pan-search-control input{height:48px;padding:0 13px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:15px}
.pan-home-search .pan-search-control input::placeholder{color:var(--muted-color,#89939e);opacity:.85}
.pan-home-search .pan-search-control button{min-width:116px;min-height:46px;padding:0 20px;border-radius:9px;background:linear-gradient(135deg,#20a66b,#128653);box-shadow:0 4px 12px rgba(21,150,91,.18);font-weight:750;transition:filter .18s ease,transform .18s ease}
.pan-home-search .pan-search-control button:hover{filter:brightness(1.07);transform:translateY(-1px)}
.pan-home-search .pan-search-hint{margin:11px 2px 0;font-size:12px;line-height:1.6;color:var(--muted-color,#89939e)}
@media(max-width:640px){
 .pan-home-search{margin:2px 0 19px;padding:15px 13px 14px;border-radius:14px}
 .pan-home-search .pan-search-label{gap:8px;margin-bottom:11px;font-size:16px}
 .pan-home-title-icon{width:31px;height:31px;flex-basis:31px;border-radius:9px}
 .pan-home-title-icon svg{width:19px;height:19px}
 .pan-home-search .pan-search-control{gap:5px;padding:4px;border-radius:11px}
 .pan-home-search .pan-search-control input{height:43px;padding-inline:8px;font-size:13px}
 .pan-home-search .pan-search-control button{min-width:82px;min-height:42px;padding-inline:11px;font-size:13px}
 .pan-home-search .pan-search-hint{margin-top:9px;font-size:11px}
}


/* 桌面端固定尺寸：避免随视口宽度使用 clamp/vw 产生忽大忽小的视觉变化 */
@media (min-width:641px){
 .pan-search-page .pan-results-header{padding:34px;box-sizing:border-box}
 .pan-search-page .pan-results-header h1{font-size:32px;line-height:1.35}
 .pan-search-page .pan-results-header>p{font-size:14px;line-height:1.6}
 .pan-search-page .pan-search-control input{height:48px;font-size:15px}
 .pan-search-page .pan-search-control button{min-height:46px;font-size:14px}
 .pan-search-page .pan-results-toolbar{box-sizing:border-box}
 .pan-search-page .pan-result-card{box-sizing:border-box}
}


/* ===== merged: site-polish-20261114.css ===== */
/* =========================================================
   AVLOG · 全站视觉精修层 2026-11-14
   只负责视觉表现；不重写模板结构、不改变业务逻辑。
   ========================================================= */
:root {
  --avp-bg: #080f0b;
  --avp-surface: #101a14;
  --avp-surface-2: #132119;
  --avp-line: rgba(180, 220, 194, .105);
  --avp-line-strong: rgba(72, 211, 129, .25);
  --avp-green: #28d17c;
  --avp-green-2: #14b86b;
  --avp-text: #eef7f0;
  --avp-muted: #9aafa1;
  --avp-radius: 16px;
  --avp-radius-sm: 11px;
  --avp-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}

html { scroll-behavior: smooth; }
body.body,
body:not(.mac_comment) {
  background-color: var(--avp-bg);
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(20, 184, 107, .095), transparent 34rem),
    radial-gradient(ellipse at 96% 18%, rgba(37, 125, 79, .075), transparent 30rem);
  color: var(--avp-text);
}
body.body :where(main, .main, .hub-wrap, .article-page) { min-width: 0; }
body.body :where(img, video, iframe) { max-width: 100%; }
body.body :where(button, input, select, textarea) { font: inherit; }
body.body :where(a, button, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
body.body :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid rgba(40, 209, 124, .85);
  outline-offset: 3px;
}

/* 顶部导航：保留原有桌面 sticky 规则，只精修外观 */
body.body .site-header,
body.body .header.site-header {
  background: rgba(8, 16, 11, .91) !important;
  border-bottom: 1px solid rgba(55, 190, 112, .19) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .17) !important;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
body.body .site-header-inner { gap: clamp(10px, 1.6vw, 22px); }
body.body .site-brand img { filter: drop-shadow(0 3px 9px rgba(24, 190, 105, .18)); }
body.body .site-brand .name {
  background: linear-gradient(105deg, #f2fff6 5%, #72e7a7 58%, #27c978 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.body .site-main-nav { gap: 5px; }
body.body .site-main-nav .site-nav-link {
  min-height: 38px; padding: 0 12px; border: 1px solid transparent;
  border-radius: 999px; color: #c8d9cd; transition: .2s ease;
}
body.body .site-main-nav .site-nav-link:hover {
  color: #f4fff7; background: rgba(40, 209, 124, .105);
  border-color: rgba(40, 209, 124, .2); transform: translateY(-1px);
}
body.body .site-search-form {
  min-height: 42px; border: 1px solid rgba(150, 190, 163, .18) !important;
  border-radius: 999px !important; background: rgba(255, 255, 255, .045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}
body.body .site-search-form:focus-within {
  border-color: rgba(40, 209, 124, .55) !important;
  box-shadow: 0 0 0 3px rgba(40, 209, 124, .09);
}
body.body .site-search-input { min-width: 0; color: #effaf2 !important; }
body.body .site-search-input::placeholder { color: #83998a; }
body.body .site-search-submit {
  border-radius: 999px !important; margin: 3px; padding: 0 17px;
  background: linear-gradient(135deg, #24ce78, #119c59) !important;
  color: #06140b !important; font-weight: 800; box-shadow: 0 5px 14px rgba(20,184,107,.2);
  transition: filter .2s ease, transform .2s ease;
}
body.body .site-search-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
body.body .site-hot-search-dropdown {
  border: 1px solid var(--avp-line-strong); border-radius: 14px;
  background: #101b14; box-shadow: 0 18px 42px rgba(0,0,0,.38);
}
body.body .site-hot-search-item { border-radius: 8px; transition: .18s ease; }
body.body .site-hot-search-item:hover { background: rgba(40,209,124,.12); color: #8df0b6; }

/* 全站内容容器与区块 */
body.body .hub-wrap,
body.body .article-page,
body.body .pan-results-shell {
  width: min(100% - 32px, 1240px); margin-left: auto; margin-right: auto;
}
body.body .hub-section,
body.body .pan-results-shell,
body.body .article-page > article,
body.body .rank-box,
body.body .block > .a-con,
body.body .search-content-panel,
body.body .vod-list-page-panel {
  border: 1px solid var(--avp-line) !important;
  border-radius: var(--avp-radius) !important;
  background: linear-gradient(145deg, rgba(18, 31, 22, .94), rgba(12, 22, 16, .96)) !important;
  box-shadow: var(--avp-shadow);
}
body.body .hub-section { padding: clamp(14px, 2vw, 22px); margin-bottom: 18px; }
body.body .av-title-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(170, 210, 183, .1);
}
body.body .av-title-bar h1,
body.body .av-title-bar h2,
body.body .article-page h1,
body.body .rank-banner h1 {
  color: #f1fff5; font-weight: 800; letter-spacing: -.025em;
}
body.body .av-title-bar h1::before,
body.body .av-title-bar h2::before {
  content: ""; display: inline-block; width: 4px; height: 1em;
  margin-right: 10px; vertical-align: -.12em; border-radius: 5px;
  background: linear-gradient(180deg, #6aeda0, #12ae64);
  box-shadow: 0 0 14px rgba(40,209,124,.22);
}
body.body .avref26-green-action,
body.body .article-search button,
body.body .back-prev-btn,
body.body .pan-search-control button {
  border: 0 !important; border-radius: 999px !important;
  background: linear-gradient(135deg, #32d985, #0eaa60) !important;
  color: #06150b !important; font-weight: 800;
  box-shadow: 0 7px 18px rgba(14,170,96,.19);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
body.body .avref26-green-action:hover,
body.body .article-search button:hover,
body.body .back-prev-btn:hover,
body.body .pan-search-control button:hover {
  filter: brightness(1.08); transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14,170,96,.25);
}

/* 首页快捷入口、关键词和 AI 视频 */
body.body .av-card-grid { gap: 12px !important; }
body.body .av-card {
  position: relative; min-height: 92px; padding: 17px !important;
  border: 1px solid var(--avp-line) !important; border-radius: 15px !important;
  background: linear-gradient(135deg, rgba(23, 42, 29, .96), rgba(14, 26, 18, .96)) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.14); transition: .22s ease;
}
body.body .av-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(74,224,139,.07), transparent 48%); opacity: .8;
}
body.body .av-card:hover { transform: translateY(-3px); border-color: var(--avp-line-strong) !important; box-shadow: 0 14px 28px rgba(0,0,0,.24); }
body.body .av-card-icon { border-radius: 13px !important; box-shadow: 0 5px 16px rgba(0,0,0,.16); }
body.body .av-card-title { color: #f1fff5; font-weight: 800; }
body.body .av-card-desc { color: var(--avp-muted); }
body.body .av-kw-section { border-radius: 14px; }
body.body .av-kw-grid a,
body.body .home-video-category-grid a,
body.body .play-keywords-list a,
body.body .article-categories a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 35px; padding: 7px 12px; border: 1px solid rgba(150,195,164,.13);
  border-radius: 9px; background: rgba(255,255,255,.035); color: #c8dbce;
  transition: .18s ease;
}
body.body .av-kw-grid a:hover,
body.body .home-video-category-grid a:hover,
body.body .play-keywords-list a:hover,
body.body .article-categories a:hover {
  color: #9af2bc; background: rgba(40,209,124,.11);
  border-color: rgba(40,209,124,.32); transform: translateY(-1px);
}
body.body .ai-video-card,
body.body .avlog-video-item,
body.body .random-video-item {
  min-width: 0; overflow: hidden; border: 1px solid var(--avp-line) !important;
  border-radius: 13px !important; background: rgba(18,31,22,.86) !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.16); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body.body .ai-video-card:hover,
body.body .avlog-video-item:hover,
body.body .random-video-item:hover {
  transform: translateY(-3px); border-color: rgba(40,209,124,.35) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.26);
}
body.body .ai-video-poster,
body.body .avlog-video-item .pic,
body.body .a-con-inner .pic { overflow: hidden; background: #0b130e; }
body.body .ai-video-poster img,
body.body .avlog-video-item .pic img,
body.body .a-con-inner .pic img { transition: transform .35s ease, filter .35s ease; }
body.body .ai-video-card:hover .ai-video-poster img,
body.body .avlog-video-item:hover .pic img,
body.body .a-con-inner:hover .pic img { transform: scale(1.035); }
body.body .ai-video-caption,
body.body .avlog-video-item .s1,
body.body .a-con-inner .s1 { color: #eef8f1; font-weight: 650; }
body.body .ai-video-caption,
body.body .avlog-video-item .s1 a,
body.body .a-con-inner .s1 a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; line-height: 1.5; min-height: 3em;
}
body.body .ai-video-date,
body.body .home-video-date { border-radius: 7px; background: rgba(5,14,8,.78); color: #bff5d1; backdrop-filter: blur(8px); }
body.body .ai-video-tag,
body.body .avlog-video-item .s2 a,
body.body .a-con-inner .s2 a { color: #7ce8a8; }

/* 视频分类、搜索结果、排行榜 */
body.body .home-video-category-grid { gap: 9px !important; }
body.body .a-con { gap: 14px !important; }
body.body .a-con-inner { min-width: 0; }
body.body .home-list-meta,
body.body .page-count { color: var(--avp-muted); }
body.body .rank-cycle button {
  border: 1px solid var(--avp-line) !important; border-radius: 12px !important;
  background: rgba(255,255,255,.035) !important; transition: .2s ease;
}
body.body .rank-cycle button.active,
body.body .rank-cycle button:hover {
  border-color: var(--avp-line-strong) !important; background: rgba(40,209,124,.1) !important;
}
body.body .rank-con li { border-bottom: 1px solid var(--avp-line) !important; }
body.body .rank-con-l p { border-radius: 9px; background: rgba(40,209,124,.1); color: #8df0b5; font-weight: 850; }
body.body .rank-con-m .pic { overflow: hidden; border-radius: 10px; }
body.body .rank-con-m .pic img { transition: transform .25s ease; }
body.body .rank-con-m .pic:hover img { transform: scale(1.04); }

/* 小说列表、文章阅读页 */
body.body .article-page { padding-top: clamp(20px, 3vw, 38px); padding-bottom: 38px; }
body.body .article-page > h1 { margin: 20px 0 14px; font-size: clamp(20px, 2.2vw, 27px); }
body.body .article-page > article { padding: clamp(18px, 3vw, 34px); }
body.body .article-search {
  display: flex; gap: 9px; padding: 8px; border: 1px solid var(--avp-line);
  border-radius: 14px; background: rgba(255,255,255,.035);
}
body.body .article-search input,
body.body .pan-search-control input {
  min-width: 0; flex: 1; border: 1px solid transparent !important;
  border-radius: 10px !important; background: rgba(0,0,0,.17) !important;
  color: var(--avp-text) !important; padding: 12px 14px !important;
}
body.body .article-search input:focus,
body.body .pan-search-control input:focus { border-color: rgba(40,209,124,.45) !important; outline: 0; }
body.body .article-categories { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 22px; }
body.body .article-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
body.body .article-result {
  min-width: 0; padding: 14px 16px; border: 1px solid var(--avp-line);
  border-radius: 12px; background: rgba(255,255,255,.028); transition: .2s ease;
}
body.body .article-result:hover { border-color: var(--avp-line-strong); background: rgba(40,209,124,.075); transform: translateY(-2px); }
body.body .article-result h2 { margin: 0; color: #e6f4ea; font-size: 15px; font-weight: 650; line-height: 1.65; }
body.body .article-meta { color: var(--avp-muted); }
body.body .article-content {
  color: #dce9df; line-height: 1.95; overflow-wrap: anywhere;
}
body.body .article-content :where(p, h2, h3, blockquote, ul, ol) { margin-top: 1em; margin-bottom: 1em; }
body.body .reading-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--avp-line); border-radius: 12px; background: rgba(255,255,255,.03); }
body.body .reading-tools button { border: 1px solid var(--avp-line); border-radius: 8px; padding: 7px 11px; background: rgba(40,209,124,.08); color: #a7edbf; }

/* 播放页与播放控件 */
body.body .play-page-home-layout { gap: 16px; }
body.body .play-title { color: #f1fff5; font-weight: 800; line-height: 1.45; }
body.body .play-player-panel,
body.body .play-episode-panel,
body.body .play-keywords,
body.body .play-action-panel {
  border: 1px solid var(--avp-line) !important; border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(18,31,22,.95), rgba(11,20,14,.96)) !important;
}
body.body .player-wrapper,
body.body .player { overflow: hidden; border-radius: 13px; background: #000; }
body.body .play-episode-item,
body.body .play-action-btn { border-radius: 9px !important; transition: .18s ease; }
body.body .play-episode-item:hover,
body.body .play-action-btn:hover { border-color: rgba(40,209,124,.38) !important; background: rgba(40,209,124,.1) !important; }
body.body .play-episode-playing { color: #06150b !important; background: #36d985 !important; }
body.body .play-safety-notice { border-radius: 10px; }

/* 网盘搜索页与表单 */
body.body .pan-home-search,
body.body .pan-results-header,
body.body .pan-results-toolbar,
body.body .pan-results-list { border-radius: 15px; }
body.body .pan-home-search,
body.body .pan-results-header { border: 1px solid var(--avp-line); background: linear-gradient(145deg, rgba(18,34,23,.96), rgba(11,21,15,.96)); box-shadow: var(--avp-shadow); }
body.body .pan-search-control { gap: 8px; }
body.body .pan-search-hint { color: var(--avp-muted); }
body.body .pan-filter-list button { border-radius: 999px; transition: .18s ease; }
body.body .pan-filter-list button.is-active,
body.body .pan-filter-list button:hover { border-color: var(--avp-line-strong); background: rgba(40,209,124,.12); color: #9af2bc; }

/* 页脚、返回顶部 */
body.body .site-footer {
  margin-top: 30px; border-top: 1px solid rgba(40,209,124,.17) !important;
  background: linear-gradient(180deg, rgba(14,25,17,.97), #080f0b) !important;
}
body.body .site-footer-inner { padding-top: 30px !important; padding-bottom: 28px !important; }
body.body .site-footer-heading { color: #85e8aa; font-weight: 800; }
body.body .site-footer-eyebrow { color: #86dca4; }
body.body .site-footer-contact-item { color: #d3e4d8; }
body.body .back-to-top {
  border: 1px solid rgba(115,230,157,.25) !important;
  background: linear-gradient(145deg, #1fc575, #0c9854) !important;
  color: #04140a !important; box-shadow: 0 8px 24px rgba(0,0,0,.32), 0 0 0 5px rgba(40,209,124,.07);
  transition: transform .2s ease, filter .2s ease;
}
body.body .back-to-top:hover { transform: translateY(-3px); filter: brightness(1.08); }

/* 响应式：手机优先保证可读性与触控空间 */
@media (max-width: 767px) {
  body.body .site-header-inner { flex-wrap: wrap; gap: 8px 10px; padding-top: 9px; padding-bottom: 9px; }
  body.body .site-brand .name { font-size: 16px; }
  body.body .site-main-nav .site-nav-link { min-height: 34px; padding: 0 9px; font-size: 12px; }
  body.body .site-main-nav .site-nav-link[href*="theporndude"] { display: none !important; }
  body.body .site-search-wrap { flex: 1 1 100%; order: 3; width: 100%; }
  body.body .site-search-form { min-height: 40px; }
  body.body .hub-wrap,
  body.body .article-page,
  body.body .pan-results-shell { width: calc(100% - 22px); }
  body.body .hub-section { padding: 13px; margin-bottom: 12px; border-radius: 13px !important; }
  body.body .av-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  body.body .av-card { min-height: 82px; padding: 12px !important; gap: 9px; }
  body.body .av-card-desc { font-size: 11px; line-height: 1.45; }
  body.body .ai-video-grid,
  body.body .avlog-video-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
  body.body .ai-video-caption,
  body.body .avlog-video-item .s1 a,
  body.body .a-con-inner .s1 a { -webkit-line-clamp: 2; min-height: 3em; font-size: 12px; }
  body.body .home-video-category-grid { grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 7px !important; }
  body.body .home-video-category-grid a,
  body.body .av-kw-grid a { min-height: 32px; padding: 6px 5px; font-size: 11px; }
  body.body .article-results { grid-template-columns: minmax(0,1fr); }
  body.body .article-search { gap: 6px; }
  body.body .article-search button { padding: 0 16px; }
  body.body .rank-cycle { gap: 7px; }
  body.body .rank-cycle button { min-width: 0; }
  body.body .site-footer-inner { gap: 22px; }
}
@media (max-width: 380px) {
  body.body .site-main-nav .site-nav-link { padding: 0 7px; }
  body.body .home-video-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
  body.body .av-card-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.body *, body.body *::before, body.body *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 2026-11-14 user adjustment: remove the added green rail before section headings site-wide. */
body.body .av-title-bar h1::before,
body.body .av-title-bar h2::before {
  content: none !important;
  display: none !important;
}


/* ===== merged: home-search-cards-fix-20261114.css ===== */
/* 2026-11-14 targeted homepage corrections */
/* 全站新增标题左侧装饰竖杠：仅移除标题伪元素，不影响文字和下方分隔线 */
body.body .av-title-bar h1::before,
body.body .av-title-bar h2::before { content: none !important; display: none !important; }

/* 首页四个快捷卡片：前三张恢复原始绿色竖杠，随机视频使用紫色竖杠与紫色底色 */
body.body.avref26-home .av-card-grid > .av-card {
  border-left: 5px solid #20b86a !important;
}
body.body.avref26-home .av-card-grid > .av-card.av-card-purple {
  border: 1px solid rgba(168,85,247,.55) !important;
  border-left: 5px solid #a855f7 !important;
  background: #241735 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.2), inset 0 0 0 1px rgba(168,85,247,.08) !important;
}
body.body.avref26-home .av-card-grid > .av-card.av-card-purple::after {
  background: linear-gradient(115deg, rgba(168,85,247,.16), rgba(108,67,170,.08) 48%, transparent) !important;
  opacity: 1 !important;
}
body.body.avref26-home .av-card-grid > .av-card.av-card-purple:hover {
  background: #302044 !important;
  border-color: rgba(192,132,252,.78) !important;
  border-left-color: #a855f7 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.27), 0 0 20px rgba(168,85,247,.16) !important;
}

/* 首页聚合搜索：模式切换 */
body.body.avref26-home .pan-home-search-modes { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
body.body.avref26-home .pan-home-search-modes .pan-mode-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:0 16px;
  border:1px solid rgba(150,190,163,.18); border-radius:999px; background:rgba(255,255,255,.045);
  color:#b9cbbf; font-size:13px; font-weight:700; cursor:pointer;
  transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease;
}
body.body.avref26-home .pan-home-search-modes .pan-mode-button:hover { color:#effff4; border-color:rgba(40,209,124,.4); transform:translateY(-1px); }
body.body.avref26-home .pan-home-search-modes .pan-mode-button.is-active {
  color:#06150b; border-color:transparent; background:linear-gradient(135deg,#32d985,#0eaa60);
  box-shadow:0 5px 14px rgba(14,170,96,.2);
}
body.body.avref26-home .pan-home-search .pan-search-hint [hidden] { display:none !important; }
body.body.avref26-home .pan-home-search .pan-search-hint { min-height:1.6em; }

/* 首页热门关键词：仅展示模板内置关键词 */
body.body.avref26-home .pan-keyword-tools { position:relative; z-index:1; margin:13px 1px 0; }
body.body.avref26-home .pan-keyword-heading { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:9px; }
body.body.avref26-home .pan-keyword-caption { color:var(--text-color,#eaf5ed); font-size:12px; font-weight:800; }
body.body.avref26-home .pan-keyword-list { display:flex; flex-wrap:wrap; gap:7px; }
body.body.avref26-home .pan-keyword-chip {
  display:inline-flex; align-items:center; min-height:29px; padding:4px 11px;
  border:1px solid rgba(35,165,105,.2); border-radius:8px; background:rgba(35,165,105,.07);
  color:#a9d9bc; font-size:12px; line-height:1.35; cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
body.body.avref26-home .pan-keyword-chip:hover { color:#effff4; border-color:rgba(40,209,124,.55); background:rgba(35,165,105,.16); transform:translateY(-1px); }
@media (max-width:640px) {
  body.body.avref26-home .pan-keyword-tools { margin-top:11px; }
  body.body.avref26-home .pan-keyword-list { gap:6px; }
  body.body.avref26-home .pan-keyword-chip { min-height:28px; padding:4px 9px; font-size:11px; }
}


/* 2026-11-14 聚合资源搜索区域完整视觉升级：居中布局、清晰模式图标、关键词直达 */
body.body.avref26-home .pan-home-search{
  padding:26px 26px 22px;
  text-align:center;
  border:1px solid rgba(45,190,119,.28);
  border-radius:20px;
  background:
    radial-gradient(ellipse at 50% -35%,rgba(40,205,125,.16),transparent 62%),
    linear-gradient(145deg,rgba(24,135,85,.12),rgba(20,35,29,.48) 55%,rgba(255,255,255,.025));
  box-shadow:0 14px 38px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.045);
}
body.body.avref26-home .pan-home-search:before{right:calc(50% - 170px);top:-170px;width:340px;height:340px;opacity:.7}
body.body.avref26-home .pan-home-search .pan-search-form{position:relative;z-index:1;width:100%;display:flex;flex-direction:column;align-items:center}
body.body.avref26-home .pan-home-search .pan-search-label{justify-content:center;width:100%;margin:0 0 18px;font-size:20px;letter-spacing:.3px}
body.body.avref26-home .pan-home-title-icon{width:38px;height:38px;flex-basis:38px;border-radius:12px}
body.body.avref26-home .pan-home-title-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.body.avref26-home .pan-home-search-modes{width:min(100%,560px);justify-content:center;gap:10px;margin:0 auto 15px}
body.body.avref26-home .pan-home-search-modes .pan-mode-button{flex:1 1 0;min-height:43px;gap:8px;padding:0 16px;border-radius:12px;font-size:14px}
body.body.avref26-home .pan-mode-button svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.body.avref26-home .pan-mode-button[data-search-mode="video"] svg{fill:currentColor;stroke-width:1.2}
body.body.avref26-home .pan-home-search .pan-search-control{width:min(100%,760px);margin:0 auto;box-sizing:border-box;gap:10px;padding:6px;border-radius:15px;border-color:rgba(45,190,119,.32);background:rgba(5,18,12,.38);box-shadow:0 8px 24px rgba(0,0,0,.14),inset 0 1px 2px rgba(0,0,0,.18)}
body.body.avref26-home .pan-home-search .pan-search-control input{height:52px;text-align:center;padding:0 18px;font-size:15px;letter-spacing:.2px}
body.body.avref26-home .pan-home-search .pan-search-control input::placeholder{text-align:center}
body.body.avref26-home .pan-home-search .pan-search-control button{min-width:126px;min-height:50px;border-radius:11px;font-size:14px}
body.body.avref26-home .pan-home-search .pan-keyword-tools{width:min(100%,900px);margin:19px auto 0;text-align:center}
body.body.avref26-home .pan-keyword-heading{justify-content:center;gap:10px;margin-bottom:12px}
body.body.avref26-home .pan-keyword-caption{font-size:13px;letter-spacing:.3px}
body.body.avref26-home .pan-keyword-list{justify-content:center;gap:9px}
body.body.avref26-home .pan-keyword-item{border-radius:999px;background:rgba(35,165,105,.075);transition:transform .18s ease,border-color .18s ease,background .18s ease}
body.body.avref26-home .pan-keyword-item:hover{transform:translateY(-2px);border-color:rgba(40,209,124,.48);background:rgba(35,165,105,.14)}
body.body.avref26-home .pan-keyword-item .pan-keyword-chip{min-height:32px;padding:5px 14px;border-radius:999px;font-size:12px}
body.body.avref26-home .pan-home-search .pan-search-hint{width:100%;margin:13px auto 0;text-align:center;font-size:12px}
@media(max-width:640px){
 body.body.avref26-home .pan-home-search{padding:19px 13px 17px;border-radius:16px}
 body.body.avref26-home .pan-home-search .pan-search-label{font-size:17px;margin-bottom:14px}
 body.body.avref26-home .pan-home-title-icon{width:34px;height:34px;flex-basis:34px}
 body.body.avref26-home .pan-home-search-modes{gap:7px;margin-bottom:12px}
 body.body.avref26-home .pan-home-search-modes .pan-mode-button{min-height:40px;gap:5px;padding:0 6px;border-radius:10px;font-size:12px}
 body.body.avref26-home .pan-mode-button svg{width:16px;height:16px;flex-basis:16px}
 body.body.avref26-home .pan-home-search .pan-search-control{gap:5px;padding:4px;border-radius:12px}
 body.body.avref26-home .pan-home-search .pan-search-control input{height:44px;padding:0 7px;font-size:13px}
 body.body.avref26-home .pan-home-search .pan-search-control button{min-width:78px;min-height:43px;padding:0 10px;border-radius:9px;font-size:12px}
 body.body.avref26-home .pan-keyword-heading{gap:6px;flex-direction:column;margin-bottom:10px}
 body.body.avref26-home .pan-keyword-list{gap:7px}
 body.body.avref26-home .pan-keyword-item .pan-keyword-chip{min-height:30px;padding:4px 11px;font-size:11px}
 body.body.avref26-home .pan-home-search .pan-search-hint{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.body.avref26-home .pan-home-search *,body.body.avref26-home .pan-home-search *:before,body.body.avref26-home .pan-home-search *:after{transition:none!important;animation:none!important}}


/* 2026-11-14 聚合搜索按钮与空关键词反馈：沿用播放页复制链接提示风格 */
body.body.avref26-home .pan-home-search .pan-search-control .pan-home-submit{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;
  min-height:50px;padding:0 18px;border:1px solid rgba(93,220,157,.42);border-radius:12px;
  background:linear-gradient(135deg,#21865d,#176b4b);color:#fff;font-size:14px;font-weight:800;
  box-shadow:0 7px 18px rgba(18,115,75,.22);cursor:pointer;transition:transform .2s,filter .2s,box-shadow .2s;
}
body.body.avref26-home .pan-home-search .pan-search-control .pan-home-submit:hover{
  filter:brightness(1.12);transform:translateY(-1px);box-shadow:0 10px 22px rgba(18,115,75,.3)
}
body.body.avref26-home .pan-home-search .pan-home-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.body.avref26-home .pan-home-search .pan-home-submit-text{display:inline}
.pan-home-search-toast{
  position:fixed;left:50%;bottom:28px;z-index:999999;transform:translateX(-50%);
  padding:11px 18px;border:1px solid rgba(255,255,255,.08);border-radius:9px;
  background:rgba(25,35,50,.96);color:#fff;font-size:14px;font-weight:600;
  line-height:1.4;box-shadow:0 5px 24px rgba(0,0,0,.24);white-space:nowrap;
  animation:panSearchToastIn .2s ease-out;
}
@keyframes panSearchToastIn{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:640px){
  body.body.avref26-home .pan-home-search .pan-search-control .pan-home-submit{min-width:52px;padding:0 14px}
  body.body.avref26-home .pan-home-search .pan-home-submit-text{display:none}
  .pan-home-search-toast{bottom:22px;max-width:calc(100vw - 32px);white-space:normal;text-align:center}
}


/* ===== merged: home-random-modal-progress.css ===== */
/* 首页随机视频：紫色主题 + 浏览器原生滚动条美化 */
.home-random-trigger {
  appearance:none; -webkit-appearance:none; width:100%; text-align:left;
  color:inherit; font:inherit; cursor:pointer;
}
.home-random-trigger:focus-visible { outline:2px solid #a78bfa; outline-offset:3px; }
.home-random-modal { position:fixed; inset:0; z-index:99999; display:none; align-items:center; justify-content:center; padding:20px; }
.home-random-modal.is-open { display:flex; }
.home-random-backdrop { position:absolute; inset:0; background:rgba(8,5,18,.78); backdrop-filter:blur(8px); }
.home-random-dialog {
  position:relative; z-index:1; width:min(100%,480px); max-height:min(90vh,760px); overflow:auto;
  padding:22px; border:1px solid rgba(167,139,250,.42); border-radius:20px;
  background:linear-gradient(150deg,#211638 0%,#151023 72%,#100d1a 100%); color:#f7f3ff;
  box-shadow:0 24px 80px rgba(0,0,0,.58),0 0 0 1px rgba(167,139,250,.08);
  animation:homeRandomIn .2s ease-out;
}
@keyframes homeRandomIn { from{opacity:0;transform:translateY(12px) scale(.985)} to{opacity:1;transform:none} }
.home-random-close {
  position:absolute;top:10px;right:12px;width:36px;height:36px;border:1px solid rgba(255,255,255,.14);
  border-radius:50%;background:rgba(255,255,255,.07);color:#f7f3ff;font-size:25px;line-height:1;cursor:pointer;
}
.home-random-kicker { color:#c4b5fd;font-size:10px;font-weight:900;letter-spacing:.2em; }
.home-random-dialog h2 { margin:4px 42px 18px 0;font-size:20px;font-weight:800; }
.home-random-poster-link { position:relative;display:block;overflow:hidden;aspect-ratio:16/9;border-radius:13px;background:#0e0a18; }
.home-random-poster { display:block;width:100%;height:100%;object-fit:cover;transition:opacity .16s ease; }
.home-random-date {
  position:absolute;right:10px;bottom:10px;padding:4px 8px;border-radius:6px;
  background:rgba(0,0,0,.72);color:#fff;font-size:11px;font-weight:700;
}
.home-random-date[hidden] { display:none; }
.home-random-info { padding:14px 2px 4px; }
.home-random-video-title { display:-webkit-box;overflow:hidden;color:#f7f3ff;font-size:16px;font-weight:800;line-height:1.55;-webkit-line-clamp:2;-webkit-box-orient:vertical; }
.home-random-category { display:inline-flex;margin-top:10px;padding:4px 10px;border:1px solid rgba(167,139,250,.34);border-radius:999px;color:#c4b5fd;background:rgba(139,92,246,.13);font-size:12px; }
.home-random-actions { display:flex;gap:10px;margin-top:16px; }
.home-random-actions button,.home-random-actions a {
  display:inline-flex;flex:1;min-height:42px;align-items:center;justify-content:center;gap:6px;
  border:1px solid rgba(167,139,250,.38);border-radius:10px;font-size:13px;font-weight:800;cursor:pointer;
}
/* Only the “换一个” action is recolored. “立即观看” remains unchanged. */
.home-random-again { background:linear-gradient(135deg,#a78bfa,#7c3aed)!important;color:#fff!important;border-color:rgba(196,181,253,.65)!important; }
.home-random-again:hover { background:linear-gradient(135deg,#c4b5fd,#8b5cf6)!important; }
body.home-random-modal-open { overflow:hidden; }
.av-card.home-random-trigger,.av-card-purple.home-random-trigger {
  background:linear-gradient(135deg,#38205e,#24143f)!important;
  border:1px solid rgba(167,139,250,.48)!important;
  color:#f5efff!important;
}
.av-card.home-random-trigger:hover,.av-card-purple.home-random-trigger:hover {
  background:linear-gradient(135deg,#4a2b78,#2d1a50)!important;
  border-color:rgba(196,181,253,.75)!important;
}
.home-random-trigger .av-card-icon-purple { background:rgba(167,139,250,.18)!important;color:#c4b5fd!important; }

/* Style the browser's actual scrollbar; no extra in-page progress indicator. */
html { scrollbar-width:thin; scrollbar-color:#7654b8 #171321; }
html::-webkit-scrollbar { width:10px; }
html::-webkit-scrollbar-track { background:#171321; }
html::-webkit-scrollbar-thumb { background:linear-gradient(180deg,#a78bfa,#6941a5);border:2px solid #171321;border-radius:10px; }
html::-webkit-scrollbar-thumb:hover { background:linear-gradient(180deg,#c4b5fd,#8b5cf6); }

@media(max-width:767px) { .home-random-dialog{padding:17px;border-radius:16px} }
@media(prefers-reduced-motion:reduce) { .home-random-dialog,.home-random-poster{animation:none;transition:none} }

/* Unified surface polish: consistent spacing, borders, focus and hover feedback. */
body.body .hub-section,body.body .pan-home-search,body.body .av-card-grid,
body.body .ai-video-section,body.body .home-friend-links {
  border-radius:16px;
}
body.body .av-card,body.body .pan-home-search .pan-search-form,
body.body .pan-keyword-item,body.body .home-video-category-grid a {
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.body :where(button,a,input,select,textarea):focus-visible {
  outline:2px solid rgba(167,139,250,.8);outline-offset:3px;
}
body.body .ai-video-card,body.body .avlog-video-card {
  border-radius:12px;overflow:hidden;
}
body.body .hub-section-head,body.body .av-title-bar { gap:12px; }
@media(prefers-reduced-motion:reduce) {
  body.body *,body.body *::before,body.body *::after { scroll-behavior:auto!important;transition-duration:.01ms!important; }
}



/* 2026-11-14 requested homepage refinements */
body.body.avref26-home .home-random-open,
body.body.avref26-home .home-random-open:visited {
  border: 1px solid #24cf78 !important;
  color: #52e99a !important;
  background: rgba(20,184,107,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(36,207,120,.08);
}
body.body.avref26-home .home-random-open:hover {
  color: #06140b !important; background: #32d985 !important; border-color: #32d985 !important;
}
/* 仅将搜索框下方的说明小字设为绿色，其余搜索区域沿用原有配色 */
body.body.avref26-home .pan-home-search .pan-search-hint .pan-mode-hint { color: #55df91; }

#videos .avlog-video-item img { transition: opacity .10s ease, transform .12s ease; }
#videos .avlog-video-item img.is-switching { opacity: .45; }
#videos .hub-latest-random.is-shuffling { transition: transform .12s ease, border-color .12s ease; }

/* Final AI video card cleanup: neutralize legacy green outlines without changing content or links. */
html body.body.avref26-home #ai-videos .ai-video-card,
html body.body.avref26-home #ai-videos .ai-video-card:hover {
  border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important;
}
html body.body.avref26-home #ai-videos .ai-video-poster { border: 0 !important; box-shadow: none !important; }


/* 2026-11-14 polish: give the AI heading a comfortable left inset. */
html body.body.avref26-home #ai-videos .av-title-bar.av-ai-head {
    padding-left: 14px !important;
}
html body.body.avref26-home #ai-videos .av-ai-head-main { padding-left: 0 !important; }
html body.body.avref26-home #ai-videos .av-ai-head-title {
  display: flex; align-items: center; gap: 8px; font-size: inherit;
}
html body.body.avref26-home #ai-videos .ai-title-mark {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: inherit !important; font-weight: inherit; line-height: inherit; transform: none;
}
html body.body.avref26-home #ai-videos .av-ai-head-tip {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 6px; padding: 4px 9px;
  border: 1px solid rgba(70,205,133,.2); border-radius: 999px;
  background: rgba(32,184,106,.075); color: #8fe3b0;
  font-size: 11px; font-weight: 650; letter-spacing: .02em; line-height: 1.4;
}
html body.body.avref26-home #ai-videos .av-ai-head-tip::before {
  content: ""; width: 6px; height: 6px; flex: 0 0 6px;
  border-radius: 50%; background: #36d889; box-shadow: 0 0 8px rgba(54,216,137,.45);
}


/* Homepage mobile search-button alignment (moved out of HTML). */
@media screen and (max-width: 768px) {
    .pan-home-submit {
        display: flex !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        margin: auto !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .pan-home-submit svg {
        width: 15px !important;
        height: 15px !important;
    }

    .pan-home-submit-text {
        display: none !important;
    }
}


/* 2026-11-15 · Shared header icon consistency + homepage footer full-width repair */
html body.body .site-main-nav .site-nav-inline-icon {
  display:inline-block; width:17px; height:17px; flex:0 0 17px;
  fill:none; stroke:currentColor; stroke-width:1.65;
  stroke-linecap:round; stroke-linejoin:round; vertical-align:middle;
}
html body.body.avref26-home .av-card-book-icon {
  display:block; width:23px; height:23px; fill:none; stroke:currentColor;
  stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round;
}
/* The homepage footer is a full-bleed sibling of main, not part of the centered hub.
   Reset older 50vw/negative-margin and max-width rules that caused side gaps. */
html body.body.avref26-home { width:100% !important; max-width:none !important; }
html body.body.avref26-home > footer.footer.avref26-footer {
  position:relative !important; left:auto !important; right:auto !important;
  width:100% !important; max-width:none !important;
  margin:28px 0 0 !important; transform:none !important;
  align-self:stretch !important; box-sizing:border-box !important;
}
html body.body.avref26-home > footer.footer.avref26-footer > .footer-inner {
  width:100% !important;
  max-width:none !important; padding-inline:clamp(16px, 3vw, 48px) !important; margin-inline:auto !important;
  box-sizing:border-box !important;
}
@media (max-width:767px) {
  html body.body.avref26-home > footer.footer.avref26-footer { margin-top:20px !important; }
  html body.body.avref26-home > footer.footer.avref26-footer > .footer-inner { width:calc(100% - 24px) !important; }
}


/* 首页热门关键词首屏静态展示：HTML 已预置关键词，避免等待 JS 初始化后才出现 */
body.body.avref26-home .pan-keyword-list:empty { min-height: 0; }
body.body.avref26-home .pan-keyword-list > .pan-keyword-item > .pan-keyword-chip { text-decoration: none; }


/* 首页 ID60 图片文章列表：桌面 6 列、手机 3 列 */
.home-article-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.home-article-card { display:flex; min-width:0; flex-direction:column; gap:8px; padding:9px; border:1px solid var(--av-line,rgba(120,160,130,.18)); border-radius:12px; background:rgba(255,255,255,.025); color:inherit; text-decoration:none; transition:border-color .2s,transform .2s,background .2s; }
.home-article-card:hover { border-color:var(--fresh-green,#16a34a); background:rgba(22,163,74,.055); transform:translateY(-2px); }
.home-article-poster { display:block; overflow:hidden; width:100%; aspect-ratio:4/3; border-radius:8px; background:rgba(255,255,255,.04); }
.home-article-poster img { display:block; width:100%; height:100%; object-fit:cover; }
.home-article-card strong { display:-webkit-box; min-height:2.8em; overflow:hidden; color:var(--zy-color,#edf4ee); font-size:13px; font-weight:650; line-height:1.4; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere; }
.av-card-picture-icon { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
@media(max-width:700px) { .home-article-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; } .home-article-card { padding:6px; gap:6px; } .home-article-card strong { font-size:12px; min-height:2.8em; } }
