

        body.cookie {
            font-family: 'Open Sans', sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f5f5;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.active {
            /* visibility/opacity: see layout-stable.css */
        }

        .modal {
            position: relative;
            width: 311px;
            height: 241px;
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 24px;
            height: 24px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
        }

        .modal-close::before,
        .modal-close::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 18px;
            height: 2px;
            background: #999;
            border-radius: 1px;
        }

        .modal-close::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .modal-close::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .modal-close:hover::before,
        .modal-close:hover::after {
            background: #666;
        }

        .modal-title {
            font-family: 'Open Sans', sans-serif;
            font-size: 18px;
            font-weight: 400;
            color: #333;
            margin-bottom: 20px;
            padding-right: 30px;
        }

        .cookie-option {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }

        .cookie-option:last-of-type {
            margin-bottom: 20px;
        }

        .toggle-switch {
            position: relative;
            width: 44px;
            height: 24px;
            background: #4CAF50;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.3s;
            flex-shrink: 0;
        }

        .toggle-switch.inactive {
            background: #ccc;
        }

        .toggle-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .toggle-switch.inactive .toggle-slider {
            transform: translateX(0);
        }

        .toggle-switch:not(.inactive) .toggle-slider {
            transform: translateX(20px);
        }

        .cookie-label {
            margin-left: 12px;
            font-size: 13px;
            font-weight: 400;
            line-height: 100%;
            letter-spacing: 0;
            color: #333;
        }

        .modal-footer {
            font-size: 13px;
            font-weight: 400;
            line-height: 100%;
            letter-spacing: 0;
            color: #666;
            margin-bottom: 16px;
        }

        .modal-footer a {
            color: #4CAF50;
            text-decoration: none;
        }

        .modal-footer a:hover {
            text-decoration: underline;
        }

        .modal-button {
            width: 100%;
            height: 44px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 22px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .modal-button:hover {
            background: #45a049;
        }

        .modal-button:active {
            background: #3d8b40;
        }
