  .cookie-notice[hidden] {
    display: none !important;
  }

  .cookie-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 48px));
    z-index: 999999;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,239,.96));
    border: 1px solid rgba(255, 138, 0, .22);
    box-shadow:
      0 18px 50px rgba(20, 20, 20, .18),
      0 6px 18px rgba(255, 138, 0, .14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    animation: cookieNoticeIn .28s ease-out both;
  }

  .cookie-notice__glow {
    position: absolute;
    right: -45px;
    top: -45px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 138, 0, .18);
    pointer-events: none;
  }

  .cookie-notice__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff9f2f, #ff7a00);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 122, 0, .28);
    font-size: 20px;
  }

  .cookie-notice__body {
    min-width: 0;
    position: relative;
  }

  .cookie-notice__title {
    margin-bottom: 4px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }

  .cookie-notice__text {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.38;
  }

  .cookie-notice__text a {
    color: #ff7a00;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .cookie-notice__text a:hover {
    text-decoration: underline;
  }

  .cookie-notice__btn {
    position: relative;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ff9f2f, #ff7a00);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255, 122, 0, .28);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  }

  .cookie-notice__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 122, 0, .34);
  }

  .cookie-notice__btn:active {
    transform: translateY(0);
    opacity: .88;
  }

  @keyframes cookieNoticeIn {
    from {
      opacity: 0;
      transform: translateY(14px) scale(.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @media (max-width: 767.98px) {
    .cookie-notice {
      display: none !important;
    }
  }

  body.dark-theme .cookie-notice,
  html.dark-theme .cookie-notice {
    background:
      linear-gradient(135deg, rgba(28, 31, 38, .96), rgba(35, 29, 22, .96));
    border-color: rgba(255, 138, 0, .25);
    box-shadow:
      0 18px 50px rgba(0, 0, 0, .36),
      0 6px 18px rgba(255, 138, 0, .12);
  }

  body.dark-theme .cookie-notice__title,
  html.dark-theme .cookie-notice__title {
    color: #f9fafb;
  }

  body.dark-theme .cookie-notice__text,
  html.dark-theme .cookie-notice__text {
    color: #d1d5db;
  }