/* ============================================================
   tp10_dark_black — main.css
   視覺：PPTV 暗色風格，藍色主調
   功能架構：同 cms_video_hanju_white
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --accent:         #0081FF;
  --accent-hover:   #0066CC;
  --accent-grad:    linear-gradient(135deg, #0081FF 0%, #00C3FF 100%);
  --accent-muted:   rgba(0,129,255,.10);
  --text-1:         #1A1A1A;
  --text-2:         #555555;
  --text-3:         #999999;
  --bg-body:        #F2F3F5;
  --bg-page:        #FFFFFF;
  --bg-card:        #FFFFFF;
  --bg-elevated:    #F5F6F8;
  --bg-input:       #F5F5F5;
  --border:         #E5E6EB;
  --border-light:   #D4D5D9;
  --topbar-h:       64px;
  --container-w:    1280px;
  --radius:         4px;
  --radius-sm:      3px;
  --shadow-card:    0 2px 8px rgba(0,0,0,.08);
  --rank-1:         #FFB800;
  --rank-2:         #909090;
  --rank-3:         #C07840;
  --score-mid:      #85c13a;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-body); color: var(--text-1); min-height: 100%; }
body { font-family: "PingFang SC","Microsoft YaHei",Arial,sans-serif; font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent); transition: .15s ease-in-out; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
iconify-icon { display: inline-flex; align-items: center; vertical-align: middle; }
input, select, textarea { font-family: inherit; }

/* ===== Page Shell ===== */
.page-shell { min-height: 100vh; }
.main-area  { min-height: 100vh; display: flex; flex-direction: column; }
.page-content { flex: 1; padding-top: var(--topbar-h); }

/* ===== Container ===== */
.warp { }
.container { width: var(--container-w); max-width: 100%; margin: 0 auto; padding: 0 16px; }

/* ===== Two-column layout ===== */
.page-body {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0 40px;
}
.main-inner { flex: 1; min-width: 0; }
.mian-sidebar { width: 300px; flex-shrink: 0; }
.main-inner > *:first-child,
.mian-sidebar > *:first-child { margin-top: 0; }

/* ===== PPTV Header ===== */
.pptv-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.pptv-header-inner {
  width: var(--container-w); max-width: 100%;
  margin: 0 auto; padding: 0 16px;
  height: 100%;
  display: flex; align-items: center; gap: 0;
}

/* Logo */
.pptv-logo {
  flex-shrink: 0; padding-right: 6px;
  display: flex; align-items: center;
}
.pptv-logo-img { height: 36px; width: auto; }

/* 频道 dropdown trigger */
.pptv-channel-btn {
  display: flex; align-items: center; gap: 4px;
  height: var(--topbar-h); padding: 0 14px;
  font-size: 14px; font-weight: 600; color: var(--text-1);
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: color .15s;
}
.pptv-channel-btn:hover { color: var(--accent); }
.pptv-channel-btn.is-open { color: var(--accent); }
.pptv-channel-btn iconify-icon { font-size: 12px; transition: transform .2s; }
.pptv-channel-btn.is-open .pptv-channel-caret { transform: rotate(180deg); }
/* tablet: reset sticky :hover only when dropdown is closed */
@media (hover: none) {
  .pptv-channel-btn:not(.is-open):hover { color: var(--text-1); }
}

/* 频道下拉面板 */
.pptv-channel-drop {
  display: none;
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 199;
  padding: 20px 0;
}
.pptv-channel-drop.is-open { display: block; }
.pptv-channel-drop-inner {
  width: var(--container-w); max-width: 100%;
  margin: 0 auto; padding: 0 16px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.pptv-chdrop-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 14px; color: var(--text-1);
  white-space: nowrap; transition: color .15s;
}
.pptv-chdrop-item:hover { color: var(--accent); }
.pptv-chdrop-item iconify-icon { font-size: 18px; color: var(--accent); }

/* Desktop search bar — centered */
.pptv-search {
  flex: 1; max-width: 640px;
  margin: 0 20px;
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex; align-items: center;
  overflow: hidden; position: relative;
}

.pptv-search input {
  flex: 1; height: 100%; padding: 0 16px;
  border: none; outline: none;
  background: transparent; color: var(--text-1); font-size: 14px;
}
.pptv-search input::placeholder { color: var(--text-3); }
.pptv-search-btn {
  height: 36px; padding: 0 20px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  border-radius: 0 18px 18px 0;
  display: flex; align-items: center; gap: 4px;
  transition: background .15s;
}
.pptv-search-btn:hover { background: var(--accent-hover); }

/* Right action area */
.pptv-actions {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; flex-shrink: 0;
}
.pptv-action-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 0 10px; height: var(--topbar-h);
  justify-content: center; cursor: pointer;
  font-size: 11px; color: var(--text-2);
  transition: color .15s; white-space: nowrap;
}
.pptv-action-btn iconify-icon { font-size: 20px; }
.pptv-action-btn:hover { color: var(--accent); }
.pptv-action-btn--vip {
  color: #FFB200; padding: 0 10px;
}
.pptv-action-btn--vip:hover { color: #FFD84D; }
.pptv-action-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  margin-left: 6px; cursor: pointer;
}
.pptv-action-avatar iconify-icon { font-size: 24px; color: var(--text-3); }

/* Mobile hamburger */
.pptv-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: var(--text-2); font-size: 22px;
  margin-left: 8px;
}

/* ===== Mobile Nav Drawer ===== */
.mob-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 300;
}
.mob-nav-overlay.is-open { display: block; }
.mob-nav-drawer {
  position: fixed; top: 0; left: -280px; bottom: 0;
  width: 280px; background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 310; transition: left .3s ease;
  overflow-y: auto;
}
.mob-nav-drawer.is-open { left: 0; }
.mnd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.mnd-title { font-size: 16px; font-weight: 700; }
.mnd-close { font-size: 22px; color: var(--text-2); }
.mnd-nav { padding: 8px 0; }
.mnd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 15px; color: var(--text-1);
  transition: .15s; border-left: 3px solid transparent;
}
.mnd-item:hover, .mnd-item.is-active { color: var(--accent); background: var(--accent-muted); border-left-color: var(--accent); }

/* ===== Search Overlay (mobile) ===== */
.search-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--bg-card); z-index: 400;
}
.search-overlay.is-open { display: flex; flex-direction: column; }
.search-overlay-inner { padding: 12px 16px; }
.search-bar-row { display: flex; align-items: center; gap: 10px; }
.search-bar {
  flex: 1; display: flex; align-items: center;
  height: 40px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.search-bar-icon { font-size: 18px; color: var(--text-3); margin: 0 10px; flex-shrink: 0; }
.search-bar input {
  flex: 1; height: 100%; border: none; outline: none;
  background: transparent; color: var(--text-1); font-size: 15px;
}
.search-submit-btn {
  padding: 0 16px; height: 40px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
}
.search-close-btn { font-size: 22px; color: var(--text-2); flex-shrink: 0; }
.search-hot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-label { font-size: 13px; color: var(--text-3); width: 100%; }
.sh-tag {
  padding: 5px 14px; background: var(--bg-elevated);
  border-radius: 20px; font-size: 13px; color: var(--text-2);
  transition: .15s;
}
.sh-tag:hover { background: var(--accent); color: #fff; }

/* ===== History Modal ===== */
.hm-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); z-index: 500;
  align-items: center; justify-content: center;
}
.hm-overlay.is-open { display: flex; }
.hm-box {
  width: 90%; max-width: 760px; max-height: 80vh;
  background: var(--bg-card); border-radius: 8px;
  display: flex; flex-direction: column;
}
.hm-header {
  display: flex; align-items: center; padding: 14px 20px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.hm-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }
.hm-clear { font-size: 13px; color: var(--text-3); }
.hm-clear:hover { color: var(--accent); }
.hm-close { font-size: 20px; color: var(--text-3); }
.hm-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.hm-card { flex: 0 0 calc((100% - 50px) / 6); min-width: 0; display: block; text-decoration: none; color: var(--text-1); }
.hm-thumb { position: relative; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden; background: var(--bg-elevated); }
.hm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.hm-card:hover .hm-thumb img { transform: scale(1.04); }
.hm-card:hover .hm-name { color: var(--accent); }
.hm-name { margin-top: 5px; font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.hm-empty { width: 100%; text-align: center; padding: 36px 0; color: var(--text-3); font-size: 13px; }

/* ===== Module: .mod ===== */
.mod {
  padding: 20px; background: var(--bg-card);
  border-radius: var(--radius);
}
.mod + .mod, .mod + .mod-inner, .mod-inner + .mod,
.mod-inner + .mod-inner, .margin-t-20 { margin-top: 20px; }

/* Section header */
.mod-head { display: flex; align-items: center; margin-bottom: 16px; }
.mod-head-title {
  flex: 1; padding-left: 14px; position: relative;
}
.mod-head-title::before {
  content: ""; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; background: var(--accent); border-radius: 1px;
}
.mod-head-name { font-size: 17px; font-weight: 700; color: var(--text-1); }
.mod-head-more { font-size: 13px; color: var(--accent); flex-shrink: 0; }
.mod-head-more:hover { text-decoration: underline; }
.mod-head-today { font-size: 13px; color: var(--text-2); margin-left: auto; margin-right: 12px; flex-shrink: 0; }
.mod-head-today em { color: var(--accent); font-style: normal; font-weight: 700; }

/* Tab list */
.mod-author-list { display: flex; gap: 8px; flex: 1; margin-left: 16px; }
.mod-author-list li {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px;
  background: var(--bg-elevated); border-radius: 13px;
  font-size: 13px; cursor: pointer; transition: .15s; color: var(--text-2);
}
.mod-author-list li:hover,
.mod-author-list li.active { color: #fff; background: var(--accent); }

/* .mod-inner */
.mod-inner { background: var(--bg-card); padding: 20px; border-radius: var(--radius); }
.mod-inner-head { display: flex; align-items: center; margin-bottom: 14px; }
.mod-inner-name {
  font-size: 17px; font-weight: 700; color: var(--text-1);
  padding-left: 12px; position: relative;
}
.mod-inner-name::before {
  content: ""; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; background: var(--accent); border-radius: 1px;
}
.mod-inner-more {
  margin-left: auto; font-size: 13px; color: var(--accent); font-weight: 600;
  flex-shrink: 0; text-decoration: none; transition: opacity .15s;
}
.mod-inner-more:hover { opacity: .75; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 4px; }

/* ===== VOD Grid ===== */
.video-film-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 12px;
}
.video-film-list--6col { grid-template-columns: repeat(6, 1fr); }

/* ===== Hot Featured Block (首頁热点資訊) ===== */
.hot-block { display: flex; gap: 14px; height: 350px; }
.hot-feat-card {
  flex-shrink: 0; width: 220px;
  display: block; position: relative; overflow: hidden;
  border-radius: var(--radius); text-decoration: none;
  background: var(--bg-elevated);
}
.hot-feat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transition: transform .35s ease;
}
.hot-feat-card:hover img { transform: scale(1.05); }
.hot-feat-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.hot-feat-name { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.3; display: block; }
.hot-grid {
  flex: 1; display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px 12px;
  list-style: none; padding: 0; margin: 0;
}
/* grid 內 card 固定縮圖高度，不受副標題有無影響 */
.hot-grid .video-item { display: flex; flex-direction: column; min-height: 0; }
.hot-grid .video-cover { aspect-ratio: unset; height: 115px; flex: none; }
.hot-grid .video-con { flex-shrink: 0; padding: 4px 0; }
@media (max-width: 767px) {
  .hot-block { height: auto; }
  .hot-feat-card { display: none; }
  .hot-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 10px 8px; }
  .hot-grid .video-cover { aspect-ratio: 2/3; flex: unset; }
  .hot-grid .video-con { padding: unset; }
}
/* ================================ */
.video-item { position: relative; min-width: 0; }
.video-cover {
  display: block; position: relative; overflow: hidden;
  background: var(--bg-elevated); border-radius: var(--radius);
  aspect-ratio: 2/3;
}
.video-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .35s ease;
}
.video-item:hover .video-cover img { transform: scale(1.07); }
.video-mask {
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.8) 100%);
  pointer-events: none; z-index: 1;
}
.video-badge-tl { position: absolute; top: 0; left: 0; display: flex; gap: 4px; z-index: 2; }
.vbadge { padding: 3px 7px; font-size: 10px; font-weight: 700; line-height: 1.5; }
.vbadge--year { background: rgba(0,0,0,.65); color: rgba(255,255,255,.85); border-radius: 0 0 var(--radius-sm) 0; }
.vbadge--type { background: var(--accent); color: #fff; border-radius: 0 0 var(--radius-sm) 0; }
.video-duration {
  position: absolute; right: 6px; bottom: 6px;
  height: 20px; line-height: 20px; padding: 0 6px;
  color: #fff; font-size: 12px; z-index: 2;
}
.video-tips {
  position: absolute; top: 0; right: 0;
  padding: 0 6px; height: 20px; line-height: 20px;
  font-size: 11px; color: #fff;
  border-radius: 0 var(--radius) 0 var(--radius); z-index: 3;
}
.video-tips.red   { background: linear-gradient(to left, #e50914 0, #ff6b35 100%); }
.video-tips.blue  { background: linear-gradient(to left, #0081FF 0, #00C3FF 100%); }
.video-tips.green { background: linear-gradient(to left, #2DD671 0, #58E08E 100%); }
.video-cover::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.30); opacity: 0; transition: opacity .22s; z-index: 2;
}
.video-item:hover .video-cover::after { opacity: 1; }
.video-play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; z-index: 3;
  opacity: 0; transition: opacity .22s;
  box-shadow: 0 0 0 6px rgba(0,129,255,.25);
}
.video-item:hover .video-play-icon { opacity: 1; }
.video-con { margin-top: 7px; }
.video-con-tit {
  font-size: 13px; font-weight: 600; color: var(--text-1);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s;
}
.video-item:hover .video-con-tit { color: var(--accent); }
.video-con-subtitle {
  font-size: 11px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px;
}

/* ===== Mini film list ===== */
.video-mini-film-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px 10px;
}
.video-mini-film-list .video-cover { aspect-ratio: 2/3; border-radius: var(--radius); }

/* ===== Sidebar slide-grid ===== */
.slide-grid { background: var(--bg-card); padding: 16px 14px; border-radius: var(--radius); }
.slide-grid + .slide-grid { margin-top: 16px; }
.slide-grid-title { padding-left: 12px; position: relative; margin-bottom: 10px; }
.slide-grid-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; background: var(--accent); border-radius: 1px;
}
.slide-grid-name { font-size: 15px; font-weight: 700; color: var(--text-1); }
.recent-tag-lists { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.recent-tag-lists a {
  display: inline-block; padding: 3px 10px;
  background: var(--bg-elevated); border-radius: 2px;
  font-size: 12px; font-weight: 700; color: var(--text-2); transition: .15s;
}
.recent-tag-lists a:hover { color: #fff; background: var(--accent); }

/* ===== Search result ===== */
.film-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.film-item .img {
  flex-shrink: 0; width: 90px; height: 126px;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated);
}
.film-item .img img { width: 100%; height: 100%; object-fit: cover; }
.film-item .info { flex: 1; min-width: 0; }
.film-item .title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.film-item .title a:hover { color: var(--accent); }
.film-item .des p { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.film-item .des label { color: var(--text-3); }
.film-item .btn {
  display: inline-flex; align-items: center; margin-top: 10px;
  padding: 6px 16px; background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 13px; font-weight: 600; transition: .15s;
}
.film-item .btn:hover { background: var(--accent-hover); color: #fff; }

/* ===== VOD Detail ===== */
.detail { background: var(--bg-card); padding: 20px; border-radius: var(--radius); }
.detail-main { display: flex; gap: 20px; }
.detail-main-left { flex-shrink: 0; width: 200px; }
.detail-main-left .cover {
  position: relative; width: 200px; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-elevated);
}
.detail-main-left .cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.detail-main-left label { display: block; margin-top: 8px; text-align: center; font-size: 12px; color: var(--text-3); }
.detail-main-right { flex: 1; min-width: 0; }
.detail-main-right h1 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.intro p { font-size: 13px; color: var(--text-2); line-height: 2; }
.intro label.color-9 { color: var(--text-3); }
.intro-desc { margin-top: 10px; font-size: 13px; color: var(--text-2); line-height: 1.8; }
.detail-main-btn { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.detail-main-btn .btn {
  display: inline-flex; align-items: center;
  padding: 9px 24px; background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 14px; font-weight: 700;
  transition: .15s; text-decoration: none; cursor: pointer; border: none;
}
.detail-main-btn .btn:hover { background: var(--accent-hover); color: #fff; }
.detail-main-btn .btn-dl {
  background: var(--accent-muted); color: var(--accent); border: 1px solid var(--accent);
}
.detail-main-btn .btn-dl:hover { background: var(--accent); color: #fff; }
.detail-main-btn .btn-share {
  background: var(--bg-elevated); color: var(--text-2); border: 1px solid var(--border);
}
.detail-main-btn .btn-share:hover { color: var(--accent); border-color: var(--accent); }

/* Episode buttons */
.tv-info-list ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tv-info-list li a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 0; width: 72px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; color: var(--text-2); transition: .15s;
}
.tv-info-list li a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-muted); }
.tv-info-list li a.cur { color: var(--accent); border-color: var(--accent); font-weight: 700; }

/* ===== Play page ===== */
.tvplay { background: #000; }
.tvplay .inner-main { position: relative; aspect-ratio: 16/9; background: #000; }
.tvplay .inner-main > iframe,
.tvplay .inner-main > div { position: absolute; inset: 0; width: 100%; height: 100%; }
.filmplay-info { padding: 12px 0; }
.filmplay-info-common .title { font-size: 20px; font-weight: 700; }
.filmplay-info-desc { margin-top: 8px; font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ===== Filter / Show page ===== */
.mod-screen { padding: 4px 0 12px; }
.mod-screen-item { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.mod-screen-label { font-size: 13px; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }
.mod-screen-list { display: flex; flex-wrap: wrap; gap: 4px; }
.mod-screen-link {
  padding: 3px 10px; border-radius: var(--radius);
  font-size: 13px; color: var(--text-2); transition: .15s;
}
.mod-screen-link:hover { color: var(--accent); background: var(--accent-muted); }
.mod-screen-link.cur { color: #fff; background: var(--accent); }

/* Sticky filter bar */
.vod-show-sticky {
  position: sticky; top: var(--topbar-h); z-index: 100;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

/* ===== Hero Banner — PPTV style ===== */
.pptv-hero {
  display: flex; height: 450px; max-height: 520px;
  background: var(--bg-body);
  position: relative;
}
.pptv-hero-slides {
  flex: 1; width: 100%; height: 100%; position: relative; overflow: hidden; min-width: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 50%, transparent 100%),
              linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
}
.hero-content {
  position: absolute; bottom: 30px; left: 30px; z-index: 2; max-width: 55%;
}
.hero-badges { display: flex; gap: 6px; margin-bottom: 10px; }
.hb {
  display: inline-block; padding: 2px 8px;
  border-radius: 2px; font-size: 11px; font-weight: 700;
}
.hb--year { background: var(--accent); color: #fff; }
.hb--area { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.3); }
.hero-title { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-meta { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; line-height: 1.5; }
.hero-btns { display: flex; gap: 10px; }
.hero-play-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; background: var(--accent); color: #fff;
  border-radius: 4px; font-size: 14px; font-weight: 700;
  transition: background .15s;
}
.hero-play-btn:hover { background: var(--accent-hover); color: #fff; }
.hero-detail-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 4px;
  font-size: 14px; transition: background .15s;
}
.hero-detail-btn:hover { background: rgba(255,255,255,.25); color: #fff; }

/* Hero controls */
.hero-arrow {
  position: absolute; top: 50%; z-index: 9;
  transform: translateY(-50%);
  width: 36px; height: 48px; background: rgba(0,0,0,.4);
  color: #fff; font-size: 18px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.pptv-hero-slides:hover .hero-arrow { opacity: 1; }
.hero-arrow--prev { left: 0; border-radius: 0 2px 2px 0; }
.hero-arrow--next { right: 0; border-radius: 2px 0 0 2px; }
.hero-arrow:hover { background: rgba(0,0,0,.7); }
.hero-dots {
  position: absolute; bottom: 10px; right: 12px; z-index: 3;
  display: flex; gap: 5px;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4); transition: .2s;
}
.hero-dot.is-active { background: var(--accent); width: 20px; border-radius: 3px; }

/* ===== PPTV Hero Right Panel ===== */
.pptv-hero-panel {
  position: absolute; bottom: 0; right: 10px;
  width: 300px; height: 450px;
  background: rgba(1,2,2,.41);
  display: flex; flex-direction: column; overflow: hidden;
  box-sizing: border-box;
  z-index: 8;
}
.pptv-hero-panel-hd {
  padding: 10px 14px; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.05);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.pptv-hero-panel-hd iconify-icon { color: #FF6B35; }
.pptv-hero-panel-list { flex: 1; overflow-y: auto; }
.php-item {
  display: block; padding: 8px 14px;
  font-size: 13px; color: rgba(255,255,255,.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-left: 3px solid transparent; transition: .15s;
}
.php-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.php-item.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-muted); font-weight: 700; }

/* ===== PPTV Category Strip ===== */
.pptv-catstrip {
  display: flex;
  background: #F6F7F9;
  border-bottom: 1px solid var(--border);
}
.pptv-catstrip-body {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  row-gap: 2px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 4px 16px;
  width: 100%;
}
.pptv-catcell {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-top-left-radius: 13px;
  border-bottom-right-radius: 25px;
  box-sizing: border-box;
  min-width: 0;
}
.pptv-catcell-main {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 700; color: var(--text-1);
  white-space: nowrap; transition: color .15s;
  flex: 0 0 88px;
}
.pptv-catcell-main:hover { color: var(--accent); }
.pptv-catcell-main iconify-icon { font-size: 18px; color: var(--accent); }
.pptv-catcell-subs { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.pptv-catcell-subs a {
  flex: 0 0 auto;
  min-width: 52px;
  text-align: center;
  font-size: 12px; color: var(--text-3); padding: 2px 6px;
  border-radius: 2px; transition: .15s; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.pptv-catcell-subs a:hover { color: var(--accent); background: var(--accent-muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 24px 0; text-align: center;
  color: var(--text-3); font-size: 13px;
}
.site-footer p { margin: 4px 0; line-height: 1.8; }
.site-footer a { color: var(--text-3); transition: color .15s; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 10px 0; }

/* ===== FAB ===== */
.fab-group {
  position: fixed; right: 20px; bottom: 80px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px;
}
.fab-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-2); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.fab-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.fab-qr-popup {
  display: none; position: fixed; right: 70px; bottom: 120px; z-index: 101;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px; text-align: center;
  font-size: 13px; color: var(--text-2); box-shadow: var(--shadow-card);
}
.fab-qr-popup img { width: 100px; height: 100px; margin: 8px auto 0; }

/* ===== Mobile tabbar ===== */
.mobile-tabbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  height: 56px; background: var(--bg-card);
  border-top: 1px solid var(--border); z-index: 150;
  justify-content: space-around; align-items: center;
}
.mtb-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  font-size: 11px; color: var(--text-3); padding: 6px 0;
  transition: color .15s;
}
.mtb-item iconify-icon { font-size: 22px; }
.mtb-item:hover, .mtb-item.is-active { color: var(--accent); }

/* ===== Login / Logout Modal ===== */
.login-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); z-index: 600;
  align-items: center; justify-content: center;
}
.login-modal-overlay.is-open { display: flex; }
.login-modal-box {
  width: 360px; background: var(--bg-card);
  border-radius: 8px; overflow: hidden; position: relative;
}
.login-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.login-modal-title { font-size: 16px; font-weight: 700; }
.modal-close-btn { font-size: 20px; color: var(--text-3); }
.login-modal-body { padding: 24px 20px; }
.login-form-group { margin-bottom: 14px; }
.login-form-group label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.login-form-group input {
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-1); font-size: 14px; outline: none;
}
.login-form-group input:focus { border-color: var(--accent); }
.login-submit {
  width: 100%; height: 42px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .15s; border: none;
}
.login-submit:hover { background: var(--accent-hover); }
.login-footer-links { margin-top: 12px; display: flex; justify-content: space-between; font-size: 13px; }
.login-footer-links a { color: var(--text-3); }
.login-footer-links a:hover { color: var(--accent); }

/* ===== Rank Widget ===== */
.rank-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rank-col { }
.rank-col-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--text-1);
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.rank-top-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 10px;
}
.rank-top-cover {
  flex-shrink: 0; width: 72px; border-radius: var(--radius);
  overflow: hidden; position: relative; aspect-ratio: 2/3;
  background: var(--bg-elevated);
}
.rank-top-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-top-crown { position: absolute; top: 4px; left: 4px; font-size: 15px; color: #F0B429; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.rank-top-info { flex: 1; min-width: 0; }
.rank-top-num {
  font-size: 22px; font-weight: 900; line-height: 1;
  color: var(--rank-1); margin-bottom: 4px;
}
.rank-top-name {
  font-size: 13px; font-weight: 700; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-top-meta { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.rank-top-status { font-size: 11px; color: var(--score-mid, #85c13a); margin-top: 2px; }
.rank-top-hits { font-size: 12px; color: var(--accent); margin-top: 5px; display: flex; align-items: center; gap: 3px; }
.rank-list-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.rank-list-item:last-child { border-bottom: none; }
.rank-num {
  width: 20px; text-align: center; font-size: 13px; font-weight: 700;
  flex-shrink: 0; color: var(--text-3);
}
.rank-num.is-1 { color: var(--rank-1); }
.rank-num.is-2 { color: var(--rank-2); }
.rank-num.is-3 { color: var(--rank-3); }
.rank-name {
  flex: 1; min-width: 0;
  font-size: 13px; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-name:hover { color: var(--accent); }
.rank-hits { font-size: 12px; color: var(--text-3); flex-shrink: 0; }
.rank-more { display: block; text-align: center; font-size: 13px; color: var(--accent); margin-top: 8px; }
.rank-more:hover { text-decoration: underline; }
/* sidebar rank — vod/play, vod/detail */
.rank-col-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.rank-col-more { font-size: 12px; font-weight: 400; color: var(--accent); margin-left: auto; }
.rank-col-more:hover { text-decoration: underline; }
.rank-top1 { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; text-decoration: none; }
.rt1-thumb { flex-shrink: 0; width: 90px; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 2/3; background: var(--bg-elevated); }
.rt1-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt1-crown { position: absolute; top: 4px; left: 4px; font-size: 15px; color: #F0B429; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.rt1-info { flex: 1; min-width: 0; }
.rt1-name { font-size: 13px; font-weight: 700; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 4px; display: block; }
.rt1-meta { font-size: 11px; color: var(--text-3); margin: 0 0 2px; }
.rt1-status { font-size: 11px; color: var(--score-mid, #85c13a); margin: 0 0 4px; }
.rt1-hits { font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 3px; }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-li { border-bottom: 1px solid var(--border); }
.rank-li:last-child { border-bottom: none; }
.rank-li-inner { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; }
.rl-num { width: 20px; text-align: center; font-size: 13px; font-weight: 700; flex-shrink: 0; color: var(--text-3); }
.rl-num--gold { color: var(--rank-1, #f5a623); }
.rl-num--silver { color: var(--rank-2, #9e9e9e); }
.rl-num--bronze { color: var(--rank-3, #cd7f32); }
.rl-name { flex: 1; min-width: 0; font-size: 13px; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.rank-li-inner:hover .rl-name { color: var(--accent); }
.rl-hits { font-size: 12px; color: var(--text-3); flex-shrink: 0; }

/* ===== Art card ===== */
.art-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.art-card { display: flex; gap: 10px; align-items: flex-start; }
.art-card-cover { flex-shrink: 0; width: 80px; height: 54px; border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated); }
.art-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-card-info { flex: 1; min-width: 0; }
.art-card-title {
  font-size: 13px; font-weight: 600; color: var(--text-1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.art-card-title:hover { color: var(--accent); }
.art-card-meta { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ===== Topic card ===== */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topic-card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); transition: transform .2s; }
.topic-card:hover { transform: translateY(-2px); }
.topic-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.topic-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.topic-card:hover .topic-card-thumb img { transform: scale(1.05); }
.topic-card-name {
  padding: 8px 10px;
  font-size: 13px; font-weight: 600; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s;
}
.topic-card:hover .topic-card-name { color: var(--accent); }
.sidebar-topic-grid { display: flex; flex-direction: column; gap: 10px; }
.topic-card-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .2s; font-size: 24px; color: #fff; }
.topic-card:hover .topic-card-overlay { opacity: 1; }
.topic-card-count { position: absolute; bottom: 6px; right: 6px; font-size: 11px; color: #fff; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 3px; }
.topic-card-body { padding: 6px 10px; }
.topic-card-title { font-size: 13px; font-weight: 600; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; transition: color .15s; }
.topic-card:hover .topic-card-title { color: var(--accent); }

/* ===== Actor card ===== */
.actor-card { text-align: center; }
.actor-card-cover {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1/1;
  background: var(--bg-elevated); margin-bottom: 6px;
}
.actor-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.actor-card-name { font-size: 13px; color: var(--text-1); }

/* ===== Comment ===== */
.comment-form { margin-bottom: 20px; }
.comment-form textarea {
  width: 100%; height: 80px; padding: 10px 12px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-1); font-size: 14px;
  resize: vertical; outline: none;
}
.comment-form textarea:focus { border-color: var(--accent); }
.comment-submit {
  margin-top: 8px; padding: 8px 24px;
  background: var(--accent); color: #fff; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.comment-submit:hover { background: var(--accent-hover); }
.comment-list { }
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-meta { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.comment-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: var(--text-2); transition: .15s;
}
.page-btn:hover { color: var(--accent); border-color: var(--accent); }
.page-btn.cur { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ===== Content-block animate ===== */
.content-block.will-observe { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.content-block.will-observe.is-visible { opacity: 1; transform: none; }

/* ===== Utility ===== */
.ellipsis-1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ellipsis-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.clearfix::after { content: ""; display: table; clear: both; }
.shadow { box-shadow: var(--shadow-card); }
.color-9 { color: var(--text-3); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border-light, #3A3A50); border-radius: 3px; }

/* ===== Index: hero 延伸至 header 後方，header 半透明 ===== */
.page-index .page-content { padding-top: 0; }
.page-index .pptv-header {
  background: rgba(0,0,0,.1);
  background-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(25,24,40,.35) 100%);
  border-bottom: none;
  box-shadow: 0 28px 50px rgba(25,24,40,.35);
}
.page-index .pptv-channel-btn,
.page-index .pptv-action-btn { color: rgba(255,255,255,.85); }
.page-index .pptv-channel-btn:hover,
.page-index .pptv-action-btn:hover { color: #fff; }
.page-index .pptv-search {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.page-index .pptv-search input { color: #fff; }
.page-index .pptv-search input::placeholder { color: rgba(255,255,255,.5); }
/* panel 從 header 底部起算，不被遮住 */
.page-index .pptv-hero-panel { top: var(--topbar-h); height: auto; bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --container-w: 100%; }
  .pptv-search { max-width: 320px; }
  .pptv-action-btn span { display: none; }
  .rank-home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  :root { --topbar-h: 54px; }
  .pptv-search { display: none; }
  .pptv-channel-btn { display: none; }
  .pptv-action-btn:not(.pptv-action-btn--hist):not(.pptv-action-btn--login) { display: none; }
  .pptv-hamburger { display: flex !important; }
  #searchToggle { display: flex !important; }
  .pptv-hero { flex-direction: column; height: auto; position: relative; }
  .pptv-hero-slides { height: 220px; flex: none; }
  .pptv-hero-panel { width: 100%; height: 120px; flex-direction: row; }
  .pptv-hero-panel-list { display: flex; overflow-x: auto; overflow-y: hidden; flex-direction: row; }
  .php-item { white-space: nowrap; padding: 8px 12px; border-left: none; border-bottom: 3px solid transparent; }
  .php-item.is-active { border-bottom-color: var(--accent); border-left: none; }
  .mobile-tabbar { display: flex; }
  .page-content { padding-bottom: 56px; }
  .video-film-list { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
  .pptv-catstrip-inner { flex-wrap: nowrap; overflow-x: auto; }
  .pptv-catcell { padding: 8px 12px 8px 0; }
  .rank-home-grid { grid-template-columns: repeat(2, 1fr); }
  .art-home-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .page-body { flex-direction: column; }
  .mian-sidebar { width: 100%; }
  /* 防止 wide content 把 flex column 往外撐 */
  .main-inner { max-width: calc(100vw - 32px); }
  .detail-main { flex-direction: column; }
  .detail-main-left { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .detail-main-left .cover { width: 160px; }
  .detail-main-right { width: 100%; }
  .pptv-hero-panel { display: none; }
  .hero-content { max-width: 90%; left: 16px; }
  .hero-title { font-size: 20px; }
  /* 手機版 index：banner 在 header 之下，header 恢復不透明 */
  .page-index .page-content { padding-top: var(--topbar-h); }
  .page-index .pptv-header { background: var(--bg-card); border-bottom: 1px solid var(--border); }
  .page-index .pptv-action-btn { color: var(--text-2); }
  /* 隱藏播放/詳情按鈕，整個 slide onclick → vod/detail */
  .page-index .hero-btns { display: none; }
  .page-index .hero-badges { display: none; }
  .page-index .hero-meta { display: none; }
  .page-index .hero-slide { cursor: pointer; }
}
@media (max-width: 480px) {
  .video-film-list { grid-template-columns: repeat(3, 1fr); }
  .art-home-grid, .topic-grid { grid-template-columns: 1fr; }
  .rank-home-grid { grid-template-columns: 1fr; }
  .rank-top-cover { width: 110px; }
  .rank-top-name { font-size: 14px; }
  .hm-card { flex: 0 0 calc((100% - 20px) / 3); }
}

/* ===== 資訊列表 art/type ===== */
.art-list { display: flex; flex-direction: column; }
.art-list-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.art-list-item:last-child { border-bottom: none; }
.ali-thumb { flex-shrink: 0; width: 140px; }
.ali-thumb a { display: block; }
.ali-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.ali-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ali-title { font-size: 15px; font-weight: 700; color: var(--text-1); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ali-title:hover { color: var(--accent); }
.ali-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.ali-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); }
.ali-meta iconify-icon { font-size: 13px; vertical-align: -2px; }
@media (max-width: 480px) {
  .ali-thumb { width: 100px; }
  .ali-title { font-size: 13px; }
}

/* ===== 廣告區塊 ===== */
.site-ad {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.site-ad::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
}
.site-ad--sidebar { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 18px; text-align: left; }
.site-ad--sidebar .site-ad-body { flex: 1; min-width: 0; }
.site-ad-label { display: inline-block; font-size: 9px; color: var(--accent); margin-bottom: 2px; letter-spacing: 1px; text-transform: uppercase; }
.site-ad-title { font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 2px; }
.site-ad-desc { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.site-ad-btn { display: inline-flex; align-items: center; flex-shrink: 0; padding: 5px 12px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; white-space: nowrap; transition: .18s; text-decoration: none; }
.site-ad-btn:hover { opacity: 0.85; color: #fff; }
