.ffrk-tool-cookie {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 99999;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    max-width: 1180px;
    border: 2px solid #c9d8ee;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .24);
    color: #2f3640;
    margin: 0 auto;
    padding: 18px 20px;
    backdrop-filter: blur(10px);
}

.ffrk-tool-cookie strong {
    display: block;
    color: #1f3d8b;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.ffrk-tool-cookie p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.ffrk-tool-cookie button {
    min-height: 54px;
    border: 2px solid #1f3d8b;
    border-radius: 12px;
    background: #fff;
    color: #1f3d8b;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(31, 61, 139, .12);
}

.ffrk-tool-cookie button:first-of-type {
    background: #1f3d8b;
    color: #fff;
    min-width: 180px;
}

@media (max-width: 720px) {
    .ffrk-tool-cookie {
        grid-template-columns: 1fr;
        right: 10px;
        bottom: calc(64px + env(safe-area-inset-bottom));
        left: 10px;
        gap: 10px;
        padding: 14px;
    }

    .ffrk-tool-cookie button {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
    }

    .ffrk-tool-cookie strong {
        font-size: 18px;
    }

    .ffrk-tool-cookie p {
        font-size: 13px;
    }
}
