/*
 * SoutheastFlorida.com Just For Fun enhancements
 * Loading presentation, community pill, and accessibility-safe hidden states.
 */

.photoStatus{
  inset:0 !important;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px !important;
  color:#625d57 !important;
  text-align:center;
  font:800 12px/1.35 var(--fun-sans) !important;
  letter-spacing:.025em;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.94) 0,rgba(255,255,255,.84) 28%,rgba(233,230,225,.78) 62%,rgba(233,230,225,.94) 100%);
}

.photoStatus[hidden]{
  display:none !important;
}

.photoStatus.isLoading::before{
  content:"";
  width:18px;
  height:18px;
  margin-right:10px;
  border:2px solid rgba(39,38,35,.18);
  border-top-color:var(--fun-gold,#b58a35);
  border-radius:50%;
  animation:seflaFunSpin .85s linear infinite;
}

@keyframes seflaFunSpin{
  to{transform:rotate(360deg)}
}

.gameLocationPills{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}

.gameLocationPills[hidden],
.gameInfoPill[hidden]{
  display:none !important;
}

.gameInfoPill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:7px 9px;
  border:1px solid #d9d3ca;
  border-radius:999px;
  background:#faf8f4;
  color:#514c47;
  font-family:var(--fun-sans);
}

.gameInfoPillLabel{
  color:#8a8178;
  font:900 7px/1 var(--fun-sans);
  letter-spacing:.07em;
  text-transform:uppercase;
}

.gameInfoPill strong{
  min-width:0;
  color:#4b4641;
  font:800 9px/1.2 var(--fun-sans);
  overflow-wrap:anywhere;
}

@media(prefers-reduced-motion:reduce){
  .photoStatus.isLoading::before{
    animation:none;
  }
}

@media(max-width:760px){
  .photoStatus{
    font-size:11px !important;
  }

  .gameLocationPills{
    margin-top:9px;
  }
}


/* Social-share CTA image. Same creative is used for the page OG image. */
.funShareCta{
  display:block;
  margin:18px 0 24px;
  overflow:hidden;
  border-radius:14px;
  background:#f4f1eb;
  box-shadow:0 8px 24px rgba(36,32,27,.08);
  text-decoration:none;
  transition:transform .16s ease,box-shadow .16s ease;
}

.funShareCta:hover,
.funShareCta:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(36,32,27,.13);
}

.funShareCta img{
  display:block;
  width:100%;
  height:auto;
}

@media(max-width:760px){
  .funShareCta{
    margin:14px 0 20px;
    border-radius:10px;
  }
}


/* Facebook share button directly below the Guess the Sale Price scorecard. */
.funFacebookShare{
  display:flex;
  justify-content:center;
  margin:14px 0 22px;
}

.funFacebookShareButton{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:11px 18px;
  border:0;
  border-radius:8px;
  background:#1877f2;
  color:#fff;
  text-decoration:none;
  font:800 13px/1.15 var(--sefla-sans,Arial,Helvetica,sans-serif);
  box-shadow:0 5px 14px rgba(24,119,242,.18);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.funFacebookShareButton:hover,
.funFacebookShareButton:focus-visible{
  transform:translateY(-1px);
  background:#0f69dc;
  color:#fff;
  box-shadow:0 8px 18px rgba(24,119,242,.25);
}

.funFacebookShareIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:23px;
  height:23px;
  border-radius:50%;
  background:#fff;
  color:#1877f2;
  font:bold 18px/23px Arial,Helvetica,sans-serif;
  text-transform:lowercase;
}

@media(max-width:600px){
  .funFacebookShare{
    margin:12px 0 20px;
  }

  .funFacebookShareButton{
    width:100%;
    max-width:360px;
  }
}
