@charset "utf-8";

/* =========================================================
   Reset & Base
   - 基础重置、全局滚动条样式、排版与工具类
   - ❗本段仅添加注释，无任何样式值修改
   ========================================================= */
html, body {
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
  overflow-x: hidden;
}
html { scrollbar-gutter: stable; } /* 预留滚动条空间，避免布局抖动 */
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } } /* 兼容不支持的浏览器 */

body {
  margin: 0;
  font-family: "Microsoft YaHei","微软雅黑","STHeiti","WenQuanYi Micro Hei",SimSun,sans-serif;
  font-size: 14px;
  line-height: 1.4;
  background-color: #000;
  color: #fff;
  /* 顶/底固定广告占位，确保主内容不被遮挡 */
  padding-top: 80px;
  padding-bottom: 125px;
}

ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, table, td, img, tr {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
input, select { font-size: 12px; vertical-align: middle; border: none; }
ul, li { list-style: none; }
img { border: 0 none; }
p { margin: 0 0 10px; }
*, *::before, *::after { box-sizing: border-box; }

::-webkit-scrollbar { width: 4px; background-color: #0f0f0f; }
::-webkit-scrollbar-thumb { background-color: #008000; border-radius: 2px; transition: background-color .2s ease; }
::-webkit-scrollbar-thumb:hover { background-color: #008000; }

/* ===================== Typography & Utils（文字与工具类） ===================== */
h1 { font-size: 22px; line-height: 28px; }
h2 { font-size: 20px; line-height: 26px; }
h3 { font-size: 18px; line-height: 24px; }
h4 { font-size: 16px; line-height: 22px; }
h5 { font-size: 14px; line-height: 20px; }
h6 { font-size: 12px; line-height: 18px; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; margin: 10px 0; }

a, button {
  text-decoration: none; color: #fff; outline: none; -webkit-tap-highlight-color: rgba(0,0,0,0);
}
button:hover { cursor: pointer; }


.icon { font-size: 16px; overflow: hidden; }
.font-16 { font-size: 16px; }
.font-14 { font-size: 14px; }
.font-12 { font-size: 12px; }
.text-red { color: red; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.pull-right { margin-top: 2px; float: right !important; }
.hide { display: none !important; }
.visible-xs { display: none; }
.text-overflow { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================== Grid & Helpers（容器/栅格辅助） ===================== */
.container { position: relative; padding: 0 15px; margin: 0 auto; }
.row { position: relative; margin: 0 -15px; }
.container::before, .container::after,
.row::before, .row::after,
.clearfix::before, .clearfix::after { display: table; content: " "; clear: both; }

/* ===================== Common Widgets（通用组件：图文覆盖等） ===================== */
.pic-text {
  display: block; width: 100%; position: absolute; bottom: 0; left: 0; padding: 5px 10px;
  font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background-image: linear-gradient(transparent, rgba(0,0,0,.5)); color: #fff;
}
.pic-tag {
  position: absolute; top: 0; right: 0; z-index: 99; padding: 2px 8px; font-size: 12px;
  border-radius: 0 0 0 8px; background-color: #FF9900; color: #fff;
}
.play-bg { display: none; }
.stui-pannel, .stui-foot { margin-bottom: 0; }

input, textarea { outline: none; -webkit-tap-highlight-color: transparent; }
input.form-control, input.btn { outline: 0; -webkit-appearance: none; }
input[type="checkbox"] { vertical-align: -2px; }

.form-control {
  display: block; width: 100%; height: 35px; padding: 0 10px; font-size: 12px; line-height: 20px;
  border-radius: 4px; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  background: #000; color: #e5e7eb;
}
textarea.form-control { height: auto; }





/* 右侧用户区（基础/旧布局） */
.stui_header__user { float: right; margin-top: 15px; margin-right: 10px; }
.stui_header__user > li { position: relative; float: left; padding-bottom: 10px; margin-left: 30px; }
.stui_header__user > li > a { color: #fff; }
.stui_header__user > li > a:hover { color: #008000; }
.stui_header__user > li > a .iconfont { font-size: 22px; }
.stui_header__user > li > span { font-size: 24px; color: #fff; }

/* 下拉菜单（搜索/类型/历史） */
.dropdown {
  display: none; position: absolute; z-index: 999; top: 100%; padding: 15px; border-radius: 2px;
  background-color: #f5f5f5; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.dropdown::after {
  content: " "; width: 10px; height: 10px; transform: rotate(-45deg); position: absolute; top: -5px; right: 15px; background-color: #f5f5f5;
}
/* 搜索下拉 */
.dropdown.search { right: -10px; }
.dropdown.search .item { position: relative; width: 200px; }
.dropdown.search .item .form-control { background-color: #fff; color: #111; }
.dropdown.search .item .submit {
  display: block; position: absolute; top: 0; right: 0; width: 30px; height: 30px; line-height: 30px; text-align: center; background: none; border: 0; cursor: pointer;
}
.dropdown.search .item .submit .icon { font-size: 14px; color: #fff; }
.dropdown.search li { padding: 8px 0; border-top: 1px solid #eee; }
.dropdown.search li:first-child { border-top: 0; }
.dropdown.search li a { display: block; }
.dropdown.search li a:hover { color: #ff6600; }
.dropdown.search li a span { color: #fff; }

/* 类型下拉 */
.dropdown.type { right: -10px; width: 240px; padding: 15px 7px 7px 15px; }
.dropdown.type li { float: left; width: 33.333333%; padding-right: 8px; padding-bottom: 8px; }
.dropdown.type li a {
  display: block; padding: 4px 0; border-radius: 2px; background-color: #fff; font-size: 12px; text-align: center; color: #333;
}
.dropdown.type li a:hover, .dropdown.type li.active a { background-color: #ff6600; color: #fff; }

/* 历史下拉 */
.dropdown.history { right: -10px; width: 240px; }
.dropdown.history .head h5 { margin: 0; padding-bottom: 10px; }
.dropdown.history .head a { color: red; }
.dropdown.history li a { display: block; padding: 8px 0; border-top: 1px solid #eee; color: #333; }
.dropdown.history li a:hover { color: #ff6600; }
.dropdown.history li a span { color: #fff; }

/* ===================== Screen / Lists（筛选区与海报列表） ===================== */
.stui-screen { padding: 10px; }
.stui-screen .head { padding: 15px; border-radius: 2px; background-color: #000; }
.stui-screen .head .text, .stui-screen .head .all { color: #fff; }
.stui-screen .head a { color: #fff; }
.stui-screen .item { display: block; background-color: #000; }
.stui-screen .item ul { padding: 15px; border-top: 1px solid #eee; }
.stui-screen .item ul li { float: left; }
.stui-screen .item ul li a { display: inline-block; padding-left: 20px; color: #fff; }
.stui-screen .item ul li.active a, .stui-screen .item ul li a:hover { color: #008000; }

.stui-vodlist__head { margin-top: 0; padding: 0 10px; }
.stui-vodlist__head h3, .stui-vodlist__head h3 a { color: #fff; }
.stui-vodlist__head p { padding-left: 20px; }
.stui-vodlist__head p a { display: inline-block; margin-right: 20px; }

/* 列表项目宽度按上下文类名可变更（index/like/topic） */
.stui-vodlist li { float: left; padding: 10px; width: 25%; }
.stui-vodlist li.index { width: 33.333333%; }
.stui-vodlist li.like { width: 50%; padding: 5px; }
.stui-vodlist li.topic { width: 25%; }

/* 海报缩略图与交互态 */
.stui-vodlist__thumb {
  position: relative; display: block; width: 100%; padding-top: 56.25%; overflow: hidden;
  background: #111 center/cover no-repeat; border-bottom: 1px solid rgba(255,255,255,.12);
  border-top-left-radius: 12px; border-top-right-radius: 12px;
}
.stui-vodlist__thumb::before {
  content: ""; position: absolute; inset: 0; background: url(../images/load.gif) center no-repeat; transition: opacity .2s ease; pointer-events: none;
}
.stui-vodlist__thumb[style*="background-image"]::before { opacity: 0; visibility: hidden; }
.stui-vodlist__thumb .play { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,.08), rgba(0,0,0,.18)); opacity: 0; transition: opacity .2s ease; }
.stui-vodlist__box:hover .stui-vodlist__thumb .play { opacity: 1; }
.stui-vodlist__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.stui-vodlist__detail { margin: 0; padding: 10px 10px 12px; background-color: transparent; }
.stui-vodlist__detail .title { font-size: 14px; font-weight: 600; margin: 0; text-align: center; color: #fff; line-height: 1.4; }
.stui-vodlist__detail .title a { color: inherit; }
.stui-vodlist__detail .text { margin-bottom: 0; font-size: 12px; color: rgba(255,255,255,.8); }

.stui-vodlist__detail.index { padding: 5px 10px; }
.stui-vodlist__detail.index .title { margin: 10px 0; font-size: 16px; text-align: left; }
.stui-vodlist__detail.index .title .score { font-family: Georgia,"Times New Roman",Times,serif; }
.stui-vodlist__detail.index .title .iconfont { color: #ff6600; }
.stui-vodlist__detail.index .text { margin-bottom: 8px; padding-left: 20px; }

/* 海报上的信息胶囊（收藏、时长等） */
.meta-pills { position: absolute; left: 6px; right: 6px; bottom: 4px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.meta-pills .pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; margin: 0; border: 0; background: transparent; color: #fff; font-size: 12px; line-height: 1; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.meta-pills .pill svg { width: 16px; height: 16px; stroke: currentColor; opacity: .95; filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
.stui-vodlist__thumb:is([data-original*="/ads/"], [style*="/ads/"], [data-src*="/ads/"], [data-original*="sp.gif"], [style*="sp.gif"], [data-src*="sp.gif"]) { padding-top: 66.6667% !important; }

/* ===================== Content Page（详情页左右布局） ===================== */
.stui-content { padding: 10px; }
.stui-content__detail, .stui-content__thumb, .stui-content__side { display: table-cell; vertical-align: top; }
.stui-content__thumb .pic { display: block; width: 220px; }
.stui-content__thumb .pic img { max-width: 100%; }
.stui-content__side { width: 280px; padding: 50px 30px; text-align: center; background-color: #eee; }
.stui-content__detail { width: 100%; padding: 20px; background-color: #fff; color: #333; }
.stui-content__detail .title { margin: 0 0 10px; font-size: 18px; color: #333; }
.stui-content__detail .data { margin-bottom: 10px; }
.stui-content__detail .desc { padding-left: 42px; line-height: 25px; }
.stui-content__detail .desc .left { margin-left: -42px; }
.stui-content__detail .play-btn { padding-left: 42px; margin-top: 20px; }
.stui-content__detail .play-btn a { display: inline-block; padding: 6px 25px; border-radius: 5px; background-color: #008000; font-size: 12px; color: #fff; }

/* ===================== Player & Playlist（播放器与播放列表） ===================== */
.stui-player { position: relative; z-index: 2; padding: 10px; }
.stui-player__video { background-color: #000; }
.stui-player__left { position: relative; float: left; width: 100%; }
.stui-player__side { position: relative; float: left; width: 25%; background-color: #333; }
.stui-player__side .tab { padding: 15px; border-bottom: 1px solid #434145; }
.stui-player__side .tab li { float: left; padding-right: 20px; }
.stui-player__side .tab li a { position: relative; font-size: 16px; color: #fff; }
.stui-player__side .tab li.active a::before { content: " "; position: absolute; left: 25%; bottom: -15px; width: 50%; height: 2px; background-color: #008000; }
.stui-player__side .tab li.active a { color: #008000; }
.stui-player__side .item { display: none; position: relative; padding: 15px 10px; }
.stui-player__side .item.active { display: block; }
.stui-player__side .item .head { position: relative; padding-bottom: 10px; }
.stui-player__side .item .head h3 { margin: 0; color: #fff; }
.stui-player__side .item .head .switch-line { margin-top: 5px; }
.stui-player__side .item .tab-top {
  display: none; position: absolute; z-index: 999; top: 100%; right: 0; padding: 10px 15px; border-radius: 2px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.stui-player__side .item .tab-top::after { content: " "; width: 10px; height: 10px; transform: rotate(-45deg); position: absolute; top: -5px; right: 15px; background-color: #fff; }
.stui-player__side .item .tab-top li { line-height: 25px; border-bottom: 1px solid #eee; text-align: center; }
.stui-player__side .item .tab-top li:last-child { border-bottom: 0; }
.stui-player__side .item .tab-top li a { font-size: 12px; }
.stui-player__side .item .tab-top li a:hover { color: #ff6600; }
.stui-player__side .item .cont { display: none; }
.stui-player__side .item .cont.active { display: block; }
.stui-player__detail { padding: 20px; background-color: #1c1b1e; }
.stui-player__detail .title { margin: 0 0 10px; font-size: 18px; color: #fff; }
.stui-player__detail .more { float: right; padding-top: 10px; }
.stui-player__detail .more a { display: inline-block; padding: 6px 15px; margin-left: 10px; border-radius: 2px; background-color: #252527; color: #fff; }
.stui-player__detail .more a:hover { color: #008000; }
.stui-player__detail .data { color: #fff; }
.stui-player__detail .data-more { padding-top: 10px; }
.stui-play__list li { float: left; width: 33.333333%; padding: 5px; }
.stui-play__list li.down { float: none; width: 100%; }
.stui-play__list li a { display: block; padding: 5px; border-radius: 2px; text-align: center; background-color: #1c1b1e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.stui-play__list li a:hover { color: #008000; }
.stui-play__list li.active a { background-color: #008000; color: #fff; }

/* ===================== Pagination / Friends / Embed / GBook（分页/友情链接/内嵌框/留言） ===================== */
.stui-page__item { margin: 20px 0; }
.stui-page__item li { display: inline-block; padding: 0 5px; }
.stui-page__item li a { display: inline-block; padding: 6px 15px; border-radius: 4px; background-color: #f5f5f5; color: #333; }
.stui-page__item li.active a, .stui-page__item li.active span { background-color: #008000; color: #fff; }
.stui-page__item li a:hover { color: #008000; }
.stui-page__all a { position: absolute; top: 50%; margin-top: -40px; display: block; width: 80px; height: 80px; text-align: center; line-height: 80px; }
.stui-page__all a .iconfont { font-size: 50px; color: #fff; }
.stui-page__all a:hover .iconfont { color: #008000; }
.stui-page__all a.left { left: 0; }
.stui-page__all a.right { right: 0; }
.stui-link__text { margin: 20px 0; text-align: center; }
.stui-link__text li { display: inline-block; margin-right: 20px; margin-bottom: 10px; }

.embed-responsive { position: relative; display: block; overflow: hidden; padding: 0; height: 0; }
.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive-4by3 { padding-bottom: 75%; }

.stui-gbook { padding: 10px; }
.stui-gbook-form { padding-bottom: 20px; }
.stui-gbook-form .form-control { width: 100%; padding: 10px; border: 1px solid #333; border-radius: 4px; background: #000; color: #e5e7eb; }
.stui-gbook-form textarea.form-control { height: auto; }
.stui-gbook-form li { margin-top: 15px; }
.stui-gbook-form li:first-child { margin-top: 0; }
.stui-gbook-form li .submit { padding: 0 25px; height: 35px; line-height: 35px; border: 0; border-radius: 4px; cursor: pointer; background-color: #008000; color: #fff; }
.stui-gbook__item { padding: 10px 0; border-top: 1px dotted #333; }
.stui-gbook__item .name { color: #fff; }
.stui-gbook__item .cont { position: relative; margin: 10px 0; padding: 20px; border-radius: 2px; background-color: #1c1b1e; }
.stui-gbook__item .cont::before {
  content: " "; width: 10px; height: 10px; transform: rotate(-45deg); border-width: 1px 1px 0 0; position: absolute; top: -5px; left: 10px; border-style: solid; background-color: #1c1b1e; border-color: #1c1b1e;
}
.stui-gbook__item .cont p { margin: 10px 0 0; }

/* ===================== Footer & Spacing（页脚与间距） ===================== */
.stui-foot { margin-bottom: 0 !important; padding-bottom: calc(var(--foot-gap, 0) + env(safe-area-inset-bottom, 0px)) !important; }
.stui-foot *:last-child { margin-bottom: 0 !important; }
.stui-foot .container, .stui-foot .foot-card { margin-bottom: 0 !important; } /* 修正为 !important，保持你现有语义 */

/* ===================== Theme Vars & Card（主题变量/卡片） ===================== */
:root {
  --vod-radius: 12px;
  --vod-border: rgba(255,255,255,.12);
  --vod-surface: rgba(255,255,255,.06);
  --vod-text: #fff;
  --vod-text-dim: rgba(255,255,255,.8);
}
.stui-vodlist__box {
  position: relative; border-radius: var(--vod-radius); overflow: hidden; background: var(--vod-surface);
  border: 1px solid var(--vod-border); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.stui-vodlist__box:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); border-color: rgba(255,255,255,.18); }

@media (max-width: 768px) {
  .meta-pills { left: 6px; right: 6px; bottom: 2px; }
  .meta-pills .pill { font-size: 11px; gap: 4px; padding: 0 3px; }
  .meta-pills .pill svg { width: 14px; height: 14px; }
  .stui-vodlist__detail { padding: 8px 8px 10px; }
}

/* ===================== Section Head（分区标题/统计） ===================== */
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px;
  border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.sec-title { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 700; color: #fff; letter-spacing: .5px; }
.sec-stats { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 13px; line-height: 1; }
.sec-stats .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
.sec-stats .stat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 2px 10px rgba(0,0,0,.25); white-space: nowrap; }
.sec-stats .num { font-weight: 700; color: #008000; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.sec-stats .today .num { color: #ff6b6b; }
.sec-stats .stat:hover { border-color: rgba(255,255,255,.18); transform: translateY(-1px); transition: all .15s ease; }

@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .sec-title { width: 100%; font-size: 16px; text-align: center; }
  .sec-stats { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px; }
}

/* ===================== Header – iOS 粘顶/搜索/菜单（新布局作用域化） ===================== */
.stui-header.ios26 { position: sticky; top: 0; z-index: 999; background: #000; border-bottom: 1px solid rgba(255,255,255,.10); }
.stui-header.ios26 .container { padding: 0px 10px; }
.stui-header.ios26 .row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; }
.stui-header.play,
.stui-header.ios26.play{
  position: static !important;  /* 取消 sticky */
 top: 24px !important;
}
/* 将新布局限定在 .ios26 作用域内，避免影响旧布局 */
.stui-header.ios26 .stui_header__user { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.stui-header.ios26 .stui_header__user .btn-search {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: #008000; color: #e5e7eb; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.stui-header.ios26 .stui_header__user .btn-search .iconfont { font-size: 18px; line-height: 1; }

..search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
}

/* ✅ 默认就展开的内联搜索框（PC + 手机） */
.search-inline{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #000;
  box-shadow: 0 6px 14px rgba(0,0,0,.22);

  /* 关键：直接给正常宽度 + 显示 */
  width: var(--search-w-pc, 138px);
  opacity: 1;
  pointer-events: auto;
  transition: width .25s ease, opacity .2s ease;
}

/* 手机时稍微短一点 */
@media (max-width:1024px){
  .search-inline{
    width: var(--search-w-m, 138px);
  }
}

.search-inline .form-control { width: 100%; height: 34px; padding: 0 12px; border: 0; outline: 0; background: #000; color: #e5e7eb; font-size: 14px; min-width: 0; }

/* ======= 合并后的菜单样式（避免多处冲突） ======= */
.stui-header__menu {
  margin-left: 16px; display: flex; align-items: center; gap: 6px; float: none !important;
  background-color: #222; padding: 6px 14px; border-radius: 50px;
}
.stui-header__menu li { float: none; }
.stui-header__menu li a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 36px; line-height: 36px; padding: 0 18px; border-radius: 999px;
  background: linear-gradient(90deg, #006400, #00a000);
  border: 1px solid rgba(255,255,255,.12);
  color: #e5e7eb; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.22); font-size: 13px;
  transition: background .3s ease, transform .2s ease, border-color .15s ease;
}


/* 搜索框展开宽度变量 */
:root { --search-w-pc: clamp(78px, 36vw, 150px); --search-w-m: min(78vw, 150px); }

@media (min-width: 1025px) {
  .stui-header__logo { order: 1; }
  .stui-header__menu { order: 2; margin-left: 16px; }
  .stui-header.ios26 .stui_header__user { order: 3; margin-left: auto; }
  .search-wrap.open .search-inline { width: var(--search-w-pc); opacity: 1; pointer-events: auto; }
  .stui-header.ios26 .row, .stui-header__menu, .stui-header.ios26 .stui_header__user { align-items: center; }
  .stui-header.ios26 .stui_header__user .btn-search, .search-wrap .search-inline { transform: translateY(4px); }
}

@media (max-width: 1024px) {
  .stui-header.ios26 .container { padding-left: 0px; padding-right: 6px; }
  .stui-header.ios26 .stui_header__user { order: 2; margin-left: auto; }
  .stui-header__menu {
    order: 3; width: 100%; margin: 0; padding: 0 0 0 0; display: flex; align-items: center; gap: 0;
    overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative;
    --nav-arrow-w: 0px; --nav-arrow-gap: 8px;
  }
  .stui-header__menu::-webkit-scrollbar { display: none; }
  .stui-header__menu li:first-child { margin-left: calc(var(--nav-arrow-w) + var(--nav-arrow-gap)); }
  .stui-header__menu li:last-child { margin-right: calc(var(--nav-arrow-w) + var(--nav-arrow-gap)); }
  .stui-header__menu::before, .stui-header__menu::after {
    content: ""; position: sticky; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: var(--nav-arrow-w); pointer-events: none; z-index: 1; opacity: 0; visibility: hidden;
  }
  .stui-header__menu::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,0)); }
  .stui-header__menu::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,.85), rgba(0,0,0,0)); }
  .stui-header__menu.can-left::before, .stui-header__menu.can-right::after { opacity: .85; visibility: visible; }
  .stui-header__menu.can-left::before { content: "《"; color: #e5e7eb; font-size: 20px; text-shadow: 0 0 8px rgba(0,0,0,.6); }
  .stui-header__menu.can-right::after { content: "》"; color: #e5e7eb; font-size: 20px; text-shadow: 0 0 8px rgba(0,0,0,.6); }
  .search-wrap.open .search-inline { width: var(--search-w-m); opacity: 1; pointer-events: auto; }
}



/* ===================== Theme Color Vars (footer/glass/FAB)（主题色变量） ===================== */
:root{
  --pink-from:#a855f7; --pink-to:#ec4899; --pink-ring:#e879f9;
  --glass-top:#a855f7; --glass-bot:#ec4899;
  --foot-meta-max:780px; --foot-meta-pad:16px; --foot-meta-radius:16px;
}
.stui-foot .foot-card { padding: var(--foot-meta-pad); border-radius: var(--foot-meta-radius); border: 1px solid rgba(255,255,255,0.18); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05)); }
.stui-foot .foot-grid { display: block; }
.stui-foot .foot-col + .foot-col { margin-top: 12px; }
@media (min-width: 992px) {
  .stui-foot .foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; align-items: start; }
  .stui-foot .foot-col + .foot-col { margin-top: 0; }
}
.stui-foot .foot-col { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
.stui-foot h4 { margin: 0 0 6px; font-weight: 600; }
.stui-foot p { margin: 0 0 8px; line-height: 1.65; }
.stui-foot .meta-wrap { max-width: var(--foot-meta-max); margin: 12px auto 0; }
.stui-foot .meta-box { border-radius: var(--foot-meta-radius); border: 1px solid rgba(255,255,255,0.18); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05)); padding: var(--foot-meta-pad); }
.stui-foot .meta-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 992px) {
  .stui-foot .meta-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stui-foot .meta-row.meta-asym-7-5 { grid-template-columns: 7fr 5fr; }
  .stui-foot .meta-row.meta-asym-6-4 { grid-template-columns: 6fr 4fr; }
}

/* ===================== FAB（悬浮按钮：首页/回顶） ===================== */
.fab { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; z-index: 2147483646; }
.fab .fab-btn {
  pointer-events: auto; height: 44px; min-width: 56px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,0.18); background: linear-gradient(180deg, var(--glass-top), var(--glass-bot));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.35);
  color: #fff; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .2s ease, filter .15s ease;
}
.fab .fab-btn svg { width: 20px; height: 20px; stroke: currentColor; }
.fab .fab-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.45); }
.fab .fab-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.35); }
.fab .fab-btn.home { background: linear-gradient(180deg, var(--pink-from), var(--pink-to)); border-color: var(--pink-ring); box-shadow: 0 10px 26px rgba(255,80,170,0.35), inset 0 1px 0 rgba(255,255,255,0.45); }
.fab .fab-btn.to-top { background: linear-gradient(180deg, rgba(255,96,178,0.28), rgba(255,96,178,0.12)), linear-gradient(180deg, var(--glass-top), var(--glass-bot)); border-color: var(--pink-ring); box-shadow: 0 8px 22px rgba(255,80,170,0.25), inset 0 1px 0 rgba(255,255,255,0.40); }
.fab .to-top { opacity: 1; visibility: visible; transform: translateY(0); }
.fab.show-top .to-top { opacity: 1; visibility: visible; transform: translateY(0); }
@media (prefers-color-scheme: dark) {
  .fab .fab-btn { border-color: rgba(255,255,255,0.18); background: linear-gradient(180deg, rgba(40,40,40,0.65), rgba(30,30,30,0.55)); }
  .fab .fab-btn.home { background: linear-gradient(180deg, var(--pink-from), var(--pink-to)); border-color: var(--pink-ring); }
  .fab .fab-btn.to-top { background: linear-gradient(180deg, rgba(255,96,178,0.24), rgba(255,96,178,0.10)), linear-gradient(180deg, rgba(40,40,40,0.65), rgba(30,30,30,0.55)); border-color: var(--pink-ring); }
}
@media (max-width: 420px) { .fab { gap: 8px; } .fab .fab-btn { height: 40px; min-width: 52px; padding: 0 12px; } .fab .fab-btn svg { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .fab .fab-btn { transition: none; } .fab .to-top, .fab.show-top .to-top { transition: none; transform: none; } }

/* ===================== Ads & Icon Grid（广告区与图标宫格） ===================== */
.tp_advertising { width: 100%; display: flex; justify-content: space-around; background: #fff; position: relative; box-shadow: 0 0 5px rgba(0,0,0,.2); border: .2px solid #000; }
.tp_advertising p { color: rgba(255,255,255,0); font-size: 13px; line-height: 22px; background: #6F8EC5; position: absolute; bottom: 3px; right: 3px; margin: 3px; padding: 3px 8px; border-top-left-radius: 10px; opacity: .3; }
.list2 a, .list3 a, .list4 a { display: block; width: 100%; margin: 2px 0; }
.list3 a { margin: 1px 0; }
.list4 a { margin: 3px 0; }
.list2 a img, .list3 a img, .list4 a img { width: 100%; max-width: 100%; height: 60px; object-fit: cover; }
.list4 a img { height: 80px; }
.div_text { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; margin-bottom: 1px; }
.div_text a { flex: 1; height: 35px; text-align: center; line-height: 33px; color: #fff; font-size: 14px; text-decoration: none; margin: 0 1px; border-radius: 8px; }

.icon ul { padding: 0; margin: 0; }
.icon ul li { float: left; width: 25%; text-align: center; }
.icon ul li a { font-size: 14px; color: #fff; text-decoration: none; }
.icon ul li a:hover { color: #fff; }
.icon ul li img { margin: 0 auto; padding: 2px; width: 70px; height: 70px; border-radius: 15px; object-fit: cover; }
.icon ul li img:hover { background-color: #e37189; }

@media screen and (max-width: 960px) {
  .txtguanggao a {
    width: 24.3%; float: left; border-radius: 3px; line-height: 33px; height: 33px; text-align: center; font-size: 14px; color: #fff; display: inline-block; background-color: rgb(255,153,159); margin: 1px; transition-duration: .3s;
  }
}
@media (min-width: 961px) { .icon ul li { width: 12.5%; } .icon ul li img { width: 70px; height: 70px; } }
@media (max-width: 960px) { .icon ul li { width: 25%; } .icon ul li img { width: 70px; height: 70px; } }

.div_img > a, .mbads1 > a { border-radius: 8px; overflow: hidden; }
.div_img img, .mbads1 img { border-radius: inherit; }

/* 顶/底广告容器（配合 body 的内边距占位） */
.mbads { position: fixed; bottom: 0; left: 0; right: 0; text-align: center; z-index: 9999; }
.mbads1 img { width: 1170px; height: 80px; }
.mbads1 { position: fixed; top: 0; left: 0; right: 0; text-align: center; z-index: 9999; }

@media (max-width: 720px) {
  body { padding-top: 80px; padding-bottom: 0; } /* 移动端保持顶部占位，底部还原 */
  .mbads img { width: 100%; height: 0; }       /* 保持原有策略：此处为显示/隐藏占位策略 */
  .mbads1 img { width: 100%; height: 80px; }
  .mbads1 { display: block; }
}

/* ===================== Details: 动画/浮窗广告/顶部链接 ===================== */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.float-ad { position: fixed; z-index: 19999 !important; inset: auto var(--side,2px) var(--bottom,50%) auto; }
.float-ad.right { right: 2px; left: auto; }
.float-ad.left { left: 2px; right: auto; }
.float-ad a { position: relative; display: block; }
.float-ad .ad-img { display: block; width: 65px; height: 65px; margin: 8px; border-radius: 15px; border: 2px solid #d26899; }
.float-ad .ad-close { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: rgb(210 104 153); color: #fff; font-size: 12px; line-height: 1; border: 0; padding: 0; cursor: pointer; z-index: 1; }
.float-ad .ad-close:hover { background: rgba(0,0,0,.85); }

.top_text {
  padding-top: 0;
  padding-bottom: 0;
}
.top_text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, #008000 0%, #e24aa2 100%); opacity: .95; }
.top_text__badge {
  background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7); /* 紫粉渐变：#a855f7→#ec4899→#a855f7 */
  background-size: 300% 100%;
  animation: gradient-flow 3s ease infinite; /* 保留动画流动效果 */
  color: #fff; /* 白字 */
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.4); /* 增加文字发光层次 */
}
@keyframes gradient-flow { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
.top_text__badge i { font-style: normal; display: inline; }

.top_text__links { width: 100%; min-width: 0; display: grid; text-align: center; column-gap: clamp(16px, 4vw, 80px); }
.top_text__links a { background: linear-gradient(180deg, #a855f7 0%, #ec4899 100%); text-decoration: none; border-radius: 18px; line-height: 1; padding: 6px 0; transition: transform .18s ease, opacity .18s ease; }
.top_text__links a:hover { transform: translateY(-1px); opacity: .9; }
@media (min-width: 992px) {
  .top_text__links { grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: clamp(10px, 2.5vw, 60px); justify-items: center; }
  .top_text__links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; max-width: 100%; min-width: 0; white-space: nowrap; word-break: keep-all; overflow: hidden; text-overflow: clip; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.05; }
  .top_text__links a:nth-child(n+9) { display: none; }
}
@media (min-width: 769px) and (max-width: 991px) {
  .top_text__links { grid-template-columns: repeat(4, 1fr); row-gap: 12px; }
  .top_text__links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; max-width: 100%; min-width: 0; white-space: nowrap; word-break: keep-all; font-size: clamp(13px, 1.8vw, 16px); line-height: 1.05; }
  .top_text__links a:nth-child(n+9) { display: none; }
}
@media (max-width: 768px) {
  .top_text { padding-left: 12px; padding-right: 12px; column-gap: 12px; }
  .top_text__badge { flex-direction: column; gap: 4px; white-space: normal; line-height: 1.12; font-size: 15px; padding: 7px 9px; }
  .top_text__badge i { display: block; }
  .top_text__links { grid-template-columns: repeat(4, 1fr); column-gap: 10px; row-gap: 10px; }
  .top_text__links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; max-width: 100%; min-width: 0; white-space: nowrap; word-break: keep-all; font-size: clamp(12px, 3.8vw, 15px); line-height: 1.05; }
  .top_text__links a:nth-child(n+9) { display: none; }
}
@media (max-width: 360px) { .top_text__badge { font-size: 14px; } .top_text__links a { font-size: 13.5px; } }
.top_text__links a .ico { flex: 0 0 auto; }
.top_text__links a .txt { flex: 1 1 auto; min-width: 0; }

/* ===================== Responsive Breakpoints（响应式断点） ===================== */
@media (min-width: 768px) { .container { width: 750px; } }
@media (min-width: 992px) { .container { width: 920px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }
@media (max-width: 1200px) { .stui-page__all, .stui-content__side { display: none; } } /* 窄屏隐藏大屏边栏/翻页大箭头 */

@media (max-width: 1024px) {
  .stui-header { margin-top: 2px; }
  .stui-header__menu { display: none; } /* 旧规则：窄屏隐藏此菜单（实际移动菜单在上文已定义） */
  .stui-screen .item ul { white-space: nowrap; overflow-y: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stui-screen .item ul li { float: none; display: inline-block; margin-bottom: 0; }
  .stui-screen .item ul li a { padding-left: 10px; }
  .stui-vodlist li { width: 25%; }
  .stui-vodlist li.index { width: 50%; }
  .stui-vodlist li.topic { width: 50%; }
  .stui-player__left { float: none; width: 100%; }
  .stui-player__side { float: none; width: 100%; background-color: #333; }
  .stui-player__detail .more a.menu-switch { display: none; }
  .stui-player__detail .title { margin: 0 0 5px; }
  #play-box .item { min-height: 200px; }
  .stui-play__list li { width: 20%; }
}

@media (max-width: 767px) {
  .visible-xs { display: inline-block; }
  .stui-pannel__bd { padding: 0; }
  .play-bg { display: none; }
  .stui-header { margin-bottom: 2px; }
  .stui-header__logo .logo { width: 100px; height: 50px; background: url(../images/logo.png) no-repeat center/cover; }
  .stui_header__user { float: right; margin-top: 15px; margin-right: 10px; }
  .stui_header__user > li { float: left; padding-bottom: 10px; margin-left: 15px; }
  .stui_header__user > li > a .iconfont { font-size: 22px; }
  .stui_header__user > li > span { font-size: 18px; color: #fff; }
.stui-header.play{
  margin: 60px 10px 0;   /* 原来是 10px，这里先写 40px，你可以根据实际高度再微调 */
}
  .stui-header.play .stui_header__user { margin-right: 0; }
  .dropdown.search, .dropdown.type { right: -60px; }
  .dropdown.search::after, .dropdown.type::after { right: 65px; }
  .stui-screen { padding: 5px; }
  .stui-screen .head { padding: 10px; }
  .stui-screen .head .all { display: none; }
  .stui-screen .item ul { padding: 10px; }
  .stui-vodlist li { padding: 5px; width: 50%; }
  .stui-vodlist li.index { width: 100%; }
  .stui-vodlist li.like { width: 33.333333%; }
  .stui-vodlist__detail { padding: 5px 10px; }
  .stui-vodlist__detail.index .title { margin-bottom: 5px; }
  .stui-vodlist__head p { display: none; }
  .stui-content { padding: 0 5px; }
  .stui-content__detail, .stui-content__thumb { display: block; }
  .stui-content__thumb { display: none; }
  .stui-content__detail { padding: 20px 10px; }
  .stui-player { padding: 0 5px; }
  .stui-player__detail { padding: 10px; }
  .stui-player__detail .more { float: none; margin: -10px -10px 10px; padding-bottom: 10px; text-align: center; background-color: #333; }
  .stui-player__detail .more a { margin-left: 0; margin-right: 10px; }
  .stui-play__list li { width: 33.333%; }
  .stui-content__playlist { padding-right: 5px; }
  .stui-content__playlist li { width: 25%; margin: 0; padding-top: 10px; padding-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stui-content__playlist li a { display: block; text-align: center; padding: 6px 0; }
  .stui-page__item li { display: block; float: left; width: 20%; margin: 0; padding: 0; }
  .stui-page__item li.num { display: block; }
  .stui-gbook { padding: 10px; }
  .stui-gbook__item .cont { padding: 10px; }
  .hidden-xs { display: none !important; }
}

/* ===================== Badge（通用徽章） ===================== */
.in-badge{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  padding:.25rem .8rem; border-radius:999px; background:linear-gradient(180deg,#19c37d,#0ea764);
  color:#fff; font-weight:700; font-size:.875rem; line-height:1; white-space:nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.18); isolation:isolate;
}
.stui-vodlist::after {
  content: "";
  display: block;
  clear: both;
}
/* 1) 仅隐藏旧头，不隐藏新头（手机端） */
@media (max-width:1024px){
  .stui-header:not(.ios26) .stui-header__menu { display: none; }
  .stui-header.ios26 .stui-header__menu { display: flex !important; } /* 强制显示新菜单 */
}


/* 4) 保障新菜单在移动端可滚动可见 */
.stui-header.ios26 .stui-header__menu{
  overflow-x: auto; overflow-y: hidden;
  white-space: nowrap; -webkit-overflow-scrolling: touch;
}
.stui-header.ios26 .stui-header__menu::-webkit-scrollbar { display: none; }



/* 调低 logo 底板整体高度 */
.stui-header__logo .logo-brand {
  padding: 4px 10px;     /* 原来是 8px 14px，改小垂直内边距 */
  border-radius: 10px;   /* 圆角稍减，看起来更紧凑 */
}

/* 同时把图标和文字的尺寸略缩，比例更协调 */
.stui-header__logo .brand-icon {
  width: 60px; 
  height: 60px;
}
.stui-header__logo .brand-text {
  font-size: 22px;
}
/* 卡片容器：不在视口就先跳过渲染，极大减轻首屏压力 */
.stui-vodlist__box{
 content-visibility: visible;
 contain-intrinsic-size: auto;   /* 预估尺寸，避免跳动 */
}

/* 现代浏览器用 aspect-ratio 替代 padding hack（有则优先） */
@supports (aspect-ratio: 16 / 9) {
  .stui-vodlist__thumb{
    aspect-ratio: 16 / 9;
    padding-top: 0;                        /* 你原先的 56.25% 可移除 */
  }
}

/* 移动端避免重型阴影造成掉帧，改为轻量 transform */
@media (pointer: coarse) {
  .stui-vodlist__box:hover{
    box-shadow: none !important;
    transform: translateY(-1px);           /* 轻点效果即可 */
  }
  /* 海报缩略图加载三态 */
  .stui-vodlist__thumb{ position:relative; }
  .stui-vodlist__thumb::before{
    content:""; position:absolute; inset:0;
    background:
      radial-gradient(closest-side, rgba(255,255,255,.12), rgba(255,255,255,0) 70%) center/80px 80px no-repeat,
      #0f0f0f;
    transition:opacity .2s ease, visibility .2s ease;
  }
  .stui-vodlist__thumb.is-ready::before{ opacity:0; visibility:hidden; }
  .stui-vodlist__thumb.is-error::before{
    opacity:1; visibility:visible;
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'/><line x1='3' y1='3' x2='21' y2='21'/></svg>") center/56px 56px no-repeat,
      linear-gradient(135deg, #171717 25%, #1f1f1f 25% 50%, #171717 50% 75%, #1f1f1f 75%) 0 0/16px 16px;
  }
} /* ← 保证 @media (pointer: coarse) 正确闭合 */

/* 打开状态：显示内联搜索框 */
.search-wrap.open .search-inline{
  width: var(--search-w-pc, 138px);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width:1024px){
  .search-wrap.open .search-inline{
    width: var(--search-w-m, 138px);
  }
}
/* 让“兔子先生”在手机端变小并与 logo 同行显示 */
.stui-header__logo {
  display: flex;
  align-items: center;
  gap: 6px; /* 图标与文字间距 */
}

.stui-header__logo .brand-text {
  font-size: 20px; /* 默认 PC 字号 */
  white-space: nowrap; /* 不换行 */
}

@media (max-width: 600px) {
  .stui-header__logo .brand-text {
    font-size: 14px; /* 手机上变小 */
  }
  .stui-header__logo img.brand-icon {
    width: 200px;
    height: 90px; /* 手机端 logo 图标也稍微缩小 */
  }
}
.fab { pointer-events: auto !important; z-index: 2147483647 !important; }
.fab .to-top { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; pointer-events: auto !important; }

/* =========================================================
   紫粉二次元风 · 统一覆盖（放在文件末尾，确保压过绿色主题）
   ========================================================= */

/* 1) 主题变量 */
:root{
  --brand:  #22c55e;  /* 薄荷绿 */
  --brand-2:#a855f7;  /* 紫 */
  --brand-3:#f97316;  /* 一点橙色做点缀 */
  --brand-4:#f9a8d4;  /* 粉 */
  --brand-5:#1d4ed8;  /* 蓝，用在部分阴影/hover */

  --ink:   #f9fafb;
  --ink-d: #e5e7eb;
  --bg:    #020617;
}
/* 2) 全局链接 hover 由绿改为紫粉 */
a:hover, a:active { color: var(--brand-3); }

/* 3) 滚动条拇指色 */
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover{ background-color: var(--brand-5); }

/* 4) 主导航按钮改为紫粉渐变 */
.stui-header__menu li a{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: var(--ink-d);
  border-color: rgba(255,255,255,.14);
}
.stui-header__menu li a:hover,
.stui-header__menu li.active a{
  /* 用和默认一样的底色，只是稍微高亮一点 */
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: rgba(255,255,255,.28);
}

.stui-header__menu li.active a::before{
  background: radial-gradient(60% 200% at 50% 50%, var(--brand-3), transparent);
}

/* 5) 顶部链接条维持紫粉 */
.top_text__links a{
  background: linear-gradient(180deg, var(--brand-3), var(--brand));
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

/* 6) 角标 / 徽章 / 胶囊数字统一 */
.pic-tag{ background: linear-gradient(180deg, var(--brand-2), var(--brand)); color:#fff; }
.in-badge{
  background: linear-gradient(180deg, var(--brand), var(--brand-2)) !important;
  color:#fff !important;
  box-shadow: 0 0 12px rgba(168,85,247,.35), inset 0 1px 0 rgba(255,255,255,.25) !important;
}
.meta-pills .pill{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color:#fff; border-radius:999px;
}

/* 7) 统计数字 */
.sec-stats .num{ color: #ffffff; }

/* 8) 播放相关按钮 */
.stui-player__detail .more a,
.stui-content__detail .play-btn a,
.stui-play__list li a{
  background-color: #1e1930; color:#fff; border:1px solid rgba(255,255,255,.14);
}
.stui-play__list li a:hover,
.stui-play__list li.active a{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color:#fff;
}

/* 9) 官方徽章按钮（logo-official） */
.stui-header__logo .logo-official{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-color: rgba(255,255,255,.16);
}

/* 10) 分页激活色 */
.stui-page__item li.active a, .stui-page__item li.active span{
  background-color: var(--brand);
  color:#fff;
}

/* 11) 搜索按钮色 */
.stui-header.ios26 .stui_header__user .btn-search{
  background: var(--brand);
}

/* 12) 修正：播放器侧栏激活色由绿改紫粉 */
.stui-player__side .tab li.active a{ color: var(--brand); }
.stui-player__side .tab li.active a::before{ background-color: var(--brand); }

/* 13) 留言区用户名强调 */
.stui-gbook__item .name{ color: var(--brand-3); }
.sec-stats .stat {
  background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7) !important;
  background-size: 300% 100% !important;
  animation: gradient-flow 5s ease infinite !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(168,85,247,.35), inset 0 1px 0 rgba(255,255,255,.25) !important;
}

/* 如果右侧有数字或图标也跟随发光紫粉 */
.sec-stats .num {
  color: #ffffff !important;
}

/* 兜底动画（如果上面动画没定义的话） */
@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* === 目标：列表分区标题旁的小胶囊 & “更多”按钮，强制改成紫粉流动渐变 === */
/* 常见结构：.stui-vodlist__head 里的 p a / h3 a，以及可选的 .section-head .sec-stats .stat */
.stui-vodlist__head p a,
.stui-vodlist__head h3 a,
.section-head .sec-stats .stat,
.section-head .sec-stats a.stat,
.stui-player__detail .more a {  /* 兜底：有些主题“更多”也用这个 */
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;

  /* 背景：紫(#a855f7) → 粉(#ec4899) → 紫，附带流动动画 */
  background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7) !important;
  background-size: 300% 100% !important;
  background-position: 0% 50% !important;
  animation: gradient-flow 5s ease infinite !important;

  color: #fff !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  text-decoration: none !important;
  box-shadow: 0 0 12px rgba(168,85,247,.35),
              inset 0 1px 0 rgba(255,255,255,.25) !important;
}

/* 悬停更亮一点 */
.stui-vodlist__head p a:hover,
.stui-vodlist__head h3 a:hover,
.section-head .sec-stats .stat:hover,
.section-head .sec-stats a.stat:hover,
.stui-player__detail .more a:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* 若右侧数字/小计存在，统一为亮紫粉 */


/* 兜底：若项目里没有这个关键帧动画，就启用此定义 */
@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 始终展开顶部搜索框（PC + 手机） */
.search-wrap .search-inline{
  width: var(--search-w-pc, 138px);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width:1024px){
  .search-wrap .search-inline{
    width: var(--search-w-m, 138px);
  }
}

/* ===== 顶部搜索条强制常驻展开补丁（直接放在 CSS 最底部） ===== */

/* 搜索容器始终为一行，保证里面能排下按钮 + 输入框 */
.search-wrap,
.stui-header .search-wrap,
.stui-header.ios26 .search-wrap{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* 搜索输入块：永远显示 & 展开 */
.search-inline,
.stui-header .search-inline,
.stui-header.ios26 .search-inline{
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;

  width: var(--search-w-pc, 160px) !important;   /* PC 默认宽度 */
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;

  overflow: hidden;
  border-radius: 10px;
}

/* 手机端宽度稍微短一点 */
@media (max-width:1024px){
  .search-inline,
  .stui-header .search-inline,
  .stui-header.ios26 .search-inline{
    width: var(--search-w-m, 138px) !important;
  }
}

/* 分类头部：左右布局，上下居中 */
.stui-vodlist__head {
    display: flex;
    align-items: center;          /* 上下居中 */
    justify-content: space-between; /* 左右两端对齐 */
    margin-bottom: 10px;
}

/* 标题去掉多余外边距 */
.stui-vodlist__head h3 {
    margin: 0;
}

/* 分类头部：作为定位容器 */
.stui-vodlist__head {
    position: relative;
    padding-right: 90px;   /* 给右侧按钮留空间，数字可微调 */
}

/* “更多 >” 按钮放右边，垂直居中 */
.stui-vodlist__head .more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg,#ff4b8b,#ff9a3c);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(255,75,139,.4);
    cursor: pointer;
    transition: all .2s;
}

/* 悬停效果 */
.stui-vodlist__head .more:hover {
    box-shadow: 0 0 12px rgba(255,75,139,.8);
    transform: translateY(-50%) translateY(-1px);
}


/* 1. 列表完全为空时，直接隐藏整块（防止整行黑条） */
ul.stui-vodlist.clearfix.ad-sp-list:empty {
    display: none;
}

/* 2. 当列表里只有 1 个 li 时，让它占满一整行 */
ul.stui-vodlist.clearfix.ad-sp-list > li:only-child {
    width: 100% !important;  /* 覆盖原来 50% 或 33% 之类的宽度 */
    float: none !important;  /* 防止多列布局影响，它自己撑满整行 */
}


/* 全局隐藏旧头部，只保留 ios26 新头部 */
.stui-header:not(.ios26) {
    display: none !important;
}
/* 让悬浮按钮颜色跟随当前主题（薄荷绿 + 紫） */
:root{
  --pink-from: var(--brand);    /* 薄荷绿 */
  --pink-to:   var(--brand-2);  /* 紫 */
  --pink-ring: var(--brand-3);  /* 橙色做边框/高亮 */

  --glass-top: var(--brand);    /* 背景上半部分 */
  --glass-bot: var(--brand-2);  /* 背景下半部分 */
}
:root{
  --brand:#22c55e;
  --brand-2:#a855f7;
  --brand-3:#f97316;
  --brand-4:#f9a8d4;
  --brand-5:#1d4ed8;
  --ink:#f9fafb;
  --ink-d:#e5e7eb;
  --bg:#020617;
}
/* 让分类头部小胶囊 + 统计 + “更多 >” 跟随当前主题色 */
.stui-vodlist__head p a,
.stui-vodlist__head h3 a,
.section-head .sec-stats .stat,
.section-head .sec-stats a.stat,
.stui-player__detail .more a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;

  /* 用你设的 --brand / --brand-2 做渐变 */
  background: linear-gradient(90deg, var(--brand), var(--brand-2)) !important;
  background-size: 100% 100% !important;
  background-position: 0% 50% !important;

  color: var(--ink) !important;
  border: 1px solid rgba(249,115,22,.65) !important; /* 用 --brand-3 橙色当高亮描边 */
  text-decoration: none !important;
  box-shadow: 0 0 12px rgba(34,197,94,.35),
              inset 0 1px 0 rgba(255,255,255,.25) !important;
}

/* 如果数字想更亮一点，可以单独提一下颜色 */
.section-head .sec-stats .num {
  color: #ffffff;  /* 橙色数字 */
}
/* 顶部：站长推荐 + 胶囊广告 */
.top_text{
  display:flex !important;
  align-items:center !important;      /* 默认就上下居中 */
  column-gap:12px !important;
  padding:8px 12px !important;
}

/* 站长推荐：保持一行、小一点 */
.top_text__badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:4px 10px !important;
  font-size:13px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

/* PC：右侧 8 个一排 */
.top_text__links{
  flex:1 1 auto;
  display:grid !important;
  grid-template-columns:repeat(8,minmax(0,1fr));
  column-gap:10px;
  row-gap:0;
}

/* 手机：4 个一排，两排 8 个，并且整体跟左边徽章上下居中对齐 */
@media (max-width:768px){
  .top_text{
    align-items:center !important;             /* 关键：上下居中 */
  }
  .top_text__links{
    grid-template-columns:repeat(4,minmax(0,1fr));
    row-gap:8px;
  }
}
.stui-header__menu {
  margin-left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  float: none !important;

  background-color: transparent;  /* 从 #222 改成 transparent */
  padding: 0;                     /* 去掉 6px 14px 的内边距 */
  border-radius: 0;               /* 不需要托盘圆角了 */
  box-shadow: none;               /* 如果有阴影也去掉（可留可不留） */
}
/* 播放页（ios26 头部）留出跑马灯位置 */
.stui-header.ios26.play{
  margin-top: 40px !important;
}
/* 列表头部：左边分类标签 + 右侧“更多”按钮 */





/* 列表头部：左边分类标签 + 右侧“更多”按钮 */

/* 左边：分类标题胶囊 */
.stui-vodlist__head h3 a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 16px;
  border-radius:999px;

  background:rgba(15,23,42,.96);              /* 深色底 */
  color:var(--ink-d);                         /* 字体跟主题变量走 */
  border:1px solid rgba(148,163,184,.75);     /* 灰色描边 */
  box-shadow:0 4px 14px rgba(15,23,42,.6);
  font-size:14px;
  line-height:1;
  text-decoration:none;
}

.stui-vodlist__head h3 a .iconfont{
  font-size:16px;
  color:var(--brand-3);                       /* 用你主题里的橙色点缀 */
}

/* 右边：“更多 >” 线框按钮 */
.stui-vodlist__head > a.pull-right{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 16px;
  border-radius:999px;

  font-size:13px;
  line-height:1;
  text-decoration:none;
  color:var(--brand-3);                       /* 默认橙色文字 */
  border:1px solid var(--brand-3);           /* 橙色描边 */
  background:rgba(15,23,42,.96);             /* 深色底 */
  box-shadow:none;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .15s ease;
}

/* hover 时渐变填充 */
.stui-vodlist__head > a.pull-right:hover{
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  color:#fff;
  border-color:transparent;
  transform:translateY(-1px);
}


/* =========================================================
   全局粉色主题覆盖（放在所有样式的最底部）
   ========================================================= */

/* 1) 统一主题色改为粉色系 */
:root{
  /* 主色：亮粉 */
  --brand:   #f472b6;
  /* 次色：偏紫粉，用于渐变另一端 */
  --brand-2: #ec4899;
  /* 强调色：珊瑚粉，用于数字/hover 等高亮 */
  --brand-3: #fb7185;
  /* 柔和粉：背景/弱态 */
  --brand-4: #f9a8d4;
  /* 深粉：滚动条、深色 hover */
  --brand-5: #9d174d;

  --ink:     #fdf2f8;
  --ink-d:   #fce7f3;
  --bg:      #020617;
}

/* 2) 全局链接 hover 改为粉色 */
a:hover,
a:active{
  color: var(--brand-2);
}

/* 3) 滚动条改为深粉色 */
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover{
  background-color: var(--brand-5);
}

/* 4) 顶部导航按钮改为粉色渐变（覆盖你前面定义的菜单） */
/* 顶部导航按钮：常态（粉色胶囊） */
.stui-header__menu li a{
  background: linear-gradient(90deg, #f472b6, #ec4899) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 6px 16px rgba(244,114,182,.35) !important;

  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;

  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .12s ease !important;
}

/* 顶部导航按钮：鼠标靠近时变白，文字变粉 */
.stui-header__menu li a:hover,
.stui-header__menu li.active a{
  background: #ffffff !important;          /* 按钮变白 */
  background-image: none !important;       /* 把旧的渐变彻底关掉 */
  color: #f472b6 !important;               /* 文字改粉 */
  border-color: #f472b6 !important;
  box-shadow: 0 0 14px rgba(244,114,182,.75) !important;
  transform: translateY(-1px) !important;  /* 轻微上浮 */
}


/* 5) 分类筛选/标签/激活态：全部统一为粉色 */
.stui-screen .item ul li.active a,
.stui-screen .item ul li a:hover,
.dropdown.type li a:hover,
.dropdown.type li.active a,
.stui-player__side .tab li.active a,
.stui-player__side .tab li.active a::before,
.stui-play__list li a:hover,
.stui-play__list li.active a,
.stui-page__item li.active a,
.stui-page__item li.active span{
  background-color: var(--brand-2) !important;
  color: #fff !important;
  border-color: var(--brand-2) !important;
}

/* 6) 小角标 / 徽章 / 胶囊数字、封面上的 pill 统一粉色渐变 */
.pic-tag,
.in-badge,
.meta-pills .pill{
  background: linear-gradient(90deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 0 12px rgba(244,114,182,.35),
              inset 0 1px 0 rgba(255,255,255,.25) !important;
}

/* 7) 统计数字、留言用户名等强调文字改为亮粉/珊瑚粉 */
.sec-stats .num,
.stui-gbook__item .name{
  color: #ffffff !important;
}

/* 8) 按钮类（播放 / 更多 / 留言提交 / 搜索 / FAB / 顶部链接）统粉色玻璃按钮 */
.stui-content__detail .play-btn a,
.stui-player__detail .more a,
.stui-gbook-form li .submit,
.stui-header.ios26 .stui_header__user .btn-search,
.fab .fab-btn.home,
.fab .fab-btn.to-top,
.top_text__links a{
  background: linear-gradient(90deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
  border: 1px solid rgba(249,168,212,.75) !important;
  box-shadow: 0 8px 22px rgba(244,114,182,.35),
              inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* 9) 顶部“站长推荐”徽章本身也切到粉色流动渐变 */
.top_text__badge{
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand)) !important;
  background-size: 300% 100% !important;
  animation: gradient-flow 4s ease infinite !important;
  color: #fff !important;
}

/* 若没有 gradient-flow 动画就兜底一份 */
@keyframes gradient-flow{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* 手机端导航：4 列 × 2 行布局 */
@media (max-width: 768px) {

  /* 菜单容器改为可换行网格，不再横向滚动 */
.stui-header.ios26 .stui-header__menu {
    order: 4;
    width: 100%;
    margin: 0px 0 0;
    padding: 0 10px;

    display: flex !important;
    flex-wrap: wrap;              
    justify-content: space-evenly;   /* ← 把 center 改成这个 */
    gap: 6px 8px;                

    overflow: visible !important;
    white-space: normal !important;
    --nav-arrow-w: 0px;
}

  /* 去掉左右那两个渐变“箭头” */
  .stui-header.ios26 .stui-header__menu::before,
  .stui-header.ios26 .stui-header__menu::after {
    display: none !important;
    content: none !important;
  }

  /* 每个菜单项占 1/4 宽度 → 一行 4 个 */
  .stui-header.ios26 .stui-header__menu li {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
  }

  /* 按钮铺满单元格并居中文本 */
  .stui-header.ios26 .stui-header__menu li a {
    width: 100%;
    justify-content: center;
  }
}

/* 手机端头部菜单：一排 4 个，等宽等高胶囊 */
@media (max-width: 768px){

  /* 菜单容器改成 4 列网格 */
  .stui-header.ios26 .stui-header__menu{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 一行 4 个 */
    gap: 8px;                                        /* 行间/列间间距 */

    width: 100%;
    margin: 0px 0 0;
    padding: 0 20px;

    overflow: visible !important;
    white-space: normal !important;
  }

  /* 去掉旧的 float / margin 影响 */
  .stui-header.ios26 .stui-header__menu li{
    float: none !important;
    margin: 0 !important;
  }

  /* 每个按钮占满自己的格子，宽高统一 */
  .stui-header.ios26 .stui-header__menu li a{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 38px;          /* 高度统一，想更高/更矮自己改 */
    padding: 0;            /* 去掉左右 padding，保证一行 4 个大小一致 */

    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;   /* 不换行，保持胶囊高度一致 */
  }
}
/* 取消菜单栏置顶（所有端生效） */
.stui-header.ios26{
  position: static !important;  /* 不再 sticky/fixed */
  top: auto !important;
}



/* 手机端：搜索按钮紧挨 logo，菜单排在下面 */
@media (max-width: 768px){

  /* 整行：logo + 搜索区 在一行，菜单换到下一行 */
  .stui-header.ios26 .row{
    flex-wrap: wrap;              /* 允许换行 */
    align-items: center;
    gap: 6px 8px;                 /* 上下、左右间距稍微缩小一点 */
  }

  /* 1. logo 最先 */
  .stui-header.ios26 .stui-header__logo{
    order: 1;
    margin-left: 6px;             /* 看着不贴边就行 */
  }

  /* 2. 搜索（放大镜 + 输入框）紧跟在 logo 右侧 */
  .stui-header.ios26 .stui_header__user{
    order: 2;
    margin-left: 6px;             /* 靠近 logo，不再贴右边 */
  }

  /* 搜索按钮缩小一点更贴合手机 */
  .stui-header.ios26 .stui_header__user .btn-search{
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  /* 搜索输入框在手机上宽一点，和按钮连在一起 */
  .stui-header.ios26 .search-inline{
    height: 34px;
    width: min(52vw, 180px);      /* 你可以按需要改宽度 */
  }

  /* 3. 菜单整条导航在下一行，占满宽度（你前面做的 4 列布局继续生效） */
  .stui-header.ios26 .stui-header__menu{
    order: 3;
    width: 100%;
    margin-top: 4px;
  }
}

/* 手机端：统计条靠左对齐 */
@media (max-width: 768px){
  /* 整个区块靠左，不再整体居中 */
  .section-head{
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* 标题改为左对齐 */
  .sec-title{
    text-align: left !important;
    width: 100%;
  }

  /* 统计条改为从左开始排布 */
  .sec-stats{
    width: 100%;
    justify-content: flex-start !important;  /* 原来是 center */
  }
}


/* 让页脚的 container 不再缩进 */
.stui-foot .container {
    padding-left: 0;
    padding-right: 0;
}

/* 站点说明块本身占满 container */
.stui-foot .site-notice,
.stui-foot .stui-foot__copyright {   /* 任选你实际用的那个类 */
    width: 100%;
    margin: 0;
    border-radius: 0;  /* 如果想跟横幅一样没圆角就加这一行 */
}





/* ===== 手机端：压紧 LOGO 上下的空白（放在 CSS 最底部） ===== */
@media (max-width: 768px){

  /* 1. 头部本身不要再往下挪 */
  .stui-header,
  .stui-header.ios26{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* 2. LOGO 这一行上下留白压到很小 */
  .stui-header.ios26 .container{
    padding-top: 2px !important;   /* 顶部与顶幅的距离：想更紧就改成 0 */
    padding-bottom: 2px !important;/* 底部与菜单的距离：想更紧就改成 0 */
  }

  /* 3. 这一行内部元素之间的间距也压紧 */
  .stui-header.ios26 .row{
    gap: 2px 8px !important;       /* 第一个数字是上下间距，改小更紧，改大更松 */
  }

  /* 4. LOGO 区域本身不要再额外加 margin/padding */
  .stui-header.ios26 .stui-header__logo{
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 5. 菜单与 LOGO 之间只留一点点缝 */
  .stui-header.ios26 .stui-header__menu{
    margin-top: 4px !important;    /* 想再贴一点就改成 2 或 0 */
  }
}

/* ===== 统一控制 LOGO 图片大小（放在 CSS 最底部） ===== */

/* PC 端 */
.stui-header__logo img{
  height: 10px !important;   /* 数字越大 LOGO 越高 */
  width: auto !important;    /* 按比例缩放宽度 */
  display: block;
}

/* 手机端单独缩小一点 */
@media (max-width: 768px){
  .stui-header__logo img{
    height: 20px !important; /* 手机上的 LOGO 高度 */
    width: auto !important;
  }
}

/* ===== 手机端 LOGO 恢复 + 调整大小（放在最底部） ===== */
@media (max-width: 768px){

  /* 重新显示 .logo，并用它做唯一的 LOGO */
  .stui-header__logo .logo{
    display: block !important;

    width: 90px !important;   /* LOGO 宽度：改大图就更宽 */
    height: 36px !important;  /* LOGO 高度：改大图就更高 */

    background: url(../images/logo.png) no-repeat center / contain !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 避免其它 img 影响布局（如果有） */
  .stui-header__logo img{
    max-height: 36px !important;
    height: auto;
  }
}




/* ===== 修正手机端双 LOGO：去掉背景，只保留 <img> ===== */

/* 所有端：取消 .logo 上的背景图，避免和 <img> 叠加 */
.stui-header__logo .logo{
    background: none !important;
}

/* PC 端 LOGO 尺寸 */
.stui-header__logo .logo img{
    display: block;
    height: 50px !important;   /* 想大就改大，想小就改小 */
    width: auto !important;
}

/* 手机端单独缩小一点 */
@media (max-width: 768px){
    .stui-header__logo .logo img{
        height: 40px !important;  /* 手机上的实际高度，按需要调 */
        width: auto !important;
    }
}


/* 手机端：让 LOGO 在黑色头部里垂直居中 */
@media (max-width: 768px){
  .stui-header.ios26 .stui-header__logo .logo{
    display: flex !important;
    align-items: center !important;  /* 垂直居中 */
    line-height: 1 !important;      /* 去掉多余行高 */
  }
}

@media (max-width: 768px){
  .stui-header__logo .logo img{
    height: 28px !important;   /* 想大就改大，想小就改小 */
  }
}

/* ===== 手机端：去掉 LOGO+搜索条上下多余黑框（放在 CSS 最底部） ===== */
@media (max-width: 768px){

  /* 整个头部不要额外留白 */
  .stui-header.ios26{
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 头部内部容器：只保留左右一点点空隙 */
  .stui-header.ios26 .container{
    padding: 0 8px !important;   /* 想再紧一点就改成 0 4px 或 0 */
  }

  /* 这一行本身也不要上下 padding */
  .stui-header.ios26 .row{
    margin: 0 !important;
    padding: 2px 0 !important;   /* 改小 = 更贴，上下黑边就更窄 */
    gap: 0 8px !important;
  }

  /* LOGO 和 搜索区，把原来 15px 的 margin-top 全部清掉 */
  .stui-header.ios26 .stui-header__logo,
  .stui-header.ios26 .stui_header__user{
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* 电脑端：让 LOGO 往右挪一点 */
@media (min-width: 1025px){
  .stui-header.ios26 .stui-header__logo{
    margin-left: 50px;   /* 数字越大，LOGO 越靠右 */
  }
}

/* ===== 还原 LOGO 容器宽度，菜单不要被挤走 ===== */
.stui-header__logo{
    width: auto !important;       /* 让它按内容自适应 */
}

/* PC 端：LOGO 稍微左右拉伸一点 */
.stui-header__logo img{
    height: 30px;                 /* LOGO 高度，自己看着调 */
    width: auto;
    transform: scaleX(1.7);      /* 水平拉伸 1.15 倍，不影响菜单位置 */
    transform-origin: center center;
}

/* 手机端：高度小一点，但保持同样的横向拉伸比例 */
@media (max-width: 768px){
  .stui-header__logo img{
      height: 80px;
      transform: scaleX(2.);
  }
}

/* PC 端：给菜单多留一点 LOGO 右侧空隙 */
@media (min-width: 1025px){
  .stui-header__menu{
    margin-left: 50px !important;   /* 原来大概是 16px，这里改大一点 */
  }
}
/* 手机端：LOGO 离左边留一点空隙 */
@media (max-width: 800px){
  .stui-header__logo{
    margin-left: 25px !important;   /* 想多一点就改成 10px、12px… */
  }
}
/* ===== 手机端导航：满屏 4×2 胶囊按钮 ===== */
@media (max-width: 768px){

  /* 菜单整块：满屏 + 4 列网格 */
  .stui-header.ios26 .stui-header__menu{
    order: 3 !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0px !important;              /* ← 控制左右留白，想更贴边就改成 0 */

    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 一行 4 个，满屏分布 */
    grid-auto-rows: 40px;                              
    gap: 4px !important;             /* ← 行/列间距，想更挤就改小，例如 6px */

    overflow: visible !important;
    white-space: normal !important;
    background: transparent !important;
  }

  /* 每个 li 占一个格子，不再浮动 */
  .stui-header.ios26 .stui-header__menu li{
    float: none !important;
    margin: 0 !important;
    width: auto !important;
  }

  /* 胶囊按钮铺满格子 */
  .stui-header.ios26 .stui-header__menu li a{
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    height: 35px !important;        /* ← 按钮高度，想更扁就改小一点 */
    padding: 0 !important;

    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* 去掉之前为了横向滚动加的两侧渐变遮罩 */
  .stui-header.ios26 .stui-header__menu::before,
  .stui-header.ios26 .stui-header__menu::after{
    content: none !important;
    display: none !important;
  }
}

/* ===== 顶部放大镜按钮美化（PC + 手机通用）===== */
.stui-header.ios26 .stui_header__user .btn-search{
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 30px;                /* 按钮直径：想大就加，想小就减 */
    height: 20px;
    border-radius: 999px;       /* 完全圆形 */

    /* 粉色玻璃渐变 + 内部高光 */
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.0) 32%),
      linear-gradient(145deg, #f973b8, #ec4899, #db2777);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow:
      0 8px 20px rgba(248,113,161,.55),
      inset 0 1px 0 rgba(255,255,255,.7);

    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background-position .18s ease;
}

/* 放大镜图标本身 */
.stui-header.ios26 .stui_header__user .btn-search .iconfont{
    font-size: 20px;            /* 放大镜大小 */
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* hover / 按下效果（PC 上更明显，手机轻微） */
.stui-header.ios26 .stui_header__user .btn-search:hover{
    transform: translateY(-1px) scale(1.03);
    box-shadow:
      0 10px 28px rgba(248,113,161,.70),
      inset 0 1px 0 rgba(255,255,255,.9);
}

.stui-header.ios26 .stui_header__user .btn-search:active{
    transform: translateY(0) scale(.97);
    box-shadow:
      0 4px 12px rgba(248,113,161,.60),
      inset 0 1px 0 rgba(255,255,255,.75);
}

/* 手机端稍微小一点（可按喜好调整） */
@media (max-width: 768px){
    .stui-header.ios26 .stui_header__user .btn-search{
        width: 38px;
        height: 38px;
    }
    .stui-header.ios26 .stui_header__user .btn-search .iconfont{
        font-size: 18px;
    }
}
/* ===== 手机端 LOGO 高度，自由调节（贴上下横幅）===== */
@media (max-width: 768px){

  /* 头部容器去掉多余上下留白 */
  .stui-header.ios26 .container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* LOGO 外层不要额外 margin/padding */
  .stui-header.ios26 .stui-header__logo{
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 真正控制 LOGO 大小的地方：改 height 就行 */
  .stui-header.ios26 .stui-header__logo .logo,
  .stui-header.ios26 .stui-header__logo img{
    display: block;
    height: 90px !important;   /* ← 改这个数：越大越高，直到贴住上下横幅 */
    width: auto !important;    /* 按比例放大，不会压扁 */
  }
}
/* ===== 手机端：把下面栏目往上贴紧头部（logo+搜索） ===== */
@media (max-width: 768px){

  /* 头部整行：行间距尽量压小 */
  .stui-header.ios26 .row{
    row-gap: 0 !important;      /* 有的浏览器用 row-gap */
    gap: 0 8px !important;      /* 上下 0、左右 8 像素 */
  }

  /* 导航栏目（首页/国产AV...）的上外边距压到几乎没有 */
  .stui-header.ios26 .stui-header__menu{
    margin-top: 2px !important; /* 想更贴就改成 0，想留一点缝就调大一点 */
  }

  /* 容器底部也不要多余留白 */
  .stui-header.ios26 .container{
    padding-bottom: 0 !important;
  }
}
/* ===== 手机端头部：logo + 搜索一行，菜单在下一行，不变形 ===== */
@media (max-width: 768px){

  /* 整个头部使用可换行的 flex 行 */
  .stui-header.ios26 .row{
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;   /* 重要：允许换行，防止整体被挤变形 */
  }

  /* 1) LOGO：贴左边，高度你自己控制（比如 40px / 48px） */
  .stui-header.ios26 .stui-header__logo{
    order: 1;
    flex: 0 0 auto;
    margin: 0 6px 0 6px !important;
    padding: 0 !important;
  }

  /* 如果要统一控制手机端 logo 高度，用这一行数字调 */
  .stui-header.ios26 .stui-header__logo img{
    height: 60px;          /* 想更高就改大，比如 44 / 48 */
    width: auto;
    display: block;
  }

  /* 2) 搜索区域：放大镜 + 输入框，紧跟 logo，在同一行 */
  .stui-header.ios26 .stui_header__user{
    order: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 6px;              /* logo 与放大镜/输入框之间的距离 */
    margin: 0 !important;  /* 去掉旧的 margin，防止被挤下去 */
  }

  .stui-header.ios26 .stui_header__user .btn-search{
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .stui-header.ios26 .search-inline{
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;          /* 输入框高度，想更高就改大 */
  }

  /* 3) 菜单栏：单独占下一行，铺满整宽 */
  .stui-header.ios26 .stui-header__menu{
    order: 3;
    flex: 0 0 100%;
    margin-top: 6px !important;   /* logo+搜索 与 菜单之间的间距，想更紧就改小 */
  }
}
/* ===== 统一：搜索按钮 + 输入框 在头部垂直居中（PC + 手机） ===== */

/* 整个头部这一行都按中心对齐 */
.stui-header.ios26 .row {
    display: flex !important;
    align-items: center !important;   /* 垂直居中 */
}

/* 搜索区本身也用居中对齐 */
.stui-header.ios26 .stui_header__user {
    display: flex !important;
    align-items: center !important;   /* 垂直居中 */
}

/* 取消之前为搜索按钮/输入框加的下移偏移等 */
.stui-header.ios26 .stui_header__user .btn-search,
.stui-header.ios26 .search-inline {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;   /* 图标和输入框内容也上下居中 */
}
/* ===== 手机端：logo + 搜索（放大镜+输入框）在头部里上下居中 ===== */
@media (max-width: 768px){

  /* 头部容器本身不要额外的上下间距，靠 logo 高度撑开 */
  .stui-header.ios26,
  .stui-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .stui-header.ios26 .container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 这一行：logo + 搜索区 + 菜单，统一垂直居中 */
  .stui-header.ios26 .row{
    display: flex !important;
    align-items: center !important;   /* 垂直居中 */
    flex-wrap: wrap;
    min-height: 52px;                 /* 头部高度由这里控制，可自行改高/改低 */
  }

  /* logo 区域：本身就是 flex 居中 */
  .stui-header.ios26 .stui-header__logo{
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* logo 图片/背景：高度你可以改，放大或缩小 */
  .stui-header.ios26 .stui-header__logo img,
  .stui-header.ios26 .stui-header__logo .logo{
    display: block !important;
    height: 32px !important;          /* ← 改这个数字就能整体变高/变矮 */
    width: auto !important;
    margin: 0 !important;
  }

  /* 搜索这块（放大镜 + 输入框）整体垂直居中 */
  .stui-header.ios26 .stui_header__user,
  .stui-header.ios26 .search-wrap{
    display: flex !important;
    align-items: center !important;   /* 垂直居中 */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 放大镜按钮本身也保持圆形并居中 */
  .stui-header.ios26 .stui_header__user .btn-search{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;          /* 和 logo 高度差不多，看起来更整齐 */
    width: 30px !important;
    margin: 0 8px 0 6px !important;
    transform: none !important;
  }

  /* 输入框：上下居中，长度你可以按需要改 */
  .stui-header.ios26 .search-inline{
    display: inline-flex !important;
    align-items: center !important;
    height: 44px !important;
    margin: 0 !important;
    transform: none !important;
    width: min(55vw, 230px) !important;  /* ← 输入框长度，可自行调 */
  }
}
/* ===== 手机端：LOGO + 放大镜上下居中，导航紧贴下面 ===== */
@media (max-width: 768px){

  /* 头部整体和内部容器：去掉所有上下外/内边距 */
  .stui-header.ios26,
  .stui-header.ios26 .container,
  .stui-header.ios26 .row,
  .stui-header.ios26 .stui-header__logo,
  .stui-header.ios26 .stui_header__user,
  .stui-header.ios26 .stui-header__menu{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 这一行用 flex 布局，并让内容垂直居中 */
  .stui-header.ios26 .row{
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;          /* 允许导航换到下一行 */
    row-gap: 0 !important;    /* 行距也清零 */
  }

  /* LOGO + 搜索块：都垂直居中，自动跟着 LOGO 高度居中 */
  .stui-header.ios26 .stui-header__logo,
  .stui-header.ios26 .stui_header__user{
    display: flex !important;
    align-items: center !important;
  }

  /* 导航占满下一行，紧贴在 LOGO+搜索下面 */
  .stui-header.ios26 .stui-header__menu{
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 0 !important;    /* 想留一点缝就改成 2px/4px */
  }

  /* 头部和下面内容之间的缝，一起干掉 */
  .stui-pannel__hd{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .stui-pannel__bd{
    padding-top: 4px !important; /* 想更紧可以再改小 */
  }
}
/* ===== 手机端：导航再往上贴一点（终极压紧） ===== */
@media (max-width: 768px){

  /* 导航容器本身不留上下内边距 */
  .stui-header.ios26 .stui-header__menu{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;         /* 如果还觉得有缝，可以试试 -2px、-4px */
  }

  /* 每个菜单项去掉可能的上外边距 */
  .stui-header.ios26 .stui-header__menu li,
  .stui-header.ios26 .stui-header__menu li a{
    margin-top: 0 !important;
  }

  /* 头部下面的第一个内容块也别再往下撑间距 */
  .stui-header.ios26 + .stui-pannel__bd,
  .stui-header.ios26 + .stui-pannel__hd,
  .stui-header.ios26 + *{
    margin-top: -5 !important;
    padding-top: -5 !important;
  }
}
/* ===== 搜索按钮和输入框：交换左右位置 + 靠右（PC + 手机） ===== */

/* 右侧区域整体靠右 */
.stui-header.ios26 .stui_header__user{
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* 搜索 li：用 flex 排列两个元素 */
.stui-header.ios26 .stui_header__user > li.search-wrap{
    float: none !important;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;  /* 整块贴右边 */
    width: auto !important;
}

/* 1. 搜索输入框（黑色胶囊）在左边 */
.stui-header.ios26 .search-inline{
    order: 1 !important;              /* 排在前面：左侧 */
    margin: 0 !important;
    margin-right: 8px !important;     /* 与右侧圆按钮留一点间距 */

    display: flex !important;
    align-items: center !important;
}

/* 2. 粉色圆形按钮在右边 */
.stui-header.ios26 .search-wrap .btn-search{
    order: 2 !important;              /* 排在后面：右侧 */
    position: static !important;      /* 取消之前的 absolute */
    margin: 0 !important;
}

/* 保证圆按钮本身是一个正圆（如果想调大小改这里） */
.stui-header.ios26 .search-wrap .btn-search{
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* ===== 头部：LOGO + 搜索区 上下完全居中（PC + 手机）===== */

/* 整行：强制竖直居中 */
.stui-header.ios26 .row{
    align-items: center !important;
}

/* 右侧用户区（含搜索）去掉向下的外边距，并当成一行垂直居中 */
.stui-header.ios26 .stui_header__user{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    display: flex !important;
    align-items: center !important;
}

/* 搜索这一个 li 自己也居中对齐 */
.stui-header.ios26 .stui_header__user > li.search-wrap{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* 搜索输入框 + 圆按钮 在同一行、上下居中 */
.stui-header.ios26 .search-inline{
    display: flex !important;
    align-items: center !important;
    height: 40px !important;          /* 按需改高度 */
}

.stui-header.ios26 .search-inline .form-control{
    height: 100% !important;
    line-height: 40px !important;      /* 与上面高度一致，更居中 */
}

/* 粉色圆形按钮：保证是正圆并垂直居中 */
.stui-header.ios26 .search-wrap .btn-search{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    margin: 0 0 0 8px !important;      /* 与输入框的间距 */
}
/* 顶部菜单文字加粗 & 可调字号（PC + 手机） */
.stui-header__menu li a{
    font-weight: 450 !important;   /* 粗细：400=正常，500/600/700=更粗 */
    font-size: 16px !important;    /* PC 端字号，自己改数字即可 */
}

/* 手机端单独调小一点（按需） */
@media (max-width: 768px){
    .stui-header__menu li a{
        font-size: 14px !important;  /* 手机上用的字号，想多大改这里 */
    }
}
/* === 搜索框宽度（PC 端） === */
.stui-header.ios26 .search-inline{
    width: 115px !important;   /* PC 端搜索框总宽度，自己改数字即可 */
    max-width: 40vw;           /* 可选：防止太宽，用百分比也行，随你改 */
}

/* === 搜索框宽度（手机端） === */
@media (max-width: 768px){
    .stui-header.ios26 .search-inline{
        width: 30vw !important;   /* 手机端宽度，用 vw 或 px 都可以 */
        max-width: none;          /* 不想限制就写 none，也可以删掉这一行 */
    }
}
/* === 搜索区域：输入框在左，放大镜在最右（PC + 手机）=== */

/* 搜索整体靠右排列 */
.stui-header.ios26 .search-wrap {
  display: flex !important;
  flex-direction: row !important;      /* 正常从左到右 */
  align-items: center !important;
  justify-content: flex-end !important;/* 向右对齐整块 */
  margin-left: auto !important;        /* 把整块推到右边 */
  gap: 0 !important;                   /* 去掉自动间距 */
}

/* 输入框在左边 */
.stui-header.ios26 .search-wrap .search-inline {
  order: 1 !important;                 /* 排在前面 */
  margin-right: 4px !important;        /* 和放大镜之间留一条细缝，可改数值 */
}

/* 放大镜按钮在最右边 */
.stui-header.ios26 .search-wrap .btn-search {
  order: 2 !important;                 /* 排在最后 = 最右边 */
  margin-right: 0 !important;          /* 紧贴右侧 */
}

/* 可选：头部右侧不要多余 padding，保证更贴边 */
.stui-header.ios26 .container {
  padding-right: 0 !important;
}
.stui-header.ios26 .stui_header__user {
  margin-right: 0 !important;
  padding-right: 0 !important;
}
/* ===== 手机端：搜索框整体靠右，输入框在左、放大镜在最右 ===== */
@media (max-width: 768px) {

  /* 头部行用 flex，方便排版 */
  .stui-header.ios26 .row{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap;
  }

  /* 1. LOGO 在最左 */
  .stui-header.ios26 .my-logo{
    order:1 !important;
    margin-left:8px !important;
  }

  /* 2. 搜索区域整个推到最右（在 LOGO 右侧） */
  .stui-header.ios26 .stui_header__user{
    order:2 !important;
    margin-left:auto !important;       /* 把整块推到最右 */
    margin-right:8px !important;       /* 和屏幕右边留一点空隙，可调 */
    padding:0 !important;
  }

  /* 搜索块内部：输入框在左，放大镜在右，并且整体靠右 */
  .stui-header.ios26 .search-wrap{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;  /* 这块自己也贴右 */
    gap:0 !important;
  }

  /* 输入框在左，紧挨着放大镜 */
  .stui-header.ios26 .search-wrap .search-inline{
    order:1 !important;
    margin-right:4px !important;          /* 输入框与放大镜之间的小间距，想更紧可以改成 2 或 0 */
  }

  /* 放大镜按钮在最右 */
  .stui-header.ios26 .search-wrap .btn-search{
    order:2 !important;
    margin-right:0 !important;
  }

  /* 菜单在下一行，不影响搜索在右侧 */
  .stui-header.ios26 .stui-header__menu{
    order:3 !important;
    width:100% !important;
  }
}
/* =========================
   仅手机端：搜索靠右，输入框在左，放大镜在右
   ========================= */
@media (max-width: 768px){

  /* 头部行用 flex 排版（手机端） */
  .stui-header.ios26 .row{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap;
  }

  /* LOGO 保持在最左 */
  .stui-header.ios26 .my-logo{
    order:1 !important;
    margin-right:8px !important;
  }

  /* 搜索整块（ul.stui_header__user）顶到最右 */
  .stui-header.ios26 .stui_header__user{
    order:2 !important;
    margin-left:auto !important;   /* 把这块推到最右边 */
    padding:0 !important;
    float:none !important;
    display:flex !important;
    align-items:center !important;
  }

  /* li.search-wrap：容器，左右一行 */
  .stui-header.ios26 .stui_header__user .search-wrap{
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:0 !important;
  }

  /* 输入框在左，紧挨放大镜 */
  .stui-header.ios26 .stui_header__user .search-inline{
    order:1 !important;
    margin:0 4px 0 0 !important;   /* 输入框和放大镜之间的距离，想更紧就改 2 或 0 */
    display:flex !important;
    align-items:center !important;
  }

  /* 输入框样式：粉色边框，高度统一 */
  .stui-header.ios26 .stui_header__user .search-inline .form-control{
    border:1px solid #f472b6 !important;  /* 粉色边框 */
    height:36px !important;
    line-height:36px !important;
  }

  /* 放大镜按钮在最右 */
  .stui-header.ios26 .stui_header__user .btn-search{
    order:2 !important;
    margin:0 !important;
  }

  /* 可选：手机端单独控制搜索框宽度（按需要改数字） */
  .stui-header.ios26 .stui_header__user .search-inline{
    width: 160px !important;       /* 手机搜索框宽度，自己改 */
  }
}

/* 仅 PC 端：搜索整块往左挪一点 */
@media (min-width: 769px) {

  /* 整个“搜索块”（输入框 + 放大镜） */
  .stui-header.ios26 .stui_header__user {
    margin-left: auto !important;      /* 仍然靠右对齐导航 */
    margin-right: 20px !important;     /* 往左挪多少就改这里，例：20 / 30 / 50px */
  }

  /* 如果 li 本身有 margin，可一并控制 */
  .stui-header.ios26 .stui_header__user .search-wrap {
    margin-right: 0 !important;        /* 避免别的样式把它又推回去 */
  }
}
/* =========================
   仅 PC 端：头部整体向上贴近上方横幅
   ========================= */
@media (min-width: 769px) {

  /* 整个 header 往上挪一点（数值你自己微调） */
  .stui-header.ios26 {
    margin-top: 6px !important;   /* -8px 不够就改成 -10 / -12px */
    padding-top: 0 !important;
  }

  /* 避免内部再额外往下撑高 */
  .stui-header.ios26 .container,
  .stui-header.ios26 .row {
    padding-top: 0 !important;
    margin-top: 0 !important;
    align-items: center !important;  /* 保持 logo、搜索框、菜单上下居中 */
  }

  /* 搜索区域和 LOGO 不要再有向下的外边距 */
  .stui-header.ios26 .my-logo,
  .stui-header.ios26 .stui_header__user {
    margin-top: 0 !important;
  }
}
/* 电脑端：调整 LOGO / 导航这一整条黑条的上下间距 */
@media (min-width: 800px) {

  /* 1. 黑色导航条内部的上下“厚度” */
  .ios26 .stui-header {
    padding-top: 10px !important;      /* 往上紧一点就改小，比如 0 或 2 */
    padding-bottom: 10px !important;   /* 往下紧一点就改小 */
  }

  /* 2. 按钮本身的高度（决定圆角按钮离上下的距离） */
  .ios26 .stui-header__menu > li > a {
    line-height: 40px !important;     /* 变小按钮就改小，比如 36、32 */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 3. 整个黑色导航条与下面蓝色渐变横幅之间的距离 */
  .ios26 .stui-pannel__hd {
    margin-bottom: 8px !important;    /* 想贴得更紧就改成 0 或 2 */
  }
}
/* 仅 PC 端：调整导航条下面的间距 */
@media (min-width: 769px) {

  /* 导航条内部高度（上、下）——你之前已经在用的，可以保留 / 微调 */
  .stui-header.ios26 {
    padding-top: 1px !important;      /* 导航条内部上边距 */
    padding-bottom: 4px !important;   /* 导航条内部下边距 */
  }

  /* ★ 关键：紧贴在 header 下面的广告（或其他内容）的 margin-top */
  .stui-header.ios26 + * {
    margin-top: 0px !important;       /* 想贴得更紧就设 0；想留点缝就改成 4、6 等 */
    padding-top: 0 !important;        /* 防止广告自身有 padding-top */
  }

  /* 保险：如果 ads 模板用的是这些类名，也一并压掉间距 */
  .stui-header.ios26 + .stui-ads,
  .stui-header.ios26 + .mac_banner,
  .stui-header.ios26 + .stui-pannel__bd {
    margin-top: 0px !important;       /* 同上，改这个值就能控制下面的空白 */
    padding-top: 0 !important;
  }
}
/* 椭圆形搜索框：灰色边框，PC + 手机 */
.search-inline {
    display: inline-flex;
    align-items: center;
    border: 2px solid #888 !important;   /* 灰色边框 + 粗细 */
    border-radius: 999px !important;     /* 超大圆角 = 椭圆形 */
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0 14px;                      /* 左右内边距根据需要调整 */
    overflow: hidden;                     /* 防止内部元素溢出 */
}

/* 里面的输入框本身不要再画边框，只跟着椭圆形走 */
.search-inline .form-control,
.stui-header .search-inline .form-control {
    border: none !important;             /* 去掉自身边框，避免双框 */
    box-shadow: none !important;
    background: transparent;
    border-radius: 999px !important;
    height: 40px;                         /* 搜索框高度，可改大/小 */
    line-height: 40px;
    padding: 0.01px;
}
/* 椭圆搜索框，PC+手机通用 -------------------------------------------------- */
.search-inline {
    display: inline-flex;
    align-items: center;
    border: 0.1px solid #888 !important;   /* 灰色边框，明显一点 */
    border-radius: 999px !important;     /* 椭圆形 */
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0 14px;
    overflow: hidden;
}

.search-inline .form-control,
.stui-header .search-inline .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    border-radius: 999px !important;
    height: 40px;
    line-height: 40px;
    padding: 0 1px;
    color: #fff;
}

/* ------------- 只针对手机端（宽度 <= 768px）对齐到最右侧 ------------------- */
@media (max-width: 768px) {

  /* “用户/搜索”这块固定在右上，并垂直居中 */
  .ios26 .stui_header__user {
      position: absolute;
      top: 0;
      right: 0;
      height: 45px;                 /* 和 header 高度大致一致 */
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding-right: 20px;          /* 距离屏幕右边的间距，可自行调 */
      z-index: 10;
  }

  /* 搜索容器：右对齐，输入框 + 放大镜一行 */
  .ios26 .stui_header__user .search-wrap {
      display: flex !important;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
      margin: 0;
      padding: 0;
  }

  /* 输入框在左，紧贴放大镜 */
  .ios26 .stui_header__user .search-inline {
      order: 3;
      max-width: 60vw;              /* 手机端输入框宽度，可改 50/70 等 */
      margin-right: 6px;            /* 输入框和放大镜之间的间距 */
  }

  /* 放大镜按钮在最右边 */
  .ios26 .stui_header__user .btn-search {
      order: 2;
      margin: 0;
      flex: 0 0 auto;
  }

  /* 防止按钮被强制换行 */
  .ios26 .stui_header__user .btn-search i {
      display: inline-block;
  }
}


/* 只在手机端生效（宽度 ≤ 768px） */
@media (max-width: 768px) {

  /******** 1. 顶部文字链接：<nav class="topzone-tags"> ********/
  .topzone-tags a {
    font-size: 18px !important;      /* 调这里：顶部“快猫直播”等文字大小 */
    font-weight: 600 !important;     /* 可选：加粗，想变细就改成 400 */
  }

  /******** 2. app-grid 下面的小卡片标题：<div class="name">广告</div> ********/
  .app-grid .app-card .name {
    font-size: 18px !important;      /* 调这里：卡片下方“广告”等文字大小 */
    font-weight: 500 !important;
  }

  /******** 3. 霓虹广告文字：<span class="neon-text">广告</span> ********/
  .adgrid-neon-wrap .neon-item .neon-text {
    font-size: 18px !important;      /* 调这里：霓虹广告里的文字大小 */
    font-weight: 700 !important;     /* 想不那么粗就改成 500 或 400 */
  }

}

/* === 手机端：统一控制 LOGO 大小 + 上下间距（最终覆盖） === */
@media (max-width: 768px){

  /* 1. 整个头部条本身不要额外 padding，高度由内容决定 */
  header.stui-header.ios26,
  header.stui-header.ios26 .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 2. 这一行去掉 min-height，跟着 logo 高度走 */
  header.stui-header.ios26 .row {
    min-height: 0 !important;          /* 把你前面写的 min-height:52px 压掉 */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;    /* 仍然保持垂直居中 */
  }

  /* 3. LOGO 块本身不要再加额外外边距 */
  header.stui-header.ios26 .stui-header__logo {
    margin: 0 0 0 8px !important;      /* 想往右挪就改这个 8px，比如 20px */
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 4. 真正控制手机端 LOGO 大小的地方 */
  header.stui-header.ios26 .stui-header__logo .logo img {
    display: block !important;
    height: 80px !important;           /* ← 改这个数：越大越高，上下缝越小 */
    width: auto !important;
  }
}

/* 顶部导航按钮：常态（粉色胶囊） */
.stui-header__menu li a{
  background: linear-gradient(90deg, #f472b6, #ec4899) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 6px 16px rgba(244,114,182,.35) !important;

  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;

  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .12s ease !important;
}

/* 顶部导航按钮：鼠标靠近时变白，文字变粉 */
.stui-header__menu li a:hover,
.stui-header__menu li.active a{
  background: #ffffff !important;          /* 按钮变白 */
  background-image: none !important;       /* 把旧的渐变彻底关掉 */
  color: #f472b6 !important;               /* 文字改粉 */
  border-color: #f472b6 !important;
  box-shadow: 0 0 14px rgba(244,114,182,.75) !important;
  transform: translateY(-1px) !important;  /* 轻微上浮 */
}

/* ===== 列表头部：标题靠左，“更多 >” 靠右（PC + 手机） ===== */
.stui-vodlist__head{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px !important;  /* 左右缩进，想更贴边改成 0 */
    margin: 8px 0 !important;
}

.stui-vodlist__head h3{
    margin: 0 !important;
}

.stui-vodlist__head h3 a{
    margin: 0 !important;
}

/* 右侧“更多 >”按钮，跟着 flex 自然靠最右 */
.stui-vodlist__head .more,
.stui-vodlist__head > a.pull-right{
    position: static !important;
    transform: none !important;
    margin-left: auto !important;   /* 自动贴到最右 */
}
/* ===== 顶部导航按钮最终样式（粉色胶囊 + 悬停变白）===== */

/* 常态：粉色渐变 */
.stui-header__menu li a{
  background: linear-gradient(90deg, #f472b6, #ec4899) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 6px 16px rgba(244,114,182,.35) !important;

  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;

  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .12s ease !important;
}

/* 悬停 / 选中：按钮变白，文字变粉色 */
.stui-header__menu li a:hover,
.stui-header__menu li.active a{
  background: #ffffff !important;
  background-image: none !important;
  color: #f472b6 !important;
  border-color: #f472b6 !important;
  box-shadow: 0 0 14px rgba(244,114,182,.75) !important;
  transform: translateY(-1px) !important;
}
/* ===== 列表标题药丸新款式：图标单独一颗小圆点 ===== */

/* 左边“国产AV”这一颗药丸 */
.stui-vodlist__head h3 a{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;

  padding: 4px 14px 4px 10px !important;
  border-radius: 999px !important;

  /* 背景改成深色半透明，不再用粉色渐变压住图标 */
  background: rgba(15,23,42,0.95) !important;
  color: #fff !important;
  border: 1px solid rgba(248,113,161,.65) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.55) !important;

  text-decoration: none !important;
  white-space: nowrap !important;
}

/* 药丸左侧的小图标：独立一颗亮粉小圆点，保证不会被背景盖住 */
.stui-vodlist__head h3 a .iconfont{
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: radial-gradient(circle at 30% 30%,
              rgba(255,255,255,.9) 0,
              rgba(255,255,255,0) 45%),
              linear-gradient(135deg,#f472b6,#ec4899) !important;
  color: #fff !important;
  font-size: 14px !important;

  box-shadow: 0 0 8px rgba(244,114,182,.7) !important;
}
/* ===== 顶部菜单最终统一：默认+active 同色，仅 hover 才反色 ===== */

/* 默认状态 & 当前激活页：都是粉色胶囊 */
.stui-header__menu li a,
.stui-header__menu li.active a {
  background: linear-gradient(90deg, #f472b6, #ec4899) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 6px 16px rgba(244,114,182,.35) !important;

  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  transform: none !important;
}

/* 悬停时：白底粉字，上浮一点 */
.stui-header__menu li a:hover {
  background: #ffffff !important;
  background-image: none !important;
  color: #f472b6 !important;
  border-color: #f472b6 !important;
  box-shadow: 0 0 14px rgba(244,114,182,.75) !important;
  transform: translateY(-1px) !important;
}
/* 统计条数字统一改为白色（PC+手机） */
.sec-stats .num {
    color: #ffffff !important;
}
