    #wbAuthGate{font-size:16px;color:#0f172a;font-variant-numeric:normal}
    :where(#wbAuthGate) *{margin:0;padding:0;box-sizing:border-box}
    :where(#wbAuthGate) button{min-height:0;padding:0}
    #wbAuthGate .auth-result{color:#334155}
    #wbAuthGate .auth-result.is-error{color:#a32225}
    #wbAuthGate .auth-badges{margin-bottom:18px}
    body.wb-auth-locked .wb-shell {
      display: none;
    }

    body.wb-auth-locked #wbAuthGate {
      display: flex;
    }

    #wbAuthGate {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at 18% 18%, rgba(58, 134, 255, 0.18), transparent 34%),
        radial-gradient(circle at 82% 72%, rgba(16, 185, 129, 0.13), transparent 30%),
        linear-gradient(145deg, #f5f9ff 0%, #eef6ff 46%, #f8fbff 100%);
      padding: 24px;
      overflow: auto;
    }

    .auth-gate-card {
      width: min(980px, 100%);
      min-height: 662px;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 28px;
      box-shadow: 0 26px 80px rgba(30, 64, 175, 0.16);
      padding: 18px;
      backdrop-filter: blur(18px);
    }

    .auth-gate-layout {
      display: grid;
      grid-template-columns: 0.9fr 520px;
      gap: 18px;
      align-items: stretch;
      min-height: 626px;
    }

    .auth-hero {
      border-radius: 24px;
      padding: 34px;
      background:
        radial-gradient(circle at 20% 12%, rgba(255,255,255,0.24), transparent 28%),
        linear-gradient(160deg, #0f766e 0%, #0f4c81 48%, #1d4ed8 100%);
      color: #fff;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 18px;
      overflow: hidden;
      position: relative;
    }

    .auth-hero::after {
      content: '';
      position: absolute;
      width: 220px;
      height: 220px;
      right: -70px;
      bottom: -80px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .auth-hero h1 {
      font-size: 34px;
      line-height: 1.15;
      margin-bottom: 14px;
      letter-spacing: 0.02em;
      position: relative;
      z-index: 1;
    }

    .auth-hero p {
      font-size: 15px;
      line-height: 1.8;
      color: rgba(255,255,255,0.88);
      max-width: 420px;
      position: relative;
      z-index: 1;
    }

    .auth-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      position: relative;
      z-index: 1;
    }

    .auth-badge {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.14);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      border: 1px solid rgba(255,255,255,0.16);
    }

    .auth-card {
      border-radius: 24px;
      background: #fff;
      border: 1px solid #dbe7f6;
      box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
      padding: 0 34px 30px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      height: 626px;
      min-height: 626px;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      margin: 0 -34px 24px;
      border-bottom: 1px solid #e6edf7;
      background: #f8fbff;
    }

    .auth-tab {
      height: 64px;
      border: 0;
      background: transparent;
      color: #64748b;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      position: relative;
    }

    .auth-tab.active {
      color: #1677ff;
      background: #fff;
    }

    .auth-tab.active::after {
      content: '';
      position: absolute;
      left: 34%;
      right: 34%;
      bottom: 0;
      height: 3px;
      border-radius: 99px 99px 0 0;
      background: #1677ff;
    }



    .auth-platform-choice {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin: -8px 0 20px;
      padding: 8px;
      border: 1px solid #dbe7f6;
      border-radius: 12px;
      background: #f8fbff;
    }

    .auth-platform-btn {
      height: 44px;
      border: 1px solid transparent;
      border-radius: 8px;
      background: transparent;
      color: #475569;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .auth-platform-btn.active {
      background: #fff;
      border-color: #93c5fd;
      color: #1677ff;
      box-shadow: 0 8px 18px rgba(22, 119, 255, 0.12);
    }

    .auth-entry-note {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: -8px 0 20px;
      padding: 12px 14px;
      border: 1px solid #dbe7f6;
      border-radius: 14px;
      background: #f8fbff;
      color: #334155;
      font-size: 13px;
      font-weight: 800;
    }
    .auth-entry-note a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      border: 1px solid #c9d6e8;
      border-radius: 999px;
      background: #fff;
      color: #0e7a5c;
      font-weight: 900;
      text-decoration: none;
      white-space: nowrap;
    }

    .auth-card h2 {
      font-size: 20px;
      line-height: 1.2;
      color: #102033;
    }

    .auth-status {
      font-size: 13px;
      color: #7b8794;
      white-space: nowrap;
    }

    .auth-form {
      display: grid;
      gap: 16px;
      align-content: start;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: visible;
      padding-right: 2px;
    }

    #wbAuthGate #authPanelTitle,
    #wbAuthGate #loginAuthStatus,
    #wbAuthGate .auth-card-head,
    body[data-platform="wb"] .auth-card > h2 {
      display: none !important;
    }

    .auth-field {
      display: grid;
      grid-template-columns: 82px 1fr;
      align-items: center;
      gap: 14px;
    }

    .auth-field label {
      color: #334155;
      font-size: 15px;
      font-weight: 700;
      text-align: right;
    }

    .auth-form .search-input {
      width: 100%;
      height: 44px;
      padding: 0 14px;
      border-radius: 8px;
      border: 1px solid #d6e0ee;
      font-size: 14px;
      color: #102033;
      background: #fff;
      transition: border-color 0.18s, box-shadow 0.18s;
    }

    .auth-form .search-input:focus {
      outline: none;
      border-color: #1677ff;
      box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
    }

    .password-visibility-wrap {
      position: relative;
      display: block;
      width: 100%;
      min-width: 0;
    }
    .password-visibility-wrap > input {
      width: 100%;
      padding-right: 58px !important;
    }
    .password-visibility-toggle {
      position: absolute;
      top: 50%;
      right: 6px;
      min-width: 42px;
      height: 26px;
      padding: 0 6px;
      border: 0;
      border-radius: 6px;
      background: transparent;
      color: #2563eb;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
      transform: translateY(-50%);
    }
    .password-visibility-toggle:hover {
      background: #eff6ff;
      color: #1d4ed8;
    }
    .password-visibility-toggle:focus-visible {
      outline: 2px solid #93c5fd;
      outline-offset: 1px;
    }

    .auth-form-row {
      display: grid;
      grid-template-columns: 1fr 118px;
      gap: 10px;
    }

    .auth-primary-btn {
      width: 100%;
      height: 46px;
      border: 0;
      border-radius: 8px;
      background: linear-gradient(135deg, #198cff, #096dd9);
      color: #fff;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(9, 109, 217, 0.22);
    }

    .auth-primary-btn:disabled {
      opacity: 0.68;
      cursor: not-allowed;
      box-shadow: none;
    }

    .auth-secondary-btn {
      height: 44px;
      border: 1px solid #c9d6e8;
      border-radius: 8px;
      background: #f8fbff;
      color: #1677ff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .auth-link-row {
      display: flex;
      justify-content: flex-end;
      margin-top: -4px;
    }

    .auth-link {
      border: 0;
      background: transparent;
      color: #1677ff;
      font-size: 13px;
      cursor: pointer;
    }

    .auth-captcha {
      height: 44px;
      border-radius: 8px;
      border: 1px solid #c9d6e8;
      background: linear-gradient(135deg, #eef6ff, #f8fbff);
      color: #1e40af;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: 3px;
      cursor: pointer;
    }

    .auth-result {
      font-size: 13px;
      line-height: 1.6;
      min-height: 20px;
      margin-top: 14px;
    }

    .auth-hero > div {
      position: relative;
      z-index: 2;
    }

    .auth-platform-wordmark {
      display: inline-flex;
      align-items: center;
      margin-bottom: 30px;
      padding: 14px 20px;
      border-radius: 20px;
      background: #fff;
      border: 1px solid rgba(255,255,255,0.72);
      box-shadow: 0 18px 42px rgba(0, 50, 160, 0.18);
    }

    .auth-platform-logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 218px;
      height: 74px;
      background: transparent;
      color: #005bff;
      font-size: 66px;
      line-height: 1;
      font-weight: 1000;
      letter-spacing: -0.08em;
      font-family: Arial Black, Arial, Helvetica, sans-serif;
    }

    .auth-feature-list {
      display: grid;
      gap: 10px;
      margin-top: 20px;
      max-width: 420px;
    }

    .auth-feature-row {
      display: flex;
      align-items: center;
      gap: 10px;
      color: rgba(255,255,255,0.92);
      font-size: 13px;
      font-weight: 800;
    }

    .auth-feature-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #ffe600;
      box-shadow: 0 0 0 5px rgba(255, 230, 0, 0.14);
      flex: 0 0 auto;
    }

    .auth-hero-panel {
      margin-top: 22px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(10px);
      max-width: 410px;
    }

    .auth-hero-panel strong {
      display: block;
      margin-bottom: 7px;
      font-size: 15px;
      color: #fff;
    }

    .auth-hero-panel span {
      display: block;
      color: rgba(255,255,255,0.8);
      font-size: 12px;
      line-height: 1.7;
    }

    body[data-platform="wb"] #wbAuthGate {
      background:
        radial-gradient(circle at 14% 12%, rgba(0, 91, 255, 0.2), transparent 33%),
        radial-gradient(circle at 84% 76%, rgba(255, 230, 0, 0.2), transparent 30%),
        linear-gradient(145deg, #eff6ff 0%, #edf4ff 42%, #fffdf0 100%);
    }

    body[data-platform="wb"] .auth-gate-card {
      box-shadow: 0 26px 84px rgba(0, 64, 180, 0.18);
    }

    body[data-platform="wb"] .auth-hero {
      background:
        radial-gradient(circle at 86% 16%, rgba(255,230,0,0.22), transparent 22%),
        radial-gradient(circle at 20% 84%, rgba(0,91,255,0.10), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #f4f8ff 48%, #eef6ff 100%);
      color: #102033;
      border: 1px solid #dbe7f6;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
    }

    body[data-platform="wb"] .auth-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(0,91,255,0.045) 0 1px, transparent 1px 46px),
        linear-gradient(0deg, rgba(0,91,255,0.04) 0 1px, transparent 1px 46px),
        radial-gradient(circle at 24% 78%, rgba(0,91,255,0.08), transparent 28%);
      opacity: 0.62;
    }

    body[data-platform="wb"] .auth-hero::after {
      content: 'WB';
      display: flex;
      align-items: center;
      justify-content: center;
      width: 250px;
      height: 250px;
      right: -78px;
      bottom: -86px;
      color: rgba(0,91,255,0.07);
      font-size: 44px;
      font-weight: 1000;
      letter-spacing: 0.02em;
      background: rgba(0,91,255,0.045);
      border-color: rgba(0,91,255,0.10);
    }

    body[data-platform="wb"] .auth-platform-logo {
      background: #ffe600;
      color: #003b95;
      border: 1px solid rgba(0,91,255,0.10);
      box-shadow: none;
    }

    body[data-platform="wb"] .auth-badge {
      background: #eef6ff;
      border-color: #cfe0ff;
      color: #005bff;
    }

    body[data-platform="wb"] .auth-hero h1 {
      color: #102033;
    }

    body[data-platform="wb"] .auth-hero p {
      color: #475569;
    }

    body[data-platform="wb"] .auth-feature-row {
      color: #1f3b63;
    }

    body[data-platform="wb"] .auth-feature-dot {
      background: #ffe600;
      box-shadow: 0 0 0 5px rgba(255, 230, 0, 0.22);
    }

    body[data-platform="wb"] .auth-hero-panel {
      background: rgba(0, 26, 112, 0.23);
      border-color: rgba(255,255,255,0.24);
    }

    body[data-platform="wb"] .auth-link,
    body[data-platform="wb"] .auth-secondary-btn,
    body[data-platform="wb"] .auth-entry-note a {
      color: #005bff;
    }

    body[data-platform="wb"] .auth-tab {
      color: #8ea4c2;
    }

    body[data-platform="wb"] .auth-tab.active {
      color: #7aa7e8;
      background: #fff;
    }

    body[data-platform="wb"] .auth-tab.active::after {
      background: linear-gradient(135deg, #bfdbfe, #93c5fd);
    }

    body[data-platform="wb"] .auth-primary-btn {
      background: linear-gradient(135deg, #f8fbff, #eef6ff);
      color: #005bff;
      border: 1px solid #bfdbfe;
      box-shadow: 0 8px 18px rgba(0, 91, 255, 0.10);
    }

    body[data-platform="wb"] .auth-primary-btn:hover {
      background: linear-gradient(135deg, #eef6ff, #dbeafe);
      border-color: #93c5fd;
    }

    body[data-platform="wb"] .auth-form .search-input:focus {
      border-color: #2563eb;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    body[data-platform="wb"] .auth-card {
      height: 626px;
      min-height: 626px;
    }

    body[data-platform="wb"] .auth-form {
      overflow: visible;
    }

    body[data-platform="wb"] .auth-secondary-btn,
    body[data-platform="wb"] .auth-captcha,
    body[data-platform="wb"] .auth-entry-note {
      border-color: #bfdbfe;
      background: #eff6ff;
    }

    body[data-platform="wb"] .auth-entry-note a {
      color: #005bff;
      border-color: #bfdbfe;
      background: #f8fbff;
    }

    body[data-platform="wb"] .auth-entry-note a:hover {
      background: #eaf2ff;
      border-color: #93c5fd;
    }

    body[data-platform="wb"] .auth-captcha {
      color: #1d4ed8;
    }

    @media (max-width: 860px) {
      .auth-gate-layout { grid-template-columns: 1fr; }
      .auth-hero { min-height: 220px; padding: 26px; }
      .auth-card { min-height: auto; padding: 0 22px 24px; }
      .auth-tabs { margin: 0 -22px 22px; }
      .auth-field { grid-template-columns: 1fr; gap: 8px; }
      .auth-field label { text-align: left; }
    }


.auth-gate-card{background:#fff;border-color:#d6e1ef;box-shadow:0 18px 48px rgba(0,64,180,.14);backdrop-filter:none!important}.auth-hero-panel{backdrop-filter:none!important}#wbAuthGate button{font-family:inherit}#wbAuthGate{overflow:auto}body.wb-auth-locked{overflow:hidden}

