/* IbadanLife V20.2.1 — public home page laid out like the reference: compact top bar, one row of pills, banner,
   icon markers (names when zoomed in), compact sign-up card. Loaded last so it overrides earlier rules. */

/* ---- top bar ---- */
body .topbar{top:12px!important;width:min(770px,calc(100% - 24px))!important;height:50px!important;padding:5px 7px 5px 16px!important;background:#fffffff0!important;box-shadow:0 6px 24px #12303a2e!important;gap:12px!important}
body .topbar .brand{font-size:19px!important}
body .topbar .brand .crown{font-size:24px!important;margin-right:7px!important}
body .topbar .brand small{font-size:11px!important;margin-top:5px!important}
body .topbar .metrics{display:flex!important;align-items:center;gap:8px;flex:1;justify-content:flex-start;font-size:13px;font-weight:700;color:#4b6168;white-space:nowrap;margin-left:6px}
body .topbar .metrics .sep{display:none}
body .topbar .account .btn{padding:8px 16px!important;font-size:14px!important;font-weight:600!important}

/* ---- one row of pills + banner ---- */
.home-chips{position:fixed;z-index:19;top:72px;left:50%;transform:translateX(-50%);display:flex;gap:7px;max-width:calc(100vw - 20px);overflow-x:auto;scrollbar-width:none;padding:2px}
.home-chips::-webkit-scrollbar{display:none}
.home-chips button{border:0;border-radius:999px;background:#fffffff2;color:#1a2e35;padding:8px 13px;font:600 14px/1 system-ui,sans-serif;white-space:nowrap;box-shadow:0 3px 12px #20403626}
.home-chips button.on{background:#123f35;color:#fff}
.home-ticker{position:fixed;z-index:18;top:112px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;background:#0b7a50f2;color:#fff;border-radius:999px;padding:7px 26px;font:600 14px/1.2 system-ui,sans-serif;box-shadow:0 5px 16px #144a3230;width:min(620px,calc(100vw - 24px));text-align:center}
#v17-district-nav,#v17-district-status{display:none!important}

/* ---- things the reference does not show on the public page ---- */
.map-tools,#cookie-settings,.hint,.city-load-status,.live-entry{display:none!important}
body:not(.cookie-open) #cookie{display:none!important}
body.cookie-open #cookie{display:block!important}
.cookie{max-width:340px!important}

/* ---- map markers: round icons; names appear when zoomed in ---- */
body #city-place-labels .city-place-label{width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;padding:3px!important;gap:0!important;overflow:hidden!important;border-radius:999px!important;justify-content:center!important;font:600 13px/1 system-ui,sans-serif!important}
body #city-place-labels .city-place-label .city-place-label-icon{width:26px!important;height:26px!important;flex:0 0 26px!important;font-size:15px!important}
body #city-place-labels .city-place-label > span:not(.city-place-label-icon){display:block!important;max-width:0!important;opacity:0!important;overflow:hidden!important;white-space:nowrap!important}
body.labels-names #city-place-labels .city-place-label,body #city-place-labels .city-place-label:hover,body #city-place-labels .city-place-label.is-active{width:auto!important;max-width:220px!important;padding:3px 13px 3px 3px!important;gap:7px!important;justify-content:flex-start!important}
body.labels-names #city-place-labels .city-place-label > span:not(.city-place-label-icon),body #city-place-labels .city-place-label:hover > span:not(.city-place-label-icon),body #city-place-labels .city-place-label.is-active > span:not(.city-place-label-icon){max-width:175px!important;opacity:1!important;text-overflow:ellipsis!important}
body #city-place-labels .city-place-label:hover,body #city-place-labels .city-place-label.is-active{background:#e2fff2!important;z-index:7!important}

/* ---- bottom sign-up card ---- */
body .bottom-panel{display:block!important;position:fixed;z-index:21;left:50%;bottom:16px;top:auto;transform:translateX(-50%);width:min(450px,calc(100vw - 24px));background:#fffffff5;border-radius:24px;padding:12px 14px 11px;box-shadow:0 14px 40px #12303a33;text-align:left}
body .bottom-panel.hidden{display:none!important}
body .bottom-panel .bp-row{display:flex;align-items:center;gap:10px;margin-bottom:9px}
body .bottom-panel .avatars{display:flex;flex:none;margin:0!important;position:static!important;transform:none!important;top:auto!important}
body .bottom-panel .avatars span{width:30px;height:30px;border-radius:50%;background:#eef3f1;border:2px solid #fff;display:grid;place-items:center;font-size:17px;margin-left:-7px}
body .bottom-panel .avatars span:first-child{margin-left:0}
body .bottom-panel p{margin:0;font-size:14px;color:#1b2f36}
body .bottom-panel p b{font-weight:700}
body .bottom-panel p .bp-sub{color:#6a7c82;font-size:14px}
body .bottom-panel .bottom-buttons{display:flex;gap:8px}
body .bottom-panel .bottom-buttons .btn{padding:14px 14px;font-size:16px;font-weight:600;border-radius:999px}
body .bottom-panel .bottom-buttons .btn.green{flex:2.8}body .bottom-panel .bottom-buttons .btn.pale{flex:1}
body .bottom-panel .social{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px}
body .bottom-panel .social .official{display:inline-flex;align-items:center;border:1px solid #e3ebe8;border-radius:999px;padding:6px 12px;font:600 12px system-ui;color:#1a2e35}
body .bottom-panel .social a,body .bottom-panel .social button{width:30px;height:30px;border-radius:50%;border:1px solid #e3ebe8;background:#fff;display:grid;place-items:center;font-size:13px;color:#1a2e35;text-decoration:none;padding:0}

@media(max-width:700px){
 body .topbar .metrics{display:none!important}
 body .topbar{width:calc(100% - 20px)!important}
 .home-chips{top:70px}.home-chips button{padding:7px 11px;font-size:13px}
 .home-ticker{top:108px;font-size:12px;padding:6px 14px}
 body .bottom-panel{bottom:10px}
 .cookie{max-width:calc(100vw - 20px)!important;bottom:150px!important}
}
@media(prefers-reduced-motion:reduce){.home-ticker{transition:none}}

/* the sign-up card is already on screen: no second invite popup */
#v173-guest-invite{display:none!important}
