/* Long Pause Media notifications — 0.15.65 */

.lpm-notification-onboarding{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    margin:18px 0 26px;
    padding:18px 20px;
    border:1px solid rgba(102,221,255,.26);
    border-radius:18px;
    background:linear-gradient(135deg,rgba(10,38,62,.96),rgba(16,25,62,.94));
    box-shadow:0 18px 46px rgba(0,0,0,.24)
}
.lpm-notification-onboarding strong{display:block;margin-bottom:4px;font-size:1.05rem}
.lpm-notification-onboarding p{margin:0;color:#aebfd1;line-height:1.5}
.lpm-notification-onboarding__actions{display:flex;align-items:center;gap:8px}
.lpm-notification-onboarding button,
.lpm-notification-onboarding a{
    display:inline-flex;min-height:42px;align-items:center;justify-content:center;
    padding:.65rem .9rem;border:1px solid rgba(102,221,255,.28);border-radius:999px;
    background:transparent;color:#eaf8ff;font:inherit;font-weight:800;text-decoration:none;cursor:pointer
}
.lpm-notification-onboarding [data-notification-enable]{
    border-color:transparent;background:linear-gradient(135deg,#54dfff,#7272ff);color:#06111c
}
.lpm-notification-onboarding [data-notification-dismiss]{padding-inline:.75rem;color:#9eb0c3}
.lpm-notification-onboarding.is-success{border-color:rgba(96,231,173,.4);background:rgba(14,60,49,.9)}
.lpm-notification-onboarding.is-error{border-color:rgba(255,126,126,.38);background:rgba(61,20,28,.92)}

.lpm-podcast-follow-strip{
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    margin:0 0 26px;padding:14px 16px;border:1px solid rgba(102,221,255,.17);
    border-radius:16px;background:rgba(7,26,44,.72)
}
.lpm-podcast-follow-strip>div{display:grid;gap:3px}
.lpm-podcast-follow-strip span{color:#93a8bd;font-size:.9rem}
.lpm-podcast-follow-strip form{margin:0}
.lpm-notification-follow-button{
    display:inline-flex;min-height:40px;align-items:center;justify-content:center;
    padding:.55rem .82rem;border:1px solid rgba(102,221,255,.3);border-radius:999px;
    background:transparent;color:#e8f8ff;font-weight:850;text-decoration:none;cursor:pointer;white-space:nowrap
}
.lpm-notification-follow-button.is-following{background:rgba(102,221,255,.11);color:#baf4ff}

.lpm-notifications-account{
    width:min(1500px,100%);margin:0 auto;padding:clamp(18px,3vw,46px)
}
.lpm-notifications-pagehead{
    display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 26px
}
.lpm-notifications-pagehead>div>span,
.lpm-notification-section-head>div>span{
    color:#6bdfff;font-size:.78rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase
}
.lpm-notifications-pagehead h1{margin:.25rem 0 .45rem;font-size:clamp(2rem,4vw,3.8rem);letter-spacing:-.045em}
.lpm-notifications-pagehead p{max-width:760px;margin:0;color:#96aabe;line-height:1.55}
.lpm-notification-settings-card{
    margin:0 0 26px;padding:clamp(18px,2.5vw,30px);
    border:1px solid rgba(102,221,255,.16);border-radius:22px;
    background:linear-gradient(145deg,rgba(9,31,51,.9),rgba(5,18,33,.86))
}
.lpm-notification-section-head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px
}
.lpm-notification-section-head h2{margin:.2rem 0 0;font-size:clamp(1.35rem,2.5vw,2.1rem)}
.lpm-notification-preferences-form{display:grid;gap:14px}
.lpm-notification-toggle{
    display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:flex-start;
    padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)
}
.lpm-notification-toggle input{width:20px;height:20px;margin-top:1px;accent-color:#64ddff}
.lpm-notification-toggle span{display:grid;gap:3px}
.lpm-notification-toggle small{color:#93a7bb;line-height:1.42}
.lpm-notification-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lpm-notification-toggle.is-compact{padding:12px}
.lpm-essential-email-note{
    display:grid;gap:4px;padding:14px 16px;border-left:3px solid #6bdfff;
    border-radius:0 12px 12px 0;background:rgba(102,221,255,.07)
}
.lpm-essential-email-note span{color:#9eb2c6;line-height:1.45}

.lpm-follow-settings-list{display:grid;gap:10px}
.lpm-follow-settings-row{
    display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;
    gap:12px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.08);
    border-radius:14px;background:rgba(255,255,255,.025)
}
.lpm-follow-settings-row>a{
    display:flex;min-width:0;align-items:center;gap:12px;color:inherit;text-decoration:none
}
.lpm-follow-settings-row>a>span:last-child{display:grid;min-width:0;gap:2px}
.lpm-follow-settings-row>a small{color:#69dfff;font-weight:850;text-transform:uppercase}
.lpm-follow-settings-row>a strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lpm-follow-settings-row>label{display:flex;align-items:center;gap:6px;color:#afc1d2;font-weight:750}
.lpm-follow-settings-art{
    display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;overflow:hidden;
    border-radius:11px;background:#10283e;color:#70dfff;font-weight:900
}
.lpm-follow-settings-art img{width:100%;height:100%;object-fit:cover}
.lpm-notification-empty{display:grid;gap:5px;padding:22px;border:1px dashed rgba(102,221,255,.24);border-radius:14px}
.lpm-notification-empty span{color:#93a8bd}

.lpm-notification-inbox{display:grid}
.lpm-notification-inbox-item{
    display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:15px 4px;
    border-bottom:1px solid rgba(255,255,255,.07);color:inherit;text-decoration:none
}
.lpm-notification-inbox-item>span:last-child{display:grid;gap:4px}
.lpm-notification-inbox-item small{display:-webkit-box;overflow:hidden;color:#a2b3c5;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.lpm-notification-inbox-item em{color:#71879d;font-size:.78rem;font-style:normal}
.lpm-notification-dot{width:9px;height:9px;margin-top:7px;border-radius:999px;background:transparent}
.lpm-notification-inbox-item.is-unread .lpm-notification-dot{background:#65ddff;box-shadow:0 0 14px rgba(101,221,255,.68)}
.lpm-notification-inbox-item.is-unread strong{color:#fff}

.lpm-notifications-confirmation{max-width:760px;margin:8vh auto;padding:clamp(24px,5vw,54px);text-align:center}
.lpm-notifications-confirmation h1{font-size:clamp(2rem,5vw,4rem)}
.lpm-announcement-layout{grid-template-columns:minmax(340px,.8fr) minmax(560px,1.4fr)}
.lpm-announcement-layout textarea{resize:vertical}

.lpm-account-notification-link{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    margin:18px 0;padding:18px;border:1px solid rgba(102,221,255,.18);
    border-radius:16px;background:rgba(8,29,48,.72);color:inherit;text-decoration:none
}
.lpm-account-notification-link span{display:grid;gap:4px}
.lpm-account-notification-link small{color:#93a8bd}

@media(max-width:800px){
    .lpm-notification-onboarding{grid-template-columns:1fr}
    .lpm-notification-onboarding__actions{flex-wrap:wrap}
    .lpm-podcast-follow-strip{align-items:flex-start}
    .lpm-notification-preference-grid{grid-template-columns:1fr}
    .lpm-follow-settings-row{grid-template-columns:minmax(0,1fr) auto auto}
    .lpm-follow-settings-row>.btn{grid-column:1/-1}
    .lpm-notifications-pagehead{align-items:flex-start;flex-direction:column}
    .lpm-announcement-layout{grid-template-columns:1fr}
}
@media(max-width:520px){
    .lpm-notifications-account{padding:18px}
    .lpm-notification-settings-card{padding:16px}
    .lpm-follow-settings-row{grid-template-columns:1fr 1fr}
    .lpm-follow-settings-row>a{grid-column:1/-1}
    .lpm-podcast-follow-strip{flex-direction:column}
    .lpm-podcast-follow-strip form,.lpm-podcast-follow-strip .lpm-notification-follow-button{width:100%}
}


.lpm-library-following{margin:28px 0}
.lpm-library-following .lpm-notification-section-head>a{color:#75e1ff;font-weight:800;text-decoration:none}
.lpm-library-following-rail{
    display:flex;gap:14px;overflow-x:auto;padding:2px 14vw 10px 0;
    scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch
}
.lpm-library-following-rail::-webkit-scrollbar{display:none}
.lpm-library-follow-card{
    display:grid;flex:0 0 min(58vw,210px);gap:7px;color:inherit;text-decoration:none;scroll-snap-align:start
}
.lpm-library-follow-card>span{
    display:grid;aspect-ratio:1/1;place-items:center;overflow:hidden;border:1px solid rgba(102,221,255,.18);
    border-radius:16px;background:#10283e;color:#6ee0ff;font-size:2rem;font-weight:900
}
.lpm-library-follow-card img{width:100%;height:100%;object-fit:cover}
.lpm-library-follow-card small{color:#69dfff;font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.lpm-library-follow-card strong{line-height:1.25}
@media(min-width:900px){
    .lpm-library-following-rail{padding-right:0}
    .lpm-library-follow-card{flex-basis:190px}
}


/* 0.15.62 notification onboarding simplification */
.lpm-notification-onboarding{
    grid-template-columns:minmax(0,1fr) auto;
    max-width:100%;
    padding:16px 18px;
    box-shadow:none
}
.lpm-notification-onboarding__actions{
    justify-content:flex-end;
    flex-wrap:nowrap
}
.lpm-notification-onboarding button{
    width:auto!important;
    min-width:0!important
}
.lpm-notification-onboarding [data-notification-enable]{
    padding-inline:14px;
    white-space:nowrap
}
.lpm-notification-onboarding [data-notification-dismiss]{
    padding-inline:10px;
    border-color:transparent
}
.lpm-notification-enable-state{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    min-height:40px
}
.lpm-notification-enable-button{
    display:inline-flex;
    width:auto!important;
    min-height:40px;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,#54dfff,#7272ff);
    color:#06111c;
    font:inherit;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
    white-space:nowrap
}
.lpm-notification-enable-button[hidden]{display:none!important}
.lpm-notification-enabled-label{
    display:inline-flex;
    min-height:36px;
    align-items:center;
    padding:0 11px;
    border:1px solid rgba(96,231,173,.28);
    border-radius:999px;
    background:rgba(96,231,173,.07);
    color:#aaf2d0;
    font-size:11px;
    font-weight:850
}
.lpm-notification-enabled-label[hidden]{display:none!important}
.lpm-notification-toast{
    position:fixed;
    z-index:300;
    left:50%;
    bottom:26px;
    max-width:min(440px,calc(100vw - 32px));
    padding:11px 16px;
    border:1px solid rgba(102,221,255,.22);
    border-radius:999px;
    background:rgba(6,18,31,.96);
    color:#eef8ff;
    box-shadow:0 18px 48px rgba(0,0,0,.42);
    font-size:12px;
    font-weight:850;
    opacity:0;
    transform:translate(-50%,10px);
    transition:opacity .18s ease,transform .18s ease
}
.lpm-notification-toast.is-visible{
    opacity:1;
    transform:translate(-50%,0)
}
.lpm-notification-inbox-item.is-pinned{
    background:rgba(102,221,255,.035)
}
@media(max-width:800px){
    .lpm-notification-onboarding{
        grid-template-columns:1fr;
        gap:13px
    }
    .lpm-notification-onboarding__actions{
        justify-content:flex-start
    }
    .lpm-notification-section-head{
        align-items:flex-start
    }
    .lpm-notification-enable-state{
        align-self:flex-start
    }
}


/* 0.15.64 native admin communications layout */
.notification-admin-pagehead{margin-bottom:24px}
.notification-admin-stats{margin-bottom:24px}
.notification-composer-layout{
    grid-template-columns:minmax(0,1.65fr) minmax(320px,.7fr);
    align-items:start;
    margin-bottom:24px
}
.notification-composer-surface{min-width:0}
.notification-composer-form{display:block}
.notification-form-section{
    display:grid;
    gap:16px;
    padding:0 0 22px;
    border-bottom:1px solid var(--line)
}
.notification-form-section:last-child{
    padding-bottom:0;
    border-bottom:0
}
.notification-form-section + .notification-form-section{padding-top:4px}
.notification-form-section-head{
    display:flex;
    align-items:flex-start;
    gap:12px
}
.notification-form-section-head>span{
    display:grid;
    width:28px;
    height:28px;
    flex:0 0 28px;
    place-items:center;
    border:1px solid rgba(102,221,255,.26);
    border-radius:9px;
    background:rgba(102,221,255,.08);
    color:var(--accent);
    font-size:12px;
    font-weight:900
}
.notification-form-section-head>div{display:grid;gap:2px}
.notification-form-section-head strong{font-size:14px}
.notification-form-section-head small{
    color:var(--ink-muted);
    font-size:12px;
    line-height:1.45
}
.notification-composer-actions{
    justify-content:space-between
}
.notification-composer-actions>.field-hint{
    max-width:58ch;
    margin:0
}
.notification-delivery-list{gap:4px!important}
.notification-delivery-row{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid var(--line)
}
.notification-delivery-row:last-child{border-bottom:0}
.notification-delivery-icon{
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border:1px solid rgba(102,221,255,.18);
    border-radius:11px;
    background:var(--surface-soft);
    color:var(--accent);
    font-size:16px;
    font-weight:900
}
.notification-delivery-row>div{
    display:grid;
    min-width:0;
    gap:3px
}
.notification-delivery-row>div strong{font-size:13px}
.notification-delivery-row>div small{
    color:var(--ink-muted);
    font-size:11px;
    line-height:1.4
}
.notification-delivery-history{margin-top:0}
.notification-delivery-table .notification-history-message{
    min-width:260px
}
.notification-history-message strong,
.notification-history-message small{display:block}
.notification-history-message small{
    margin-top:4px;
    color:var(--ink-muted);
    font-size:11px;
    text-transform:capitalize
}
.notification-admin-empty{
    display:grid;
    justify-items:center;
    gap:8px;
    padding:38px 22px;
    color:var(--ink-muted);
    text-align:center
}
.notification-admin-empty>span{
    display:grid;
    width:48px;
    height:48px;
    place-items:center;
    border:1px solid rgba(102,221,255,.2);
    border-radius:14px;
    background:var(--surface-soft);
    color:var(--accent);
    font-size:20px
}
.notification-admin-empty strong{
    color:var(--ink);
    font-size:15px
}
.notification-admin-empty p{
    max-width:560px;
    margin:0;
    line-height:1.5
}
@media(max-width:1180px){
    .notification-composer-layout{
        grid-template-columns:1fr
    }
    .notification-composer-aside{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px
    }
}
@media(max-width:760px){
    .notification-admin-stats{
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .notification-composer-aside{
        grid-template-columns:1fr
    }
    .notification-composer-actions{
        align-items:stretch;
        flex-direction:column
    }
    .notification-composer-actions .btn{width:100%}
}


/* 0.15.65 simplified admin communications layout */
.notification-composer-surface{
    width:100%;
    margin-bottom:24px
}
.notification-delivery-history{
    width:100%;
    margin-top:0
}
.notification-delivery-table .notification-email-status{
    min-width:170px;
    color:var(--ink-soft);
    font-size:12px;
    font-weight:700
}
.notification-delivery-history .pagination{
    margin:0;
    background:transparent
}
