/* Requested mascot-page changes only. */
#mascotes .memory-shell {
  background: #fff;
  color: #3B0247;
}
#mascotes .memory-levels { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#mascotes .memory-level { border-color: #ead8ef; }
#mascotes .memory-level-full { border-color: #3B0247; }
#mascotes .memory-level small { font-size: 0.875rem; }
#mascotes .memory-board { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
#mascotes .memory-back,
#mascotes .memory-front { background: #fff; border-color: #ead8ef; }
#mascotes .memory-art {
  display: block;
  width: 92%;
  height: 92%;
  overflow: hidden;
}
#mascotes .memory-card:focus-visible { outline: 3px solid #3B0247; outline-offset: 4px; border-radius: 16px; }
#mascotes .memory-result button { background: #3B0247; color: #fff; }

#mascotes .print-pencil svg { display: block; width: 80%; height: 80%; }
#mascotes .print-coloring { border-bottom: 12px solid #3B0247; }
/* Keep the narrow purple strip continuous where the next section begins. */
#mascotes + #mapa { -webkit-mask-image: none; mask-image: none; margin-top: 0; }

body.mobile #mascotes .memory-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.mobile #mascotes .memory-level-full { grid-column: 1 / -1; }
body.mobile #mascotes .memory-board { grid-template-columns: repeat(var(--mobile-cols, 4), minmax(0, 1fr)); }
body.mobile #mascotes .memory-card { min-height: 0; }
@media (max-width: 800px) {
  #mascotes .memory-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mascotes .memory-level-full { grid-column: 1 / -1; }
  #mascotes .memory-board { grid-template-columns: repeat(var(--mobile-cols, 4), minmax(0, 1fr)); }
  #mascotes .memory-card { min-height: 0; }
}

/* Opaque covers keep the hunt character concealed until a correct tap. */
#mascotes .hunt-item { background: #6b257b; border-color: #bd8cc8; }
#mascotes .hunt-item.green { background: #476127; border-color: #afca8f; }
#mascotes .hunt-item .hunt-face { visibility: hidden; opacity: 1; }
#mascotes .hunt-item.revealed .hunt-face { visibility: visible; }
#mascotes .hunt-item.revealed .hunt-symbol { visibility: hidden; }

/* Supplied original logo, framed around its transparent margins. */
#mascotes .memory-back-logo { display: block; width: 88%; height: 88%; overflow: hidden; }

/* Direct access to all games inside the existing mascot page. */
#mascotes .mascot-play-cta{display:flex;justify-content:center;padding:28px 20px 36px;background:#fffaf7}
#mascotes .mascot-play-cta .btn{min-width:200px;min-height:48px;font-size:18px;line-height:1.3;text-align:center}
#jogos-mascotes{scroll-margin-top:70px;outline:none}
#mascotes .mascot-play-cta .btn:focus-visible{outline:3px solid #79a52e;outline-offset:4px}
@media(max-width:600px){#mascotes .mascot-play-cta .btn{width:min(100%,320px)}}
