﻿@charset "utf-8";

/* ==================
   全局重置 (Reset & Global)
   ================== */
/* 设置 body 和 html 宽度 100% */
body, html{ width:100%; }
/* 基础字体设置：14px，行高 1.4 倍 */
body{ font-size:14px; line-height: 140%}
/* 重置所有常见标签的内边距、外边距和字重 */
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,tr{ margin:0; padding:0; font-weight:normal}
input,select{ font-size:12px; vertical-align:middle; border:none;}
ul,li{ list-style-type:none;} /* 去除列表默认样式 */
img{ border:0 none;}
p{ margin-bottom: 10px;}

/* ==================
   布局容器 (Container & Grid Helper)
   ================== */
/* 全局盒模型设置：包含边框和内边距 */
*{ margin:0; padding:0; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box}
:after,:before{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box}
/* 居中容器 */
.container{ position: relative; margin-right: auto; margin-left: auto;}
.row{ position: relative; margin: 0; padding: 0;}
/* 清除浮动 (Clearfix) */
.container:before,.container:after,.row:before,.row:after,.clearfix:before, .clearfix:after{ display: table; content: " "; clear: both;}

/* ==================
   排版与文本工具类 (Typography)
   ================== */
h1{ font-size:36px;}
h2{ font-size:32px;}
h3{ font-size:24px;}
h4{ font-size:18px;}
h5{ font-size:16px;}
h6{ font-size:14px;}
h1,h2,h3,h4,h5,h6{ font-weight: 400; margin-bottom:10px}

/* 链接与按钮基础交互 */
a,button{ text-decoration:none; outline:none; -webkit-tap-highlight-color:rgba(0,0,0,0);}
button{ border: 0;}
button:hover,input.btn{ cursor: pointer;}
a:focus,a:hover,a:active{ text-decoration:none;}

/* 文本对齐工具类 */
.text-center{ text-align: center;}
.text-left{ text-align: left;}
.text-right{ text-align: right;}
/* 单行文本溢出省略号 (...) */
.text-overflow{ width:100%; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;}
/* 内容区域样式：自动换行 */
.content{ font-size: 16px; line-height: 30px; word-wrap: break-word; white-space: normal; word-break: break-all;}

/* 字体大小辅助类 */
.font-12{font-size:12px;}
.font-13{font-size:13px;}
.font-14{font-size:14px;}
.font-15{font-size:15px;}
.font-16{font-size:16px;}
.font-18{font-size:18px;}
.font-20{font-size:20px;}
.font-22{font-size:22px;}
.font-24{font-size:24px;}
.font-25{font-size:24px;}
.font-40{font-size:40px;}
.font-bold{ font-weight: 700;}

/* ==================
   图片样式 (Images)
   ================== */
img{border: 0; vertical-align:middle}
.img-circle{ border-radius: 50%;} /* 圆形图 */
.img-rounded{ border-radius: 5px;} /* 圆角图 */
.img-thumbnail{ padding: 5px; border-radius: 5px;}
.img-responsive{ max-width: 100%;} /* 响应式图片 */
.img-thumb{ width: 220px;}
.content img{ display: block; max-width: 100%;}

/* ==================
   表单元素 (Forms)
   ================== */
select{cursor: pointer; border: none; outline: none;}
input,textarea{outline: medium none; outline: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
input.form-control,input.btn{ outline:0px; -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 ease-in-out .15s,box-shadow ease-in-out .15s;}
textarea.form-control{ height: auto; padding: 10px;}
/* 验证码输入框 */
.form-control.verify{ width: 90px; text-align: center; margin-right: 10px; display: inline-block;}

/* ==================
   间距工具类 (Spacing Utilities)
   ================== */
/* p=padding, m=margin, t=top, b=bottom */
.pb10{ padding-bottom: 10px;}
.pt10{ padding-top: 10px;}
.pb15{ padding-bottom: 15px;}
.pt15{ padding-top: 15px;}
.pb20{ padding-bottom: 20px;}
.pt20{ padding-top: 20px;}
.pb30{ padding-bottom: 30px;}
.pt30{ padding-top: 30px;}

.mb10{ margin-bottom: 10px;}
.mt10{ margin-top: 10px;}
.mb15{ margin-bottom: 15px;}
.mt15{ margin-top: 15px;}
.mb20{ margin-bottom: 20px;}
.mt20{ margin-top: 20px;}
.mb30{ margin-bottom:30px;}
.mt30{ margin-top: 30px;}

/* ==================
   装饰性线条与点 (Lines & Decorations)
   ================== */
/* 小圆点装饰 */
.spot{display: inline-block; margin-right: 5px; width: 8px; height: 8px; background-color: #fff; border-radius: 50%;  border: 2px solid;}
/* 竖线分隔符 */
.split-line{display: inline-block; margin-left: 12px; margin-right: 12px; width: 1px; height: 14px; vertical-align: -2px;}
/* 1px 细边框线条实现 (用于 Retina 屏优化) */
.top-line,.top-line-dot,.bottom-line,.bottom-line-dot{ position: relative;}
.top-line:before,.top-line-dot:before{content: " "; position: absolute; left: 0; top: 0; right: 0; width: 100%; height: 1px;}
.bottom-line:after,.bottom-line-dot:before{content: " "; position: absolute; left: 0; bottom: 0; right: 0; width: 100%; height: 1px;}
.top-line:before{ border-top: 1px solid;}
.bottom-line:after{ border-bottom: 1px solid;}
.top-line-dot:before{ border-top: 1px dotted;} /* 虚线 */
.bottom-line-dot:before{ border-bottom: 1px dotted;}

/* 边框粗细工具类 */
.border{ border: 1px solid;}
.border-2x{ border: 2px solid;}
.border-3x{ border: 3px solid;}
.border-4x{ border: 4px solid;}
.border-5x{ border: 5px solid;}

/* ==================
   UI 组件: 徽标与按钮 (Badge & Button)
   ================== */
/* 徽标 (如消息数) */
.badge{display: inline-block; margin-right: 10px; width: 18px; height: 18px; text-align: center; line-height: 18px; border-radius: 2px; font-size: 12px;}
.badge-radius{ border-radius: 50%;}

/* 按钮尺寸变种 */
.btn{display: inline-block; padding: 8px 30px; font-size: 12px;}
.btn.btn-xs{ padding: 4px 15px;}
.btn.btn-sm{ padding: 6px 20px;}
.btn.btn-md{ padding: 8px 25px;}
.btn.btn-lg{ padding: 12px 30px;}
.btn.btn-block{ display: block; width: 100%; padding-left: 5px; padding-right: 5px; text-align: center; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;}
.btn.disabled{cursor: not-allowed;}

/* ==================
   导航组件 (Navigation)
   ================== */
.nav{ position: relative;}
.nav > li{ float: left;}
.nav > li.active > a{ border-bottom: 2px solid;} /* 激活状态下划线 */
/* 头部导航与 Tab 切换 */
.nav-head > li,.nav-tabs > li{ margin-top: 10px; margin-left: 30px;}
.nav-head > li > a{ padding-bottom: 8px; font-size: 16px;}
.nav-tabs > li > a{ padding-bottom: 10px;}
/* 导航内的下拉菜单 */
.nav-tabs > li .dropdown-box{ margin-left: -50px; padding-top: 0;}
.nav-tabs > li .dropdown-box .item{ width: 100px; text-align: center;}
.nav-tabs > li .dropdown-box .item li{ padding: 5px;}
/* 标签云样式导航 */
.nav-tag > li{ margin-left: 10px;}
.nav-tag > li > a{ display: inline-block; padding:0 10px; height: 25px; line-height: 23px; font-size: 14px; border-radius: 20px;}
/* 纯文本导航 */
.nav-text > li{line-height: 30px;}
.nav-text > li.active > a{ color: #f80;}
/* 分页导航 */
.nav-page{ margin-left: 10px;}
.nav-page > li{ margin-left: 5px;}
.nav-page > li > a{ display: inline-block; font-size: 14px; padding: 0 6px; height: 25px; line-height: 23px;}
.nav-page > li:first-child{ margin-left: 0;}
/* 分页圆角处理 */
.nav-page > li:first-child > a{ border-radius: 4px 0 0 4px;}
.nav-page > li:last-child > a{ border-radius: 0 4px 4px 0;}

/* ==================
   图片角标 (Picture Tags)
   ================== */
/* 悬浮在海报上的标签，如“HD”, “更新至XX集” */
.pic-tag{ position: absolute; z-index: 99; padding:2px 5px; font-size: 12px; border-radius: 2px;}
.pic-tag-top{top: 5px; left: 5px;}
.pic-tag-left{bottom: 5px; left: 5px;}
.pic-tag-bottom{bottom: 5px; right: 5px;}
.pic-tag-right{top: 5px; right: 5px;}
.pic-tag-h{left: 0; top: 0; padding:2px 8px; border-radius: 0 0 8px 0;} /* 特殊形状角标 */
.pic-tag-lg{ padding: 4px 10px;}
/* 图片底部的文字说明 */
.pic-text{display: block; width: 100%; position: absolute; z-index: 99; bottom: 0; left: 0; padding:5px 10px; font-size: 12px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;}
.pic-text-silde{ padding-bottom: 20px; font-size: 14px;}
.pic-text-lg{ padding: 8px 20px; font-size: 14px;}
.pic-title-top{display: block; width: 100%; position: absolute; top: 0; left: 0; padding:5px 10px 10px; font-size: 12px; word-break:break-all; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.pic-title-bottom{display: block; width: 100%; position: absolute; bottom: 0; left: 0; padding:5px 10px; font-size: 12px; word-break:break-all; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}

/* 二维码容器 */
.qrcode-box{ display: inline-block; position: relative; margin-bottom: 10px;}
.qrcode-box .icon{ position: absolute; top: 50%; left: 50%; margin-top: -12.5px; margin-left: -12.5px; border-radius: 2px; background-color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1);}

/* ==================
   下拉菜单 (Dropdowns)
   ================== */
.dropdown{ position: relative;}
.dropdown-box{ display: none; position: absolute; z-index: 99;}
/* 下拉菜单定位方向 */
.dropdown-box.top{ bottom: 100%; padding-bottom: 10px; left: 50%; margin-left: -80px;}
.dropdown-box.bottom{ top: 100%; padding-top: 10px; left: 50%; margin-left: -80px;}
.dropdown-box.left{ left: 100%; padding-left: 10px; bottom: 0;}
.dropdown-box.right{ right: 100%; padding-right: 10px; bottom: 0;}
.dropdown-box .item{ padding: 10px; width: 160px; border-radius: 2px;}
/* 悬停显示逻辑 */
.dropdown-hover{ position: relative;}
.dropdown-hover:hover .dropdown-box{ display: block;}
.open>.dropdown-box{display: block;}

/* 布局辅助 */
.myui-layout{ position: relative;}

/* ==================
   面板 (Panels)
   ================== */
.myui-panel{position: relative;}
.myui-panel-box.active{ padding: 0;}

/* 面板头部 */
.myui-panel__head{ position: relative; height: 30px;}
.myui-panel__head .title{ float: left; display: inline-block; margin:0; padding-right: 10px; line-height: 30px;}
.myui-panel__head .title img{ display: inline-block; width: 24px; height: 24px; margin-right: 10px; vertical-align: -5px;}
.myui-panel__head .title, .myui-panel__head .title a{ font-size: 24px;}
.myui-panel__head .more{ line-height: 30px;}
.myui-panel__head .operate{ position: relative; padding-bottom: 5px;}
.myui-panel__head .operate.open .dropdown-menu{ display: block;}
.myui-panel__head.active{ height: 42px;}

/* ==================
   视频列表 (Vod List) - 核心组件
   ================== */
/* 视频封面缩略图 */
.myui-vodlist__thumb{ display: block; position: relative; background-position: 50% 50% !important; background-size: cover !important; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.1);}
/* 纯图片模式 */
.myui-vodlist__thumb.picture { background: none; overflow: hidden;}
.myui-vodlist__thumb.picture img{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
/* 播放按钮遮罩 */
.myui-vodlist__thumb .play{ opacity: 0; position: absolute; top: 0; z-index: 1; width: 100%; height: 100%; background: rgba(0,0,0,0.2) url(../img/play.png) center no-repeat; background-color: rgba(0,0,0,.2); -webkit-transition: all ease-out .35s; transition: all ease-out .35s;}
.myui-vodlist__thumb .play-v{ opacity: 0; position: absolute; top: 0; z-index: 1; width: 100%; height: 100%; background-color: rgba(0,0,0,.2); -webkit-transition: all ease-out .35s; transition: all ease-out .35s;}
.myui-vodlist__thumb .play.active{ opacity: 1;}
/* 鼠标悬停显示播放按钮 */
.myui-vodlist__thumb:hover .play,.myui-vodlist__thumb:hover .play-v{ opacity: 1;}

/* 视频详情文字区域 */
.myui-vodlist__detail.active{ padding: 0 10px 10px;}
.myui-vodlist__detail .title{ margin: 10px 0 0; font-size: 15px; font-weight: 700;}
.myui-vodlist__detail .title.active{ font-size: 16px; margin-bottom: 10px;}
.myui-vodlist__detail .text{ min-height: 19px; font-size: 12px; margin-bottom: 0; margin-top: 5px;}
/* 标题两行显示，超出隐藏 */
.myui-vodlist__detail .text-title{ font-size: 14px; line-height: 18px; margin:11px 0 0; height: 36px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;}

/* 纯文本列表样式 */
.myui-vodlist__text li a{ display: block;}
.myui-vodlist__text.active li a{ padding: 0 0 15px;}
.myui-vodlist__text.active li:first-child a{ padding-top: 0;}
/* 条纹状列表 */
.myui-vodlist__text.striped li{ padding: 10px 0 10px;}
.myui-vodlist__text.striped li a{ display: inline-block; padding: 0;}
.myui-vodlist__text.striped .striped-head{ padding: 10px; border-radius: 5px;}
.myui-vodlist__text .striped-head{ font-weight: 700;}
.myui-vodlist__text.to-color li{ padding: 10px; border-radius: 5px;}
.myui-vodlist__text.to-color li a{ padding: 0;}
/* 下载列表样式 */
.myui-vodlist__text.downlist{ padding-top: 0;}
.myui-vodlist__text.downlist li{ padding: 10px 0;}
.myui-vodlist__text.downlist li .text{ line-height: 30px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;}
.myui-vodlist__text.downlist li a{ display: inline-block; padding: 0;}
.myui-vodlist__text.downlist li a.btn{ padding: 4px 12px; margin-left: 10px;}

/* 媒体列表 (左图右文) */
.myui-vodlist__media li:first-child{ padding-top: 0;}
.myui-vodlist__media li:last-child{ padding-bottom: 0;}
.myui-vodlist__media .thumb,.myui-vodlist__media .detail{display: table-cell; vertical-align: top;}
.myui-vodlist__media .detail{ width: 100%; padding: 0 0 0 20px;}
.myui-vodlist__media .detail .desc{ height: 40px;}
.myui-vodlist__media .detail-side{ padding:0 10px 0;}
.myui-vodlist__media .detail-left{ padding: 0 20px 0 0;}
.myui-vodlist__media .detail h4.title{ margin: 10px 0 10px; font-size: 18px; line-height: 25px;}
.myui-vodlist__media .detail h5.title{ font-size: 15px; height: 38px; line-height: 20px;}

/* 筛选列表 */
.myui-vodlist__screen { padding:10px 0 5px;}
.myui-vodlist__screen:first-child{ padding-top: 0;}
.myui-vodlist__screen:last-child{ padding-bottom: 0;}
.myui-vodlist__screen li{ float: left; width: 25%; margin-bottom: 5px;}

/* 排行榜列表 */
.myui-vodlist__rank li{ margin-bottom: 10px;}
.myui-vodlist__rank li:last-child{ margin-bottom: 0;}

/* 友情链接列表 */
.myui-link__text li{ float: left; margin-right: 15px; margin-bottom: 10px;}

/* 播放集数列表 */
.myui-content__list{ position: relative;}
.myui-content__list li{ float: left; padding: 10px;}
.myui-content__list li a{ display: block; padding: 8px; text-align: center; width:100%; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;}
.myui-play__list li{ float: left;}
.myui-play__list li a{ display: block; padding: 8px 0; text-align: center;}

/* 文章/新闻样式 */
.myui-article__title{ margin: 0 0 10px; font-size: 24px; line-height: 30px; font-weight: 700;}
.myui-article__sub{ margin-bottom: 10px; padding-bottom: 10px;}
.myui-article__content{ line-height: 30px; font-size: 16px;}
.myui-article__content img{ display: block; max-width: 100%;}

/* 筛选按钮组 */
.myui-screen__list{ position:relative;}
.myui-screen__list li{ float:left;}
.myui-screen__list li a.btn{ padding: 5px 12px; font-size: 14px;}

/* 表格样式 */
.myui-table{ position: relative; width: 100%; max-width: 100%; border-spacing: 0; border-collapse: collapse;}
.myui-table>thead>tr>th { vertical-align: bottom; border-bottom: 2px solid;}
.myui-table>tbody>tr>td, .myui-table>tbody>tr>th, .myui-table>tfoot>tr>td, .myui-table>tfoot>tr>th, .myui-table>thead>tr>td, .myui-table>thead>tr>th { padding: 8px; line-height: 25px; vertical-align: top; border-bottom: 1px solid;}

/* 留言/评论列表 */
.styu-message__list{ position: relative; padding: 20px 0;}
.styu-message__list .avatar{ float: left; width: 60px;}
.styu-message__list .data{ margin-left: 60px;}
.styu-message__list .data .name{ margin: 0; font-size: 16px;}
.styu-message__list .data .content{ padding: 5px 0; line-height: 20px; word-wrap: break-word; white-space: normal;}
.styu-message__list .data .admin,.styu-message__list .data .content{ margin: 0; font-size: 14px;}
.styu-message__list.child{ margin-top: 20px; padding-bottom: 0;}

/* 分页条 */
.myui-page{ margin-bottom:30px}
.myui-page li{ display:inline-block; margin-left:10px}
.myui-page li .num,.myui-page li a{ padding:5px 15px;}

/* 右下角悬浮操作 (如回到顶部) */
.myui-extra{position:fixed;right:50px;bottom:50px}
.myui-extra li{position:relative;padding:15px 10px 0}
.myui-extra li a{display:block;width:50px;height:50px;line-height:50px;text-align:center;border-radius:4px;font-size:18px;cursor:pointer;}

/* ==================
   Flickity 轮播插件样式
   ================== */
.flickity{ position: relative; white-space: nowrap;}
.flickity [class^="col-"]{ float: none !important; display: inline-block !important;} /* 修复网格在轮播中的浮动 */
.flickity.dots{ padding-bottom: 20px;}
.flickity-enabled{ position:relative;}
.flickity-enabled:focus{ outline:0}
.flickity-viewport{ position:relative; overflow:hidden; height:100%}
.flickity-slider{ position:absolute; width:100%; height:100%}
.flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing}
/* 轮播前后按钮 */
.flickity-prev-next-button{ opacity: 0; position:absolute; top:50%; width: 25px; height: 50px; border:none; background-color: rgba(0,0,0,.6); cursor:pointer; -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); transform:translateY(-50%); -webkit-transition: all ease-out .35s; transition: all ease-out .35s;}
.flickity-prev-next-button.previous{ left: 0; border-radius: 0 6px 6px 0}
.flickity-prev-next-button.next{ right: 0; border-radius: 6px 0 0 6px}
.flickity-prev-next-button:disabled{ opacity:0; cursor:auto}
.flickity-prev-next-button svg{ position:absolute; left:20%; top:20%; width:60%; height:60%;}
.flickity-prev-next-button .arrow{ fill:#fff}
.flickity-prev-next-button.no-svg{ color:#fff; font-size:18px}
/* 轮播圆点导航 */
.flickity-page-dots{ position: relative; text-align:center;}
.flickity-page-dots .dot{ display:inline-block; width:15px; height:3px; margin:0 5px; opacity:.25; cursor:pointer}
.flickity-page-dots .dot.is-selected{ opacity:1}
.flickity:hover .flickity-prev-next-button{ opacity: 1;}
.flickity.active .flickity-prev-next-button{  margin-top: -25px;}
.flickity.center .flickity-prev-next-button.previous{ left: 0;}
.flickity.center .flickity-prev-next-button.next{ right: 0;}

/* ==================
   标准 Carousel 轮播样式
   ================== */
.carousel{ position: relative;}
.carousel-control{ position: absolute; z-index: 99; top: 0; bottom: 0; display: block; width: 50px; height: 100%;}
.carousel-control.left{ left: 30px;}
.carousel-control.right{ right: 30px; }
.carousel-control .fa{ position: absolute; top: 50%; margin-top: -25px; display: block; width: 50px; height: 50px; text-align: center; font-size: 30px; line-height: 50px; background-color: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; opacity: 0.5;}
.carousel-control:hover .fa{ opacity: 1;}
/* 指示器容器 */
.carousel-indicators{ position: absolute; z-index: 101;}
.carousel-indicators-dots{ width: 100%; bottom: 20px; left: 0; text-align: center;}
.carousel-indicators-dots li{ display: inline-block; margin: 0 5px; width:15px; height:3px; opacity:.25; cursor:pointer}
.carousel-indicators-dots li.active{ opacity:1;}
/* 侧边文本指示器 */
.carousel-indicators-text{ z-index: 2; top: 0; bottom: 0; right: 150px; width: 260px; padding: 50px 20px; background-color: rgba(32,32,32,.6);}
.carousel-indicators-text li{ padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer;}
.carousel-indicators-text li:last-child{ border-bottom: 0;}
.carousel-indicators-text li .title{ margin: 0; color: #ccc;}
.carousel-indicators-text li .text{ margin: 0; font-size: 12px; color: #999;}
/* 缩略图指示器 */
.carousel-indicators-thumb{ bottom: 20px; left: 0; width: 100%; text-align: center;}
.carousel-indicators-thumb li{ display: inline-block; margin: 0 2px; border: 3px solid rgba(255,255,255,.6); box-shadow: 0 2px 5px rgba(0,0,0,.1); border-radius: 2px; overflow: hidden;}

/* ==================
   弹出层 (Popup)
   ================== */
.popup{position: fixed; z-index: 1001; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-transition:.5s; -o-transition:.5s; -moz-transition:.5s; -ms-transition:.5s; transition:.5s;}
/* 弹出方向定义 */
.popup.left{ left: -100%; top: 0;}
.popup.right{ right: -100%; top: 0;}
.popup.top{ top: -100%; left: 0;}
.popup.bottom{ bottom: -100%; right: 0;}
/* 激活状态 */
.popup-visible.left{ left: 0;}
.popup-visible.right{ right: 0;}
.popup-visible.top{ top: 0;}
.popup-visible.bottom{ bottom: 0;}
.popup-head{ position: relative; padding: 10px 20px;}
.popup-body{ position: relative; padding: 10px;}

/* 嵌入式内容 (iframe/video) 响应式容器 */
.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}
/* 16:9 比例 */
.embed-responsive-16by9{padding-bottom:56.25%}
/* 4:3 比例 */
.embed-responsive-4by3{padding-bottom:75%}

/* ==================
   Bootstrap 兼容类
   ================== */
.fade{opacity: 0;-webkit-transition: opacity .15s linear;-o-transition: opacity .15s linear;transition: opacity .15s linear;}
.fade.in{opacity: 1;}
.collapse{ display: none;}
.collapse.in{ display: block;}
.tab-content>.tab-pane,.carousel-inner>.item{ display: none;}
.tab-content>.tab-pane.active,.carousel-inner>.item.active{ display: block;}

/* 模态框 (Modal) */
.modal-open{ overflow: hidden;}
.modal-backdrop{position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000;}
.modal-backdrop.fade{ opacity: 0;}
.modal-backdrop.fade.in{ opacity: .5;}

/* ==================
   自动完成/搜索建议
   ================== */
.autocomplete-suggestions{ position: absolute; top: 100%; width: 100%; z-index: 9999; padding: 10px; margin-top: 5px; border-radius:4px;}
.autocomplete-suggestion,.autocomplete-suggestions li{padding: 5px 0; cursor:pointer;}
.autocomplete-suggestion:first-child{border-top:0}

/* 移动端分享遮罩 */
.mobile-share{ position: fixed; z-index: 999; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; animation: fade-in; animation-duration: .5s; -webkit-animation:fade-in .5s;}
.share-weixin{ background: url(../img/share_weixin.png) rgba(0, 0, 0, .8) no-repeat; background-position: right top 10px; background-size: 80%;}
.share-other{ background: url(../img/share_other.png) rgba(0, 0, 0, .8) no-repeat; background-position: center bottom 10px; background-size: 80%;}

/* 底部 Tabbar (默认隐藏，移动端显示) */
.myui-nav__tabbar{ display: none;}

/* ==================
   工具类与动画 (Utilities & Animations)
   ================== */
.hidden{ overflow: hidden !important;}
.relative{ position: relative;}
.fixed{ position: fixed;}
.block{ display: block !important;}
.inline-block{ display: inline-block !important;}
.top-fixed-up{ margin-top: 0 !important;}
.top-fixed{ -webkit-transition:.5s; -o-transition:.5s; -moz-transition:.5s; -ms-transition:.5s; transition:.5s;}
.pull-left{ float: left !important;}
.pull-right{ float: right !important;}
.margin-0{ margin: 0 !important;}
.padding-0{ padding: 0 !important;}
.margin-t0{ margin: 0 !important;}
.padding-t0{ padding-top: 0 !important;}
.margin-b0{ margin-bottom: 0 !important;}
.padding-b0{ padding-top: 0 !important;}
.radius-0{ border-radius: 0 !important;}
/* 响应式显示/隐藏 */
.hide,.visible-lg, .visible-md, .visible-sm, .visible-xs, .visible-mi,.visible-inline-lg, .visible-inline-md, .visible-inline-sm, .visible-inline-xs, .visible-inline-mi{ display: none !important;}
/* 遮罩层 */
.mask{ position: fixed; top: 0; left: 0; bottom: 0; z-index: 999;  width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); animation: fade-in; animation-duration: .5s; -webkit-animation:fade-in .5s;}
/* 动画定义 */
.fadeInDown{ -webkit-animation: fadeInDown .5s .2s ease both; -moz-animation: fadeInDown .5s .2s ease both;}
@keyframes fade-in {0% {opacity: 0;}40% {opacity: 0;}100% {opacity: 1;}}  
@-webkit-keyframes fade-in { 0% {opacity: 0;}  40% {opacity: 0;}100% {opacity: 1;}}  
@-webkit-keyframes fadeInDown{0%{opacity: 0; -webkit-transform: translateY(-10px);} 100%{opacity: 1; -webkit-transform: translateY(0);}}
@-moz-keyframes fadeInDown{0%{opacity: 0; -moz-transform: translateY(-10px);} 100%{opacity: 1; -moz-transform: translateY(0);}}

/* ==================
   栅格系统 (Grid System) - 类似 Bootstrap
   ================== */
/* 基础列样式 */
.col-pd,.col-lg-1,.col-lg-10,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px}
/* 移动端 (xs) 列定义 */
.col-xs-1,.col-xs-10,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-wide-1,.col-xs-wide-10,.col-xs-wide-15,.col-xs-wide-2,.col-xs-wide-25,.col-xs-wide-3,.col-xs-wide-35,.col-xs-wide-4,.col-xs-wide-45,.col-xs-wide-5,.col-xs-wide-55,.col-xs-wide-6,.col-xs-wide-65,.col-xs-wide-7,.col-xs-wide-75,.col-xs-wide-8,.col-xs-wide-85,.col-xs-wide-9,.col-xs-wide-95{float:left}
.col-xs-10{width:10%}.col-xs-9{width:11.1111111%}.col-xs-8{width:12.5%}.col-xs-7{width:14.2857143%}.col-xs-6{width:16.6666667%}.col-xs-5{width:20%}.col-xs-4{width:25%}.col-xs-3{width:33.3333333%}.col-xs-2{width:50%}.col-xs-1{width:100%}
/* 自定义宽度百分比 (wide系列) */
.col-xs-wide-10{width:10%}.col-xs-wide-9{width:90%}.col-xs-wide-8{width:80%}.col-xs-wide-7{width:70%}.col-xs-wide-6{width:60%}.col-xs-wide-5{width:50%}.col-xs-wide-4{width:40%}.col-xs-wide-3{width:30%}.col-xs-wide-2{width:20%}.col-xs-wide-15{width:15%}.col-xs-wide-95{width:95%}.col-xs-wide-85{width:85%}.col-xs-wide-75{width:75%}.col-xs-wide-65{width:65%}.col-xs-wide-55{width:55%}.col-xs-wide-45{width:45%}.col-xs-wide-35{width:35%}.col-xs-wide-25{width:25%}
/* 固定宽度图片辅助类 */
.img-xs-300{ width: 300px;}.img-xs-220{ width: 220px;}.img-xs-190{ width: 190px;}.img-xs-160{ width: 160px;}.img-xs-150{ width: 150px;}.img-xs-140{ width: 140px;}.img-xs-130{ width: 130px;}.img-xs-120{ width: 120px;}.img-xs-110{ width: 110px;}.img-xs-100{ width: 100px;}.img-xs-90{ width: 90px;}.img-xs-80{ width: 80px;}.img-xs-70{ width: 70px;}

/* 小屏幕平板 (sm >= 768px) */
@media (min-width: 768px){
    .col-sm-1,.col-sm-10,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-wide-1,.col-sm-wide-10,.col-sm-wide-15,.col-sm-wide-2,.col-sm-wide-25,.col-sm-wide-3,.col-sm-wide-35,.col-sm-wide-4,.col-sm-wide-45,.col-sm-wide-5,.col-sm-wide-55,.col-sm-wide-6,.col-sm-wide-65,.col-sm-wide-7,.col-sm-wide-75,.col-sm-wide-8,.col-sm-wide-85,.col-sm-wide-9,.col-sm-wide-95{float:left}
    .col-sm-10{width:10%}.col-sm-9{width:11.1111111%}.col-sm-8{width:12.5%}.col-sm-7{width:14.2857143%}.col-sm-6{width:16.6666667%}.col-sm-5{width:20%}.col-sm-4{width:25%}.col-sm-3{width:33.3333333%}.col-sm-2{width:50%}.col-sm-1{width:100%}
    /* 此处省略了部分 sm-wide 和 img-sm 的详细定义注释，逻辑同 xs */
    .img-sm-300{ width: 300px;}.img-sm-220{ width: 220px;} /* ... */
}

/* 中等屏幕桌面 (md >= 1024px) */
@media (min-width: 1024px){ 
    .col-md-1,.col-md-10,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-wide-1,.col-md-wide-10,.col-md-wide-15,.col-md-wide-2,.col-md-wide-25,.col-md-wide-3,.col-md-wide-35,.col-md-wide-4,.col-md-wide-45,.col-md-wide-5,.col-md-wide-55,.col-md-wide-6,.col-md-wide-65,.col-md-wide-7,.col-md-wide-75,.col-md-wide-8,.col-md-wide-85,.col-md-wide-9,.col-md-wide-95{float:left}
    /* 栅格宽度定义 */
    .col-md-10{width:10%}.col-md-9{width:11.1111111%}.col-md-8{width:12.5%} /* ... */
    .col-md-wide-666{width:71%} /* 特殊宽度 */
    /* ... */
}

/* 大屏幕 (lg >= 1440px) */
@media (min-width: 1440px){     
    .col-lg-1,.col-lg-10,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-wide-1,.col-lg-wide-10,.col-lg-wide-15,.col-lg-wide-2,.col-lg-wide-25,.col-lg-wide-3,.col-lg-wide-35,.col-lg-wide-4,.col-lg-wide-45,.col-lg-wide-5,.col-lg-wide-55,.col-lg-wide-6,.col-lg-wide-65,.col-lg-wide-7,.col-lg-wide-75,.col-lg-wide-8,.col-lg-wide-85,.col-lg-wide-9,.col-lg-wide-95{float:left}
    /* ... 栅格宽度定义 ... */
}

/* ==================
   响应式可见性工具 (Visibility)
   ================== */
@media (min-width: 1500px){ 
    .visible-lg { display: block !important;}
    .hidden-lg {display: none !important;}    
    .visible-inline-lg { display: inline-block !important;}
    .visible-text-lg { visibility: visible !important;}
    .hidden-text-lg {visibility: hidden !important;}
}

@media (max-width: 1199px) and (min-width: 1023px){
    .visible-md { display: block !important;}
    .hidden-md { display: none!important;}
    .visible-inline-md { display: inline-block !important;}
    /* ... */
}

@media (max-width: 1023px) and (min-width: 767px){ 
    .visible-sm { display: block !important;}
    .hidden-sm { display: none !important;} 
    /* ... */
}

/* ==================
   移动端与平板适配 (Mobile & Tablet)
   ================== */
@media (max-width: 1023px){ 
    
    /* 触摸屏禁用悬停下拉 */
    .dropdown-hover:hover .dropdown-box{ display: none;}
    
    /* 面板头部高度压缩 */
    .myui-panel__head .more{ line-height: 35px;}
    .myui-panel__head.active{ height: 35px;}
    
    /* 导航 Tab 变为横向滚动模式 */
    .nav-head > li, .nav-tabs > li{ margin-top: 8px; margin-left: 15px;}
    .nav-tabs.active{ height: 35px; white-space:nowrap; overflow-y:hidden; overflow-x:scroll; -webkit-overflow-scrolling:touch}
    .nav-tabs.active li{ float: none; display: inline-block;}
    .nav-tabs > li .dropdown-box{ margin-left: -80px;}
    
    /* 筛选列表横向滚动 */
    .myui-screen__list{ white-space:nowrap; overflow-y: hidden;}
    .myui-screen__list li{ float: none; display: inline-block; margin-bottom: 0;}
    .myui-screen__list li a.btn{ font-size: 12px; white-space:nowrap}
    
    /* 视频列表微调 */
    .myui-vodlist__detail .title.active{ font-size: 14px; margin-bottom: 0;}
    
    /* 播放列表允许触摸滚动 */
    .myui-content__playlist{ -webkit-overflow-scrolling : touch;}
    
    /* 模态框居中 */
    .myui-modal__dialog{ width: 320px; margin: 50px auto;}
}

/* 手机端 (Mobile Phone) */
@media (max-width: 767px){ 
    
    .visible-xs { display: block !important;}
    .hidden-xs {display: none!important;}
    /* ... */
            
    /* 全局字体缩小 */   
    body{ font-size: 12px;} 
    
    /* 标题字号缩小 */
    h1{ font-size:24px;}
    h2{ font-size:20px;}
    h3{ font-size:18px;}
    h4{ font-size:16px;}
    h5{ font-size:14px;}
    h6{ font-size:12px;}
    
    /* 按钮内边距缩小 */
    .btn{ padding: 8px 16px;}
    .btn.btn-xs{ padding: 4px 8px;}
    /* ... */
    
    /* 底部 Tabbar (手机端核心导航) */
    .myui-nav__tabbar{ position: fixed; bottom: 0; width: 100%; padding: 5px 0 0; z-index: 999; display: -webkit-box; display: -webkit-flex; display: flex; border-top: 1px solid;}
    .myui-nav__tabbar .item{ display: block; text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1;}
    .myui-nav__tabbar .item .icon{ display: block; text-align: center; font-size: 20px; line-height: 20px;}
    .myui-nav__tabbar .item .icon-img{display: inline-block; margin-top: 5px; width: 24px; height: 24px;}
    .myui-nav__tabbar .item .title{ margin: 5px 0;font-size: 12px;}
    
    /* 线条与分割线 */
    .split-line{ height: 12px; margin-left: 5px; margin-right: 5px;}
    /* 使用 scale 缩放实现 0.5px 极细线条 */
    .top-line:before,.top-line-dot:before{-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}
    .bottom-line:after,.bottom-line-dot:before{ -webkit-transform-origin: 0 100%;transform-origin: 0 100%; -webkit-transform: scaleY(0.5);transform: scaleY(0.5);}  
    
    /* 头部标题调整 */
    .myui-panel__head .title,.myui-panel__head .title a{font-size: 18px;}
    
    /* 视频列表调整 */
    .myui-vodlist__thumb .tag{ padding: 0 5px;}
    .myui-vodlist__thumb .silde-title{ font-size: 12px;}
    .myui-vodlist__detail .title,.myui-vodlist__detail .title.active{margin-bottom: 0; font-size: 12px;} 
    
    /* 媒体列表内边距调整 */
    .myui-vodlist__media li .detail.active{ padding-left: 0; padding-right: 10px;}
    .myui-vodlist__media .detail h4.title{ margin-top: 0; font-size: 14px; line-height: 18px;}
        
    /* 文本列表调整 */
    .myui-vodlist__text li a{ padding:10px 0;}
    .myui-vodlist__text.downlist li{ padding: 5px 0 0;}
    
    /* 文章标题 */
    .myui-article__title{ font-size: 18px;}
    
    /* 手机端分页 */
    .myui-page li{ float:left; width:20%; margin:0; padding:0 5px 0 5px}
    .myui-page li a{ display:block; padding:5px 0; text-align:center}
    
    /* 悬浮按钮调整 */
    .myui-extra li{padding:8px 0 0}
    .myui-extra li a{width:35px;height:35px;line-height:35px;font-size:16px}
    
    /* 轮播箭头增大以便点击 */
    .flickity-prev-next-button{ width: 20px; height: 40px;}
    .flickity-prev-next-button.previous{ border-radius:0 5px 5px 0}
    .flickity-prev-next-button.next{ border-radius:5px 0 0 5px}

    /* 轮播控制点 */
    .carousel-control{ width: 30px; height: 100%;}
    .carousel-control .fa{ margin-top: -15px; display: block; width: 30px; height: 30px; font-size: 20px; line-height: 30px;}
    .carousel-control.left{ left: 10px;}
    .carousel-control.right{ right: 10px; }
    
    /* 强制去除边距 */
    .m-margin-0{ margin: 0 !important;}
    .m-padding-0{ padding: 0 !important;}
    
}
/* ==================
   强制限制页面最大宽度为 500px
   ================== */

/* 1. 限制 Body 宽度并居中 */
body {
    max-width: 500px;
    margin: 0 auto !important; /* 强制居中 */
    background-color: #333; /* 可选：给 body 外部的背景设为深色，突出中间的内容 */
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* 可选：添加阴影让它看起来更像个窗口 */
}

/* 2. 限制顶部导航栏 (Header) 宽度 */
/* 因为 header 是 fixed 定位的，它默认会找浏览器的宽度，所以必须强制限制 */
.myui-header__top {
    max-width: 500px !important;
    width: 100% !important;
    left: 50% !important;
    transform: translateX(-50%); /* 让固定定位的元素居中 */
}

/* 3. 限制底部导航栏 (Tabbar - 手机端底部菜单) */
.myui-nav__tabbar {
    max-width: 500px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

/* 4. 限制悬浮播放器 (如果使用了悬浮功能) */
.myui-player__item .fixed {
    max-width: 500px !important;
    left: 50% !important;
    right: auto !important; /* 清除默认的 right 定位 */
    transform: translateX(-50%);
}

/* 5. 限制弹窗/遮罩层 (可选，防止弹窗铺满全屏) */
.myui-extra, 
.mobile-share,
.mask {
    max-width: 500px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

/* 6. 修正容器内边距，确保内容不贴边 */
.container {
    width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
}
/* ==================
   1. App 风格顶部样式
   ================== */
body { padding-top: 50px !important; }

/* 头部容器 */
.myui-header__top {
    height: 50px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    z-index: 999; /* 确保在最上层，但低于侧边栏遮罩 */
}

/* Flex 布局：左-中-右 */
.app-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 5px;
}
.app-header-left, .app-header-right {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}
.app-header-center {
    flex-grow: 1;
    text-align: center;
}

/* 搜索面板 */
.app-search-panel {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    z-index: 998;
    border-top: 1px solid #eee;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.search-box-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

/* 热门搜索词 */
.hot-keys-list a {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 8px 8px 0;
    background: #f5f5f5;
    color: #666;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
}
.hot-keys-list a:hover {
    background: #ff9900;
    color: #fff;
}


/* ==================
   2. 暗黑侧边栏样式
   ================== */

/* 遮罩层 */
.side-menu-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: none;
}

/* 菜单容器 */
.side-menu-container {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 85%;
    max-width: 510px;
    background: #111;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}
.side-menu-container.active { transform: translateX(0); }

/* 侧栏头部 */
.side-header {
    height: 50px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #333;
}
.side-logo img { height: 25px; vertical-align: middle; }
.side-close { color: #fff; font-size: 20px; padding: 5px; }

/* 侧栏主体 */
.side-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    padding-bottom: 60px; /* 给底部留空 */
}

/* 左侧导航 */
.side-left-nav {
    width: 90px;
    background: #1a1a1a;
    overflow-y: auto;
}
.side-left-nav ul li {
    padding: 15px 5px;
    text-align: center;
    color: #999;
    font-size: 13px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}
.side-left-nav ul li.active {
    background: #111;
    color: #ff9900;
    border-left: 3px solid #ff9900;
    font-weight: bold;
}

/* 右侧内容 */
.side-right-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #111;
}
.content-group {
    width: 100%;
}
.content-group.active { display: block; }

/* 链接网格 */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.content-grid a {
    width: calc(33.33% - 7px);
    text-align: center;
    color: #fff;
    font-size: 12px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.content-grid a.highlight {
    color: #ff9900;
    width: 100%; /* 高亮链接独占一行 */
    text-align: left;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

/* 侧栏底部按钮 */
.side-footer {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 60px;
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 10px;
}
.footer-btn-row { display: flex; justify-content: space-between; }
.f-btn {
    display: flex;
    align-items: center;
    width: 48%;
    padding: 5px;
    border-radius: 4px;
    text-decoration: none !important;
}
.icon-orange { color: #ff5722; font-size: 20px; margin-right: 8px; }
.text-group { display: flex; flex-direction: column; }
.text-group .t1 { color: #fff; font-size: 12px; font-weight: bold; }
.text-group .t2 { color: #666; font-size: 10px; transform: scale(0.9); transform-origin: left; }
/* ==================
   全站暗黑模式 & 修复补丁
   ================== */

/* 1. 全局黑色背景 */
body {
    background-color: #000 !important; /* 纯黑背景 */
    color: #999 !important; /* 全局文字变灰，防止太亮刺眼 */
    padding-top: 50px !important; /* 必须保留，否则内容会被顶部挡住，但背景是黑的 */
}

/* 2. 顶部导航栏 (强制固定 + 纯黑) */
.myui-header__top {
    position: fixed !important; /* 强制固定 */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 50px !important;
    background-color: #111 !important; /* 顶部背景稍微比纯黑浅一点点，体现层次 */
    border-bottom: 1px solid #222 !important; /* 极细的分割线 */
    box-shadow: none !important; /* 去掉以前的白色阴影 */
    z-index: 999;
    transform: none !important; /* 防止 JS 改变位置 */
    margin-top: 0 !important; /* 防止 JS 添加负边距隐藏 */
}

/* 3. 修复侧边栏阴影 (关键点) */
.side-menu-container {
    box-shadow: none !important; /* 【关键】默认状态下去掉阴影，解决左侧黑条问题 */
    border-right: 1px solid #222; /* 加个深色边框代替阴影 */
}
/* 只有当菜单滑出来时，才加一点阴影 */
.side-menu-container.active {
    box-shadow: 5px 0 15px rgba(0,0,0,0.8) !important; 
}

/* 4. 搜索面板暗黑化 */
.app-search-panel {
    background-color: #1a1a1a !important;
    border-top: 1px solid #333 !important;
    top: 50px !important;
}
.hot-keys-list a {
    background: #333 !important; /* 热词背景变深 */
    color: #ccc !important;
}
.hot-keys-list a:hover {
    background: #ff9900 !important;
    color: #fff !important;
}

/* 5. 页面其他元素暗黑适配 (防止原来的白色卡片太突兀) */
.myui-panel, .myui-panel-box, .myui-panel-bg {
    background-color: #111 !important; /* 卡片背景变黑 */
    box-shadow: none !important;
    border-bottom: 1px solid #222;
}
/* 标题文字颜色 */
h1, h2, h3, h4, h5, h6, .title, .text-333 {
    color: #ccc !important;
}
/* 链接颜色 */
a {
    color: #999;
}
/* 底部导航栏暗黑化 */
.myui-nav__tabbar {
    background-color: #111 !important;
    border-top: 1px solid #222 !important;
}
.myui-nav__tabbar .item .title {
    color: #666;
}
/* ==================
   底部暗黑化 & 固定导航栏样式
   ================== */

/* 1. 修正 Body 底部间距 (防止内容被底部导航挡住) */
body {
    padding-bottom: 60px !important;
}

/* 2. 版权区域暗黑化 */
.myui-foot {
    background-color: #000 !important; /* 纯黑背景 */
    color: #666;
    padding: 20px 0 30px; /* 稍微留点空间给底部导航 */
}

/* 3. 底部固定导航栏 (Tabbar) */
.myui-nav__tabbar {
    display: flex !important; /* 强制显示 */
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #111 !important; /* 深灰色背景 */
    border-top: 1px solid #222 !important; /* 顶部微弱分割线 */
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5); /* 顶部阴影 */
    justify-content: space-around; /* 按钮均匀分布 */
    align-items: center;
}

/* 单个按钮样式 */
.myui-nav__tabbar .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1; /* 平分宽度 */
    padding-top: 5px;
}

/* 图标样式 */
.myui-nav__tabbar .item .icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 3px;
}

/* 文字标题样式 */
.myui-nav__tabbar .item .title {
    font-size: 11px;
    color: #777; /* 默认灰色 */
}

/* 选中或激活状态 (可选) */
.myui-nav__tabbar .item:active .icon {
    transform: scale(0.9); /* 点击时轻微缩小反馈 */
}