
/* AllSkyKamera Recap Mobile Engine v0.1 */

.ask-recap-mobile-toolbar,
#nr-mobile-share-header {
    display:none;
}

html.ask-recap-mobile,
html.ask-recap-mobile body {
    width:100%;
    height:100%;
    margin:0;
    overflow:hidden!important;
    overscroll-behavior:none;
    background:#080f1b!important;
}

html.ask-recap-mobile body > nav,
html.ask-recap-mobile body > header,
html.ask-recap-mobile body > footer,
html.ask-recap-mobile body > .navbar {
    display:none!important;
}

html.ask-recap-mobile .public-recap,
html.ask-recap-mobile .nr-main {
    position:fixed!important;
    inset:auto!important;

    top:var(--recap-vp-top,0px)!important;
    left:var(--recap-vp-left,0px)!important;

    width:var(--recap-vp-width,100vw)!important;
    height:var(--recap-vp-height,100vh)!important;

    max-width:none!important;
    max-height:none!important;
    min-height:0!important;

    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    box-sizing:border-box;
    margin:0!important;

    padding:4px!important;
    padding:
        max(4px,env(safe-area-inset-top))
        max(4px,env(safe-area-inset-right))
        max(4px,env(safe-area-inset-bottom))
        max(4px,env(safe-area-inset-left))
        !important;

    background:#080f1b;
    overflow:hidden!important;
    z-index:1040;
}

html.ask-recap-mobile .ask-recap-mobile-toolbar {
    position:relative;
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:flex-end;
    gap:9px;

    width:100%;
    height:44px;
    box-sizing:border-box;
    padding:2px 6px 6px;
    margin:0;
    z-index:2;
}

html.ask-recap-mobile .ask-recap-mobile-toolbar > button,
html.ask-recap-mobile .ask-recap-mobile-toolbar > a,
html.ask-recap-mobile #nr-mobile-share-close {
    width:36px;
    height:36px;
    flex:0 0 36px;

    display:flex;
    align-items:center;
    justify-content:center;

    box-sizing:border-box;
    padding:0;

    border:1px solid #ffffff50;
    border-radius:50%;
    background:#18283b;

    color:#fff!important;
    font-size:26px;
    line-height:1;
    text-decoration:none!important;

    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}

.ask-recap-mobile-toolbar [hidden] {
    display:none!important;
}

html.ask-recap-mobile #nr-story-column {
    display:flex;
    flex:1 1 0;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    width:100%;
    height:auto;
    min-height:0;
    margin:0!important;
    padding:0!important;
}

html.ask-recap-mobile .public-recap-frame,
html.ask-recap-mobile .nr-frame-box {
    position:relative!important;
    flex:0 0 auto;
    max-width:none!important;
    margin:auto!important;
    padding:0!important;
    overflow:hidden!important;
}

html.ask-recap-mobile .public-recap-frame iframe,
html.ask-recap-mobile .nr-frame-box iframe {
    position:absolute!important;
    top:0!important;
    left:0!important;

    width:390px!important;
    max-width:none!important;

    display:block;
    border:0;
    padding:0;
    margin:0;

    transform-origin:top left!important;
    background:transparent;
}

html.ask-recap-mobile .public-recap > a {
    display:none!important;
}

html.ask-recap-mobile #nr-share-menu {
    display:none!important;
}

html.ask-recap-mobile.nr-mobile-sharing #nr-share-menu {
    display:flex!important;

    position:absolute!important;
    inset:0!important;
    z-index:5;

    width:100%!important;
    height:100%!important;
    max-width:none!important;

    align-items:flex-end;
    justify-content:center;

    box-sizing:border-box;
    margin:0!important;
    padding:12px;

    background:#000b;
}

html.ask-recap-mobile.nr-mobile-sharing
#nr-share-menu .nr-panel {
    width:100%!important;
    max-width:440px!important;
    max-height:100%!important;
    margin:0!important;

    overflow-y:auto!important;
    overscroll-behavior:contain;
    touch-action:pan-y;

    border-radius:16px;
    background:#182331;

    padding-bottom:
        calc(16px + env(safe-area-inset-bottom,0px))
        !important;
}

html.ask-recap-mobile #nr-mobile-share-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.ask-recap-fullscreen-status {
    color:#bcd3ec;
    font-size:11px;
    text-align:right;
}
