/* ouyun_1 壳主题样式（build_shell.js 原样拷贝到产物 css/shell.css）
   版本随 VERSION 常量。改本文件 → 递增 build_shell.js 的 VERSION → 重跑构建。
   原则: 只放壳层全局/侧栏改造样式; 所有规则尽量以 .ouyun-shell-grouped /
   .ouyun-nav-cat 为作用域, native 模式(无该 class)下零生效, 不污染 default 观感。
   配色(侧栏背景/菜单文字/选中背景/选中文字/分类行文字)不在本文件——
   由 asideMenu.js 尾部区块按 nav.json 注入 <style id="ouyun-nav-style">。 */

/* ==== 同源页面切换平滑化(2026-10-03 ouyun246, 用户需求"缩短白屏/加淡入") ====
   跨文档 View Transitions: Chrome/Edge 126+ 对同源 MPA 跳转自动做新旧页交叉淡入,
   旧页快照平滑过渡到新页首帧, 消除生硬切换感; 不支持的浏览器自动忽略此规则(正常跳转)。
   ⚠ 仅视觉层, 不改变任何导航行为(此前 ouyun240-244 软导航已移除)。 */
@view-transition {
  navigation: auto;
}
/* 页面挂载后内容区淡入: mainLoading 全屏白罩隐藏(= Vue 挂载完成)时由 JS 给 .el-main
   挂 ouyun-fade-in, 180ms 渐显弱化内容"啪"地弹出的生硬感(见 asideMenu.js 尾部 section 11)。
   ⚠ ouyun250: 禁用 fill-mode both/forwards 且 JS 在 animationend 移除类——fill 态的 opacity
   动画会让 .el-main 永久保持层叠上下文, main 内所有非 append-to-body 弹窗(z-index 2001)
   被 body 下的 .v-modal(2000)/侧栏(10) 整体压住, 症状=弹窗上像有遮罩、按钮点不动(全站性)。 */
@keyframes ouyunFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ouyun-fade-in {
  animation: ouyunFadeIn 0.18s ease-out;
}

/* ==== 页面加载动画形态(2026-10-03 ouyun251, 主题控制器 loading_fx 经 nav.json 下发) ==== */
/* #mainLoading 是系统原生全屏加载罩(default 各页 .php 服务端输出: 白底 z9999 + 五根主题色竖条波浪,
   Vue 挂载后由 asideMenu 隐藏)。此段仅按 html.ouyun-lfx-* 类换中心动画形态(类由 header.php 尾部
   同步脚本从 localStorage 挂上, nav.json 到达后校准); 不改遮罩职责——它挡住挂载前的原始 HTML 防花屏。
   ⚠ 动画均为 infinite 循环且作用在 body 直系的 mainLoading 上, display:none 后完全退出渲染,
   不在 .el-main 内, 无 ouyun250 层叠上下文压弹窗问题。主题色沿用页面 --color-primary 变量。 */
html.ouyun-lfx-spinner #mainLoading .ddr,
html.ouyun-lfx-pulse #mainLoading .ddr,
html.ouyun-lfx-bar #mainLoading .ddr,
html.ouyun-lfx-off #mainLoading .ddr {
  display: none;
}

/* 转圈 */
html.ouyun-lfx-spinner #mainLoading::after {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  border-top-color: transparent;
  animation: ouyunLfxSpin 0.8s linear infinite;
}
@keyframes ouyunLfxSpin {
  to { transform: rotate(360deg); }
}

/* 圆点跳动(复用系统五个 .ddr, 圆点化弹跳) */
html.ouyun-lfx-dots #mainLoading .ddr {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: ouyunLfxDot 1s ease-in-out infinite;
}
html.ouyun-lfx-dots #mainLoading .ddr2 { animation-delay: 0.12s; }
html.ouyun-lfx-dots #mainLoading .ddr3 { animation-delay: 0.24s; }
html.ouyun-lfx-dots #mainLoading .ddr4 { animation-delay: 0.36s; }
html.ouyun-lfx-dots #mainLoading .ddr5 { animation-delay: 0.48s; }
@keyframes ouyunLfxDot {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  40% { transform: translateY(-14px); opacity: 1; }
}

/* 圆环呼吸 */
html.ouyun-lfx-pulse #mainLoading::after {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: ouyunLfxPulse 1.4s ease-in-out infinite alternate;
}
@keyframes ouyunLfxPulse {
  from { transform: scale(0.55); opacity: 0.25; }
  to { transform: scale(1); opacity: 0.85; }
}

/* 进度条(往复滑动) */
html.ouyun-lfx-bar #mainLoading::after {
  content: "";
  width: 90px;
  height: 5px;
  border-radius: 3px;
  background: var(--color-primary);
  animation: ouyunLfxBar 1.1s ease-in-out infinite alternate;
}
@keyframes ouyunLfxBar {
  from { transform: translateX(-56px); opacity: 0.4; }
  to { transform: translateX(56px); opacity: 1; }
}

/* 关闭=无动画纯背景(白色遮罩保留, 防挂载前原始 HTML 花屏) */

/* ==== 左侧导航分组模式 ==== */
/* 分组模式隐藏第二个 menu-top(默认两段式菜单的下段)。
   原生数据层已让 menu2=[], 此处 display:none 兜底其占位。
   > 按后代选择(非直接子): ouyun210 起菜单两段在 .ouyun-aside-scroll 内层,
   旧的 > 子选择器匹配不上导致兜底失效(menu-top 类只出现在两段顶层菜单上,
   子菜单内嵌 ul 无此类, 后代选择不会误伤)。 */
.el-aside.ouyun-shell-grouped .menu-top:not(:first-of-type) {
  display: none;
}

/* ==== 主菜单顶部 86px 统一压成 12px(2026-10-03 ouyun254) ====
   common.css 基础段 .menu-top{margin-top:86px} 是默认主题侧栏 logo 下方的原厂间距,
   仅 ≤750px 媒体查询里被原厂清零, 桌面段漏管——PC 侧栏第一项上方 86px 空白,
   电脑端打开主菜单抽屉同样中招(默认主题桌面从不开抽屉故无人发现)。
   统一 12px(与抽屉列表容器顶距同值); 空下段(menu2)隐藏后亦无残留。 */
.el-aside .menu-top,
.drawer-menu .menu-top {
  margin-top: 12px !important;
}

/* 兜底隐藏两段式分隔线(数据层 hasSeparate=false 已不渲染, 双保险) */
.el-aside.ouyun-shell-grouped > .line {
  display: none !important;
}

/* 分类行: 纯文字小标题, 不可点击(视觉参考 0idc.cc 实测: 13px 半透明, 40px 行高)。
   color 由注入 style 按 nav.json 覆盖, 这里是默认观感兜底(theme1 白底侧栏)。 */
.ouyun-nav-cat {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  margin-top: 8px;
  cursor: default;
  user-select: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

/* 悬停即时响应(2026-10-02 用户反馈"菜单间移动高亮多次闪烁"):
   系统样式对 el-menu-item/el-submenu__title 自带 0.3s 背景/文字过渡,
   鼠标快速划过多个菜单项时多项同时处于半透明渐变中, 观感即闪烁。
   分组作用域内去掉过渡, 高亮即时切换。native 模式不受影响。 */
.el-aside.ouyun-shell-grouped .el-menu-item,
.el-aside.ouyun-shell-grouped .el-submenu__title {
  transition: none !important;
}

/* 菜单图标等宽占位(2026-10-02 ouyun213, 用户反馈"宝塔安装"等文字与别的菜单不左对齐):
   iconfont 字形天然宽度不一(实测 16~18.1px), 图标宽的项文字起点被顶偏;
   固定 18px 占位居中, 所有菜单文字左缘严格对齐。 */
.el-aside .el-menu-item .iconfont,
.el-aside .el-submenu__title .iconfont {
  width: 18px;
  display: inline-block;
  text-align: center;
}

/* ==== 侧栏 logo 放大(2026-10-02 需求) ==== */
/* default common.css 写死 .ali-logo{height:28px;max-width:130px}——上传的站点 logo 实际是
   160x46 高清图(1600x460 像素), 28px 高下只显示约 97x28, 观感"很小"。
   按文件标称尺寸 160x46 展示(侧栏 190px 减 padding 8x2 后内容宽 174px, 放得下)。
   注意: 壳层全局生效(native 模式同样放大), 这是壳主题整体观感而非分组模式专属。
   width:auto(2026-10-02 ouyun206): home 页会加载 shiwai/shiwaip2.css 的 .ali-logo{width:80%},
   把 logo 左右挤压(134x46), 显式 auto 压过它(本选择器特异性更高)。 */
.el-aside .ali-logo {
  height: 46px;
  width: auto;
  max-width: 160px;
  margin: 12px auto 6px;
}

/* ==== 侧栏收起/展开(2026-10-02 ouyun206/210) ==== */
/* 结构: el-aside(flex 列, 不再自身滚动) = logo + .ouyun-aside-scroll(菜单区内部滚动)
 *       + .ouyun-aside-collapse(收起按钮, 滚动区外→无论菜单滚到哪都钉在可视底部)。
 * ouyun210 修正: 208 及以前按钮 absolute 在滚动容器里会随内容滚走 */
.el-aside {
  display: flex;
  flex-direction: column;
}
/* 手机端(≤750px)隐藏侧栏, 走顶栏汉堡按钮的抽屉(含分类行+配色)。
   ouyun210 的 display:flex 曾以"后加载同特异性"压掉 common.css 的
   @media(max-width:750px){.el-aside{display:none}}, 造成手机上侧栏与
   汉堡按钮同时出现(2026-10-02 用户反馈冲突, ouyun211 修复) */
@media screen and (max-width: 750px) {
  .el-aside {
    display: none !important;
  }
}
.ouyun-aside-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
/* 内部滚动容器复刻 default 给 .el-aside 的悬停显形细滚动条 */
.ouyun-aside-scroll::-webkit-scrollbar {
  width: 6px;
}
.ouyun-aside-scroll::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0);
}
.ouyun-aside-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0.5rem;
}
.ouyun-aside-scroll:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
}
.ouyun-aside-scroll:hover::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.6);
}
.ouyun-aside-collapse {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  cursor: pointer;
  user-select: none;
  background: inherit;
  border-top: 1px solid rgba(127, 127, 127, 0.18);
  font-size: 13px;
  color: inherit;
}
/* 注: 折叠按钮不做悬停变色(2026-10-02 用户要求去掉悬停透明效果), 仅箭头/文字本身随侧栏配色 */
.ouyun-aside-collapse-arrow {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
/* 左尖角 ‹ = 收起方向; 折叠态整个箭头盒旋转 180° 变 › = 展开方向 */
.ouyun-aside-collapse-arrow::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
/* 折叠态(aside.ouyun-aside-collapsed): 只剩图标列 */
.el-aside.ouyun-aside-collapsed {
  padding: 0;
}
.el-aside.ouyun-aside-collapsed > .line {
  display: none !important;
}
.el-aside.ouyun-aside-collapsed .ouyun-nav-cat {
  display: none;
}
/* 折叠态 logo 不消失, 按比例缩小(2026-10-02 用户需求): 16px 高 → 宽约 55.6px(1600x460 等比), 居中 */
.el-aside.ouyun-aside-collapsed .ali-logo {
  height: 16px;
  width: auto;
  max-width: 56px;
  margin: 12px auto 4px;
}
.el-aside.ouyun-aside-collapsed .ouyun-aside-collapse {
  justify-content: center;
  padding: 0;
}
.el-aside.ouyun-aside-collapsed .ouyun-aside-collapse-arrow {
  transform: rotate(180deg);
}
.el-aside.ouyun-aside-collapsed .ouyun-aside-collapse-text {
  display: none;
}

/* ==== 手机抽屉菜单(topMenu 接管后)的分类行 ==== */
/* 对齐抽屉 rem 观感(菜单字号 0.32rem / 行距 0.5rem, 手机 html font-size≈47-50px);
   px 基础类在抽屉里会被 rem 布局衬得过大过挤, 此处覆盖。 */
.drawer-menu .ouyun-nav-cat {
  font-size: 0.3rem;
  height: 1rem;
  line-height: 1rem;
  padding: 0 0.41rem;
  margin-top: 0.3rem;
}

/* ==== 手机抽屉观感对齐 PC 侧栏(2026-10-02 ouyun212, 用户反馈"抽屉样式丑、与宽屏不一致") ====
   症结: ①common.css 给 .drawer-menu 设 font-size:0.32rem(手机 html 基准 50px ≈16px),
   而壳侧栏菜单是 14px; ②抽屉自己的 0.5rem 行距等 rem 规则与 Element el-menu 默认混排,
   行高只有 40px、图标 16px、无项间距; ③分类行被 rem 撑到 50px 高(PC 40px);
   ④logo 0.76rem=38px(PC 46px); ⑤列表区 margin-top 0.86rem=43px 顶部大空隙。
   统一改回与 PC 侧栏同观感的 px 度量(优先级盖过 rem 规则, 含 !important)。 */
.drawer-menu {
  font-size: 14px !important;
}
.drawer-menu .drawer-menu-list-top {
  margin-top: 12px !important;
  padding: 0 6px !important;
}
.drawer-menu .el-menu-item,
.drawer-menu .el-submenu__title {
  height: 48px !important;
  line-height: 48px !important;
  font-size: 14px !important;
  margin: 0 !important;
  border-radius: 6px;
}
/* ==== 手机抽屉配色统一跟随导航配置(2026-10-02 ouyun237, 用户反馈"手机抽屉与电脑侧栏文字/背景色不一样") ====
   PC 侧栏与手机抽屉是两套 DOM(el-aside / el-drawer), 配色本由 asideMenu 尾部注入的
   ouyun-nav-style 配置块统一接管(容器底/文字/hover/active 两边同规则)。但部分页面主题自带
   抽屉旧样式会插一脚——home 的 shiwaip2.css 手机段有 .menu-top li{background:#fff!important}
   与 .menu-top li span{color:#333}, 且页面 CSS 在 shell.css 之后加载, 造成"只有首页的手机抽屉
   菜单项白底、文字偏黑", 与电脑侧栏(透明项背景+配置文字色)不一致。此处强制抽屉菜单项回归
   透明背景+继承文字色, hover/active 仍由 ouyun-nav-style 配置块(更高优先级+运行时最后注入)接管。
   ⚠ 选择器要比 .menu-top li / .menu-top li span 多带一个 class, 否则同优先级下会被后加载的页面 CSS 压回。 */
.drawer-menu .el-menu-item,
.drawer-menu .el-submenu__title {
  background-color: transparent !important;
}
.drawer-menu .el-menu-item span,
.drawer-menu .el-submenu__title span {
  color: inherit !important;
}
/* ⚠ 手机抽屉菜单项的 DOM 是 item>a>span(电脑侧栏相反: a>item>span), 首页主题的全局 a{color:#000!important}
   会顺着继承链把文字染黑——锚点自身也改为继承 item 的配置文字色。 */
.drawer-menu .menu-alink {
  color: inherit !important;
}
/* ==== 手机抽屉 logo 尺寸统一(2026-10-02 ouyun239, 用户反馈"首页抽屉还是和别的不一样") ====
   实测仅首页 logo 144px、其他页 160px——home 主题 shiwaip2.css 有 .drawer-menu-logo{width:70%;
   max-width:100%!important} 压掉了 common.css 的默认约束。此处钉死与其他页一致的 160px。 */
.drawer-menu .drawer-menu-logo {
  width: 160px !important;
  max-width: 100% !important;
}
.drawer-menu .el-menu-item .iconfont,
.drawer-menu .el-submenu__title .iconfont {
  font-size: 18px !important;
  margin-right: 8px !important;
  width: 18px !important;
  display: inline-block;
  text-align: center;
}
.drawer-menu .el-menu-item.is-active {
  border-radius: 6px;
}
.drawer-menu .ouyun-nav-cat {
  font-size: 13px !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 16px !important;
  margin-top: 8px !important;
}
.drawer-menu .drawer-menu-logo {
  height: 46px !important;
  max-width: 160px !important;
}


/* ==== 顶栏头像底色统一品牌蓝(2026-10-03 ouyun255) ====
   default GetIndexData 给头像随机底色(原厂 headBgcList 抽随机存 sessionStorage.headBgc
   写行内样式), 与首页个人信息区头像(#0058ff)不一致; !important 压过 JS 行内随机色。 */
.el-header .head-box { background: #0058ff !important; }

/* ==== 内嵌页 iframe 满高(2026-10-03 ouyun257, 用户反馈"内嵌页面高度只显示一点点") ====
   系统 custom_iframe.htm(菜单内嵌类型)模板 .main-card 只有字体/边距规则、无高度定义,
   iframe height=100% 对 auto 父级无法解析→回退默认 150px。104px=顶栏50+el-main 上下
   内边距 32+余量 22(1280x800 实测填满 696px)。选择器只命中"main-card 直接子级是 iframe"
   的形态(内嵌页/百度云 product_list), 其余页面 main-card 内是普通 div 不受影响。 */
.el-main .main-card > iframe { height: calc(100vh - 104px) !important; }

/* ==== 右上角用户卡片(2026-10-02 ouyun214, 参考腾讯云控制台自制设计) ==== */
/* el-popover 挂 body, 样式自含; 隐藏默认箭头与小内衬, 卡片化外观 */
.ouyun-user-card-pop {
  padding: 4px !important;
  border-radius: 10px !important;
}
.ouyun-user-card-pop .popper__arrow {
  display: none !important;
}
.ouyun-user-card {
  padding: 10px;
  font-size: 14px;
  color: #333;
}
.ouc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 12px;
}
.ouc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0058ff, #00c6ff);
  flex-shrink: 0;
}
.ouc-head-info {
  flex: 1;
  min-width: 0;
}
.ouc-name {
  font-size: 14px;
  font-weight: 600;
  color: #1b2a3d;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ouc-lv {
  font-size: 11px;
  color: #0058ff;
  background: rgba(0, 88, 255, 0.1);
  border-radius: 8px;
  padding: 1px 8px;
  font-weight: 400;
  flex-shrink: 0;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ouc-id {
  font-size: 12px;
  color: #98a3b3;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ouc-copy {
  color: #0058ff;
  cursor: pointer;
  user-select: none;
}
.ouc-copy:hover {
  opacity: 0.75;
}
.ouc-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f2f7ff, #eef4ff);
  border: 1px solid #e3edff;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 2px 0 10px;
}
.ouc-balance-label {
  font-size: 12px;
  color: #7d8ba0;
}
.ouc-balance-num {
  font-size: 18px;
  font-weight: 600;
  color: #0058ff;
  margin-top: 2px;
}
.ouc-balance-btn {
  background: #0058ff;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.ouc-balance-btn:hover {
  background: #0049d6;
  color: #fff;
}
/* ==== 用户卡片扩展(2026-10-03 ouyun258): 速览条/平台币行/最近工单 ==== */
.ouc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 10px;
}
.ouc-stats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0 7px;
  border-radius: 8px;
  background: #f7f9fc;
  text-decoration: none;
}
.ouc-stats a:hover {
  background: #eef4ff;
}
.ouc-stats b {
  font-size: 17px;
  font-weight: 650;
  color: #1b2a3d;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.ouc-stats b.warn {
  color: #e34d59;
}
.ouc-stats span {
  font-size: 11px;
  color: #7d8ba0;
}
.ouc-coin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e3edff;
  background: linear-gradient(135deg, #f2f7ff, #eef4ff);
  border-radius: 8px;
  padding: 7px 12px;
  margin: -2px 0 10px;
}
.ouc-coin-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}
.ouc-coin-num {
  font-size: 15px;
  font-weight: 600;
  color: #0058ff;
  font-variant-numeric: tabular-nums;
}
.ouc-coin-btn {
  border: 1px solid #c9dcff;
  background: #fff;
  color: #0058ff;
  font-size: 12px;
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.ouc-coin-btn:hover {
  background: #eef5ff;
}
.ouc-coin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ouc-tickets {
  margin: 0 0 10px;
  border-top: 1px dashed #e8ecf3;
  padding-top: 8px;
}
.ouc-tickets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.ouc-tickets-title {
  font-size: 12px;
  color: #7d8ba0;
}
.ouc-tickets-more {
  font-size: 12px;
  color: #0058ff;
  cursor: pointer;
}
.ouc-tickets-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ouc-tickets-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 2px;
  border-bottom: 1px solid #f5f7fa;
  cursor: pointer;
}
.ouc-tickets-list li:last-child {
  border-bottom: none;
}
.ouc-tickets-list li:hover .ouc-tk-title {
  color: #0058ff;
}
.ouc-tk-st {
  flex-shrink: 0;
  font-size: 11px;
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 16px;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ouc-tk-title {
  font-size: 12.5px;
  color: #5a6a80;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ouc-tickets-empty {
  font-size: 12.5px;
  color: #98a3b3;
  padding: 12px 2px;
}
/* 弹层克制: 工单列表限显 3 条(手机抽屉空间大, 显全部 5 条) */
.ouyun-user-card-pop .ouc-tickets-list {
  max-height: 138px;
  overflow: hidden;
}
.ouyun-user-drawer .ouc-tickets-list {
  max-height: none;
  overflow: visible;
}
.ouc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 0 8px;
}
.ouc-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #5a6a80;
  font-size: 12px;
}
.ouc-grid a:hover {
  background: #f2f6fb;
  color: #0058ff;
}
.ouc-grid i {
  font-size: 20px;
}
.ouc-grid i.ouc-ico-plain {
  font-style: normal;
  line-height: 20px;
}
.ouc-grid a:nth-child(1) i {
  color: #0058ff;
}
.ouc-grid a:nth-child(2) i {
  color: #00b578;
}
.ouc-grid a:nth-child(3) i {
  color: #ff7d00;
}
.ouc-grid a:nth-child(4) i {
  color: #8b5cf6;
}
.ouc-grid a:nth-child(5) i {
  color: #13c2c2;
}
.ouc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f2f5;
  padding-top: 10px;
  margin-top: 2px;
}
.ouc-foot-strategy {
  font-size: 13px;
  color: #5a6a80;
  cursor: pointer;
}
.ouc-foot-strategy:hover {
  color: #0058ff;
}
.ouc-foot-logout {
  font-size: 13px;
  color: #e34d59;
  cursor: pointer;
}
.ouc-foot-logout:hover {
  opacity: 0.8;
}

/* ==== 抽屉打开时的背景滚动锁定(2026-10-02 ouyun215; ouyun222 修订) ==== */
/* 抽屉打开期间背景页不可滚动(防触摸拖动带动背景内容微移); overscroll 防橡皮筋连带。
   ⚠ 红线(ouyun221 手机端"内容被压缩换行"根因, ouyun222 移除): 此处**不要**再给
   html/body 加 scrollbar-gutter:stable。Element 弹窗管理器开抽屉时本就会给 body 加
   padding-right=滚动条宽度 的补偿(实测经典滚动条浏览器 375 视口补偿 6px);
   若再保留滚动条沟槽, 沟槽占位+补偿 padding 双重叠加, 内容净压缩一个滚动条宽度
   (实测 .el-main 345→339, 文字换行)。覆盖式滚动条浏览器(多数手机内置浏览器)
   补偿量=0 故无感, 经典滚动条浏览器(QQ/UC/桌面窄窗)必现。删 gutter 后回归
   Element 原生行为: 滚动条消失让位+等量补偿, 净变化=0。 */
body.ouyun-drawer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ==== 弹窗期间滚动条白轨道根治(2026-10-02 ouyun233/234, 用户反馈"开抽屉右侧出现白色竖向贯穿条把内容挤左") ====
   仅部分内核出现(QQ/UC/微信部分版本等; 滚动条会消失的标准浏览器与多数手机内置浏览器无感):
   那些内核 body overflow:hidden 并不收起经典滚动条, 近白色轨道继续竖贯右侧, 而 Element 全屏层
   width:100%/right:0 只按不含滚动条的内容区铺 → 暗遮罩旁裸露白轨。且浏览器截图不含滚动条区域,
   用户截的长图里遮罩已铺到最右缘——白条只存在于现场视口的滚动条轨道上。双保险:
   ① 治本(ouyun234): 锁滚动期间 JS 给 html 挂 ouyun-locked, 直接把经典滚动条本身藏掉——轨道不
      存在自然无白条; 滚动条占位消失量与 Element 的 padding 补偿恰好相抵(净变化 0), 解锁即还原。
   ② 兜底(ouyun233): .v-modal 加宽到 calc(100vw + 32px)——个别内核 vw 不含滚动条或藏不掉轨道时,
      超宽遮罩仍能盖住它。⚠ 只有 .v-modal 可加宽(纯覆盖层, 无锚定子元素); 抽屉/对话框容器不能——
      右抽屉锚容器右缘会被顶出物理屏幕, 居中对话框会偏移中心。 */
html.ouyun-locked,
html.ouyun-locked body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html.ouyun-locked::-webkit-scrollbar,
html.ouyun-locked body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
body.el-popup-parent--hidden .v-modal {
  left: 0;
  right: auto;
  width: calc(100vw + 32px);
}
body.el-popup-parent--hidden .el-drawer__wrapper,
body.el-popup-parent--hidden .el-dialog__wrapper,
body.el-popup-parent--hidden .el-message-box__wrapper {
  left: 0;
  right: auto;
  width: 100vw;
}

/* ==== 手机顶栏抽屉触发图标(2026-10-02 ouyun222 箭头; 2026-10-03 ouyun249 改回三条杠汉堡) ==== */
/* default 原为 menu.png 汉堡图片; ouyun222-224 曾换成 CSS 尖角箭头(常态›/开‹), 用户最终觉得
   不协调改回经典三条杠。保留 menu-img class 复用 common.css 的手机端显隐/高度规则;
   三条 2px 横杠用单 ::before + linear-gradient 分段绘制(18 宽 12 高, 杠间 3px 间隙)。
   抽屉打开时微缩至 92% 提供轻量状态反馈(不改形状, 保持"菜单按钮"心智)。 */
.ouyun-menu-arrow {
  position: relative;
  width: 18px;
  flex-shrink: 0;
}
.ouyun-menu-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    to bottom,
    currentColor 0 2px,
    transparent 2px 5px,
    currentColor 5px 7px,
    transparent 7px 10px,
    currentColor 10px 12px
  );
  border-radius: 1px;
  transition: transform 0.2s ease;
}
.ouyun-menu-arrow.ouyun-menu-arrow-open::before {
  transform: translate(-50%, -50%) scale(0.92);
}

/* ==== 手机端用户卡片=右侧抽屉(2026-10-02 ouyun216) ==== */
.ouyun-user-drawer {
  background: #fff;
  padding: 14px 10px;
  box-sizing: border-box;
  overflow-y: auto;
}
.ouyun-user-drawer .ouyun-user-card {
  padding: 6px 4px;
}
