/* ============================================================
   1manime.tv — 全站共享样式
   源自 Claude Design 设计稿(首页/搜索/分类/播放),逐值对照。
   深色主题:底色 #141414 / 卡片 #2a2a2a / 面板 #2e2e2e / 主色 #1caed3
   ============================================================ */

/* ---------- 全局 ---------- */
* { box-sizing: border-box; }
body { margin: 0; background: #141414; }
::-webkit-scrollbar { width: 10px; background: #141414; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 5px; }

.page {
  background: #141414;
  color: #fff;
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 20px;
  min-height: 100vh;
}
a { color: inherit; }
.accent { color: #1caed3; }
.flex-spacer { flex: 1; }
.i25 { font-size: 25px; }
.i28 { font-size: 28px; }

/* ---------- 顶部导航 ---------- */
.site-nav {
  height: 68px;
  padding: 0 4%;
  background: #141414;
  display: flex;
  align-items: center;
  gap: 2px;
}
/* 首页:悬浮在主视觉上,渐变底 */
.site-nav--overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7) 10%, transparent);
}
.nav-logo {
  color: #fff;
  font-size: 1.4em;
  text-decoration: none;
  font-weight: 500;
  margin-right: 2.5%;
  white-space: nowrap;
}
.nav-link {
  color: #fff;
  font-size: 14px;
  padding: 0 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: #1caed3; }
.nav-link--active { font-weight: 700; }
.nav-link--active:hover { color: #fff; }
.nav-icon {
  color: #fff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-icon:hover { opacity: .8; }
.nav-icon--last { padding: 0 0 0 12px; }

/* ---------- 筛选栏(搜索/分类) ---------- */
.filter-bar {
  padding: 10px 4% 10px;
  background: #141414;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-bar--category { margin-bottom: 35px; }
.filter-all {
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  margin-right: 8px;
  cursor: pointer;
  font-weight: 400;
}
.filter-all:hover { opacity: .85; }
.filter-all .material-icons { font-size: 28px; margin-left: 2px; }
.filter-dd {
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .9);
  padding: 5px 6px 5px 10px;
  cursor: pointer;
}
.filter-dd:hover { background: #1e1e1e; }
.filter-dd .material-icons { font-size: 20px; margin-left: 14px; }

.search-box { display: flex; align-items: stretch; }
.search-input {
  color: #fff;
  font-size: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .9);
  border-right: none;
  padding: 4px 10px;
  width: 200px;
  outline: none;
  font-family: inherit;
  border-radius: 0;
}
.search-btn {
  width: 34px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .9);
  border-left: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.search-btn:hover { background: rgba(255, 255, 255, .2); }
.search-btn .material-icons { color: rgba(255, 255, 255, .5); font-size: 22px; }

.author-btn {
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, .1);
  border: 1px solid rgba(255, 255, 255, .9);
  padding: 5px 11px 5px 12px;
  cursor: pointer;
  opacity: .6;
}
.author-btn:hover { opacity: 1; }
.author-btn .material-icons-outlined { font-size: 16px; margin-left: 10px; }

/* ---------- 结果区 / 通用网格 ---------- */
.results { padding: 0 4%; }
.result-count { color: #a9a9a9; font-size: 13px; margin-bottom: 18px; }
.result-count .num { color: #fff; font-weight: 700; }
.result-count .q { color: #1caed3; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  align-items: start;
  margin-bottom: 20px;
}

/* ---------- 视频卡(全站共用) ---------- */
/* 设计稿:搜索/分类卡片外层有 margin-bottom:10px,首页卡片外层没有。
   故只对 .video-grid(搜索/分类)的卡片加下边距,首页 .section-grid 不加。 */
.card { min-width: 0; }
.video-grid .card { margin-bottom: 10px; }
.card-link { text-decoration: none; display: block; color: #fff; }
.card-link:hover { filter: brightness(1.12); }
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
}
/* 番剧系列:竖版封面(原站 268×394) */
.thumb-cover { aspect-ratio: 268 / 394; }
.thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dur {
  position: absolute;
  left: 7px; top: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  z-index: 1;
  text-shadow: #000 1px 0 10px;
}
.badges { position: absolute; right: 5px; bottom: 5px; display: flex; gap: 4px; }
.badge {
  color: rgba(255, 255, 255, .95);
  font-size: 12px;
  background: rgba(0, 0, 0, .5);
  padding: 0 6px;
  line-height: 18px;
  border-radius: 3px;
}
.badge-like { display: flex; align-items: center; gap: 3px; }
.badge-like .material-icons { font-size: 12px; }
.card-title {
  padding: 0 3px;
  font-size: 14px;
  line-height: 22px;
  color: #e5e5e5;
  font-weight: 700;
  margin-top: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  padding: 0 3px;
  margin-top: 3px;
  color: grey;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta:hover { color: #ccc; }

/* 骨架屏 */
.sk .thumb { background: #2a2a2a; }
.sk-line { background: #2a2a2a; border-radius: 3px; height: 14px; margin-top: 9px; }
.sk-line--short { width: 60%; height: 10px; margin-top: 6px; }

/* 数据加载失败提示 */
.load-error {
  grid-column: 1 / -1;
  color: #a9a9a9;
  font-size: 14px;
  padding: 40px 0;
  text-align: center;
}
.load-error a { color: #1caed3; }

/* ---------- 广告位 ---------- */
.thumb-ad { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2b2b2b, #1c1c1c); }
.ad-badge {
  position: absolute; left: 6px; top: 6px; z-index: 2;
  background: rgba(28, 174, 211, .9); color: #fff; font-size: 11px;
  padding: 1px 7px; border-radius: 3px;
}
.ad-ph { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #6a6a6a; font-size: 12px; }
.ad-ph .material-icons { font-size: 34px; }
.card-ad .card-title { color: #9aa4a8; }
.ad-banner {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 908px; margin: 0 auto;
  aspect-ratio: 908 / 270;
  border-radius: 4px; overflow: hidden;
  background: linear-gradient(135deg, #232323, #191919) center/cover no-repeat;
  text-decoration: none; color: #777;
}
.ad-banner--img { background-color: #111; }
.ad-banner-label {
  position: absolute; left: 8px; top: 6px; z-index: 2;
  font-size: 11px; color: #ddd; background: rgba(0, 0, 0, .55);
  padding: 1px 7px; border-radius: 3px;
}
.ad-banner-text { font-size: 14px; }
.sections-banner { padding: 0 0 24px; }
.list-banner { padding: 0 4% 18px; }

/* ---------- 分页 ---------- */
.pagination-wrap { display: flex; justify-content: center; padding: 20px 0 30px; }
.pagination { display: flex; }
.pg { font-size: 12px; padding: 6px 12px; }
.pg + .pg { margin-left: 1px; }
.pg--first { border-radius: 4px 0 0 4px; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2); }
.pg--last { border-radius: 0 4px 4px 0; }
span.pg--disabled { background: #404040; color: #777; }
span.pg--ellipsis { background: #404040; color: #999; }
span.pg--active { background: #1caed3; color: #fff; }
a.pg { background: #424242; color: #fff; text-decoration: none; }
a.pg:hover { background: grey; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid #232323;
  margin-top: 10px;
  padding: 35px 4% 45px;
  color: #808080;
  font-size: 13px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: #a9a9a9; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ============================================================
   首页 — 主视觉 + 卡片区块
   ============================================================ */
.hero { position: relative; }
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 9;
  min-height: 360px;
  max-height: 640px;
  overflow: hidden;
  background: #141414;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,20,.92) 0%, rgba(20,20,20,.55) 42%, rgba(20,20,20,.1) 72%),
    linear-gradient(to top, #141414 0%, rgba(20,20,20,.25) 38%, transparent 68%);
}
.hero-content {
  position: absolute;
  left: 4%; bottom: 9%;
  width: 60%;
  max-width: 640px;
  color: #fff;
  z-index: 10;
}
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
}
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; }
.hero-dot.is-active { background: #1caed3; width: 22px; border-radius: 5px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; z-index: 20; opacity: 0; transition: opacity .2s;
}
.hero-carousel:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(0,0,0,.7); }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
.hero-like { display: inline-flex; align-items: center; gap: 3px; margin-left: 10px; }
.hero-like .material-icons { font-size: 15px; }
.logo-icon { width: 22px; height: 22px; margin-right: 8px; flex-shrink: 0; }
.nav-logo { display: inline-flex; align-items: center; }
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 47px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, .6);
}
.hero-sub {
  margin: 0;
  padding-top: 7px;
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, .7);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  max-height: 72px;
  overflow: hidden;
}
.hero-tags span {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, .6);
  border: solid 1px rgba(255, 255, 255, .9);
  border-radius: 100px;
  padding: 2px 10px;
  white-space: nowrap;
}
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }
.hero-btn {
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.hero-btn:hover { opacity: .8; }
.hero-btn--play { background: #fff; color: #000; padding: 12px 30px 12px 20px; font-weight: 500; }
.hero-btn--play .material-icons { font-size: 2em; padding-right: 5px; }
.hero-btn--info { background: rgba(109, 109, 110, .7); color: #fff; padding: 12px 30px 12px 25px; }
.hero-btn--info .material-icons { font-size: 1.7em; padding-right: 7px; }

.sections { position: relative; padding: 30px 4% 0; }
.section-head {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0 20px;
}
.section-head h3 { font-size: 25px; font-weight: 700; margin: 0; }
.section-more {
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 12px;
  color: grey;
  border: 1px solid grey;
  display: flex;
  align-items: center;
}
.section-head:hover .section-more { color: #ccc; border-color: #ccc; }
.section-more .material-icons { font-size: 16px; margin-left: 1px; margin-right: -4px; }
.section-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  align-items: start;
  margin-bottom: 50px;
}

/* ============================================================
   播放页
   ============================================================ */
.watch { display: flex; gap: 24px; padding: 14px 4% 0; align-items: flex-start; }
.watch-main { flex: 1; min-width: 0; }

/* 真实视频播放器 */
.player-real { width: 100%; }
.player-real video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  display: block;
}
.player-loading {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
  line-height: 1.6;
}
.spinner {
  width: 46px; height: 46px;
  border: 4px solid rgba(255, 255, 255, .15);
  border-top-color: #1caed3;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.quality-bar { display: flex; align-items: center; gap: 8px; padding: 10px 0 2px; color: #aaa; font-size: 13px; }
.q-btn {
  background: #2e2e2e; color: #e9e9e9; border: none; border-radius: 4px;
  padding: 4px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.q-btn:hover { background: #48494a; }
.q-btn--active { background: #1caed3; color: #fff; }

/* 播放器 */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}
.player > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  display: block;
}
.player-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(28, 174, 211, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}
.player:hover .player-play { background: #1caed3; transform: translate(-50%, -50%) scale(1.06); }
.player-play .material-icons { font-size: 42px; color: #fff; margin-left: 4px; }
.player-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 14px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.player-track {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  margin-bottom: 8px;
}
.player-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 32%; background: #1caed3; border-radius: 3px; }
.player-knob {
  position: absolute; left: 32%; top: 50%;
  transform: translate(-50%, -50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #1caed3;
}
.player-ctrls { display: flex; align-items: center; gap: 14px; color: #fff; }
.player-ctrls .material-icons { cursor: pointer; }
.player-time { font-size: 12px; color: rgba(255, 255, 255, .9); }
.player-cc { font-size: 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 3px; padding: 1px 5px; cursor: pointer; }

.watch-title { font-weight: 700; margin: 14px 0 0; color: #fff; font-size: 20px; line-height: 28px; }

/* 作者行 + 操作 */
.author-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.author-info { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.author-info img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.author-name { color: #fff; font-weight: 500; font-size: 14px; line-height: 19px; }
.author-sub { color: #aaa; font-size: 12px; line-height: 16px; }
.subscribe-btn {
  background: #f1f1f1; height: 36px; line-height: 36px;
  border-radius: 50px; padding: 0 16px; cursor: pointer;
  color: #333; margin-left: 12px; font-weight: 500;
}
.subscribe-btn:hover { opacity: .9; }

.vote { display: flex; align-items: center; background: #2e2e2e; height: 36px; border-radius: 50px; color: #e9e9e9; }
.vote-up { display: flex; align-items: center; gap: 6px; padding: 0 14px 0 16px; cursor: pointer; height: 100%; }
.vote-up:hover { background: #48494a; border-radius: 50px 0 0 50px; }
.vote-sep { width: 1px; height: 20px; background: #4a4a4a; }
.vote-down { display: flex; align-items: center; padding: 0 16px 0 14px; cursor: pointer; height: 100%; }
.vote-down:hover { background: #48494a; border-radius: 0 50px 50px 0; }
.vote .material-icons-outlined { font-size: 20px; }

.pill-btn {
  display: flex; align-items: center; gap: 8px;
  background: #2e2e2e; height: 36px; border-radius: 50px;
  padding: 0 16px; color: #e9e9e9; cursor: pointer;
}
.pill-btn:hover { background: #48494a; }
.pill-btn .material-icons, .pill-btn .material-icons-outlined { font-size: 20px; }

/* 简介面板 */
.desc-panel {
  background: #2e2e2e; margin-top: 15px; color: #fff;
  padding: 12px 14px; border-radius: 15px; cursor: pointer;
}
.desc-panel:hover { background: #48494a; }
.desc-stat { margin-bottom: 5px; font-weight: 500; }
.desc-text { color: #ddd; line-height: 22px; }
.desc-more { color: #aaa; margin-top: 6px; font-size: 13px; }

/* 标签 */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  text-decoration: none; color: #e9e9e9;
  padding: 6px 12px; background: #2e2e2e; border-radius: 15px; font-size: 13px;
}
.tag:hover { background: #48494a; }
.tag .h { color: #aaa; }

/* 评论 */
.comments { margin-top: 32px; padding-bottom: 60px; }
.comments-head { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.comments-count { font-size: 16px; font-weight: 700; }
.comments-sort { display: flex; align-items: center; gap: 6px; color: #aaa; font-size: 13px; cursor: pointer; }
.comments-sort:hover { color: #fff; }
.comments-sort .material-icons { font-size: 18px; }
.comment-box { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 28px; }
.comment-box img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.comment-input {
  flex: 1; background: transparent; border: none;
  border-bottom: 1px solid #3a3a3a; color: #fff; font-size: 14px;
  padding: 6px 0; outline: none; font-family: inherit;
}
.comment { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.comment > img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.comment-body { min-width: 0; }
.comment-meta { font-size: 12px; color: #aaa; margin-bottom: 3px; }
.comment-name { color: #fff; font-weight: 500; font-size: 13px; margin-right: 6px; }
.comment-text { color: #eee; line-height: 21px; }
.comment-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; color: #aaa; font-size: 12px; }
.comment-actions .material-icons-outlined { font-size: 16px; cursor: pointer; }
.comment-like { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.comment-like:hover { color: #fff; }
.comment-reply { cursor: pointer; }
.comment-reply:hover { color: #fff; }

/* 右侧栏 */
.watch-side { width: 346px; flex-shrink: 0; }
.playlist { background: #181818; border-radius: 10px; border: 1px solid #333; overflow: hidden; }
.playlist-head { background: #2e2e2e; padding: 12px 14px; }
.playlist-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 19px; }
.playlist-sub { font-size: 12px; color: #aaa; margin-top: 2px; }
.playlist-body { max-height: 370px; overflow-y: auto; }
.playlist-item { display: flex; gap: 10px; padding: 10px; text-decoration: none; }
.playlist-item:hover { background: #3b3c3d; }
.playlist-item--active { background: #2e2e2e; }
.playlist-thumb {
  position: relative; width: 40%; flex-shrink: 0;
  aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #2a2a2a;
}
.playlist-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-dur {
  position: absolute; right: 5px; bottom: 4px;
  color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .5);
  padding: 1px 4px; font-size: 11px; border-radius: 2px;
}
.mini-info { min-width: 0; }
.mini-title {
  font-size: 13px; line-height: 18px; color: #e5e5e5; font-weight: 700;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.mini-meta { font-size: 12px; color: #b8babc; margin-top: 5px; display: flex; align-items: center; gap: 8px; }
.mini-meta .material-icons { font-size: 12px; }
.mini-like { display: flex; align-items: center; gap: 3px; }

.related-head { font-size: 15px; font-weight: 700; margin: 24px 0 12px; }
.related-item { display: flex; gap: 10px; margin-bottom: 12px; text-decoration: none; }
.related-item:hover { filter: brightness(1.12); }
.related-thumb {
  position: relative; width: 45%; flex-shrink: 0;
  aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #2a2a2a;
}
.related-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.related-meta {
  font-size: 12px; color: grey; margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 我的 / 账号页 ---------- */
.account-wrap { display: flex; justify-content: center; padding: 60px 4% 100px; }
.account-card { width: 100%; max-width: 420px; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; }
.account-tabs { display: flex; }
.account-tab { flex: 1; text-align: center; padding: 16px; font-size: 16px; font-weight: 500; color: #aaa; cursor: pointer; background: #181818; }
.account-tab.is-active { color: #fff; background: #1c1c1c; border-bottom: 2px solid #1caed3; }
.account-body { padding: 26px 28px 30px; }
.acc-field { margin-bottom: 16px; }
.acc-field label { display: block; font-size: 13px; color: #aaa; margin-bottom: 6px; }
.acc-field input { width: 100%; box-sizing: border-box; background: #000; border: 1px solid #333; border-radius: 4px; color: #fff; font-size: 14px; padding: 10px 12px; outline: none; font-family: inherit; }
.acc-field input:focus { border-color: #1caed3; }
.acc-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 13px; color: #aaa; }
.acc-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.acc-link { color: #1caed3; text-decoration: none; }
.acc-link:hover { text-decoration: underline; }
.acc-btn { width: 100%; background: #1caed3; color: #fff; border: none; border-radius: 4px; padding: 12px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.acc-btn:hover { background: #189bbd; }
.acc-hint { text-align: center; margin-top: 18px; font-size: 13px; color: #aaa; }

/* ============================================================
   响应式(设计稿为 ≥1200px 桌面 5 列;以下为部署退化,不影响桌面还原)
   ============================================================ */
@media (max-width: 1500px) {
  .video-grid, .section-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1200px) {
  .video-grid, .section-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .site-nav { overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .watch { flex-direction: column; }
  .watch-side { width: 100%; }
}
@media (max-width: 899px) {
  .video-grid, .section-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content { width: 80%; }
  .hero-title { font-size: 28px; line-height: 36px; }
}
@media (max-width: 599px) {
  .video-grid, .section-grid { grid-template-columns: repeat(2, 1fr); }
}
