/* Ailha Fundo 0.5.0: estilos do mural e do jardim de marcas.
   Carregue este arquivo por <link> quando a pagina usar CSP estrita (style-src 'self'): o modulo, ao achar este link,
   nao injeta <style>. Sem o link, o modulo injeta os mesmos estilos sozinho. */
canvas.ailha-fundo, canvas.ailha-fundo-frente {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
canvas.ailha-fundo { z-index: -1; }
canvas.ailha-fundo-grao { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.5; display: block; }
canvas.ailha-fundo-frente { z-index: 3; }
.ailha-fundo-marcas { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: visible; z-index: -2; pointer-events: none; }
.ailha-fundo-marca { position: absolute; display: block; pointer-events: none; user-select: none; -webkit-user-select: none; }
.ailha-jardim {
  list-style: none;
  margin: 0;
  padding: 24px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 40px;
  position: relative;
  z-index: 1;
}
.ailha-jardim > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.ailha-medalhao {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--fundo, var(--ailha-verde-2, #1c352d));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.16), inset -2px -2px 4px rgba(0,0,0,0.28), 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.ailha-medalhao:hover, .ailha-medalhao:focus-visible {
  transform: translateY(-4px);
  box-shadow: inset 1px 1px 3px rgba(255,255,255,0.24), inset -2px -2px 4px rgba(0,0,0,0.28), 0 12px 24px rgba(0,0,0,0.25);
}
.ailha-medalhao:focus-visible {
  outline: 2px solid var(--ailha-rosa, #e07a9b);
  outline-offset: 4px;
}
.ailha-medalhao img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}
.ailha-jardim > li { padding-bottom: 30px; }
.ailha-medalhao-nome {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--ailha-texto-jardim, inherit);
  font-size: 0.78rem;
  line-height: 1.15;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 699px) {
  .ailha-jardim { gap: 26px 28px; padding: 18px 10px; }
  .ailha-medalhao { width: 104px; height: 104px; }
  .ailha-medalhao-nome { font-size: 0.7rem; max-width: 84px; }
}
