/* =========================================================
   MACCMS10 影视模板（第五十二套） - style.css
   tk- 钛黑赛博 · 午夜霓虹（深黑 + 钛金属 + 橙红霓虹，与前51套完全不同）
   单行式头部：Logo + 滑动下划线导航 + 搜索 + 汉堡（汉堡最右）
   汉堡=全屏分类网格菜单（大色块）；焦点区=大图轮播 + 霓虹进度条指示器
   详情页=剧场式影讯卡（幕布渐变）；选集=方形大块网格；页脚=胶囊标签页脚
   ========================================================= */
:root {
  --tk-bg: #0a0a0f;          /* 钛黑底 */
  --tk-card: #14141c;        /* 钛灰卡片 */
  --tk-line: #26262e;        /* 分隔线 */
  --tk-ink: #f5f5f7;         /* 主文字 */
  --tk-sub: #8a8a96;         /* 次要文字 */
  --tk-red: #ff2d55;         /* 霓虹红 */
  --tk-orange: #ff9500;      /* 霓虹橙 */
  --tk-glow: #ffe4e6;        /* 淡红高光 */
  --tk-grad: linear-gradient(120deg, #ff9500, #ff2d55);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  background: var(--tk-bg);
  color: var(--tk-ink);
  font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { border: 0; display: block; }
em, i, b { font-style: normal; }

/* ---------- 容器 ---------- */
.tk-shell { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.tk-main { min-height: 62vh; }

/* ---------- 单行式头部（饱满胶囊导航 + 底部霓虹线 + 汉堡最右） ---------- */
.tk-head {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(10,10,15,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tk-line);
  box-shadow: 0 1px 0 rgba(255,45,85,.18), 0 8px 30px rgba(0,0,0,.35);
}
.tk-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,45,85,.65), rgba(255,149,0,.65), transparent);
  pointer-events: none;
}
.tk-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.tk-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--tk-ink);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.tk-logo-i {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  line-height: 42px;
  box-shadow: 0 0 22px rgba(255,45,85,.55);
}
.tk-logo-t { color: var(--tk-ink); }
.tk-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tk-nav::-webkit-scrollbar { display: none; }
.tk-nav a {
  position: relative;
  padding: 14px 22px;
  margin: 2px 0;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  color: var(--tk-sub);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .25s ease, background .25s ease;
}
.tk-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--tk-grad);
  transform: translateX(-50%);
  transition: width .28s ease;
}
.tk-nav a:hover,
.tk-nav a.is-on {
  color: #fff;
  background: rgba(255,45,85,.14);
}
.tk-nav a:hover::after,
.tk-nav a.is-on::after { width: 28px; }
.tk-find {
  display: flex;
  border: 1px solid var(--tk-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--tk-card);
  flex-shrink: 0;
}
.tk-find-input {
  width: 200px;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: var(--tk-ink);
  font-size: 14px;
  outline: none;
}
.tk-find-go {
  padding: 11px 22px;
  border: 0;
  background: var(--tk-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.tk-find-go:hover { filter: brightness(1.1); }
.tk-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid var(--tk-line);
  border-radius: 12px;
  background: var(--tk-card);
  cursor: pointer;
  flex-shrink: 0;
}
.tk-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--tk-ink);
  transition: transform .25s, opacity .25s;
}
.tk-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tk-burger.is-open span:nth-child(2) { opacity: 0; }
.tk-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 全屏分类网格菜单（汉堡新模式：全屏面板 + 大色块网格） ---------- */
.tk-gridmask {
  position: fixed;
  inset: 0;
  background: rgba(5,5,9,.6);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity .3s;
}
.tk-gridmask.is-open { opacity: 1; pointer-events: auto; }
.tk-gridmenu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,.96);
  z-index: 125;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
}
.tk-gridmenu.is-open { opacity: 1; pointer-events: auto; }
.tk-gridmenu-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 34px;
}
.tk-gridmenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--tk-line);
}
.tk-gridmenu-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--tk-glow);
  letter-spacing: 2px;
}
.tk-gridmenu-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  background: var(--tk-card);
  color: var(--tk-sub);
  font-size: 15px;
  cursor: pointer;
}
.tk-gridmenu-close:hover { border-color: var(--tk-red); color: var(--tk-red); }
.tk-mgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tk-mcard {
  display: block;
  padding: 26px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c1c26, #14141c);
  border: 1px solid var(--tk-line);
  min-width: 0;
  transition: transform .2s ease, border-color .2s ease;
}
.tk-mcard:hover {
  border-color: var(--tk-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(255,45,85,.18);
}
.tk-mcard:nth-child(1) { background: linear-gradient(135deg, #3a1220, #14141c); }
.tk-mcard:nth-child(2) { background: linear-gradient(135deg, #3a2a10, #14141c); }
.tk-mcard:nth-child(3) { background: linear-gradient(135deg, #10283a, #14141c); }
.tk-mcard:nth-child(4) { background: linear-gradient(135deg, #2a103a, #14141c); }
.tk-mcard-all { background: linear-gradient(135deg, #14141c, #0a0a0f); }
.tk-mcard-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--tk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-mcard-go {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--tk-orange);
  letter-spacing: 1px;
}
.tk-gridmenu-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tk-gridmenu-links a {
  padding: 6px 18px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--tk-sub);
}
.tk-gridmenu-links a:hover { border-color: var(--tk-red); color: var(--tk-glow); }

/* ---------- 模块面板 ---------- */
.tk-mod {
  background: var(--tk-card);
  border: 1px solid var(--tk-line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  overflow: hidden;
}
.tk-mod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--tk-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.tk-mod-title {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  color: var(--tk-ink);
  letter-spacing: 1px;
  padding-left: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-mod-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 3px;
  background: var(--tk-grad);
}
.tk-mod-more {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tk-sub);
  flex-shrink: 0;
}
.tk-mod-more:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-mod-note { font-size: 12px; color: var(--tk-sub); flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 面包屑（仅详情/播放） ---------- */
.tk-crumb {
  padding: 2px 0 14px;
  font-size: 13px;
  color: var(--tk-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.tk-crumb a:hover { color: var(--tk-glow); }
.tk-crumb-sep { color: #3a3a44; }

/* ---------- 焦点区：大图轮播 + 霓虹进度条指示器 ---------- */
.tk-caro {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #060609;
  border: 1px solid var(--tk-line);
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  margin-bottom: 18px;
}
.tk-track { display: flex; transition: transform .5s ease; }
.tk-slide {
  position: relative;
  display: block;
  min-width: 100%;
  height: 400px;
  overflow: hidden;
}
.tk-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tk-slide:hover img { transform: scale(1.04); }
.tk-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,15,.95) 0%, rgba(10,10,15,.5) 48%, rgba(10,10,15,.05) 82%);
}
.tk-copy {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 62%;
  color: #fff;
}
.tk-title {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.6), 0 0 26px rgba(255,45,85,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--tk-orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-plot {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #d8d8e0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tk-score {
  position: absolute;
  right: 30px;
  top: 28px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--tk-red);
  background: rgba(10,10,15,.55);
  color: var(--tk-glow);
  font-size: 25px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 20px rgba(255,45,85,.5);
}
.tk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: rgba(10,10,15,.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}
.tk-arrow:hover { background: var(--tk-grad); }
.tk-prev { left: 12px; }
.tk-next { right: 12px; }
.tk-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  z-index: 5;
}
.tk-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #26262e;
  overflow: hidden;
}
.tk-bar.is-on::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--tk-grad);
  animation: tkfill 4s linear forwards;
}
@keyframes tkfill {
  from { width: 0; }
  to { width: 100%; }
}

/* ---------- 横向滑动条（今日热映） ---------- */
.tk-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,45,85,.5) rgba(255,45,85,.12);
}
.tk-rail::-webkit-scrollbar { height: 6px; }
.tk-rail::-webkit-scrollbar-track { background: rgba(255,45,85,.12); border-radius: 3px; }
.tk-rail::-webkit-scrollbar-thumb { background: rgba(255,45,85,.5); border-radius: 3px; }
.tk-rail-card {
  flex-shrink: 0;
  width: 140px;
  scroll-snap-align: start;
  display: block;
  min-width: 0;
}
.tk-rail-pic {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #101016;
}
.tk-rail-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tk-rail-card:hover .tk-rail-pic img { transform: scale(1.05); }
.tk-rail-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background: rgba(10,10,15,.82);
  border: 1px solid rgba(255,45,85,.5);
  color: var(--tk-glow);
  font-size: 11px;
  max-width: 66%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-rail-no {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.tk-rail-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(10,10,15,.94));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-rail-card:hover .tk-rail-mask { opacity: 1; transform: translateY(0); }
.tk-rail-info { display: block; padding: 8px 2px 0; }
.tk-rail-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-rail-card:hover .tk-rail-name { color: var(--tk-glow); }
.tk-rail-meta {
  display: block;
  font-size: 12px;
  color: var(--tk-sub);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 封面网格（电脑5列 / 手机3列，3/4 标准） ---------- */
.tk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.tk-card { display: block; min-width: 0; }
.tk-card-pic {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #101016;
}
.tk-card-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tk-card:hover .tk-card-pic img { transform: scale(1.05); }
.tk-card-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background: rgba(10,10,15,.82);
  border: 1px solid rgba(255,45,85,.5);
  color: var(--tk-glow);
  font-size: 11px;
  max-width: 76%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-card-score {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.tk-card-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(10,10,15,.94));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-card:hover .tk-card-mask { opacity: 1; transform: translateY(0); }
.tk-card-info { display: block; padding: 8px 2px 0; }
.tk-card-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-card:hover .tk-card-name { color: var(--tk-glow); }
.tk-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--tk-sub);
}

/* ---------- 筛选栏（默认收缩 + 底部展开 + 横滑） ---------- */
.tk-sift {
  background: var(--tk-card);
  border: 1px solid var(--tk-line);
  border-radius: 12px;
  padding: 6px 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.tk-sift-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
  border-bottom: 1px dashed var(--tk-line);
  margin-bottom: 4px;
}
.tk-sift-tip { font-size: 13px; font-weight: 700; color: var(--tk-glow); }
.tk-sift-tip::before { content: "◆ "; color: var(--tk-red); font-size: 11px; }
.tk-sift-note { font-size: 12px; color: var(--tk-sub); }
.tk-sift-body { display: none; }
.tk-sift.is-expanded .tk-sift-body { display: block; }
.tk-sift-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--tk-line);
  min-width: 0;
}
.tk-sift-row:last-child { border-bottom: 0; }
.tk-sift-key {
  width: 76px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--tk-orange);
  padding-top: 4px;
}
.tk-sift-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 2px;
}
.tk-sift-scroll::-webkit-scrollbar { height: 4px; }
.tk-sift-scroll::-webkit-scrollbar-track { background: rgba(255,45,85,.12); border-radius: 2px; }
.tk-sift-scroll::-webkit-scrollbar-thumb { background: rgba(255,45,85,.5); border-radius: 2px; }
.tk-chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tk-sub);
  background: #101016;
  white-space: nowrap;
  flex-shrink: 0;
}
.tk-chip:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-chip.is-on {
  background: var(--tk-grad);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.tk-sift-foot {
  padding: 10px 0 4px;
  text-align: center;
  border-top: 1px dashed var(--tk-line);
  margin-top: 2px;
}
.tk-unfold {
  padding: 5px 22px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  background: transparent;
  color: var(--tk-ink);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.tk-unfold:hover { border-color: var(--tk-red); color: var(--tk-glow); }

/* ---------- 分页 ---------- */
.tk-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
}
.tk-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tk-sub);
  background: #101016;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.tk-page-btn:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-page-btn.is-on {
  background: var(--tk-grad);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

/* ---------- 详情页：剧场式影讯卡（幕布渐变，无左右分栏、无播放器） ---------- */
.tk-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--tk-line);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.tk-stage-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, #241018 0%, #0a0a0f 62%);
}
.tk-stage-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(90deg, rgba(10,10,15,.94) 0%, rgba(20,20,28,.88) 100%);
}
.tk-stage-poster {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #101016;
  box-shadow: 0 0 0 2px var(--tk-red), 0 14px 30px rgba(0,0,0,.55);
}
.tk-stage-poster img { width: 100%; height: 100%; object-fit: cover; }
.tk-stage-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  background: rgba(10,10,15,.82);
  border: 1px solid rgba(255,45,85,.5);
  color: var(--tk-glow);
  font-size: 11px;
}
.tk-stage-info { flex: 1; min-width: 0; display: block; }
.tk-stage-name {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 22px rgba(255,45,85,.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tk-stage-tag {
  padding: 2px 12px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--tk-orange);
  background: #101016;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.tk-stage-plot {
  font-size: 13px;
  line-height: 1.7;
  color: #d8d8e0;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tk-stage-nums {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tk-stage-num {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tk-stage-num b { font-size: 19px; color: var(--tk-glow); font-weight: 800; }
.tk-stage-num i { font-size: 11px; color: var(--tk-sub); }
.tk-stage-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tk-btn {
  padding: 9px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(255,45,85,.4);
}
.tk-btn:hover { filter: brightness(1.1); }
.tk-btn-ghost {
  padding: 9px 26px;
  border-radius: 8px;
  border: 1px solid var(--tk-line);
  color: var(--tk-glow);
  font-size: 14px;
  font-weight: 600;
  background: #101016;
}
.tk-btn-ghost:hover { border-color: var(--tk-red); }
.tk-stage-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--tk-grad);
  box-shadow: 0 0 22px rgba(255,45,85,.6);
}

/* ---------- 片名行（播放页） ---------- */
.tk-phead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--tk-card);
  border: 1px solid var(--tk-line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.tk-phead-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.tk-phead-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--tk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-phead-ep {
  padding: 2px 12px;
  border-radius: 6px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.tk-phead-nav { display: flex; gap: 8px; flex-shrink: 0; }
.tk-phead-btn {
  padding: 6px 16px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  color: var(--tk-glow);
  font-size: 13px;
  background: #101016;
}
.tk-phead-btn:hover { border-color: var(--tk-red); }

/* ---------- 播放器（16:9 全屏居中，仅播放页） ---------- */
.tk-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060609;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--tk-line);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
@supports not (aspect-ratio: 16 / 9) {
  .tk-player { padding-top: 56.25%; }
}
.tk-player div,
.tk-player iframe,
.tk-player video,
.tk-player embed,
.tk-player object {
  width: 100% !important;
  height: 100% !important;
}
.tk-player-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a3a44;
  font-size: 14px;
}

/* ---------- 选集：方形大块网格（超 20 集折叠） ---------- */
.tk-ep-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.tk-ep {
  display: block;
  text-align: center;
  padding: 9px 4px;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--tk-ink);
  background: #101016;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-ep:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-ep.is-on {
  background: var(--tk-grad);
  border-color: transparent;
  color: #fff;
}
.tk-ep-more { text-align: center; }
.tk-ep-morebtn {
  display: inline-block;
  padding: 6px 22px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tk-ink);
  background: transparent;
  cursor: pointer;
}
.tk-ep-morebtn:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-ep-hidden { display: none; }
.tk-ep-grid.is-expanded .tk-ep-hidden { display: block; }

/* ---------- 主体（全宽单列，无侧栏） ---------- */
.tk-bod { display: block; min-width: 0; }

/* ---------- 详情介绍 ---------- */
.tk-detail { display: block; }
.tk-detail dd {
  padding: 7px 0;
  border-bottom: 1px dashed var(--tk-line);
  font-size: 13px;
  color: var(--tk-ink);
}
.tk-detail dd:last-child { border-bottom: 0; }
.tk-detail dd em { color: var(--tk-sub); margin-right: 4px; }
.tk-detail a { color: var(--tk-orange); }

/* ---------- 其他人还在搜 ---------- */
.tk-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tk-cloud a {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tk-sub);
  background: #101016;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-cloud a:hover { border-color: var(--tk-red); color: var(--tk-glow); }

/* ---------- 常见问题 ---------- */
.tk-faq { display: block; }
.tk-faq-item { padding: 10px 0; border-bottom: 1px dashed var(--tk-line); }
.tk-faq-item:last-child { border-bottom: 0; }
.tk-faq-q {
  display: block;
  font-size: 14px;
  color: var(--tk-ink);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-faq-a { font-size: 13px; color: var(--tk-sub); margin-top: 4px; }
.tk-faq-a a { color: var(--tk-orange); }

/* ---------- 评论 ---------- */
.tk-talk {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--tk-line);
  min-width: 0;
}
.tk-talk:last-child { border-bottom: 0; }
.tk-talk-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 36px;
  flex-shrink: 0;
}
.tk-talk-body { flex: 1; min-width: 0; }
.tk-talk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tk-talk-user {
  font-size: 13px;
  font-weight: 700;
  color: var(--tk-ink);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-talk-badge {
  font-size: 11px;
  color: #fff;
  background: var(--tk-red);
  padding: 0 6px;
  border-radius: 3px;
}
.tk-talk-stars { color: var(--tk-orange); font-size: 12px; }
.tk-dim { color: #3a3a44; }
.tk-talk-time { font-size: 11px; color: var(--tk-sub); }
.tk-talk-text { font-size: 13px; color: var(--tk-ink); }
.tk-talk-like {
  font-size: 12px;
  color: var(--tk-sub);
  flex-shrink: 0;
  align-self: center;
}

/* ---------- 空态 ---------- */
.tk-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--tk-sub);
  font-size: 14px;
}

/* ---------- 胶囊标签页脚（霓虹线 + 品牌居中 + 胶囊标签 + 版权条） ---------- */
.tk-foot { margin-top: 12px; }
.tk-foot-neon {
  height: 3px;
  background: var(--tk-grad);
  box-shadow: 0 0 20px rgba(255,45,85,.6);
}
.tk-foot-brand { text-align: center; padding: 22px 0 6px; }
.tk-foot-brand .tk-logo { font-size: 23px; }
.tk-foot-slogan {
  font-size: 13px;
  color: var(--tk-sub);
  margin-top: 8px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tk-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 8px;
}
.tk-tags a {
  padding: 4px 15px;
  border: 1px solid var(--tk-line);
  border-radius: 16px;
  font-size: 12px;
  color: var(--tk-sub);
  background: var(--tk-card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.tk-tags a:hover { border-color: var(--tk-red); color: var(--tk-glow); }
.tk-foot-bar {
  background: #060609;
  border-top: 1px solid var(--tk-line);
  margin-top: 12px;
  padding: 16px 0 20px;
  text-align: center;
  font-size: 12px;
  color: #3a3a44;
}
.tk-foot-bar p { margin: 2px 0; }
.tk-foot-bar a:hover { color: var(--tk-glow); }

/* ---------- 回到顶部 ---------- */
#tkTop {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
  z-index: 99;
}
#tkTop:hover { filter: brightness(1.1); }

/* ---------- 组合/容器补充 ---------- */
.tk-lazy { background: #101016; }

/* =========================================================
   自适应：平板 1024 / 手机 768 / 小屏 480
   ========================================================= */
@media (max-width: 1024px) {
  .tk-shell, .tk-head { padding-left: 16px; padding-right: 16px; }
  .tk-grid { grid-template-columns: repeat(4, 1fr); }
  .tk-mgrid { grid-template-columns: repeat(2, 1fr); }
  .tk-ep-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 13px; }
  .tk-bar { padding: 12px 0; gap: 10px; }
  .tk-nav { display: none; }
  .tk-logo { font-size: 20px; max-width: 175px; }
  .tk-burger { display: flex; width: 44px; height: 44px; }
  .tk-find-input { width: 118px; }
  .tk-shell { padding-left: 14px; padding-right: 14px; }
  .tk-main { padding-top: 2px; }
  .tk-mod { padding: 12px; border-radius: 10px; }
  .tk-caro { border-radius: 10px; }
  .tk-slide { height: 190px; }
  .tk-copy { left: 16px; max-width: 80%; }
  .tk-title { font-size: 19px; }
  .tk-meta { margin-top: 6px; font-size: 12px; }
  .tk-plot { display: none; }
  .tk-score { right: 12px; top: 12px; width: 46px; height: 46px; font-size: 17px; }
  .tk-arrow { width: 30px; height: 42px; font-size: 20px; }
  .tk-progress { padding: 8px 12px; }
  .tk-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tk-rail { gap: 10px; }
  .tk-rail-card { width: 104px; }
  .tk-rail-flag, .tk-rail-no { font-size: 10px; }
  .tk-rail-name { font-size: 12px; }
  .tk-card-flag, .tk-card-score { font-size: 10px; padding: 0 6px; }
  .tk-card-mask { font-size: 12px; }
  .tk-card-name { font-size: 12px; }
  .tk-mod-title { font-size: 15px; }
  .tk-stage-card { gap: 14px; padding: 16px; flex-wrap: wrap; }
  .tk-stage-poster { width: 118px; }
  .tk-stage-name { font-size: 19px; }
  .tk-stage-plot { -webkit-line-clamp: 2; }
  .tk-phead { padding: 10px 12px; gap: 8px; }
  .tk-phead-name { font-size: 15px; }
  .tk-sift { padding: 4px 12px; min-width: 0; }
  .tk-sift-row { flex-direction: column; gap: 8px; padding: 9px 0; width: 100%; min-width: 0; }
  .tk-sift-key { width: auto; padding-top: 0; }
  .tk-sift-scroll { width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .tk-ep-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .tk-gridmenu-in { padding: 14px 14px 26px; }
  .tk-mgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .tk-logo { font-size: 17px; max-width: 150px; }
  .tk-find-input { width: 92px; padding: 9px 12px; }
  .tk-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tk-rail-card { width: 98px; }
  .tk-page-btn { min-width: 30px; height: 30px; padding: 0 9px; font-size: 12px; }
  .tk-ep-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  #tkTop { right: 14px; bottom: 26px; width: 40px; height: 40px; }
}
