/* Shared visual language with the current TimeShot home, scoped to Premium. */
body:has(#section-premium.active) :is(.main-header, .main-nav, #sidebar, #sidebarRight, #lightParticles) {
    display: none !important;
}
body:has(#section-premium.active) :is(#timeshot-app-wrapper, .main-layout, .main-content-wrapper) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #020b15 !important;
}
body:has(#section-premium.active) .main-layout {
    display: block !important;
    padding: 0 !important;
}
body:has(#section-premium.active) #section-premium {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ts-pp {
    --ts-pp-accent: #2bc8ed;
    --ts-pp-border: #1b4563;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    min-height: calc(100vh - 86px);
    padding: 0 28px 32px;
    border: 1px solid #145779;
    background: radial-gradient(circle at 14% 18%, #0d6ea729, transparent 30%), linear-gradient(155deg, #051423, #020b16 66%, #06192a);
    color: #edf7ff;
    font-family: 'Nunito', sans-serif;
    container-type: inline-size;
}
.ts-pp *, .ts-pp *::before, .ts-pp *::after { box-sizing: border-box; }
.ts-pp .ts-pp-heading {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
    align-items: center;
    overflow: hidden;
    min-height: 350px;
    margin: 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ts-pp-hero-copy { position: relative; z-index: 1; padding: 38px; }
.ts-pp-kicker { display: block; color: #48dcfb; font-size: 11px; font-weight: 900; letter-spacing: 1.8px; line-height: 1.6; }
.ts-pp .ts-pp-heading h1 { margin: 16px 0; color: #f7fbff; font-family: 'Orbitron', sans-serif; font-size: clamp(25px, 3vw, 42px); line-height: 1.18; font-weight: 800; overflow-wrap: anywhere; }
.ts-pp .ts-pp-heading h1 strong { display: block; color: var(--ts-pp-accent); }
.ts-pp .ts-pp-heading p { max-width: 600px; margin: 0; color: #a0b8ca; font-size: 15px; line-height: 1.7; }
.ts-pp-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.ts-pp-hero-tags span { padding: 7px 11px; border: 1px solid #205372; border-radius: 7px; background: #09243b; color: #8dd9ef; font-size: 11px; font-weight: 800; }
.ts-pp-hero-emblem { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 230px; margin: 24px 28px 24px 0; padding: 28px 14px; border: 1px solid #20a8d566; border-radius: 19px; background: radial-gradient(ellipse at center, #0a638b44, #08203855 70%); text-align: center; }
.ts-pp-hero-emblem::before { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid #2bc8ed22; border-radius: 50%; box-shadow: 0 0 0 22px #2bc8ed06, 0 0 0 44px #2bc8ed04; }
.ts-pp-hero-emblem span, .ts-pp-hero-emblem b, .ts-pp-hero-emblem i { position: relative; z-index: 1; }
.ts-pp-hero-emblem span { color: #edf7ff; font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: 2px; }
.ts-pp-hero-emblem b { margin: 8px 0 17px; color: #3cd5f2; font-family: 'Orbitron', sans-serif; font-size: clamp(20px, 2vw, 29px); letter-spacing: 1px; text-shadow: 0 0 30px #2bc8ed44; }
.ts-pp-hero-emblem i { color: #86a8bf; font-size: 8px; font-weight: 900; font-style: normal; letter-spacing: 1px; }
.ts-pp-plans-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 20px; }
.ts-pp-plans-heading small { color: #38d8f8; font-size: 11px; font-weight: 900; letter-spacing: 1.7px; }
.ts-pp .ts-pp-plans-heading h2 { margin: 6px 0 0; color: #f5f9fd; font-size: 22px; line-height: 1.35; }
.ts-pp-plans-heading > span { color: #7896ac; font-size: 11px; text-align: right; }
.ts-pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ts-pp-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 22px 22px; border: 1px solid var(--ts-pp-border); border-radius: 17px; background: linear-gradient(155deg, #0a263f, #061829); box-shadow: 0 12px 32px #0002; }
.ts-pp-card-recommended { border-color: #20a8d5; background: radial-gradient(circle at 50% 0, #0c709829, transparent 65%), #082038; box-shadow: 0 12px 35px #009edb12; }
.ts-pp-ribbon { position: absolute; top: 0; right: 16px; padding: 7px 10px; border-radius: 0 0 7px 7px; color: #e9fbff; background: #087fa8; font-size: 8px; letter-spacing: .6px; font-weight: 900; }
.ts-pp-eyebrow { display: block; margin-top: 5px; color: #4eb7d9; font-size: 10px; font-weight: 900; letter-spacing: 1px; line-height: 1.5; }
.ts-pp h2 { margin: 12px 0 18px; color: #f2f8fc; font-size: 20px; line-height: 1.3; font-weight: 900; }
.ts-pp .ts-pp-price { margin: 0 0 16px; color: #f7fbff; font-size: 32px; font-weight: 900; line-height: 1.25; }
.ts-pp-price span { color: #86a8bf; font-size: 13px; font-weight: 700; }
.ts-pp .ts-pp-description { min-height: 46px; margin: 0 0 18px; color: #8ca9bd; font-size: 13px; line-height: 1.7; }
.ts-pp-features { list-style: none; padding: 12px 0 0; margin: 0 0 24px; border-top: 1px solid #193e5b; }
.ts-pp-features li { display: flex; gap: 10px; padding: 10px 0; font-size: 13px; line-height: 1.6; color: #c1d2df; }
.ts-pp-features li::before { content: "✓"; flex-shrink: 0; color: #3cd5f2; font-size: 16px; font-weight: 900; }
.ts-pp-card-footer { margin-top: auto; padding-top: 8px; }
.ts-pp .ts-pp-callout { display: flex; align-items: center; min-height: 62px; margin: 0 0 14px; padding: 11px 12px; border: 1px solid #193e5b; border-radius: 9px; background: #071a2c; color: #8ca9bd; font-size: 11px; line-height: 1.6; }
.ts-pp .ts-pp-button, .ts-pp .asp_product_buy_btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; min-height: 48px; max-width: 100%; padding: 12px !important;
    border: 1px solid #119fd9 !important; border-radius: 10px !important;
    background: linear-gradient(135deg, #0b8ed2, #157fe1) !important;
    box-shadow: 0 10px 25px #0888db22 !important; color: #fff !important;
    font: inherit !important; font-size: 13px !important; font-weight: 900 !important;
    text-align: center; text-decoration: none !important; white-space: normal !important; line-height: 1.5 !important; cursor: pointer;
}
.ts-pp .ts-pp-button:disabled { cursor: not-allowed; background: #09243b !important; color: #8eaec3 !important; border-color: #205372 !important; box-shadow: none !important; }
.ts-pp .ts-pp-button:not(:disabled):hover, .ts-pp .asp_product_buy_btn:hover { filter: brightness(1.12); }
.ts-pp .ts-pp-button:focus-visible, .ts-pp .asp_product_buy_btn:focus-visible { outline: 3px solid #48dcfb; outline-offset: 3px; }
.ts-pp .asp_product_item, .ts-pp .asp_product_buy_button { width: 100%; margin: 0; }
.ts-pp .ts-pp-footer { margin-top: 24px; padding: 18px; border: 1px solid #193e5b; border-radius: 12px; background: #061829; color: #7896ac; text-align: center; }
.ts-pp .ts-pp-footer p { margin: 5px 0; font-size: 11px; line-height: 1.7; }
.ts-pp-status, .ts-pp-test { padding: 14px 18px; border-radius: 10px; background: #09253b; border: 1px solid #24779b; margin: 0 auto 20px; font-size: 13px; line-height: 1.6; }
.ts-pp-test { background: #302a18; border-color: #897230; color: #ffe7ac; }
@container (max-width: 850px) {
    .ts-pp .ts-pp-heading { grid-template-columns: 1fr; min-height: auto; }
    .ts-pp-hero-emblem { display: none; }
    .ts-pp-hero-copy { padding: 30px; }
    .ts-pp .ts-pp-heading h1 { font-size: 30px; }
    .ts-pp-grid { gap: 12px; }
    .ts-pp-card { padding: 30px 16px 18px; }
    .ts-pp .ts-pp-price { font-size: 27px; }
    .ts-pp-plans-heading > span { display: none; }
}
@container (max-width: 660px) {
    .ts-pp-grid { grid-template-columns: 1fr; gap: 18px; }
    .ts-pp-card { padding: 30px 22px 22px; }
    .ts-pp .ts-pp-description { min-height: 0; }
    .ts-pp .ts-pp-callout { min-height: 0; }
    .ts-pp .ts-pp-heading h1 { font-size: 26px; }
    .ts-pp-hero-copy { padding: 26px 20px; }
    .ts-pp .ts-pp-heading p { font-size: 13px; }
    .ts-pp-kicker { font-size: 9px; letter-spacing: 1.2px; }
    .ts-pp .ts-pp-plans-heading h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
    .ts-pp-button, .ts-pp .asp_product_buy_btn { transition: filter .2s ease; }
}
@media (max-width: 700px) {
    .ts-pp { padding: 0 14px 24px; }
    .ts-pp-hero-copy { padding-right: 0; padding-left: 0; }
}

/* The settings dialog belongs to the frontend Admin Panel, not wp-admin. */
#tsPpMenuDialog { width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; overflow-y: auto; border: 1px solid #24779b; border-radius: 18px; background: #061829; color: #edf7ff; font: 16px/1.6 'Nunito', sans-serif; box-shadow: 0 24px 80px #0008; }
#tsPpMenuDialog::backdrop { background: #020b15bf; }
#tsPpMenuDialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
#tsPpMenuDialog header small { color: #48dcfb; font-size: 11px; font-weight: 900; letter-spacing: 1.3px; }
#tsPpMenuDialog h2 { margin: 4px 0; font-size: 25px; color: #f7fbff; }
#tsPpMenuDialog p { color: #a0b8ca; }
#tsPpMenuDialog .ts-pp-menu-toggle { display: flex; gap: 12px; align-items: center; margin: 22px 0; font-weight: 900; }
#tsPpMenuDialog input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: #19b4dc; }
#tsPpMenuDialog .ts-pp-menu-audience { display: grid; gap: 9px; font-weight: 800; }
#tsPpMenuDialog select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px; border: 1px solid #24779b; border-radius: 9px; background: #09243b; color: #edf7ff; font: inherit; }
#tsPpMenuDialog .ts-pp-menu-help { font-size: 13px; line-height: 1.7; }
#tsPpMenuDialog button { min-height: 44px; padding: 9px 15px; border: 1px solid #24779b; border-radius: 9px; background: #09253b; color: #edf7ff; font: inherit; font-weight: 800; cursor: pointer; }
#tsPpMenuDialog header button { min-width: 44px; padding: 4px; font-size: 26px; line-height: 1; }
#tsPpMenuDialog footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 20px; }
#tsPpMenuDialog .ts-pp-menu-save { border-color: #119fd9; background: linear-gradient(135deg, #0b8ed2, #157fe1); }
#tsPpMenuDialog button:disabled { opacity: .6; cursor: wait; }
#tsPpMenuDialog :is(button,input,select):focus-visible { outline: 3px solid #48dcfb; outline-offset: 3px; }
#tsPpMenuDialog .ts-pp-visibility-menu { margin: 18px 0; padding: 20px; border: 1px solid #1b4563; border-radius: 12px; background: #09243b66; }
#tsPpMenuDialog .ts-pp-visibility-menu h3 { margin: 0; color: #48dcfb; font-size: 20px; }
