.nan-wrap{
    position:fixed;
    z-index:999998;
    font-family:inherit;
    --nan-panel-scale:.62;
}
.nan-wrap .nan-launch{
    border:0;
    border-radius:50%;
    background:var(--nan-launch-bg,var(--nan-primary));
    color:var(--nan-launch-color,#fff);
    box-shadow:0 5px 18px #0003;
    font-size:max(18px,calc(21px * var(--nan-panel-scale)));
    display:grid;
    place-items:center;
    cursor:pointer;
    line-height:1;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    -webkit-appearance:none;
    appearance:none;
    margin:0!important;
    padding:0!important;
    transition:transform .16s ease,visibility .16s linear;
}
.nan-wrap .nan-panel{
    position:absolute;
    box-sizing:border-box;
    border:1px solid #00000012;
    border-radius:max(8px,calc(13px * var(--nan-panel-scale)));
    background:var(--nan-panel);
    color:var(--nan-text);
    box-shadow:0 12px 34px #00000038;
    padding:max(3px,calc(6px * var(--nan-panel-scale)));
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(5px) scale(.99);
    transition:opacity .13s ease,transform .13s ease,visibility .13s;
    overflow:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}
.nan-wrap.open .nan-panel{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
}
.nan-wrap .nan-stack,
.nan-wrap .nan-group{
    display:flex;
    flex-direction:column;
}
.nan-wrap .nan-stack{gap:0}
.nan-wrap .nan-group{gap:max(2px,calc(4px * var(--nan-panel-scale)))}
.nan-wrap .nan-group--navigation{
    margin-top:max(4px,calc(7px * var(--nan-panel-scale)));
    padding-top:max(4px,calc(7px * var(--nan-panel-scale)));
    border-top:1px solid #00000018;
}
.nan-wrap .nan-stack > .nan-group:first-child{
    margin-top:0;
    padding-top:0;
    border-top:0;
}
.nan-wrap .nan-row{
    box-sizing:border-box;
    width:100%;
    min-height:max(36px,calc(48px * var(--nan-panel-scale)));
    border:0;
    padding:0;
    border-radius:max(6px,calc(9px * var(--nan-panel-scale)));
    overflow:hidden;
    display:grid;
    grid-template-columns:max(34px,calc(44px * var(--nan-panel-scale))) minmax(0,1fr);
    align-items:stretch;
    text-decoration:none!important;
    box-shadow:0 1px 4px #00000014;
    cursor:pointer;
    background:transparent;
    color:inherit!important;
    font:inherit;
    text-align:left;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    -webkit-appearance:none;
    appearance:none;
    margin:0!important;
    text-transform:none;
    transition:transform .09s ease,box-shadow .09s ease;
}
.nan-wrap .nan-row:hover,
.nan-wrap .nan-row:focus-visible{
    box-shadow:0 3px 8px #00000020;
}
.nan-wrap .nan-row:active{transform:scale(.986)}
.nan-wrap .nan-row-icon{
    box-sizing:border-box;
    background:#fff;
    color:var(--nan-primary);
    display:grid;
    place-items:center;
    border:1px solid #00000013;
    border-right:1px solid #00000018;
    font-weight:800;
    font-size:max(14px,calc(18px * var(--nan-panel-scale)));
    line-height:1;
}
.nan-wrap .nan-row-icon img{
    width:max(21px,calc(27px * var(--nan-panel-scale)));
    height:max(21px,calc(27px * var(--nan-panel-scale)));
    object-fit:contain;
    display:block;
    border-radius:max(4px,calc(6px * var(--nan-panel-scale)));
}
.nan-wrap .nan-row-main{
    box-sizing:border-box;
    display:flex;
    align-items:center;
    min-width:0;
    padding:0 max(7px,calc(11px * var(--nan-panel-scale)));
    background:var(--nan-primary);
    color:#fff;
    font-weight:700;
    font-size:max(11px,calc(13px * var(--nan-panel-scale)));
    letter-spacing:.005em;
    line-height:1.1;
}
.nan-wrap .nan-row-main > span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}.nan-wrap .nan-row--top .nan-row-main{background:var(--nan-accent)}
.nan-wrap .nan-row--navigation{
    min-height:max(37px,calc(50px * var(--nan-panel-scale)));
}
.nan-wrap .nan-row--navigation .nan-row-main{
    font-size:max(11px,calc(13px * var(--nan-panel-scale)));
}
.nan-wrap .nan-row:focus-visible,
.nan-wrap .nan-launch:focus-visible{
    outline:2px solid var(--nan-accent);
    outline-offset:2px;
}@media (min-width:1025px){.nan-hide-desktop{display:none!important}}
@media (min-width:768px) and (max-width:1024px){.nan-hide-tablet{display:none!important}}
@media (max-width:767px){
    .nan-hide-mobile{display:none!important}
    .nan-wrap .nan-panel{max-width:calc(100vw - 10px)}
}
@media (max-width:380px){
    .nan-wrap .nan-row{min-height:max(35px,calc(46px * var(--nan-panel-scale)))}
    .nan-wrap .nan-panel{padding:max(2px,calc(5px * var(--nan-panel-scale)))}
}
@media (prefers-reduced-motion:reduce){
    .nan-wrap .nan-panel,.nan-wrap .nan-row{transition:none!important}
}

/* v6.1 — independently controlled width and genuine icon-only thumb rail. */
.nan-wrap.nan-display-icon_only .nan-panel{
    padding:max(2px,calc(4px * var(--nan-panel-scale)));
}
.nan-wrap.nan-display-icon_only .nan-row{
    grid-template-columns:1fr;
    width:100%;
}
.nan-wrap.nan-display-icon_only .nan-row-main{
    display:none!important;
}
.nan-wrap.nan-display-icon_only .nan-row-icon{
    width:100%;
    min-width:0;
    border-right:1px solid #00000013;
    border-radius:inherit;
}
.nan-wrap.nan-display-icon_only .nan-row-icon img{
    max-width:78%;
    max-height:78%;
}
.nan-wrap.nan-display-icon_only .nan-group{
    gap:max(1px,calc(3px * var(--nan-panel-scale)));
}
.nan-wrap.nan-display-icon_only .nan-group--navigation{
    margin-top:max(2px,calc(4px * var(--nan-panel-scale)));
    padding-top:max(2px,calc(4px * var(--nan-panel-scale)));
}


/* v6.2 — responsive positioning is applied by the lightweight front-end controller. */
.nan-wrap[data-active-position]{
    max-width:calc(100vw - 4px);
}

.nan-wrap .nan-row-icon{
    font-size:var(--nan-icon-size,24px);
}
.nan-wrap .nan-row-icon img{
    width:min(78%,var(--nan-icon-size,24px));
    height:min(78%,var(--nan-icon-size,24px));
}
.nan-wrap .nan-group--actions{
    margin-top:max(4px,calc(7px * var(--nan-panel-scale)));
    padding-top:max(4px,calc(7px * var(--nan-panel-scale)));
    border-top:1px solid #00000018;
}
.nan-wrap .nan-stack > .nan-group:first-child{
    margin-top:0;
    padding-top:0;
    border-top:0;
}.nan-wrap.nan-display-icon_only .nan-row-icon{
    font-size:var(--nan-icon-size,24px);
}
.nan-wrap.nan-display-icon_only .nan-row-icon img{
    width:min(82%,var(--nan-icon-size,24px));
    height:min(82%,var(--nan-icon-size,24px));
}

/* v7.1 — reliable built-in SVG icons and permanent lower-corner launcher presentation. */
.nan-wrap .nan-icon-svg{
    width:var(--nan-icon-size,24px);
    height:var(--nan-icon-size,24px);
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
    pointer-events:none;
}
.nan-wrap .nan-launch .nan-icon-svg{
    width:52%;
    height:52%;
}.nan-wrap .nan-launch{
    /* The launcher remains the same menu icon while open; no front-end close/X icon is introduced. */
    flex-shrink:0;
}
/* v7.3 — single reorderable stack + closed-format media viewers. */
.nan-wrap .nan-group--ordered{
    margin:0;
    padding:0;
    border:0;
}
.nan-wrap .nan-viewer[hidden]{display:none!important}
.nan-wrap .nan-viewer{
    position:fixed;
    inset:0;
    z-index:1000001;
    display:grid;
    place-items:center;
    padding:16px;
    box-sizing:border-box;
}
.nan-wrap .nan-viewer-backdrop{
    position:absolute;
    inset:0;
    background:#0009;
    backdrop-filter:blur(2px);
}
.nan-wrap .nan-viewer-box{
    position:relative;
    z-index:1;
    width:min(92vw,720px);
    max-height:min(84vh,760px);
    background:#fff;
    color:#111827;
    border-radius:14px;
    box-shadow:0 18px 60px #0008;
    overflow:hidden;
}
.nan-wrap .nan-viewer-close{
    position:absolute;
    top:8px;
    right:8px;
    z-index:3;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#111827e8;
    color:#fff;
    font:700 24px/1 sans-serif;
    cursor:pointer;
}
.nan-wrap .nan-viewer-content{
    min-height:120px;
    max-height:min(84vh,760px);
    overflow:auto;
    display:grid;
    place-items:center;
    box-sizing:border-box;
}
.nan-wrap .nan-viewer-frame{
    width:100%;
    height:min(78vh,720px);
    border:0;
    background:#fff;
}
.nan-wrap .nan-viewer-image,
.nan-wrap .nan-viewer-video{
    display:block;
    max-width:100%;
    max-height:min(80vh,720px);
    object-fit:contain;
}
.nan-wrap .nan-viewer-audio{width:min(90%,560px);margin:64px 20px 36px}
.nan-wrap .nan-viewer-message{padding:58px 24px 28px;width:100%;box-sizing:border-box;text-align:center}
.nan-wrap .nan-viewer-text{white-space:pre-wrap;font-size:16px;line-height:1.5;margin:0 0 18px}
.nan-wrap .nan-viewer-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:#128c7e;color:#fff!important;text-decoration:none!important;font-weight:700}

/* v7.3.1 — custom buttons use the same closed-icon action contract as header icons. */
.nan-wrap .nan-row--closed{position:relative}
.nan-wrap .nan-viewer-shell{width:100%;height:min(84vh,760px);display:flex;flex-direction:column;background:#fff}
.nan-wrap .nan-viewer-tools{flex:0 0 auto;min-height:48px;padding:8px 56px 8px 12px;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid #00000012;background:#fff;box-sizing:border-box}
.nan-wrap .nan-viewer-open-direct{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:8px;background:#111827;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700}
.nan-wrap .nan-viewer-shell .nan-viewer-frame{flex:1 1 auto;height:auto;min-height:260px}


/* v7.5 — popup-first Action button and explicit launcher styling. */
.nan-wrap .nan-launcher-image{
    width:68%;
    height:68%;
    object-fit:contain;
    display:block;
    border-radius:22%;
    pointer-events:none;
}
.nan-wrap .nan-viewer-rich{
    width:100%;
    box-sizing:border-box;
    padding:54px 22px 26px;
    overflow:auto;
    max-height:min(84vh,760px);
    line-height:1.55;
}
.nan-wrap .nan-cta-rich{
    width:min(100%,680px);
    margin:0 auto;
}
.nan-wrap .nan-cta-title{
    margin:0 0 14px;
    font-size:clamp(22px,5vw,34px);
    line-height:1.15;
}
.nan-wrap .nan-cta-rich img,
.nan-wrap .nan-cta-rich video,
.nan-wrap .nan-cta-rich iframe{
    max-width:100%;
}
.nan-wrap .nan-cta-rich a{
    overflow-wrap:anywhere;
}
.nan-wrap .nan-cta-empty{
    margin:0;
}

/* v7.6 CTA-first post-image card */
.nan-wrap .nan-cta-post-card{display:grid;gap:14px;max-width:760px;margin:0 auto}.nan-wrap .nan-cta-post-media{overflow:hidden;border-radius:14px;background:#f3f4f6}.nan-wrap .nan-cta-post-image{display:block;width:100%;height:auto;max-height:52vh;object-fit:cover}.nan-wrap .nan-cta-post-copy{padding:0 2px}.nan-wrap .nan-cta-post-title{margin:0 0 8px;font-size:clamp(1.2rem,4vw,1.8rem);line-height:1.15}.nan-wrap .nan-cta-post-excerpt{margin:0 0 14px;line-height:1.55}.nan-wrap .nan-cta-read-more{display:inline-flex!important;text-decoration:none!important}


/* v7.7 — scroll-aware launcher; no user-facing transparency control. */
.nan-wrap.nan-scroll-hidden:not(.open) .nan-launchers{
    visibility:hidden;
    opacity:0!important;
    pointer-events:none;
    transform:translateY(18px) scale(.92);
}
.nan-wrap:not(.nan-scroll-hidden) .nan-launchers,
.nan-wrap.open .nan-launchers{visibility:visible;opacity:1!important;pointer-events:auto;transform:none}
@media (prefers-reduced-motion:reduce){.nan-wrap .nan-launch{transition:none!important}}

/* v7.8.1 — specialist launcher text modes. Icon-only remains the default. */
.nan-wrap .nan-launch-text{
    display:block;
    max-width:min(46vw,220px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font:inherit;
    font-size:max(13px,calc(14px * var(--nan-panel-scale)));
    font-weight:700;
    line-height:1;
    pointer-events:none;
}
.nan-wrap.nan-launcher-icon_text .nan-launch,
.nan-wrap.nan-launcher-text_only .nan-launch{
    width:auto!important;
    min-width:var(--nan-launch-size,56px);
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 16px!important;
}
.nan-wrap.nan-launcher-icon_text .nan-launch .nan-icon-svg,
.nan-wrap.nan-launcher-icon_text .nan-launch .nan-launcher-image{
    width:24px;
    height:24px;
    flex:0 0 24px;
}
.nan-wrap.nan-launcher-text_only .nan-launch{
    padding-left:18px!important;
    padding-right:18px!important;
}

/* v7.9-v7.10.1 — dedicated Publisher Pages profile launcher; v7.10.1 inherits Action size and hides the dock behind viewers. */
.nan-wrap .nan-launchers{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:8px!important;
    width:max-content!important;
    max-width:min(82vw,280px)!important;
    min-width:44px!important;
    overflow:visible!important;
    position:relative!important;
    z-index:2;
    opacity:1!important;
    transition:transform .16s ease,opacity .16s ease,visibility .16s linear;
}
.nan-wrap .nan-author-launch{
    box-sizing:border-box!important;
    display:grid!important;
    visibility:inherit;
    opacity:1!important;
    position:relative!important;
    z-index:3!important;
    min-width:44px!important;
    min-height:44px!important;
    max-width:none!important;
    max-height:none!important;
    border:0!important;
    border-radius:50%;
    background:var(--nan-launch-bg,var(--nan-primary));
    color:var(--nan-launch-color,#fff);
    box-shadow:0 5px 18px #0003;
    place-items:center!important;
    cursor:pointer;
    line-height:1;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    -webkit-appearance:none;
    appearance:none;
    margin:0!important;
    padding:0!important;
    flex:0 0 auto;
    transition:transform .16s ease,visibility .16s linear;
}
.nan-wrap .nan-author-launch .nan-icon-svg{
    width:52%;
    height:52%;
    stroke-width:1.9;
}
.nan-wrap .nan-author-launch-image{
    width:70%;
    height:70%;
    object-fit:contain;
    display:block;
    border-radius:50%;
    pointer-events:none;
}
.nan-wrap .nan-author-launch:focus-visible{
    outline:2px solid var(--nan-accent);
    outline-offset:2px;
}
.nan-wrap .nan-author-pages{
    width:min(100%,760px);
    box-sizing:border-box;
    padding:52px 18px 20px;
    margin:0 auto;
}
.nan-wrap .nan-author-pages-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 42px 14px 0;
    border-bottom:1px solid #e5e7eb;
    margin-bottom:10px;
}
.nan-wrap .nan-author-pages-head-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--nan-primary,#111827);
    color:#fff;
}
.nan-wrap .nan-author-pages-head-icon .nan-icon-svg{width:30px;height:30px}
.nan-wrap .nan-author-pages-head h2{
    margin:0 0 3px;
    font-size:clamp(20px,4.6vw,28px);
    line-height:1.12;
}
.nan-wrap .nan-author-pages-head p{
    margin:0;
    color:#6b7280;
    font-size:13px;
}
.nan-wrap .nan-author-pages-list{
    display:grid;
    gap:8px;
}
.nan-wrap .nan-author-page-card{
    display:grid;
    grid-template-columns:88px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    min-height:86px;
    padding:8px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
    box-shadow:0 2px 8px #0000000d;
}
.nan-wrap .nan-author-page-card[hidden]{display:none!important}
.nan-wrap .nan-author-page-media{
    width:88px;
    height:70px;
    border-radius:9px;
    overflow:hidden;
    background:#f3f4f6;
}
.nan-wrap .nan-author-page-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.nan-wrap .nan-author-page-copy{min-width:0}
.nan-wrap .nan-author-page-copy h3{
    margin:0 0 5px;
    font-size:15px;
    line-height:1.18;
    color:#111827;
}
.nan-wrap .nan-author-page-copy p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:0;
    color:#4b5563;
    font-size:12.5px;
    line-height:1.35;
}
.nan-wrap .nan-author-page-more{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:38px;
    padding:0 11px;
    border-radius:9px;
    background:var(--nan-primary,#111827);
    color:#fff!important;
    text-decoration:none!important;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}
.nan-wrap .nan-author-pages-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding-top:14px;
}
.nan-wrap .nan-author-pages-pagination button{
    min-height:40px;
    border:1px solid #d1d5db;
    border-radius:9px;
    padding:0 12px;
    background:#fff;
    color:#111827;
    font:inherit;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}
.nan-wrap .nan-author-pages-pagination button:disabled{opacity:.45;cursor:default}
.nan-wrap .nan-author-pages-pagination span{min-width:56px;text-align:center;font-size:12px;color:#4b5563}
@media (max-width:767px){
    .nan-wrap.nan-has-author-pages .nan-launchers{display:flex!important;overflow:visible!important}
    .nan-wrap.nan-has-author-pages .nan-author-launch{display:grid!important;flex:0 0 auto!important}
}
@media (max-width:520px){
    .nan-wrap .nan-author-pages{padding:50px 10px 14px}
    .nan-wrap .nan-author-page-card{grid-template-columns:72px minmax(0,1fr) auto;gap:9px;padding:7px}
    .nan-wrap .nan-author-page-media{width:72px;height:64px}
    .nan-wrap .nan-author-page-copy h3{font-size:14px}
    .nan-wrap .nan-author-page-copy p{font-size:12px;-webkit-line-clamp:2}
    .nan-wrap .nan-author-page-more{min-height:36px;padding:0 9px;font-size:11px}
}
@media (max-width:360px){
    .nan-wrap .nan-author-page-card{grid-template-columns:64px minmax(0,1fr) auto}
    .nan-wrap .nan-author-page-media{width:64px;height:58px}
    .nan-wrap .nan-author-page-copy p{-webkit-line-clamp:1}
    .nan-wrap .nan-author-page-more span{display:none}
}
@media (prefers-reduced-motion:reduce){.nan-wrap .nan-author-launch{transition:none!important}}
/* v7.10.1 — popup viewers own the viewport. Hide both floating launchers so they never cover viewer content or close controls. */

.nan-wrap.nan-viewer-open{z-index:2147483000!important}
.nan-wrap.nan-viewer-open .nan-launchers{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transform:translateY(10px) scale(.96)!important;
}


/* v7.10.2 — universal mobile-compact popup sizing. One admin percentage drives proportional popup variables. */
html.nan-modal-open,
body.nan-modal-open{
    overflow:hidden!important;
    overscroll-behavior:none!important;
}
.nan-wrap .nan-viewer{
    padding:
        calc(max(6px,var(--nan-popup-gap,7px)) + env(safe-area-inset-top,0px))
        calc(max(6px,var(--nan-popup-gap,7px)) + env(safe-area-inset-right,0px))
        calc(max(6px,var(--nan-popup-gap,7px)) + env(safe-area-inset-bottom,0px))
        calc(max(6px,var(--nan-popup-gap,7px)) + env(safe-area-inset-left,0px));
}
.nan-wrap .nan-viewer-backdrop{backdrop-filter:blur(1.5px)}
.nan-wrap .nan-viewer-box{
    width:min(94vw,var(--nan-popup-width,520px));
    max-height:min(82vh,82dvh,720px);
    border-radius:12px;
    box-shadow:0 14px 46px #0007;
}
.nan-wrap .nan-viewer-close{
    top:6px;
    right:6px;
    width:40px;
    height:40px;
    font-size:22px;
    box-shadow:0 2px 9px #0003;
}
.nan-wrap .nan-viewer-content{
    min-height:84px;
    max-height:min(82vh,82dvh,720px);
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.nan-wrap .nan-viewer-rich{
    padding:var(--nan-popup-top-pad,44px) var(--nan-popup-pad,13px) var(--nan-popup-pad,13px);
    max-height:min(82vh,82dvh,720px);
    line-height:1.45;
    font-size:var(--nan-popup-text-size,11px);
}
.nan-wrap .nan-cta-rich{width:min(100%,var(--nan-popup-width,520px))}
.nan-wrap .nan-cta-title{
    margin:0 0 var(--nan-popup-gap,7px);
    font-size:var(--nan-popup-title-size,17px);
    line-height:1.14;
}
.nan-wrap .nan-cta-post-card{gap:var(--nan-popup-gap,7px)}
.nan-wrap .nan-cta-post-title{font-size:var(--nan-popup-title-size,17px);margin-bottom:var(--nan-popup-gap,7px)}
.nan-wrap .nan-cta-post-excerpt{font-size:var(--nan-popup-text-size,11px);line-height:1.42;margin-bottom:10px}
.nan-wrap .nan-viewer-message{
    padding:var(--nan-popup-top-pad,44px) var(--nan-popup-pad,13px) var(--nan-popup-pad,13px);
}
.nan-wrap .nan-viewer-text{
    font-size:var(--nan-popup-text-size,11px);
    line-height:1.42;
    margin-bottom:10px;
}
.nan-wrap .nan-viewer-shell{height:min(82vh,82dvh,720px)}
.nan-wrap .nan-viewer-tools{min-height:44px;padding:6px 50px 6px 9px}
.nan-wrap .nan-viewer-open-direct{min-height:34px;padding:0 10px;font-size:var(--nan-popup-small-size,10px)}
.nan-wrap .nan-viewer-audio{width:min(92%,var(--nan-popup-width,520px));margin:50px 12px 24px}

/* Publisher Pages is intentionally the most compact popup surface. */
.nan-wrap .nan-author-pages{
    width:min(100%,var(--nan-popup-width,520px));
    padding:var(--nan-popup-top-pad,44px) var(--nan-popup-pad,13px) var(--nan-popup-pad,13px);
}
.nan-wrap .nan-author-pages-head{
    gap:var(--nan-popup-gap,7px);
    padding:0 38px var(--nan-popup-gap,7px) 0;
    margin-bottom:var(--nan-popup-gap,7px);
}
.nan-wrap .nan-author-pages-head-icon{
    width:var(--nan-popup-head-icon,35px);
    height:var(--nan-popup-head-icon,35px);
    flex-basis:var(--nan-popup-head-icon,35px);
}
.nan-wrap .nan-author-pages-head-icon .nan-icon-svg{
    width:58%;
    height:58%;
}
.nan-wrap .nan-author-pages-head-icon .nan-publisher-avatar-image,
.nan-wrap .nan-author-pages-head-icon img.nan-publisher-avatar-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:50%;
}
.nan-wrap .nan-author-pages-head-icon .nan-publisher-avatar-fallback{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
}
.nan-wrap .nan-author-pages-head-icon .nan-publisher-avatar-fallback .nan-icon-svg{
    width:58%;
    height:58%;
}
.nan-wrap .nan-author-pages-head h2{
    margin:0 0 2px;
    font-size:var(--nan-popup-title-size,17px);
    line-height:1.12;
}
.nan-wrap .nan-author-pages-head p{
    font-size:var(--nan-popup-small-size,10px);
    line-height:1.25;
}
.nan-wrap .nan-author-pages-list{gap:var(--nan-popup-gap,7px)}
.nan-wrap .nan-author-page-card{
    grid-template-columns:var(--nan-popup-media-w,63px) minmax(0,1fr) auto;
    gap:var(--nan-popup-gap,7px);
    min-height:0;
    padding:var(--nan-popup-card-pad,6px);
    border-radius:9px;
    box-shadow:0 1px 5px #0000000d;
}
.nan-wrap .nan-author-page-media{
    width:var(--nan-popup-media-w,63px);
    height:var(--nan-popup-media-h,50px);
    border-radius:7px;
}
.nan-wrap .nan-author-page-copy h3{
    margin:0 0 3px;
    font-size:var(--nan-popup-text-size,11px);
    line-height:1.16;
}
.nan-wrap .nan-author-page-copy p{
    font-size:var(--nan-popup-small-size,10px);
    line-height:1.28;
    -webkit-line-clamp:2;
}
.nan-wrap .nan-author-page-more{
    min-height:36px;
    padding:0 9px;
    border-radius:8px;
    font-size:var(--nan-popup-small-size,10px);
    gap:3px;
}
.nan-wrap .nan-author-pages-pagination{
    gap:7px;
    padding-top:9px;
}
.nan-wrap .nan-author-pages-pagination button{
    min-height:38px;
    padding:0 10px;
    border-radius:8px;
    font-size:var(--nan-popup-small-size,10px);
}
.nan-wrap .nan-author-pages-pagination span{
    min-width:46px;
    font-size:var(--nan-popup-small-size,10px);
}
@media (max-width:520px){
    .nan-wrap .nan-author-pages{padding:var(--nan-popup-top-pad,44px) var(--nan-popup-pad,13px) var(--nan-popup-pad,13px)}
    .nan-wrap .nan-author-page-card{grid-template-columns:var(--nan-popup-media-w,63px) minmax(0,1fr) auto;gap:var(--nan-popup-gap,7px);padding:var(--nan-popup-card-pad,6px)}
    .nan-wrap .nan-author-page-media{width:var(--nan-popup-media-w,63px);height:var(--nan-popup-media-h,50px)}
    .nan-wrap .nan-author-page-copy h3{font-size:var(--nan-popup-text-size,11px)}
    .nan-wrap .nan-author-page-copy p{font-size:var(--nan-popup-small-size,10px)}
    .nan-wrap .nan-author-page-more{min-height:36px;padding:0 8px;font-size:var(--nan-popup-small-size,10px)}
}
@media (max-width:360px){
    .nan-wrap .nan-author-page-card{grid-template-columns:min(56px,var(--nan-popup-media-w,63px)) minmax(0,1fr) auto}
    .nan-wrap .nan-author-page-media{width:min(56px,var(--nan-popup-media-w,63px));height:min(46px,var(--nan-popup-media-h,50px))}
    .nan-wrap .nan-author-page-copy p{-webkit-line-clamp:1}
}

/* v7.10.4 — true viewport portal. Escapes theme/sidebar stacking contexts rather than competing inside the floating dock. */
.nan-viewer-portal-host{
    position:static!important;
    inset:auto!important;
    z-index:auto!important;
    width:0!important;
    height:0!important;
    max-width:none!important;
    overflow:visible!important;
    transform:none!important;
    isolation:auto!important;
    pointer-events:none!important;
}
.nan-viewer-portal-host > .nan-viewer.nan-viewer-portal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    transform:none!important;
    isolation:isolate!important;
    pointer-events:auto!important;
    contain:layout paint style;
}
.nan-viewer-portal-host > .nan-viewer.nan-viewer-portal .nan-viewer-backdrop{
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
}
.nan-viewer-portal-host > .nan-viewer.nan-viewer-portal .nan-viewer-box{
    position:relative!important;
    z-index:2!important;
}
.nan-viewer-portal-host > .nan-viewer.nan-viewer-portal .nan-viewer-close{
    z-index:5!important;
}
/* Publisher Pages stays deliberately narrower than general CTA/media viewers on mobile. */
.nan-viewer-portal-host > .nan-viewer.nan-viewer--publisher .nan-viewer-box{
    width:min(90vw,440px)!important;
    max-width:440px!important;
}
.nan-viewer-portal-host > .nan-viewer.nan-viewer--publisher .nan-author-pages{
    width:100%!important;
    max-width:440px!important;
}
.nan-viewer-portal-host .nan-publisher-avatar-image{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    border-radius:50%!important;
    position:relative!important;
    z-index:1!important;
}
@media (max-width:480px){
    .nan-viewer-portal-host > .nan-viewer.nan-viewer--publisher{
        padding-left:calc(5vw + env(safe-area-inset-left,0px))!important;
        padding-right:calc(5vw + env(safe-area-inset-right,0px))!important;
    }
    .nan-viewer-portal-host > .nan-viewer.nan-viewer--publisher .nan-viewer-box{
        width:100%!important;
        max-width:420px!important;
    }
}
