/* Family-facing pages (PUBLIC worker): bits the live site needs on top of the prototype's site.css. */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.dfield[hidden],.whenrow .field.dfield[hidden]{display:none!important}
a.chip{text-decoration:none;display:inline-block}
a.chip:hover{border-color:var(--purple)}
.lempty p+.btn,.lempty p+a{margin-top:6px}

/* Leaflet maps */
.kmap{width:100%;background:#cdeefa;border-radius:16px;z-index:0}
.kmap.big{height:560px;border-radius:16px}
.kmap.mini{height:240px;border-radius:14px;margin-bottom:6px}
.mapwrap .mapzoom{z-index:500}
.mapwrap{touch-action:auto}
.kmap .leaflet-pane svg,.kmap .leaflet-control svg{width:revert;height:revert;background:none;border-radius:0;display:revert;cursor:inherit}
.kmap .leaflet-attribution-flag{display:inline!important;width:1em!important;height:.6669em!important}
.kpin{background:none;border:0}
.kmap .kpin svg{display:block;width:26px;height:34px;background:none;border-radius:0;filter:drop-shadow(0 2px 2px rgba(29,8,57,.3));transition:transform .15s;transform-origin:50% 100%}
.kmap .kpin.on svg{transform:scale(1.3)}
.kmap .kpin.dim svg{opacity:.45}
.leaflet-popup-content{font-family:var(--body,Nunito,sans-serif);font-size:14px;margin:10px 14px}
.leaflet-popup-content a{color:var(--purple);font-weight:800}
.leaflet-container{font-family:inherit}
@media (max-width:960px){.kmap.big{height:420px}}
@media (max-width:560px){.kmap.big{height:360px}}

/* find results filtered to a town */
.res[hidden]{display:none}

/* show page */
.dhero .acts .btn-ghost{background:#ffffff1f;color:#fff;border-color:#ffffff66}
.run.ended{opacity:.62}
.run .endedb{background:#eee;color:var(--muted);font-weight:800;border-radius:999px;padding:6px 12px;font-size:13px;white-space:nowrap}
.endednote{margin-bottom:28px;text-align:left}
.endednote h2{margin-top:0}
.trailer iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.trailer.playing{cursor:default}
.report{margin:8px 0 0;background:#fff;border-radius:16px;padding:10px 16px;box-shadow:0 2px 0 var(--line)}
.report summary{cursor:pointer;font-weight:700;color:var(--purple)}
.report .form{margin-top:12px}
.report select,.report input,.report textarea{font:inherit;padding:10px 12px;border-radius:12px;border:2px solid var(--line);background:#fff}
.report label{font-weight:800;font-size:13px;display:block;margin-bottom:4px}
.report .btn{align-self:flex-start}
.form>.field{flex:none}.report .form{display:flex;flex-direction:column;gap:14px}.report select,.report input,.report textarea{width:100%;box-sizing:border-box}.report textarea{resize:vertical;min-height:96px}.report .field label{text-transform:uppercase;letter-spacing:.06em;font-size:12px;color:var(--muted);margin:0}

/* org pages */
.orgav img{border-radius:50%}
.dhero.org .acts .btn-ghost{text-decoration:none}

/* alerts form */
.alertform .fine.bad{color:var(--pink)}
.alertform .err{background:#fde7f1;color:#8a0a47;border-radius:12px;padding:10px 12px;font-weight:700}
.alertdlg .alertform{display:flex;flex-direction:column;gap:12px}
.msgpage .alertform select,.msgpage .alertform input{font:inherit;padding:10px 12px;border-radius:12px;border:2px solid var(--line);background:#fff}
.msgpage .alertform label{font-weight:800;font-size:13px;display:block;margin-bottom:4px}

/* keep long words and badges inside the screen on phones */
.res h3,.poster h3,.dhero h1,.lhero h1{overflow-wrap:anywhere}
.lhero .acts{max-width:100%}
.moreres{text-align:center;padding:8px 0 4px}
.results.loading{opacity:.6}
