.ss-ads-panel[hidden], .ss-ads-settings[hidden] { display: none !important; }
.ss-ads-panel {
    box-sizing: border-box;
    position: fixed;
    z-index: 10001;
    inset: auto auto max(16px, env(safe-area-inset-bottom)) 16px;
    width: min(440px, calc(100vw - 32px));
    max-height: min(75vh, 42rem);
    overflow: auto;
    padding: 20px;
    background: #fffaf2;
    color: #27231e;
    border: 1px solid #beac96;
    box-shadow: 0 6px 32px #201b1630;
    font-family: inherit;
    text-align: left;
}
.ss-ads-panel h2 { margin: 0 0 10px; font-family: inherit; font-size: 1.15rem; line-height: 1.25; font-weight: 700; color: inherit; }
.ss-ads-panel p { margin: 0 0 10px; font-size: .86rem; line-height: 1.5; color: inherit; }
.ss-ads-panel a { color: #7d351d; text-decoration: underline; }
.ss-ads-actions { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 4px; }
.ss-ads-actions button { min-height: 44px; padding: 8px; background: #393129; color: #fffaf2; border: 1px solid #393129; font: inherit; font-weight: 650; cursor: pointer; }
.ss-ads-actions button:hover, .ss-ads-actions button:focus-visible { background: #594536; }
.ss-ads-settings { appearance: none; display: inline-flex; align-items: center; min-height: 44px; background: transparent; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.ss-ads-settings:hover, .ss-ads-settings:focus-visible { text-decoration: underline; }
.ss-ads-settings:focus-visible, .ss-ads-panel :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 480px) { .ss-ads-panel { inset-inline: 10px; width: auto; padding: 16px; } }
