html {
  background: #f6f7fb;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: #232c36;
  background: #f6f7fb;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* 导航栏 nav */
nav.bg-white\/90 {
  background: rgba(255,255,255,0.96) !important;
  border-bottom: 1px solid #e6e8ec !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.nav-menu {
  display: flex;
  gap: 2.3rem;
  font-weight: 600;
  font-size: 1.1rem;
  align-items: center;
}

.nav-link {
  color: #23436c;
  padding: 0.4em 0.95em;
  border-radius: 6px;
  background: none;
  transition: color .15s, background .13s;
}
.nav-link:hover, .nav-link.active {
  color: #2563eb;
  background: #eaf3ff;
  text-decoration: none;
}

.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.32em;
  cursor: pointer;
  color: #23436c;
  border-radius: 6px;
  transition: color .15s;
}
.dropdown-toggle:hover {
  color: #2563eb;
  background: #eaf3ff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 2.2em;
  min-width: 420px;
  max-width: 600px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 8px 6px;
  z-index: 99;
  column-gap: 0;
}
.dropdown-menu.show {
  display: block;
}
.dropdown-menu li {
  break-inside: avoid;
  margin: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .dropdown-menu {
    min-width: 0;
    max-width: 100vw;
    column-count: 1;
  }
}
.dropdown-item {
  display: block;
  padding: 9px 18px;
  color: #374151;
  border-radius: 5px;
  font-size: 0.856rem;
  line-height: 1.5;
  font-weight: 500;
  background: none;
  transition: background .13s, color .13s;
}
.dropdown-item:hover {
  background: #eaf3ff;
  color: #2563eb;
}


pre.text-yellow-300 {
  color: #fffc61;
}

.powershell-box {
  width: 282px;
  height: 112px;
  background: #012456;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  font-family: 'Cascadia Mono', 'Consolas', 'Menlo', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
  overflow: hidden;
}
.ps-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50%;
  padding: 0 16px;
  font-size: 16px;
  color: #fff;
}
.ps-cmd {
  flex: 1;
  color: #fffc61;
  letter-spacing: 0.2px;
  user-select: text;
  font-size: 16px;
}

.ps-cmd.text-xs {
   font-size: .75rem;
}
.copy-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  border-radius: 4px;
  margin-left: 12px;
  padding: 3px 9px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.12s;
}
.copy-btn:hover {
  background: rgba(255,255,255,0.25);
  color: #333;
}
.ps-divider {
  height: 1px;
  width: 88%;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
}

/* 语言选择按钮 */
.group > button {
  border-radius: 8px !important;
  border: 1px solid #e6eaf2;
  background: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.55em 1.2em;
  box-shadow: none;
}
.group > button:focus {
  outline: 1.5px solid #9dc8fa;
  border-color: #cbe2fd;
}

/* 下拉国旗菜单适当小圆角 */
.group .rounded-lg {
  border-radius: 7px !important;
}

/* 顶部Logo */
.text-blue-600 {
  letter-spacing: -0.02em;
}
img.rounded-xl {
  border-radius: 8px !important;
}


.font-sans .bg-blue-900 {
    background: url(/static/img/Animated-Shape.svg) no-repeat center center / cover;
}


          /* 强化不可用状态：深灰+粗边+斜线纹理+低透明度 */
.max-w-7xl .bg-white .flex select:disabled,
.max-w-7xl .bg-white .flex select[disabled] {
  background-color: #f3f4f6 !important;          /* 浅灰底色 */
  color: #b1b1b1 !important;                    /* 字体淡灰 */
  border: 2px dashed #d1d5db !important;        /* 粗虚线边框 */
  cursor: not-allowed !important;
  opacity: 1 !important;
  position: relative;
  /* 更宽的斜线纹理 */
  background-image: repeating-linear-gradient(
    135deg,
    #e5e7eb 0px,
    #e5e7eb 8px,
    #f3f4f6 8px,
    #f3f4f6 16px
  ) !important;
  /* 叠加半透明蒙层 */
  box-shadow: 0 0 0 8px rgba(156,163,175,0.09) inset;
  transition: background 0.2s, border-color 0.2s;
}

.max-w-7xl .bg-white .flex select:disabled:focus,
.max-w-7xl .bg-white .flex select[disabled]:focus {
  outline: none;
  box-shadow: none;
}

/* 可选状态清爽 */
.max-w-7xl .bg-white .flex select:enabled,
.max-w-7xl .bg-white .flex select:not([disabled]) {
  background-color: #fff !important;
  color: #1f2937 !important;
  border: 1.5px solid #3b82f6 !important;
  box-shadow: 0 1px 6px 0 rgba(59,130,246,0.07);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.max-w-7xl .bg-white .flex select:enabled:focus,
.max-w-7xl .bg-white .flex select:not([disabled]):focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.30);
  background-color: #f0f9ff !important;
}

.max-w-7xl .bg-white .flex select:enabled:hover {
  background-color: #e0ecff !important;
  border-color: #2563eb !important;
}

.max-w-7xl .bg-white .flex select option[disabled], 
.max-w-7xl .bg-white .flex select option[value=""], 
.max-w-7xl .bg-white .flex select option:empty {
  color: #bdbdbd;
  background: #f9fafb;
}

/* 搜索条和按钮 */
#ipInput {
  background: transparent;
  border: none;
  font-size: 1.08rem;
  color: #24314e;
  letter-spacing: 0.02em;
  padding-left: 0;
}
#ipInput:focus {
  background: #eaf3ff;
}
#ipBtn {
  border-radius: 10px !important;
  font-weight: bold;
  font-size: 1.09rem;
  box-shadow: none !important;
  outline: none;
}
#ipBtn:active {
  background: linear-gradient(to right,#216adf,#4095f4);
  opacity: .93;
  transform: scale(0.98);
}

/* 主体卡片、aside卡片（去阴影、小圆角） */
.bg-white, .bg-gray-50 {
  border-radius: 10px !important;
  box-shadow: none !important;
}
.rounded-2xl, .rounded-xl {
  border-radius: 10px !important;
}
aside .rounded-2xl, aside .rounded-xl {
  border-radius: 10px !important;
}

/* aside右侧相关栏目，栏目条更细腻 */
aside .inline-block.w-1\.5 {
  width: 0.33em !important;
  min-width: 0.33em;
  margin-right: 0.9em !important;
  border-radius: 2px !important;
}
aside .rounded {
  border-radius: 4px !important;
}

/* aside文字 */
aside .text-base {
  letter-spacing: 0.04em;
  color: #333c48;
}
aside .text-xs {
  color: #96a3b3 !important;
}

/* 字段表格和信息区 */
[data-value] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  font-family: inherit;
}
[data-value^="ip"] {
  font-family: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
}

span.text-gray-400 {
  color: #8da0b3 !important;
}

section .grid > div {
  margin-bottom: 1.5px;
  border-radius: 6px;
}
section .grid > div:hover {
  background: #f6faff;
  transition: background .16s;
}

/* 各卡片的子标题 */
section h2, section h3 {
  letter-spacing: 0.03em;
  font-weight: 700;
  color: #2563eb;
}
section h2 .fa, section h3 .fa {
  font-size: 1.09em;
  color: #56a2ff;
}

/* 列表说明样式 */
.list-decimal li {
  padding-left: 2px;
}

/* loading蒙层（依然圆角，无阴影） */
#loadingMask .bg-white {
  border-radius: 10px;
  box-shadow: none !important;
  border: 1.5px solid #bbe4ff;
}

/* 页脚 */
footer.bg-white {
  border-radius: 0 !important;
  border-top: 1.5px solid #e6eaf1 !important;
  background: #f8fafc !important;
}
footer .text-sm {
  color: #8791a5 !important;
  letter-spacing: 0.01em;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .nav-menu {
    gap: 1.1rem;
    font-size: 1rem;
  }
  main {
    padding-top: 1.1em !important;
    padding-bottom: 1.1em !important;
  }
  section, aside, .rounded-2xl, .rounded-xl {
    border-radius: 8px !important;
  }
}
@media (max-width: 480px) {
  html, body {
    font-size: 15px;
  }
  .nav-menu {
    gap: 0.6rem;
    font-size: 0.97em;
  }
}

/* 按钮与链接统一过渡体验 */
button, .nav-link, .dropdown-toggle, .dropdown-item, #ipBtn {
  transition: background 0.13s, color 0.13s, border-color 0.13s, transform 0.14s;
}
