/* NearbyFlings start screen */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

html,body{height:100%}
body{
    font-family:"Trebuchet MS","Segoe UI",system-ui,-apple-system,sans-serif;
    background:#0b241a;
    color:#f2f8f3;
    overflow:hidden;
    width:100%;
    min-height:100vh;
    -webkit-font-smoothing:antialiased;
}
body.nbf-pin{overflow:hidden}

/* background + shade */
#NbfMapShot{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
}
.nbf-shade{
    position:fixed;
    inset:0;
    z-index:1;
    background:
        radial-gradient(ellipse at 50% 45%,rgba(9,38,26,.30) 0%,rgba(7,30,21,.60) 70%),
        linear-gradient(180deg,rgba(7,30,21,.25) 0%,rgba(7,30,21,.55) 100%);
}

/* top bar */
.nbf-top{
    position:fixed;
    top:0;left:0;right:0;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 18px;
    background:linear-gradient(180deg,rgba(9,36,25,.95),rgba(9,36,25,.78));
}
.nbf-brand{display:flex;align-items:center;gap:8px;font-size:1.35rem;font-weight:700;color:#fff;letter-spacing:.2px}
.nbf-brand b,.nbf-card-logo b{color:#ff8a2e;font-weight:700}
.nbf-brand-pin{width:30px;height:30px}
.nbf-login{
    font:inherit;
    font-size:.95rem;
    font-weight:700;
    color:#fff;
    background:transparent;
    border:2px solid rgba(255,255,255,.75);
    border-radius:999px;
    padding:8px 18px;
    cursor:pointer;
    transition:background .2s,color .2s;
}
.nbf-login:hover{background:#fff;color:#0e3324}

/* bottom dock with the big CTA */
.nbf-dock{
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:120;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:0 16px 8px;
}
.nbf-bigcta{
    font:inherit;
    width:100%;
    max-width:620px;
    min-height:74px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 22px;
    border:none;
    border-radius:20px;
    background:linear-gradient(135deg,#ff7a1a 0%,#ff9a3c 100%);
    color:#1b0f04;
    text-align:left;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(255,122,26,.45),0 0 0 3px rgba(255,255,255,.18) inset;
    transition:transform .2s,box-shadow .2s;
}
.nbf-bigcta:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(255,122,26,.6),0 0 0 3px rgba(255,255,255,.3) inset}
.nbf-bigcta-dot{
    flex:0 0 18px;
    width:18px;height:18px;
    border-radius:50%;
    background:#1f6b4a;
    box-shadow:0 0 0 5px rgba(31,107,74,.25);
    animation:nbfPulse 1.8s ease-out infinite;
}
.nbf-bigcta-txt{flex:1;font-size:1.32rem;font-weight:800;line-height:1.15}
.nbf-bigcta-txt small{display:block;font-size:.8rem;font-weight:700;opacity:.78;margin-top:3px}
.nbf-bigcta-arrow{font-size:1.7rem;font-weight:800}
.nbf-foot{margin-top:6px;font-size:.72rem;color:rgba(242,248,243,.62)}

/* age popup */
.nbf-gate{
    position:fixed;
    inset:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:70px 16px 118px;
    pointer-events:none;
}
.nbf-card{
    pointer-events:auto;
    width:100%;
    max-width:430px;
    max-height:100%;
    overflow:auto;
    background:#f4faf1;
    color:#12392a;
    border-radius:26px;
    padding:26px 26px 20px;
    text-align:center;
    border-top:7px solid #ff7a1a;
    box-shadow:0 24px 60px rgba(0,0,0,.45);
    animation:nbfRise .45s ease-out;
}
.nbf-card-logo{display:flex;align-items:center;justify-content:center;gap:8px;font-size:1.6rem;font-weight:700;color:#0e3324}
.nbf-card-logo svg{width:38px;height:38px}
.nbf-card-tag{margin-top:6px;font-size:.92rem;font-style:italic;color:#2f6e52}
.nbf-card-title{
    margin:16px 0 8px;
    font-size:1.55rem;
    font-weight:800;
    line-height:1.2;
    color:#0e3324;
}
.nbf-card-text{font-size:.9rem;line-height:1.5;color:#3d5e4f;margin-bottom:18px}
.nbf-yes{
    font:inherit;
    display:block;
    width:100%;
    padding:16px 14px;
    font-size:1.08rem;
    font-weight:800;
    color:#fff;
    background:#1f6b4a;
    border:none;
    border-radius:14px;
    cursor:pointer;
    box-shadow:0 6px 0 #124a32;
    transition:transform .15s,box-shadow .15s,background .2s;
}
.nbf-yes:hover{background:#23794f}
.nbf-yes:active{transform:translateY(3px);box-shadow:0 3px 0 #124a32}
.nbf-no{
    font:inherit;
    display:block;
    margin:16px auto 0;
    padding:6px 12px;
    font-size:.92rem;
    color:#5b7a6c;
    background:none;
    border:none;
    text-decoration:underline;
    cursor:pointer;
}
.nbf-no:hover{color:#0e3324}
.nbf-card-ticks{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:6px 14px;
    margin-top:14px;
    padding-top:12px;
    border-top:1px dashed #b9d4c3;
    font-size:.78rem;
    font-weight:700;
    color:#2f6e52;
}
.nbf-card-ticks li::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff7a1a;margin-right:6px;vertical-align:1px}

@keyframes nbfRise{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes nbfPulse{0%{box-shadow:0 0 0 0 rgba(31,107,74,.55)}100%{box-shadow:0 0 0 12px rgba(31,107,74,0)}}

/* text content kept in the page under the screen */
details{
    position:absolute;
    top:0;left:0;
    width:100%;
    z-index:-1;
    opacity:0;
    pointer-events:none;
}
details summary{list-style:none}
article{max-width:780px;margin:0 auto;padding:40px 20px;line-height:1.75;color:#d7e6dc}
article h1{font-size:2rem;color:#ff9a3c;margin-bottom:18px}
article h2{font-size:1.45rem;color:#9fd8b4;margin:30px 0 12px}
article h3{font-size:1.15rem;color:#ffb37a;margin:20px 0 8px}
article p{margin-bottom:14px}
article ul,article ol{margin:12px 0 16px;padding-left:22px}
article li{margin-bottom:6px}

/* responsive */
@media (min-width:761px){
    .nbf-top{padding:16px 32px}
    .nbf-brand{font-size:1.6rem}
    .nbf-brand-pin{width:36px;height:36px}
    .nbf-gate{padding:84px 24px 130px}
    .nbf-dock{padding-bottom:12px}
}
@media (max-height:700px){
    .nbf-card{padding:18px 20px 14px}
    .nbf-card-title{margin:10px 0 6px;font-size:1.3rem}
    .nbf-card-text{font-size:.84rem;margin-bottom:12px}
    .nbf-card-ticks{margin-top:8px;padding-top:8px}
    .nbf-bigcta{min-height:64px}
    .nbf-gate{padding:62px 14px 104px}
}
@media (max-width:360px){
    .nbf-bigcta-txt{font-size:1.12rem}
    .nbf-card-title{font-size:1.3rem}
}
