.gsr-free-material-popup {
            position: fixed;
            inset: 0;
            z-index: 10020;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 18px;
            background: rgba(60, 48, 44, 0.28);
            box-sizing: border-box;
        }

        .gsr-free-material-popup.is-visible {
            display: flex;
        }

        .gsr-free-material-popup__dialog {
            width: min(100%, 360px);
            border: 1px solid rgba(34, 139, 94, 0.22);
            border-radius: 18px;
            background: #fffdf9;
            box-shadow: 0 22px 54px rgba(61, 48, 43, 0.22);
            color: #433338;
            padding: 18px;
            box-sizing: border-box;
        }

        .gsr-free-material-popup__head {
            display: flex;
            align-items: start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
        }

        .gsr-free-material-popup__kicker {
            margin: 0 0 5px;
            color: #228b5e;
            font-size: 0.74rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .gsr-free-material-popup__title {
            margin: 0;
            font-size: 1.28rem;
            line-height: 1.12;
            color: #352a2f;
        }

        .gsr-free-material-popup__close {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border: 1px solid rgba(67, 51, 56, 0.13);
            border-radius: 999px;
            background: #ffffff;
            color: #5d4a50;
            font: inherit;
            font-size: 1.08rem;
            font-weight: 800;
            cursor: pointer;
        }

        .gsr-free-material-popup__text {
            margin: 0 0 14px;
            color: rgba(67, 51, 56, 0.82);
            font-size: 0.95rem;
            line-height: 1.45;
        }

        .gsr-free-material-popup__button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 46px;
            border-radius: 999px;
            background: #228b5e;
            color: #ffffff !important;
            font-weight: 900;
            text-decoration: none;
            box-shadow: 0 14px 26px rgba(34, 139, 94, 0.22);
        }

        @media (max-width: 720px) {
            .gsr-free-material-popup {
                align-items: flex-end;
                padding: 12px 12px calc(88px + env(safe-area-inset-bottom));
                background: transparent;
                pointer-events: none;
            }

            .gsr-free-material-popup__dialog {
                width: min(100%, 360px);
                padding: 14px;
                pointer-events: auto;
            }

            .gsr-free-material-popup__title {
                font-size: 1.05rem;
            }

            .gsr-free-material-popup__text {
                font-size: 0.84rem;
                line-height: 1.32;
            }
        }