.sb-newsbar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(140%);
    width: min(1100px, calc(100% - 24px));
    max-width: 1100px;
    background: #ffffff;
    border: 1px solid #f0c7d2;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    transition: transform .35s ease, opacity .35s ease;
    opacity: 0;
    padding: 18px 20px;
    box-sizing: border-box;
  }

  .sb-newsbar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  .sb-newsbar__inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .sb-newsbar__text {
    flex: 1 1 360px;
    min-width: 0;
  }

  .sb-newsbar__title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
    color: #db7194;
    padding-right: 28px;
  }

  .sb-newsbar__desc {
    font-size: 15px;
    line-height: 1.45;
    color: #444;
    margin: 0;
  }

  .sb-newsbar__form {
    flex: 1 1 520px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
    min-width: 0;
  }

  .sb-newsbar__email {
    flex: 1 1 240px;
    min-width: 220px;
    width: auto;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    border: 1px solid #e5c2cc;
    border-radius: 12px;
    padding: 0 16px !important;
    font-size: 16px;
    line-height: normal !important;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    background: #fff;
  }

  .sb-newsbar__email:focus {
    border-color: #db7194;
  }

  .sb-newsbar__button {
    height: 52px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: #db7194;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }

  .sb-newsbar__button:hover {
    opacity: .92;
  }

  .sb-newsbar__success {
    display: none;
    flex: 1 1 100%;
    font-size: 14px;
    line-height: 1.45;
    color: #2f6b3b;
    font-weight: 600;
    margin-top: 4px;
  }

  .sb-newsbar__success.is-visible {
    display: block;
  }

  .sb-newsbar__consentText {
    flex: 1 1 100%;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
    margin-top: 2px;
  }

  .sb-newsbar__consentText a {
    color: #db7194;
    text-decoration: underline;
  }

  .sb-newsbar__close {
    position: absolute;
    top: -14px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 1px solid #f0c7d2;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    z-index: 3;
  }

  .sb-newsbar__close:hover {
    color: #666;
  }

  @media (max-width: 860px) {
    .sb-newsbar {
      left: 0;
      right: 0;
      bottom: 0;
      transform: translateY(120%);
      width: 100%;
      max-width: none;
      border-radius: 18px 18px 0 0;
      padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
      border-left: 0;
      border-right: 0;
      border-bottom: 0;
      margin: 0;
    }

    .sb-newsbar.is-visible {
      transform: translateY(0);
    }

    .sb-newsbar__inner {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
    }

    .sb-newsbar__text,
    .sb-newsbar__form {
      flex: none;
      width: 100%;
    }

    .sb-newsbar__title {
      font-size: 20px;
      line-height: 1.2;
      padding-right: 28px;
      margin-bottom: 8px;
    }

    .sb-newsbar__desc {
      font-size: 15px;
      line-height: 1.4;
    }

    .sb-newsbar__form {
      display: block;
    }

    .sb-newsbar__email {
      display: block !important;
      width: 100% !important;
      min-width: 0 !important;
      height: 52px !important;
      min-height: 52px !important;
      max-height: 52px !important;
      line-height: normal !important;
      margin: 0 0 12px 0 !important;
    }

    .sb-newsbar__button {
      display: block;
      width: 100%;
      margin: 0;
    }

    .sb-newsbar__success {
      margin-top: 10px;
    }

    .sb-newsbar__consentText {
      margin-top: 12px;
      font-size: 12px;
    }

    .sb-newsbar__close {
      top: -12px;
      right: 12px;
    }
  }