/* ============================================
   z0011 — 科技银河 / 玻璃拟态未来风 (Tech Galaxy)
   蓝 #00A3FF / 紫 #7B68EE / GitHub暗底 #0d1117
   玻璃拟态 + 径向星系渐变 + 霓虹辉光
   复刻自旧站 z0011, 已 x03ea89_ 化 (站群反指纹)
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #c9d1d9; background: #0d1117; line-height: 1.6; min-height: 100vh;
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 10%, rgba(0,163,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 85%, rgba(123,104,238,.05) 0%, transparent 70%);
  background-attachment: fixed;
}
a { color: #c9d1d9; text-decoration: none; transition: color .2s; }
a:hover { color: #00A3FF; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, button { border: none; outline: none; font: inherit; -webkit-appearance: none; background: transparent; }

.x03ea89_wrap, .x03ea89_main { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.x03ea89_main { display: block; }

/* ---------- 顶栏 (玻璃) ---------- */
.x03ea89_topbar { position: sticky; top: 0; z-index: 1000; background: linear-gradient(270deg, rgba(0,163,255,.08), rgba(123,104,238,.08), rgba(0,163,255,.04)); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,.06); }
.x03ea89_topbar_inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.x03ea89_logo { font-size: 1.4rem; font-weight: 800; white-space: nowrap; flex-shrink: 0; background: linear-gradient(135deg, #00A3FF 0%, #7B68EE 50%, #00A3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x03ea89_nav { flex: 1; min-width: 0; display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.x03ea89_nav::-webkit-scrollbar { display: none; }
.x03ea89_nav a { display: block; padding: 7px 14px; font-size: .9rem; color: #8b949e; border-radius: 8px; white-space: nowrap; transition: all .2s; }
.x03ea89_nav a:hover { color: #e6edf3; background: rgba(255,255,255,.06); }
.x03ea89_nav a.cur { color: #00A3FF; background: rgba(0,163,255,.12); box-shadow: inset 0 0 0 1px rgba(0,163,255,.2); }
.x03ea89_search { display: flex; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; flex-shrink: 0; transition: all .2s; }
.x03ea89_search:focus-within { border-color: rgba(0,163,255,.5); box-shadow: 0 0 12px rgba(0,163,255,.12); }
.x03ea89_search input { width: 180px; height: 36px; padding: 0 14px; color: #c9d1d9; font-size: .85rem; }
.x03ea89_search input::placeholder { color: #555c66; }
.x03ea89_search button { padding: 0 16px; height: 36px; background: linear-gradient(135deg, #00A3FF, #7B68EE); color: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; }
.x03ea89_menu_btn { display: none; color: #00A3FF; font-size: 1.3rem; padding: 4px 10px; margin-left: auto; cursor: pointer; flex-shrink: 0; }

/* ---------- 区块标题 ---------- */
.x03ea89_block { padding: 28px 0 8px; }
.x03ea89_block_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.x03ea89_block_head h2, .x03ea89_block_head h3 { font-size: 1.25rem; font-weight: 700; color: #e6edf3; position: relative; padding-left: 16px; }
.x03ea89_block_head h2::before, .x03ea89_block_head h3::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 20px; background: linear-gradient(180deg, #00A3FF, #7B68EE); border-radius: 3px; box-shadow: 0 0 10px rgba(0,163,255,.5); }
.x03ea89_more { font-size: .85rem; color: #8b949e; }
.x03ea89_more:hover { color: #00A3FF; }
.x03ea89_page { font-size: 1.6rem; font-weight: 800; color: #e6edf3; }
.x03ea89_list_lead { font-size: 13px; color: #8b949e; padding: 6px 0 14px; }
.x03ea89_decor { font-size: 13px; color: #6e7681; line-height: 1.8; margin: 6px 0 14px; }

/* ---------- 玻璃卡片 6 列 ---------- */
.x03ea89_grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.x03ea89_card { display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s, box-shadow .25s, border-color .25s; }
.x03ea89_card:hover { transform: translateY(-4px); border-color: rgba(0,163,255,.4); box-shadow: 0 8px 32px rgba(0,163,255,.2), 0 0 0 1px rgba(0,163,255,.1); }
.x03ea89_pic { display: block; position: relative; aspect-ratio: 2/3; overflow: hidden; background: #161b22; }
.x03ea89_pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.x03ea89_card:hover .x03ea89_pic img { transform: scale(1.08); }
.x03ea89_badge { position: absolute; right: 6px; bottom: 6px; background: linear-gradient(135deg, #00A3FF, #7B68EE); color: #fff; font-size: .68rem; padding: 2px 7px; border-radius: 5px; box-shadow: 0 2px 8px rgba(0,163,255,.3); }
.x03ea89_score { position: absolute; top: 6px; left: 6px; background: rgba(13,17,23,.8); color: #00A3FF; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; box-shadow: 0 0 8px rgba(0,163,255,.2); }
.x03ea89_score::before { content: "★ "; }
.x03ea89_info { display: block; padding: 9px 10px 12px; }
.x03ea89_name { display: block; font-size: .85rem; color: #c9d1d9; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x03ea89_card:hover .x03ea89_name { color: #e6edf3; }
.x03ea89_meta { display: block; font-size: .72rem; color: #6e7681; margin-top: 3px; }

/* ---------- 面包屑 ---------- */
.x03ea89_crumb { padding: 16px 0 8px; font-size: 13px; color: #6e7681; }
.x03ea89_crumb a { color: #8b949e; }
.x03ea89_crumb a:hover { color: #00A3FF; }
.x03ea89_crumb .sep { margin: 0 6px; color: #484f58; }

/* ---------- 详情 (玻璃面板) ---------- */
.x03ea89_detail { display: flex; gap: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 24px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-bottom: 18px; align-items: flex-start; }
.x03ea89_detail_pic { position: relative; flex-shrink: 0; width: 240px; border-radius: 10px; overflow: hidden; background: #161b22; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.x03ea89_detail_pic img { width: 100%; height: auto; display: block; }
.x03ea89_detail_body { flex: 1; min-width: 0; }
.x03ea89_detail_body h1, .x03ea89_h_main { font-size: 1.7rem; font-weight: 800; color: #e6edf3; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.x03ea89_score_big { background: rgba(0,163,255,.12); color: #00A3FF; font-size: 1rem; font-weight: 700; padding: 3px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,163,255,.25); }
.x03ea89_score_big::before { content: "★ "; }
.x03ea89_detail_meta { margin-bottom: 8px; }
.x03ea89_detail_meta .row { font-size: .92rem; color: #8b949e; line-height: 2; }
.x03ea89_detail_meta b { color: #6e7681; font-weight: 400; }
.x03ea89_play_now { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 10px 28px; background: linear-gradient(135deg, #00A3FF, #7B68EE); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: filter .15s; }
.x03ea89_play_now:hover { filter: brightness(1.12); color: #fff; }
.x03ea89_detail_desc { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .92rem; color: #8b949e; line-height: 1.85; }

/* ---------- 播放线路 / 剧集 ---------- */
.x03ea89_play_src { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 18px 24px; margin-bottom: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.x03ea89_play_src h3 { font-size: 1rem; font-weight: 700; color: #e6edf3; margin-bottom: 12px; }
.x03ea89_eps { display: flex; flex-wrap: wrap; gap: 8px; }
.x03ea89_eps a { display: inline-block; padding: 7px 16px; background: rgba(255,255,255,.05); color: #c9d1d9; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; font-size: .82rem; transition: all .2s; }
.x03ea89_eps a:hover { border-color: rgba(0,163,255,.5); color: #00A3FF; box-shadow: 0 0 12px rgba(0,163,255,.15); }
.x03ea89_eps a.cur { background: linear-gradient(135deg, #00A3FF, #7B68EE); color: #fff; border-color: transparent; }

/* ---------- 播放器 ---------- */
.x03ea89_video-wrap { position: relative; width: 100%; background: #000; border-radius: 14px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 16/9; box-shadow: 0 8px 40px rgba(0,163,255,.15); }
.x03ea89_video-wrap iframe, .x03ea89_video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 推荐 ---------- */
.x03ea89_recommend { padding: 8px 0; }
.x03ea89_recommend h2 { font-size: 1.25rem; font-weight: 700; color: #e6edf3; margin-bottom: 18px; position: relative; padding-left: 16px; }
.x03ea89_recommend h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 20px; background: linear-gradient(180deg, #00A3FF, #7B68EE); border-radius: 3px; box-shadow: 0 0 10px rgba(0,163,255,.5); }

/* ---------- 分页 ---------- */
.x03ea89_pagi { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.x03ea89_pagi a, .x03ea89_pagi span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: .9rem; color: #c9d1d9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.x03ea89_pagi a:hover { border-color: rgba(0,163,255,.5); color: #00A3FF; box-shadow: 0 0 12px rgba(0,163,255,.15); }
.x03ea89_pagi .cur { background: linear-gradient(135deg, #00A3FF, #7B68EE); color: #fff; border-color: transparent; }

/* ---------- 空状态 ---------- */
.x03ea89_empty-tip { text-align: center; padding: 48px 20px; color: #6e7681; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; }

/* ---------- 页脚 ---------- */
.x03ea89_footer { padding: 28px 24px; margin-top: 32px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.x03ea89_links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 14px; }
.x03ea89_links a { font-size: 13px; color: #8b949e; }
.x03ea89_links a:hover { color: #00A3FF; }
.x03ea89_copy { font-size: 12px; color: #555c66; line-height: 1.8; }

.x03ea89_tabbar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .x03ea89_grid { grid-template-columns: repeat(4, 1fr); }
  .x03ea89_detail_pic { width: 190px; }
}
@media (max-width: 768px) {
  .x03ea89_topbar_inner { padding: 0 16px; height: 56px; gap: 12px; }
  .x03ea89_nav, .x03ea89_search { display: none; }
  .x03ea89_search.open { display: flex; position: fixed; top: 56px; left: 0; right: 0; z-index: 1100; height: auto; max-width: none; border-radius: 0; padding: 8px 12px; background: rgba(13,17,23,.97); backdrop-filter: blur(20px); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
  .x03ea89_search.open input { flex: 1; min-width: 0; width: auto; height: 40px; }
  .x03ea89_search.open button { height: 40px; }
  .x03ea89_nav.open { display: flex; position: fixed; top: 56px; left: 0; right: 0; background: rgba(13,17,23,.97); backdrop-filter: blur(20px); flex-direction: column; padding: 8px 0; gap: 0; max-height: 70vh; overflow-y: auto; border-bottom: 1px solid rgba(255,255,255,.08); z-index: 999; }
  .x03ea89_nav.open a { padding: 12px 20px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .x03ea89_menu_btn { display: block; }
  .x03ea89_wrap, .x03ea89_main { padding: 0 16px; }
  .x03ea89_grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .x03ea89_detail { flex-direction: column; gap: 18px; padding: 18px; }
  .x03ea89_detail_pic { width: 160px; margin: 0 auto; }
  .x03ea89_detail_body h1, .x03ea89_h_main { font-size: 1.3rem; }
  .x03ea89_footer { margin-bottom: 60px; }
  .x03ea89_tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: rgba(13,17,23,.97); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,.08); }
  .x03ea89_tabbar a { flex: 1; text-align: center; padding: 8px 0 6px; font-size: 11px; color: #8b949e; display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .x03ea89_tabbar a.cur { color: #00A3FF; }
  .x03ea89_tabbar .ic { font-size: 18px; line-height: 1; }
}
@media (max-width: 480px) {
  .x03ea89_grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .x03ea89_detail_pic { width: 140px; }
}

/* 满行约束: .x03ea89_grid 列数取候选数量(均6倍数)的因子 6/3/2, 任意候选都铺满整行(!important 压过模板内更具体的网格规则) */
.x03ea89_grid{grid-template-columns:repeat(6,1fr)!important}
@media(max-width:1024px){.x03ea89_grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:600px){.x03ea89_grid{grid-template-columns:repeat(2,1fr)!important}}
