* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  color: #1F2937;
  background: #FFFFFF;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  outline: none;
  cursor: pointer;
}
input {
  outline: none;
}
/* 布局容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* 弹性布局 */
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* 隐藏 */
.hidden {
  display: none !important;
}
/* 主题色按钮 */
.btn-primary {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #00c27c;
  color: #FFFFFF;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #009e65;
}
body {
  margin: 0;
  padding: 0;
}
.ipinfo-page-wrapper {
  background: #f0f5f2;
  color: #333;
  padding: 16px 26px;
  /* 顶部区域 */
  /* IP信息区域 */
  /* 卡片区域 */
  /* 信息列表 */
  /* 账号信息 */
  /* 暗黑模式适配 */
}
.ipinfo-page-wrapper .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ipinfo-page-wrapper .header-title {
  font-size: 16px;
  font-weight: 500;
  color: #00c27b;
}
.ipinfo-page-wrapper .refresh-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #00c27b;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
}
.ipinfo-page-wrapper .refresh-icon {
  width: 14px;
  height: 14px;
  border: 2px solid #00c27b;
  border-radius: 50%;
  border-top-color: transparent;
  animation: ipinfo-spin 1s linear infinite;
}
@keyframes ipinfo-spin {
  to {
    transform: rotate(360deg);
  }
}
.ipinfo-page-wrapper .ip-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}
.ipinfo-page-wrapper .ip-main {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 16px;
}
.ipinfo-page-wrapper .ip-icon {
  width: 36px;
  height: 36px;
  background: #00c27b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.ipinfo-page-wrapper .ip-address {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  letter-spacing: 1px;
}
.ipinfo-page-wrapper .ip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ipinfo-page-wrapper .copy-icon {
  width: 20px;
  height: 20px;
  color: #999;
  cursor: pointer;
}
.ipinfo-page-wrapper .change-ip-btn {
  padding: 6px 16px;
  border: 1px solid #00c27b;
  border-radius: 20px;
  color: #00c27b;
  font-size: 13px;
  background: none;
  cursor: pointer;
  margin-left: 20px;
  display: none;
}
.ipinfo-page-wrapper .ip-location {
  background: rgba(0, 194, 123, 0.15);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  color: #00a86b;
  margin-bottom: 12px;
}
.ipinfo-page-wrapper .ip-carrier {
  background: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}
.ipinfo-page-wrapper .ip-status {
  color: #00c27b;
  font-size: 14px;
}
.ipinfo-page-wrapper .card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 26px;
  margin-top: 16px;
}
.ipinfo-page-wrapper .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #00c27b;
}
.ipinfo-page-wrapper .card-header::before {
  content: '';
  width: 4px;
  height: 16px;
  background: #00c27b;
  border-radius: 2px;
}
.ipinfo-page-wrapper .info-list {
  display: flex;
  flex-direction: column;
}
.ipinfo-page-wrapper .info-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.ipinfo-page-wrapper .info-item:last-child {
  border-bottom: none;
}
.ipinfo-page-wrapper .info-label {
  width: 130px;
  flex-shrink: 0;
  font-size: 14px;
  color: #666;
  text-align: right;
  padding-right: 12px;
}
.ipinfo-page-wrapper .info-value {
  flex: 1;
  font-size: 14px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
}
.ipinfo-page-wrapper .account-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8fffb;
  border-radius: 8px;
  gap: 22px;
}
.ipinfo-page-wrapper .account-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: 61px;
}
.ipinfo-page-wrapper .account-name {
  flex: 1;
  font-size: 14px;
  color: #333;
}
.ipinfo-page-wrapper .account-id {
  font-size: 14px;
  color: #666;
}
.ipinfo-page-wrapper .open-link {
  color: #00c27b;
  font-size: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.dark .ipinfo-page-wrapper {
  background: #1a1a2e;
  color: #e0e0e0;
}
.dark .ipinfo-page-wrapper .ip-address {
  color: #e0e0e0;
}
.dark .ipinfo-page-wrapper .ip-location {
  background: rgba(0, 194, 123, 0.2);
  color: #4ade80;
}
.dark .ipinfo-page-wrapper .ip-carrier {
  background: #2a2a3e;
  color: #e0e0e0;
}
.dark .ipinfo-page-wrapper .card {
  background: #2a2a3e;
}
.dark .ipinfo-page-wrapper .info-label {
  color: #aaa;
}
.dark .ipinfo-page-wrapper .info-value {
  color: #e0e0e0;
}
.dark .ipinfo-page-wrapper .info-item {
  border-bottom-color: #3a3a4e;
}
.dark .ipinfo-page-wrapper .account-item {
  background: #1e2a2a;
}
.dark .ipinfo-page-wrapper .account-name {
  color: #e0e0e0;
}
.dark .ipinfo-page-wrapper .account-id {
  color: #aaa;
}

