/* <vn-tile-button> (tile-button.js): a 3D tile with the standalone button under it.
   The face matches the landing gate: 62% of the 440px badge, 68% of the 380px badge under 520px.
   The margin is the gap under that face, including the part of the tilted face that draws past its box. */
vn-tile-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  --vn-tile-button-size: min(273px, 54.6vw);
}
@media (max-width: 520px) {
  vn-tile-button { --vn-tile-button-size: min(258px, 64vw); }
}
vn-tile-button .vn-tile-button__tile {
  width: var(--vn-tile-button-size);
  height: var(--vn-tile-button-size);
}
vn-tile-button a.vn-tile-button__action {
  margin-top: calc(var(--vn-tile-button-size) * 0.145);
}
/* The button keeps its own text color in every state. Page link rules (for example
   `:where(vn-doc-page) a:hover { color: inherit; }`) outrank `.vn-button` and would repaint it. */
vn-tile-button a.vn-tile-button__action,
vn-tile-button a.vn-tile-button__action:hover,
vn-tile-button a.vn-tile-button__action:visited,
vn-tile-button a.vn-tile-button__action:active,
vn-tile-button a.vn-tile-button__action:focus { color: var(--_text); }
