/* Token da ARES — giro pré-renderizado (vídeo), sem CSS 3D.
   Funciona no Safari/iOS e nos demais navegadores. A arte oficial não foi alterada. */
html, body{
  overflow-x: visible !important;
}
@media (max-width: 640px){
  main, main.tabp{overflow-x: hidden;}
}
.token-palco{
  --token-tam: 148px;
  width: var(--token-tam);
  height: var(--token-tam);
  margin: 0 auto 12px;
  background: transparent;
  overflow: visible;
  position: relative;
}
.token-palco--topo{--token-tam: 210px}
.token-palco--rodape{
  --token-tam: 200px;
  margin: 0 auto 8px;
  padding: 10px;
  box-sizing: content-box;
  width: var(--token-tam);
  height: var(--token-tam);
  background: transparent;
  position: relative;
}
.token-nota a{color:#f3ead2;text-decoration:underline;text-underline-offset:2px;font-weight:600}
.token-palco--grande{--token-tam: 320px; margin: 16px auto}
@media(max-width:700px){
  .token-palco--topo{--token-tam: 210px}
  .token-palco--grande{--token-tam: 260px}
}
.token-giro,
.token-giro-anim,
.token-giro-parado{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent;
  border:0;
}
.token-giro,
.token-giro-anim{
  position:absolute;
  inset:0;
}
.token-giro-anim{z-index:1}
.token-giro{z-index:0; display:none} /* hidden unless webp fails; avoids opaque box on the header */
.token-giro-parado{display:none}
.token-palco.sem-video .token-giro{display:none !important}
.token-palco.sem-anim .token-giro-anim{display:none !important}
.token-palco.sem-anim .token-giro{display:block; z-index:1}
@media(prefers-reduced-motion: reduce){
  .token-giro,
  .token-giro-anim{display:none !important}
  .token-giro-parado{display:block;position:static}
}

.token-nota{
  margin: 8px auto 0;
  max-width: 28em;
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 500;
  color: #e8e2cf;
  text-align: center;
}

/* Significado ao lado do token, no topo da home */
.token-destaque{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(20px, 4vw, 40px);
  max-width:960px;
  margin:10px auto 6px;
  text-align:left;
}
.token-destaque .token-palco--topo{
  flex:0 0 auto;
  margin:0;
  --token-tam: 210px;
}
.token-significado{
  flex:1 1 300px;
  min-width:0;
  max-width:34em;
}
.token-significado p{
  margin:0 0 .8em;
  font-size:clamp(1.12rem, 2.15vw, 1.28rem);
  line-height:1.65;
  font-weight:500;
  color:#f3ead2;
}
.token-significado p:last-child{margin-bottom:0}
@media(max-width:700px){
  .token-destaque{
    flex-direction:column;
    gap:16px;
    text-align:center;
  }
  .token-destaque .token-palco--topo{--token-tam: 210px}
  .token-significado{max-width:28em}
  .token-significado p{font-size:1.12rem;line-height:1.65}
}

.token-foto{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Solid navy behind the coin: matches the MP4/WebM fallback and hides any box edge. */
header.site-head{
  background:#08204a !important;
}

/* Decorative coin loop must not get a share bar (share.js hooks every <video>). */
.token-palco .ares-share{display:none !important}
