/* ==========================================================================
   base.css
   基础层 - 全局重置、rem 基准、滚动条、页面骨架与 header、HUD 装饰、面板与标题容器
   合并自: base-reset.css + base-layout.css + comp-hud.css + comp-panel.css
   ========================================================================== */

/* ========== 全局重置 ========== */
* {
  margin: 0;
  padding: 0;
}
p {
  margin: 0 !important;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

:root {
  --modal-bg-color: #091128;
  --modal-border-color: #009eff;
}
html {
  /* min-width: 1440px; */
  /* min-height: 700px; */
  min-width: 100vw;
  min-height: 100vh;
  /* 1920px设计稿下，1rem = 100px */
  font-size: clamp(14px, 100vw / 19.2, 100px);
}

body {
  width: 100%;
  /* 100%窗口高度 */
  height: 100vh;
  /* 弹性布局 水平+垂直居中 */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  /* 溢出隐藏 */
  overflow: hidden;
  background: url('../img/ui/bg.png') no-repeat center;
  background-size: 100% 100%;
  /* height: 100%; */
  font-family: 'Microsoft Yahei';
}

/* 滚动条样式 */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--t-scrollbar-color, #3388ff) var(--t-scroll-track, transparent);
  }
}
/* Chrome/Edge/Safari */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 5px solid transparent;
}
::-webkit-scrollbar-thumb {
  min-height: 20px;
  background: #3388ff;
  cursor: pointer;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

.relative {
  position: relative;
}
.ellipsis-one {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clear {
  clear: both;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.text_right {
  text-align: right;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========== 页面布局 ========== */
#app {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
}
.app-content {
  width: 100%;
  padding: 0 36px;
  height: calc(100% - 97px);
  /* background-color: #ff3552; */
}
.header {
  width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 97px;
  position: relative;
  z-index: 1010;
}
.header_center {
  display: flex;
  flex: 1;
  justify-content: space-around;
  margin: 0px auto;
}
.header_left {
  padding-right: 4px;
}
.header-nav {
  display: flex;
}
.header-nav-item {
  width: 7.7083vw;
  max-width: 148px;
  min-width: max-content;
  box-sizing: border-box;
  padding: 0 8px;
  height: 37px;
  line-height: 37px;
  background-image: url(../img/ui/btn-noselect-bg.png);
  background-size: 102.027% 113.513%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #d4e5fb;
  margin-left: 13px;
  cursor: pointer;
  position: relative;
}
.header-nav-item_active,
.header-nav-item:hover {
  background-image: url(../img/ui/btn-selected-bg.png);
}
.header-nav-item::before {
  position: absolute;
  top: calc(50% - 5px);
  left: -7px;
  content: '';
  width: 7px;
  height: 11px;
  background-image: linear-gradient(180deg, #0f63efc7, #1999ff0a);
  transform: skew(30deg);
}
.header_switch {
  width: 9.4271vw;
  max-width: 181px;
  min-width: max-content;
  height: 36px;
  box-sizing: border-box;
  padding: 0 12px;
  background: linear-gradient(
    90deg,
    rgba(0, 121, 255, 0.26) 0%,
    rgba(0, 121, 255, 0.26) 28.48%,
    rgba(0, 119, 255, 0.24) 36.94%,
    rgba(0, 118, 255, 0.16) 55.6%,
    rgba(0, 96, 208, 0) 100%
  );
  border: 1px solid rgba(41, 137, 255, 0.5);
  font-size: 24px;
  color: #ffffff;
  line-height: 30px;
  text-shadow: 0px 0px 6px rgba(41, 137, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
#spanParkName {
  display: inline-block;
  max-width:10vw;
}
.header_switch:first-child span {
  transform: skewX(-6deg);
  font-weight: 900;
}
.header_switch img {
  width: 36px;
  height: 30px;
}
.header_right {
  display: flex;
  align-items: center;
}
.header_right_btn {
  margin-right: 20px;
  width: 108px;
  height: 37px;
  border: 2px solid;
  border-image: linear-gradient(
      36deg,
      rgba(226, 236, 255, 0),
      rgba(234, 241, 255, 0.76),
      rgba(226, 236, 255, 0)
    )
    2 2;
  background: linear-gradient(
    90deg,
    rgba(0, 121, 255, 0.26) 0%,
    rgba(0, 121, 255, 0.26) 28.48%,
    rgba(0, 119, 255, 0.24) 36.94%,
    rgba(0, 118, 255, 0.16) 55.6%,
    rgba(0, 96, 208, 0) 100%
  );
  font-weight: 400;
  font-size: 20px;
  color: #d4e5fb;
  line-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.header_right {
  width: max-content;
  flex-shrink: 0;
  position: relative;
}

/* ---- header 下拉公共样式（user / tools 共用） ---- */
.header-dropdown-trigger {
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.2s;
  margin-right: 0;
  min-height: 37px;
}
.header-dropdown-trigger img {
  width: 24px;
  height: 24px;
}
.header-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header-dropdown-name {
  font-weight: 400;
  font-size: 18px;
  color: #a6b7d1;
  padding: 0 8px;
  max-width: 7vw;
}
.header-dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #a6b7d1;
  transition: transform 0.2s;
}
.header-dropdown-arrow.open {
  transform: rotate(180deg);
}
.header-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 6px;
  background: #091128;
  border: 1px solid rgb(0, 158, 255);
  border-radius: 6px;
  min-width: 140px;
  box-shadow: 0 4px 15px rgba(0, 158, 255, 0.4);
  overflow: hidden;
  z-index: 1000;
  right: 0;
}
.header-dropdown-menu.show {
  display: block;
}
.header-dropdown-item {
  font-size: 18px;
  color: #d4e5fb;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 76px;
  font-size: 20px;
  justify-content: center;
}
.header-dropdown-item img {
  width: 36px;
  margin-right: 10px;
}
.header-dropdown-item:hover {
  background: rgb(0, 158, 255);
  color: #fff;
}
.header-dropdown-item + .header-dropdown-item {
  border-top: 1px solid rgb(0, 158, 255);
}

.inner {
  width: 100%;
  height: 100%;
}

/* HUD 装饰 */
.hud-left-deco,
.hud-right-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 86.1vh;
  width: 32px;
  z-index: 2;
  pointer-events: none;
  object-fit: fill;
}
.hud-left-deco {
  left: -5px;
}
.hud-right-deco {
  right: -5px;
  transform: scaleX(-1);
}

/* ========== 边框容器 ========== */
.dataAllBorder01 {
  width: 100%;
  height: 100%;
  padding: 1px;
  box-sizing: border-box;
}

.dataAllBorder02 {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.dataAllBorder02 .fixed-table-pagination .pagination a {
  background-color: rgba(225, 225, 225, 0);
  border-color: rgba(225, 225, 225, 0);
}
.dataAllBorder02 .pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #637ef5;
  border-color: #637ef5;
}

/* ========== 标题 ========== */
.title_short,
.title_medium,
.title_long {
  width: 100%;
  height: 32px;
  background-image: url('../img/ui/title-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-weight: 400;
  font-size: 18px;
  color: #e6f2ff;
  line-height: 32px;
  text-align: left;
  text-indent: 23px;
  overflow: hidden;
  flex-shrink: 0;
}
.title_medium {
  background-image: url('../img/ui/title-bg-medium.png');
}
.title_long {
  background-image: url('../img/ui/title-bg-long.png');
  max-width: 1806px 100%;
}


/* ========== 主页面全局与字体（原 index.css 头部） ========== */
/* ========== 全局 ========== */
html {
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* ========== 字体 ========== */
@font-face {
  font-family: datamsg;
  src: url('../font/液晶数字.TTF');
}
.datamsg {
  font-family: datamsg;
}

.detail-info-item-label {
  display: flex;
  margin-bottom: 17px;
  font-size: 16px;
}
.detail-info-item-label div {
  width: 6em;
  text-align: right;
  flex-shrink: 0;
  margin-right: 20px;
}

.center_cage {
  width: 55.1%;
  height: 100%;
  margin-left: 0.3%;
  float: left;
  flex: 1;
}
