
  /* =========================================================
     iwantrun.com 一键多协议 VPN 脚本 WordPress HTML 模块样式
     修复重点：不撑宽正文区域，不挤压侧栏，长命令自动换行
     ========================================================= */

  .wg-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    color: #1f2937;
    line-height: 1.8;
  }

  .wg-wrap *,
  .wg-wrap *::before,
  .wg-wrap *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .wg-wrap a {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .wg-hero {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
    color: #fff;
    padding: 42px 34px;
    border-radius: 22px;
    margin: 28px 0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  }

  .wg-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.5px;
    word-break: break-word !important;
  }

  .wg-hero p {
    margin: 8px 0 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .wg-hero a {
    color: #bfdbfe;
  }

  .wg-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    width: 100% !important;
    min-width: 0 !important;
  }

  .wg-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 14px;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .wg-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 34px 0;
    overflow: hidden !important;
  }

  .wg-section h2 {
    font-size: clamp(22px, 3vw, 26px);
    margin: 0 0 18px;
    color: #111827;
    border-left: 6px solid #2563eb;
    padding-left: 14px;
    line-height: 1.35;
    word-break: break-word !important;
  }

  .wg-section h3 {
    font-size: 20px;
    margin: 26px 0 12px;
    color: #111827;
    word-break: break-word !important;
  }

  .wg-card,
  .wg-mini-card,
  .wg-alert,
  .wg-step,
  .wg-link-card,
  .wg-footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .wg-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden !important;
  }

  .wg-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    margin: 20px 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .wg-mini-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
  }

  .wg-mini-card strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 16px;
  }

  .wg-mini-card span {
    color: #4b5563;
    font-size: 15px;
  }

  .wg-alert {
    border-radius: 16px;
    padding: 18px 20px;
    margin: 18px 0;
    border-left: 6px solid;
  }

  .wg-alert-blue { background: #eff6ff; border-color: #2563eb; }
  .wg-alert-yellow { background: #fffbeb; border-color: #f59e0b; }
  .wg-alert-red { background: #fef2f2; border-color: #ef4444; }
  .wg-alert-green { background: #ecfdf5; border-color: #10b981; }

  .wg-steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    margin: 20px 0;
    width: 100% !important;
    min-width: 0 !important;
  }

  .wg-step {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 18px 18px 64px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  }

  .wg-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 32px;
  }

  .wg-step strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
  }

  .wg-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    margin: 18px 0;
  }

  .wg-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed !important;
  }

  .wg-table th {
    background: #f1f5f9;
    color: #111827;
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
  }

  .wg-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
  }

  .wg-table th,
  .wg-table td {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .wg-codebox {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 16px 0;
    border-radius: 16px;
    overflow: hidden !important;
    border: 1px solid #020617;
    background: #020617;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  }

  .wg-codebar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 16px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
  }

  .wg-copy-btn {
    flex: 0 0 auto !important;
    border: 0;
    background: #2563eb;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
    white-space: nowrap !important;
  }

  .wg-copy-btn:hover { background: #1d4ed8; }

  .wg-codebox pre {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    background: #020617 !important;
    color: #e5e7eb !important;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .wg-codebox code {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    color: #e5e7eb !important;
    background: transparent !important;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    font-weight: 500;
  }

  .wg-link-card {
    display: block;
    text-decoration: none !important;
    color: #111827 !important;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin: 14px 0;
    transition: 0.2s ease;
  }

  .wg-link-card:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  }

  .wg-link-card strong {
    display: block;
    color: #111827;
    margin-bottom: 6px;
  }

  .wg-link-card span {
    color: #2563eb;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .wg-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 14px 0;
  }

  .wg-checklist li {
    position: relative;
    padding-left: 34px;
    margin: 10px 0;
  }

  .wg-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
  }

  .wg-img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    margin: 12px 0 24px;
  }

  .wg-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 28px;
    border-radius: 20px;
    margin: 34px 0;
    overflow: hidden !important;
  }

  .wg-footer a { color: #93c5fd; }

  @media (max-width: 900px) {
    .wg-grid {
      grid-template-columns: 1fr !important;
    }
  }

  @media (max-width: 760px) {
    .wg-hero {
      padding: 30px 22px !important;
    }

    .wg-section h2 {
      font-size: 23px !important;
    }

    .wg-codebar {
      font-size: 14px !important;
      padding: 10px 12px !important;
    }

    .wg-copy-btn {
      font-size: 13px !important;
      padding: 7px 12px !important;
    }

    .wg-codebox pre {
      font-size: 14px !important;
      padding: 16px !important;
    }

    .wg-card {
      padding: 20px !important;
    }
  }

