.adpet-wrap {
width: 100%;
max-width: 100%;
font-family: inherit;
color: inherit;
position: relative;
line-height: 1.4;
box-sizing: border-box;
margin-left: auto;
margin-right: auto;
}
.adpet-preview {
position: relative;
overflow: hidden;
min-height: var(--adpet-height, 650px);
background-color: var(--adpet-preview-flat, var(--adpet-bg-color, #f5f5f3));
display: flex;
align-items: stretch;
justify-content: center;
}
.adpet-preview-image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
filter: brightness(.92);
transform: scale(1.02);
}
.adpet-embed {
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
background: transparent;
pointer-events: none;
}
.adpet-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 28px;
z-index: 2;
text-align: center;
}
.adpet-overlay::before {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 20%),
var(--adpet-overlay-color, #000000);
opacity: var(--adpet-overlay-opacity, .45);
}
.adpet-overlay-inner {
position: relative;
z-index: 1;
width: min(100%, 760px);
max-width: 760px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
text-align: center;
margin: 0 auto;
color: var(--adpet-text-color, #ffffff);
text-shadow: 0 2px 18px rgba(0,0,0,.24);
padding-top: 8px;
}
.adpet-title,
.adpet-text,
.adpet-privacy,
.adpet-load-btn,
.adpet-load-caption {
font-family: inherit;
}
.adpet-title {
margin: 0 0 14px;
width: 100%;
color: inherit;
text-align: center;
font-size: clamp(1.8rem, 2.8vw, 3.4rem);
line-height: 1.12;
letter-spacing: .03em;
text-transform: none;
font-weight: 400;
white-space: normal;
overflow-wrap: anywhere;
}
.adpet-text {
margin: 0 0 26px;
width: min(100%, 720px);
font-size: clamp(1rem, 1.05vw, 1.14rem);
line-height: 1.55;
color: inherit;
text-align: center;
}
.adpet-load-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 152px;
height: 152px;
padding: 0;
border: 0;
background: transparent;
color: #ffffff;
cursor: pointer;
margin: 0 auto;
transition: transform .25s ease, filter .25s ease;
}
.adpet-load-btn:hover,
.adpet-load-btn:focus {
transform: translateY(-2px) scale(1.03);
filter: brightness(1.03);
}
.adpet-circle-badge {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
overflow: visible;
}
.adpet-circle-badge text {
fill: rgba(255,255,255,.96);
font-size: 14px;
letter-spacing: 1.8px;
text-transform: uppercase;
}
.adpet-circle-badge__rotor {
transform-origin: 50% 50%;
animation: adpetRotateRing 52s linear infinite;
}
.adpet-circle-badge__core {
width: 86px;
height: 86px;
border-radius: 999px;
background: var(--adpet-button-bg, #ffffff);
color: var(--adpet-button-text, #111111);
box-shadow: 0 14px 30px rgba(0,0,0,.22);
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.adpet-load-btn:hover .adpet-circle-badge__core,
.adpet-load-btn:focus .adpet-circle-badge__core {
box-shadow: 0 18px 34px rgba(0,0,0,.28);
transform: scale(1.02);
}
.adpet-load-btn:hover .adpet-circle-badge__rotor,
.adpet-load-btn:focus .adpet-circle-badge__rotor {
animation-play-state: paused;
}
.adpet-circle-badge__play {
width: 0;
height: 0;
margin-left: 4px;
border-top: 16px solid transparent;
border-bottom: 16px solid transparent;
border-left: 24px solid currentColor;
}
.adpet-load-caption {
margin: 14px auto 0;
font-size: 1.1rem;
line-height: 1.35;
font-weight: 600;
color: rgba(255,255,255,.98);
}
.adpet-privacy {
width: min(100%, 660px);
margin: 64px auto 0;
display: flex;
align-items: flex-start;
justify-content: center;
gap: 12px;
text-align: left;
color: inherit;
opacity: .78;
}
.adpet-privacy__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
flex: 0 0 20px;
border: 1px solid rgba(255,255,255,.65);
border-radius: 999px;
font-size: .78rem;
line-height: 1;
font-weight: 700;
margin-top: 2px;
}
.adpet-privacy__text {
margin: 0;
font-size: .83rem;
line-height: 1.75;
color: inherit;
}
.adpet-privacy__text strong {
color: rgba(255,255,255,.96);
font-weight: 600;
}
.adpet-privacy__text--mobile {
display: none;
}
.adpet-privacy__link {
color: rgba(255,255,255,.96);
text-decoration: underline;
text-underline-offset: 2px;
}
.adpet-privacy__link:hover,
.adpet-privacy__link:focus {
color: #ffffff;
}
.adpet-embed iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
opacity: 0;
animation: adpetFadeIn .35s ease forwards;
}
.adpet-is-loaded .adpet-embed {
background: transparent;
pointer-events: auto;
}
.adpet-is-loaded .adpet-overlay,
.adpet-is-loaded .adpet-preview-image {
display: none;
}
.adpet-frame-clean .adpet-preview {
border-radius: min(var(--adpet-frame-radius, 24px), 28px);
box-shadow: var(--adpet-frame-shadow, 0 18px 40px rgba(0, 0, 0, .08));
}
.adpet-frame-tablet {
padding: var(--adpet-frame-border, 24px);
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin-left: auto;
margin-right: auto;
background: linear-gradient(180deg, #f6f5f5 0%, var(--adpet-frame-bg, #f1f1f1) 100%);
border-radius: var(--adpet-frame-radius, 36px);
box-shadow: var(--adpet-frame-shadow, 0 24px 60px rgba(0, 0, 0, .14));
}
.adpet-frame-tablet .adpet-preview {
border-radius: max(0px, calc(var(--adpet-frame-radius, 36px) - 10px));
box-shadow: inset 0 1px 0 rgba(255,255,255,.82), inset 0 -2px 12px rgba(0,0,0,.04);
}
.adpet-frame-tablet::after {
content: "";
position: absolute;
top: calc(var(--adpet-frame-border, 24px) / 2 - 1px);
left: 50%;
width: 56px;
height: 6px;
transform: translateX(-50%);
background: rgba(0,0,0,.10);
border-radius: 999px;
pointer-events: none;
}
.adpet-error {
padding: 16px 20px;
border-left: 4px solid #c62828;
background: #fff3f3;
color: #7a1e1e;
font-family: inherit;
}
@keyframes adpetFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes adpetRotateRing {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@media (max-width: 1024px) {
.adpet-overlay {
padding: 22px;
}
.adpet-overlay-inner {
width: min(100%, 560px);
max-width: 560px;
padding-top: 0;
}
.adpet-title {
font-size: clamp(1.7rem, 4vw, 2.45rem);
line-height: 1.18;
margin-bottom: 12px;
}
.adpet-text {
font-size: 1rem;
line-height: 1.55;
margin-bottom: 18px;
}
.adpet-load-btn {
width: 132px;
height: 132px;
}
.adpet-circle-badge__core {
width: 74px;
height: 74px;
}
.adpet-circle-badge text {
font-size: 9.4px;
letter-spacing: .55px;
}
.adpet-circle-badge__play {
border-top-width: 13px;
border-bottom-width: 13px;
border-left-width: 20px;
}
.adpet-load-caption {
font-size: 1rem;
margin-top: 10px;
}
.adpet-privacy {
width: min(100%, 420px);
margin-top: 24px;
gap: 10px;
}
.adpet-privacy__text {
font-size: .76rem;
line-height: 1.6;
}
}
@media (max-width: 767px) {
.adpet-overlay {
padding: 18px 16px;
align-items: stretch;
}
.adpet-overlay-inner {
position: relative;
min-height: 100%;
width: min(100%, 340px);
max-width: 340px;
padding-top: 74px;
padding-bottom: 18px;
display: flex;
flex-direction: column;
align-items: center;
}
.adpet-title {
font-size: 22px;
line-height: 1.18;
margin-bottom: 8px;
}
.adpet-text {
margin-bottom: 10px;
font-size: 13px;
line-height: 1.42;
width: min(100%, 305px);
}
.adpet-load-btn {
width: 102px;
height: 102px;
}
.adpet-circle-badge__core {
width: 58px;
height: 58px;
}
.adpet-circle-badge text {
font-size: 9.4px;
letter-spacing: .55px;
}
.adpet-circle-badge__play {
border-top-width: 9px;
border-bottom-width: 9px;
border-left-width: 14px;
margin-left: 3px;
}
.adpet-load-caption {
margin-top: 6px;
font-size: .86rem;
line-height: 1.24;
}
.adpet-privacy {
position: absolute;
left: 50%;
bottom: 90px;
transform: translateX(-50%);
width: 92%;
max-width: 92%;
margin: 0;
display: block;
text-align: center;
opacity: .95;
}
.adpet-privacy__icon {
display: none;
}
.adpet-privacy__text {
margin: 0;
padding: 0;
text-align: center;
white-space: normal;
overflow-wrap: anywhere;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
.adpet-privacy__copy {
display: block;
}
.adpet-privacy__copy,
.adpet-privacy__copy *,
.adpet-privacy__text,
.adpet-privacy__text *,
.adpet-privacy__link {
font-size: 8px !important;
line-height: 1.15 !important;
letter-spacing: normal !important;
word-spacing: normal !important;
}
.adpet-privacy__text strong {
font-weight: 600;
}
.adpet-privacy__link {
text-underline-offset: 1px;
}
.adpet-frame-tablet {
padding: 12px;
border-radius: 24px;
width: 100%;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.adpet-frame-tablet .adpet-preview {
border-radius: 16px;
}
}
@media (max-width: 480px) {
.adpet-overlay {
padding: 16px 14px;
}
.adpet-overlay-inner {
width: min(100%, 318px);
max-width: 318px;
padding-top: 68px;
padding-bottom: 16px;
}
.adpet-privacy {
bottom: 85px;
}
.adpet-title {
font-size: 21px;
line-height: 1.16;
margin-bottom: 7px;
}
.adpet-text {
width: min(100%, 290px);
font-size: 12px;
line-height: 1.38;
margin-bottom: 10px;
}
.adpet-load-btn {
width: 96px;
height: 96px;
}
.adpet-circle-badge__core {
width: 54px;
height: 54px;
}
.adpet-circle-badge text {
font-size: 8.8px;
letter-spacing: .45px;
}
.adpet-load-caption {
font-size: .82rem;
margin-top: 5px;
}
.adpet-privacy__copy,
.adpet-privacy__copy *,
.adpet-privacy__text,
.adpet-privacy__text *,
.adpet-privacy__link {
font-size: 8px !important;
line-height: 1.15 !important;
letter-spacing: normal !important;
word-spacing: normal !important;
}
}
.adpet-privacy__text::-webkit-scrollbar {
width: 4px;
}
.adpet-privacy__text::-webkit-scrollbar-thumb {
background: rgba(255,255,255,.28);
border-radius: 999px;
}