.ad-cluster {
    width: 100%;
}

.ad-cluster:not(:has(.ad-slot-shell)):not(:has(.ad-area--picker)) {
    display: none;
}

.ad-cluster--footer {
    padding-bottom: 1.5rem;
}

.ad-cluster__container {
    display: grid;
    gap: 1rem;
    max-width: min(1580px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2vw, 1.75rem);
    padding-left: clamp(1rem, 2vw, 1.75rem);
}

.ad-cluster__split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.ad-slot-shell {
    display: grid;
    justify-items: center;
    width: 100%;
}

.ad-slot-shell[data-adsense-shell] {
    min-width: 0;
    max-width: 100%;
}

.ad-slot-shell--stage-intro {
    position: relative;
    min-height: 100svh;
    padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    align-content: center;
    justify-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.14), transparent 24%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.98) 58%, rgba(89, 155, 211, 0.96) 100%);
}

.ad-slot-shell--fullscreen-popup {
    position: fixed;
    inset: 0;
    z-index: 2200;
    min-height: 100svh;
    padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    align-content: center;
    justify-items: center;
    background: rgba(15, 23, 42, 0.92);
}

.ad-slot-picker-body .ad-slot-shell--fullscreen-popup {
    position: relative;
    inset: auto;
    z-index: auto;
}

.ad-slot-shell__stage-head {
    position: absolute;
    top: clamp(1rem, 3vw, 1.8rem);
    left: clamp(1rem, 3vw, 1.8rem);
    right: clamp(1rem, 3vw, 1.8rem);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: none;
}

.ad-slot-shell__stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--jelonka-white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(6, 18, 32, 0.14);
}

.ad-slot-shell__stage-close {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--jelonka-white);
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(6, 18, 32, 0.18);
}

.ad-slot-shell__stage-close:hover,
.ad-slot-shell__stage-close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--jelonka-white);
}

.ad-slot-shell--desktop-rail {
    justify-items: stretch;
}

.ad-slot-shell--mobile-only {
    display: none;
}

.ad-slot-shell--infeed-card {
    grid-column: 1 / -1;
    margin: 0.1rem 0 0.35rem;
}

.ad-slot-shell--content-band {
    margin: 1rem 0 1.25rem;
}

.ad-cluster__mobile-stack {
    display: none;
    gap: 0.85rem;
}

.ad-area {
    --ad-area-min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-block: 0.35rem;
}

.ad-area--has-paid-ads {
    position: relative;
    padding: 2rem 0.8rem 0.85rem;
    background: #ededed;
}

.ad-area--scroll-reveal {
    --ad-area-scroll-reveal-height: min(68vh, 34rem);
    height: var(--ad-area-scroll-reveal-height);
    min-height: var(--ad-area-scroll-reveal-height);
    padding: 0;
    isolation: isolate;
    overflow: clip;
    background: transparent;
}

.ad-area--scroll-reveal .ad-area__scroll-reveal-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    width: 100vw;
    min-height: 100vh;
    padding: 2rem 0.8rem 0.85rem;
    background: #ededed;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: opacity 120ms ease;
}

.ad-area--scroll-reveal.is-scroll-reveal-active .ad-area__scroll-reveal-stage {
    opacity: 1;
}

.ad-area--scroll-reveal .ad-area__row,
.ad-area--scroll-reveal .ad-area__public-label {
    pointer-events: auto;
}

.news-grid > .ad-area,
.classifieds-list > .ad-area {
    grid-column: 1 / -1;
}

.ad-area__public-label {
    position: absolute;
    top: 0.6rem;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1rem;
    padding: 0;
    color: #7a7a7a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
    transform: translateX(-50%);
}

.ad-area__row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.ad-area__slot {
    position: relative;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.ad-area__slot--mobile {
    display: none;
}

.ad-slot-picker-body .ad-area--picker {
    position: relative;
    min-height: var(--ad-area-min-height);
    padding: 2.25rem 0.75rem 0.75rem;
    border: 2px dashed rgba(20, 97, 162, 0.42);
    border-radius: 8px;
    background: rgba(20, 97, 162, 0.04);
}

.ad-area__picker-label {
    position: absolute;
    top: 0.55rem;
    left: 0.65rem;
    z-index: 2;
    color: #1461a2;
    font-size: 0.86rem;
    line-height: 1.2;
    text-decoration: none;
}

.ad-area__picker-label:hover,
.ad-area__picker-label:focus-visible {
    color: #1461a2;
    text-decoration: none;
}

.ad-area__picker-actions {
    position: absolute;
    top: 0.42rem;
    right: 0.55rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ad-area__picker-mode {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(15, 23, 42, 0.68);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
}

.ad-area__picker-mode select {
    max-width: min(13rem, 38vw);
    height: 1.75rem;
    border: 1px solid rgba(20, 97, 162, 0.28);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: #1461a2;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
}

.ad-area__picker-mode select:disabled {
    opacity: 0.58;
    cursor: wait;
}

.ad-slot-picker-global-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.ad-slot-picker-global-actions__button {
    pointer-events: auto;
    min-height: 2.25rem;
    padding: 0.55rem 0.78rem;
    border: 1px solid rgba(20, 97, 162, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    color: #1461a2;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.ad-slot-picker-global-actions__button:hover,
.ad-slot-picker-global-actions__button:focus-visible {
    border-color: rgba(20, 97, 162, 0.48);
    background: #fff;
}

.ad-slot-picker-global-actions__button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.ad-area__row-tools {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    min-height: 1.7rem;
    color: rgba(15, 23, 42, 0.62);
    font-size: 0.74rem;
    line-height: 1.2;
}

.ad-area__picker-button,
.ad-area__slot-tools button {
    border: 1px solid rgba(20, 97, 162, 0.28);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: #1461a2;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
}

.ad-area__picker-button:hover,
.ad-area__picker-button:focus-visible,
.ad-area__slot-tools button:hover,
.ad-area__slot-tools button:focus-visible {
    border-color: rgba(20, 97, 162, 0.5);
    background: #fff;
}

.ad-area__picker-button--danger,
.ad-area__slot-tools .ad-area__slot-delete {
    border-color: rgba(185, 28, 28, 0.25);
    color: #991b1b;
}

.ad-area__picker-button--danger:hover,
.ad-area__picker-button--danger:focus-visible,
.ad-area__slot-tools .ad-area__slot-delete:hover,
.ad-area__slot-tools .ad-area__slot-delete:focus-visible {
    border-color: rgba(185, 28, 28, 0.48);
    background: #fff7f7;
}

.ad-area__picker-button:disabled,
.ad-area__slot-tools button:disabled {
    opacity: 0.58;
    cursor: wait;
}

.ad-area__slot-tools {
    position: absolute;
    top: clamp(3.85rem, 4.2vw, 4.15rem);
    left: clamp(1.95rem, 2.8vw, 2.35rem);
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    max-width: calc(100% - 3rem);
}

.ad-area__device-toggles {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    padding-right: 0.18rem;
}

.ad-area__device-toggles.is-saving {
    opacity: 0.62;
}

.ad-area__device-toggle {
    display: inline-grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}

.ad-area__device-toggle input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.ad-area__device-icon {
    display: grid;
    place-items: center;
    min-width: 1.75rem;
    height: 1.65rem;
    border: 1px solid rgba(20, 97, 162, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(15, 23, 42, 0.52);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.ad-area__device-icon img {
    width: 1.12rem;
    height: 1.12rem;
    display: block;
    object-fit: contain;
    opacity: 0.46;
}

.ad-area__device-toggle input:checked + .ad-area__device-icon {
    border-color: rgba(20, 97, 162, 0.52);
    background: rgba(20, 97, 162, 0.1);
    color: #1461a2;
}

.ad-area__device-toggle input:checked + .ad-area__device-icon img {
    opacity: 0.94;
}

.ad-area__device-toggle input:focus-visible + .ad-area__device-icon {
    outline: 2px solid rgba(20, 97, 162, 0.35);
    outline-offset: 2px;
}

.ad-area__settings-dialog {
    width: min(26rem, calc(100vw - 1.25rem));
    max-width: calc(100vw - 1.25rem);
    border: 1px solid rgba(20, 97, 162, 0.22);
    border-radius: 8px;
    padding: 0;
    background: #fff;
    color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.ad-area__settings-dialog::backdrop {
    background: rgba(15, 23, 42, 0.28);
}

.ad-area__settings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(20, 97, 162, 0.14);
}

.ad-area__settings-head strong {
    min-width: 0;
    color: #1461a2;
    font-size: 0.84rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.ad-area__settings-close {
    width: 1.9rem;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0;
}

.ad-area__slot-settings {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
}

.ad-area__slot-panel {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem;
    border: 1px solid rgba(20, 97, 162, 0.16);
    border-radius: 6px;
    background: rgba(20, 97, 162, 0.035);
}

.ad-area__slot-panel[hidden] {
    display: none;
}

.ad-area__slot-panel h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: #1461a2;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.ad-area__slot-panel .ad-area__device-icon {
    min-width: 1.45rem;
    height: 1.35rem;
}

.ad-area__slot-panel .ad-area__device-icon img {
    width: 0.92rem;
    height: 0.92rem;
    opacity: 0.9;
}

.ad-area__slot-panel-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.ad-area__settings-dialog .ad-area__slot-panel-fields label {
    display: grid;
    align-items: start;
    gap: 0.24rem;
}

.ad-area__settings-dialog .ad-area__slot-panel-fields input {
    width: 100%;
}

.ad-area__settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    padding: 0.7rem 0.85rem 0.85rem;
    border-top: 1px solid rgba(20, 97, 162, 0.12);
}

.ad-area__slot-tools label {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    margin: 0;
    color: rgba(15, 23, 42, 0.68);
    font-size: 0.7rem;
    font-weight: 700;
}

.ad-area__slot-tools input {
    width: 4.25rem;
    min-height: 1.65rem;
    border: 1px solid rgba(20, 97, 162, 0.24);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: rgba(15, 23, 42, 0.84);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0.35rem;
}

.ad-area__slot-tools input::placeholder {
    color: rgba(15, 23, 42, 0.34);
}

.ad-area__slot:empty {
    display: none;
}

.ad-area__slot--full {
    flex: 0 0 100%;
    max-width: 100%;
}

.ad-area__slot--half {
    flex: 0 0 calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
}

.ad-area__slot--third {
    flex: 0 0 calc(33.333% - 0.334rem);
    max-width: calc(33.333% - 0.334rem);
}

.ad-area__slot--quarter {
    flex: 0 0 calc(25% - 0.375rem);
    max-width: calc(25% - 0.375rem);
}

.ad-area__slot--custom {
    --ad-area-slot-max-width: min(100%, calc(var(--ad-area-slot-width, 100%) - 0.5rem));
    flex: 0 0 var(--ad-area-slot-max-width);
    max-width: var(--ad-area-slot-max-width);
}

.ad-area__slot--custom-px {
    --ad-area-slot-pixel-width: min(var(--ad-area-slot-width-px), var(--ad-area-slot-max-width));
    flex-basis: var(--ad-area-slot-pixel-width);
    width: var(--ad-area-slot-pixel-width);
}

.ad-area__slot--mobile-custom,
.ad-area__slot--mobile-custom-px {
    --ad-area-mobile-slot-max-width: min(100%, var(--ad-area-mobile-slot-width, 100%));
}

.ad-area__slot--hide-desktop {
    display: none;
}

body.ad-slot-picker-body .ad-area__slot--hide-desktop,
body.ad-slot-picker-body .ad-area__slot--hide-mobile {
    display: block !important;
}

.ad-area:not(.ad-area--picker) .ad-area__row:not(:has(.ad-area__slot:not(.ad-area__slot--hide-desktop))) {
    display: none;
}

.ad-area:not(.ad-area--picker):not(:has(.ad-area__slot:not(.ad-area__slot--hide-desktop))) {
    display: none;
}

.ad-slot-shell--area {
    margin-block: 0.2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-anchor: none;
}

.ad-slot-picker-body .ad-slot-shell--area[data-adsense-shell] .ad-slot__frame {
    height: calc(var(--slot-height) * 1px);
    min-height: 0;
    overflow: hidden;
}

.ad-slot-picker-body .ad-slot__frame {
    height: auto;
    min-height: calc(var(--slot-height) * 1px);
    overflow: visible;
}

.ad-slot-picker-body .ad-slot__placeholder--picker {
    position: relative;
    min-height: calc(var(--slot-height) * 1px);
    height: auto;
}

.ad-slot {
    display: grid;
    gap: 0.65rem;
    width: min(100%, calc(var(--slot-width) * 1px));
    justify-self: center;
}

.ad-area__row--balanced .ad-slot-shell--area {
    width: min(100%, var(--ad-area-row-max-width));
    max-width: min(100%, var(--ad-area-row-max-width));
}

.ad-area__row--balanced .ad-slot {
    width: 100%;
    max-width: 100%;
    justify-self: center;
}

.ad-slot-shell--stage-intro .ad-slot,
.ad-slot-shell--fullscreen-popup .ad-slot {
    width: min(100%, calc(var(--slot-width) * 1px));
}

.ad-slot-shell--stage-intro .ad-slot__frame {
    box-shadow: 0 30px 80px rgba(10, 18, 34, 0.28);
}

.ad-slot-shell--fullscreen-popup .ad-slot__frame {
    background: transparent;
    box-shadow: none;
}

.ad-slot-shell--stage-intro .ad-slot__placeholder {
    border-color: rgba(255, 255, 255, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 246, 250, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(20, 97, 162, 0.06) 0,
            rgba(20, 97, 162, 0.06) 14px,
            rgba(190, 86, 0, 0.04) 14px,
            rgba(190, 86, 0, 0.04) 28px
        );
}

.ad-slot-shell--fullscreen-popup .ad-slot__placeholder {
    border-color: rgba(255, 255, 255, 0.34);
    background: transparent;
}

.ad-slot-shell--fullscreen-popup .ad-slot__image {
    background: transparent;
}

.ad-slot__frame {
    position: relative;
    width: 100%;
    height: calc(var(--slot-height) * 1px);
    overflow: hidden;
    overflow-anchor: none;
}

.ad-slot__item,
.ad-slot__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
}

.ad-slot__item {
    align-items: center;
    justify-items: center;
    text-decoration: none;
}

.ad-slot__item--adsense {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
}

.ad-slot__item--adsense .adsbygoogle {
    display: block !important;
    width: 100%;
    max-width: 100% !important;
    height: 100%;
    min-width: 0;
    text-align: center;
}

.ad-slot__item--adsense .adsbygoogle > iframe {
    max-width: 100% !important;
    margin-inline: auto !important;
}

.ad-slot__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-inline: auto;
    text-decoration: none;
}

.ad-slot__link .ad-slot__media {
    width: auto;
    max-width: 100%;
}

.ad-slot__item.is-hidden {
    display: none;
}

.ad-slot__media {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
}

.ad-slot__image {
    width: auto;
    height: auto;
    display: block;
    max-width: min(100%, calc(var(--slot-width) * 1px));
    max-height: 100%;
    margin-inline: auto;
    object-fit: initial;
    background-color: rgba(255, 255, 255, 0.98);
}

.ad-slot__image.is-hidden {
    display: none;
}

.ad-slot.has-fluid-height .ad-slot__frame {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
}

.ad-slot.has-fluid-height .ad-slot__item {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
}

.ad-slot.has-fluid-height .ad-slot__link {
    height: auto;
    max-width: min(100%, calc(var(--slot-width) * 1px));
}

.ad-slot.has-fluid-height .ad-slot__media {
    width: 100%;
    height: auto;
}

.ad-slot.has-fluid-height .ad-slot__image {
    width: auto;
    height: auto;
    max-height: none;
}

.ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__link,
.ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__media {
    width: min(100%, var(--ad-area-row-image-width));
    max-width: min(100%, var(--ad-area-row-image-width));
}

.ad-area__row--balanced.ad-area__row--image-balanced .ad-slot__image,
.ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__image {
    width: min(100%, var(--ad-area-row-image-width));
    max-width: min(100%, var(--ad-area-row-image-width));
}

.ad-slot__video {
    width: 100%;
    height: 100%;
    display: block;
    background: #0b1220;
}

.ad-slot__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

.ad-slot__pixel {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    bottom: 0;
    right: 0;
}

.ad-slot__placeholder {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.4rem;
    border: 4px dashed rgba(20, 97, 162, 0.36);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 246, 250, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(20, 97, 162, 0.05) 0,
            rgba(20, 97, 162, 0.05) 14px,
            rgba(190, 86, 0, 0.04) 14px,
            rgba(190, 86, 0, 0.04) 28px
        );
    color: var(--jelonka-ink);
    text-align: center;
}

.ad-slot__placeholder-name {
    color: var(--jelonka-ink-soft);
    font-size: clamp(0.75rem, 1vw, 0.95rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-slot__placeholder-label {
    font-size: clamp(1rem, 2.4vw, 2rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.ad-slot__placeholder--picker {
    position: relative;
    align-items: center;
    align-content: center;
    justify-items: center;
    padding: clamp(0.55rem, 1.2vw, 0.95rem);
    padding-top: clamp(6.65rem, 7.4vw, 7.4rem);
    padding-right: clamp(0.75rem, 1.3vw, 1.1rem);
    padding-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
    padding-left: clamp(0.75rem, 1.3vw, 1.1rem);
    border-style: solid;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ad-slot__picker-meta {
    position: absolute;
    top: clamp(0.32rem, 0.6vw, 0.5rem);
    left: clamp(1.95rem, 2.8vw, 2.35rem);
    display: grid;
    justify-items: start;
    gap: 0.16rem;
}

.ad-slot__picker-tag {
    color: rgba(15, 23, 42, 0.68);
    font-size: clamp(0.58rem, 0.72vw, 0.68rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: none;
}

.ad-slot__picker-dimensions {
    color: rgba(15, 23, 42, 0.52);
    font-size: clamp(0.52rem, 0.68vw, 0.62rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: none;
}

.ad-slot__picker-sizes {
    display: grid;
    justify-items: start;
    gap: 0.1rem;
    color: rgba(15, 23, 42, 0.58);
    font-size: clamp(0.5rem, 0.64vw, 0.58rem);
    font-weight: 700;
    line-height: 1.12;
}

.ad-slot__picker-count {
    position: absolute;
    top: clamp(0.32rem, 0.6vw, 0.5rem);
    right: clamp(0.45rem, 0.8vw, 0.75rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    color: rgba(15, 23, 42, 0.78);
    background: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.62rem, 0.78vw, 0.74rem);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.ad-slot__placeholder--picker:hover,
.ad-slot__placeholder--picker:focus-within {
    border-color: rgba(11, 87, 208, 0.7);
    box-shadow: inset 0 0 0 2px rgba(11, 87, 208, 0.1);
}

.ad-slot__placeholder--picker.is-selected {
    border-color: rgba(11, 87, 208, 0.95);
    background:
        linear-gradient(180deg, rgba(237, 244, 255, 0.98) 0%, rgba(226, 237, 255, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(11, 87, 208, 0.07) 0,
            rgba(11, 87, 208, 0.07) 14px,
            rgba(20, 97, 162, 0.03) 14px,
            rgba(20, 97, 162, 0.03) 28px
        );
    box-shadow: inset 0 0 0 3px rgba(11, 87, 208, 0.18);
}

.ad-slot.is-picker-panel-highlighted .ad-slot__placeholder--picker,
.ad-slot.is-picker-panel-highlighted .ad-slot__frame {
    border-color: rgba(190, 86, 0, 0.95);
    box-shadow: 0 0 0 4px rgba(190, 86, 0, 0.24), 0 18px 42px rgba(15, 23, 42, 0.18);
}

.ad-picker-panel {
    position: fixed;
    top: 6.5rem;
    right: 0;
    z-index: 2500;
    width: min(35rem, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    pointer-events: auto;
    transform: translateX(calc(100% - 0.55rem));
    transition: transform 0.18s ease;
}

.ad-picker-panel__drawer {
    position: relative;
    display: grid;
    gap: 0.85rem;
    max-height: calc(100svh - 7.5rem);
    padding: 0.9rem;
    overflow: auto;
    border: 1px solid rgba(20, 97, 162, 0.22);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.ad-picker-panel.is-open {
    transform: translateX(0);
}

.ad-picker-panel__tab {
    position: absolute;
    top: 0.85rem;
    left: -2.45rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    min-height: 7.2rem;
    padding: 0.75rem 0.3rem;
    border: 1px solid rgba(20, 97, 162, 0.24);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #1461a2;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-orientation: mixed;
    writing-mode: vertical-rl;
    cursor: pointer;
    pointer-events: auto;
}

.ad-picker-panel__header {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ad-picker-panel__eyebrow {
    color: rgba(15, 23, 42, 0.56);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ad-picker-panel__title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.ad-picker-panel__status {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.ad-picker-panel__status--active {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.ad-picker-panel__status--future {
    background: rgba(20, 97, 162, 0.12);
    color: #1461a2;
}

.ad-picker-panel__status--expired,
.ad-picker-panel__status--inactive {
    background: rgba(185, 28, 28, 0.1);
    color: #991b1b;
}

.ad-picker-panel__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.ad-picker-panel__stats span {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 8px;
    background: rgba(20, 97, 162, 0.05);
    color: rgba(15, 23, 42, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
}

.ad-picker-panel__stats strong {
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1;
}

.ad-picker-panel__list {
    display: grid;
    gap: 0.55rem;
}

.ad-picker-panel__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.7rem;
    align-items: center;
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #fff;
}

.ad-picker-panel__item.is-form-selected {
    border-color: rgba(11, 87, 208, 0.34);
    box-shadow: inset 3px 0 0 rgba(11, 87, 208, 0.7);
}

.ad-picker-panel__item.is-removed {
    opacity: 0.62;
    box-shadow: inset 3px 0 0 rgba(185, 28, 28, 0.42);
}

.ad-picker-panel__item-main {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.ad-picker-panel__item-main strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.86rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ad-picker-panel__item-main span {
    color: rgba(15, 23, 42, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.ad-picker-panel__item-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-width: 0;
}

.ad-picker-panel__item-meta span {
    min-width: 0;
    max-width: 100%;
    padding: 0.2rem 0.38rem;
    overflow-wrap: anywhere;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.66);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.ad-picker-panel__item-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ad-picker-panel__locate,
.ad-picker-panel__remove {
    min-height: 2rem;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(20, 97, 162, 0.28);
    border-radius: 6px;
    background: rgba(20, 97, 162, 0.08);
    color: #1461a2;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.ad-picker-panel__remove {
    border-color: rgba(185, 28, 28, 0.24);
    background: rgba(185, 28, 28, 0.06);
    color: #991b1b;
}

.ad-picker-panel__locate:hover,
.ad-picker-panel__locate:focus-visible {
    border-color: rgba(20, 97, 162, 0.52);
    background: rgba(20, 97, 162, 0.14);
}

.ad-picker-panel__remove:hover,
.ad-picker-panel__remove:focus-visible {
    border-color: rgba(185, 28, 28, 0.46);
    background: rgba(185, 28, 28, 0.12);
}

.ad-picker-panel__locate:disabled,
.ad-picker-panel__remove:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.ad-picker-panel__empty {
    margin: 0;
    padding: 0.8rem;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    color: rgba(15, 23, 42, 0.64);
    font-size: 0.82rem;
    line-height: 1.35;
}

.ad-slot__picker-check {
    position: absolute;
    top: clamp(0.24rem, 0.55vw, 0.44rem);
    left: clamp(0.5rem, 0.95vw, 0.82rem);
    z-index: 1;
    display: grid;
    place-items: center;
}

.ad-slot__picker-check input {
    margin: 0;
    width: clamp(1rem, 1.4vw, 1.15rem);
    height: clamp(1rem, 1.4vw, 1.15rem);
    cursor: pointer;
}

.ad-slot__picker-copy {
    display: contents;
}

.ad-slot__picker-thumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.ad-slot__picker-thumbs--assigned {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 0 0.35rem 0.28rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    max-width: 100%;
    min-height: 0;
    scroll-snap-type: x proximity;
}

.ad-slot__picker-thumb {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: clamp(16rem, 22vw, 21rem);
    scroll-snap-align: start;
}

.ad-slot__picker-thumb img {
    display: block;
    width: auto;
    height: auto;
    max-width: clamp(16rem, 22vw, 21rem);
    max-height: clamp(3.4rem, 5vw, 4.6rem);
    object-fit: contain;
}

.ad-slot__indicators {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
}

.ad-slot__indicator {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.18);
}

.ad-slot__indicator.is-active {
    background: rgba(190, 86, 0, 0.88);
}

@media (max-width: 991.98px) {
    .ad-cluster__split {
        grid-template-columns: minmax(0, 1fr);
    }

    .ad-slot-shell--stage-intro,
    .ad-slot-shell--fullscreen-popup {
        min-height: min(88svh, 44rem);
        padding-top: 4.6rem;
    }

    .ad-slot-shell--desktop-rail {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .ad-cluster__container {
        gap: 0.85rem;
    }

    .ad-cluster__split--desktop,
    .ad-slot-shell--desktop-only,
    .ad-area__slot--desktop {
        display: none !important;
    }

    .ad-cluster__mobile-stack,
    .ad-slot-shell--mobile-only,
    .ad-area__slot--mobile {
        display: grid;
    }

    .ad-area__slot--hide-desktop {
        display: block;
    }

    .ad-area:not(.ad-area--picker) .ad-area__row:has(.ad-area__slot:not(.ad-area__slot--hide-mobile)) {
        display: flex;
    }

    .ad-area:not(.ad-area--picker):has(.ad-area__slot:not(.ad-area__slot--hide-mobile)) {
        display: block;
    }

    .ad-area__slot--hide-mobile {
        display: none !important;
    }

    .ad-area:not(.ad-area--picker) .ad-area__row:not(:has(.ad-area__slot:not(.ad-area__slot--hide-mobile))) {
        display: none;
    }

    .ad-area:not(.ad-area--picker):not(:has(.ad-area__slot:not(.ad-area__slot--hide-mobile))) {
        display: none;
    }

    .ad-area:has(.ad-area__slot--mobile-scroll-x:not(.ad-area__slot--hide-mobile)) {
        overflow-x: clip;
    }

    .ad-slot-shell[data-adsense-shell],
    .ad-slot-shell[data-adsense-shell] .ad-slot,
    .ad-slot-shell[data-adsense-shell] .ad-slot__frame,
    .ad-slot__item--adsense,
    .ad-slot__item--adsense .adsbygoogle {
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .ad-slot__item--adsense .adsbygoogle,
    .ad-slot__item--adsense .adsbygoogle > iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ad-slot__placeholder {
        padding: 1rem;
        border-width: 3px;
    }

    .ad-slot__placeholder--picker {
        padding-right: 1rem;
        padding-top: 7.2rem;
        padding-bottom: 1rem;
    }

    .ad-slot__picker-thumbs--assigned {
        max-width: none;
        margin-top: 0.35rem;
    }

    .ad-area__slot,
    .ad-area__slot--half,
    .ad-area__slot--third,
    .ad-area__slot--quarter,
    .ad-area__slot--custom,
    .ad-area__slot--custom-px {
        --ad-area-mobile-slot-max-width: min(100%, var(--ad-area-mobile-slot-width, 100%));
        flex-basis: var(--ad-area-mobile-slot-max-width);
        max-width: var(--ad-area-mobile-slot-max-width);
    }

    .ad-area__slot--mobile-custom-px,
    .ad-area__slot--custom-px {
        --ad-area-mobile-slot-pixel-width: min(
            var(--ad-area-mobile-slot-width-px),
            var(--ad-area-mobile-slot-max-width)
        );
        flex-basis: var(--ad-area-mobile-slot-pixel-width);
        width: var(--ad-area-mobile-slot-pixel-width);
        max-width: var(--ad-area-mobile-slot-pixel-width);
    }

    .ad-area__row:has(.ad-area__slot--mobile-scroll-x:not(.ad-area__slot--hide-mobile)) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        box-sizing: border-box;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .ad-area__slot--mobile-scroll-x {
        --ad-area-mobile-slot-pixel-width: var(--ad-area-mobile-slot-width-px);
        flex: 0 0 var(--ad-area-mobile-slot-pixel-width);
        width: var(--ad-area-mobile-slot-pixel-width);
        min-width: var(--ad-area-mobile-slot-pixel-width);
        max-width: none;
    }

    .ad-area__slot--mobile-scroll-x .ad-slot-shell--area,
    .ad-area__slot--mobile-scroll-x .ad-slot {
        width: 100%;
        max-width: none;
    }

    .ad-area__row--balanced .ad-slot-shell--area {
        width: 100%;
        max-width: 100%;
    }

    .ad-area__row--balanced .ad-slot {
        width: 100%;
        max-width: 100%;
    }

    .ad-slot[style*="--slot-mobile-height"] {
        --slot-height: var(--slot-mobile-height);
    }

    .ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__link,
    .ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__media,
    .ad-area__row--balanced.ad-area__row--image-balanced .ad-slot.has-fluid-height .ad-slot__image,
    .ad-area__row--balanced.ad-area__row--image-balanced .ad-slot__image {
        width: auto;
        max-width: 100%;
    }

    .ad-slot.has-fluid-height .ad-slot__link,
    .ad-slot.has-fluid-height .ad-slot__media,
    .ad-slot.has-fluid-height .ad-slot__image {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ad-area--has-paid-ads {
        padding: 1.85rem 10% 0.75rem;
        border-radius: 14px;
    }

    .ad-area--scroll-reveal {
        --ad-area-scroll-reveal-height: min(64vh, 30rem);
        padding: 0;
        border-radius: 0;
    }

    .ad-area--scroll-reveal .ad-area__scroll-reveal-stage {
        padding: 1.85rem 10% 0.75rem;
        border-radius: 14px;
    }

    .ad-area__public-label {
        top: 0.55rem;
        left: 50%;
        font-size: 0.64rem;
    }

    .ad-slot-shell__stage-head {
        top: 0.85rem;
        left: 0.85rem;
        right: 0.85rem;
    }

    .ad-slot-shell__stage-badge {
        font-size: 0.74rem;
        padding: 0.5rem 0.78rem;
    }

    .ad-slot-shell__stage-close {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.45rem;
    }
}

body.ad-slot-picker-body--mobile .ad-cluster__split--desktop,
body.ad-slot-picker-body--mobile .ad-slot-shell--desktop-only,
body.ad-slot-picker-body--mobile .ad-area__slot--desktop,
body.ad-slot-picker-body--desktop .ad-cluster__mobile-stack,
body.ad-slot-picker-body--desktop .ad-slot-shell--mobile-only,
body.ad-slot-picker-body--desktop .ad-area__slot--mobile {
    display: none !important;
}

body.ad-slot-picker-body--mobile .ad-cluster__mobile-stack,
body.ad-slot-picker-body--mobile .ad-slot-shell--mobile-only,
body.ad-slot-picker-body--mobile .ad-area__slot--mobile {
    display: grid !important;
}

body.ad-slot-picker-body .ad-cluster__split--desktop,
body.ad-slot-picker-body .ad-cluster__mobile-stack,
body.ad-slot-picker-body .ad-slot-shell--desktop-only,
body.ad-slot-picker-body .ad-slot-shell--mobile-only {
    display: grid !important;
}

body.ad-slot-picker-body .ad-area__slot--desktop,
body.ad-slot-picker-body .ad-area__slot--mobile {
    display: block !important;
}

body.ad-slot-picker-body--mobile {
    width: min(100%, 25rem);
    margin-inline: auto;
}

body.ad-slot-picker-body--mobile .site-header-shell,
body.ad-slot-picker-body--mobile .page-shell,
body.ad-slot-picker-body--mobile .ad-cluster__container {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .ad-picker-panel {
        top: auto;
        right: 0.5rem;
        bottom: 0.75rem;
        width: min(22rem, calc(100vw - 1rem));
        transform: translateY(calc(100% - 0.55rem));
    }

    .ad-picker-panel__drawer {
        max-height: min(70svh, 32rem);
        border-right: 1px solid rgba(20, 97, 162, 0.22);
        border-radius: 8px;
    }

    .ad-picker-panel.is-open {
        transform: translateY(0);
    }

    .ad-picker-panel__tab {
        top: -2.2rem;
        right: 0.75rem;
        left: auto;
        width: auto;
        min-height: 2.2rem;
        padding: 0.5rem 0.8rem;
        border: 1px solid rgba(20, 97, 162, 0.24);
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
        text-orientation: initial;
        writing-mode: horizontal-tb;
    }
}
