:root {
  --bbs-ink: #07111f;
  --bbs-ink-soft: #13233a;
  --bbs-blue: #1264f4;
  --bbs-cyan: #10c7e8;
  --bbs-pink: #ff4fa3;
  --bbs-green: #10b981;
  --bbs-surface: #ffffff;
  --bbs-surface-2: #f4f8ff;
  --bbs-line: #dbe6f6;
  --bbs-text: #172033;
  --bbs-muted: #61718c;
  --bbs-radius: 8px;
  --bbs-shadow: 0 14px 36px rgba(15, 40, 75, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: #eef5ff;
  scroll-behavior: smooth;
}

body {
  min-width: 0 !important;
  color: var(--bbs-text) !important;
  background:
    linear-gradient(90deg, rgba(18, 100, 244, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 199, 232, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f9fbff 0%, #eef5ff 46%, #f8fbff 100%) !important;
  background-size: 42px 42px, 42px 42px, auto;
  font: 14px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
}

a {
  color: #0b5ed7;
}

a:hover {
  color: var(--bbs-blue);
  text-decoration: none !important;
}

input,
button,
select,
textarea {
  font-family: inherit !important;
}

.wp {
  width: min(1180px, calc(100vw - 32px)) !important;
}

#wp {
  padding-top: 18px;
}

html.widthauto #hd .wp,
html.widthauto #wp,
#hd .wp,
#wp {
  min-width: 0 !important;
}

#toptb {
  min-width: 0 !important;
  border: 0 !important;
  background: var(--bbs-ink) !important;
  color: rgba(255, 255, 255, 0.72);
  line-height: 34px !important;
}

#toptb a,
#toptb .xg1 {
  height: 34px !important;
  padding: 0 9px !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

#toptb a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#switchblind,
#switchwidth,
#sslct {
  display: none !important;
}

#hd {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  background:
    linear-gradient(120deg, rgba(255, 79, 163, 0.16), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #0a2147 44%, #0b5ed7 100%) !important;
  box-shadow: 0 20px 46px rgba(7, 17, 31, 0.24);
}

#hd::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

#hd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bbs-cyan), var(--bbs-blue), var(--bbs-pink));
}

#hd .wp {
  position: relative;
  padding: 22px 0 0 !important;
}

.hdc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px !important;
}

#hd h2 {
  float: none !important;
  padding: 0 24px 14px 0 !important;
}

img.boardlogo {
  width: 238px;
  height: auto;
  max-width: 54vw;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25));
}

#hd .fastlg {
  padding-top: 0 !important;
}

#hd .fastlg .px,
#hd .fastlg .ftid a {
  height: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#hd .fastlg .ftid a,
#hd .fastlg .ftid select {
  width: 68px !important;
}

#hd .fastlg label,
#hd .fastlg a,
#hd .fastlg .psw_w {
  color: rgba(255, 255, 255, 0.82) !important;
}

#hd .fastlg .pn {
  height: 30px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, var(--bbs-cyan), var(--bbs-blue)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(16, 199, 232, 0.24) !important;
}

#nv {
  display: flex;
  align-items: center;
  height: auto !important;
  min-height: 46px;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: var(--bbs-radius) var(--bbs-radius) 0 0;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px);
}

#nv ul {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

#nv li {
  height: 46px !important;
  line-height: 46px !important;
  padding-right: 0 !important;
  background: none !important;
  font-size: 15px !important;
}

#nv li a,
#qmenu {
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 18px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#nv li.a,
#nv li.a a,
#nv li a:hover,
#qmenu:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

#qmenu {
  order: 2;
  float: none !important;
  width: auto !important;
  margin: 0 8px 0 auto !important;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}

#mu ul {
  background: rgba(255, 255, 255, 0.92) !important;
}

#scbar {
  height: auto !important;
  margin: 0 0 18px;
  padding: 12px;
  border: 0 !important;
  border-radius: 0 0 var(--bbs-radius) var(--bbs-radius);
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 28px rgba(8, 28, 62, 0.16);
}

#scbar table {
  width: 100%;
}

#scbar_txt {
  width: 100% !important;
  height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--bbs-line) !important;
  border-radius: 6px !important;
  color: var(--bbs-text);
  background: var(--bbs-surface-2) !important;
}

#scbar_type {
  height: 38px !important;
  line-height: 38px !important;
  margin-left: 8px !important;
  border: 1px solid var(--bbs-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
}

#scbar_btn {
  width: 42px !important;
  height: 38px !important;
  margin-left: 8px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, var(--bbs-blue), var(--bbs-cyan)) !important;
}

#scbar_btn strong,
#scbar_btn .xi2 {
  color: #fff !important;
}

#scbar_hot {
  color: var(--bbs-muted);
}

#pt {
  border: 1px solid var(--bbs-line) !important;
  border-radius: var(--bbs-radius);
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow: 0 8px 24px rgba(20, 48, 91, 0.08);
}

#chart {
  margin-bottom: 16px;
  padding: 14px 18px;
  border: 1px solid var(--bbs-line) !important;
  border-radius: var(--bbs-radius);
  background: linear-gradient(135deg, #ffffff, #f4f9ff) !important;
  box-shadow: var(--bbs-shadow);
}

#chart .chart {
  font-size: 14px;
  color: var(--bbs-muted);
}

#chart em {
  color: var(--bbs-blue);
  font-size: 18px;
  font-weight: 800;
}

.bm {
  border: 0 !important;
  background: transparent !important;
}

.bmw {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--bbs-line) !important;
  border-radius: var(--bbs-radius);
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: var(--bbs-shadow);
}

.bm_h {
  min-height: 48px;
  padding: 0 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bbs-line) !important;
  background:
    linear-gradient(90deg, rgba(18, 100, 244, 0.12), rgba(16, 199, 232, 0.08)),
    #fff !important;
  line-height: 48px !important;
}

.bm_h h2,
.bm_h h2 a {
  color: #0d2342 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.bm_h .o {
  margin-top: 14px !important;
}

.bm_c {
  padding: 0 !important;
}

.fl_tb {
  width: 100%;
}

.fl_tb tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.fl_tb tr:hover {
  background: #f3f8ff !important;
}

.fl_tb td {
  padding: 18px 14px !important;
  border-top: 1px solid #edf2fb !important;
  vertical-align: middle;
}

.fl_tb tr:first-child td {
  border-top: 0 !important;
}

.fl_icn {
  width: 70px !important;
}

.fl_icn a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(18, 100, 244, 0.12), rgba(16, 199, 232, 0.18));
  border: 1px solid rgba(18, 100, 244, 0.12);
}

.fl_icn svg path {
  fill: var(--bbs-blue) !important;
}

.fl_tb h2 a {
  color: #0e1f38 !important;
  font-size: 16px;
  font-weight: 800;
}

.fl_tb .xg2 {
  margin-top: 4px;
  color: var(--bbs-muted) !important;
  font-size: 13px;
}

.fl_i {
  width: 108px !important;
  text-align: center !important;
}

.fl_i .xi2 {
  color: var(--bbs-blue) !important;
  font-size: 20px;
  font-weight: 800;
}

.fl_by {
  width: 180px !important;
  color: var(--bbs-muted);
}

.p_pop,
.sltm,
.m_l,
.m_c,
.m_r {
  border: 1px solid var(--bbs-line) !important;
  border-radius: var(--bbs-radius) !important;
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.16) !important;
}

.pn,
a.pn {
  height: 32px !important;
  border-radius: 6px !important;
  border-color: var(--bbs-line) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.pn:hover,
a.pn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 40, 75, 0.12) !important;
}

.pnc,
a.pnc {
  border: 0 !important;
  background: linear-gradient(135deg, var(--bbs-blue), var(--bbs-cyan)) !important;
  color: #fff !important;
}

.px,
.pt,
.ps,
select {
  min-height: 32px;
  border: 1px solid var(--bbs-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.px:focus,
.pt:focus,
.ps:focus,
select:focus {
  border-color: var(--bbs-blue) !important;
  box-shadow: 0 0 0 3px rgba(18, 100, 244, 0.16) !important;
}

.xi1,
.onerror {
  color: #e05026 !important;
}

.xi2,
.xi2 a,
.xi3 a {
  color: var(--bbs-blue) !important;
}

#ft {
  width: min(1180px, calc(100vw - 32px)) !important;
  margin-top: 24px !important;
  padding: 24px 0 46px !important;
  border-top: 1px solid var(--bbs-line);
  color: var(--bbs-muted) !important;
}

#ft a {
  color: #44566f !important;
}

#scrolltop {
  border: 1px solid rgba(18, 100, 244, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 14px 30px rgba(7, 17, 31, 0.14);
  backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 14px !important;
  }

  .wp {
    width: calc(100vw - 20px) !important;
  }

  #wp {
    padding-top: 12px;
  }

  #hd .wp {
    padding-top: 16px !important;
  }

  .hdc {
    display: block;
    min-height: 0 !important;
  }

  #hd h2 {
    padding-right: 0 !important;
  }

  img.boardlogo {
    width: 212px;
    max-width: 76vw;
  }

  #hd .fastlg {
    display: none;
  }

  #nv {
    min-height: 44px;
    border-radius: 8px 8px 0 0;
  }

  #nv ul {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #nv li,
  #nv li a,
  #qmenu {
    height: 44px !important;
    line-height: 44px !important;
    white-space: nowrap;
  }

  #qmenu {
    display: none !important;
  }

  #scbar {
    padding: 10px;
  }

  #scbar_hot_td {
    display: none;
  }

  .fl_tb,
  .fl_tb tbody,
  .fl_tb tr,
  .fl_tb td {
    display: block;
    width: 100% !important;
  }

  .fl_tb tr {
    position: relative;
    padding: 14px 14px 14px 70px;
    border-top: 1px solid #edf2fb;
  }

  .fl_tb td {
    padding: 2px 0 !important;
    border: 0 !important;
  }

  .fl_icn {
    position: absolute;
    left: 14px;
    top: 16px;
  }

  .fl_i,
  .fl_by {
    display: inline-block !important;
    width: auto !important;
    margin-top: 8px;
    padding-right: 12px !important;
    text-align: left !important;
  }

  #chart {
    padding: 12px 14px;
  }

  #chart .chart {
    display: block !important;
    float: none;
    max-width: 100%;
    padding-right: 8px;
    font-size: 12px !important;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 2;
  }

  #chart em {
    font-size: 15px;
  }

  #chart .pipe {
    margin: 0 3px;
  }

  .fl_tb .xg2 {
    overflow-wrap: anywhere;
  }

  #ft,
  #flk,
  #frt {
    float: none !important;
    text-align: left !important;
  }
}

@media (max-width: 560px) {
  #toptb .z {
    display: none;
  }

  #toptb .y {
    float: none;
    display: flex;
    justify-content: flex-end;
  }

  #scbar table,
  #scbar tbody,
  #scbar tr,
  #scbar td {
    display: block;
    width: 100% !important;
  }

  #scbar_type,
  #scbar_btn {
    margin: 8px 0 0 !important;
  }

  #scbar_btn {
    width: 100% !important;
  }
}

#category_grid {
  display: none !important;
}

.apivip-home-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 16px;
  margin: 0 0 18px;
}

.apivip-focus,
.apivip-feed-panel,
.apivip-quick-row a {
  border: 1px solid rgba(18, 100, 244, 0.14);
  border-radius: var(--bbs-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--bbs-shadow);
}

.apivip-focus {
  position: relative;
  height: 238px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 199, 232, 0.28), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0a2d65 58%, #1264f4 100%);
}

.apivip-focus::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
}

.apivip-focus-track {
  position: relative;
  z-index: 1;
  height: 100%;
  animation: apivipFocusSlide 18s ease-in-out infinite;
}

.apivip-focus:hover .apivip-focus-track {
  animation-play-state: paused;
}

.apivip-focus-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 238px;
  padding: 28px;
  color: #fff !important;
}

.apivip-focus-item span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.apivip-focus-item strong {
  max-width: 18em;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
}

.apivip-focus-item em {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 700;
}

@keyframes apivipFocusSlide {
  0%,
  27% {
    transform: translateY(0);
  }

  34%,
  61% {
    transform: translateY(-238px);
  }

  68%,
  94% {
    transform: translateY(-476px);
  }

  100% {
    transform: translateY(0);
  }
}

.apivip-feed-panel {
  min-height: 238px;
  overflow: hidden;
}

.apivip-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--bbs-line);
  background: linear-gradient(90deg, rgba(18, 100, 244, 0.1), rgba(16, 199, 232, 0.06));
}

.apivip-panel-head h3 {
  margin: 0;
  color: #0d2342;
  font-size: 17px;
  font-weight: 900;
}

.apivip-panel-head a {
  font-size: 13px;
  font-weight: 700;
}

.apivip-feed-panel ul {
  margin: 0;
  padding: 8px 14px 12px;
}

.apivip-feed-panel li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  border-bottom: 1px solid #edf2fb;
  list-style: none;
}

.apivip-feed-panel li:last-child {
  border-bottom: 0;
}

.apivip-feed-panel li a {
  min-width: 0;
  overflow: hidden;
  color: #13233a !important;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apivip-feed-panel li span {
  flex: 0 0 auto;
  color: var(--bbs-muted);
  font-size: 12px;
}

.apivip-quick-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.apivip-quick-row a {
  display: block;
  min-height: 92px;
  padding: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.apivip-quick-row a:hover {
  border-color: rgba(18, 100, 244, 0.32);
  box-shadow: 0 18px 38px rgba(18, 100, 244, 0.13);
  transform: translateY(-2px);
}

.apivip-quick-row strong {
  display: block;
  color: #0d2342;
  font-size: 17px;
  font-weight: 900;
}

.apivip-quick-row span {
  display: block;
  margin-top: 8px;
  color: var(--bbs-muted);
  line-height: 1.6;
}

.flg .fl_tb,
.flg .fl_tb tbody {
  display: block;
  width: 100%;
}

.flg .fl_tb tr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  padding: 16px;
  border-top: 0 !important;
}

.flg .fl_tb tr:hover {
  background: transparent !important;
}

.flg .fl_tb td.fl_g {
  display: flex;
  width: auto !important;
  min-width: 0;
  min-height: 124px;
  padding: 16px !important;
  border: 1px solid #edf2fb !important;
  border-radius: var(--bbs-radius);
  background:
    linear-gradient(135deg, rgba(18, 100, 244, 0.06), rgba(16, 199, 232, 0.04)),
    #fff;
  box-shadow: 0 10px 24px rgba(15, 40, 75, 0.07);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  vertical-align: top;
}

.flg .fl_tb td.fl_g:empty {
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

.flg .fl_tb td.fl_g:hover {
  border-color: rgba(18, 100, 244, 0.3) !important;
  box-shadow: 0 16px 32px rgba(15, 40, 75, 0.12);
  transform: translateY(-2px);
}

.flg .fl_icn_g {
  flex: 0 0 48px;
  width: 48px !important;
  margin-right: 14px;
}

.flg .fl_icn_g a,
.flg .fl_icn_g img,
.flg .fl_icn_g svg {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
}

.flg .fl_icn_g a {
  border: 1px solid rgba(18, 100, 244, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 100, 244, 0.12), rgba(16, 199, 232, 0.18));
}

.flg .fl_icn_g svg path {
  fill: var(--bbs-blue) !important;
}

.flg .fl_g dl {
  min-width: 0;
  margin: 0;
}

.flg .fl_g dt {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.flg .fl_g dt a {
  color: #0e1f38 !important;
}

.flg .fl_g dd {
  color: var(--bbs-muted);
  line-height: 1.6;
}

.flg .fl_g dd a {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .apivip-focus-track {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .apivip-home-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .apivip-focus {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .apivip-home-dashboard,
  .apivip-quick-row {
    grid-template-columns: 1fr;
  }

  .apivip-focus,
  .apivip-focus-item {
    height: 220px;
  }

  .apivip-focus-item {
    padding: 22px;
  }

  .apivip-focus-item strong {
    font-size: 21px;
  }

  @keyframes apivipFocusSlide {
    0%,
    27% {
      transform: translateY(0);
    }

    34%,
    61% {
      transform: translateY(-220px);
    }

    68%,
    94% {
      transform: translateY(-440px);
    }

    100% {
      transform: translateY(0);
    }
  }

  .flg .fl_tb,
  .flg .fl_tb tbody,
  .flg .fl_tb tr,
  .flg .fl_tb td.fl_g {
    display: block;
    width: 100% !important;
  }

  .flg .fl_tb tr {
    padding: 12px;
  }

  .flg .fl_tb td.fl_g {
    position: relative;
    min-height: 116px;
    margin-bottom: 12px;
    padding: 14px 14px 14px 74px !important;
  }

  .flg .fl_icn_g {
    position: absolute;
    left: 14px;
    top: 16px;
  }
}
