.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blocking-method-tabs {
    margin-top: 25px;
}

.blocking-method-tab {
    position: relative;
}

.blocking-method-tab:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.blocking-method-panel[hidden] {
    display: none !important;
}

.blocking-method-panel {
    animation: homepage-blocking-method-in 220ms ease-out;
}

@keyframes homepage-blocking-method-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.homepage-category-viewport {
    width: 440px;
    height: 340px;
    display: block;
    border-radius: 20px;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.25));
}

.homepage-category-shell {
    width: 440px;
    min-width: 440px;
    height: 340px;
    min-height: 340px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: #c54d4e;
}

.homepage-category-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.homepage-category-header h3 {
    margin: 0;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    text-transform: none;
    text-wrap: balance;
}

.homepage-category-counter {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 900;
}

.homepage-category-list-wrap {
    position: relative;
    width: 100%;
    height: 184px;
    flex: 0 0 184px;
    display: flex;
    justify-content: center;
    min-height: 0;
}

.homepage-category-list {
    width: 366px;
    height: 100%;
    padding: 2px 8px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.homepage-category-list::-webkit-scrollbar {
    display: none;
}

.homepage-category-row {
    width: 350px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding: 0 10px 0 12px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #f14c4e;
    border-radius: 12px;
    background: #f86466;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 420ms cubic-bezier(0.22, 1, 0.36, 1),
                border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage-category-row:hover,
.homepage-category-row.is-active {
    background: #ff7779;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.homepage-category-row:hover {
    transform: translateY(-1px);
}

.homepage-category-row.is-demo-pulse {
    animation: homepage-category-row-pulse 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes homepage-category-row-pulse {
    0% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
    45% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32), 0 8px 18px rgba(0, 0, 0, 0.2); }
    100% { box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); }
}

.homepage-category-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    color: #fff;
}

.homepage-category-icon svg {
    width: 24px;
    height: 24px;
}

.homepage-category-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.homepage-category-info h4 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.homepage-category-info span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 300;
}

.homepage-category-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.homepage-category-action {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 3px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    opacity: 0.62;
}

.homepage-category-action svg {
    width: 14px;
    height: 14px;
}

.homepage-category-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    cursor: pointer;
}

.homepage-category-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.homepage-category-switch-track {
    width: 42px;
    height: 22px;
    display: block;
    padding: 3px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(61, 16, 16, 0.3);
    transition: background 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage-category-switch-track span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #a33a3c;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
                background 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage-category-switch input:checked + .homepage-category-switch-track {
    background: #fff;
}

.homepage-category-switch input:checked + .homepage-category-switch-track span {
    transform: translateX(20px);
    background: #f86466;
}

.homepage-category-switch input:focus-visible + .homepage-category-switch-track {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.homepage-category-scrollbar-track {
    position: absolute;
    top: 2px;
    right: 0;
    width: 16px;
    height: calc(100% - 2px);
    overflow: hidden;
    border-radius: 20px;
    background: rgba(61, 16, 16, 0.4);
}

.homepage-category-scrollbar-thumb {
    position: absolute;
    inset: 0 0 auto;
    display: block;
    width: 100%;
    min-height: 40px;
    border-radius: 20px;
    background: #ff7e80;
    will-change: transform;
}

.homepage-category-add {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.homepage-category-add p {
    margin: 0;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
}

.homepage-category-add-button {
    width: 112px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: #555;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    font: inherit;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 900;
}

.homepage-category-add-button svg {
    width: 15px;
    height: 15px;
}

.homepage-whitelist-feature .homepage-whitelist-benefits {
    gap: 12px;
    margin-top: 22px;
}

.homepage-whitelist-feature .homepage-whitelist-benefits li {
    padding: 13px 16px;
    cursor: default;
}

.homepage-whitelist-benefits .feature-list-icon,
.homepage-whitelist-benefits .feature-list-icon [data-product-icon] {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
}

.homepage-whitelist-benefits .feature-list-icon svg {
    width: 24px;
    height: 24px;
}

.homepage-whitelist-cta {
    width: auto;
    min-width: 220px;
    margin-top: 24px;
    padding: 0 30px;
}

.homepage-whitelist-mock {
    width: min(440px, 100%);
    min-height: 398px;
    padding: 22px;
    box-sizing: border-box;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: #c54d4e;
    box-shadow: 0 24px 54px rgba(45, 7, 9, 0.26);
    font-family: 'Roboto', sans-serif;
}

.homepage-whitelist-head {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    margin-bottom: 17px;
}

.homepage-whitelist-head-icon,
.homepage-whitelist-rule-icon {
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.homepage-whitelist-head-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
}

.homepage-whitelist-head-icon svg {
    width: 30px;
    height: 30px;
}

.homepage-whitelist-head h3,
.homepage-whitelist-head p {
    margin: 0;
    color: #fff;
    text-align: left;
}

.homepage-whitelist-head h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.homepage-whitelist-head p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.homepage-whitelist-switch {
    width: 50px;
    height: 28px;
    padding: 4px;
    display: block;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(61, 16, 16, 0.34);
}

.homepage-whitelist-switch > span {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 50%;
    background: #a33a3c;
}

.homepage-whitelist-switch.is-on { background: #fff; }
.homepage-whitelist-switch.is-on > span { transform: translateX(22px); background: #f86466; }

.homepage-whitelist-add {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 12px;
}

.homepage-whitelist-type,
.homepage-whitelist-domain,
.homepage-whitelist-add-button {
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.homepage-whitelist-type {
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(90, 20, 23, 0.24);
}

.homepage-whitelist-domain {
    overflow: hidden;
    background: #fff;
    color: #555;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homepage-whitelist-add-button {
    justify-content: center;
    background: #fff;
    color: #741f22;
    box-shadow: 0 8px 16px rgba(62, 10, 12, 0.18);
    text-transform: uppercase;
}

.homepage-whitelist-limit {
    min-height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

.homepage-whitelist-limit strong {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.13);
}

.homepage-whitelist-rules {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.homepage-whitelist-rule {
    min-height: 62px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #f14c4e;
    border-radius: 16px;
    background: #f86466;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.homepage-whitelist-rule-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.homepage-whitelist-rule-icon svg {
    width: 23px;
    height: 23px;
}

.homepage-whitelist-rule > div {
    min-width: 0;
    text-align: left;
}

.homepage-whitelist-rule strong,
.homepage-whitelist-rule > div > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homepage-whitelist-rule strong {
    color: #fff;
    font-size: 14px;
}

.homepage-whitelist-rule > div > span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.homepage-whitelist-switch--small {
    width: 42px;
    height: 24px;
    padding: 3px;
}

.homepage-whitelist-switch--small > span {
    width: 18px;
    height: 18px;
}

.homepage-whitelist-switch--small.is-on > span { transform: translateX(18px); }

.homepage-whitelist-note {
    min-height: 30px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    text-align: center;
}

.homepage-whitelist-note [data-product-icon] {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
}

.homepage-whitelist-note svg {
    width: 18px;
    height: 18px;
}

html[data-theme="dark"] .homepage-category-shell {
    background: #2c3036;
    border-color: #48515c;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .homepage-category-row {
    border-color: #48515c;
    background: #343941;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .homepage-category-row:hover,
html[data-theme="dark"] .homepage-category-row.is-active {
    background: #414852;
    border-color: #697582;
}

html[data-theme="dark"] .homepage-category-switch-track {
    background: #15181d;
}

html[data-theme="dark"] .homepage-category-switch-track span {
    background: #697582;
}

html[data-theme="dark"] .homepage-category-switch input:checked + .homepage-category-switch-track {
    background: #f4f5f6;
}

html[data-theme="dark"] .homepage-category-switch input:checked + .homepage-category-switch-track span {
    background: #343941;
}

html[data-theme="dark"] .homepage-category-scrollbar-track {
    background: #15181d;
}

html[data-theme="dark"] .homepage-category-scrollbar-thumb {
    background: #697582;
}

html[data-theme="dark"] .homepage-category-add-button {
    background: #f4f5f6;
    color: #17191d;
}

html[data-theme="dark"] .homepage-whitelist-mock {
    border-color: #48515c;
    background: #2c3036;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .homepage-whitelist-type,
html[data-theme="dark"] .homepage-whitelist-limit {
    border-color: #48515c;
    background: #24282f;
}

html[data-theme="dark"] .homepage-whitelist-rule {
    border-color: #48515c;
    background: #343941;
}

html[data-theme="dark"] .homepage-whitelist-head-icon,
html[data-theme="dark"] .homepage-whitelist-rule-icon,
html[data-theme="dark"] .homepage-whitelist-limit strong {
    background: #414852;
}

html[data-theme="dark"] .homepage-whitelist-switch { background: #15181d; }
html[data-theme="dark"] .homepage-whitelist-switch > span { background: #697582; }
html[data-theme="dark"] .homepage-whitelist-switch.is-on { background: #f4f5f6; }
html[data-theme="dark"] .homepage-whitelist-switch.is-on > span { background: #343941; }

@media (prefers-reduced-motion: reduce) {
    .blocking-method-panel { animation: none; }
    .homepage-category-row,
    .homepage-category-switch-track,
    .homepage-category-switch-track span { transition: none; }
    .homepage-category-row.is-demo-pulse { animation: none; }
}

@media (max-width: 980px) {
    .homepage-category-viewport {
        transform: scale(0.95);
        transform-origin: center center;
    }

    .homepage-whitelist-mock {
        max-width: 440px;
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .homepage-category-viewport {
        transform: scale(0.72) !important;
        transform-origin: center center !important;
        margin: -40px 0 !important;
    }

    .homepage-whitelist-mock {
        width: 100%;
        min-height: 0;
        padding: 16px;
        border-radius: 20px;
    }

    .homepage-whitelist-head {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .homepage-whitelist-head-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .homepage-whitelist-head h3 { font-size: 20px; }
    .homepage-whitelist-head p { font-size: 11px; }

    .homepage-whitelist-add {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .homepage-whitelist-add-button { grid-column: 1 / -1; }
    .homepage-whitelist-limit { align-items: flex-start; padding-block: 9px; }
    .homepage-whitelist-rule { padding-inline: 9px; }
    .homepage-whitelist-feature .homepage-whitelist-benefits li { padding: 13px; }
    .homepage-whitelist-cta { min-width: 0; }
}

@media (max-width: 360px) {
    .homepage-category-viewport {
        transform: scale(0.62) !important;
        margin: -60px 0 !important;
    }
}
